d3dcompiler_47: Add stub dll.
[wine.git] / configure
blob33dd534b649b0a660d1cdc1f7eba0e9fb92bd514
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.45.
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.45'
584 PACKAGE_STRING='Wine 1.7.45'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
934 enable_apphelp
935 enable_appwiz_cpl
936 enable_atl
937 enable_atl100
938 enable_atl110
939 enable_atl80
940 enable_atl90
941 enable_authz
942 enable_avicap32
943 enable_avifil32
944 enable_avrt
945 enable_bcrypt
946 enable_browseui
947 enable_cabinet
948 enable_capi2032
949 enable_cards
950 enable_cfgmgr32
951 enable_clusapi
952 enable_combase
953 enable_comcat
954 enable_comctl32
955 enable_comdlg32
956 enable_compstui
957 enable_comsvcs
958 enable_connect
959 enable_credui
960 enable_crtdll
961 enable_crypt32
962 enable_cryptdlg
963 enable_cryptdll
964 enable_cryptext
965 enable_cryptnet
966 enable_cryptui
967 enable_ctapi32
968 enable_ctl3d32
969 enable_d2d1
970 enable_d3d10
971 enable_d3d10_1
972 enable_d3d10core
973 enable_d3d11
974 enable_d3d8
975 enable_d3d9
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
987 enable_d3dcompiler_46
988 enable_d3dcompiler_47
989 enable_d3dim
990 enable_d3drm
991 enable_d3dx10_33
992 enable_d3dx10_34
993 enable_d3dx10_35
994 enable_d3dx10_36
995 enable_d3dx10_37
996 enable_d3dx10_38
997 enable_d3dx10_39
998 enable_d3dx10_40
999 enable_d3dx10_41
1000 enable_d3dx10_42
1001 enable_d3dx10_43
1002 enable_d3dx11_42
1003 enable_d3dx11_43
1004 enable_d3dx9_24
1005 enable_d3dx9_25
1006 enable_d3dx9_26
1007 enable_d3dx9_27
1008 enable_d3dx9_28
1009 enable_d3dx9_29
1010 enable_d3dx9_30
1011 enable_d3dx9_31
1012 enable_d3dx9_32
1013 enable_d3dx9_33
1014 enable_d3dx9_34
1015 enable_d3dx9_35
1016 enable_d3dx9_36
1017 enable_d3dx9_37
1018 enable_d3dx9_38
1019 enable_d3dx9_39
1020 enable_d3dx9_40
1021 enable_d3dx9_41
1022 enable_d3dx9_42
1023 enable_d3dx9_43
1024 enable_d3dxof
1025 enable_dbgeng
1026 enable_dbghelp
1027 enable_dciman32
1028 enable_ddraw
1029 enable_ddrawex
1030 enable_devenum
1031 enable_dhcpcsvc
1032 enable_difxapi
1033 enable_dinput
1034 enable_dinput8
1035 enable_dispex
1036 enable_dmband
1037 enable_dmcompos
1038 enable_dmime
1039 enable_dmloader
1040 enable_dmscript
1041 enable_dmstyle
1042 enable_dmsynth
1043 enable_dmusic
1044 enable_dmusic32
1045 enable_dnsapi
1046 enable_dplay
1047 enable_dplayx
1048 enable_dpnaddr
1049 enable_dpnet
1050 enable_dpnhpast
1051 enable_dpnlobby
1052 enable_dpvoice
1053 enable_dpwsockx
1054 enable_drmclien
1055 enable_dsound
1056 enable_dssenh
1057 enable_dswave
1058 enable_dwmapi
1059 enable_dwrite
1060 enable_dxdiagn
1061 enable_dxgi
1062 enable_dxva2
1063 enable_evr
1064 enable_explorerframe
1065 enable_ext_ms_win_gdi_devcaps_l1_1_0
1066 enable_faultrep
1067 enable_fltlib
1068 enable_fntcache
1069 enable_fontsub
1070 enable_fusion
1071 enable_fwpuclnt
1072 enable_gameux
1073 enable_gdi32
1074 enable_gdiplus
1075 enable_glu32
1076 enable_gphoto2_ds
1077 enable_gpkcsp
1078 enable_hal
1079 enable_hhctrl_ocx
1080 enable_hid
1081 enable_hlink
1082 enable_hnetcfg
1083 enable_httpapi
1084 enable_iccvid
1085 enable_icmp
1086 enable_ieframe
1087 enable_imaadp32_acm
1088 enable_imagehlp
1089 enable_imm32
1090 enable_inetcomm
1091 enable_inetcpl_cpl
1092 enable_inetmib1
1093 enable_infosoft
1094 enable_initpki
1095 enable_inkobj
1096 enable_inseng
1097 enable_iphlpapi
1098 enable_itircl
1099 enable_itss
1100 enable_joy_cpl
1101 enable_jscript
1102 enable_jsproxy
1103 enable_kernel32
1104 enable_ksuser
1105 enable_ktmw32
1106 enable_loadperf
1107 enable_localspl
1108 enable_localui
1109 enable_lz32
1110 enable_mapi32
1111 enable_mapistub
1112 enable_mciavi32
1113 enable_mcicda
1114 enable_mciqtz32
1115 enable_mciseq
1116 enable_mciwave
1117 enable_mf
1118 enable_mfplat
1119 enable_mfreadwrite
1120 enable_mgmtapi
1121 enable_midimap
1122 enable_mlang
1123 enable_mmcndmgr
1124 enable_mmdevapi
1125 enable_mountmgr_sys
1126 enable_mpr
1127 enable_mprapi
1128 enable_msacm32_drv
1129 enable_msacm32
1130 enable_msadp32_acm
1131 enable_msasn1
1132 enable_mscat32
1133 enable_mscms
1134 enable_mscoree
1135 enable_msctf
1136 enable_msctfp
1137 enable_msdaps
1138 enable_msdmo
1139 enable_msftedit
1140 enable_msg711_acm
1141 enable_msgsm32_acm
1142 enable_mshtml_tlb
1143 enable_mshtml
1144 enable_msi
1145 enable_msident
1146 enable_msimg32
1147 enable_msimsg
1148 enable_msimtf
1149 enable_msisip
1150 enable_msisys_ocx
1151 enable_msls31
1152 enable_msnet32
1153 enable_mspatcha
1154 enable_msrle32
1155 enable_mssign32
1156 enable_mssip32
1157 enable_mstask
1158 enable_msvcirt
1159 enable_msvcm80
1160 enable_msvcm90
1161 enable_msvcp100
1162 enable_msvcp110
1163 enable_msvcp120
1164 enable_msvcp120_app
1165 enable_msvcp60
1166 enable_msvcp70
1167 enable_msvcp71
1168 enable_msvcp80
1169 enable_msvcp90
1170 enable_msvcr100
1171 enable_msvcr110
1172 enable_msvcr120
1173 enable_msvcr120_app
1174 enable_msvcr70
1175 enable_msvcr71
1176 enable_msvcr80
1177 enable_msvcr90
1178 enable_msvcrt
1179 enable_msvcrt20
1180 enable_msvcrt40
1181 enable_msvcrtd
1182 enable_msvfw32
1183 enable_msvidc32
1184 enable_mswsock
1185 enable_msxml
1186 enable_msxml2
1187 enable_msxml3
1188 enable_msxml4
1189 enable_msxml6
1190 enable_nddeapi
1191 enable_ndis_sys
1192 enable_netapi32
1193 enable_netcfgx
1194 enable_netprofm
1195 enable_newdev
1196 enable_normaliz
1197 enable_npmshtml
1198 enable_npptools
1199 enable_ntdll
1200 enable_ntdsapi
1201 enable_ntoskrnl_exe
1202 enable_ntprint
1203 enable_objsel
1204 enable_odbc32
1205 enable_odbccp32
1206 enable_odbccu32
1207 enable_ole32
1208 enable_oleacc
1209 enable_oleaut32
1210 enable_olecli32
1211 enable_oledb32
1212 enable_oledlg
1213 enable_olepro32
1214 enable_olesvr32
1215 enable_olethk32
1216 enable_openal32
1217 enable_opencl
1218 enable_opengl32
1219 enable_packager
1220 enable_pdh
1221 enable_photometadatahandler
1222 enable_pidgen
1223 enable_powrprof
1224 enable_printui
1225 enable_prntvpt
1226 enable_propsys
1227 enable_psapi
1228 enable_pstorec
1229 enable_qcap
1230 enable_qedit
1231 enable_qmgr
1232 enable_qmgrprxy
1233 enable_quartz
1234 enable_query
1235 enable_rasapi32
1236 enable_rasdlg
1237 enable_regapi
1238 enable_resutils
1239 enable_riched20
1240 enable_riched32
1241 enable_rpcrt4
1242 enable_rsabase
1243 enable_rsaenh
1244 enable_rstrtmgr
1245 enable_rtutils
1246 enable_samlib
1247 enable_sane_ds
1248 enable_scarddlg
1249 enable_sccbase
1250 enable_schannel
1251 enable_schedsvc
1252 enable_scrrun
1253 enable_scsiport_sys
1254 enable_secur32
1255 enable_security
1256 enable_sensapi
1257 enable_serialui
1258 enable_setupapi
1259 enable_sfc
1260 enable_sfc_os
1261 enable_shdoclc
1262 enable_shdocvw
1263 enable_shell32
1264 enable_shfolder
1265 enable_shlwapi
1266 enable_slbcsp
1267 enable_slc
1268 enable_snmpapi
1269 enable_softpub
1270 enable_spoolss
1271 enable_stdole2_tlb
1272 enable_stdole32_tlb
1273 enable_sti
1274 enable_svrapi
1275 enable_sxs
1276 enable_t2embed
1277 enable_tapi32
1278 enable_taskschd
1279 enable_traffic
1280 enable_twain_32
1281 enable_unicows
1282 enable_updspapi
1283 enable_url
1284 enable_urlmon
1285 enable_usbd_sys
1286 enable_user32
1287 enable_userenv
1288 enable_usp10
1289 enable_uxtheme
1290 enable_vbscript
1291 enable_vcomp
1292 enable_vcomp100
1293 enable_vcomp90
1294 enable_vdmdbg
1295 enable_version
1296 enable_vssapi
1297 enable_wbemdisp
1298 enable_wbemprox
1299 enable_webservices
1300 enable_wer
1301 enable_wevtapi
1302 enable_wiaservc
1303 enable_windowscodecs
1304 enable_windowscodecsext
1305 enable_winealsa_drv
1306 enable_winecoreaudio_drv
1307 enable_wined3d
1308 enable_winegstreamer
1309 enable_winejoystick_drv
1310 enable_winemac_drv
1311 enable_winemapi
1312 enable_winemp3_acm
1313 enable_wineoss_drv
1314 enable_wineps_drv
1315 enable_wineqtdecoder
1316 enable_winex11_drv
1317 enable_wing32
1318 enable_winhttp
1319 enable_wininet
1320 enable_winmm
1321 enable_winnls32
1322 enable_winscard
1323 enable_winspool_drv
1324 enable_winsta
1325 enable_wintab32
1326 enable_wintrust
1327 enable_wlanapi
1328 enable_wldap32
1329 enable_wmi
1330 enable_wmiutils
1331 enable_wmp
1332 enable_wmvcore
1333 enable_wnaspi32
1334 enable_wpcap
1335 enable_ws2_32
1336 enable_wshom_ocx
1337 enable_wsnmp32
1338 enable_wsock32
1339 enable_wtsapi32
1340 enable_wuapi
1341 enable_wuaueng
1342 enable_x3daudio1_1
1343 enable_x3daudio1_2
1344 enable_x3daudio1_3
1345 enable_x3daudio1_4
1346 enable_x3daudio1_5
1347 enable_x3daudio1_6
1348 enable_x3daudio1_7
1349 enable_xapofx1_1
1350 enable_xapofx1_3
1351 enable_xapofx1_4
1352 enable_xapofx1_5
1353 enable_xaudio2_7
1354 enable_xinput1_1
1355 enable_xinput1_2
1356 enable_xinput1_3
1357 enable_xinput1_4
1358 enable_xinput9_1_0
1359 enable_xmllite
1360 enable_xolehlp
1361 enable_xpsprint
1362 enable_xpssvcs
1363 enable_documentation
1364 enable_fonts
1365 enable_include
1366 enable_libs_port
1367 enable_libs_wine
1368 enable_libs_wpp
1369 enable_loader
1370 enable_arp
1371 enable_aspnet_regiis
1372 enable_attrib
1373 enable_cabarc
1374 enable_cacls
1375 enable_clock
1376 enable_cmd
1377 enable_conhost
1378 enable_control
1379 enable_cscript
1380 enable_dpnsvr
1381 enable_dxdiag
1382 enable_eject
1383 enable_expand
1384 enable_explorer
1385 enable_extrac32
1386 enable_findstr
1387 enable_hh
1388 enable_hostname
1389 enable_icinfo
1390 enable_iexplore
1391 enable_ipconfig
1392 enable_lodctr
1393 enable_mofcomp
1394 enable_mshta
1395 enable_msiexec
1396 enable_net
1397 enable_netsh
1398 enable_netstat
1399 enable_ngen
1400 enable_notepad
1401 enable_oleview
1402 enable_ping
1403 enable_plugplay
1404 enable_presentationfontcache
1405 enable_progman
1406 enable_reg
1407 enable_regasm
1408 enable_regedit
1409 enable_regsvcs
1410 enable_regsvr32
1411 enable_rpcss
1412 enable_rundll32
1413 enable_sc
1414 enable_schtasks
1415 enable_sdbinst
1416 enable_secedit
1417 enable_servicemodelreg
1418 enable_services
1419 enable_spoolsv
1420 enable_start
1421 enable_svchost
1422 enable_systeminfo
1423 enable_taskkill
1424 enable_tasklist
1425 enable_taskmgr
1426 enable_termsv
1427 enable_uninstaller
1428 enable_unlodctr
1429 enable_view
1430 enable_wevtutil
1431 enable_wineboot
1432 enable_winebrowser
1433 enable_winecfg
1434 enable_wineconsole
1435 enable_winedbg
1436 enable_winedevice
1437 enable_winefile
1438 enable_winemenubuilder
1439 enable_winemine
1440 enable_winemsibuilder
1441 enable_winepath
1442 enable_winetest
1443 enable_winhlp32
1444 enable_winver
1445 enable_wmic
1446 enable_wordpad
1447 enable_write
1448 enable_wscript
1449 enable_wusa
1450 enable_xcopy
1451 enable_server
1452 enable_tools
1454 ac_precious_vars='build_alias
1455 host_alias
1456 target_alias
1458 CFLAGS
1459 LDFLAGS
1460 LIBS
1461 CPPFLAGS
1463 CXXFLAGS
1466 XMKMF
1467 XML2_CFLAGS
1468 XML2_LIBS
1469 XSLT_CFLAGS
1470 XSLT_LIBS
1471 DBUS_CFLAGS
1472 DBUS_LIBS
1473 HAL_CFLAGS
1474 HAL_LIBS
1475 GNUTLS_CFLAGS
1476 GNUTLS_LIBS
1477 SANE_CFLAGS
1478 SANE_LIBS
1479 GPHOTO2_CFLAGS
1480 GPHOTO2_LIBS
1481 GPHOTO2_PORT_CFLAGS
1482 GPHOTO2_PORT_LIBS
1483 LCMS2_CFLAGS
1484 LCMS2_LIBS
1485 FREETYPE_CFLAGS
1486 FREETYPE_LIBS
1487 GSTREAMER_CFLAGS
1488 GSTREAMER_LIBS
1489 CAPI20_CFLAGS
1490 CAPI20_LIBS
1491 FONTCONFIG_CFLAGS
1492 FONTCONFIG_LIBS
1493 JPEG_CFLAGS
1494 JPEG_LIBS
1495 PNG_CFLAGS
1496 PNG_LIBS
1497 TIFF_CFLAGS
1498 TIFF_LIBS
1499 MPG123_CFLAGS
1500 MPG123_LIBS'
1503 # Initialize some variables set by options.
1504 ac_init_help=
1505 ac_init_version=false
1506 ac_unrecognized_opts=
1507 ac_unrecognized_sep=
1508 # The variables have the same names as the options, with
1509 # dashes changed to underlines.
1510 cache_file=/dev/null
1511 exec_prefix=NONE
1512 no_create=
1513 no_recursion=
1514 prefix=NONE
1515 program_prefix=NONE
1516 program_suffix=NONE
1517 program_transform_name=s,x,x,
1518 silent=
1519 site=
1520 srcdir=
1521 verbose=
1522 x_includes=NONE
1523 x_libraries=NONE
1525 # Installation directory options.
1526 # These are left unexpanded so users can "make install exec_prefix=/foo"
1527 # and all the variables that are supposed to be based on exec_prefix
1528 # by default will actually change.
1529 # Use braces instead of parens because sh, perl, etc. also accept them.
1530 # (The list follows the same order as the GNU Coding Standards.)
1531 bindir='${exec_prefix}/bin'
1532 sbindir='${exec_prefix}/sbin'
1533 libexecdir='${exec_prefix}/libexec'
1534 datarootdir='${prefix}/share'
1535 datadir='${datarootdir}'
1536 sysconfdir='${prefix}/etc'
1537 sharedstatedir='${prefix}/com'
1538 localstatedir='${prefix}/var'
1539 includedir='${prefix}/include'
1540 oldincludedir='/usr/include'
1541 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1542 infodir='${datarootdir}/info'
1543 htmldir='${docdir}'
1544 dvidir='${docdir}'
1545 pdfdir='${docdir}'
1546 psdir='${docdir}'
1547 libdir='${exec_prefix}/lib'
1548 localedir='${datarootdir}/locale'
1549 mandir='${datarootdir}/man'
1551 ac_prev=
1552 ac_dashdash=
1553 for ac_option
1555 # If the previous option needs an argument, assign it.
1556 if test -n "$ac_prev"; then
1557 eval $ac_prev=\$ac_option
1558 ac_prev=
1559 continue
1562 case $ac_option in
1563 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1564 *=) ac_optarg= ;;
1565 *) ac_optarg=yes ;;
1566 esac
1568 # Accept the important Cygnus configure options, so we can diagnose typos.
1570 case $ac_dashdash$ac_option in
1572 ac_dashdash=yes ;;
1574 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1575 ac_prev=bindir ;;
1576 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1577 bindir=$ac_optarg ;;
1579 -build | --build | --buil | --bui | --bu)
1580 ac_prev=build_alias ;;
1581 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1582 build_alias=$ac_optarg ;;
1584 -cache-file | --cache-file | --cache-fil | --cache-fi \
1585 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1586 ac_prev=cache_file ;;
1587 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1588 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1589 cache_file=$ac_optarg ;;
1591 --config-cache | -C)
1592 cache_file=config.cache ;;
1594 -datadir | --datadir | --datadi | --datad)
1595 ac_prev=datadir ;;
1596 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1597 datadir=$ac_optarg ;;
1599 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1600 | --dataroo | --dataro | --datar)
1601 ac_prev=datarootdir ;;
1602 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1603 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1604 datarootdir=$ac_optarg ;;
1606 -disable-* | --disable-*)
1607 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1608 # Reject names that are not valid shell variable names.
1609 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1610 as_fn_error $? "invalid feature name: $ac_useropt"
1611 ac_useropt_orig=$ac_useropt
1612 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1613 case $ac_user_opts in
1615 "enable_$ac_useropt"
1616 "*) ;;
1617 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1618 ac_unrecognized_sep=', ';;
1619 esac
1620 eval enable_$ac_useropt=no ;;
1622 -docdir | --docdir | --docdi | --doc | --do)
1623 ac_prev=docdir ;;
1624 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1625 docdir=$ac_optarg ;;
1627 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1628 ac_prev=dvidir ;;
1629 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1630 dvidir=$ac_optarg ;;
1632 -enable-* | --enable-*)
1633 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1634 # Reject names that are not valid shell variable names.
1635 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1636 as_fn_error $? "invalid feature name: $ac_useropt"
1637 ac_useropt_orig=$ac_useropt
1638 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1639 case $ac_user_opts in
1641 "enable_$ac_useropt"
1642 "*) ;;
1643 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1644 ac_unrecognized_sep=', ';;
1645 esac
1646 eval enable_$ac_useropt=\$ac_optarg ;;
1648 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1649 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1650 | --exec | --exe | --ex)
1651 ac_prev=exec_prefix ;;
1652 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1653 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1654 | --exec=* | --exe=* | --ex=*)
1655 exec_prefix=$ac_optarg ;;
1657 -gas | --gas | --ga | --g)
1658 # Obsolete; use --with-gas.
1659 with_gas=yes ;;
1661 -help | --help | --hel | --he | -h)
1662 ac_init_help=long ;;
1663 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1664 ac_init_help=recursive ;;
1665 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1666 ac_init_help=short ;;
1668 -host | --host | --hos | --ho)
1669 ac_prev=host_alias ;;
1670 -host=* | --host=* | --hos=* | --ho=*)
1671 host_alias=$ac_optarg ;;
1673 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1674 ac_prev=htmldir ;;
1675 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1676 | --ht=*)
1677 htmldir=$ac_optarg ;;
1679 -includedir | --includedir | --includedi | --included | --include \
1680 | --includ | --inclu | --incl | --inc)
1681 ac_prev=includedir ;;
1682 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1683 | --includ=* | --inclu=* | --incl=* | --inc=*)
1684 includedir=$ac_optarg ;;
1686 -infodir | --infodir | --infodi | --infod | --info | --inf)
1687 ac_prev=infodir ;;
1688 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1689 infodir=$ac_optarg ;;
1691 -libdir | --libdir | --libdi | --libd)
1692 ac_prev=libdir ;;
1693 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1694 libdir=$ac_optarg ;;
1696 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1697 | --libexe | --libex | --libe)
1698 ac_prev=libexecdir ;;
1699 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1700 | --libexe=* | --libex=* | --libe=*)
1701 libexecdir=$ac_optarg ;;
1703 -localedir | --localedir | --localedi | --localed | --locale)
1704 ac_prev=localedir ;;
1705 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1706 localedir=$ac_optarg ;;
1708 -localstatedir | --localstatedir | --localstatedi | --localstated \
1709 | --localstate | --localstat | --localsta | --localst | --locals)
1710 ac_prev=localstatedir ;;
1711 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1712 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1713 localstatedir=$ac_optarg ;;
1715 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1716 ac_prev=mandir ;;
1717 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1718 mandir=$ac_optarg ;;
1720 -nfp | --nfp | --nf)
1721 # Obsolete; use --without-fp.
1722 with_fp=no ;;
1724 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1725 | --no-cr | --no-c | -n)
1726 no_create=yes ;;
1728 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1729 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1730 no_recursion=yes ;;
1732 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1733 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1734 | --oldin | --oldi | --old | --ol | --o)
1735 ac_prev=oldincludedir ;;
1736 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1737 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1738 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1739 oldincludedir=$ac_optarg ;;
1741 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1742 ac_prev=prefix ;;
1743 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1744 prefix=$ac_optarg ;;
1746 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1747 | --program-pre | --program-pr | --program-p)
1748 ac_prev=program_prefix ;;
1749 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1750 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1751 program_prefix=$ac_optarg ;;
1753 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1754 | --program-suf | --program-su | --program-s)
1755 ac_prev=program_suffix ;;
1756 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1757 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1758 program_suffix=$ac_optarg ;;
1760 -program-transform-name | --program-transform-name \
1761 | --program-transform-nam | --program-transform-na \
1762 | --program-transform-n | --program-transform- \
1763 | --program-transform | --program-transfor \
1764 | --program-transfo | --program-transf \
1765 | --program-trans | --program-tran \
1766 | --progr-tra | --program-tr | --program-t)
1767 ac_prev=program_transform_name ;;
1768 -program-transform-name=* | --program-transform-name=* \
1769 | --program-transform-nam=* | --program-transform-na=* \
1770 | --program-transform-n=* | --program-transform-=* \
1771 | --program-transform=* | --program-transfor=* \
1772 | --program-transfo=* | --program-transf=* \
1773 | --program-trans=* | --program-tran=* \
1774 | --progr-tra=* | --program-tr=* | --program-t=*)
1775 program_transform_name=$ac_optarg ;;
1777 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1778 ac_prev=pdfdir ;;
1779 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1780 pdfdir=$ac_optarg ;;
1782 -psdir | --psdir | --psdi | --psd | --ps)
1783 ac_prev=psdir ;;
1784 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1785 psdir=$ac_optarg ;;
1787 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1788 | -silent | --silent | --silen | --sile | --sil)
1789 silent=yes ;;
1791 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1792 ac_prev=sbindir ;;
1793 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1794 | --sbi=* | --sb=*)
1795 sbindir=$ac_optarg ;;
1797 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1798 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1799 | --sharedst | --shareds | --shared | --share | --shar \
1800 | --sha | --sh)
1801 ac_prev=sharedstatedir ;;
1802 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1803 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1804 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1805 | --sha=* | --sh=*)
1806 sharedstatedir=$ac_optarg ;;
1808 -site | --site | --sit)
1809 ac_prev=site ;;
1810 -site=* | --site=* | --sit=*)
1811 site=$ac_optarg ;;
1813 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1814 ac_prev=srcdir ;;
1815 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1816 srcdir=$ac_optarg ;;
1818 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1819 | --syscon | --sysco | --sysc | --sys | --sy)
1820 ac_prev=sysconfdir ;;
1821 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1822 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1823 sysconfdir=$ac_optarg ;;
1825 -target | --target | --targe | --targ | --tar | --ta | --t)
1826 ac_prev=target_alias ;;
1827 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1828 target_alias=$ac_optarg ;;
1830 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1831 verbose=yes ;;
1833 -version | --version | --versio | --versi | --vers | -V)
1834 ac_init_version=: ;;
1836 -with-* | --with-*)
1837 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1848 ac_unrecognized_sep=', ';;
1849 esac
1850 eval with_$ac_useropt=\$ac_optarg ;;
1852 -without-* | --without-*)
1853 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1854 # Reject names that are not valid shell variable names.
1855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1856 as_fn_error $? "invalid package name: $ac_useropt"
1857 ac_useropt_orig=$ac_useropt
1858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1859 case $ac_user_opts in
1861 "with_$ac_useropt"
1862 "*) ;;
1863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1864 ac_unrecognized_sep=', ';;
1865 esac
1866 eval with_$ac_useropt=no ;;
1868 --x)
1869 # Obsolete; use --with-x.
1870 with_x=yes ;;
1872 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1873 | --x-incl | --x-inc | --x-in | --x-i)
1874 ac_prev=x_includes ;;
1875 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1876 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1877 x_includes=$ac_optarg ;;
1879 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1880 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1881 ac_prev=x_libraries ;;
1882 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1883 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1884 x_libraries=$ac_optarg ;;
1886 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1887 Try \`$0 --help' for more information"
1890 *=*)
1891 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1892 # Reject names that are not valid shell variable names.
1893 case $ac_envvar in #(
1894 '' | [0-9]* | *[!_$as_cr_alnum]* )
1895 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1896 esac
1897 eval $ac_envvar=\$ac_optarg
1898 export $ac_envvar ;;
1901 # FIXME: should be removed in autoconf 3.0.
1902 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1903 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1904 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1905 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1908 esac
1909 done
1911 if test -n "$ac_prev"; then
1912 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1913 as_fn_error $? "missing argument to $ac_option"
1916 if test -n "$ac_unrecognized_opts"; then
1917 case $enable_option_checking in
1918 no) ;;
1919 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1920 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1921 esac
1924 # Check all directory arguments for consistency.
1925 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1926 datadir sysconfdir sharedstatedir localstatedir includedir \
1927 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1928 libdir localedir mandir
1930 eval ac_val=\$$ac_var
1931 # Remove trailing slashes.
1932 case $ac_val in
1933 */ )
1934 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1935 eval $ac_var=\$ac_val;;
1936 esac
1937 # Be sure to have absolute directory names.
1938 case $ac_val in
1939 [\\/$]* | ?:[\\/]* ) continue;;
1940 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1941 esac
1942 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1943 done
1945 # There might be people who depend on the old broken behavior: `$host'
1946 # used to hold the argument of --host etc.
1947 # FIXME: To remove some day.
1948 build=$build_alias
1949 host=$host_alias
1950 target=$target_alias
1952 # FIXME: To remove some day.
1953 if test "x$host_alias" != x; then
1954 if test "x$build_alias" = x; then
1955 cross_compiling=maybe
1956 elif test "x$build_alias" != "x$host_alias"; then
1957 cross_compiling=yes
1961 ac_tool_prefix=
1962 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1964 test "$silent" = yes && exec 6>/dev/null
1967 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1968 ac_ls_di=`ls -di .` &&
1969 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1970 as_fn_error $? "working directory cannot be determined"
1971 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1972 as_fn_error $? "pwd does not report name of working directory"
1975 # Find the source files, if location was not specified.
1976 if test -z "$srcdir"; then
1977 ac_srcdir_defaulted=yes
1978 # Try the directory containing this script, then the parent directory.
1979 ac_confdir=`$as_dirname -- "$as_myself" ||
1980 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1981 X"$as_myself" : 'X\(//\)[^/]' \| \
1982 X"$as_myself" : 'X\(//\)$' \| \
1983 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1984 $as_echo X"$as_myself" |
1985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1986 s//\1/
1989 /^X\(\/\/\)[^/].*/{
1990 s//\1/
1993 /^X\(\/\/\)$/{
1994 s//\1/
1997 /^X\(\/\).*/{
1998 s//\1/
2001 s/.*/./; q'`
2002 srcdir=$ac_confdir
2003 if test ! -r "$srcdir/$ac_unique_file"; then
2004 srcdir=..
2006 else
2007 ac_srcdir_defaulted=no
2009 if test ! -r "$srcdir/$ac_unique_file"; then
2010 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2011 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2013 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2014 ac_abs_confdir=`(
2015 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2016 pwd)`
2017 # When building in place, set srcdir=.
2018 if test "$ac_abs_confdir" = "$ac_pwd"; then
2019 srcdir=.
2021 # Remove unnecessary trailing slashes from srcdir.
2022 # Double slashes in file names in object file debugging info
2023 # mess up M-x gdb in Emacs.
2024 case $srcdir in
2025 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2026 esac
2027 for ac_var in $ac_precious_vars; do
2028 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2029 eval ac_env_${ac_var}_value=\$${ac_var}
2030 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2031 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2032 done
2035 # Report the --help message.
2037 if test "$ac_init_help" = "long"; then
2038 # Omit some internal or obsolete options to make the list less imposing.
2039 # This message is too long to be a string in the A/UX 3.1 sh.
2040 cat <<_ACEOF
2041 \`configure' configures Wine 1.7.45 to adapt to many kinds of systems.
2043 Usage: $0 [OPTION]... [VAR=VALUE]...
2045 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2046 VAR=VALUE. See below for descriptions of some of the useful variables.
2048 Defaults for the options are specified in brackets.
2050 Configuration:
2051 -h, --help display this help and exit
2052 --help=short display options specific to this package
2053 --help=recursive display the short help of all the included packages
2054 -V, --version display version information and exit
2055 -q, --quiet, --silent do not print \`checking ...' messages
2056 --cache-file=FILE cache test results in FILE [disabled]
2057 -C, --config-cache alias for \`--cache-file=config.cache'
2058 -n, --no-create do not create output files
2059 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2061 Installation directories:
2062 --prefix=PREFIX install architecture-independent files in PREFIX
2063 [$ac_default_prefix]
2064 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2065 [PREFIX]
2067 By default, \`make install' will install all the files in
2068 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2069 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2070 for instance \`--prefix=\$HOME'.
2072 For better control, use the options below.
2074 Fine tuning of the installation directories:
2075 --bindir=DIR user executables [EPREFIX/bin]
2076 --sbindir=DIR system admin executables [EPREFIX/sbin]
2077 --libexecdir=DIR program executables [EPREFIX/libexec]
2078 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2079 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2080 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2081 --libdir=DIR object code libraries [EPREFIX/lib]
2082 --includedir=DIR C header files [PREFIX/include]
2083 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2084 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2085 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2086 --infodir=DIR info documentation [DATAROOTDIR/info]
2087 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2088 --mandir=DIR man documentation [DATAROOTDIR/man]
2089 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2090 --htmldir=DIR html documentation [DOCDIR]
2091 --dvidir=DIR dvi documentation [DOCDIR]
2092 --pdfdir=DIR pdf documentation [DOCDIR]
2093 --psdir=DIR ps documentation [DOCDIR]
2094 _ACEOF
2096 cat <<\_ACEOF
2098 X features:
2099 --x-includes=DIR X include files are in DIR
2100 --x-libraries=DIR X library files are in DIR
2102 System types:
2103 --build=BUILD configure for building on BUILD [guessed]
2104 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2105 _ACEOF
2108 if test -n "$ac_init_help"; then
2109 case $ac_init_help in
2110 short | recursive ) echo "Configuration of Wine 1.7.45:";;
2111 esac
2112 cat <<\_ACEOF
2114 Optional Features:
2115 --disable-option-checking ignore unrecognized --enable/--with options
2116 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2117 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2118 --disable-win16 do not include Win16 support
2119 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2120 binaries)
2121 --disable-tests do not build the regression tests
2122 --enable-maintainer-mode
2123 enable maintainer-specific build rules
2124 --disable-largefile omit support for large files
2126 Optional Packages:
2127 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2128 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2129 --without-alsa do not use the Alsa sound support
2130 --without-capi do not use CAPI (ISDN support)
2131 --without-cms do not use CMS (color management support)
2132 --without-coreaudio do not use the CoreAudio sound support
2133 --without-cups do not use CUPS
2134 --without-curses do not use (n)curses
2135 --without-dbus do not use DBus (dynamic device support)
2136 --without-fontconfig do not use fontconfig
2137 --without-freetype do not use the FreeType library
2138 --without-gettext do not use gettext
2139 --with-gettextpo use the GetTextPO library to rebuild po files
2140 --without-gphoto do not use gphoto (Digital Camera support)
2141 --without-glu do not use the GLU library
2142 --without-gnutls do not use GnuTLS (schannel support)
2143 --without-gsm do not use libgsm (GSM 06.10 codec support)
2144 --without-gstreamer do not use GStreamer (codecs support)
2145 --without-hal do not use HAL (dynamic device support)
2146 --without-jpeg do not use JPEG
2147 --without-ldap do not use LDAP
2148 --without-mpg123 do not use the mpg123 library
2149 --without-netapi do not use the Samba NetAPI library
2150 --without-openal do not use OpenAL
2151 --without-opencl do not use OpenCL
2152 --without-opengl do not use OpenGL
2153 --without-osmesa do not use the OSMesa library
2154 --without-oss do not use the OSS sound support
2155 --without-pcap do not use the Packet Capture library
2156 --without-png do not use PNG
2157 --without-pthread do not use the pthread library
2158 --without-sane do not use SANE (scanner support)
2159 --without-tiff do not use TIFF
2160 --without-v4l do not use v4l1 (v4l support)
2161 --without-xcomposite do not use the Xcomposite extension
2162 --without-xcursor do not use the Xcursor extension
2163 --without-xinerama do not use Xinerama (multi-monitor support)
2164 --without-xinput do not use the Xinput extension
2165 --without-xinput2 do not use the Xinput 2 extension
2166 --without-xml do not use XML
2167 --without-xrandr do not use Xrandr (resolution changes)
2168 --without-xrender do not use the Xrender extension
2169 --without-xshape do not use the Xshape extension
2170 --without-xshm do not use XShm (shared memory extension)
2171 --without-xslt do not use XSLT
2172 --without-xxf86vm do not use XFree video mode extension
2173 --without-zlib do not use Zlib (data compression)
2174 --with-wine-tools=DIR use Wine tools from directory DIR
2175 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2176 --with-x use the X Window System
2178 Some influential environment variables:
2179 CC C compiler command
2180 CFLAGS C compiler flags
2181 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2182 nonstandard directory <lib dir>
2183 LIBS libraries to pass to the linker, e.g. -l<library>
2184 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2185 you have headers in a nonstandard directory <include dir>
2186 CXX C++ compiler command
2187 CXXFLAGS C++ compiler flags
2188 CPP C preprocessor
2189 XMKMF Path to xmkmf, Makefile generator for X Window System
2190 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2191 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2192 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2193 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2194 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2195 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2196 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2197 HAL_LIBS Linker flags for hal, overriding pkg-config
2198 GNUTLS_CFLAGS
2199 C compiler flags for gnutls, overriding pkg-config
2200 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2201 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2202 SANE_LIBS Linker flags for libsane, overriding pkg-config
2203 GPHOTO2_CFLAGS
2204 C compiler flags for libgphoto2, overriding pkg-config
2205 GPHOTO2_LIBS
2206 Linker flags for libgphoto2, overriding pkg-config
2207 GPHOTO2_PORT_CFLAGS
2208 C compiler flags for libgphoto2_port, overriding pkg-config
2209 GPHOTO2_PORT_LIBS
2210 Linker flags for libgphoto2_port, overriding pkg-config
2211 LCMS2_CFLAGS
2212 C compiler flags for lcms2, overriding pkg-config
2213 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2214 FREETYPE_CFLAGS
2215 C compiler flags for freetype2, overriding pkg-config
2216 FREETYPE_LIBS
2217 Linker flags for freetype2, overriding pkg-config
2218 GSTREAMER_CFLAGS
2219 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2220 GSTREAMER_LIBS
2221 Linker flags for gstreamer-app-0.10, overriding pkg-config
2222 CAPI20_CFLAGS
2223 C compiler flags for capi20, overriding pkg-config
2224 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2225 FONTCONFIG_CFLAGS
2226 C compiler flags for fontconfig, overriding pkg-config
2227 FONTCONFIG_LIBS
2228 Linker flags for fontconfig, overriding pkg-config
2229 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2230 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2231 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2232 PNG_LIBS Linker flags for libpng, overriding pkg-config
2233 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2234 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2235 MPG123_CFLAGS
2236 C compiler flags for libmpg123, overriding pkg-config
2237 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2239 Use these variables to override the choices made by `configure' or to help
2240 it to find libraries and programs with nonstandard names/locations.
2242 Report bugs to <wine-devel@winehq.org>.
2243 Wine home page: <http://www.winehq.org>.
2244 _ACEOF
2245 ac_status=$?
2248 if test "$ac_init_help" = "recursive"; then
2249 # If there are subdirs, report their specific --help.
2250 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2251 test -d "$ac_dir" ||
2252 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2253 continue
2254 ac_builddir=.
2256 case "$ac_dir" in
2257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2259 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2260 # A ".." for each directory in $ac_dir_suffix.
2261 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2262 case $ac_top_builddir_sub in
2263 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2264 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2265 esac ;;
2266 esac
2267 ac_abs_top_builddir=$ac_pwd
2268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2269 # for backward compatibility:
2270 ac_top_builddir=$ac_top_build_prefix
2272 case $srcdir in
2273 .) # We are building in place.
2274 ac_srcdir=.
2275 ac_top_srcdir=$ac_top_builddir_sub
2276 ac_abs_top_srcdir=$ac_pwd ;;
2277 [\\/]* | ?:[\\/]* ) # Absolute name.
2278 ac_srcdir=$srcdir$ac_dir_suffix;
2279 ac_top_srcdir=$srcdir
2280 ac_abs_top_srcdir=$srcdir ;;
2281 *) # Relative name.
2282 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2283 ac_top_srcdir=$ac_top_build_prefix$srcdir
2284 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2285 esac
2286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2288 cd "$ac_dir" || { ac_status=$?; continue; }
2289 # Check for guested configure.
2290 if test -f "$ac_srcdir/configure.gnu"; then
2291 echo &&
2292 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2293 elif test -f "$ac_srcdir/configure"; then
2294 echo &&
2295 $SHELL "$ac_srcdir/configure" --help=recursive
2296 else
2297 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2298 fi || ac_status=$?
2299 cd "$ac_pwd" || { ac_status=$?; break; }
2300 done
2303 test -n "$ac_init_help" && exit $ac_status
2304 if $ac_init_version; then
2305 cat <<\_ACEOF
2306 Wine configure 1.7.45
2307 generated by GNU Autoconf 2.69
2309 Copyright (C) 2012 Free Software Foundation, Inc.
2310 This configure script is free software; the Free Software Foundation
2311 gives unlimited permission to copy, distribute and modify it.
2312 _ACEOF
2313 exit
2316 ## ------------------------ ##
2317 ## Autoconf initialization. ##
2318 ## ------------------------ ##
2320 # ac_fn_c_try_compile LINENO
2321 # --------------------------
2322 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2323 ac_fn_c_try_compile ()
2325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2326 rm -f conftest.$ac_objext
2327 if { { ac_try="$ac_compile"
2328 case "(($ac_try" in
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2331 esac
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2333 $as_echo "$ac_try_echo"; } >&5
2334 (eval "$ac_compile") 2>conftest.err
2335 ac_status=$?
2336 if test -s conftest.err; then
2337 grep -v '^ *+' conftest.err >conftest.er1
2338 cat conftest.er1 >&5
2339 mv -f conftest.er1 conftest.err
2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2342 test $ac_status = 0; } && {
2343 test -z "$ac_c_werror_flag" ||
2344 test ! -s conftest.err
2345 } && test -s conftest.$ac_objext; then :
2346 ac_retval=0
2347 else
2348 $as_echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2351 ac_retval=1
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2354 as_fn_set_status $ac_retval
2356 } # ac_fn_c_try_compile
2358 # ac_fn_cxx_try_compile LINENO
2359 # ----------------------------
2360 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2361 ac_fn_cxx_try_compile ()
2363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2364 rm -f conftest.$ac_objext
2365 if { { ac_try="$ac_compile"
2366 case "(($ac_try" in
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2369 esac
2370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2371 $as_echo "$ac_try_echo"; } >&5
2372 (eval "$ac_compile") 2>conftest.err
2373 ac_status=$?
2374 if test -s conftest.err; then
2375 grep -v '^ *+' conftest.err >conftest.er1
2376 cat conftest.er1 >&5
2377 mv -f conftest.er1 conftest.err
2379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2380 test $ac_status = 0; } && {
2381 test -z "$ac_cxx_werror_flag" ||
2382 test ! -s conftest.err
2383 } && test -s conftest.$ac_objext; then :
2384 ac_retval=0
2385 else
2386 $as_echo "$as_me: failed program was:" >&5
2387 sed 's/^/| /' conftest.$ac_ext >&5
2389 ac_retval=1
2391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392 as_fn_set_status $ac_retval
2394 } # ac_fn_cxx_try_compile
2396 # ac_fn_c_try_link LINENO
2397 # -----------------------
2398 # Try to link conftest.$ac_ext, and return whether this succeeded.
2399 ac_fn_c_try_link ()
2401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2402 rm -f conftest.$ac_objext conftest$ac_exeext
2403 if { { ac_try="$ac_link"
2404 case "(($ac_try" in
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2407 esac
2408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2409 $as_echo "$ac_try_echo"; } >&5
2410 (eval "$ac_link") 2>conftest.err
2411 ac_status=$?
2412 if test -s conftest.err; then
2413 grep -v '^ *+' conftest.err >conftest.er1
2414 cat conftest.er1 >&5
2415 mv -f conftest.er1 conftest.err
2417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2418 test $ac_status = 0; } && {
2419 test -z "$ac_c_werror_flag" ||
2420 test ! -s conftest.err
2421 } && test -s conftest$ac_exeext && {
2422 test "$cross_compiling" = yes ||
2423 test -x conftest$ac_exeext
2424 }; then :
2425 ac_retval=0
2426 else
2427 $as_echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2430 ac_retval=1
2432 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2433 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2434 # interfere with the next link command; also delete a directory that is
2435 # left behind by Apple's compiler. We do this before executing the actions.
2436 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2438 as_fn_set_status $ac_retval
2440 } # ac_fn_c_try_link
2442 # ac_fn_c_try_cpp LINENO
2443 # ----------------------
2444 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_c_try_cpp ()
2447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448 if { { ac_try="$ac_cpp conftest.$ac_ext"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2456 ac_status=$?
2457 if test -s conftest.err; then
2458 grep -v '^ *+' conftest.err >conftest.er1
2459 cat conftest.er1 >&5
2460 mv -f conftest.er1 conftest.err
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; } > conftest.i && {
2464 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2465 test ! -s conftest.err
2466 }; then :
2467 ac_retval=0
2468 else
2469 $as_echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 ac_retval=1
2474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475 as_fn_set_status $ac_retval
2477 } # ac_fn_c_try_cpp
2479 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2480 # -------------------------------------------------------
2481 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2482 # the include files in INCLUDES and setting the cache variable VAR
2483 # accordingly.
2484 ac_fn_c_check_header_mongrel ()
2486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2487 if eval \${$3+:} false; then :
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2489 $as_echo_n "checking for $2... " >&6; }
2490 if eval \${$3+:} false; then :
2491 $as_echo_n "(cached) " >&6
2493 eval ac_res=\$$3
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 $as_echo "$ac_res" >&6; }
2496 else
2497 # Is the header compilable?
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2499 $as_echo_n "checking $2 usability... " >&6; }
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2501 /* end confdefs.h. */
2503 #include <$2>
2504 _ACEOF
2505 if ac_fn_c_try_compile "$LINENO"; then :
2506 ac_header_compiler=yes
2507 else
2508 ac_header_compiler=no
2510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2512 $as_echo "$ac_header_compiler" >&6; }
2514 # Is the header present?
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2516 $as_echo_n "checking $2 presence... " >&6; }
2517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 /* end confdefs.h. */
2519 #include <$2>
2520 _ACEOF
2521 if ac_fn_c_try_cpp "$LINENO"; then :
2522 ac_header_preproc=yes
2523 else
2524 ac_header_preproc=no
2526 rm -f conftest.err conftest.i conftest.$ac_ext
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2528 $as_echo "$ac_header_preproc" >&6; }
2530 # So? What about this header?
2531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2532 yes:no: )
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2534 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2536 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2538 no:yes:* )
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2540 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2542 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2544 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2546 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2548 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2549 ( $as_echo "## ------------------------------------ ##
2550 ## Report this to wine-devel@winehq.org ##
2551 ## ------------------------------------ ##"
2552 ) | sed "s/^/$as_me: WARNING: /" >&2
2554 esac
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2556 $as_echo_n "checking for $2... " >&6; }
2557 if eval \${$3+:} false; then :
2558 $as_echo_n "(cached) " >&6
2559 else
2560 eval "$3=\$ac_header_compiler"
2562 eval ac_res=\$$3
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2564 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 } # ac_fn_c_check_header_mongrel
2570 # ac_fn_c_try_run LINENO
2571 # ----------------------
2572 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2573 # that executables *can* be run.
2574 ac_fn_c_try_run ()
2576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2577 if { { ac_try="$ac_link"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_link") 2>&5
2585 ac_status=$?
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2588 { { case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_try") 2>&5
2595 ac_status=$?
2596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2597 test $ac_status = 0; }; }; then :
2598 ac_retval=0
2599 else
2600 $as_echo "$as_me: program exited with status $ac_status" >&5
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2604 ac_retval=$ac_status
2606 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_c_try_run
2612 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2613 # -------------------------------------------------------
2614 # Tests whether HEADER exists and can be compiled using the include files in
2615 # INCLUDES, setting the cache variable VAR accordingly.
2616 ac_fn_c_check_header_compile ()
2618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2620 $as_echo_n "checking for $2... " >&6; }
2621 if eval \${$3+:} false; then :
2622 $as_echo_n "(cached) " >&6
2623 else
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2627 #include <$2>
2628 _ACEOF
2629 if ac_fn_c_try_compile "$LINENO"; then :
2630 eval "$3=yes"
2631 else
2632 eval "$3=no"
2634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2636 eval ac_res=\$$3
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638 $as_echo "$ac_res" >&6; }
2639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 } # ac_fn_c_check_header_compile
2643 # ac_fn_c_check_func LINENO FUNC VAR
2644 # ----------------------------------
2645 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2646 ac_fn_c_check_func ()
2648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2650 $as_echo_n "checking for $2... " >&6; }
2651 if eval \${$3+:} false; then :
2652 $as_echo_n "(cached) " >&6
2653 else
2654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2655 /* end confdefs.h. */
2656 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2658 #define $2 innocuous_$2
2660 /* System header to define __stub macros and hopefully few prototypes,
2661 which can conflict with char $2 (); below.
2662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2663 <limits.h> exists even on freestanding compilers. */
2665 #ifdef __STDC__
2666 # include <limits.h>
2667 #else
2668 # include <assert.h>
2669 #endif
2671 #undef $2
2673 /* Override any GCC internal prototype to avoid an error.
2674 Use char because int might match the return type of a GCC
2675 builtin and then its argument prototype would still apply. */
2676 #ifdef __cplusplus
2677 extern "C"
2678 #endif
2679 char $2 ();
2680 /* The GNU C library defines this for functions which it implements
2681 to always fail with ENOSYS. Some functions are actually named
2682 something starting with __ and the normal name is an alias. */
2683 #if defined __stub_$2 || defined __stub___$2
2684 choke me
2685 #endif
2688 main ()
2690 return $2 ();
2692 return 0;
2694 _ACEOF
2695 if ac_fn_c_try_link "$LINENO"; then :
2696 eval "$3=yes"
2697 else
2698 eval "$3=no"
2700 rm -f core conftest.err conftest.$ac_objext \
2701 conftest$ac_exeext conftest.$ac_ext
2703 eval ac_res=\$$3
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_func
2710 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2711 # ----------------------------------------------------
2712 # Tries to find if the field MEMBER exists in type AGGR, after including
2713 # INCLUDES, setting cache variable VAR accordingly.
2714 ac_fn_c_check_member ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2718 $as_echo_n "checking for $2.$3... " >&6; }
2719 if eval \${$4+:} false; then :
2720 $as_echo_n "(cached) " >&6
2721 else
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2726 main ()
2728 static $2 ac_aggr;
2729 if (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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2742 main ()
2744 static $2 ac_aggr;
2745 if (sizeof ac_aggr.$3)
2746 return 0;
2748 return 0;
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 eval "$4=yes"
2753 else
2754 eval "$4=no"
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 eval ac_res=\$$4
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_member
2767 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2768 # -------------------------------------------
2769 # Tests whether TYPE exists after having included INCLUDES, setting cache
2770 # variable VAR accordingly.
2771 ac_fn_c_check_type ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 $as_echo_n "checking for $2... " >&6; }
2776 if eval \${$3+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 eval "$3=no"
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2784 main ()
2786 if (sizeof ($2))
2787 return 0;
2789 return 0;
2791 _ACEOF
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2794 /* end confdefs.h. */
2797 main ()
2799 if (sizeof (($2)))
2800 return 0;
2802 return 0;
2804 _ACEOF
2805 if ac_fn_c_try_compile "$LINENO"; then :
2807 else
2808 eval "$3=yes"
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 eval ac_res=\$$3
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 } # ac_fn_c_check_type
2820 cat >config.log <<_ACEOF
2821 This file contains any messages produced by compilers while
2822 running configure, to aid debugging if configure makes a mistake.
2824 It was created by Wine $as_me 1.7.45, which was
2825 generated by GNU Autoconf 2.69. Invocation command line was
2827 $ $0 $@
2829 _ACEOF
2830 exec 5>>config.log
2832 cat <<_ASUNAME
2833 ## --------- ##
2834 ## Platform. ##
2835 ## --------- ##
2837 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2838 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2839 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2840 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2841 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2843 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2844 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2846 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2847 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2848 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2849 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2850 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2851 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2852 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2854 _ASUNAME
2856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 for as_dir in $PATH
2859 IFS=$as_save_IFS
2860 test -z "$as_dir" && as_dir=.
2861 $as_echo "PATH: $as_dir"
2862 done
2863 IFS=$as_save_IFS
2865 } >&5
2867 cat >&5 <<_ACEOF
2870 ## ----------- ##
2871 ## Core tests. ##
2872 ## ----------- ##
2874 _ACEOF
2877 # Keep a trace of the command line.
2878 # Strip out --no-create and --no-recursion so they do not pile up.
2879 # Strip out --silent because we don't want to record it for future runs.
2880 # Also quote any args containing shell meta-characters.
2881 # Make two passes to allow for proper duplicate-argument suppression.
2882 ac_configure_args=
2883 ac_configure_args0=
2884 ac_configure_args1=
2885 ac_must_keep_next=false
2886 for ac_pass in 1 2
2888 for ac_arg
2890 case $ac_arg in
2891 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2892 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2893 | -silent | --silent | --silen | --sile | --sil)
2894 continue ;;
2895 *\'*)
2896 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2897 esac
2898 case $ac_pass in
2899 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2901 as_fn_append ac_configure_args1 " '$ac_arg'"
2902 if test $ac_must_keep_next = true; then
2903 ac_must_keep_next=false # Got value, back to normal.
2904 else
2905 case $ac_arg in
2906 *=* | --config-cache | -C | -disable-* | --disable-* \
2907 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2908 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2909 | -with-* | --with-* | -without-* | --without-* | --x)
2910 case "$ac_configure_args0 " in
2911 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2912 esac
2914 -* ) ac_must_keep_next=true ;;
2915 esac
2917 as_fn_append ac_configure_args " '$ac_arg'"
2919 esac
2920 done
2921 done
2922 { ac_configure_args0=; unset ac_configure_args0;}
2923 { ac_configure_args1=; unset ac_configure_args1;}
2925 # When interrupted or exit'd, cleanup temporary files, and complete
2926 # config.log. We remove comments because anyway the quotes in there
2927 # would cause problems or look ugly.
2928 # WARNING: Use '\'' to represent an apostrophe within the trap.
2929 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2930 trap 'exit_status=$?
2931 # Save into config.log some information that might help in debugging.
2933 echo
2935 $as_echo "## ---------------- ##
2936 ## Cache variables. ##
2937 ## ---------------- ##"
2938 echo
2939 # The following way of writing the cache mishandles newlines in values,
2941 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2942 eval ac_val=\$$ac_var
2943 case $ac_val in #(
2944 *${as_nl}*)
2945 case $ac_var in #(
2946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2948 esac
2949 case $ac_var in #(
2950 _ | IFS | as_nl) ;; #(
2951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2952 *) { eval $ac_var=; unset $ac_var;} ;;
2953 esac ;;
2954 esac
2955 done
2956 (set) 2>&1 |
2957 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2958 *${as_nl}ac_space=\ *)
2959 sed -n \
2960 "s/'\''/'\''\\\\'\'''\''/g;
2961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2962 ;; #(
2964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2966 esac |
2967 sort
2969 echo
2971 $as_echo "## ----------------- ##
2972 ## Output variables. ##
2973 ## ----------------- ##"
2974 echo
2975 for ac_var in $ac_subst_vars
2977 eval ac_val=\$$ac_var
2978 case $ac_val in
2979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2980 esac
2981 $as_echo "$ac_var='\''$ac_val'\''"
2982 done | sort
2983 echo
2985 if test -n "$ac_subst_files"; then
2986 $as_echo "## ------------------- ##
2987 ## File substitutions. ##
2988 ## ------------------- ##"
2989 echo
2990 for ac_var in $ac_subst_files
2992 eval ac_val=\$$ac_var
2993 case $ac_val in
2994 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2995 esac
2996 $as_echo "$ac_var='\''$ac_val'\''"
2997 done | sort
2998 echo
3001 if test -s confdefs.h; then
3002 $as_echo "## ----------- ##
3003 ## confdefs.h. ##
3004 ## ----------- ##"
3005 echo
3006 cat confdefs.h
3007 echo
3009 test "$ac_signal" != 0 &&
3010 $as_echo "$as_me: caught signal $ac_signal"
3011 $as_echo "$as_me: exit $exit_status"
3012 } >&5
3013 rm -f core *.core core.conftest.* &&
3014 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3015 exit $exit_status
3017 for ac_signal in 1 2 13 15; do
3018 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3019 done
3020 ac_signal=0
3022 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3023 rm -f -r conftest* confdefs.h
3025 $as_echo "/* confdefs.h */" > confdefs.h
3027 # Predefined preprocessor variables.
3029 cat >>confdefs.h <<_ACEOF
3030 #define PACKAGE_NAME "$PACKAGE_NAME"
3031 _ACEOF
3033 cat >>confdefs.h <<_ACEOF
3034 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3035 _ACEOF
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3039 _ACEOF
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE_STRING "$PACKAGE_STRING"
3043 _ACEOF
3045 cat >>confdefs.h <<_ACEOF
3046 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3047 _ACEOF
3049 cat >>confdefs.h <<_ACEOF
3050 #define PACKAGE_URL "$PACKAGE_URL"
3051 _ACEOF
3054 # Let the site file select an alternate cache file if it wants to.
3055 # Prefer an explicitly selected file to automatically selected ones.
3056 ac_site_file1=NONE
3057 ac_site_file2=NONE
3058 if test -n "$CONFIG_SITE"; then
3059 # We do not want a PATH search for config.site.
3060 case $CONFIG_SITE in #((
3061 -*) ac_site_file1=./$CONFIG_SITE;;
3062 */*) ac_site_file1=$CONFIG_SITE;;
3063 *) ac_site_file1=./$CONFIG_SITE;;
3064 esac
3065 elif test "x$prefix" != xNONE; then
3066 ac_site_file1=$prefix/share/config.site
3067 ac_site_file2=$prefix/etc/config.site
3068 else
3069 ac_site_file1=$ac_default_prefix/share/config.site
3070 ac_site_file2=$ac_default_prefix/etc/config.site
3072 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3074 test "x$ac_site_file" = xNONE && continue
3075 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3077 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3078 sed 's/^/| /' "$ac_site_file" >&5
3079 . "$ac_site_file" \
3080 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 as_fn_error $? "failed to load site script $ac_site_file
3083 See \`config.log' for more details" "$LINENO" 5; }
3085 done
3087 if test -r "$cache_file"; then
3088 # Some versions of bash will fail to source /dev/null (special files
3089 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3090 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3092 $as_echo "$as_me: loading cache $cache_file" >&6;}
3093 case $cache_file in
3094 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3095 *) . "./$cache_file";;
3096 esac
3098 else
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3100 $as_echo "$as_me: creating cache $cache_file" >&6;}
3101 >$cache_file
3104 # Check that the precious variables saved in the cache have kept the same
3105 # value.
3106 ac_cache_corrupted=false
3107 for ac_var in $ac_precious_vars; do
3108 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3109 eval ac_new_set=\$ac_env_${ac_var}_set
3110 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3111 eval ac_new_val=\$ac_env_${ac_var}_value
3112 case $ac_old_set,$ac_new_set in
3113 set,)
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3115 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3116 ac_cache_corrupted=: ;;
3117 ,set)
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3119 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3120 ac_cache_corrupted=: ;;
3121 ,);;
3123 if test "x$ac_old_val" != "x$ac_new_val"; then
3124 # differences in whitespace do not lead to failure.
3125 ac_old_val_w=`echo x $ac_old_val`
3126 ac_new_val_w=`echo x $ac_new_val`
3127 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3129 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3130 ac_cache_corrupted=:
3131 else
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3133 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3134 eval $ac_var=\$ac_old_val
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3137 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3139 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3140 fi;;
3141 esac
3142 # Pass precious variables to config.status.
3143 if test "$ac_new_set" = set; then
3144 case $ac_new_val in
3145 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3146 *) ac_arg=$ac_var=$ac_new_val ;;
3147 esac
3148 case " $ac_configure_args " in
3149 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3150 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3151 esac
3153 done
3154 if $ac_cache_corrupted; then
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3158 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3159 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3161 ## -------------------- ##
3162 ## Main body of script. ##
3163 ## -------------------- ##
3165 ac_ext=c
3166 ac_cpp='$CPP $CPPFLAGS'
3167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3173 ac_config_headers="$ac_config_headers include/config.h"
3175 ac_aux_dir=
3176 for ac_dir in tools "$srcdir"/tools; do
3177 if test -f "$ac_dir/install-sh"; then
3178 ac_aux_dir=$ac_dir
3179 ac_install_sh="$ac_aux_dir/install-sh -c"
3180 break
3181 elif test -f "$ac_dir/install.sh"; then
3182 ac_aux_dir=$ac_dir
3183 ac_install_sh="$ac_aux_dir/install.sh -c"
3184 break
3185 elif test -f "$ac_dir/shtool"; then
3186 ac_aux_dir=$ac_dir
3187 ac_install_sh="$ac_aux_dir/shtool install -c"
3188 break
3190 done
3191 if test -z "$ac_aux_dir"; then
3192 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3195 # These three variables are undocumented and unsupported,
3196 # and are intended to be withdrawn in a future Autoconf release.
3197 # They can cause serious problems if a builder's source tree is in a directory
3198 # whose full name contains unusual characters.
3199 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3200 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3201 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3205 libwine_version="1.0"
3209 # Check whether --enable-win16 was given.
3210 if test "${enable_win16+set}" = set; then :
3211 enableval=$enable_win16;
3214 # Check whether --enable-win64 was given.
3215 if test "${enable_win64+set}" = set; then :
3216 enableval=$enable_win64;
3219 # Check whether --enable-tests was given.
3220 if test "${enable_tests+set}" = set; then :
3221 enableval=$enable_tests;
3224 # Check whether --enable-maintainer-mode was given.
3225 if test "${enable_maintainer_mode+set}" = set; then :
3226 enableval=$enable_maintainer_mode;
3231 # Check whether --with-alsa was given.
3232 if test "${with_alsa+set}" = set; then :
3233 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3237 # Check whether --with-capi was given.
3238 if test "${with_capi+set}" = set; then :
3239 withval=$with_capi;
3243 # Check whether --with-cms was given.
3244 if test "${with_cms+set}" = set; then :
3245 withval=$with_cms;
3249 # Check whether --with-coreaudio was given.
3250 if test "${with_coreaudio+set}" = set; then :
3251 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3255 # Check whether --with-cups was given.
3256 if test "${with_cups+set}" = set; then :
3257 withval=$with_cups;
3261 # Check whether --with-curses was given.
3262 if test "${with_curses+set}" = set; then :
3263 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3267 # Check whether --with-dbus was given.
3268 if test "${with_dbus+set}" = set; then :
3269 withval=$with_dbus;
3273 # Check whether --with-fontconfig was given.
3274 if test "${with_fontconfig+set}" = set; then :
3275 withval=$with_fontconfig;
3279 # Check whether --with-freetype was given.
3280 if test "${with_freetype+set}" = set; then :
3281 withval=$with_freetype;
3285 # Check whether --with-gettext was given.
3286 if test "${with_gettext+set}" = set; then :
3287 withval=$with_gettext;
3291 # Check whether --with-gettextpo was given.
3292 if test "${with_gettextpo+set}" = set; then :
3293 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3297 # Check whether --with-gphoto was given.
3298 if test "${with_gphoto+set}" = set; then :
3299 withval=$with_gphoto;
3303 # Check whether --with-glu was given.
3304 if test "${with_glu+set}" = set; then :
3305 withval=$with_glu;
3309 # Check whether --with-gnutls was given.
3310 if test "${with_gnutls+set}" = set; then :
3311 withval=$with_gnutls;
3315 # Check whether --with-gsm was given.
3316 if test "${with_gsm+set}" = set; then :
3317 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3321 # Check whether --with-gstreamer was given.
3322 if test "${with_gstreamer+set}" = set; then :
3323 withval=$with_gstreamer;
3327 # Check whether --with-hal was given.
3328 if test "${with_hal+set}" = set; then :
3329 withval=$with_hal;
3333 # Check whether --with-jpeg was given.
3334 if test "${with_jpeg+set}" = set; then :
3335 withval=$with_jpeg;
3339 # Check whether --with-ldap was given.
3340 if test "${with_ldap+set}" = set; then :
3341 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3345 # Check whether --with-mpg123 was given.
3346 if test "${with_mpg123+set}" = set; then :
3347 withval=$with_mpg123;
3351 # Check whether --with-netapi was given.
3352 if test "${with_netapi+set}" = set; then :
3353 withval=$with_netapi;
3357 # Check whether --with-openal was given.
3358 if test "${with_openal+set}" = set; then :
3359 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3363 # Check whether --with-opencl was given.
3364 if test "${with_opencl+set}" = set; then :
3365 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3369 # Check whether --with-opengl was given.
3370 if test "${with_opengl+set}" = set; then :
3371 withval=$with_opengl;
3375 # Check whether --with-osmesa was given.
3376 if test "${with_osmesa+set}" = set; then :
3377 withval=$with_osmesa;
3381 # Check whether --with-oss was given.
3382 if test "${with_oss+set}" = set; then :
3383 withval=$with_oss;
3387 # Check whether --with-pcap was given.
3388 if test "${with_pcap+set}" = set; then :
3389 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3393 # Check whether --with-png was given.
3394 if test "${with_png+set}" = set; then :
3395 withval=$with_png;
3399 # Check whether --with-pthread was given.
3400 if test "${with_pthread+set}" = set; then :
3401 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3405 # Check whether --with-sane was given.
3406 if test "${with_sane+set}" = set; then :
3407 withval=$with_sane;
3411 # Check whether --with-tiff was given.
3412 if test "${with_tiff+set}" = set; then :
3413 withval=$with_tiff;
3417 # Check whether --with-v4l was given.
3418 if test "${with_v4l+set}" = set; then :
3419 withval=$with_v4l;
3423 # Check whether --with-xcomposite was given.
3424 if test "${with_xcomposite+set}" = set; then :
3425 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3429 # Check whether --with-xcursor was given.
3430 if test "${with_xcursor+set}" = set; then :
3431 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3435 # Check whether --with-xinerama was given.
3436 if test "${with_xinerama+set}" = set; then :
3437 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3441 # Check whether --with-xinput was given.
3442 if test "${with_xinput+set}" = set; then :
3443 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3447 # Check whether --with-xinput2 was given.
3448 if test "${with_xinput2+set}" = set; then :
3449 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3453 # Check whether --with-xml was given.
3454 if test "${with_xml+set}" = set; then :
3455 withval=$with_xml;
3459 # Check whether --with-xrandr was given.
3460 if test "${with_xrandr+set}" = set; then :
3461 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3465 # Check whether --with-xrender was given.
3466 if test "${with_xrender+set}" = set; then :
3467 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3471 # Check whether --with-xshape was given.
3472 if test "${with_xshape+set}" = set; then :
3473 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3477 # Check whether --with-xshm was given.
3478 if test "${with_xshm+set}" = set; then :
3479 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3483 # Check whether --with-xslt was given.
3484 if test "${with_xslt+set}" = set; then :
3485 withval=$with_xslt;
3489 # Check whether --with-xxf86vm was given.
3490 if test "${with_xxf86vm+set}" = set; then :
3491 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
3495 # Check whether --with-zlib was given.
3496 if test "${with_zlib+set}" = set; then :
3497 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3502 # Check whether --with-wine-tools was given.
3503 if test "${with_wine_tools+set}" = set; then :
3504 withval=$with_wine_tools;
3508 # Check whether --with-wine64 was given.
3509 if test "${with_wine64+set}" = set; then :
3510 withval=$with_wine64;
3514 # Make sure we can run config.sub.
3515 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3516 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3519 $as_echo_n "checking build system type... " >&6; }
3520 if ${ac_cv_build+:} false; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 ac_build_alias=$build_alias
3524 test "x$ac_build_alias" = x &&
3525 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3526 test "x$ac_build_alias" = x &&
3527 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3528 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3529 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3533 $as_echo "$ac_cv_build" >&6; }
3534 case $ac_cv_build in
3535 *-*-*) ;;
3536 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3537 esac
3538 build=$ac_cv_build
3539 ac_save_IFS=$IFS; IFS='-'
3540 set x $ac_cv_build
3541 shift
3542 build_cpu=$1
3543 build_vendor=$2
3544 shift; shift
3545 # Remember, the first character of IFS is used to create $*,
3546 # except with old shells:
3547 build_os=$*
3548 IFS=$ac_save_IFS
3549 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3553 $as_echo_n "checking host system type... " >&6; }
3554 if ${ac_cv_host+:} false; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test "x$host_alias" = x; then
3558 ac_cv_host=$ac_cv_build
3559 else
3560 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3561 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3566 $as_echo "$ac_cv_host" >&6; }
3567 case $ac_cv_host in
3568 *-*-*) ;;
3569 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3570 esac
3571 host=$ac_cv_host
3572 ac_save_IFS=$IFS; IFS='-'
3573 set x $ac_cv_host
3574 shift
3575 host_cpu=$1
3576 host_vendor=$2
3577 shift; shift
3578 # Remember, the first character of IFS is used to create $*,
3579 # except with old shells:
3580 host_os=$*
3581 IFS=$ac_save_IFS
3582 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3586 case "$srcdir" in
3587 .) ;;
3588 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3589 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3590 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3591 fi ;;
3592 esac
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3596 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3597 set x ${MAKE-make}
3598 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3599 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3600 $as_echo_n "(cached) " >&6
3601 else
3602 cat >conftest.make <<\_ACEOF
3603 SHELL = /bin/sh
3604 all:
3605 @echo '@@@%%%=$(MAKE)=@@@%%%'
3606 _ACEOF
3607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3608 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3609 *@@@%%%=?*=@@@%%%*)
3610 eval ac_cv_prog_make_${ac_make}_set=yes;;
3612 eval ac_cv_prog_make_${ac_make}_set=no;;
3613 esac
3614 rm -f conftest.make
3616 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3618 $as_echo "yes" >&6; }
3619 SET_MAKE=
3620 else
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622 $as_echo "no" >&6; }
3623 SET_MAKE="MAKE=${MAKE-make}"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_CC+:} false; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3653 done
3654 done
3655 IFS=$as_save_IFS
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3693 done
3694 done
3695 IFS=$as_save_IFS
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3719 else
3720 CC="$ac_cv_prog_CC"
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3793 IFS=$as_save_IFS
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_CC+:} false; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$CC" && break
3862 done
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3889 done
3890 done
3891 IFS=$as_save_IFS
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$ac_ct_CC" && break
3906 done
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error $? "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details" "$LINENO" 5; }
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3949 rm -f conftest.er1 conftest.err
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3958 main ()
3962 return 0;
3964 _ACEOF
3965 ac_clean_files_save=$ac_clean_files
3966 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3967 # Try to create an executable without -o first, disregard a.out.
3968 # It will help us diagnose broken compilers, and finding out an intuition
3969 # of exeext.
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3971 $as_echo_n "checking whether the C compiler works... " >&6; }
3972 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3974 # The possible output files:
3975 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3977 ac_rmfiles=
3978 for ac_file in $ac_files
3980 case $ac_file in
3981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3982 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3983 esac
3984 done
3985 rm -f $ac_rmfiles
3987 if { { ac_try="$ac_link_default"
3988 case "(($ac_try" in
3989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3991 esac
3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_link_default") 2>&5
3995 ac_status=$?
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; then :
3998 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3999 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4000 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4001 # so that the user can short-circuit this test for compilers unknown to
4002 # Autoconf.
4003 for ac_file in $ac_files ''
4005 test -f "$ac_file" || continue
4006 case $ac_file in
4007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4009 [ab].out )
4010 # We found the default executable, but exeext='' is most
4011 # certainly right.
4012 break;;
4013 *.* )
4014 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4015 then :; else
4016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4018 # We set ac_cv_exeext here because the later test for it is not
4019 # safe: cross compilers may not add the suffix if given an `-o'
4020 # argument, so we may need to know it at that point already.
4021 # Even if this section looks crufty: it has the advantage of
4022 # actually working.
4023 break;;
4025 break;;
4026 esac
4027 done
4028 test "$ac_cv_exeext" = no && ac_cv_exeext=
4030 else
4031 ac_file=''
4033 if test -z "$ac_file"; then :
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4036 $as_echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.$ac_ext >&5
4039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4041 as_fn_error 77 "C compiler cannot create executables
4042 See \`config.log' for more details" "$LINENO" 5; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4045 $as_echo "yes" >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4048 $as_echo_n "checking for C compiler default output file name... " >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4050 $as_echo "$ac_file" >&6; }
4051 ac_exeext=$ac_cv_exeext
4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4054 ac_clean_files=$ac_clean_files_save
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4056 $as_echo_n "checking for suffix of executables... " >&6; }
4057 if { { ac_try="$ac_link"
4058 case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061 esac
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_link") 2>&5
4065 ac_status=$?
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; then :
4068 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4070 # work properly (i.e., refer to `conftest.exe'), while it won't with
4071 # `rm'.
4072 for ac_file in conftest.exe conftest conftest.*; do
4073 test -f "$ac_file" || continue
4074 case $ac_file in
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4077 break;;
4078 * ) break;;
4079 esac
4080 done
4081 else
4082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4084 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4085 See \`config.log' for more details" "$LINENO" 5; }
4087 rm -f conftest conftest$ac_cv_exeext
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4089 $as_echo "$ac_cv_exeext" >&6; }
4091 rm -f conftest.$ac_ext
4092 EXEEXT=$ac_cv_exeext
4093 ac_exeext=$EXEEXT
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096 #include <stdio.h>
4098 main ()
4100 FILE *f = fopen ("conftest.out", "w");
4101 return ferror (f) || fclose (f) != 0;
4104 return 0;
4106 _ACEOF
4107 ac_clean_files="$ac_clean_files conftest.out"
4108 # Check that the compiler produces executables we can run. If not, either
4109 # the compiler is broken, or we cross compile.
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4111 $as_echo_n "checking whether we are cross compiling... " >&6; }
4112 if test "$cross_compiling" != yes; then
4113 { { ac_try="$ac_link"
4114 case "(($ac_try" in
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4117 esac
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_link") 2>&5
4121 ac_status=$?
4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4123 test $ac_status = 0; }
4124 if { ac_try='./conftest$ac_cv_exeext'
4125 { { case "(($ac_try" in
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4128 esac
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131 (eval "$ac_try") 2>&5
4132 ac_status=$?
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; }; then
4135 cross_compiling=no
4136 else
4137 if test "$cross_compiling" = maybe; then
4138 cross_compiling=yes
4139 else
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error $? "cannot run C compiled programs.
4143 If you meant to cross compile, use \`--host'.
4144 See \`config.log' for more details" "$LINENO" 5; }
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4149 $as_echo "$cross_compiling" >&6; }
4151 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4152 ac_clean_files=$ac_clean_files_save
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4154 $as_echo_n "checking for suffix of object files... " >&6; }
4155 if ${ac_cv_objext+:} false; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4162 main ()
4166 return 0;
4168 _ACEOF
4169 rm -f conftest.o conftest.obj
4170 if { { ac_try="$ac_compile"
4171 case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_compile") 2>&5
4178 ac_status=$?
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; then :
4181 for ac_file in conftest.o conftest.obj conftest.*; do
4182 test -f "$ac_file" || continue;
4183 case $ac_file in
4184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4185 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4186 break;;
4187 esac
4188 done
4189 else
4190 $as_echo "$as_me: failed program was:" >&5
4191 sed 's/^/| /' conftest.$ac_ext >&5
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "cannot compute suffix of object files: cannot compile
4196 See \`config.log' for more details" "$LINENO" 5; }
4198 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4201 $as_echo "$ac_cv_objext" >&6; }
4202 OBJEXT=$ac_cv_objext
4203 ac_objext=$OBJEXT
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4205 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4206 if ${ac_cv_c_compiler_gnu+:} false; then :
4207 $as_echo_n "(cached) " >&6
4208 else
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4213 main ()
4215 #ifndef __GNUC__
4216 choke me
4217 #endif
4220 return 0;
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4224 ac_compiler_gnu=yes
4225 else
4226 ac_compiler_gnu=no
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4233 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4234 if test $ac_compiler_gnu = yes; then
4235 GCC=yes
4236 else
4237 GCC=
4239 ac_test_CFLAGS=${CFLAGS+set}
4240 ac_save_CFLAGS=$CFLAGS
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4242 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4243 if ${ac_cv_prog_cc_g+:} false; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_save_c_werror_flag=$ac_c_werror_flag
4247 ac_c_werror_flag=yes
4248 ac_cv_prog_cc_g=no
4249 CFLAGS="-g"
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4254 main ()
4258 return 0;
4260 _ACEOF
4261 if ac_fn_c_try_compile "$LINENO"; then :
4262 ac_cv_prog_cc_g=yes
4263 else
4264 CFLAGS=""
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 :
4278 else
4279 ac_c_werror_flag=$ac_save_c_werror_flag
4280 CFLAGS="-g"
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4285 main ()
4289 return 0;
4291 _ACEOF
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_prog_cc_g=yes
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 ac_c_werror_flag=$ac_save_c_werror_flag
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4303 $as_echo "$ac_cv_prog_cc_g" >&6; }
4304 if test "$ac_test_CFLAGS" = set; then
4305 CFLAGS=$ac_save_CFLAGS
4306 elif test $ac_cv_prog_cc_g = yes; then
4307 if test "$GCC" = yes; then
4308 CFLAGS="-g -O2"
4309 else
4310 CFLAGS="-g"
4312 else
4313 if test "$GCC" = yes; then
4314 CFLAGS="-O2"
4315 else
4316 CFLAGS=
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4320 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4321 if ${ac_cv_prog_cc_c89+:} false; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 ac_cv_prog_cc_c89=no
4325 ac_save_CC=$CC
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4328 #include <stdarg.h>
4329 #include <stdio.h>
4330 struct stat;
4331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4332 struct buf { int x; };
4333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4334 static char *e (p, i)
4335 char **p;
4336 int i;
4338 return p[i];
4340 static char *f (char * (*g) (char **, int), char **p, ...)
4342 char *s;
4343 va_list v;
4344 va_start (v,p);
4345 s = g (p, va_arg (v,int));
4346 va_end (v);
4347 return s;
4350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4351 function prototypes and stuff, but not '\xHH' hex character constants.
4352 These don't provoke an error unfortunately, instead are silently treated
4353 as 'x'. The following induces an error, until -std is added to get
4354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4355 array size at least. It's necessary to write '\x00'==0 to get something
4356 that's true only with -std. */
4357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4360 inside strings and character constants. */
4361 #define FOO(x) 'x'
4362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4364 int test (int i, double x);
4365 struct s1 {int (*f) (int a);};
4366 struct s2 {int (*f) (double a);};
4367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4368 int argc;
4369 char **argv;
4371 main ()
4373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4375 return 0;
4377 _ACEOF
4378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4379 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4381 CC="$ac_save_CC $ac_arg"
4382 if ac_fn_c_try_compile "$LINENO"; then :
4383 ac_cv_prog_cc_c89=$ac_arg
4385 rm -f core conftest.err conftest.$ac_objext
4386 test "x$ac_cv_prog_cc_c89" != "xno" && break
4387 done
4388 rm -f conftest.$ac_ext
4389 CC=$ac_save_CC
4392 # AC_CACHE_VAL
4393 case "x$ac_cv_prog_cc_c89" in
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4396 $as_echo "none needed" >&6; } ;;
4397 xno)
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4399 $as_echo "unsupported" >&6; } ;;
4401 CC="$CC $ac_cv_prog_cc_c89"
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4403 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4404 esac
4405 if test "x$ac_cv_prog_cc_c89" != xno; then :
4409 ac_ext=c
4410 ac_cpp='$CPP $CPPFLAGS'
4411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 ac_ext=cpp
4416 ac_cpp='$CXXCPP $CPPFLAGS'
4417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4420 if test -z "$CXX"; then
4421 if test -n "$CCC"; then
4422 CXX=$CCC
4423 else
4424 if test -n "$ac_tool_prefix"; then
4425 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_CXX+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 if test -n "$CXX"; then
4435 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4450 IFS=$as_save_IFS
4454 CXX=$ac_cv_prog_CXX
4455 if test -n "$CXX"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4457 $as_echo "$CXX" >&6; }
4458 else
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4464 test -n "$CXX" && break
4465 done
4467 if test -z "$CXX"; then
4468 ac_ct_CXX=$CXX
4469 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4471 # Extract the first word of "$ac_prog", so it can be a program name with args.
4472 set dummy $ac_prog; ac_word=$2
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4474 $as_echo_n "checking for $ac_word... " >&6; }
4475 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 if test -n "$ac_ct_CXX"; then
4479 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4480 else
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 ac_cv_prog_ac_ct_CXX="$ac_prog"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4498 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4499 if test -n "$ac_ct_CXX"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4501 $as_echo "$ac_ct_CXX" >&6; }
4502 else
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4504 $as_echo "no" >&6; }
4508 test -n "$ac_ct_CXX" && break
4509 done
4511 if test "x$ac_ct_CXX" = x; then
4512 CXX="g++"
4513 else
4514 case $cross_compiling:$ac_tool_warned in
4515 yes:)
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned=yes ;;
4519 esac
4520 CXX=$ac_ct_CXX
4526 # Provide some information about the compiler.
4527 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4528 set X $ac_compile
4529 ac_compiler=$2
4530 for ac_option in --version -v -V -qversion; do
4531 { { ac_try="$ac_compiler $ac_option >&5"
4532 case "(($ac_try" in
4533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4534 *) ac_try_echo=$ac_try;;
4535 esac
4536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4537 $as_echo "$ac_try_echo"; } >&5
4538 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4539 ac_status=$?
4540 if test -s conftest.err; then
4541 sed '10a\
4542 ... rest of stderr output deleted ...
4543 10q' conftest.err >conftest.er1
4544 cat conftest.er1 >&5
4546 rm -f conftest.er1 conftest.err
4547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4548 test $ac_status = 0; }
4549 done
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4552 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4553 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4562 #ifndef __GNUC__
4563 choke me
4564 #endif
4567 return 0;
4569 _ACEOF
4570 if ac_fn_cxx_try_compile "$LINENO"; then :
4571 ac_compiler_gnu=yes
4572 else
4573 ac_compiler_gnu=no
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4580 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4581 if test $ac_compiler_gnu = yes; then
4582 GXX=yes
4583 else
4584 GXX=
4586 ac_test_CXXFLAGS=${CXXFLAGS+set}
4587 ac_save_CXXFLAGS=$CXXFLAGS
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4589 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4590 if ${ac_cv_prog_cxx_g+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4594 ac_cxx_werror_flag=yes
4595 ac_cv_prog_cxx_g=no
4596 CXXFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_cxx_try_compile "$LINENO"; then :
4609 ac_cv_prog_cxx_g=yes
4610 else
4611 CXXFLAGS=""
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 :
4625 else
4626 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4627 CXXFLAGS="-g"
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4632 main ()
4636 return 0;
4638 _ACEOF
4639 if ac_fn_cxx_try_compile "$LINENO"; then :
4640 ac_cv_prog_cxx_g=yes
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4650 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4651 if test "$ac_test_CXXFLAGS" = set; then
4652 CXXFLAGS=$ac_save_CXXFLAGS
4653 elif test $ac_cv_prog_cxx_g = yes; then
4654 if test "$GXX" = yes; then
4655 CXXFLAGS="-g -O2"
4656 else
4657 CXXFLAGS="-g"
4659 else
4660 if test "$GXX" = yes; then
4661 CXXFLAGS="-O2"
4662 else
4663 CXXFLAGS=
4666 ac_ext=c
4667 ac_cpp='$CPP $CPPFLAGS'
4668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4672 if test -n "$ac_tool_prefix"; then
4673 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4674 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if ${ac_cv_prog_CPPBIN+:} false; then :
4678 $as_echo_n "(cached) " >&6
4679 else
4680 if test -n "$CPPBIN"; then
4681 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4682 else
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684 for as_dir in $PATH
4686 IFS=$as_save_IFS
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 break 2
4694 done
4695 done
4696 IFS=$as_save_IFS
4700 CPPBIN=$ac_cv_prog_CPPBIN
4701 if test -n "$CPPBIN"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4703 $as_echo "$CPPBIN" >&6; }
4704 else
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4711 if test -z "$ac_cv_prog_CPPBIN"; then
4712 ac_ct_CPPBIN=$CPPBIN
4713 # Extract the first word of "cpp", so it can be a program name with args.
4714 set dummy cpp; ac_word=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4718 $as_echo_n "(cached) " >&6
4719 else
4720 if test -n "$ac_ct_CPPBIN"; then
4721 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4722 else
4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 for as_dir in $PATH
4726 IFS=$as_save_IFS
4727 test -z "$as_dir" && as_dir=.
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_ac_ct_CPPBIN="cpp"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 break 2
4734 done
4735 done
4736 IFS=$as_save_IFS
4740 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4741 if test -n "$ac_ct_CPPBIN"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4743 $as_echo "$ac_ct_CPPBIN" >&6; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4749 if test "x$ac_ct_CPPBIN" = x; then
4750 CPPBIN="cpp"
4751 else
4752 case $cross_compiling:$ac_tool_warned in
4753 yes:)
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756 ac_tool_warned=yes ;;
4757 esac
4758 CPPBIN=$ac_ct_CPPBIN
4760 else
4761 CPPBIN="$ac_cv_prog_CPPBIN"
4765 cat >>confdefs.h <<_ACEOF
4766 #define EXEEXT "$ac_exeext"
4767 _ACEOF
4769 if test -n "$ac_tool_prefix"; then
4770 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4771 set dummy ${ac_tool_prefix}ld; ac_word=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_LD+:} false; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 if test -n "$LD"; then
4778 ac_cv_prog_LD="$LD" # Let the user override the test.
4779 else
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 for as_dir in $PATH
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_LD="${ac_tool_prefix}ld"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4791 done
4792 done
4793 IFS=$as_save_IFS
4797 LD=$ac_cv_prog_LD
4798 if test -n "$LD"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4800 $as_echo "$LD" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4808 if test -z "$ac_cv_prog_LD"; then
4809 ac_ct_LD=$LD
4810 # Extract the first word of "ld", so it can be a program name with args.
4811 set dummy ld; ac_word=$2
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 $as_echo_n "checking for $ac_word... " >&6; }
4814 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4815 $as_echo_n "(cached) " >&6
4816 else
4817 if test -n "$ac_ct_LD"; then
4818 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4819 else
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 for as_dir in $PATH
4823 IFS=$as_save_IFS
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_prog_ac_ct_LD="ld"
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 break 2
4831 done
4832 done
4833 IFS=$as_save_IFS
4837 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4838 if test -n "$ac_ct_LD"; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4840 $as_echo "$ac_ct_LD" >&6; }
4841 else
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4843 $as_echo "no" >&6; }
4846 if test "x$ac_ct_LD" = x; then
4847 LD=""
4848 else
4849 case $cross_compiling:$ac_tool_warned in
4850 yes:)
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4853 ac_tool_warned=yes ;;
4854 esac
4855 LD=$ac_ct_LD
4857 else
4858 LD="$ac_cv_prog_LD"
4862 case $host in
4863 *-darwin*)
4864 if test "x$enable_win64" = "xyes"
4865 then
4866 CC="$CC -m64"
4867 CXX="$CXX -m64"
4868 host_cpu="x86_64"
4869 notice_platform="64-bit "
4870 TARGETFLAGS="-m64"
4872 else
4873 CC="$CC -m32"
4874 CXX="$CXX -m32"
4875 host_cpu="i386"
4876 notice_platform="32-bit "
4877 TARGETFLAGS="-m32"
4879 enable_win16=${enable_win16:-yes}
4881 with_fontconfig=${with_fontconfig:-no}
4883 x86_64*|amd64*)
4884 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4885 then
4886 CC="$CC -m32"
4887 CXX="$CXX -m32"
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4889 $as_echo_n "checking whether $CC works... " >&6; }
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4895 main ()
4899 return 0;
4901 _ACEOF
4902 if ac_fn_c_try_link "$LINENO"; then :
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4910 rm -f core conftest.err conftest.$ac_objext \
4911 conftest$ac_exeext conftest.$ac_ext
4912 host_cpu="i386"
4913 notice_platform="32-bit "
4914 TARGETFLAGS="-m32"
4916 enable_win16=${enable_win16:-yes}
4917 else
4918 if test "x${GCC}" = "xyes"
4919 then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4921 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 #include <stdarg.h>
4926 main ()
4928 void func(__builtin_ms_va_list *args);
4930 return 0;
4932 _ACEOF
4933 if ac_fn_c_try_compile "$LINENO"; then :
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4936 else
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943 host_cpu="x86_64"
4944 TARGETFLAGS="-m64"
4948 arm*)
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4950 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4953 int ac_test(int i) { return i; }
4955 main ()
4957 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4959 return 0;
4961 _ACEOF
4962 if ac_fn_c_try_link "$LINENO"; then :
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4964 $as_echo "yes" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4968 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4970 rm -f core conftest.err conftest.$ac_objext \
4971 conftest$ac_exeext conftest.$ac_ext
4972 CFLAGS="$CFLAGS -marm"
4973 TARGETFLAGS="-marm"
4976 *-mingw32*|*-cygwin*)
4977 enable_win16=${enable_win16:-no}
4978 CFLAGS="$CFLAGS -D_WIN32"
4980 i[3456789]86*)
4981 enable_win16=${enable_win16:-yes}
4983 esac
4985 enable_win16=${enable_win16:-no}
4986 enable_win64=${enable_win64:-no}
4988 enable_winetest=${enable_winetest:-$enable_tests}
4990 if test -n "$with_wine64"
4991 then
4992 if test "x$enable_win64" = "xyes"
4993 then
4994 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4995 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4997 enable_fonts=${enable_fonts:-no}
4998 enable_server=${enable_server:-no}
4999 elif test "x$enable_win64" = "xyes"
5000 then
5001 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5005 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5006 if ${wine_cv_toolsdir+:} false; then :
5007 $as_echo_n "(cached) " >&6
5008 else
5009 wine_cv_toolsdir="$with_wine_tools"
5010 if test -z "$with_wine_tools"; then
5011 if test "$cross_compiling" = "yes"; then
5012 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5013 elif test -n "$with_wine64"; then
5014 wine_cv_toolsdir="$with_wine64"
5017 if test -z "$wine_cv_toolsdir"; then
5018 wine_makedep=tools/makedep
5019 wine_cv_toolsdir="\$(top_builddir)"
5020 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5021 wine_makedep=$wine_cv_toolsdir/tools/makedep
5022 case "$wine_cv_toolsdir" in
5023 /*) ;;
5024 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5025 esac
5026 enable_tools=${enable_tools:-no}
5027 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5028 else
5029 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5033 $as_echo "$wine_cv_toolsdir" >&6; }
5034 TOOLSDIR=$wine_cv_toolsdir
5036 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5037 then
5038 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5042 for ac_prog in flex
5044 # Extract the first word of "$ac_prog", so it can be a program name with args.
5045 set dummy $ac_prog; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_FLEX+:} false; then :
5049 $as_echo_n "(cached) " >&6
5050 else
5051 if test -n "$FLEX"; then
5052 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5053 else
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH
5057 IFS=$as_save_IFS
5058 test -z "$as_dir" && as_dir=.
5059 for ac_exec_ext in '' $ac_executable_extensions; do
5060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061 ac_cv_prog_FLEX="$ac_prog"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 break 2
5065 done
5066 done
5067 IFS=$as_save_IFS
5071 FLEX=$ac_cv_prog_FLEX
5072 if test -n "$FLEX"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5074 $as_echo "$FLEX" >&6; }
5075 else
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5081 test -n "$FLEX" && break
5082 done
5083 test -n "$FLEX" || FLEX="none"
5085 if test "$FLEX" = "none"
5086 then
5087 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5090 $as_echo_n "checking whether flex is recent enough... " >&6; }
5091 cat >conftest.l <<EOF
5092 %top{
5093 #include "prediluvian.h"
5097 if $FLEX -t conftest.l >/dev/null 2>&5
5098 then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5100 $as_echo "yes" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5104 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5107 for ac_prog in bison
5109 # Extract the first word of "$ac_prog", so it can be a program name with args.
5110 set dummy $ac_prog; ac_word=$2
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5112 $as_echo_n "checking for $ac_word... " >&6; }
5113 if ${ac_cv_prog_BISON+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 if test -n "$BISON"; then
5117 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5118 else
5119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 for as_dir in $PATH
5122 IFS=$as_save_IFS
5123 test -z "$as_dir" && as_dir=.
5124 for ac_exec_ext in '' $ac_executable_extensions; do
5125 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5126 ac_cv_prog_BISON="$ac_prog"
5127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 break 2
5130 done
5131 done
5132 IFS=$as_save_IFS
5136 BISON=$ac_cv_prog_BISON
5137 if test -n "$BISON"; then
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5139 $as_echo "$BISON" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5146 test -n "$BISON" && break
5147 done
5148 test -n "$BISON" || BISON="none"
5150 if test "$BISON" = "none"
5151 then
5152 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5155 if test -n "$ac_tool_prefix"; then
5156 for ac_prog in ar gar
5158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if ${ac_cv_prog_AR+:} false; then :
5163 $as_echo_n "(cached) " >&6
5164 else
5165 if test -n "$AR"; then
5166 ac_cv_prog_AR="$AR" # Let the user override the test.
5167 else
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 for as_dir in $PATH
5171 IFS=$as_save_IFS
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 break 2
5179 done
5180 done
5181 IFS=$as_save_IFS
5185 AR=$ac_cv_prog_AR
5186 if test -n "$AR"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5188 $as_echo "$AR" >&6; }
5189 else
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5195 test -n "$AR" && break
5196 done
5198 if test -z "$AR"; then
5199 ac_ct_AR=$AR
5200 for ac_prog in ar gar
5202 # Extract the first word of "$ac_prog", so it can be a program name with args.
5203 set dummy $ac_prog; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 if test -n "$ac_ct_AR"; then
5210 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_ac_ct_AR="$ac_prog"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5230 if test -n "$ac_ct_AR"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5232 $as_echo "$ac_ct_AR" >&6; }
5233 else
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5239 test -n "$ac_ct_AR" && break
5240 done
5242 if test "x$ac_ct_AR" = x; then
5243 AR="ar"
5244 else
5245 case $cross_compiling:$ac_tool_warned in
5246 yes:)
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5249 ac_tool_warned=yes ;;
5250 esac
5251 AR=$ac_ct_AR
5255 if test -n "$ac_tool_prefix"; then
5256 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5257 set dummy ${ac_tool_prefix}strip; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_STRIP+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$STRIP"; then
5264 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 STRIP=$ac_cv_prog_STRIP
5284 if test -n "$STRIP"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5286 $as_echo "$STRIP" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5294 if test -z "$ac_cv_prog_STRIP"; then
5295 ac_ct_STRIP=$STRIP
5296 # Extract the first word of "strip", so it can be a program name with args.
5297 set dummy strip; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$ac_ct_STRIP"; then
5304 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_ac_ct_STRIP="strip"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5324 if test -n "$ac_ct_STRIP"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5326 $as_echo "$ac_ct_STRIP" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5332 if test "x$ac_ct_STRIP" = x; then
5333 STRIP="strip"
5334 else
5335 case $cross_compiling:$ac_tool_warned in
5336 yes:)
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5339 ac_tool_warned=yes ;;
5340 esac
5341 STRIP=$ac_ct_STRIP
5343 else
5344 STRIP="$ac_cv_prog_STRIP"
5347 ARFLAGS=rc
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_RANLIB+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 if test -n "$RANLIB"; then
5358 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5359 else
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 break 2
5371 done
5372 done
5373 IFS=$as_save_IFS
5377 RANLIB=$ac_cv_prog_RANLIB
5378 if test -n "$RANLIB"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5380 $as_echo "$RANLIB" >&6; }
5381 else
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5388 if test -z "$ac_cv_prog_RANLIB"; then
5389 ac_ct_RANLIB=$RANLIB
5390 # Extract the first word of "ranlib", so it can be a program name with args.
5391 set dummy ranlib; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$ac_ct_RANLIB"; then
5398 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_RANLIB="ranlib"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5411 done
5412 done
5413 IFS=$as_save_IFS
5417 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5418 if test -n "$ac_ct_RANLIB"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5420 $as_echo "$ac_ct_RANLIB" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5426 if test "x$ac_ct_RANLIB" = x; then
5427 RANLIB=":"
5428 else
5429 case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 RANLIB=$ac_ct_RANLIB
5437 else
5438 RANLIB="$ac_cv_prog_RANLIB"
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5442 $as_echo_n "checking whether ln -s works... " >&6; }
5443 LN_S=$as_ln_s
5444 if test "$LN_S" = "ln -s"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5446 $as_echo "yes" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5449 $as_echo "no, using $LN_S" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5453 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5454 if ${ac_cv_path_GREP+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -z "$GREP"; then
5458 ac_path_GREP_found=false
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_prog in grep ggrep; do
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5468 as_fn_executable_p "$ac_path_GREP" || continue
5469 # Check for GNU ac_path_GREP and select it if it is found.
5470 # Check for GNU $ac_path_GREP
5471 case `"$ac_path_GREP" --version 2>&1` in
5472 *GNU*)
5473 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5475 ac_count=0
5476 $as_echo_n 0123456789 >"conftest.in"
5477 while :
5479 cat "conftest.in" "conftest.in" >"conftest.tmp"
5480 mv "conftest.tmp" "conftest.in"
5481 cp "conftest.in" "conftest.nl"
5482 $as_echo 'GREP' >> "conftest.nl"
5483 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5485 as_fn_arith $ac_count + 1 && ac_count=$as_val
5486 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5488 ac_cv_path_GREP="$ac_path_GREP"
5489 ac_path_GREP_max=$ac_count
5491 # 10*(2^10) chars as input seems more than enough
5492 test $ac_count -gt 10 && break
5493 done
5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5495 esac
5497 $ac_path_GREP_found && break 3
5498 done
5499 done
5500 done
5501 IFS=$as_save_IFS
5502 if test -z "$ac_cv_path_GREP"; then
5503 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5505 else
5506 ac_cv_path_GREP=$GREP
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5511 $as_echo "$ac_cv_path_GREP" >&6; }
5512 GREP="$ac_cv_path_GREP"
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5516 $as_echo_n "checking for egrep... " >&6; }
5517 if ${ac_cv_path_EGREP+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5521 then ac_cv_path_EGREP="$GREP -E"
5522 else
5523 if test -z "$EGREP"; then
5524 ac_path_EGREP_found=false
5525 # Loop through the user's path and test for each of PROGNAME-LIST
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_prog in egrep; do
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5534 as_fn_executable_p "$ac_path_EGREP" || continue
5535 # Check for GNU ac_path_EGREP and select it if it is found.
5536 # Check for GNU $ac_path_EGREP
5537 case `"$ac_path_EGREP" --version 2>&1` in
5538 *GNU*)
5539 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5541 ac_count=0
5542 $as_echo_n 0123456789 >"conftest.in"
5543 while :
5545 cat "conftest.in" "conftest.in" >"conftest.tmp"
5546 mv "conftest.tmp" "conftest.in"
5547 cp "conftest.in" "conftest.nl"
5548 $as_echo 'EGREP' >> "conftest.nl"
5549 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5551 as_fn_arith $ac_count + 1 && ac_count=$as_val
5552 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5553 # Best one so far, save it but keep looking for a better one
5554 ac_cv_path_EGREP="$ac_path_EGREP"
5555 ac_path_EGREP_max=$ac_count
5557 # 10*(2^10) chars as input seems more than enough
5558 test $ac_count -gt 10 && break
5559 done
5560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5561 esac
5563 $ac_path_EGREP_found && break 3
5564 done
5565 done
5566 done
5567 IFS=$as_save_IFS
5568 if test -z "$ac_cv_path_EGREP"; then
5569 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5571 else
5572 ac_cv_path_EGREP=$EGREP
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5578 $as_echo "$ac_cv_path_EGREP" >&6; }
5579 EGREP="$ac_cv_path_EGREP"
5582 # Extract the first word of "ldconfig", so it can be a program name with args.
5583 set dummy ldconfig; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_path_LDCONFIG+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 case $LDCONFIG in
5590 [\\/]* | ?:[\\/]*)
5591 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in /sbin /usr/sbin $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5609 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5611 esac
5613 LDCONFIG=$ac_cv_path_LDCONFIG
5614 if test -n "$LDCONFIG"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5616 $as_echo "$LDCONFIG" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 for ac_prog in msgfmt
5625 # Extract the first word of "$ac_prog", so it can be a program name with args.
5626 set dummy $ac_prog; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_prog_MSGFMT+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 if test -n "$MSGFMT"; then
5633 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_MSGFMT="$ac_prog"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 MSGFMT=$ac_cv_prog_MSGFMT
5653 if test -n "$MSGFMT"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5655 $as_echo "$MSGFMT" >&6; }
5656 else
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5662 test -n "$MSGFMT" && break
5663 done
5664 test -n "$MSGFMT" || MSGFMT="false"
5666 if ${ac_tool_prefix+:} false; then :
5667 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 if test -n "$PKG_CONFIG"; then
5675 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5680 IFS=$as_save_IFS
5681 test -z "$as_dir" && as_dir=.
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 break 2
5688 done
5689 done
5690 IFS=$as_save_IFS
5694 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5695 if test -n "$PKG_CONFIG"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5697 $as_echo "$PKG_CONFIG" >&6; }
5698 else
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5705 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5706 if test "x$cross_compiling" = xyes; then :
5708 else
5709 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5710 # Extract the first word of "pkg-config", so it can be a program name with args.
5711 set dummy pkg-config; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 if test -n "$PKG_CONFIG"; then
5718 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5719 else
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 for as_dir in $PATH
5723 IFS=$as_save_IFS
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_PKG_CONFIG="pkg-config"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 break 2
5731 done
5732 done
5733 IFS=$as_save_IFS
5737 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5738 if test -n "$PKG_CONFIG"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5740 $as_echo "$PKG_CONFIG" >&6; }
5741 else
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5748 else
5749 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5752 if test "x$enable_maintainer_mode" != "xyes"
5753 then
5754 FONTFORGE=""
5755 RSVG=""
5756 CONVERT=""
5757 ICOTOOL=""
5758 else
5759 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5760 for ac_prog in fontforge
5762 # Extract the first word of "$ac_prog", so it can be a program name with args.
5763 set dummy $ac_prog; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_FONTFORGE+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 if test -n "$FONTFORGE"; then
5770 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5775 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_FONTFORGE="$ac_prog"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 FONTFORGE=$ac_cv_prog_FONTFORGE
5790 if test -n "$FONTFORGE"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5792 $as_echo "$FONTFORGE" >&6; }
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5799 test -n "$FONTFORGE" && break
5800 done
5801 test -n "$FONTFORGE" || FONTFORGE="false"
5803 for ac_prog in rsvg-convert rsvg
5805 # Extract the first word of "$ac_prog", so it can be a program name with args.
5806 set dummy $ac_prog; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_RSVG+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$RSVG"; then
5813 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_RSVG="$ac_prog"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 RSVG=$ac_cv_prog_RSVG
5833 if test -n "$RSVG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5835 $as_echo "$RSVG" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5842 test -n "$RSVG" && break
5843 done
5844 test -n "$RSVG" || RSVG="false"
5846 for ac_prog in convert
5848 # Extract the first word of "$ac_prog", so it can be a program name with args.
5849 set dummy $ac_prog; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_prog_CONVERT+:} false; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 if test -n "$CONVERT"; then
5856 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5861 IFS=$as_save_IFS
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_CONVERT="$ac_prog"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 break 2
5869 done
5870 done
5871 IFS=$as_save_IFS
5875 CONVERT=$ac_cv_prog_CONVERT
5876 if test -n "$CONVERT"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5878 $as_echo "$CONVERT" >&6; }
5879 else
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5885 test -n "$CONVERT" && break
5886 done
5887 test -n "$CONVERT" || CONVERT="false"
5889 for ac_prog in icotool
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy $ac_prog; ac_word=$2
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894 $as_echo_n "checking for $ac_word... " >&6; }
5895 if ${ac_cv_prog_ICOTOOL+:} false; then :
5896 $as_echo_n "(cached) " >&6
5897 else
5898 if test -n "$ICOTOOL"; then
5899 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5900 else
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_ICOTOOL="$ac_prog"
5909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5918 ICOTOOL=$ac_cv_prog_ICOTOOL
5919 if test -n "$ICOTOOL"; then
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5921 $as_echo "$ICOTOOL" >&6; }
5922 else
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924 $as_echo "no" >&6; }
5928 test -n "$ICOTOOL" && break
5929 done
5930 test -n "$ICOTOOL" || ICOTOOL="false"
5932 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5933 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5935 if test "$CONVERT" = false
5936 then
5937 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5940 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5941 convert_version=`convert --version | head -n1`
5942 if test "x$convert_version" != "x"
5943 then
5944 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5945 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5946 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5947 then
5948 CONVERT=false
5951 if test "$CONVERT" = false
5952 then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5954 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5955 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5958 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5962 if test "$ICOTOOL" = false
5963 then
5964 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5965 else
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5967 $as_echo_n "checking for recent enough icotool... " >&6; }
5968 icotool_version=`icotool --version | head -n1`
5969 if test "x$icotool_version" != "x"
5970 then
5971 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5972 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5973 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5974 then
5975 ICOTOOL=false
5976 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5979 if test "$ICOTOOL" = false
5980 then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5982 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5983 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5986 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5990 with_gettext=yes
5991 with_gettextpo=yes
5992 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5995 test "x$with_gettext" != xno || MSGFMT=false
5996 if test "$MSGFMT" != "false"
5997 then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5999 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6000 cat >conftest.po <<EOF
6001 # comment
6002 msgctxt "ctxt"
6003 msgid "id"
6004 msgstr "str"
6006 if $MSGFMT -o /dev/null conftest.po 2>&5
6007 then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6009 $as_echo "yes" >&6; }
6010 else
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6013 MSGFMT=false
6016 if test "$MSGFMT" = false; then :
6017 case "x$with_gettext" in
6018 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6019 xno) ;;
6020 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6021 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6022 esac
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6027 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6028 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6029 $as_echo_n "(cached) " >&6
6030 else
6031 ac_check_lib_save_LIBS=$LIBS
6032 LIBS="-li386 $LIBS"
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6036 /* Override any GCC internal prototype to avoid an error.
6037 Use char because int might match the return type of a GCC
6038 builtin and then its argument prototype would still apply. */
6039 #ifdef __cplusplus
6040 extern "C"
6041 #endif
6042 char i386_set_ldt ();
6044 main ()
6046 return i386_set_ldt ();
6048 return 0;
6050 _ACEOF
6051 if ac_fn_c_try_link "$LINENO"; then :
6052 ac_cv_lib_i386_i386_set_ldt=yes
6053 else
6054 ac_cv_lib_i386_i386_set_ldt=no
6056 rm -f core conftest.err conftest.$ac_objext \
6057 conftest$ac_exeext conftest.$ac_ext
6058 LIBS=$ac_check_lib_save_LIBS
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6061 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6062 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6063 cat >>confdefs.h <<_ACEOF
6064 #define HAVE_LIBI386 1
6065 _ACEOF
6067 LIBS="-li386 $LIBS"
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6072 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6073 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 ac_check_lib_save_LIBS=$LIBS
6077 LIBS="-lossaudio $LIBS"
6078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6081 /* Override any GCC internal prototype to avoid an error.
6082 Use char because int might match the return type of a GCC
6083 builtin and then its argument prototype would still apply. */
6084 #ifdef __cplusplus
6085 extern "C"
6086 #endif
6087 char _oss_ioctl ();
6089 main ()
6091 return _oss_ioctl ();
6093 return 0;
6095 _ACEOF
6096 if ac_fn_c_try_link "$LINENO"; then :
6097 ac_cv_lib_ossaudio__oss_ioctl=yes
6098 else
6099 ac_cv_lib_ossaudio__oss_ioctl=no
6101 rm -f core conftest.err conftest.$ac_objext \
6102 conftest$ac_exeext conftest.$ac_ext
6103 LIBS=$ac_check_lib_save_LIBS
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6106 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6107 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6108 cat >>confdefs.h <<_ACEOF
6109 #define HAVE_LIBOSSAUDIO 1
6110 _ACEOF
6112 LIBS="-lossaudio $LIBS"
6117 OPENGL_LIBS=""
6121 # Check whether --enable-largefile was given.
6122 if test "${enable_largefile+set}" = set; then :
6123 enableval=$enable_largefile;
6126 if test "$enable_largefile" != no; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6129 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6130 if ${ac_cv_sys_largefile_CC+:} false; then :
6131 $as_echo_n "(cached) " >&6
6132 else
6133 ac_cv_sys_largefile_CC=no
6134 if test "$GCC" != yes; then
6135 ac_save_CC=$CC
6136 while :; do
6137 # IRIX 6.2 and later do not support large files by default,
6138 # so use the C compiler's -n32 option if that helps.
6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141 #include <sys/types.h>
6142 /* Check that off_t can represent 2**63 - 1 correctly.
6143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6144 since some C++ compilers masquerading as C compilers
6145 incorrectly reject 9223372036854775807. */
6146 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6148 && LARGE_OFF_T % 2147483647 == 1)
6149 ? 1 : -1];
6151 main ()
6155 return 0;
6157 _ACEOF
6158 if ac_fn_c_try_compile "$LINENO"; then :
6159 break
6161 rm -f core conftest.err conftest.$ac_objext
6162 CC="$CC -n32"
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164 ac_cv_sys_largefile_CC=' -n32'; break
6166 rm -f core conftest.err conftest.$ac_objext
6167 break
6168 done
6169 CC=$ac_save_CC
6170 rm -f conftest.$ac_ext
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6174 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6175 if test "$ac_cv_sys_largefile_CC" != no; then
6176 CC=$CC$ac_cv_sys_largefile_CC
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6180 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6181 if ${ac_cv_sys_file_offset_bits+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 while :; do
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #include <sys/types.h>
6188 /* Check that off_t can represent 2**63 - 1 correctly.
6189 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6190 since some C++ compilers masquerading as C compilers
6191 incorrectly reject 9223372036854775807. */
6192 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6193 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6194 && LARGE_OFF_T % 2147483647 == 1)
6195 ? 1 : -1];
6197 main ()
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_compile "$LINENO"; then :
6205 ac_cv_sys_file_offset_bits=no; break
6207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h. */
6210 #define _FILE_OFFSET_BITS 64
6211 #include <sys/types.h>
6212 /* Check that off_t can represent 2**63 - 1 correctly.
6213 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6214 since some C++ compilers masquerading as C compilers
6215 incorrectly reject 9223372036854775807. */
6216 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6217 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6218 && LARGE_OFF_T % 2147483647 == 1)
6219 ? 1 : -1];
6221 main ()
6225 return 0;
6227 _ACEOF
6228 if ac_fn_c_try_compile "$LINENO"; then :
6229 ac_cv_sys_file_offset_bits=64; break
6231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6232 ac_cv_sys_file_offset_bits=unknown
6233 break
6234 done
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6237 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6238 case $ac_cv_sys_file_offset_bits in #(
6239 no | unknown) ;;
6241 cat >>confdefs.h <<_ACEOF
6242 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6243 _ACEOF
6245 esac
6246 rm -rf conftest*
6247 if test $ac_cv_sys_file_offset_bits = unknown; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6249 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6250 if ${ac_cv_sys_large_files+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 while :; do
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #include <sys/types.h>
6257 /* Check that off_t can represent 2**63 - 1 correctly.
6258 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6259 since some C++ compilers masquerading as C compilers
6260 incorrectly reject 9223372036854775807. */
6261 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6262 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6263 && LARGE_OFF_T % 2147483647 == 1)
6264 ? 1 : -1];
6266 main ()
6270 return 0;
6272 _ACEOF
6273 if ac_fn_c_try_compile "$LINENO"; then :
6274 ac_cv_sys_large_files=no; break
6276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #define _LARGE_FILES 1
6280 #include <sys/types.h>
6281 /* Check that off_t can represent 2**63 - 1 correctly.
6282 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6283 since some C++ compilers masquerading as C compilers
6284 incorrectly reject 9223372036854775807. */
6285 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6286 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6287 && LARGE_OFF_T % 2147483647 == 1)
6288 ? 1 : -1];
6290 main ()
6294 return 0;
6296 _ACEOF
6297 if ac_fn_c_try_compile "$LINENO"; then :
6298 ac_cv_sys_large_files=1; break
6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6301 ac_cv_sys_large_files=unknown
6302 break
6303 done
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6306 $as_echo "$ac_cv_sys_large_files" >&6; }
6307 case $ac_cv_sys_large_files in #(
6308 no | unknown) ;;
6310 cat >>confdefs.h <<_ACEOF
6311 #define _LARGE_FILES $ac_cv_sys_large_files
6312 _ACEOF
6314 esac
6315 rm -rf conftest*
6322 ac_ext=c
6323 ac_cpp='$CPP $CPPFLAGS'
6324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6328 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6329 # On Suns, sometimes $CPP names a directory.
6330 if test -n "$CPP" && test -d "$CPP"; then
6331 CPP=
6333 if test -z "$CPP"; then
6334 if ${ac_cv_prog_CPP+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 # Double quotes because CPP needs to be expanded
6338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6340 ac_preproc_ok=false
6341 for ac_c_preproc_warn_flag in '' yes
6343 # Use a header file that comes with gcc, so configuring glibc
6344 # with a fresh cross-compiler works.
6345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6346 # <limits.h> exists even on freestanding compilers.
6347 # On the NeXT, cc -E runs the code through the compiler's parser,
6348 # not just through cpp. "Syntax error" is here to catch this case.
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #ifdef __STDC__
6352 # include <limits.h>
6353 #else
6354 # include <assert.h>
6355 #endif
6356 Syntax error
6357 _ACEOF
6358 if ac_fn_c_try_cpp "$LINENO"; then :
6360 else
6361 # Broken: fails on valid input.
6362 continue
6364 rm -f conftest.err conftest.i conftest.$ac_ext
6366 # OK, works on sane cases. Now check whether nonexistent headers
6367 # can be detected and how.
6368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6369 /* end confdefs.h. */
6370 #include <ac_nonexistent.h>
6371 _ACEOF
6372 if ac_fn_c_try_cpp "$LINENO"; then :
6373 # Broken: success on invalid input.
6374 continue
6375 else
6376 # Passes both tests.
6377 ac_preproc_ok=:
6378 break
6380 rm -f conftest.err conftest.i conftest.$ac_ext
6382 done
6383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6384 rm -f conftest.i conftest.err conftest.$ac_ext
6385 if $ac_preproc_ok; then :
6386 break
6389 done
6390 ac_cv_prog_CPP=$CPP
6393 CPP=$ac_cv_prog_CPP
6394 else
6395 ac_cv_prog_CPP=$CPP
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6398 $as_echo "$CPP" >&6; }
6399 ac_preproc_ok=false
6400 for ac_c_preproc_warn_flag in '' yes
6402 # Use a header file that comes with gcc, so configuring glibc
6403 # with a fresh cross-compiler works.
6404 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6405 # <limits.h> exists even on freestanding compilers.
6406 # On the NeXT, cc -E runs the code through the compiler's parser,
6407 # not just through cpp. "Syntax error" is here to catch this case.
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6410 #ifdef __STDC__
6411 # include <limits.h>
6412 #else
6413 # include <assert.h>
6414 #endif
6415 Syntax error
6416 _ACEOF
6417 if ac_fn_c_try_cpp "$LINENO"; then :
6419 else
6420 # Broken: fails on valid input.
6421 continue
6423 rm -f conftest.err conftest.i conftest.$ac_ext
6425 # OK, works on sane cases. Now check whether nonexistent headers
6426 # can be detected and how.
6427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6428 /* end confdefs.h. */
6429 #include <ac_nonexistent.h>
6430 _ACEOF
6431 if ac_fn_c_try_cpp "$LINENO"; then :
6432 # Broken: success on invalid input.
6433 continue
6434 else
6435 # Passes both tests.
6436 ac_preproc_ok=:
6437 break
6439 rm -f conftest.err conftest.i conftest.$ac_ext
6441 done
6442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6443 rm -f conftest.i conftest.err conftest.$ac_ext
6444 if $ac_preproc_ok; then :
6446 else
6447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6449 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6450 See \`config.log' for more details" "$LINENO" 5; }
6453 ac_ext=c
6454 ac_cpp='$CPP $CPPFLAGS'
6455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6461 $as_echo_n "checking for ANSI C header files... " >&6; }
6462 if ${ac_cv_header_stdc+:} false; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6467 #include <stdlib.h>
6468 #include <stdarg.h>
6469 #include <string.h>
6470 #include <float.h>
6473 main ()
6477 return 0;
6479 _ACEOF
6480 if ac_fn_c_try_compile "$LINENO"; then :
6481 ac_cv_header_stdc=yes
6482 else
6483 ac_cv_header_stdc=no
6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6487 if test $ac_cv_header_stdc = yes; then
6488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 #include <string.h>
6493 _ACEOF
6494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6495 $EGREP "memchr" >/dev/null 2>&1; then :
6497 else
6498 ac_cv_header_stdc=no
6500 rm -f conftest*
6504 if test $ac_cv_header_stdc = yes; then
6505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h. */
6508 #include <stdlib.h>
6510 _ACEOF
6511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6512 $EGREP "free" >/dev/null 2>&1; then :
6514 else
6515 ac_cv_header_stdc=no
6517 rm -f conftest*
6521 if test $ac_cv_header_stdc = yes; then
6522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6523 if test "$cross_compiling" = yes; then :
6525 else
6526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6527 /* end confdefs.h. */
6528 #include <ctype.h>
6529 #include <stdlib.h>
6530 #if ((' ' & 0x0FF) == 0x020)
6531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6533 #else
6534 # define ISLOWER(c) \
6535 (('a' <= (c) && (c) <= 'i') \
6536 || ('j' <= (c) && (c) <= 'r') \
6537 || ('s' <= (c) && (c) <= 'z'))
6538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6539 #endif
6541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 main ()
6545 int i;
6546 for (i = 0; i < 256; i++)
6547 if (XOR (islower (i), ISLOWER (i))
6548 || toupper (i) != TOUPPER (i))
6549 return 2;
6550 return 0;
6552 _ACEOF
6553 if ac_fn_c_try_run "$LINENO"; then :
6555 else
6556 ac_cv_header_stdc=no
6558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6559 conftest.$ac_objext conftest.beam conftest.$ac_ext
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6565 $as_echo "$ac_cv_header_stdc" >&6; }
6566 if test $ac_cv_header_stdc = yes; then
6568 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6573 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6574 inttypes.h stdint.h unistd.h
6575 do :
6576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6579 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6580 cat >>confdefs.h <<_ACEOF
6581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 _ACEOF
6586 done
6589 for ac_header in \
6590 AL/al.h \
6591 ApplicationServices/ApplicationServices.h \
6592 AudioToolbox/AudioConverter.h \
6593 AudioUnit/AudioUnit.h \
6594 AudioUnit/AudioComponent.h \
6595 CL/cl.h \
6596 Carbon/Carbon.h \
6597 CoreAudio/CoreAudio.h \
6598 CoreServices/CoreServices.h \
6599 DiskArbitration/DiskArbitration.h \
6600 IOKit/IOKitLib.h \
6601 IOKit/hid/IOHIDLib.h \
6602 OpenAL/al.h \
6603 OpenCL/opencl.h \
6604 QuickTime/ImageCompression.h \
6605 Security/Security.h \
6606 alias.h \
6607 alsa/asoundlib.h \
6608 arpa/inet.h \
6609 arpa/nameser.h \
6610 asm/types.h \
6611 asm/user.h \
6612 curses.h \
6613 direct.h \
6614 dirent.h \
6615 dlfcn.h \
6616 elf.h \
6617 float.h \
6618 fnmatch.h \
6619 getopt.h \
6620 gettext-po.h \
6621 grp.h \
6622 gsm.h \
6623 gsm/gsm.h \
6624 ieeefp.h \
6625 inet/mib2.h \
6626 io.h \
6627 kstat.h \
6628 lber.h \
6629 ldap.h \
6630 libproc.h \
6631 link.h \
6632 linux/cdrom.h \
6633 linux/compiler.h \
6634 linux/filter.h \
6635 linux/hdreg.h \
6636 linux/input.h \
6637 linux/ioctl.h \
6638 linux/joystick.h \
6639 linux/major.h \
6640 linux/param.h \
6641 linux/serial.h \
6642 linux/types.h \
6643 linux/ucdrom.h \
6644 lwp.h \
6645 mach-o/nlist.h \
6646 mach-o/loader.h \
6647 mach/mach.h \
6648 mach/machine.h \
6649 machine/cpu.h \
6650 machine/limits.h \
6651 machine/sysarch.h \
6652 mntent.h \
6653 ncurses.h \
6654 netdb.h \
6655 netinet/in.h \
6656 netinet/in_systm.h \
6657 netinet/tcp.h \
6658 netinet/tcp_fsm.h \
6659 pcap/pcap.h \
6660 poll.h \
6661 port.h \
6662 process.h \
6663 pthread.h \
6664 pwd.h \
6665 sched.h \
6666 scsi/scsi.h \
6667 scsi/scsi_ioctl.h \
6668 scsi/sg.h \
6669 stdbool.h \
6670 stdint.h \
6671 stropts.h \
6672 sys/asoundlib.h \
6673 sys/attr.h \
6674 sys/cdio.h \
6675 sys/elf32.h \
6676 sys/epoll.h \
6677 sys/event.h \
6678 sys/exec_elf.h \
6679 sys/filio.h \
6680 sys/inotify.h \
6681 sys/ioctl.h \
6682 sys/ipc.h \
6683 sys/limits.h \
6684 sys/link.h \
6685 sys/mman.h \
6686 sys/modem.h \
6687 sys/msg.h \
6688 sys/mtio.h \
6689 sys/param.h \
6690 sys/poll.h \
6691 sys/prctl.h \
6692 sys/protosw.h \
6693 sys/ptrace.h \
6694 sys/queue.h \
6695 sys/resource.h \
6696 sys/scsiio.h \
6697 sys/shm.h \
6698 sys/signal.h \
6699 sys/socket.h \
6700 sys/socketvar.h \
6701 sys/sockio.h \
6702 sys/statvfs.h \
6703 sys/strtio.h \
6704 sys/syscall.h \
6705 sys/tihdr.h \
6706 sys/time.h \
6707 sys/timeout.h \
6708 sys/times.h \
6709 sys/uio.h \
6710 sys/user.h \
6711 sys/utsname.h \
6712 sys/vm86.h \
6713 sys/vnode.h \
6714 sys/wait.h \
6715 syscall.h \
6716 termios.h \
6717 unistd.h \
6718 utime.h \
6719 valgrind/memcheck.h \
6720 valgrind/valgrind.h \
6721 zlib.h
6723 do :
6724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6727 cat >>confdefs.h <<_ACEOF
6728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6729 _ACEOF
6733 done
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6736 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6737 if ${ac_cv_header_stat_broken+:} false; then :
6738 $as_echo_n "(cached) " >&6
6739 else
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <sys/types.h>
6743 #include <sys/stat.h>
6745 #if defined S_ISBLK && defined S_IFDIR
6746 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6747 #endif
6749 #if defined S_ISBLK && defined S_IFCHR
6750 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6751 #endif
6753 #if defined S_ISLNK && defined S_IFREG
6754 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6755 #endif
6757 #if defined S_ISSOCK && defined S_IFREG
6758 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6759 #endif
6761 _ACEOF
6762 if ac_fn_c_try_compile "$LINENO"; then :
6763 ac_cv_header_stat_broken=no
6764 else
6765 ac_cv_header_stat_broken=yes
6767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6770 $as_echo "$ac_cv_header_stat_broken" >&6; }
6771 if test $ac_cv_header_stat_broken = yes; then
6773 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6779 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6780 do :
6781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6783 #ifdef HAVE_SYS_PARAM_H
6784 # include <sys/param.h>
6785 #endif
6787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6788 cat >>confdefs.h <<_ACEOF
6789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6790 _ACEOF
6794 done
6797 for ac_header in \
6798 netinet/ip.h \
6799 net/if.h \
6800 net/if_arp.h \
6801 net/if_dl.h \
6802 net/if_types.h \
6803 net/route.h \
6804 netinet/if_ether.h \
6805 netinet/if_inarp.h \
6806 netinet/in_pcb.h \
6807 netinet/ip_icmp.h \
6808 netinet/ip_var.h \
6809 netinet/udp.h \
6810 netipx/ipx.h \
6811 sys/un.h \
6813 do :
6814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6815 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6816 #ifdef HAVE_SYS_SOCKET_H
6817 # include <sys/socket.h>
6818 #endif
6819 #ifdef HAVE_SYS_SOCKETVAR_H
6820 # include <sys/socketvar.h>
6821 #endif
6822 #ifdef HAVE_NET_ROUTE_H
6823 # include <net/route.h>
6824 #endif
6825 #ifdef HAVE_NETINET_IN_H
6826 # include <netinet/in.h>
6827 #endif
6828 #ifdef HAVE_NETINET_IN_SYSTM_H
6829 # include <netinet/in_systm.h>
6830 #endif
6831 #ifdef HAVE_NET_IF_H
6832 # include <net/if.h>
6833 #endif
6834 #ifdef HAVE_NETINET_IP_H
6835 # include <netinet/ip.h>
6836 #endif
6838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6839 cat >>confdefs.h <<_ACEOF
6840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6841 _ACEOF
6845 done
6848 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6849 do :
6850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6851 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6852 #ifdef HAVE_ALIAS_H
6853 # include <alias.h>
6854 #endif
6855 #ifdef HAVE_SYS_SOCKET_H
6856 # include <sys/socket.h>
6857 #endif
6858 #ifdef HAVE_SYS_SOCKETVAR_H
6859 # include <sys/socketvar.h>
6860 #endif
6861 #ifdef HAVE_SYS_TIMEOUT_H
6862 # include <sys/timeout.h>
6863 #endif
6864 #ifdef HAVE_NETINET_IN_H
6865 # include <netinet/in.h>
6866 #endif
6867 #ifdef HAVE_NETINET_IN_SYSTM_H
6868 # include <netinet/in_systm.h>
6869 #endif
6870 #ifdef HAVE_NETINET_IP_H
6871 # include <netinet/ip.h>
6872 #endif
6873 #ifdef HAVE_NETINET_IP_VAR_H
6874 # include <netinet/ip_var.h>
6875 #endif
6876 #ifdef HAVE_NETINET_IP_ICMP_H
6877 # include <netinet/ip_icmp.h>
6878 #endif
6879 #ifdef HAVE_NETINET_UDP_H
6880 # include <netinet/udp.h>
6881 #endif
6882 #ifdef HAVE_NETINET_TCP_H
6883 # include <netinet/tcp.h>
6884 #endif
6885 #ifdef HAVE_NETINET_TCP_TIMER_H
6886 #include <netinet/tcp_timer.h>
6887 #endif
6889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6890 cat >>confdefs.h <<_ACEOF
6891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6892 _ACEOF
6896 done
6899 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6900 do :
6901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6903 #ifdef HAVE_ASM_TYPES_H
6904 # include <asm/types.h>
6905 #endif
6906 #ifdef HAVE_SYS_SOCKET_H
6907 # include <sys/socket.h>
6908 #endif
6909 #ifdef HAVE_LINUX_TYPES_H
6910 # include <linux/types.h>
6911 #endif
6913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6914 cat >>confdefs.h <<_ACEOF
6915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6916 _ACEOF
6920 done
6923 for ac_header in mach-o/dyld_images.h
6924 do :
6925 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6926 # include <stdbool.h>
6927 #endif
6928 #ifdef HAVE_STDINT_H
6929 # include <stdint.h>
6930 #endif
6932 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6933 cat >>confdefs.h <<_ACEOF
6934 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6935 _ACEOF
6939 done
6942 for ac_header in resolv.h
6943 do :
6944 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6945 #ifdef HAVE_SYS_SOCKET_H
6946 # include <sys/socket.h>
6947 #endif
6948 #ifdef HAVE_NETINET_IN_H
6949 # include <netinet/in.h>
6950 #endif
6951 #ifdef HAVE_ARPA_NAMESER_H
6952 # include <arpa/nameser.h>
6953 #endif
6955 if test "x$ac_cv_header_resolv_h" = xyes; then :
6956 cat >>confdefs.h <<_ACEOF
6957 #define HAVE_RESOLV_H 1
6958 _ACEOF
6962 done
6965 for ac_header in ifaddrs.h
6966 do :
6967 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6969 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6970 cat >>confdefs.h <<_ACEOF
6971 #define HAVE_IFADDRS_H 1
6972 _ACEOF
6976 done
6979 for ac_header in sys/ucontext.h
6980 do :
6981 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6983 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define HAVE_SYS_UCONTEXT_H 1
6986 _ACEOF
6990 done
6993 for ac_header in sys/thr.h
6994 do :
6995 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6996 #ifdef HAVE_SYS_UCONTEXT_H
6997 #include <sys/ucontext.h>
6998 #endif
7000 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_SYS_THR_H 1
7003 _ACEOF
7007 done
7010 for ac_header in pthread_np.h
7011 do :
7012 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7013 #include <pthread.h>
7014 #endif
7016 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7017 cat >>confdefs.h <<_ACEOF
7018 #define HAVE_PTHREAD_NP_H 1
7019 _ACEOF
7023 done
7026 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7027 do :
7028 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7029 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7030 #include <sys/time.h>
7031 #endif
7032 #include <sys/types.h>
7033 #ifdef HAVE_ASM_TYPES_H
7034 #include <asm/types.h>
7035 #endif
7037 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7040 _ACEOF
7044 done
7047 for ac_header in libprocstat.h
7048 do :
7049 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7050 #include <sys/param.h>
7051 #endif
7052 #ifdef HAVE_SYS_QUEUE_H
7053 #include <sys/queue.h>
7054 #endif
7055 #ifdef HAVE_SYS_SOCKET_H
7056 #include <sys/socket.h>
7057 #endif
7059 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_LIBPROCSTAT_H 1
7062 _ACEOF
7066 done
7070 dlldir="\${libdir}/wine"
7072 DLLPREFIX=""
7074 DLLFLAGS="-D_REENTRANT"
7076 LDRPATH_INSTALL=""
7078 LDRPATH_LOCAL=""
7080 LIBEXT="so"
7081 DLLEXT=".so"
7082 IMPLIBEXT="def"
7083 STATIC_IMPLIBEXT="def.a"
7084 # Extract the first word of "ldd", so it can be a program name with args.
7085 set dummy ldd; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 $as_echo_n "checking for $ac_word... " >&6; }
7088 if ${ac_cv_path_LDD+:} false; then :
7089 $as_echo_n "(cached) " >&6
7090 else
7091 case $LDD in
7092 [\\/]* | ?:[\\/]*)
7093 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 as_dummy="/sbin:/usr/sbin:$PATH"
7098 for as_dir in $as_dummy
7100 IFS=$as_save_IFS
7101 test -z "$as_dir" && as_dir=.
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 break 2
7108 done
7109 done
7110 IFS=$as_save_IFS
7112 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7114 esac
7116 LDD=$ac_cv_path_LDD
7117 if test -n "$LDD"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7119 $as_echo "$LDD" >&6; }
7120 else
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 $as_echo "no" >&6; }
7126 if test -n "$ac_tool_prefix"; then
7127 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7128 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130 $as_echo_n "checking for $ac_word... " >&6; }
7131 if ${ac_cv_prog_READELF+:} false; then :
7132 $as_echo_n "(cached) " >&6
7133 else
7134 if test -n "$READELF"; then
7135 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7136 else
7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 for as_dir in $PATH
7140 IFS=$as_save_IFS
7141 test -z "$as_dir" && as_dir=.
7142 for ac_exec_ext in '' $ac_executable_extensions; do
7143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7146 break 2
7148 done
7149 done
7150 IFS=$as_save_IFS
7154 READELF=$ac_cv_prog_READELF
7155 if test -n "$READELF"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7157 $as_echo "$READELF" >&6; }
7158 else
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; }
7165 if test -z "$ac_cv_prog_READELF"; then
7166 ac_ct_READELF=$READELF
7167 # Extract the first word of "readelf", so it can be a program name with args.
7168 set dummy readelf; ac_word=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7172 $as_echo_n "(cached) " >&6
7173 else
7174 if test -n "$ac_ct_READELF"; then
7175 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7176 else
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 for as_dir in $PATH
7180 IFS=$as_save_IFS
7181 test -z "$as_dir" && as_dir=.
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_ac_ct_READELF="readelf"
7185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 IFS=$as_save_IFS
7194 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7195 if test -n "$ac_ct_READELF"; then
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7197 $as_echo "$ac_ct_READELF" >&6; }
7198 else
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 $as_echo "no" >&6; }
7203 if test "x$ac_ct_READELF" = x; then
7204 READELF="true"
7205 else
7206 case $cross_compiling:$ac_tool_warned in
7207 yes:)
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210 ac_tool_warned=yes ;;
7211 esac
7212 READELF=$ac_ct_READELF
7214 else
7215 READELF="$ac_cv_prog_READELF"
7218 wine_rules_file=conf$$rules.make
7219 rm -f $wine_rules_file
7220 ALL_POT_FILES=""
7221 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7222 ALL_TEST_RESOURCES=""
7225 wine_fn_append_file ()
7227 as_fn_append $1 " \\$as_nl $2"
7230 wine_fn_ignore_file ()
7232 case "$1" in
7233 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7234 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7235 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7236 esac
7239 wine_fn_append_rule ()
7241 $as_echo "$1" >>$wine_rules_file
7244 wine_fn_has_flag ()
7246 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7249 wine_fn_depend_rules ()
7251 wine_fn_append_rule \
7252 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7253 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7254 depend: $ac_dir/depend
7255 .PHONY: $ac_dir/depend
7256 $ac_dir/depend: \$(MAKEDEP) dummy
7257 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7260 wine_fn_pot_rules ()
7262 test "x$with_gettextpo" = xyes || return
7264 if wine_fn_has_flag mc
7265 then
7266 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7267 wine_fn_append_rule \
7268 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7269 @cd $ac_dir && \$(MAKE) msg.pot
7270 $ac_dir/msg.pot: tools/wmc include"
7272 if wine_fn_has_flag po
7273 then
7274 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7275 wine_fn_append_rule \
7276 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7277 @cd $ac_dir && \$(MAKE) rsrc.pot
7278 $ac_dir/rsrc.pot: tools/wrc include"
7282 wine_fn_all_rules ()
7284 wine_fn_depend_rules
7285 wine_fn_append_rule \
7286 "all: $ac_dir
7287 .PHONY: $ac_dir
7288 $ac_dir: $ac_dir/Makefile dummy
7289 @cd $ac_dir && \$(MAKE)"
7292 wine_fn_install_rules ()
7294 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7296 wine_fn_append_rule \
7297 ".PHONY: $ac_dir/install $ac_dir/uninstall
7298 $ac_dir/install:: $ac_dir
7299 @cd $ac_dir && \$(MAKE) install
7300 $ac_dir/uninstall:: $ac_dir/Makefile
7301 @cd $ac_dir && \$(MAKE) uninstall
7302 install:: $ac_dir/install
7303 __uninstall__: $ac_dir/uninstall"
7305 if wine_fn_has_flag install-lib
7306 then
7307 wine_fn_append_rule \
7308 ".PHONY: $ac_dir/install-lib
7309 $ac_dir/install-lib:: $ac_dir
7310 @cd $ac_dir && \$(MAKE) install-lib
7311 install-lib:: $ac_dir/install-lib"
7314 if wine_fn_has_flag install-dev
7315 then
7316 wine_fn_append_rule \
7317 ".PHONY: $ac_dir/install-dev
7318 $ac_dir/install-dev:: $ac_dir
7319 @cd $ac_dir && \$(MAKE) install-dev
7320 install-dev:: $ac_dir/install-dev"
7324 wine_fn_clean_rules ()
7326 ac_clean=$@
7327 ac_extraclean="$ac_dir/Makefile"
7328 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7329 case $ac_dir in
7330 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7331 esac
7333 if wine_fn_has_flag clean
7334 then
7335 wine_fn_append_rule \
7336 "__clean__: $ac_dir/clean
7337 .PHONY: $ac_dir/clean
7338 $ac_dir/clean: $ac_dir/Makefile
7339 @cd $ac_dir && \$(MAKE) clean
7340 \$(RM) $ac_extraclean"
7341 else
7342 wine_fn_append_rule \
7343 "__clean__: $ac_dir/clean
7344 .PHONY: $ac_dir/clean
7345 $ac_dir/clean: dummy
7346 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7350 wine_fn_disabled_rules ()
7352 ac_clean=$@
7353 ac_extraclean="$ac_dir/Makefile"
7354 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7356 wine_fn_append_rule \
7357 "__clean__: $ac_dir/clean
7358 .PHONY: $ac_dir/clean
7359 $ac_dir/clean: dummy
7360 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7363 wine_fn_config_makefile ()
7365 ac_dir=$1
7366 ac_enable=$2
7367 ac_flags=$3
7369 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7370 wine_fn_disabled_rules; return
7372 wine_fn_all_rules
7373 wine_fn_install_rules
7374 wine_fn_clean_rules
7377 wine_fn_config_lib ()
7379 ac_name=$1
7380 ac_flags=$2
7381 ac_dir=dlls/$ac_name
7382 ac_deps="include"
7384 if test "x$enable_tools" = xno; then :
7386 else
7387 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7389 wine_fn_all_rules
7390 wine_fn_clean_rules
7392 wine_fn_append_rule \
7393 ".PHONY: $ac_dir/install $ac_dir/uninstall
7394 $ac_dir/install:: $ac_dir
7395 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7396 $ac_dir/uninstall::
7397 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7398 install install-dev:: $ac_dir/install
7399 __uninstall__: $ac_dir/uninstall
7400 __builddeps__: $ac_dir
7401 $ac_dir: $ac_deps"
7404 wine_fn_config_dll ()
7406 ac_name=$1
7407 ac_dir=dlls/$ac_name
7408 ac_enable=$2
7409 ac_flags=$3
7410 ac_implib=${4:-$ac_name}
7411 ac_file=$ac_dir/lib$ac_implib
7412 ac_dll=$ac_name
7413 ac_deps="include"
7414 ac_implibflags=""
7416 if test "x$enable_tools" = xno; then :
7418 else
7419 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7421 case $ac_name in
7422 *16) ac_implibflags=" -m16" ;;
7423 *.*) ;;
7424 *) ac_dll=$ac_dll.dll ;;
7425 esac
7427 ac_clean=
7428 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7429 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7430 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7431 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7433 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7434 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7435 then
7436 wine_fn_depend_rules
7437 wine_fn_clean_rules $ac_clean
7438 else
7439 wine_fn_disabled_rules $ac_clean
7440 return
7442 else
7443 wine_fn_all_rules
7444 wine_fn_clean_rules $ac_clean
7445 wine_fn_append_rule \
7446 "$ac_dir: __builddeps__
7447 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7448 @cd $ac_dir && \$(MAKE) \$@
7449 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7450 install install-lib:: $ac_dir/install-lib
7451 __uninstall__: $ac_dir/uninstall"
7452 if test -n "$DLLEXT"
7453 then
7454 wine_fn_append_rule \
7455 "$ac_dir/install-lib:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7457 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7458 $ac_dir/uninstall::
7459 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7460 else
7461 wine_fn_append_rule \
7462 "$ac_dir/install-lib:: $ac_dir
7463 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7468 wine_fn_pot_rules
7471 if wine_fn_has_flag staticimplib
7472 then
7473 wine_fn_append_rule \
7474 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7475 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7476 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7477 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7478 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7479 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7480 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7481 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7482 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7483 $ac_dir/uninstall::
7484 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7485 install install-dev:: $ac_dir/install-dev
7486 __uninstall__: $ac_dir/uninstall"
7488 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7489 then
7490 wine_fn_append_rule \
7491 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7492 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7493 $ac_dir/uninstall::
7494 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7497 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7498 then
7499 wine_fn_append_rule \
7500 "__builddeps__: $ac_file.cross.a
7501 $ac_file.cross.a: $ac_dir/Makefile dummy
7502 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7505 elif wine_fn_has_flag implib
7506 then
7507 wine_fn_append_rule \
7508 "__builddeps__: $ac_file.$IMPLIBEXT
7509 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7510 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7511 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7512 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7513 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7514 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7515 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7516 $ac_dir/uninstall::
7517 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7518 install install-dev:: $ac_dir/install-dev
7519 __uninstall__: $ac_dir/uninstall"
7520 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7521 then
7522 wine_fn_append_rule \
7523 "__builddeps__: $ac_file.cross.a
7524 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7525 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7528 if test "$ac_name" != "$ac_implib"
7529 then
7530 wine_fn_append_rule \
7531 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7532 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7533 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7534 clean::
7535 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7536 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7537 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7538 then
7539 wine_fn_append_rule \
7540 "__builddeps__: dlls/lib$ac_implib.cross.a
7541 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7542 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7543 clean::
7544 \$(RM) dlls/lib$ac_implib.cross.a"
7545 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7551 wine_fn_config_program ()
7553 ac_name=$1
7554 ac_dir=programs/$ac_name
7555 ac_enable=$2
7556 ac_flags=$3
7557 ac_program=$ac_name
7559 case $ac_name in
7560 *.*) ;;
7561 *) ac_program=$ac_program.exe ;;
7562 esac
7564 ac_clean=
7565 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7566 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7567 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7568 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7570 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7571 wine_fn_disabled_rules $ac_clean; return
7574 wine_fn_all_rules
7575 wine_fn_clean_rules $ac_clean
7576 wine_fn_append_rule "$ac_dir: __builddeps__"
7577 wine_fn_pot_rules
7579 wine_fn_has_flag install || return
7580 wine_fn_append_rule \
7581 ".PHONY: $ac_dir/install $ac_dir/uninstall
7582 install install-lib:: $ac_dir/install
7583 __uninstall__: $ac_dir/uninstall"
7585 if test -n "$DLLEXT"
7586 then
7587 wine_fn_append_rule \
7588 "$ac_dir/install:: $ac_dir
7589 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7590 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7591 $ac_dir/uninstall::
7592 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7594 if test -z "$with_wine64" && wine_fn_has_flag installbin
7595 then
7596 wine_fn_append_rule \
7597 "$ac_dir/install:: __tooldeps__
7598 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7599 $ac_dir/uninstall::
7600 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7602 else
7603 wine_fn_append_rule \
7604 "$ac_dir/install:: $ac_dir
7605 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7606 $ac_dir/uninstall::
7607 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7610 if test -z "$with_wine64" && wine_fn_has_flag manpage
7611 then
7612 wine_fn_append_rule \
7613 "$ac_dir/install:: $ac_dir
7614 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7615 $ac_dir/uninstall::
7616 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7620 wine_fn_config_test ()
7622 ac_dir=$1
7623 ac_name=$2
7624 ac_flags=$3
7626 ac_clean=
7627 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7628 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7630 if test "x$enable_tests" = xno; then :
7631 wine_fn_disabled_rules $ac_clean; return
7634 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7635 wine_fn_all_rules
7636 wine_fn_clean_rules $ac_clean
7638 wine_fn_append_rule \
7639 "$ac_dir: programs/winetest/Makefile __builddeps__
7640 programs/winetest: $ac_dir
7641 check test: $ac_dir/test
7642 .PHONY: $ac_dir/test
7643 $ac_dir/test: dummy
7644 @cd $ac_dir && \$(MAKE) test
7645 testclean::
7646 \$(RM) $ac_dir/*.ok"
7648 if test -n "$CROSSTARGET"
7649 then
7650 wine_fn_append_rule \
7651 "crosstest: $ac_dir/crosstest
7652 .PHONY: $ac_dir/crosstest
7653 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7654 @cd $ac_dir && \$(MAKE) crosstest"
7658 wine_fn_config_tool ()
7660 ac_dir=$1
7661 ac_flags=$2
7662 if test "x$enable_tools" = xno; then :
7663 return
7666 wine_fn_all_rules
7667 wine_fn_install_rules
7668 wine_fn_clean_rules
7670 wine_fn_append_rule "__tooldeps__: $ac_dir"
7671 wine_fn_append_rule "$ac_dir: libs/port"
7672 case $ac_dir in
7673 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7674 esac
7677 wine_fn_config_symlink ()
7679 ac_linkdir=
7680 if test "x$1" = "x-d"
7681 then
7682 ac_linkdir=$2
7683 shift; shift
7685 ac_links=$@
7686 wine_fn_append_rule \
7687 "$ac_links:
7688 @./config.status \$@
7689 distclean::
7690 \$(RM) $ac_links"
7691 for f in $ac_links; do wine_fn_ignore_file $f; done
7692 test -n "$ac_linkdir" || return
7693 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7696 wine_binary="wine"
7697 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7698 loader_programs="$wine_binary wine-installed"
7699 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7701 LOADER_RULES="
7702 all: wine.inf
7704 install install-lib:: wine-installed
7705 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7707 uninstall::
7708 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7712 case $host_os in
7713 cygwin*|mingw32*)
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_DLLTOOL+:} false; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$DLLTOOL"; then
7723 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7736 done
7737 done
7738 IFS=$as_save_IFS
7742 DLLTOOL=$ac_cv_prog_DLLTOOL
7743 if test -n "$DLLTOOL"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7745 $as_echo "$DLLTOOL" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_DLLTOOL"; then
7754 ac_ct_DLLTOOL=$DLLTOOL
7755 # Extract the first word of "dlltool", so it can be a program name with args.
7756 set dummy dlltool; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7760 $as_echo_n "(cached) " >&6
7761 else
7762 if test -n "$ac_ct_DLLTOOL"; then
7763 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7764 else
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 for as_dir in $PATH
7768 IFS=$as_save_IFS
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7772 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 IFS=$as_save_IFS
7782 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7783 if test -n "$ac_ct_DLLTOOL"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7785 $as_echo "$ac_ct_DLLTOOL" >&6; }
7786 else
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_DLLTOOL" = x; then
7792 DLLTOOL="false"
7793 else
7794 case $cross_compiling:$ac_tool_warned in
7795 yes:)
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7799 esac
7800 DLLTOOL=$ac_ct_DLLTOOL
7802 else
7803 DLLTOOL="$ac_cv_prog_DLLTOOL"
7806 LIBEXT="dll"
7807 DLLEXT=""
7808 IMPLIBEXT="a"
7809 STATIC_IMPLIBEXT="a"
7810 enable_iphlpapi=${enable_iphlpapi:-no}
7811 enable_kernel32=${enable_kernel32:-no}
7812 enable_msvcrt=${enable_msvcrt:-no}
7813 enable_ntdll=${enable_ntdll:-no}
7814 enable_ws2_32=${enable_ws2_32:-no}
7815 enable_loader=${enable_loader:-no}
7816 enable_server=${enable_server:-no}
7817 with_x=${with_x:-no}
7818 with_pthread=${with_pthread:-no}
7820 crtlibs=""
7821 case $host_os in
7822 mingw32*)
7823 crtlibs="-lmsvcrt"
7824 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7826 esac
7828 libwine_targets="libwine.dll libwine.a"
7829 LIBWINE_RULES="
7830 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7832 all: libwine.dll libwine.a
7834 libwine.a: \$(srcdir)/wine.def
7835 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7837 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7838 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7840 install install-lib:: libwine.dll
7841 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7843 install install-dev:: libwine.a
7844 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7846 uninstall::
7847 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7852 darwin*|macosx*)
7853 for ac_header in libunwind.h
7854 do :
7855 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF
7858 #define HAVE_LIBUNWIND_H 1
7859 _ACEOF
7863 done
7865 LIBEXT="dylib"
7866 DLLFLAGS="$DLLFLAGS -fPIC"
7867 LIBWINE_LDFLAGS="-multiply_defined suppress"
7868 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7869 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7870 COREFOUNDATION_LIBS="-framework CoreFoundation"
7872 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7874 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7876 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7878 CORESERVICES_LIBS="-framework CoreServices"
7880 APPKIT_LIBS="-framework AppKit"
7882 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7884 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7885 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 ac_wine_try_cflags_saved=$CFLAGS
7889 CFLAGS="$CFLAGS -Wl,-no_pie"
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 int main(int argc, char **argv) { return 0; }
7893 _ACEOF
7894 if ac_fn_c_try_link "$LINENO"; then :
7895 ac_cv_cflags__Wl__no_pie=yes
7896 else
7897 ac_cv_cflags__Wl__no_pie=no
7899 rm -f core conftest.err conftest.$ac_objext \
7900 conftest$ac_exeext conftest.$ac_ext
7901 CFLAGS=$ac_wine_try_cflags_saved
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7904 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7905 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7906 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7908 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7909 then
7910 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7913 if test "$ac_cv_header_Security_Security_h" = "yes"
7914 then
7915 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7917 ac_save_LIBS="$LIBS"
7918 LIBS="$LIBS $SECURITY_LIBS"
7919 for ac_func in SSLCopyPeerCertificates
7920 do :
7921 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7922 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7923 cat >>confdefs.h <<_ACEOF
7924 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7925 _ACEOF
7928 done
7930 LIBS="$ac_save_LIBS"
7931 with_gnutls=${with_gnutls:-no}
7933 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7934 then
7935 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7936 then
7937 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7939 else
7940 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7943 ac_save_LIBS="$LIBS"
7944 LIBS="$LIBS $COREAUDIO_LIBS"
7945 for ac_func in AUGraphAddNode
7946 do :
7947 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7948 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7949 cat >>confdefs.h <<_ACEOF
7950 #define HAVE_AUGRAPHADDNODE 1
7951 _ACEOF
7954 done
7956 LIBS="$ac_save_LIBS"
7958 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7959 then
7960 OPENAL_LIBS="-framework OpenAL"
7963 cat >>confdefs.h <<_ACEOF
7964 #define HAVE_OPENAL 1
7965 _ACEOF
7967 ac_cv_lib_openal=yes
7969 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7970 then
7971 OPENCL_LIBS="-framework OpenCL"
7973 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7975 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7976 then
7977 ac_save_LIBS="$LIBS"
7978 LIBS="$LIBS $IOKIT_LIBS"
7979 for ac_func in IOHIDManagerCreate
7980 do :
7981 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7982 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7983 cat >>confdefs.h <<_ACEOF
7984 #define HAVE_IOHIDMANAGERCREATE 1
7985 _ACEOF
7988 done
7990 LIBS="$ac_save_LIBS"
7992 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7993 then
7994 ac_save_LIBS="$LIBS"
7995 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7997 $as_echo_n "checking for the QuickTime framework... " >&6; }
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <QuickTime/ImageCompression.h>
8002 main ()
8004 CodecManagerVersion(NULL);
8006 return 0;
8008 _ACEOF
8009 if ac_fn_c_try_link "$LINENO"; then :
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8011 $as_echo "yes" >&6; }
8012 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8014 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8015 else
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8017 $as_echo "no" >&6; }
8018 ac_cv_header_QuickTime_ImageCompression_h=no
8020 rm -f core conftest.err conftest.$ac_objext \
8021 conftest$ac_exeext conftest.$ac_ext
8022 LIBS="$ac_save_LIBS"
8024 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8025 then
8026 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8028 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8029 then
8030 CARBON_LIBS="-framework Carbon"
8034 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8035 then
8036 ac_save_LIBS="$LIBS"
8037 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8038 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8039 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8040 enable_winemac_drv=${enable_winemac_drv:-yes}
8043 LIBS="$ac_save_LIBS"
8046 if test "x$enable_win16" = "xyes"
8047 then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8049 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8050 if test "$cross_compiling" = yes; then :
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8052 $as_echo "cross-compiling, assuming yes" >&6; }
8053 else
8054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055 /* end confdefs.h. */
8056 asm(".text\n"
8057 "bad:\tnop;nop\n"
8058 "good:\tnop;nop\n\t"
8059 ".globl _testfunc\n"
8060 "_testfunc:\tcallw good");
8061 extern void testfunc();
8063 main ()
8065 unsigned short *p = (unsigned short *)testfunc;
8066 return p[0] != 0xe866 || p[1] != 0xfffa
8068 return 0;
8070 _ACEOF
8071 if ac_fn_c_try_run "$LINENO"; then :
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8073 $as_echo "yes" >&6; }
8074 else
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076 $as_echo "no" >&6; }
8077 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
8079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8080 conftest.$ac_objext conftest.beam conftest.$ac_ext
8085 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8086 LIBWINE_RULES="
8087 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8089 all: libwine.dylib
8091 libwine.$libwine_version.dylib: \$(OBJS)
8092 \$(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 \$@
8094 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8095 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8097 libwine.dylib: libwine.$libwine_soversion.dylib
8098 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8100 install install-lib:: libwine.$libwine_version.dylib
8101 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8102 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8104 install install-dev::
8105 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8107 uninstall::
8108 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8112 as_fn_append LOADER_RULES "
8113 $wine_binary: main.o wine_info.plist
8114 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8116 wine-installed: main.o wine_info.plist
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8121 linux-android*)
8122 DLLFLAGS="$DLLFLAGS -fPIC"
8123 DLLPREFIX="lib"
8124 LDEXECFLAGS=""
8125 dlldir="\${libdir}"
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8127 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8128 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130 else
8131 ac_wine_try_cflags_saved=$CFLAGS
8132 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8134 /* end confdefs.h. */
8135 int main(int argc, char **argv) { return 0; }
8136 _ACEOF
8137 if ac_fn_c_try_link "$LINENO"; then :
8138 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8139 else
8140 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 CFLAGS=$ac_wine_try_cflags_saved
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8147 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8148 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8149 LDEXECFLAGS="-Wl,--export-dynamic"
8151 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8153 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8154 if eval \${$as_ac_var+:} false; then :
8155 $as_echo_n "(cached) " >&6
8156 else
8157 ac_wine_try_cflags_saved=$CFLAGS
8158 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8161 int main(int argc, char **argv) { return 0; }
8162 _ACEOF
8163 if ac_fn_c_try_link "$LINENO"; then :
8164 eval "$as_ac_var=yes"
8165 else
8166 eval "$as_ac_var=no"
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 CFLAGS=$ac_wine_try_cflags_saved
8172 eval ac_res=\$$as_ac_var
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8174 $as_echo "$ac_res" >&6; }
8175 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8176 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8177 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8178 else
8179 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8181 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8182 if eval \${$as_ac_var+:} false; then :
8183 $as_echo_n "(cached) " >&6
8184 else
8185 ac_wine_try_cflags_saved=$CFLAGS
8186 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8193 else
8194 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8202 $as_echo "$ac_res" >&6; }
8203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8204 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8205 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8210 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8211 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 ac_wine_try_cflags_saved=$CFLAGS
8215 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8218 int main(int argc, char **argv) { return 0; }
8219 _ACEOF
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_cflags__Wl___enable_new_dtags=yes
8222 else
8223 ac_cv_cflags__Wl___enable_new_dtags=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 CFLAGS=$ac_wine_try_cflags_saved
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8230 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8231 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8232 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8235 case $host_cpu in
8236 *i[3456789]86* | x86_64)
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8238 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8239 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8247 _ACEOF
8248 if ac_fn_c_try_link "$LINENO"; then :
8249 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8250 else
8251 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8253 rm -f core conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 CFLAGS=$ac_wine_try_cflags_saved
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8258 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8259 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8260 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8263 esac
8265 libwine_targets="libwine.so"
8266 LIBWINE_RULES="
8267 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8269 all: libwine.so
8271 libwine.so: \$(OBJS)
8272 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8274 install install-lib:: libwine.so
8275 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8277 uninstall::
8278 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8282 as_fn_append LOADER_RULES "
8283 $wine_binary: main.o
8284 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8286 wine-installed: main.o
8287 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8292 DLLFLAGS="$DLLFLAGS -fPIC"
8293 LDEXECFLAGS=""
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8295 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8296 if ${ac_cv_c_dll_gnuelf+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 void myfunc() {}
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 ac_cv_c_dll_gnuelf="yes"
8307 else
8308 ac_cv_c_dll_gnuelf="no"
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8315 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8316 if test "$ac_cv_c_dll_gnuelf" = "yes"
8317 then
8318 LDSHARED="\$(CC) -shared"
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8320 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8321 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8327 /* end confdefs.h. */
8328 int main(int argc, char **argv) { return 0; }
8329 _ACEOF
8330 if ac_fn_c_try_link "$LINENO"; then :
8331 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8332 else
8333 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8335 rm -f core conftest.err conftest.$ac_objext \
8336 conftest$ac_exeext conftest.$ac_ext
8337 CFLAGS=$ac_wine_try_cflags_saved
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8340 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8341 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8342 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8343 else
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8345 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8346 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 ac_wine_try_cflags_saved=$CFLAGS
8350 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8352 /* end confdefs.h. */
8353 int main(int argc, char **argv) { return 0; }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8357 else
8358 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 CFLAGS=$ac_wine_try_cflags_saved
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8365 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8366 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8367 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8371 echo '{ global: *; };' >conftest.map
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8373 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8374 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 ac_wine_try_cflags_saved=$CFLAGS
8378 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8381 int main(int argc, char **argv) { return 0; }
8382 _ACEOF
8383 if ac_fn_c_try_link "$LINENO"; then :
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8385 else
8386 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8388 rm -f core conftest.err conftest.$ac_objext \
8389 conftest$ac_exeext conftest.$ac_ext
8390 CFLAGS=$ac_wine_try_cflags_saved
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8393 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8394 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8395 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8397 rm -f conftest.map
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8400 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8401 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8408 int main(int argc, char **argv) { return 0; }
8409 _ACEOF
8410 if ac_fn_c_try_link "$LINENO"; then :
8411 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8412 else
8413 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8415 rm -f core conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8417 CFLAGS=$ac_wine_try_cflags_saved
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8420 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8421 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8422 LDEXECFLAGS="-Wl,--export-dynamic"
8425 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8427 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8428 if eval \${$as_ac_var+:} false; then :
8429 $as_echo_n "(cached) " >&6
8430 else
8431 ac_wine_try_cflags_saved=$CFLAGS
8432 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8435 int main(int argc, char **argv) { return 0; }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 eval "$as_ac_var=yes"
8439 else
8440 eval "$as_ac_var=no"
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 CFLAGS=$ac_wine_try_cflags_saved
8446 eval ac_res=\$$as_ac_var
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8448 $as_echo "$ac_res" >&6; }
8449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8450 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8451 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8452 else
8453 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8455 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8456 if eval \${$as_ac_var+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8467 else
8468 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8476 $as_echo "$ac_res" >&6; }
8477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8478 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8479 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8484 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8485 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8492 int main(int argc, char **argv) { return 0; }
8493 _ACEOF
8494 if ac_fn_c_try_link "$LINENO"; then :
8495 ac_cv_cflags__Wl___enable_new_dtags=yes
8496 else
8497 ac_cv_cflags__Wl___enable_new_dtags=no
8499 rm -f core conftest.err conftest.$ac_objext \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8504 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8505 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8506 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8509 case $host_cpu in
8510 *i[3456789]86* | x86_64)
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8512 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8513 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8514 $as_echo_n "(cached) " >&6
8515 else
8516 ac_wine_try_cflags_saved=$CFLAGS
8517 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8520 int main(int argc, char **argv) { return 0; }
8521 _ACEOF
8522 if ac_fn_c_try_link "$LINENO"; then :
8523 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8524 else
8525 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8527 rm -f core conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8529 CFLAGS=$ac_wine_try_cflags_saved
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8532 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8533 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8534 case $host_os in
8535 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8536 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8537 esac
8540 # Extract the first word of "prelink", so it can be a program name with args.
8541 set dummy prelink; ac_word=$2
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8543 $as_echo_n "checking for $ac_word... " >&6; }
8544 if ${ac_cv_path_PRELINK+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 case $PRELINK in
8548 [\\/]* | ?:[\\/]*)
8549 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8553 for as_dir in /sbin /usr/sbin $PATH
8555 IFS=$as_save_IFS
8556 test -z "$as_dir" && as_dir=.
8557 for ac_exec_ext in '' $ac_executable_extensions; do
8558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8559 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8561 break 2
8563 done
8564 done
8565 IFS=$as_save_IFS
8567 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8569 esac
8571 PRELINK=$ac_cv_path_PRELINK
8572 if test -n "$PRELINK"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8574 $as_echo "$PRELINK" >&6; }
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 $as_echo "no" >&6; }
8581 if test "x$PRELINK" = xfalse
8582 then
8583 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8586 esac
8588 else
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8590 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8591 if ${ac_cv_c_dll_unixware+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 void myfunc() {}
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 ac_cv_c_dll_unixware="yes"
8602 else
8603 ac_cv_c_dll_unixware="no"
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 CFLAGS=$ac_wine_try_cflags_saved
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8610 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8611 if test "$ac_cv_c_dll_unixware" = "yes"
8612 then
8613 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8616 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8617 LIBWINE_RULES="
8618 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8620 all: libwine.so
8622 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8623 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8625 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8626 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8628 libwine.so: libwine.so.$libwine_soversion
8629 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8631 install install-lib:: libwine.so.$libwine_version
8632 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8633 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8635 install install-dev::
8636 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8638 uninstall::
8639 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8643 as_fn_append LOADER_RULES "
8644 $wine_binary: main.o
8645 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8647 wine-installed: main.o
8648 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8651 esac
8653 as_fn_append LIBWINE_RULES "
8654 EXTRA_TARGETS = $libwine_targets
8657 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8658 enable_winemac_drv=${enable_winemac_drv:-no}
8660 CROSSTARGET=""
8662 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8663 then
8664 case "$host_cpu" in
8665 i[3456789]86*)
8666 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
8667 mingw32-gcc" ;;
8668 x86_64)
8669 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 " ;;
8671 ac_prefix_list="" ;;
8672 esac
8673 for ac_prog in $ac_prefix_list
8675 # Extract the first word of "$ac_prog", so it can be a program name with args.
8676 set dummy $ac_prog; ac_word=$2
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8678 $as_echo_n "checking for $ac_word... " >&6; }
8679 if ${ac_cv_prog_CROSSCC+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 if test -n "$CROSSCC"; then
8683 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8684 else
8685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8686 for as_dir in $PATH
8688 IFS=$as_save_IFS
8689 test -z "$as_dir" && as_dir=.
8690 for ac_exec_ext in '' $ac_executable_extensions; do
8691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8692 ac_cv_prog_CROSSCC="$ac_prog"
8693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 break 2
8696 done
8697 done
8698 IFS=$as_save_IFS
8702 CROSSCC=$ac_cv_prog_CROSSCC
8703 if test -n "$CROSSCC"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8705 $as_echo "$CROSSCC" >&6; }
8706 else
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8712 test -n "$CROSSCC" && break
8713 done
8714 test -n "$CROSSCC" || CROSSCC="false"
8716 if test "$CROSSCC" != "false"
8717 then
8718 ac_save_CC="$CC"
8719 CC="$CROSSCC"
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8721 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8726 main ()
8730 return 0;
8732 _ACEOF
8733 if ac_fn_c_try_compile "$LINENO"; then :
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8735 $as_echo "yes" >&6; }
8736 set x $CROSSCC
8737 shift
8738 while test $# -ge 1
8740 case "$1" in
8741 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8742 esac
8743 shift
8744 done
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8750 CC="$ac_save_CC"
8755 if test "$ac_cv_header_pthread_h" = "yes"
8756 then
8757 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8758 if test "x$ac_cv_func_pthread_create" = xyes; then :
8760 else
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8762 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8763 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8764 $as_echo_n "(cached) " >&6
8765 else
8766 ac_check_lib_save_LIBS=$LIBS
8767 LIBS="-lpthread $LIBS"
8768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8771 /* Override any GCC internal prototype to avoid an error.
8772 Use char because int might match the return type of a GCC
8773 builtin and then its argument prototype would still apply. */
8774 #ifdef __cplusplus
8775 extern "C"
8776 #endif
8777 char pthread_create ();
8779 main ()
8781 return pthread_create ();
8783 return 0;
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_lib_pthread_pthread_create=yes
8788 else
8789 ac_cv_lib_pthread_pthread_create=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 LIBS=$ac_check_lib_save_LIBS
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8796 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8797 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8798 PTHREAD_LIBS="-lpthread"
8805 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8806 case "x$with_pthread" in
8807 xno) ;;
8808 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8809 Wine cannot support threads without libpthread.
8810 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8811 esac
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8816 $as_echo_n "checking for X... " >&6; }
8819 # Check whether --with-x was given.
8820 if test "${with_x+set}" = set; then :
8821 withval=$with_x;
8824 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8825 if test "x$with_x" = xno; then
8826 # The user explicitly disabled X.
8827 have_x=disabled
8828 else
8829 case $x_includes,$x_libraries in #(
8830 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8831 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 # One or both of the vars are not set, and there is no cached value.
8835 ac_x_includes=no ac_x_libraries=no
8836 rm -f -r conftest.dir
8837 if mkdir conftest.dir; then
8838 cd conftest.dir
8839 cat >Imakefile <<'_ACEOF'
8840 incroot:
8841 @echo incroot='${INCROOT}'
8842 usrlibdir:
8843 @echo usrlibdir='${USRLIBDIR}'
8844 libdir:
8845 @echo libdir='${LIBDIR}'
8846 _ACEOF
8847 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8848 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8849 for ac_var in incroot usrlibdir libdir; do
8850 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8851 done
8852 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8853 for ac_extension in a so sl dylib la dll; do
8854 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8855 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8856 ac_im_usrlibdir=$ac_im_libdir; break
8858 done
8859 # Screen out bogus values from the imake configuration. They are
8860 # bogus both because they are the default anyway, and because
8861 # using them would break gcc on systems where it needs fixed includes.
8862 case $ac_im_incroot in
8863 /usr/include) ac_x_includes= ;;
8864 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8865 esac
8866 case $ac_im_usrlibdir in
8867 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8868 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8869 esac
8871 cd ..
8872 rm -f -r conftest.dir
8875 # Standard set of common directories for X headers.
8876 # Check X11 before X11Rn because it is often a symlink to the current release.
8877 ac_x_header_dirs='
8878 /usr/X11/include
8879 /usr/X11R7/include
8880 /usr/X11R6/include
8881 /usr/X11R5/include
8882 /usr/X11R4/include
8884 /usr/include/X11
8885 /usr/include/X11R7
8886 /usr/include/X11R6
8887 /usr/include/X11R5
8888 /usr/include/X11R4
8890 /usr/local/X11/include
8891 /usr/local/X11R7/include
8892 /usr/local/X11R6/include
8893 /usr/local/X11R5/include
8894 /usr/local/X11R4/include
8896 /usr/local/include/X11
8897 /usr/local/include/X11R7
8898 /usr/local/include/X11R6
8899 /usr/local/include/X11R5
8900 /usr/local/include/X11R4
8902 /usr/X386/include
8903 /usr/x386/include
8904 /usr/XFree86/include/X11
8906 /usr/include
8907 /usr/local/include
8908 /usr/unsupported/include
8909 /usr/athena/include
8910 /usr/local/x11r5/include
8911 /usr/lpp/Xamples/include
8913 /usr/openwin/include
8914 /usr/openwin/share/include'
8916 if test "$ac_x_includes" = no; then
8917 # Guess where to find include files, by looking for Xlib.h.
8918 # First, try using that file with no special directory specified.
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8921 #include <X11/Xlib.h>
8922 _ACEOF
8923 if ac_fn_c_try_cpp "$LINENO"; then :
8924 # We can compile using X headers with no special include directory.
8925 ac_x_includes=
8926 else
8927 for ac_dir in $ac_x_header_dirs; do
8928 if test -r "$ac_dir/X11/Xlib.h"; then
8929 ac_x_includes=$ac_dir
8930 break
8932 done
8934 rm -f conftest.err conftest.i conftest.$ac_ext
8935 fi # $ac_x_includes = no
8937 if test "$ac_x_libraries" = no; then
8938 # Check for the libraries.
8939 # See if we find them without any special options.
8940 # Don't add to $LIBS permanently.
8941 ac_save_LIBS=$LIBS
8942 LIBS="-lX11 $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8945 #include <X11/Xlib.h>
8947 main ()
8949 XrmInitialize ()
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_link "$LINENO"; then :
8955 LIBS=$ac_save_LIBS
8956 # We can link X programs with no special library path.
8957 ac_x_libraries=
8958 else
8959 LIBS=$ac_save_LIBS
8960 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8962 # Don't even attempt the hair of trying to link an X program!
8963 for ac_extension in a so sl dylib la dll; do
8964 if test -r "$ac_dir/libX11.$ac_extension"; then
8965 ac_x_libraries=$ac_dir
8966 break 2
8968 done
8969 done
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 fi # $ac_x_libraries = no
8975 case $ac_x_includes,$ac_x_libraries in #(
8976 no,* | *,no | *\'*)
8977 # Didn't find X, or a directory has "'" in its name.
8978 ac_cv_have_x="have_x=no";; #(
8980 # Record where we found X for the cache.
8981 ac_cv_have_x="have_x=yes\
8982 ac_x_includes='$ac_x_includes'\
8983 ac_x_libraries='$ac_x_libraries'"
8984 esac
8986 ;; #(
8987 *) have_x=yes;;
8988 esac
8989 eval "$ac_cv_have_x"
8990 fi # $with_x != no
8992 if test "$have_x" != yes; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8994 $as_echo "$have_x" >&6; }
8995 no_x=yes
8996 else
8997 # If each of the values was on the command line, it overrides each guess.
8998 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8999 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9000 # Update the cache value to reflect the command line values.
9001 ac_cv_have_x="have_x=yes\
9002 ac_x_includes='$x_includes'\
9003 ac_x_libraries='$x_libraries'"
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9005 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9008 if test "$no_x" = yes; then
9009 # Not all programs may use this symbol, but it does not hurt to define it.
9011 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9013 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9014 else
9015 if test -n "$x_includes"; then
9016 X_CFLAGS="$X_CFLAGS -I$x_includes"
9019 # It would also be nice to do this for all -L options, not just this one.
9020 if test -n "$x_libraries"; then
9021 X_LIBS="$X_LIBS -L$x_libraries"
9022 # For Solaris; some versions of Sun CC require a space after -R and
9023 # others require no space. Words are not sufficient . . . .
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9025 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9026 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9027 ac_xsave_c_werror_flag=$ac_c_werror_flag
9028 ac_c_werror_flag=yes
9029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9030 /* end confdefs.h. */
9033 main ()
9037 return 0;
9039 _ACEOF
9040 if ac_fn_c_try_link "$LINENO"; then :
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9042 $as_echo "no" >&6; }
9043 X_LIBS="$X_LIBS -R$x_libraries"
9044 else
9045 LIBS="$ac_xsave_LIBS -R $x_libraries"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9050 main ()
9054 return 0;
9056 _ACEOF
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9059 $as_echo "yes" >&6; }
9060 X_LIBS="$X_LIBS -R $x_libraries"
9061 else
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9063 $as_echo "neither works" >&6; }
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9070 ac_c_werror_flag=$ac_xsave_c_werror_flag
9071 LIBS=$ac_xsave_LIBS
9074 # Check for system-dependent libraries X programs must link with.
9075 # Do this before checking for the system-independent R6 libraries
9076 # (-lICE), since we may need -lsocket or whatever for X linking.
9078 if test "$ISC" = yes; then
9079 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9080 else
9081 # Martyn Johnson says this is needed for Ultrix, if the X
9082 # libraries were built with DECnet support. And Karl Berry says
9083 # the Alpha needs dnet_stub (dnet does not exist).
9084 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9091 #ifdef __cplusplus
9092 extern "C"
9093 #endif
9094 char XOpenDisplay ();
9096 main ()
9098 return XOpenDisplay ();
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9105 else
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9107 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9108 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9109 $as_echo_n "(cached) " >&6
9110 else
9111 ac_check_lib_save_LIBS=$LIBS
9112 LIBS="-ldnet $LIBS"
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9119 #ifdef __cplusplus
9120 extern "C"
9121 #endif
9122 char dnet_ntoa ();
9124 main ()
9126 return dnet_ntoa ();
9128 return 0;
9130 _ACEOF
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 ac_cv_lib_dnet_dnet_ntoa=yes
9133 else
9134 ac_cv_lib_dnet_dnet_ntoa=no
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 LIBS=$ac_check_lib_save_LIBS
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9141 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9142 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9146 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9148 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9149 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9150 $as_echo_n "(cached) " >&6
9151 else
9152 ac_check_lib_save_LIBS=$LIBS
9153 LIBS="-ldnet_stub $LIBS"
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9157 /* Override any GCC internal prototype to avoid an error.
9158 Use char because int might match the return type of a GCC
9159 builtin and then its argument prototype would still apply. */
9160 #ifdef __cplusplus
9161 extern "C"
9162 #endif
9163 char dnet_ntoa ();
9165 main ()
9167 return dnet_ntoa ();
9169 return 0;
9171 _ACEOF
9172 if ac_fn_c_try_link "$LINENO"; then :
9173 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9174 else
9175 ac_cv_lib_dnet_stub_dnet_ntoa=no
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 LIBS=$ac_check_lib_save_LIBS
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9182 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9183 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9184 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9189 rm -f core conftest.err conftest.$ac_objext \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS="$ac_xsave_LIBS"
9193 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9194 # to get the SysV transport functions.
9195 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9196 # needs -lnsl.
9197 # The nsl library prevents programs from opening the X display
9198 # on Irix 5.2, according to T.E. Dickey.
9199 # The functions gethostbyname, getservbyname, and inet_addr are
9200 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9201 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9202 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9206 if test $ac_cv_func_gethostbyname = no; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9208 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9209 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9210 $as_echo_n "(cached) " >&6
9211 else
9212 ac_check_lib_save_LIBS=$LIBS
9213 LIBS="-lnsl $LIBS"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char gethostbyname ();
9225 main ()
9227 return gethostbyname ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9233 ac_cv_lib_nsl_gethostbyname=yes
9234 else
9235 ac_cv_lib_nsl_gethostbyname=no
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 LIBS=$ac_check_lib_save_LIBS
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9242 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9243 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9247 if test $ac_cv_lib_nsl_gethostbyname = no; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9249 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9250 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252 else
9253 ac_check_lib_save_LIBS=$LIBS
9254 LIBS="-lbsd $LIBS"
9255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9261 #ifdef __cplusplus
9262 extern "C"
9263 #endif
9264 char gethostbyname ();
9266 main ()
9268 return gethostbyname ();
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 ac_cv_lib_bsd_gethostbyname=yes
9275 else
9276 ac_cv_lib_bsd_gethostbyname=no
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_lib_save_LIBS
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9283 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9284 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9291 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9292 # socket/setsockopt and other routines are undefined under SCO ODT
9293 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9294 # on later versions), says Simon Leinen: it contains gethostby*
9295 # variants that don't use the name server (or something). -lsocket
9296 # must be given before -lnsl if both are needed. We assume that
9297 # if connect needs -lnsl, so does gethostbyname.
9298 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9299 if test "x$ac_cv_func_connect" = xyes; then :
9303 if test $ac_cv_func_connect = no; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9305 $as_echo_n "checking for connect in -lsocket... " >&6; }
9306 if ${ac_cv_lib_socket_connect+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_check_lib_save_LIBS=$LIBS
9310 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9317 #ifdef __cplusplus
9318 extern "C"
9319 #endif
9320 char connect ();
9322 main ()
9324 return connect ();
9326 return 0;
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_lib_socket_connect=yes
9331 else
9332 ac_cv_lib_socket_connect=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_lib_save_LIBS
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9339 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9340 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9341 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9346 # Guillermo Gomez says -lposix is necessary on A/UX.
9347 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9348 if test "x$ac_cv_func_remove" = xyes; then :
9352 if test $ac_cv_func_remove = no; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9354 $as_echo_n "checking for remove in -lposix... " >&6; }
9355 if ${ac_cv_lib_posix_remove+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_check_lib_save_LIBS=$LIBS
9359 LIBS="-lposix $LIBS"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9363 /* Override any GCC internal prototype to avoid an error.
9364 Use char because int might match the return type of a GCC
9365 builtin and then its argument prototype would still apply. */
9366 #ifdef __cplusplus
9367 extern "C"
9368 #endif
9369 char remove ();
9371 main ()
9373 return remove ();
9375 return 0;
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_lib_posix_remove=yes
9380 else
9381 ac_cv_lib_posix_remove=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9388 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9389 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9395 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9396 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9397 if test "x$ac_cv_func_shmat" = xyes; then :
9401 if test $ac_cv_func_shmat = no; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9403 $as_echo_n "checking for shmat in -lipc... " >&6; }
9404 if ${ac_cv_lib_ipc_shmat+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lipc $LIBS"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9412 /* Override any GCC internal prototype to avoid an error.
9413 Use char because int might match the return type of a GCC
9414 builtin and then its argument prototype would still apply. */
9415 #ifdef __cplusplus
9416 extern "C"
9417 #endif
9418 char shmat ();
9420 main ()
9422 return shmat ();
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 ac_cv_lib_ipc_shmat=yes
9429 else
9430 ac_cv_lib_ipc_shmat=no
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_lib_save_LIBS
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9437 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9438 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9445 # Check for libraries that X11R6 Xt/Xaw programs need.
9446 ac_save_LDFLAGS=$LDFLAGS
9447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9449 # check for ICE first), but we must link in the order -lSM -lICE or
9450 # we get undefined symbols. So assume we have SM if we have ICE.
9451 # These have to be linked with before -lX11, unlike the other
9452 # libraries we check for below, so use a different variable.
9453 # John Interrante, Karl Berry
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9455 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9456 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char IceConnectionNumber ();
9472 main ()
9474 return IceConnectionNumber ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_ICE_IceConnectionNumber=yes
9481 else
9482 ac_cv_lib_ICE_IceConnectionNumber=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9489 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9490 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9491 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9494 LDFLAGS=$ac_save_LDFLAGS
9499 if test "$have_x" = "yes"
9500 then
9501 ac_save_CPPFLAGS="$CPPFLAGS"
9502 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9505 $as_echo_n "checking for -lX11... " >&6; }
9506 if ${ac_cv_lib_soname_X11+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_check_soname_save_LIBS=$LIBS
9510 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 char XCreateWindow ();
9522 main ()
9524 return XCreateWindow ();
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9530 case "$LIBEXT" in
9531 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9532 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'` ;;
9533 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9534 if ${ac_cv_lib_soname_X11:+false} :; then :
9535 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9536 fi ;;
9537 esac
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 LIBS=$ac_check_soname_save_LIBS
9543 if ${ac_cv_lib_soname_X11:+false} :; then :
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9545 $as_echo "not found" >&6; }
9547 else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9549 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9551 cat >>confdefs.h <<_ACEOF
9552 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9553 _ACEOF
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9558 $as_echo_n "checking for -lXext... " >&6; }
9559 if ${ac_cv_lib_soname_Xext+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_check_soname_save_LIBS=$LIBS
9563 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9570 #ifdef __cplusplus
9571 extern "C"
9572 #endif
9573 char XextCreateExtension ();
9575 main ()
9577 return XextCreateExtension ();
9579 return 0;
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 case "$LIBEXT" in
9584 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9585 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'` ;;
9586 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9587 if ${ac_cv_lib_soname_Xext:+false} :; then :
9588 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9589 fi ;;
9590 esac
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_soname_save_LIBS
9596 if ${ac_cv_lib_soname_Xext:+false} :; then :
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9598 $as_echo "not found" >&6; }
9600 else
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9602 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9604 cat >>confdefs.h <<_ACEOF
9605 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9606 _ACEOF
9608 X_LIBS="$X_LIBS -lXext"
9610 X_LIBS="$X_LIBS -lX11"
9612 for ac_header in X11/Xlib.h \
9613 X11/XKBlib.h \
9614 X11/Xutil.h \
9615 X11/Xcursor/Xcursor.h \
9616 X11/extensions/shape.h \
9617 X11/extensions/XInput.h \
9618 X11/extensions/XInput2.h \
9619 X11/extensions/XShm.h \
9620 X11/extensions/Xcomposite.h \
9621 X11/extensions/Xinerama.h \
9622 X11/extensions/Xrandr.h \
9623 X11/extensions/Xrender.h \
9624 X11/extensions/xf86vmode.h \
9625 X11/extensions/xf86vmproto.h
9626 do :
9627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9629 # include <X11/Xlib.h>
9630 #endif
9631 #ifdef HAVE_X11_XUTIL_H
9632 # include <X11/Xutil.h>
9633 #endif
9635 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9636 cat >>confdefs.h <<_ACEOF
9637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9638 _ACEOF
9642 done
9645 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9646 then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9648 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9649 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_check_lib_save_LIBS=$LIBS
9653 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char XkbQueryExtension ();
9665 main ()
9667 return XkbQueryExtension ();
9669 return 0;
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 ac_cv_lib_X11_XkbQueryExtension=yes
9674 else
9675 ac_cv_lib_X11_XkbQueryExtension=no
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9682 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9683 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9685 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9691 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9692 then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9694 $as_echo_n "checking for -lXcursor... " >&6; }
9695 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9696 $as_echo_n "(cached) " >&6
9697 else
9698 ac_check_soname_save_LIBS=$LIBS
9699 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9703 /* Override any GCC internal prototype to avoid an error.
9704 Use char because int might match the return type of a GCC
9705 builtin and then its argument prototype would still apply. */
9706 #ifdef __cplusplus
9707 extern "C"
9708 #endif
9709 char XcursorImageLoadCursor ();
9711 main ()
9713 return XcursorImageLoadCursor ();
9715 return 0;
9717 _ACEOF
9718 if ac_fn_c_try_link "$LINENO"; then :
9719 case "$LIBEXT" in
9720 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9721 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'` ;;
9722 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9723 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9724 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9725 fi ;;
9726 esac
9728 rm -f core conftest.err conftest.$ac_objext \
9729 conftest$ac_exeext conftest.$ac_ext
9730 LIBS=$ac_check_soname_save_LIBS
9732 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9734 $as_echo "not found" >&6; }
9736 else
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9738 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9740 cat >>confdefs.h <<_ACEOF
9741 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9742 _ACEOF
9747 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9748 case "x$with_xcursor" in
9749 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9750 xno) ;;
9751 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9752 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9753 esac
9756 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9757 then
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9759 $as_echo_n "checking for -lXi... " >&6; }
9760 if ${ac_cv_lib_soname_Xi+:} false; then :
9761 $as_echo_n "(cached) " >&6
9762 else
9763 ac_check_soname_save_LIBS=$LIBS
9764 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766 /* end confdefs.h. */
9768 /* Override any GCC internal prototype to avoid an error.
9769 Use char because int might match the return type of a GCC
9770 builtin and then its argument prototype would still apply. */
9771 #ifdef __cplusplus
9772 extern "C"
9773 #endif
9774 char XOpenDevice ();
9776 main ()
9778 return XOpenDevice ();
9780 return 0;
9782 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
9784 case "$LIBEXT" in
9785 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9786 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'` ;;
9787 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9788 if ${ac_cv_lib_soname_Xi:+false} :; then :
9789 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9790 fi ;;
9791 esac
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LIBS=$ac_check_soname_save_LIBS
9797 if ${ac_cv_lib_soname_Xi:+false} :; then :
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9799 $as_echo "not found" >&6; }
9801 else
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9803 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9805 cat >>confdefs.h <<_ACEOF
9806 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9807 _ACEOF
9812 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9813 case "x$with_xinput" in
9814 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9815 xno) ;;
9816 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9817 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9818 esac
9821 if test "x$ac_cv_lib_soname_Xi" != x
9822 then
9823 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9824 case "x$with_xinput2" in
9825 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9826 xno) ;;
9827 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9828 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9829 esac
9833 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9834 then
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9836 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9837 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_check_lib_save_LIBS=$LIBS
9841 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9848 #ifdef __cplusplus
9849 extern "C"
9850 #endif
9851 char XShmQueryExtension ();
9853 main ()
9855 return XShmQueryExtension ();
9857 return 0;
9859 _ACEOF
9860 if ac_fn_c_try_link "$LINENO"; then :
9861 ac_cv_lib_Xext_XShmQueryExtension=yes
9862 else
9863 ac_cv_lib_Xext_XShmQueryExtension=no
9865 rm -f core conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9870 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9871 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9873 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9878 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9879 case "x$with_xshm" in
9880 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9881 xno) ;;
9882 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9883 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9884 esac
9887 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9888 then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9890 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9891 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XShapeQueryExtension ();
9907 main ()
9909 return XShapeQueryExtension ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_lib_Xext_XShapeQueryExtension=yes
9916 else
9917 ac_cv_lib_Xext_XShapeQueryExtension=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9924 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9925 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9927 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9932 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9933 case "x$with_xshape" in
9934 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9935 xno) ;;
9936 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9937 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9938 esac
9941 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9942 then
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9944 $as_echo_n "checking for -lXxf86vm... " >&6; }
9945 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9946 $as_echo_n "(cached) " >&6
9947 else
9948 ac_check_soname_save_LIBS=$LIBS
9949 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9956 #ifdef __cplusplus
9957 extern "C"
9958 #endif
9959 char XF86VidModeQueryExtension ();
9961 main ()
9963 return XF86VidModeQueryExtension ();
9965 return 0;
9967 _ACEOF
9968 if ac_fn_c_try_link "$LINENO"; then :
9969 case "$LIBEXT" in
9970 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9971 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'` ;;
9972 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9973 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9974 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9975 fi ;;
9976 esac
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS=$ac_check_soname_save_LIBS
9982 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9984 $as_echo "not found" >&6; }
9986 else
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9988 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9990 cat >>confdefs.h <<_ACEOF
9991 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9992 _ACEOF
9997 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9998 case "x$with_xxf86vm" in
9999 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10000 xno) ;;
10001 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10002 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10003 esac
10006 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10007 then
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10009 $as_echo_n "checking for -lXrender... " >&6; }
10010 if ${ac_cv_lib_soname_Xrender+:} false; then :
10011 $as_echo_n "(cached) " >&6
10012 else
10013 ac_check_soname_save_LIBS=$LIBS
10014 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10021 #ifdef __cplusplus
10022 extern "C"
10023 #endif
10024 char XRenderQueryExtension ();
10026 main ()
10028 return XRenderQueryExtension ();
10030 return 0;
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 case "$LIBEXT" in
10035 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10036 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'` ;;
10037 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10038 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10039 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10040 fi ;;
10041 esac
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 LIBS=$ac_check_soname_save_LIBS
10047 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10049 $as_echo "not found" >&6; }
10051 else
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10053 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10055 cat >>confdefs.h <<_ACEOF
10056 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10057 _ACEOF
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10060 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10061 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XRenderSetPictureTransform ();
10077 main ()
10079 return XRenderSetPictureTransform ();
10081 return 0;
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10086 else
10087 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_lib_save_LIBS
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10094 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10095 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10097 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10102 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10103 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10104 $as_echo_n "(cached) " >&6
10105 else
10106 ac_check_lib_save_LIBS=$LIBS
10107 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10114 #ifdef __cplusplus
10115 extern "C"
10116 #endif
10117 char XRenderCreateLinearGradient ();
10119 main ()
10121 return XRenderCreateLinearGradient ();
10123 return 0;
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10128 else
10129 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10136 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10137 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10139 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10146 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10147 case "x$with_xrender" in
10148 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10149 xno) ;;
10150 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10151 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10152 esac
10155 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10156 then
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 #include <X11/Xlib.h>
10160 #include <X11/extensions/Xrandr.h>
10162 main ()
10164 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10166 return 0;
10168 _ACEOF
10169 if ac_fn_c_try_compile "$LINENO"; then :
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10171 $as_echo_n "checking for -lXrandr... " >&6; }
10172 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char XRRQueryExtension ();
10188 main ()
10190 return XRRQueryExtension ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 case "$LIBEXT" in
10197 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10201 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 fi ;;
10203 esac
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10213 else
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10215 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10217 cat >>confdefs.h <<_ACEOF
10218 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10219 _ACEOF
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10223 #include <X11/Xlib.h>
10224 #include <X11/extensions/Xrandr.h>
10226 main ()
10228 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10230 return 0;
10232 _ACEOF
10233 if ac_fn_c_try_compile "$LINENO"; then :
10235 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10243 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10244 case "x$with_xrandr" in
10245 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10246 xno) ;;
10247 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10248 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10249 esac
10252 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10253 then
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10256 #include <X11/Xlib.h>
10257 #include <X11/extensions/Xinerama.h>
10259 main ()
10261 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10263 return 0;
10265 _ACEOF
10266 if ac_fn_c_try_compile "$LINENO"; then :
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10268 $as_echo_n "checking for -lXinerama... " >&6; }
10269 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_soname_save_LIBS=$LIBS
10273 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XineramaQueryScreens ();
10285 main ()
10287 return XineramaQueryScreens ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 case "$LIBEXT" in
10294 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10295 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'` ;;
10296 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10297 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10298 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10299 fi ;;
10300 esac
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 LIBS=$ac_check_soname_save_LIBS
10306 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10308 $as_echo "not found" >&6; }
10310 else
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10312 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10314 cat >>confdefs.h <<_ACEOF
10315 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10316 _ACEOF
10321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10323 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10324 case "x$with_xinerama" in
10325 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10326 xno) ;;
10327 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10328 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10329 esac
10332 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10333 then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10335 $as_echo_n "checking for -lXcomposite... " >&6; }
10336 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_check_soname_save_LIBS=$LIBS
10340 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10347 #ifdef __cplusplus
10348 extern "C"
10349 #endif
10350 char XCompositeRedirectWindow ();
10352 main ()
10354 return XCompositeRedirectWindow ();
10356 return 0;
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 case "$LIBEXT" in
10361 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10362 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'` ;;
10363 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10364 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10365 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10366 fi ;;
10367 esac
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_soname_save_LIBS
10373 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10375 $as_echo "not found" >&6; }
10377 else
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10379 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10381 cat >>confdefs.h <<_ACEOF
10382 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10383 _ACEOF
10388 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10389 case "x$with_xcomposite" in
10390 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10391 xno) ;;
10392 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10393 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10394 esac
10397 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10398 #include <X11/Xlib.h>
10399 #endif
10401 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10403 cat >>confdefs.h <<_ACEOF
10404 #define HAVE_XICCALLBACK_CALLBACK 1
10405 _ACEOF
10409 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10410 #include <X11/Xlib.h>
10411 #endif
10413 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10415 cat >>confdefs.h <<_ACEOF
10416 #define HAVE_XEVENT_XCOOKIE 1
10417 _ACEOF
10424 opengl_msg=""
10425 if test "x$with_opengl" != "xno"
10426 then
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10428 $as_echo_n "checking for -lGL... " >&6; }
10429 if ${ac_cv_lib_soname_GL+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_check_soname_save_LIBS=$LIBS
10433 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char glXCreateContext ();
10445 main ()
10447 return glXCreateContext ();
10449 return 0;
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 case "$LIBEXT" in
10454 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10455 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'` ;;
10456 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10457 if ${ac_cv_lib_soname_GL:+false} :; then :
10458 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10459 fi ;;
10460 esac
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 LIBS=$ac_check_soname_save_LIBS
10466 if ${ac_cv_lib_soname_GL:+false} :; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10468 $as_echo "not found" >&6; }
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10470 $as_echo_n "checking for -lGL... " >&6; }
10471 if ${ac_cv_lib_soname_GL+:} false; then :
10472 $as_echo_n "(cached) " >&6
10473 else
10474 ac_check_soname_save_LIBS=$LIBS
10475 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"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10479 /* Override any GCC internal prototype to avoid an error.
10480 Use char because int might match the return type of a GCC
10481 builtin and then its argument prototype would still apply. */
10482 #ifdef __cplusplus
10483 extern "C"
10484 #endif
10485 char glXCreateContext ();
10487 main ()
10489 return glXCreateContext ();
10491 return 0;
10493 _ACEOF
10494 if ac_fn_c_try_link "$LINENO"; then :
10495 case "$LIBEXT" in
10496 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10497 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'` ;;
10498 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10499 if ${ac_cv_lib_soname_GL:+false} :; then :
10500 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10501 fi ;;
10502 esac
10504 rm -f core conftest.err conftest.$ac_objext \
10505 conftest$ac_exeext conftest.$ac_ext
10506 LIBS=$ac_check_soname_save_LIBS
10508 if ${ac_cv_lib_soname_GL:+false} :; then :
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10510 $as_echo "not found" >&6; }
10511 if test -f /usr/X11R6/lib/libGL.a
10512 then
10513 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10514 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10515 else
10516 opengl_msg="No OpenGL library found on this system."
10518 else
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10520 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10522 cat >>confdefs.h <<_ACEOF
10523 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10524 _ACEOF
10526 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"
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10530 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10532 cat >>confdefs.h <<_ACEOF
10533 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10534 _ACEOF
10536 OPENGL_LIBS="-lGL"
10538 if test "x$with_glu" != "xno"
10539 then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10541 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10542 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10543 $as_echo_n "(cached) " >&6
10544 else
10545 ac_check_lib_save_LIBS=$LIBS
10546 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10550 /* Override any GCC internal prototype to avoid an error.
10551 Use char because int might match the return type of a GCC
10552 builtin and then its argument prototype would still apply. */
10553 #ifdef __cplusplus
10554 extern "C"
10555 #endif
10556 char gluLookAt ();
10558 main ()
10560 return gluLookAt ();
10562 return 0;
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 ac_cv_lib_GLU_gluLookAt=yes
10567 else
10568 ac_cv_lib_GLU_gluLookAt=no
10570 rm -f core conftest.err conftest.$ac_objext \
10571 conftest$ac_exeext conftest.$ac_ext
10572 LIBS=$ac_check_lib_save_LIBS
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10575 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10576 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10580 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10581 case "x$with_glu" in
10582 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10583 xno) ;;
10584 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10585 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10586 esac
10590 if test "x$with_osmesa" != "xno"
10591 then
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10593 $as_echo_n "checking for -lOSMesa... " >&6; }
10594 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_check_soname_save_LIBS=$LIBS
10598 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10605 #ifdef __cplusplus
10606 extern "C"
10607 #endif
10608 char glAccum ();
10610 main ()
10612 return glAccum ();
10614 return 0;
10616 _ACEOF
10617 if ac_fn_c_try_link "$LINENO"; then :
10618 case "$LIBEXT" in
10619 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10620 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'` ;;
10621 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10622 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10623 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10624 fi ;;
10625 esac
10627 rm -f core conftest.err conftest.$ac_objext \
10628 conftest$ac_exeext conftest.$ac_ext
10629 LIBS=$ac_check_soname_save_LIBS
10631 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10633 $as_echo "not found" >&6; }
10635 else
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10637 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10639 cat >>confdefs.h <<_ACEOF
10640 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10641 _ACEOF
10645 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10646 case "x$with_osmesa" in
10647 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10648 xno) ;;
10649 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10650 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10651 esac
10655 if test -n "$opengl_msg"; then :
10656 case "x$with_opengl" in
10657 x) as_fn_append wine_warnings "|$opengl_msg
10658 OpenGL and Direct3D won't be supported." ;;
10659 xno) ;;
10660 *) as_fn_error $? "$opengl_msg
10661 OpenGL and Direct3D won't be supported.
10662 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10663 esac
10666 CPPFLAGS="$ac_save_CPPFLAGS"
10667 else
10668 X_CFLAGS=""
10669 X_LIBS=""
10670 enable_winex11_drv=${enable_winex11_drv:-no}
10672 if test "x$X_LIBS" = "x"; then :
10673 case "x$with_x" in
10674 xno) ;;
10675 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10676 without X support, which probably isn't what you want. You will need
10677 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10678 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10679 esac
10682 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10684 if test "$ac_cv_header_CL_cl_h" = "yes"
10685 then
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10687 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10688 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10689 $as_echo_n "(cached) " >&6
10690 else
10691 ac_check_lib_save_LIBS=$LIBS
10692 LIBS="-lOpenCL $LIBS"
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10696 /* Override any GCC internal prototype to avoid an error.
10697 Use char because int might match the return type of a GCC
10698 builtin and then its argument prototype would still apply. */
10699 #ifdef __cplusplus
10700 extern "C"
10701 #endif
10702 char clGetPlatformInfo ();
10704 main ()
10706 return clGetPlatformInfo ();
10708 return 0;
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"; then :
10712 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10713 else
10714 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10716 rm -f core conftest.err conftest.$ac_objext \
10717 conftest$ac_exeext conftest.$ac_ext
10718 LIBS=$ac_check_lib_save_LIBS
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10721 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10722 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10723 OPENCL_LIBS="-lOpenCL"
10728 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10729 case "x$with_opencl" in
10730 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10731 xno) ;;
10732 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10733 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10734 esac
10736 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10738 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10739 then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10741 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10742 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10743 $as_echo_n "(cached) " >&6
10744 else
10745 ac_check_lib_save_LIBS=$LIBS
10746 LIBS="-lpcap $LIBS"
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char pcap_create ();
10758 main ()
10760 return pcap_create ();
10762 return 0;
10764 _ACEOF
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_pcap_pcap_create=yes
10767 else
10768 ac_cv_lib_pcap_pcap_create=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10775 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10776 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10777 LIBPCAP="-lpcap"
10782 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10783 case "x$with_pcap" in
10784 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10787 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10788 esac
10790 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10793 if test "x$with_xml" != "xno"
10794 then
10795 if ${XML2_CFLAGS:+false} :; then :
10796 if ${PKG_CONFIG+:} false; then :
10797 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10800 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10801 if ${XML2_LIBS:+false} :; then :
10802 if ${PKG_CONFIG+:} false; then :
10803 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10806 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10807 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10808 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10809 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10810 ac_save_CPPFLAGS=$CPPFLAGS
10811 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10812 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10813 do :
10814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10815 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10817 cat >>confdefs.h <<_ACEOF
10818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10819 _ACEOF
10823 done
10825 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"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10828 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10829 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-lxml2 $XML2_LIBS $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char xmlParseMemory ();
10845 main ()
10847 return xmlParseMemory ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 ac_cv_lib_xml2_xmlParseMemory=yes
10854 else
10855 ac_cv_lib_xml2_xmlParseMemory=no
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10862 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10863 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10865 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10867 else
10868 XML2_LIBS=""
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10872 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10873 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 ac_check_lib_save_LIBS=$LIBS
10877 LIBS="-lxml2 $XML2_LIBS $LIBS"
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10884 #ifdef __cplusplus
10885 extern "C"
10886 #endif
10887 char xmlReadMemory ();
10889 main ()
10891 return xmlReadMemory ();
10893 return 0;
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"; then :
10897 ac_cv_lib_xml2_xmlReadMemory=yes
10898 else
10899 ac_cv_lib_xml2_xmlReadMemory=no
10901 rm -f core conftest.err conftest.$ac_objext \
10902 conftest$ac_exeext conftest.$ac_ext
10903 LIBS=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10906 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10907 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10909 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10914 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10915 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lxml2 $XML2_LIBS $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char xmlNewDocPI ();
10931 main ()
10933 return xmlNewDocPI ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_xml2_xmlNewDocPI=yes
10940 else
10941 ac_cv_lib_xml2_xmlNewDocPI=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10948 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10949 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10951 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10956 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10957 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10958 $as_echo_n "(cached) " >&6
10959 else
10960 ac_check_lib_save_LIBS=$LIBS
10961 LIBS="-lxml2 $XML2_LIBS $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10968 #ifdef __cplusplus
10969 extern "C"
10970 #endif
10971 char xmlSchemaSetParserStructuredErrors ();
10973 main ()
10975 return xmlSchemaSetParserStructuredErrors ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10982 else
10983 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10990 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10991 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10993 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10998 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10999 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lxml2 $XML2_LIBS $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char xmlSchemaSetValidStructuredErrors ();
11015 main ()
11017 return xmlSchemaSetValidStructuredErrors ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11024 else
11025 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11032 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11033 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11035 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11040 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11041 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11042 $as_echo_n "(cached) " >&6
11043 else
11044 ac_check_lib_save_LIBS=$LIBS
11045 LIBS="-lxml2 $XML2_LIBS $LIBS"
11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11052 #ifdef __cplusplus
11053 extern "C"
11054 #endif
11055 char xmlFirstElementChild ();
11057 main ()
11059 return xmlFirstElementChild ();
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11065 ac_cv_lib_xml2_xmlFirstElementChild=yes
11066 else
11067 ac_cv_lib_xml2_xmlFirstElementChild=no
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_lib_save_LIBS
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11074 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11075 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11077 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11081 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11083 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11085 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11089 else
11090 XML2_CFLAGS=""
11091 XML2_LIBS=""
11093 CPPFLAGS=$ac_save_CPPFLAGS
11094 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11095 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11098 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11099 case "x$with_xml" in
11100 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11101 xno) ;;
11102 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11103 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11104 esac
11107 if test "x$with_xslt" != "xno"
11108 then
11109 if ${XSLT_CFLAGS:+false} :; then :
11110 if ${PKG_CONFIG+:} false; then :
11111 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11114 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11115 if ${XSLT_LIBS:+false} :; then :
11116 if ${PKG_CONFIG+:} false; then :
11117 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11120 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11121 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11122 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11123 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11124 ac_save_CPPFLAGS=$CPPFLAGS
11125 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11126 for ac_header in libxslt/pattern.h libxslt/transform.h
11127 do :
11128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11129 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11130 # include <libxslt/pattern.h>
11131 #endif
11133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11134 cat >>confdefs.h <<_ACEOF
11135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11136 _ACEOF
11140 done
11142 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11143 then
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11145 $as_echo_n "checking for -lxslt... " >&6; }
11146 if ${ac_cv_lib_soname_xslt+:} false; then :
11147 $as_echo_n "(cached) " >&6
11148 else
11149 ac_check_soname_save_LIBS=$LIBS
11150 LIBS="-lxslt $XSLT_LIBS $LIBS"
11151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11154 /* Override any GCC internal prototype to avoid an error.
11155 Use char because int might match the return type of a GCC
11156 builtin and then its argument prototype would still apply. */
11157 #ifdef __cplusplus
11158 extern "C"
11159 #endif
11160 char xsltCompilePattern ();
11162 main ()
11164 return xsltCompilePattern ();
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 case "$LIBEXT" in
11171 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11172 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'` ;;
11173 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11174 if ${ac_cv_lib_soname_xslt:+false} :; then :
11175 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11176 fi ;;
11177 esac
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_soname_save_LIBS
11183 if ${ac_cv_lib_soname_xslt:+false} :; then :
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11185 $as_echo "not found" >&6; }
11187 else
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11189 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11191 cat >>confdefs.h <<_ACEOF
11192 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11193 _ACEOF
11197 else
11198 XSLT_CFLAGS=""
11200 CPPFLAGS=$ac_save_CPPFLAGS
11201 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11202 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11205 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11206 case "x$with_xslt" in
11207 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11208 xno) ;;
11209 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11210 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11211 esac
11214 if test "x$with_dbus" != "xno"
11215 then
11216 if ${DBUS_CFLAGS:+false} :; then :
11217 if ${PKG_CONFIG+:} false; then :
11218 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11222 if ${DBUS_LIBS:+false} :; then :
11223 if ${PKG_CONFIG+:} false; then :
11224 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11229 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11230 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11231 ac_save_CPPFLAGS=$CPPFLAGS
11232 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11233 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11234 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11236 $as_echo_n "checking for -ldbus-1... " >&6; }
11237 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11238 $as_echo_n "(cached) " >&6
11239 else
11240 ac_check_soname_save_LIBS=$LIBS
11241 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char dbus_connection_close ();
11253 main ()
11255 return dbus_connection_close ();
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 case "$LIBEXT" in
11262 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11263 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'` ;;
11264 *) 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'`
11265 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11266 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11267 fi ;;
11268 esac
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_soname_save_LIBS
11274 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11276 $as_echo "not found" >&6; }
11277 DBUS_CFLAGS=""
11278 else
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11280 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11282 cat >>confdefs.h <<_ACEOF
11283 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11284 _ACEOF
11288 else
11289 DBUS_CFLAGS=""
11293 CPPFLAGS=$ac_save_CPPFLAGS
11294 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11295 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11298 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11299 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11300 case "x$with_dbus" in
11301 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11302 xno) ;;
11303 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11304 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11305 esac
11308 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11309 then
11310 if ${HAL_CFLAGS:+false} :; then :
11311 if ${PKG_CONFIG+:} false; then :
11312 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11316 if ${HAL_LIBS:+false} :; then :
11317 if ${PKG_CONFIG+:} false; then :
11318 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11322 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11323 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11324 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11325 ac_save_CPPFLAGS=$CPPFLAGS
11326 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11327 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11328 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11330 $as_echo_n "checking for -lhal... " >&6; }
11331 if ${ac_cv_lib_soname_hal+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_soname_save_LIBS=$LIBS
11335 LIBS="-lhal $HAL_LIBS $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char libhal_ctx_new ();
11347 main ()
11349 return libhal_ctx_new ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 case "$LIBEXT" in
11356 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11357 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'` ;;
11358 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11359 if ${ac_cv_lib_soname_hal:+false} :; then :
11360 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11361 fi ;;
11362 esac
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_soname_save_LIBS
11368 if ${ac_cv_lib_soname_hal:+false} :; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11370 $as_echo "not found" >&6; }
11371 HAL_CFLAGS=""
11372 else
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11374 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11376 cat >>confdefs.h <<_ACEOF
11377 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11378 _ACEOF
11382 else
11383 HAL_CFLAGS=""
11387 CPPFLAGS=$ac_save_CPPFLAGS
11388 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11389 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11391 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11392 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11393 case "x$with_hal" in
11394 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11395 xno) ;;
11396 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11397 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11398 esac
11402 if test "x$with_gnutls" != "xno"
11403 then
11404 if ${GNUTLS_CFLAGS:+false} :; then :
11405 if ${PKG_CONFIG+:} false; then :
11406 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11410 if ${GNUTLS_LIBS:+false} :; then :
11411 if ${PKG_CONFIG+:} false; then :
11412 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11417 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11418 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11419 ac_save_CPPFLAGS=$CPPFLAGS
11420 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11421 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11422 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11425 #include <gnutls/gnutls.h>
11426 #include <gnutls/crypto.h>
11428 main ()
11430 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11432 return 0;
11434 _ACEOF
11435 if ac_fn_c_try_compile "$LINENO"; then :
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11437 $as_echo_n "checking for -lgnutls... " >&6; }
11438 if ${ac_cv_lib_soname_gnutls+:} false; then :
11439 $as_echo_n "(cached) " >&6
11440 else
11441 ac_check_soname_save_LIBS=$LIBS
11442 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11449 #ifdef __cplusplus
11450 extern "C"
11451 #endif
11452 char gnutls_global_init ();
11454 main ()
11456 return gnutls_global_init ();
11458 return 0;
11460 _ACEOF
11461 if ac_fn_c_try_link "$LINENO"; then :
11462 case "$LIBEXT" in
11463 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11464 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'` ;;
11465 *) 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'`
11466 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11467 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'`
11468 fi ;;
11469 esac
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_soname_save_LIBS
11475 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11477 $as_echo "not found" >&6; }
11478 GNUTLS_CFLAGS=""
11479 else
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11481 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11483 cat >>confdefs.h <<_ACEOF
11484 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11485 _ACEOF
11490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11491 else
11492 GNUTLS_CFLAGS=""
11496 CPPFLAGS=$ac_save_CPPFLAGS
11497 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11498 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11501 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11502 case "x$with_gnutls" in
11503 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11504 xno) ;;
11505 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11506 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11507 esac
11510 CURSES_LIBS=""
11511 if test "$ac_cv_header_ncurses_h" = "yes"
11512 then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11514 $as_echo_n "checking for -lncurses... " >&6; }
11515 if ${ac_cv_lib_soname_ncurses+:} false; then :
11516 $as_echo_n "(cached) " >&6
11517 else
11518 ac_check_soname_save_LIBS=$LIBS
11519 LIBS="-lncurses $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char waddch ();
11531 main ()
11533 return waddch ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 case "$LIBEXT" in
11540 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11541 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'` ;;
11542 *) 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'`
11543 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11544 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11545 fi ;;
11546 esac
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_soname_save_LIBS
11552 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11554 $as_echo "not found" >&6; }
11556 else
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11558 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11560 cat >>confdefs.h <<_ACEOF
11561 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11562 _ACEOF
11564 CURSES_LIBS="-lncurses"
11566 elif test "$ac_cv_header_curses_h" = "yes"
11567 then
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11569 $as_echo_n "checking for -lcurses... " >&6; }
11570 if ${ac_cv_lib_soname_curses+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_soname_save_LIBS=$LIBS
11574 LIBS="-lcurses $LIBS"
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576 /* end confdefs.h. */
11578 /* Override any GCC internal prototype to avoid an error.
11579 Use char because int might match the return type of a GCC
11580 builtin and then its argument prototype would still apply. */
11581 #ifdef __cplusplus
11582 extern "C"
11583 #endif
11584 char waddch ();
11586 main ()
11588 return waddch ();
11590 return 0;
11592 _ACEOF
11593 if ac_fn_c_try_link "$LINENO"; then :
11594 case "$LIBEXT" in
11595 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11596 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'` ;;
11597 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11598 if ${ac_cv_lib_soname_curses:+false} :; then :
11599 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11600 fi ;;
11601 esac
11603 rm -f core conftest.err conftest.$ac_objext \
11604 conftest$ac_exeext conftest.$ac_ext
11605 LIBS=$ac_check_soname_save_LIBS
11607 if ${ac_cv_lib_soname_curses:+false} :; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11609 $as_echo "not found" >&6; }
11611 else
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11613 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11615 cat >>confdefs.h <<_ACEOF
11616 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11617 _ACEOF
11619 CURSES_LIBS="-lcurses"
11622 ac_save_LIBS="$LIBS"
11623 LIBS="$LIBS $CURSES_LIBS"
11624 for ac_func in mousemask
11625 do :
11626 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11627 if test "x$ac_cv_func_mousemask" = xyes; then :
11628 cat >>confdefs.h <<_ACEOF
11629 #define HAVE_MOUSEMASK 1
11630 _ACEOF
11633 done
11635 LIBS="$ac_save_LIBS"
11636 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11637 case "x$with_curses" in
11638 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11639 xno) ;;
11640 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11641 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11642 esac
11645 if test "x$with_sane" != "xno"
11646 then
11647 if ${SANE_CFLAGS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11652 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11653 if ${SANE_LIBS:+false} :; then :
11654 if ${PKG_CONFIG+:} false; then :
11655 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11658 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11660 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11661 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11662 ac_save_CPPFLAGS=$CPPFLAGS
11663 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11664 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11665 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11667 $as_echo_n "checking for -lsane... " >&6; }
11668 if ${ac_cv_lib_soname_sane+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_soname_save_LIBS=$LIBS
11672 LIBS="-lsane $SANE_LIBS $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char sane_init ();
11684 main ()
11686 return sane_init ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 case "$LIBEXT" in
11693 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11694 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'` ;;
11695 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11696 if ${ac_cv_lib_soname_sane:+false} :; then :
11697 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11698 fi ;;
11699 esac
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_soname_save_LIBS
11705 if ${ac_cv_lib_soname_sane:+false} :; then :
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11707 $as_echo "not found" >&6; }
11708 SANE_CFLAGS=""
11709 else
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11711 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11713 cat >>confdefs.h <<_ACEOF
11714 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11715 _ACEOF
11719 else
11720 SANE_CFLAGS=""
11724 CPPFLAGS=$ac_save_CPPFLAGS
11725 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11726 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11729 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11730 case "x$with_sane" in
11731 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11732 xno) ;;
11733 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11734 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11735 esac
11738 if test "x$with_v4l" != "xno"
11739 then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11741 $as_echo_n "checking for -lv4l1... " >&6; }
11742 if ${ac_cv_lib_soname_v4l1+:} false; then :
11743 $as_echo_n "(cached) " >&6
11744 else
11745 ac_check_soname_save_LIBS=$LIBS
11746 LIBS="-lv4l1 $LIBS"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 /* Override any GCC internal prototype to avoid an error.
11751 Use char because int might match the return type of a GCC
11752 builtin and then its argument prototype would still apply. */
11753 #ifdef __cplusplus
11754 extern "C"
11755 #endif
11756 char v4l1_open ();
11758 main ()
11760 return v4l1_open ();
11762 return 0;
11764 _ACEOF
11765 if ac_fn_c_try_link "$LINENO"; then :
11766 case "$LIBEXT" in
11767 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11768 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'` ;;
11769 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11770 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11771 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11772 fi ;;
11773 esac
11775 rm -f core conftest.err conftest.$ac_objext \
11776 conftest$ac_exeext conftest.$ac_ext
11777 LIBS=$ac_check_soname_save_LIBS
11779 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11781 $as_echo "not found" >&6; }
11783 else
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11785 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11787 cat >>confdefs.h <<_ACEOF
11788 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11789 _ACEOF
11794 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11795 case "x$with_v4l" in
11796 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11797 xno) ;;
11798 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11799 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11800 esac
11803 if test "x$with_gphoto" != "xno"
11804 then
11805 if ${GPHOTO2_CFLAGS:+false} :; then :
11806 if ${PKG_CONFIG+:} false; then :
11807 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11810 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11811 if ${GPHOTO2_LIBS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11816 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11817 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11818 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11820 ac_save_CPPFLAGS=$CPPFLAGS
11821 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11822 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11823 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11825 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11826 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 ac_check_lib_save_LIBS=$LIBS
11830 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11834 /* Override any GCC internal prototype to avoid an error.
11835 Use char because int might match the return type of a GCC
11836 builtin and then its argument prototype would still apply. */
11837 #ifdef __cplusplus
11838 extern "C"
11839 #endif
11840 char gp_camera_new ();
11842 main ()
11844 return gp_camera_new ();
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_link "$LINENO"; then :
11850 ac_cv_lib_gphoto2_gp_camera_new=yes
11851 else
11852 ac_cv_lib_gphoto2_gp_camera_new=no
11854 rm -f core conftest.err conftest.$ac_objext \
11855 conftest$ac_exeext conftest.$ac_ext
11856 LIBS=$ac_check_lib_save_LIBS
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11859 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11860 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11862 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11864 else
11865 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11868 else
11869 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11873 CPPFLAGS=$ac_save_CPPFLAGS
11874 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11875 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11877 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11878 if ${PKG_CONFIG+:} false; then :
11879 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11882 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11883 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11884 if ${PKG_CONFIG+:} false; then :
11885 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11888 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11889 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11890 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11891 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11892 ac_save_CPPFLAGS=$CPPFLAGS
11893 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11894 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11895 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11897 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11898 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11899 $as_echo_n "(cached) " >&6
11900 else
11901 ac_check_lib_save_LIBS=$LIBS
11902 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11904 /* end confdefs.h. */
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11909 #ifdef __cplusplus
11910 extern "C"
11911 #endif
11912 char gp_port_info_list_new ();
11914 main ()
11916 return gp_port_info_list_new ();
11918 return 0;
11920 _ACEOF
11921 if ac_fn_c_try_link "$LINENO"; then :
11922 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11923 else
11924 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11926 rm -f core conftest.err conftest.$ac_objext \
11927 conftest$ac_exeext conftest.$ac_ext
11928 LIBS=$ac_check_lib_save_LIBS
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11931 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11932 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11934 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11936 else
11937 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11940 else
11941 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11945 CPPFLAGS=$ac_save_CPPFLAGS
11946 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11947 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11950 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11951 case "x$with_gphoto" in
11952 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11953 xno) ;;
11954 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11955 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11956 esac
11958 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11959 case "x$with_gphoto" in
11960 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11961 xno) ;;
11962 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11963 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11964 esac
11968 if test "$ac_cv_header_resolv_h" = "yes"
11969 then
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11971 $as_echo_n "checking for resolver library... " >&6; }
11972 if ${ac_cv_have_resolv+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_save_LIBS="$LIBS"
11976 for lib in '' -lresolv
11978 LIBS="$lib $ac_save_LIBS"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #ifdef HAVE_NETINET_IN_H
11982 #include <netinet/in.h>
11983 #endif
11984 #include <resolv.h>
11986 main ()
11988 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_link "$LINENO"; then :
11994 ac_cv_have_resolv=${lib:-"none required"}
11995 else
11996 ac_cv_have_resolv="not found"
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 test "x$ac_cv_have_resolv" = "xnot found" || break
12001 done
12002 LIBS="$ac_save_LIBS"
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12005 $as_echo "$ac_cv_have_resolv" >&6; }
12007 case "$ac_cv_have_resolv" in
12008 "not found") ;;
12009 "none required")
12011 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12014 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12016 RESOLV_LIBS=$ac_cv_have_resolv
12018 esac
12021 if test "x$with_cms" != "xno"
12022 then
12023 if ${LCMS2_CFLAGS:+false} :; then :
12024 if ${PKG_CONFIG+:} false; then :
12025 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12029 if ${LCMS2_LIBS:+false} :; then :
12030 if ${PKG_CONFIG+:} false; then :
12031 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12035 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12036 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12037 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12038 ac_save_CPPFLAGS=$CPPFLAGS
12039 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12040 for ac_header in lcms2.h
12041 do :
12042 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12043 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12044 cat >>confdefs.h <<_ACEOF
12045 #define HAVE_LCMS2_H 1
12046 _ACEOF
12050 done
12052 if test "$ac_cv_header_lcms2_h" = "yes"
12053 then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12055 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12056 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char cmsOpenProfileFromFile ();
12072 main ()
12074 return cmsOpenProfileFromFile ();
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12081 else
12082 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_lib_save_LIBS
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12089 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12090 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12092 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12094 else
12095 LCMS2_LIBS=""
12098 else
12099 LCMS2_CFLAGS=""
12100 LCMS2_LIBS=""
12102 CPPFLAGS=$ac_save_CPPFLAGS
12103 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12104 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12107 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12108 case "x$with_cms" in
12109 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12110 xno) ;;
12111 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12112 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12113 esac
12116 if test "x$with_freetype" != "xno"
12117 then
12118 if ${FREETYPE_CFLAGS:+false} :; then :
12119 if ${PKG_CONFIG+:} false; then :
12120 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12123 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12124 if ${FREETYPE_LIBS:+false} :; then :
12125 if ${PKG_CONFIG+:} false; then :
12126 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12129 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12130 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12131 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12132 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12133 ac_save_CPPFLAGS=$CPPFLAGS
12134 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12135 for ac_header in ft2build.h
12136 do :
12137 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12138 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12139 cat >>confdefs.h <<_ACEOF
12140 #define HAVE_FT2BUILD_H 1
12141 _ACEOF
12145 done
12147 if test "$ac_cv_header_ft2build_h" = "yes"
12148 then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12150 $as_echo_n "checking for -lfreetype... " >&6; }
12151 if ${ac_cv_lib_soname_freetype+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_soname_save_LIBS=$LIBS
12155 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char FT_Init_FreeType ();
12167 main ()
12169 return FT_Init_FreeType ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 case "$LIBEXT" in
12176 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12177 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'` ;;
12178 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12179 if ${ac_cv_lib_soname_freetype:+false} :; then :
12180 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12181 fi ;;
12182 esac
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_soname_save_LIBS
12188 if ${ac_cv_lib_soname_freetype:+false} :; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12190 $as_echo "not found" >&6; }
12191 FREETYPE_LIBS=""
12192 else
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12194 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12196 cat >>confdefs.h <<_ACEOF
12197 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12198 _ACEOF
12201 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12203 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12204 #include FT_MODULE_H
12206 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12208 cat >>confdefs.h <<_ACEOF
12209 #define HAVE_FT_TRUETYPEENGINETYPE 1
12210 _ACEOF
12216 else
12217 FREETYPE_CFLAGS=""
12218 FREETYPE_LIBS=""
12220 CPPFLAGS=$ac_save_CPPFLAGS
12221 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12222 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12225 if test "x$ac_cv_lib_soname_freetype" = x; then :
12226 case "x$with_freetype" in
12227 xno) ;;
12228 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12229 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12230 esac
12232 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12235 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12236 if ${ac_cv_c_ppdev+:} false; then :
12237 $as_echo_n "(cached) " >&6
12238 else
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12241 #ifdef HAVE_SYS_IOCTL_H
12242 # include <sys/ioctl.h>
12243 #endif
12244 #include <linux/ppdev.h>
12246 main ()
12248 ioctl (1,PPCLAIM,0)
12250 return 0;
12252 _ACEOF
12253 if ac_fn_c_try_compile "$LINENO"; then :
12254 ac_cv_c_ppdev="yes"
12255 else
12256 ac_cv_c_ppdev="no"
12258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12261 $as_echo "$ac_cv_c_ppdev" >&6; }
12262 if test "$ac_cv_c_ppdev" = "yes"
12263 then
12265 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12269 ac_wine_check_funcs_save_LIBS="$LIBS"
12270 LIBS="$LIBS $PTHREAD_LIBS"
12271 for ac_func in \
12272 pthread_attr_get_np \
12273 pthread_getattr_np \
12274 pthread_getthreadid_np \
12275 pthread_get_stackaddr_np \
12276 pthread_get_stacksize_np
12277 do :
12278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12280 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12281 cat >>confdefs.h <<_ACEOF
12282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12283 _ACEOF
12286 done
12288 LIBS="$ac_wine_check_funcs_save_LIBS"
12290 if test "$ac_cv_header_zlib_h" = "yes"
12291 then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12293 $as_echo_n "checking for inflate in -lz... " >&6; }
12294 if ${ac_cv_lib_z_inflate+:} false; then :
12295 $as_echo_n "(cached) " >&6
12296 else
12297 ac_check_lib_save_LIBS=$LIBS
12298 LIBS="-lz $LIBS"
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h. */
12302 /* Override any GCC internal prototype to avoid an error.
12303 Use char because int might match the return type of a GCC
12304 builtin and then its argument prototype would still apply. */
12305 #ifdef __cplusplus
12306 extern "C"
12307 #endif
12308 char inflate ();
12310 main ()
12312 return inflate ();
12314 return 0;
12316 _ACEOF
12317 if ac_fn_c_try_link "$LINENO"; then :
12318 ac_cv_lib_z_inflate=yes
12319 else
12320 ac_cv_lib_z_inflate=no
12322 rm -f core conftest.err conftest.$ac_objext \
12323 conftest$ac_exeext conftest.$ac_ext
12324 LIBS=$ac_check_lib_save_LIBS
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12327 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12328 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12330 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12332 Z_LIBS="-lz"
12337 if test "x$Z_LIBS" = "x"; then :
12338 case "x$with_zlib" in
12339 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12342 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12343 esac
12346 if test "x$enable_tools" != xno
12347 then
12348 if test "$ac_cv_header_gettext_po_h" = "yes"
12349 then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12351 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12352 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_lib_save_LIBS=$LIBS
12356 LIBS="-lgettextpo $LIBS"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char po_message_msgctxt ();
12368 main ()
12370 return po_message_msgctxt ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12377 else
12378 ac_cv_lib_gettextpo_po_message_msgctxt=no
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 LIBS=$ac_check_lib_save_LIBS
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12385 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12386 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12388 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12390 GETTEXTPO_LIBS="-lgettextpo"
12395 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12396 case "x$with_gettextpo" in
12397 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12398 xno) ;;
12399 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12400 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12401 esac
12405 if test "x$with_gstreamer" != "xno"
12406 then
12407 if ${GSTREAMER_CFLAGS:+false} :; then :
12408 if ${PKG_CONFIG+:} false; then :
12409 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12413 if ${GSTREAMER_LIBS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12420 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12422 ac_save_CPPFLAGS=$CPPFLAGS
12423 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12424 ac_gst_incl=""
12425 for i in $GSTREAMER_CFLAGS
12427 case "$i" in
12428 -I*) ac_gst_incl="$ac_gst_incl $i";;
12429 esac
12430 done
12431 GSTREAMER_CFLAGS=$ac_gst_incl
12432 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12433 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12434 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12435 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12436 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12438 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441 #include <gst/app/gstappsink.h>
12443 main ()
12445 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12447 return 0;
12449 _ACEOF
12450 if ac_fn_c_try_compile "$LINENO"; then :
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12452 $as_echo "yes" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12454 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12455 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12456 $as_echo_n "(cached) " >&6
12457 else
12458 ac_check_lib_save_LIBS=$LIBS
12459 LIBS="-lgstreamer-0.10 $LIBS"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 char gst_pad_get_caps_reffed ();
12471 main ()
12473 return gst_pad_get_caps_reffed ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12480 else
12481 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12483 rm -f core conftest.err conftest.$ac_objext \
12484 conftest$ac_exeext conftest.$ac_ext
12485 LIBS=$ac_check_lib_save_LIBS
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12488 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12489 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12491 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12492 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12493 $as_echo_n "(cached) " >&6
12494 else
12495 ac_check_lib_save_LIBS=$LIBS
12496 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 /* Override any GCC internal prototype to avoid an error.
12501 Use char because int might match the return type of a GCC
12502 builtin and then its argument prototype would still apply. */
12503 #ifdef __cplusplus
12504 extern "C"
12505 #endif
12506 char gst_app_buffer_new ();
12508 main ()
12510 return gst_app_buffer_new ();
12512 return 0;
12514 _ACEOF
12515 if ac_fn_c_try_link "$LINENO"; then :
12516 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12517 else
12518 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12520 rm -f core conftest.err conftest.$ac_objext \
12521 conftest$ac_exeext conftest.$ac_ext
12522 LIBS=$ac_check_lib_save_LIBS
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12525 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12526 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12532 else
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12540 else
12541 GSTREAMER_CFLAGS=""
12545 CPPFLAGS=$ac_save_CPPFLAGS
12546 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12547 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12550 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12551 case "x$with_gstreamer" in
12552 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12553 xno) ;;
12554 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12555 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12556 esac
12558 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12560 ALSA_LIBS=""
12562 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12565 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12566 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_lib_save_LIBS=$LIBS
12570 LIBS="-lasound $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char snd_pcm_hw_params_get_access_mask ();
12582 main ()
12584 return snd_pcm_hw_params_get_access_mask ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12591 else
12592 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12594 rm -f core conftest.err conftest.$ac_objext \
12595 conftest$ac_exeext conftest.$ac_ext
12596 LIBS=$ac_check_lib_save_LIBS
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12599 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12600 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12603 #ifdef HAVE_ALSA_ASOUNDLIB_H
12604 #include <alsa/asoundlib.h>
12605 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12606 #include <sys/asoundlib.h>
12607 #endif
12609 main ()
12611 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12613 return 0;
12615 _ACEOF
12616 if ac_fn_c_try_compile "$LINENO"; then :
12617 ALSA_LIBS="-lasound"
12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12624 if test "x$with_oss" != xno
12625 then
12626 ac_save_CPPFLAGS="$CPPFLAGS"
12627 if test -f /etc/oss.conf
12628 then
12629 . /etc/oss.conf
12631 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12632 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12633 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12634 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12635 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12637 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12639 cat >>confdefs.h <<_ACEOF
12640 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12641 _ACEOF
12643 OSS4_CFLAGS="$ac_oss_incl"
12650 CPPFLAGS="$ac_save_CPPFLAGS"
12651 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12652 then
12653 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12657 if test "x$with_capi" != "xno"
12658 then
12659 if ${CAPI20_CFLAGS:+false} :; then :
12660 if ${PKG_CONFIG+:} false; then :
12661 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12665 if ${CAPI20_LIBS:+false} :; then :
12666 if ${PKG_CONFIG+:} false; then :
12667 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12672 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12673 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12674 ac_save_CPPFLAGS=$CPPFLAGS
12675 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12676 for ac_header in capi20.h linux/capi.h
12677 do :
12678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12682 cat >>confdefs.h <<_ACEOF
12683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12684 _ACEOF
12688 done
12690 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12691 then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12693 $as_echo_n "checking for -lcapi20... " >&6; }
12694 if ${ac_cv_lib_soname_capi20+:} false; then :
12695 $as_echo_n "(cached) " >&6
12696 else
12697 ac_check_soname_save_LIBS=$LIBS
12698 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 /* Override any GCC internal prototype to avoid an error.
12703 Use char because int might match the return type of a GCC
12704 builtin and then its argument prototype would still apply. */
12705 #ifdef __cplusplus
12706 extern "C"
12707 #endif
12708 char capi20_register ();
12710 main ()
12712 return capi20_register ();
12714 return 0;
12716 _ACEOF
12717 if ac_fn_c_try_link "$LINENO"; then :
12718 case "$LIBEXT" in
12719 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12720 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'` ;;
12721 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12722 if ${ac_cv_lib_soname_capi20:+false} :; then :
12723 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12724 fi ;;
12725 esac
12727 rm -f core conftest.err conftest.$ac_objext \
12728 conftest$ac_exeext conftest.$ac_ext
12729 LIBS=$ac_check_soname_save_LIBS
12731 if ${ac_cv_lib_soname_capi20:+false} :; then :
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12733 $as_echo "not found" >&6; }
12735 else
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12737 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12739 cat >>confdefs.h <<_ACEOF
12740 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12741 _ACEOF
12746 CPPFLAGS=$ac_save_CPPFLAGS
12747 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12748 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12751 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12752 case "x$with_capi" in
12753 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12754 xno) ;;
12755 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12756 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12757 esac
12760 CUPS_CFLAGS=""
12762 if test "x$with_cups" != "xno"
12763 then
12764 ac_save_CPPFLAGS="$CPPFLAGS"
12765 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12766 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12767 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12768 for ac_header in cups/cups.h
12769 do :
12770 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12771 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12772 cat >>confdefs.h <<_ACEOF
12773 #define HAVE_CUPS_CUPS_H 1
12774 _ACEOF
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12776 $as_echo_n "checking for -lcups... " >&6; }
12777 if ${ac_cv_lib_soname_cups+:} false; then :
12778 $as_echo_n "(cached) " >&6
12779 else
12780 ac_check_soname_save_LIBS=$LIBS
12781 LIBS="-lcups $ac_cups_libs $LIBS"
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12788 #ifdef __cplusplus
12789 extern "C"
12790 #endif
12791 char cupsGetDefault ();
12793 main ()
12795 return cupsGetDefault ();
12797 return 0;
12799 _ACEOF
12800 if ac_fn_c_try_link "$LINENO"; then :
12801 case "$LIBEXT" in
12802 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12803 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'` ;;
12804 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12805 if ${ac_cv_lib_soname_cups:+false} :; then :
12806 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12807 fi ;;
12808 esac
12810 rm -f core conftest.err conftest.$ac_objext \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_soname_save_LIBS
12814 if ${ac_cv_lib_soname_cups:+false} :; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12816 $as_echo "not found" >&6; }
12818 else
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12820 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12822 cat >>confdefs.h <<_ACEOF
12823 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12824 _ACEOF
12826 CUPS_CFLAGS="$ac_cups_cflags"
12830 done
12832 CPPFLAGS="$ac_save_CPPFLAGS"
12834 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12835 case "x$with_cups" in
12836 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12837 xno) ;;
12838 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12839 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12840 esac
12843 if test "x$with_fontconfig" != "xno"
12844 then
12845 if ${FONTCONFIG_CFLAGS:+false} :; then :
12846 if ${PKG_CONFIG+:} false; then :
12847 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12850 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12851 if ${FONTCONFIG_LIBS:+false} :; then :
12852 if ${PKG_CONFIG+:} false; then :
12853 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12856 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12858 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12860 ac_save_CPPFLAGS=$CPPFLAGS
12861 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12862 for ac_header in fontconfig/fontconfig.h
12863 do :
12864 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12868 _ACEOF
12872 done
12874 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12875 then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12877 $as_echo_n "checking for -lfontconfig... " >&6; }
12878 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_soname_save_LIBS=$LIBS
12882 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char FcInit ();
12894 main ()
12896 return FcInit ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 case "$LIBEXT" in
12903 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12904 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'` ;;
12905 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12906 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12907 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12908 fi ;;
12909 esac
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 LIBS=$ac_check_soname_save_LIBS
12915 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12917 $as_echo "not found" >&6; }
12918 FONTCONFIG_CFLAGS=""
12919 else
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12921 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12923 cat >>confdefs.h <<_ACEOF
12924 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12925 _ACEOF
12929 else
12930 FONTCONFIG_CFLAGS=""
12932 CPPFLAGS=$ac_save_CPPFLAGS
12933 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12934 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12937 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12938 case "x$with_fontconfig" in
12939 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12940 xno) ;;
12941 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12942 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12943 esac
12946 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12947 then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12949 $as_echo_n "checking for -lgsm... " >&6; }
12950 if ${ac_cv_lib_soname_gsm+:} false; then :
12951 $as_echo_n "(cached) " >&6
12952 else
12953 ac_check_soname_save_LIBS=$LIBS
12954 LIBS="-lgsm $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12961 #ifdef __cplusplus
12962 extern "C"
12963 #endif
12964 char gsm_create ();
12966 main ()
12968 return gsm_create ();
12970 return 0;
12972 _ACEOF
12973 if ac_fn_c_try_link "$LINENO"; then :
12974 case "$LIBEXT" in
12975 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12976 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'` ;;
12977 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12978 if ${ac_cv_lib_soname_gsm:+false} :; then :
12979 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12980 fi ;;
12981 esac
12983 rm -f core conftest.err conftest.$ac_objext \
12984 conftest$ac_exeext conftest.$ac_ext
12985 LIBS=$ac_check_soname_save_LIBS
12987 if ${ac_cv_lib_soname_gsm:+false} :; then :
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12989 $as_echo "not found" >&6; }
12991 else
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12993 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12995 cat >>confdefs.h <<_ACEOF
12996 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12997 _ACEOF
13002 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13003 case "x$with_gsm" in
13004 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13005 xno) ;;
13006 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13007 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13008 esac
13011 if test "x$with_jpeg" != "xno"
13012 then
13013 if ${JPEG_CFLAGS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13019 if ${JPEG_LIBS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13026 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13028 ac_save_CPPFLAGS=$CPPFLAGS
13029 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13030 for ac_header in jpeglib.h
13031 do :
13032 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13033 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13034 cat >>confdefs.h <<_ACEOF
13035 #define HAVE_JPEGLIB_H 1
13036 _ACEOF
13040 done
13042 if test "$ac_cv_header_jpeglib_h" = "yes"
13043 then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13045 $as_echo_n "checking for -ljpeg... " >&6; }
13046 if ${ac_cv_lib_soname_jpeg+:} false; then :
13047 $as_echo_n "(cached) " >&6
13048 else
13049 ac_check_soname_save_LIBS=$LIBS
13050 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13057 #ifdef __cplusplus
13058 extern "C"
13059 #endif
13060 char jpeg_start_decompress ();
13062 main ()
13064 return jpeg_start_decompress ();
13066 return 0;
13068 _ACEOF
13069 if ac_fn_c_try_link "$LINENO"; then :
13070 case "$LIBEXT" in
13071 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13072 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'` ;;
13073 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13074 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13075 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13076 fi ;;
13077 esac
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 LIBS=$ac_check_soname_save_LIBS
13083 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13085 $as_echo "not found" >&6; }
13086 JPEG_CFLAGS=""
13087 else
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13089 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13091 cat >>confdefs.h <<_ACEOF
13092 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13093 _ACEOF
13097 else
13098 JPEG_CFLAGS=""
13100 CPPFLAGS=$ac_save_CPPFLAGS
13101 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13106 case "x$with_jpeg" in
13107 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13108 xno) ;;
13109 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13110 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13111 esac
13114 if test "x$with_png" != "xno"
13115 then
13116 if ${PNG_CFLAGS:+false} :; then :
13117 if ${PKG_CONFIG+:} false; then :
13118 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13121 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13122 if ${PNG_LIBS:+false} :; then :
13123 if ${PKG_CONFIG+:} false; then :
13124 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13127 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13129 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13130 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13131 ac_save_CPPFLAGS=$CPPFLAGS
13132 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13133 for ac_header in png.h
13134 do :
13135 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13136 if test "x$ac_cv_header_png_h" = xyes; then :
13137 cat >>confdefs.h <<_ACEOF
13138 #define HAVE_PNG_H 1
13139 _ACEOF
13143 done
13145 if test "$ac_cv_header_png_h" = "yes"
13146 then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13148 $as_echo_n "checking for -lpng... " >&6; }
13149 if ${ac_cv_lib_soname_png+:} false; then :
13150 $as_echo_n "(cached) " >&6
13151 else
13152 ac_check_soname_save_LIBS=$LIBS
13153 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13160 #ifdef __cplusplus
13161 extern "C"
13162 #endif
13163 char png_create_read_struct ();
13165 main ()
13167 return png_create_read_struct ();
13169 return 0;
13171 _ACEOF
13172 if ac_fn_c_try_link "$LINENO"; then :
13173 case "$LIBEXT" in
13174 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13175 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'` ;;
13176 *) 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'`
13177 if ${ac_cv_lib_soname_png:+false} :; then :
13178 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13179 fi ;;
13180 esac
13182 rm -f core conftest.err conftest.$ac_objext \
13183 conftest$ac_exeext conftest.$ac_ext
13184 LIBS=$ac_check_soname_save_LIBS
13186 if ${ac_cv_lib_soname_png:+false} :; then :
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13188 $as_echo "not found" >&6; }
13189 PNG_CFLAGS=""
13190 else
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13192 $as_echo "$ac_cv_lib_soname_png" >&6; }
13194 cat >>confdefs.h <<_ACEOF
13195 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13196 _ACEOF
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13200 #include <png.h>
13202 main ()
13204 typeof(png_set_expand_gray_1_2_4_to_8) *p
13206 return 0;
13208 _ACEOF
13209 if ac_fn_c_try_compile "$LINENO"; then :
13211 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13216 else
13217 PNG_CFLAGS=""
13219 CPPFLAGS=$ac_save_CPPFLAGS
13220 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13221 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13224 if test "x$ac_cv_lib_soname_png" = "x"; then :
13225 case "x$with_png" in
13226 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13227 xno) ;;
13228 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13229 This is an error since --with-png was requested." "$LINENO" 5 ;;
13230 esac
13233 if test "x$with_tiff" != "xno"
13234 then
13235 if ${TIFF_CFLAGS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13241 if ${TIFF_LIBS:+false} :; then :
13242 if ${PKG_CONFIG+:} false; then :
13243 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13248 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13249 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13250 ac_save_CPPFLAGS=$CPPFLAGS
13251 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13252 for ac_header in tiffio.h
13253 do :
13254 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13255 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13256 cat >>confdefs.h <<_ACEOF
13257 #define HAVE_TIFFIO_H 1
13258 _ACEOF
13262 done
13264 if test "$ac_cv_header_tiffio_h" = "yes"
13265 then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13267 $as_echo_n "checking for -ltiff... " >&6; }
13268 if ${ac_cv_lib_soname_tiff+:} false; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 ac_check_soname_save_LIBS=$LIBS
13272 LIBS="-ltiff $TIFF_LIBS $LIBS"
13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13279 #ifdef __cplusplus
13280 extern "C"
13281 #endif
13282 char TIFFClientOpen ();
13284 main ()
13286 return TIFFClientOpen ();
13288 return 0;
13290 _ACEOF
13291 if ac_fn_c_try_link "$LINENO"; then :
13292 case "$LIBEXT" in
13293 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13294 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'` ;;
13295 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13296 if ${ac_cv_lib_soname_tiff:+false} :; then :
13297 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13298 fi ;;
13299 esac
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_tiff:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13309 else
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13311 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13313 cat >>confdefs.h <<_ACEOF
13314 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13315 _ACEOF
13320 CPPFLAGS=$ac_save_CPPFLAGS
13321 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13322 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13325 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13326 case "x$with_tiff" in
13327 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13328 xno) ;;
13329 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13330 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13331 esac
13334 if test "x$with_mpg123" != "xno"
13335 then
13336 if ${MPG123_CFLAGS:+false} :; then :
13337 if ${PKG_CONFIG+:} false; then :
13338 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13342 if ${MPG123_LIBS:+false} :; then :
13343 if ${PKG_CONFIG+:} false; then :
13344 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13348 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13349 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13350 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13351 ac_save_CPPFLAGS=$CPPFLAGS
13352 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13353 for ac_header in mpg123.h
13354 do :
13355 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13356 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13357 cat >>confdefs.h <<_ACEOF
13358 #define HAVE_MPG123_H 1
13359 _ACEOF
13363 done
13365 if test "$ac_cv_header_mpg123_h" = "yes"
13366 then
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13368 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13369 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13370 $as_echo_n "(cached) " >&6
13371 else
13372 ac_check_lib_save_LIBS=$LIBS
13373 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13380 #ifdef __cplusplus
13381 extern "C"
13382 #endif
13383 char mpg123_feed ();
13385 main ()
13387 return mpg123_feed ();
13389 return 0;
13391 _ACEOF
13392 if ac_fn_c_try_link "$LINENO"; then :
13393 ac_cv_lib_mpg123_mpg123_feed=yes
13394 else
13395 ac_cv_lib_mpg123_mpg123_feed=no
13397 rm -f core conftest.err conftest.$ac_objext \
13398 conftest$ac_exeext conftest.$ac_ext
13399 LIBS=$ac_check_lib_save_LIBS
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13402 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13403 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13405 else
13406 MPG123_LIBS=""
13409 else
13410 MPG123_CFLAGS=""
13411 MPG123_LIBS=""
13413 CPPFLAGS=$ac_save_CPPFLAGS
13414 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13415 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13418 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13419 case "x$with_mpg123" in
13420 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13421 xno) ;;
13422 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13423 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13424 esac
13426 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}
13428 if test "$ac_cv_header_AL_al_h" = "yes"
13429 then
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13431 $as_echo_n "checking for -lopenal... " >&6; }
13432 if ${ac_cv_lib_soname_openal+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 ac_check_soname_save_LIBS=$LIBS
13436 LIBS="-lopenal $LIBS"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char alGetSource3i ();
13448 main ()
13450 return alGetSource3i ();
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_link "$LINENO"; then :
13456 case "$LIBEXT" in
13457 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_openal:+false} :; then :
13461 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13462 fi ;;
13463 esac
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_openal:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13475 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13479 _ACEOF
13481 OPENAL_LIBS="-lopenal"
13483 ac_cv_lib_openal=yes
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_OPENAL 1
13487 _ACEOF
13491 if test "x$ac_cv_lib_openal" != xyes; then :
13492 case "x$with_openal" in
13493 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13494 xno) ;;
13495 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13496 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13497 esac
13499 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13501 if test "$ac_cv_header_kstat_h" = "yes"
13502 then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13504 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13505 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13506 $as_echo_n "(cached) " >&6
13507 else
13508 ac_check_lib_save_LIBS=$LIBS
13509 LIBS="-lkstat $LIBS"
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13513 /* Override any GCC internal prototype to avoid an error.
13514 Use char because int might match the return type of a GCC
13515 builtin and then its argument prototype would still apply. */
13516 #ifdef __cplusplus
13517 extern "C"
13518 #endif
13519 char kstat_open ();
13521 main ()
13523 return kstat_open ();
13525 return 0;
13527 _ACEOF
13528 if ac_fn_c_try_link "$LINENO"; then :
13529 ac_cv_lib_kstat_kstat_open=yes
13530 else
13531 ac_cv_lib_kstat_kstat_open=no
13533 rm -f core conftest.err conftest.$ac_objext \
13534 conftest$ac_exeext conftest.$ac_ext
13535 LIBS=$ac_check_lib_save_LIBS
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13538 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13539 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13541 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13543 KSTAT_LIBS="-lkstat"
13549 if test "$ac_cv_header_libprocstat_h" = "yes"
13550 then
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13552 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13553 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13554 $as_echo_n "(cached) " >&6
13555 else
13556 ac_check_lib_save_LIBS=$LIBS
13557 LIBS="-lprocstat $LIBS"
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13561 /* Override any GCC internal prototype to avoid an error.
13562 Use char because int might match the return type of a GCC
13563 builtin and then its argument prototype would still apply. */
13564 #ifdef __cplusplus
13565 extern "C"
13566 #endif
13567 char procstat_open_sysctl ();
13569 main ()
13571 return procstat_open_sysctl ();
13573 return 0;
13575 _ACEOF
13576 if ac_fn_c_try_link "$LINENO"; then :
13577 ac_cv_lib_procstat_procstat_open_sysctl=yes
13578 else
13579 ac_cv_lib_procstat_procstat_open_sysctl=no
13581 rm -f core conftest.err conftest.$ac_objext \
13582 conftest$ac_exeext conftest.$ac_ext
13583 LIBS=$ac_check_lib_save_LIBS
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13586 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13587 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13589 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13591 PROCSTAT_LIBS="-lprocstat"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13598 $as_echo_n "checking for -lodbc... " >&6; }
13599 if ${ac_cv_lib_soname_odbc+:} false; then :
13600 $as_echo_n "(cached) " >&6
13601 else
13602 ac_check_soname_save_LIBS=$LIBS
13603 LIBS="-lodbc $LIBS"
13604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13607 /* Override any GCC internal prototype to avoid an error.
13608 Use char because int might match the return type of a GCC
13609 builtin and then its argument prototype would still apply. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char SQLConnect ();
13615 main ()
13617 return SQLConnect ();
13619 return 0;
13621 _ACEOF
13622 if ac_fn_c_try_link "$LINENO"; then :
13623 case "$LIBEXT" in
13624 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13625 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'` ;;
13626 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13627 if ${ac_cv_lib_soname_odbc:+false} :; then :
13628 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13629 fi ;;
13630 esac
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 LIBS=$ac_check_soname_save_LIBS
13636 if ${ac_cv_lib_soname_odbc:+false} :; then :
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13638 $as_echo "not found" >&6; }
13639 cat >>confdefs.h <<_ACEOF
13640 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13641 _ACEOF
13643 else
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13645 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13647 cat >>confdefs.h <<_ACEOF
13648 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13649 _ACEOF
13654 if test "x$with_netapi" != "xno"
13655 then
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13657 $as_echo_n "checking for -lnetapi... " >&6; }
13658 if ${ac_cv_lib_soname_netapi+:} false; then :
13659 $as_echo_n "(cached) " >&6
13660 else
13661 ac_check_soname_save_LIBS=$LIBS
13662 LIBS="-lnetapi $LIBS"
13663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13666 /* Override any GCC internal prototype to avoid an error.
13667 Use char because int might match the return type of a GCC
13668 builtin and then its argument prototype would still apply. */
13669 #ifdef __cplusplus
13670 extern "C"
13671 #endif
13672 char libnetapi_init ();
13674 main ()
13676 return libnetapi_init ();
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_link "$LINENO"; then :
13682 case "$LIBEXT" in
13683 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13684 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'` ;;
13685 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13686 if ${ac_cv_lib_soname_netapi:+false} :; then :
13687 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13688 fi ;;
13689 esac
13691 rm -f core conftest.err conftest.$ac_objext \
13692 conftest$ac_exeext conftest.$ac_ext
13693 LIBS=$ac_check_soname_save_LIBS
13695 if ${ac_cv_lib_soname_netapi:+false} :; then :
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13697 $as_echo "not found" >&6; }
13698 cat >>confdefs.h <<_ACEOF
13699 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13700 _ACEOF
13702 else
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13704 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13706 cat >>confdefs.h <<_ACEOF
13707 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13708 _ACEOF
13714 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13715 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13716 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13717 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13719 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13720 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13721 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13722 then
13723 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13727 EXTRACFLAGS=""
13729 if test "x${GCC}" = "xyes"
13730 then
13731 EXTRACFLAGS="-Wall -pipe"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13734 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13735 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 if test "$cross_compiling" = yes; then :
13739 ac_cv_c_gcc_strength_bug="yes"
13740 else
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13743 int L[4] = {0,1,2,3};
13745 main ()
13747 static int Array[3];
13748 unsigned int B = 3;
13749 int i;
13750 for(i=0; i<B; i++) Array[i] = i - 3;
13751 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13752 L[i] = 4;
13753 return (Array[1] != -2 || L[2] != 3)
13755 return 0;
13757 _ACEOF
13758 if ac_fn_c_try_run "$LINENO"; then :
13759 ac_cv_c_gcc_strength_bug="no"
13760 else
13761 ac_cv_c_gcc_strength_bug="yes"
13763 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13764 conftest.$ac_objext conftest.beam conftest.$ac_ext
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13769 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13770 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13771 then
13772 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13776 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13777 if ${ac_cv_cflags__fno_builtin+:} false; then :
13778 $as_echo_n "(cached) " >&6
13779 else
13780 ac_wine_try_cflags_saved=$CFLAGS
13781 CFLAGS="$CFLAGS -fno-builtin"
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 int main(int argc, char **argv) { return 0; }
13785 _ACEOF
13786 if ac_fn_c_try_link "$LINENO"; then :
13787 ac_cv_cflags__fno_builtin=yes
13788 else
13789 ac_cv_cflags__fno_builtin=no
13791 rm -f core conftest.err conftest.$ac_objext \
13792 conftest$ac_exeext conftest.$ac_ext
13793 CFLAGS=$ac_wine_try_cflags_saved
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13796 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13797 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13798 BUILTINFLAG="-fno-builtin"
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13802 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13803 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13804 $as_echo_n "(cached) " >&6
13805 else
13806 ac_wine_try_cflags_saved=$CFLAGS
13807 CFLAGS="$CFLAGS -fno-strict-aliasing"
13808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 int main(int argc, char **argv) { return 0; }
13811 _ACEOF
13812 if ac_fn_c_try_link "$LINENO"; then :
13813 ac_cv_cflags__fno_strict_aliasing=yes
13814 else
13815 ac_cv_cflags__fno_strict_aliasing=no
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 CFLAGS=$ac_wine_try_cflags_saved
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13822 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13823 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13824 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13826 saved_CFLAGS=$CFLAGS
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13828 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13829 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13830 $as_echo_n "(cached) " >&6
13831 else
13832 ac_wine_try_cflags_saved=$CFLAGS
13833 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13836 int main(int argc, char **argv) { return 0; }
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"; then :
13839 ac_cv_cflags__Werror_unknown_warning_option=yes
13840 else
13841 ac_cv_cflags__Werror_unknown_warning_option=no
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 CFLAGS=$ac_wine_try_cflags_saved
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13848 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13849 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13850 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13853 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13854 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13855 $as_echo_n "(cached) " >&6
13856 else
13857 ac_wine_try_cflags_saved=$CFLAGS
13858 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13861 int main(int argc, char **argv) { return 0; }
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 ac_cv_cflags__Wdeclaration_after_statement=yes
13865 else
13866 ac_cv_cflags__Wdeclaration_after_statement=no
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 CFLAGS=$ac_wine_try_cflags_saved
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13873 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13874 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13875 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13878 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13879 if ${ac_cv_cflags__Wempty_body+:} false; then :
13880 $as_echo_n "(cached) " >&6
13881 else
13882 ac_wine_try_cflags_saved=$CFLAGS
13883 CFLAGS="$CFLAGS -Wempty-body"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 int main(int argc, char **argv) { return 0; }
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 ac_cv_cflags__Wempty_body=yes
13890 else
13891 ac_cv_cflags__Wempty_body=no
13893 rm -f core conftest.err conftest.$ac_objext \
13894 conftest$ac_exeext conftest.$ac_ext
13895 CFLAGS=$ac_wine_try_cflags_saved
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13898 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13899 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13900 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13903 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13904 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_wine_try_cflags_saved=$CFLAGS
13908 CFLAGS="$CFLAGS -Wignored-qualifiers"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13911 int main(int argc, char **argv) { return 0; }
13912 _ACEOF
13913 if ac_fn_c_try_link "$LINENO"; then :
13914 ac_cv_cflags__Wignored_qualifiers=yes
13915 else
13916 ac_cv_cflags__Wignored_qualifiers=no
13918 rm -f core conftest.err conftest.$ac_objext \
13919 conftest$ac_exeext conftest.$ac_ext
13920 CFLAGS=$ac_wine_try_cflags_saved
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13923 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13924 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13925 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13928 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13929 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13930 $as_echo_n "(cached) " >&6
13931 else
13932 ac_wine_try_cflags_saved=$CFLAGS
13933 CFLAGS="$CFLAGS -Wstrict-prototypes"
13934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 int main(int argc, char **argv) { return 0; }
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 ac_cv_cflags__Wstrict_prototypes=yes
13940 else
13941 ac_cv_cflags__Wstrict_prototypes=no
13943 rm -f core conftest.err conftest.$ac_objext \
13944 conftest$ac_exeext conftest.$ac_ext
13945 CFLAGS=$ac_wine_try_cflags_saved
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13948 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13949 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13950 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13953 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13954 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13955 $as_echo_n "(cached) " >&6
13956 else
13957 ac_wine_try_cflags_saved=$CFLAGS
13958 CFLAGS="$CFLAGS -Wtype-limits"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 int main(int argc, char **argv) { return 0; }
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 ac_cv_cflags__Wtype_limits=yes
13965 else
13966 ac_cv_cflags__Wtype_limits=no
13968 rm -f core conftest.err conftest.$ac_objext \
13969 conftest$ac_exeext conftest.$ac_ext
13970 CFLAGS=$ac_wine_try_cflags_saved
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13973 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13974 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13975 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13978 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13979 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13980 $as_echo_n "(cached) " >&6
13981 else
13982 ac_wine_try_cflags_saved=$CFLAGS
13983 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 int main(int argc, char **argv) { return 0; }
13987 _ACEOF
13988 if ac_fn_c_try_link "$LINENO"; then :
13989 ac_cv_cflags__Wunused_but_set_parameter=yes
13990 else
13991 ac_cv_cflags__Wunused_but_set_parameter=no
13993 rm -f core conftest.err conftest.$ac_objext \
13994 conftest$ac_exeext conftest.$ac_ext
13995 CFLAGS=$ac_wine_try_cflags_saved
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13998 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13999 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14000 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14003 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14004 if ${ac_cv_cflags__Wvla+:} false; then :
14005 $as_echo_n "(cached) " >&6
14006 else
14007 ac_wine_try_cflags_saved=$CFLAGS
14008 CFLAGS="$CFLAGS -Wvla"
14009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14011 int main(int argc, char **argv) { return 0; }
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_cflags__Wvla=yes
14015 else
14016 ac_cv_cflags__Wvla=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 CFLAGS=$ac_wine_try_cflags_saved
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14023 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14024 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14025 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14028 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14029 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14030 $as_echo_n "(cached) " >&6
14031 else
14032 ac_wine_try_cflags_saved=$CFLAGS
14033 CFLAGS="$CFLAGS -Wwrite-strings"
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14035 /* end confdefs.h. */
14036 int main(int argc, char **argv) { return 0; }
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_cflags__Wwrite_strings=yes
14040 else
14041 ac_cv_cflags__Wwrite_strings=no
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 CFLAGS=$ac_wine_try_cflags_saved
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14048 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14049 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14050 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14054 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14055 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_wine_try_cflags_saved=$CFLAGS
14059 CFLAGS="$CFLAGS -Wpointer-arith"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14062 int main(int argc, char **argv) { return 0; }
14063 _ACEOF
14064 if ac_fn_c_try_link "$LINENO"; then :
14065 ac_cv_cflags__Wpointer_arith=yes
14066 else
14067 ac_cv_cflags__Wpointer_arith=no
14069 rm -f core conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 CFLAGS=$ac_wine_try_cflags_saved
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14074 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14075 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14076 saved_string_h_CFLAGS=$CFLAGS
14077 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14079 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14080 if ${ac_cv_c_string_h_warnings+:} false; then :
14081 $as_echo_n "(cached) " >&6
14082 else
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14085 #include <string.h>
14087 main ()
14091 return 0;
14093 _ACEOF
14094 if ac_fn_c_try_compile "$LINENO"; then :
14095 ac_cv_c_string_h_warnings=no
14096 else
14097 ac_cv_c_string_h_warnings=yes
14099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14102 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14103 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14104 CFLAGS=$saved_string_h_CFLAGS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14108 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14109 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 ac_wine_try_cflags_saved=$CFLAGS
14113 CFLAGS="$CFLAGS -Wlogical-op"
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14116 int main(int argc, char **argv) { return 0; }
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 ac_cv_cflags__Wlogical_op=yes
14120 else
14121 ac_cv_cflags__Wlogical_op=no
14123 rm -f core conftest.err conftest.$ac_objext \
14124 conftest$ac_exeext conftest.$ac_ext
14125 CFLAGS=$ac_wine_try_cflags_saved
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14128 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14129 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14130 saved_string_h_CFLAGS=$CFLAGS
14131 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14133 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14134 if ${ac_cv_c_logicalop_noisy+:} false; then :
14135 $as_echo_n "(cached) " >&6
14136 else
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #include <string.h>
14140 char*f(const char *h,char n) {return strchr(h,n);}
14142 main ()
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_compile "$LINENO"; then :
14150 ac_cv_c_logicalop_noisy=no
14151 else
14152 ac_cv_c_logicalop_noisy=yes
14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14157 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14158 CFLAGS=$saved_string_h_CFLAGS
14159 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14162 CFLAGS=$saved_CFLAGS
14164 for ac_flag in $CFLAGS; do
14165 case $ac_flag in
14166 -g) case $host_os in
14167 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14168 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14169 if ${ac_cv_cflags__gstabsp+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 ac_wine_try_cflags_saved=$CFLAGS
14173 CFLAGS="$CFLAGS -gstabs+"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14176 int main(int argc, char **argv) { return 0; }
14177 _ACEOF
14178 if ac_fn_c_try_link "$LINENO"; then :
14179 ac_cv_cflags__gstabsp=yes
14180 else
14181 ac_cv_cflags__gstabsp=no
14183 rm -f core conftest.err conftest.$ac_objext \
14184 conftest$ac_exeext conftest.$ac_ext
14185 CFLAGS=$ac_wine_try_cflags_saved
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14188 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14189 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14190 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14191 fi ;;
14192 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14193 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14194 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 ac_wine_try_cflags_saved=$CFLAGS
14198 CFLAGS="$CFLAGS -gdwarf-2"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14201 int main(int argc, char **argv) { return 0; }
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 ac_cv_cflags__gdwarf_2=yes
14205 else
14206 ac_cv_cflags__gdwarf_2=no
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14210 CFLAGS=$ac_wine_try_cflags_saved
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14213 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14214 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14215 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14218 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14219 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 ac_wine_try_cflags_saved=$CFLAGS
14223 CFLAGS="$CFLAGS -gstrict-dwarf"
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 int main(int argc, char **argv) { return 0; }
14227 _ACEOF
14228 if ac_fn_c_try_link "$LINENO"; then :
14229 ac_cv_cflags__gstrict_dwarf=yes
14230 else
14231 ac_cv_cflags__gstrict_dwarf=no
14233 rm -f core conftest.err conftest.$ac_objext \
14234 conftest$ac_exeext conftest.$ac_ext
14235 CFLAGS=$ac_wine_try_cflags_saved
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14238 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14239 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14240 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14241 fi ;;
14242 esac ;;
14243 esac
14244 done
14246 case $host_cpu in
14247 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14248 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14249 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 ac_wine_try_cflags_saved=$CFLAGS
14253 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int main(int argc, char **argv) { return 0; }
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 ac_cv_cflags__fno_omit_frame_pointer=yes
14260 else
14261 ac_cv_cflags__fno_omit_frame_pointer=no
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 CFLAGS=$ac_wine_try_cflags_saved
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14268 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14269 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14270 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14271 fi ;;
14272 esac
14274 case $host in
14275 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14276 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14277 if ${ac_cv_cflags__Wno_format+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_wine_try_cflags_saved=$CFLAGS
14281 CFLAGS="$CFLAGS -Wno-format"
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__Wno_format=yes
14288 else
14289 ac_cv_cflags__Wno_format=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__Wno_format" >&5
14296 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14297 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14298 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14299 fi ;;
14300 esac
14302 if test "x$enable_maintainer_mode" = "xyes"
14303 then
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14305 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14306 if ${ac_cv_cflags__Werror+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 ac_wine_try_cflags_saved=$CFLAGS
14310 CFLAGS="$CFLAGS -Werror"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_cflags__Werror=yes
14317 else
14318 ac_cv_cflags__Werror=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 CFLAGS=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14325 $as_echo "$ac_cv_cflags__Werror" >&6; }
14326 if test "x$ac_cv_cflags__Werror" = xyes; then :
14327 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14331 saved_CFLAGS="$CFLAGS"
14332 CFLAGS="$CFLAGS -Werror"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14334 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14335 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14342 main ()
14346 return 0;
14348 _ACEOF
14349 if ac_fn_c_try_compile "$LINENO"; then :
14350 ac_cv_have_ms_hook_prologue="yes"
14351 else
14352 ac_cv_have_ms_hook_prologue="no"
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14357 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14358 CFLAGS="$saved_CFLAGS"
14359 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14360 then
14362 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14364 else
14365 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14372 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14373 if ${ac_cv_c_fortify_enabled+:} false; then :
14374 $as_echo_n "(cached) " >&6
14375 else
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14378 #include <string.h>
14380 main ()
14382 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14383 #error Fortify enabled
14384 #endif
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_compile "$LINENO"; then :
14390 ac_cv_c_fortify_enabled=no
14391 else
14392 ac_cv_c_fortify_enabled=yes
14394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14397 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14398 if test "$ac_cv_c_fortify_enabled" = yes
14399 then
14400 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14405 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14406 if ${ac_cv_c_extern_prefix+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 extern int ac_test;
14413 main ()
14415 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_c_extern_prefix="yes"
14422 else
14423 ac_cv_c_extern_prefix="no"
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14429 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14431 case $host_cpu in
14432 *i[3456789]86*)
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14434 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14435 if ${ac_cv_c_stdcall_suffix+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 #ifndef _MSC_VER
14441 #define __stdcall __attribute__((__stdcall__))
14442 #endif
14443 int __stdcall ac_test(int i) { return i; }
14445 main ()
14447 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14449 return 0;
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 ac_cv_c_stdcall_suffix="yes"
14454 else
14455 ac_cv_c_stdcall_suffix="no"
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14461 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14462 *) ac_cv_c_stdcall_suffix="no" ;;
14463 esac
14466 if test "$ac_cv_c_extern_prefix" = "yes"
14467 then
14468 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14470 asm_name_prefix="_"
14471 else
14472 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14474 asm_name_prefix=""
14478 if test "$ac_cv_c_stdcall_suffix" = "yes"
14479 then
14480 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14482 else
14483 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14489 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14490 if ${ac_cv_asm_func_def+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14497 main ()
14499 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"; then :
14505 ac_cv_asm_func_def=".def"
14506 else
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14511 main ()
14513 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 ac_cv_asm_func_def=".type @function"
14520 else
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14525 main ()
14527 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14529 return 0;
14531 _ACEOF
14532 if ac_fn_c_try_link "$LINENO"; then :
14533 ac_cv_asm_func_def=".type 2"
14534 else
14535 ac_cv_asm_func_def="unknown"
14537 rm -f core conftest.err conftest.$ac_objext \
14538 conftest$ac_exeext conftest.$ac_ext
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14543 rm -f core conftest.err conftest.$ac_objext \
14544 conftest$ac_exeext conftest.$ac_ext
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14547 $as_echo "$ac_cv_asm_func_def" >&6; }
14550 case "$ac_cv_asm_func_def" in
14551 ".def")
14552 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14554 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14555 ".type @function")
14556 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14558 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14559 ".type 2")
14560 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14562 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14564 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14566 asm_func_header="" ;;
14567 esac
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14570 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14571 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 asm(".text\n\t.long 0");
14578 main ()
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_compile "$LINENO"; then :
14586 ac_cv_c_asm_outside_funcs="yes"
14587 else
14588 ac_cv_c_asm_outside_funcs="no"
14590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14593 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14596 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14597 if ${ac_cv_c_dot_previous+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14604 main ()
14606 asm(".text\nac_test:\t.long 0\n\t.previous");
14608 return 0;
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"; then :
14612 ac_cv_c_dot_previous="yes"
14613 else
14614 ac_cv_c_dot_previous="no"
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14620 $as_echo "$ac_cv_c_dot_previous" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14623 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14624 if ${ac_cv_c_cfi_support+:} false; then :
14625 $as_echo_n "(cached) " >&6
14626 else
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14631 main ()
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_compile "$LINENO"; then :
14639 ac_cv_c_cfi_support="yes"
14640 else
14641 ac_cv_c_cfi_support="no"
14643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14646 $as_echo "$ac_cv_c_cfi_support" >&6; }
14648 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14649 asm_func_trailer=""
14650 if test "$ac_cv_c_dot_previous" = "yes"
14651 then
14652 asm_func_trailer="\\n\\t.previous"
14654 if test "$ac_cv_c_cfi_support" = "yes"
14655 then
14656 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14657 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14659 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14661 UNWINDFLAGS=-fasynchronous-unwind-tables
14663 else
14664 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14666 if test "x$enable_win64" = "xyes"
14667 then
14668 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14672 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14675 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14676 then
14677 cat >>confdefs.h <<_ACEOF
14678 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14679 _ACEOF
14681 else
14682 cat >>confdefs.h <<_ACEOF
14683 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14684 _ACEOF
14688 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14691 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14695 case $build_os in
14696 cygwin*|mingw32*) TOOLSEXT=".exe"
14698 esac
14700 case $host_os in
14701 linux*)
14702 case $host_cpu in
14703 *i[3456789]86*|x86_64*)
14704 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14705 loader_programs="$loader_programs $wine_binary-preloader"
14706 as_fn_append LOADER_RULES "
14707 $wine_binary-preloader: preloader.o
14708 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14710 install install-lib:: $wine_binary-preloader
14711 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14713 uninstall::
14714 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14716 preloader_EXTRADEFS = $BUILTINFLAG
14717 " ;;
14718 esac
14720 esac
14721 as_fn_append LOADER_RULES "
14722 PROGRAMS = $loader_programs
14726 ac_save_CFLAGS="$CFLAGS"
14727 CFLAGS="$CFLAGS $BUILTINFLAG"
14728 for ac_func in \
14729 __res_get_state \
14730 __res_getservers \
14731 _finite \
14732 _isnan \
14733 _pclose \
14734 _popen \
14735 _snprintf \
14736 _spawnvp \
14737 _strdup \
14738 _stricmp \
14739 _strnicmp \
14740 _strtoi64 \
14741 _strtoui64 \
14742 _vsnprintf \
14743 asctime_r \
14744 chsize \
14745 dlopen \
14746 epoll_create \
14747 ffs \
14748 finitef \
14749 fnmatch \
14750 fork \
14751 fpclass \
14752 fstatfs \
14753 fstatvfs \
14754 ftruncate \
14755 futimens \
14756 futimes \
14757 futimesat \
14758 getattrlist \
14759 getdirentries \
14760 getopt_long_only \
14761 getpwuid \
14762 gettimeofday \
14763 getuid \
14764 if_nameindex \
14765 isnanf \
14766 kqueue \
14767 lstat \
14768 memmove \
14769 mmap \
14770 pclose \
14771 pipe2 \
14772 poll \
14773 popen \
14774 port_create \
14775 prctl \
14776 pread \
14777 proc_pidinfo \
14778 pwrite \
14779 readdir \
14780 readlink \
14781 sched_yield \
14782 select \
14783 setproctitle \
14784 setrlimit \
14785 settimeofday \
14786 sigaltstack \
14787 sigprocmask \
14788 snprintf \
14789 statfs \
14790 statvfs \
14791 strcasecmp \
14792 strdup \
14793 strerror \
14794 strncasecmp \
14795 strtold \
14796 strtoll \
14797 strtoull \
14798 symlink \
14799 tcdrain \
14800 thr_kill2 \
14801 timegm \
14802 usleep \
14803 vsnprintf
14805 do :
14806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14808 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14809 cat >>confdefs.h <<_ACEOF
14810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14811 _ACEOF
14814 done
14816 CFLAGS="$ac_save_CFLAGS"
14818 if test "$ac_cv_func_dlopen" = no
14819 then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14821 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14822 if ${ac_cv_lib_dl_dlopen+:} false; then :
14823 $as_echo_n "(cached) " >&6
14824 else
14825 ac_check_lib_save_LIBS=$LIBS
14826 LIBS="-ldl $LIBS"
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 #ifdef __cplusplus
14834 extern "C"
14835 #endif
14836 char dlopen ();
14838 main ()
14840 return dlopen ();
14842 return 0;
14844 _ACEOF
14845 if ac_fn_c_try_link "$LINENO"; then :
14846 ac_cv_lib_dl_dlopen=yes
14847 else
14848 ac_cv_lib_dl_dlopen=no
14850 rm -f core conftest.err conftest.$ac_objext \
14851 conftest$ac_exeext conftest.$ac_ext
14852 LIBS=$ac_check_lib_save_LIBS
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14855 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14856 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14857 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14858 DL_LIBS="-ldl"
14863 ac_wine_check_funcs_save_LIBS="$LIBS"
14864 LIBS="$LIBS $DL_LIBS"
14865 for ac_func in dladdr
14866 do :
14867 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14868 if test "x$ac_cv_func_dladdr" = xyes; then :
14869 cat >>confdefs.h <<_ACEOF
14870 #define HAVE_DLADDR 1
14871 _ACEOF
14874 done
14876 LIBS="$ac_wine_check_funcs_save_LIBS"
14878 if test "$ac_cv_func_poll" = no
14879 then
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14881 $as_echo_n "checking for poll in -lpoll... " >&6; }
14882 if ${ac_cv_lib_poll_poll+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 ac_check_lib_save_LIBS=$LIBS
14886 LIBS="-lpoll $LIBS"
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14893 #ifdef __cplusplus
14894 extern "C"
14895 #endif
14896 char poll ();
14898 main ()
14900 return poll ();
14902 return 0;
14904 _ACEOF
14905 if ac_fn_c_try_link "$LINENO"; then :
14906 ac_cv_lib_poll_poll=yes
14907 else
14908 ac_cv_lib_poll_poll=no
14910 rm -f core conftest.err conftest.$ac_objext \
14911 conftest$ac_exeext conftest.$ac_ext
14912 LIBS=$ac_check_lib_save_LIBS
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14915 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14916 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14917 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14918 POLL_LIBS="-lpoll"
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14925 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14926 if ${ac_cv_search_gethostbyname+:} false; then :
14927 $as_echo_n "(cached) " >&6
14928 else
14929 ac_func_search_save_LIBS=$LIBS
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14933 /* Override any GCC internal prototype to avoid an error.
14934 Use char because int might match the return type of a GCC
14935 builtin and then its argument prototype would still apply. */
14936 #ifdef __cplusplus
14937 extern "C"
14938 #endif
14939 char gethostbyname ();
14941 main ()
14943 return gethostbyname ();
14945 return 0;
14947 _ACEOF
14948 for ac_lib in '' nsl; do
14949 if test -z "$ac_lib"; then
14950 ac_res="none required"
14951 else
14952 ac_res=-l$ac_lib
14953 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14955 if ac_fn_c_try_link "$LINENO"; then :
14956 ac_cv_search_gethostbyname=$ac_res
14958 rm -f core conftest.err conftest.$ac_objext \
14959 conftest$ac_exeext
14960 if ${ac_cv_search_gethostbyname+:} false; then :
14961 break
14963 done
14964 if ${ac_cv_search_gethostbyname+:} false; then :
14966 else
14967 ac_cv_search_gethostbyname=no
14969 rm conftest.$ac_ext
14970 LIBS=$ac_func_search_save_LIBS
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14973 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14974 ac_res=$ac_cv_search_gethostbyname
14975 if test "$ac_res" != no; then :
14976 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14982 $as_echo_n "checking for library containing connect... " >&6; }
14983 if ${ac_cv_search_connect+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 ac_func_search_save_LIBS=$LIBS
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14990 /* Override any GCC internal prototype to avoid an error.
14991 Use char because int might match the return type of a GCC
14992 builtin and then its argument prototype would still apply. */
14993 #ifdef __cplusplus
14994 extern "C"
14995 #endif
14996 char connect ();
14998 main ()
15000 return connect ();
15002 return 0;
15004 _ACEOF
15005 for ac_lib in '' socket; do
15006 if test -z "$ac_lib"; then
15007 ac_res="none required"
15008 else
15009 ac_res=-l$ac_lib
15010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_search_connect=$ac_res
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext
15017 if ${ac_cv_search_connect+:} false; then :
15018 break
15020 done
15021 if ${ac_cv_search_connect+:} false; then :
15023 else
15024 ac_cv_search_connect=no
15026 rm conftest.$ac_ext
15027 LIBS=$ac_func_search_save_LIBS
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15030 $as_echo "$ac_cv_search_connect" >&6; }
15031 ac_res=$ac_cv_search_connect
15032 if test "$ac_res" != no; then :
15033 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15039 $as_echo_n "checking for library containing inet_aton... " >&6; }
15040 if ${ac_cv_search_inet_aton+:} false; then :
15041 $as_echo_n "(cached) " >&6
15042 else
15043 ac_func_search_save_LIBS=$LIBS
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15047 /* Override any GCC internal prototype to avoid an error.
15048 Use char because int might match the return type of a GCC
15049 builtin and then its argument prototype would still apply. */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 char inet_aton ();
15055 main ()
15057 return inet_aton ();
15059 return 0;
15061 _ACEOF
15062 for ac_lib in '' resolv; do
15063 if test -z "$ac_lib"; then
15064 ac_res="none required"
15065 else
15066 ac_res=-l$ac_lib
15067 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_search_inet_aton=$ac_res
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext
15074 if ${ac_cv_search_inet_aton+:} false; then :
15075 break
15077 done
15078 if ${ac_cv_search_inet_aton+:} false; then :
15080 else
15081 ac_cv_search_inet_aton=no
15083 rm conftest.$ac_ext
15084 LIBS=$ac_func_search_save_LIBS
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15087 $as_echo "$ac_cv_search_inet_aton" >&6; }
15088 ac_res=$ac_cv_search_inet_aton
15089 if test "$ac_res" != no; then :
15090 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15095 for ac_func in \
15096 getaddrinfo \
15097 getnameinfo \
15098 getnetbyname \
15099 getprotobyname \
15100 getprotobynumber \
15101 getservbyport \
15102 inet_addr \
15103 inet_network \
15104 inet_ntop \
15105 inet_pton \
15106 sendmsg \
15107 socketpair \
15109 do :
15110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15113 cat >>confdefs.h <<_ACEOF
15114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15115 _ACEOF
15118 done
15121 ac_save_LIBS=$LIBS
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15123 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15124 if ${ac_cv_search_clock_gettime+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 ac_func_search_save_LIBS=$LIBS
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15131 /* Override any GCC internal prototype to avoid an error.
15132 Use char because int might match the return type of a GCC
15133 builtin and then its argument prototype would still apply. */
15134 #ifdef __cplusplus
15135 extern "C"
15136 #endif
15137 char clock_gettime ();
15139 main ()
15141 return clock_gettime ();
15143 return 0;
15145 _ACEOF
15146 for ac_lib in '' rt; do
15147 if test -z "$ac_lib"; then
15148 ac_res="none required"
15149 else
15150 ac_res=-l$ac_lib
15151 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15153 if ac_fn_c_try_link "$LINENO"; then :
15154 ac_cv_search_clock_gettime=$ac_res
15156 rm -f core conftest.err conftest.$ac_objext \
15157 conftest$ac_exeext
15158 if ${ac_cv_search_clock_gettime+:} false; then :
15159 break
15161 done
15162 if ${ac_cv_search_clock_gettime+:} false; then :
15164 else
15165 ac_cv_search_clock_gettime=no
15167 rm conftest.$ac_ext
15168 LIBS=$ac_func_search_save_LIBS
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15171 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15172 ac_res=$ac_cv_search_clock_gettime
15173 if test "$ac_res" != no; then :
15174 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15176 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15178 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15182 LIBS=$ac_save_LIBS
15184 LDAP_LIBS=""
15186 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15187 then
15188 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15190 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15192 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15193 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_check_lib_save_LIBS=$LIBS
15197 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 #ifdef __cplusplus
15205 extern "C"
15206 #endif
15207 char ldap_initialize ();
15209 main ()
15211 return ldap_initialize ();
15213 return 0;
15215 _ACEOF
15216 if ac_fn_c_try_link "$LINENO"; then :
15217 ac_cv_lib_ldap_r_ldap_initialize=yes
15218 else
15219 ac_cv_lib_ldap_r_ldap_initialize=no
15221 rm -f core conftest.err conftest.$ac_objext \
15222 conftest$ac_exeext conftest.$ac_ext
15223 LIBS=$ac_check_lib_save_LIBS
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15226 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15227 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15229 $as_echo_n "checking for ber_init in -llber... " >&6; }
15230 if ${ac_cv_lib_lber_ber_init+:} false; then :
15231 $as_echo_n "(cached) " >&6
15232 else
15233 ac_check_lib_save_LIBS=$LIBS
15234 LIBS="-llber $PTHREAD_LIBS $LIBS"
15235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 #ifdef __cplusplus
15242 extern "C"
15243 #endif
15244 char ber_init ();
15246 main ()
15248 return ber_init ();
15250 return 0;
15252 _ACEOF
15253 if ac_fn_c_try_link "$LINENO"; then :
15254 ac_cv_lib_lber_ber_init=yes
15255 else
15256 ac_cv_lib_lber_ber_init=no
15258 rm -f core conftest.err conftest.$ac_objext \
15259 conftest$ac_exeext conftest.$ac_ext
15260 LIBS=$ac_check_lib_save_LIBS
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15263 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15264 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15266 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15268 LDAP_LIBS="-lldap_r -llber"
15275 ac_wine_check_funcs_save_LIBS="$LIBS"
15276 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15277 for ac_func in \
15278 ldap_count_references \
15279 ldap_first_reference \
15280 ldap_next_reference \
15281 ldap_parse_reference \
15282 ldap_parse_sort_control \
15283 ldap_parse_sortresponse_control \
15284 ldap_parse_vlv_control \
15285 ldap_parse_vlvresponse_control
15286 do :
15287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15290 cat >>confdefs.h <<_ACEOF
15291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15292 _ACEOF
15295 done
15297 LIBS="$ac_wine_check_funcs_save_LIBS"
15299 if test "x$LDAP_LIBS" = "x"; then :
15300 case "x$with_ldap" in
15301 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15302 xno) ;;
15303 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15304 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15305 esac
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15309 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15310 if ${wine_cv_one_arg_mkdir+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 #include <sys/stat.h>
15317 main ()
15319 mkdir("foo");
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_compile "$LINENO"; then :
15325 wine_cv_one_arg_mkdir=yes
15326 else
15327 wine_cv_one_arg_mkdir=no
15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15332 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15333 if test "$wine_cv_one_arg_mkdir" = "yes"
15334 then
15336 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15341 $as_echo_n "checking for sched_setaffinity... " >&6; }
15342 if ${wine_cv_have_sched_setaffinity+:} false; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 #define _GNU_SOURCE
15348 #include <sched.h>
15350 main ()
15352 sched_setaffinity(0, 0, 0);
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"; then :
15358 wine_cv_have_sched_setaffinity=yes
15359 else
15360 wine_cv_have_sched_setaffinity=no
15362 rm -f core conftest.err conftest.$ac_objext \
15363 conftest$ac_exeext conftest.$ac_ext
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15366 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15367 if test "$wine_cv_have_sched_setaffinity" = "yes"
15368 then
15370 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15375 $as_echo_n "checking for fallocate... " >&6; }
15376 if ${wine_cv_have_fallocate+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15381 #define _GNU_SOURCE
15382 #include <fcntl.h>
15384 main ()
15386 fallocate(-1, 0, 0, 0);
15388 return 0;
15390 _ACEOF
15391 if ac_fn_c_try_link "$LINENO"; then :
15392 wine_cv_have_fallocate=yes
15393 else
15394 wine_cv_have_fallocate=no
15396 rm -f core conftest.err conftest.$ac_objext \
15397 conftest$ac_exeext conftest.$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15400 $as_echo "$wine_cv_have_fallocate" >&6; }
15401 if test "$wine_cv_have_fallocate" = "yes"
15402 then
15404 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15410 $as_echo_n "checking for inline... " >&6; }
15411 if ${ac_cv_c_inline+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 ac_cv_c_inline=no
15415 for ac_kw in inline __inline__ __inline; do
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 #ifndef __cplusplus
15419 typedef int foo_t;
15420 static $ac_kw foo_t static_foo () {return 0; }
15421 $ac_kw foo_t foo () {return 0; }
15422 #endif
15424 _ACEOF
15425 if ac_fn_c_try_compile "$LINENO"; then :
15426 ac_cv_c_inline=$ac_kw
15428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15429 test "$ac_cv_c_inline" != no && break
15430 done
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15434 $as_echo "$ac_cv_c_inline" >&6; }
15436 case $ac_cv_c_inline in
15437 inline | yes) ;;
15439 case $ac_cv_c_inline in
15440 no) ac_val=;;
15441 *) ac_val=$ac_cv_c_inline;;
15442 esac
15443 cat >>confdefs.h <<_ACEOF
15444 #ifndef __cplusplus
15445 #define inline $ac_val
15446 #endif
15447 _ACEOF
15449 esac
15451 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15452 if test "x$ac_cv_type_mode_t" = xyes; then :
15454 cat >>confdefs.h <<_ACEOF
15455 #define HAVE_MODE_T 1
15456 _ACEOF
15460 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15461 if test "x$ac_cv_type_off_t" = xyes; then :
15463 cat >>confdefs.h <<_ACEOF
15464 #define HAVE_OFF_T 1
15465 _ACEOF
15469 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15470 if test "x$ac_cv_type_pid_t" = xyes; then :
15472 cat >>confdefs.h <<_ACEOF
15473 #define HAVE_PID_T 1
15474 _ACEOF
15478 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15479 if test "x$ac_cv_type_size_t" = xyes; then :
15481 cat >>confdefs.h <<_ACEOF
15482 #define HAVE_SIZE_T 1
15483 _ACEOF
15487 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15488 if test "x$ac_cv_type_ssize_t" = xyes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_SSIZE_T 1
15492 _ACEOF
15496 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15497 if test "x$ac_cv_type_long_long" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_LONG_LONG 1
15501 _ACEOF
15505 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15506 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15508 cat >>confdefs.h <<_ACEOF
15509 #define HAVE_FSBLKCNT_T 1
15510 _ACEOF
15514 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15515 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_FSFILCNT_T 1
15519 _ACEOF
15524 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15525 #include <signal.h>
15527 if test "x$ac_cv_type_sigset_t" = xyes; then :
15529 cat >>confdefs.h <<_ACEOF
15530 #define HAVE_SIGSET_T 1
15531 _ACEOF
15536 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15538 if test "x$ac_cv_type_request_sense" = xyes; then :
15540 cat >>confdefs.h <<_ACEOF
15541 #define HAVE_REQUEST_SENSE 1
15542 _ACEOF
15548 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15549 #ifdef HAVE_SYS_SOCKET_H
15550 #include <sys/socket.h>
15551 #endif
15552 #ifdef HAVE_SYS_SOCKETVAR_H
15553 #include <sys/socketvar.h>
15554 #endif
15555 #ifdef HAVE_NET_ROUTE_H
15556 #include <net/route.h>
15557 #endif
15558 #ifdef HAVE_NETINET_IN_H
15559 #include <netinet/in.h>
15560 #endif
15561 #ifdef HAVE_NETINET_IN_SYSTM_H
15562 #include <netinet/in_systm.h>
15563 #endif
15564 #ifdef HAVE_NETINET_IP_H
15565 #include <netinet/ip.h>
15566 #endif
15567 #ifdef HAVE_NETINET_IN_PCB_H
15568 #include <netinet/in_pcb.h>
15569 #endif
15571 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_XINPGEN 1
15575 _ACEOF
15581 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15582 #include <link.h>
15583 #endif
15584 #ifdef HAVE_SYS_LINK_H
15585 #include <sys/link.h>
15586 #endif
15588 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15590 cat >>confdefs.h <<_ACEOF
15591 #define HAVE_STRUCT_R_DEBUG 1
15592 _ACEOF
15596 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15597 #include <link.h>
15598 #endif
15599 #ifdef HAVE_SYS_LINK_H
15600 #include <sys/link.h>
15601 #endif
15603 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15605 cat >>confdefs.h <<_ACEOF
15606 #define HAVE_STRUCT_LINK_MAP 1
15607 _ACEOF
15613 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15614 #include <linux/input.h>
15615 #endif
15617 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15621 _ACEOF
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15628 $as_echo_n "checking for sigaddset... " >&6; }
15629 if ${wine_cv_have_sigaddset+:} false; then :
15630 $as_echo_n "(cached) " >&6
15631 else
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15634 #include <signal.h>
15636 main ()
15638 sigset_t set; sigaddset(&set,SIGTERM);
15640 return 0;
15642 _ACEOF
15643 if ac_fn_c_try_link "$LINENO"; then :
15644 wine_cv_have_sigaddset=yes
15645 else
15646 wine_cv_have_sigaddset=no
15648 rm -f core conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15652 $as_echo "$wine_cv_have_sigaddset" >&6; }
15653 if test "$wine_cv_have_sigaddset" = "yes"
15654 then
15656 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15662 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15663 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #include <netdb.h>
15670 main ()
15673 char *name=0;
15674 struct hostent he;
15675 struct hostent *result;
15676 char *buf=0;
15677 int bufsize=0;
15678 int errnr;
15679 char *addr=0;
15680 int addrlen=0;
15681 int addrtype=0;
15682 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15683 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_link "$LINENO"; then :
15690 wine_cv_linux_gethostbyname_r_6=yes
15691 else
15692 wine_cv_linux_gethostbyname_r_6=no
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15700 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15701 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15702 then
15704 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15708 if test "$ac_cv_header_linux_joystick_h" = "yes"
15709 then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15711 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15712 if ${wine_cv_linux_joystick_22_api+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15718 #include <sys/ioctl.h>
15719 #include <sys/types.h>
15720 #include <linux/joystick.h>
15722 struct js_event blub;
15723 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15724 #error "no 2.2 header"
15725 #endif
15728 main ()
15730 /*empty*/
15732 return 0;
15734 _ACEOF
15735 if ac_fn_c_try_compile "$LINENO"; then :
15736 wine_cv_linux_joystick_22_api=yes
15737 else
15738 wine_cv_linux_joystick_22_api=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15744 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15745 if test "$wine_cv_linux_joystick_22_api" = "yes"
15746 then
15748 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15754 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15755 #ifdef HAVE_SYS_PARAM_H
15756 # include <sys/param.h>
15757 #endif
15758 #ifdef HAVE_SYS_MOUNT_H
15759 # include <sys/mount.h>
15760 #endif
15761 #ifdef HAVE_SYS_VFS_H
15762 # include <sys/vfs.h>
15763 #endif
15764 #ifdef HAVE_SYS_STATFS_H
15765 # include <sys/statfs.h>
15766 #endif
15768 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_STRUCT_STATFS_F_BFREE 1
15772 _ACEOF
15776 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15777 #ifdef HAVE_SYS_PARAM_H
15778 # include <sys/param.h>
15779 #endif
15780 #ifdef HAVE_SYS_MOUNT_H
15781 # include <sys/mount.h>
15782 #endif
15783 #ifdef HAVE_SYS_VFS_H
15784 # include <sys/vfs.h>
15785 #endif
15786 #ifdef HAVE_SYS_STATFS_H
15787 # include <sys/statfs.h>
15788 #endif
15790 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15794 _ACEOF
15798 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15799 #ifdef HAVE_SYS_PARAM_H
15800 # include <sys/param.h>
15801 #endif
15802 #ifdef HAVE_SYS_MOUNT_H
15803 # include <sys/mount.h>
15804 #endif
15805 #ifdef HAVE_SYS_VFS_H
15806 # include <sys/vfs.h>
15807 #endif
15808 #ifdef HAVE_SYS_STATFS_H
15809 # include <sys/statfs.h>
15810 #endif
15812 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15816 _ACEOF
15820 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15821 #ifdef HAVE_SYS_PARAM_H
15822 # include <sys/param.h>
15823 #endif
15824 #ifdef HAVE_SYS_MOUNT_H
15825 # include <sys/mount.h>
15826 #endif
15827 #ifdef HAVE_SYS_VFS_H
15828 # include <sys/vfs.h>
15829 #endif
15830 #ifdef HAVE_SYS_STATFS_H
15831 # include <sys/statfs.h>
15832 #endif
15834 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_STATFS_F_FFREE 1
15838 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15843 #ifdef HAVE_SYS_PARAM_H
15844 # include <sys/param.h>
15845 #endif
15846 #ifdef HAVE_SYS_MOUNT_H
15847 # include <sys/mount.h>
15848 #endif
15849 #ifdef HAVE_SYS_VFS_H
15850 # include <sys/vfs.h>
15851 #endif
15852 #ifdef HAVE_SYS_STATFS_H
15853 # include <sys/statfs.h>
15854 #endif
15856 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15860 _ACEOF
15864 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15865 #ifdef HAVE_SYS_PARAM_H
15866 # include <sys/param.h>
15867 #endif
15868 #ifdef HAVE_SYS_MOUNT_H
15869 # include <sys/mount.h>
15870 #endif
15871 #ifdef HAVE_SYS_VFS_H
15872 # include <sys/vfs.h>
15873 #endif
15874 #ifdef HAVE_SYS_STATFS_H
15875 # include <sys/statfs.h>
15876 #endif
15878 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15882 _ACEOF
15888 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15889 #include <sys/statvfs.h>
15890 #endif
15892 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15896 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15903 #include <dirent.h>
15904 #endif
15906 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15910 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15917 #ifdef HAVE_SYS_SOCKET_H
15918 # include <sys/socket.h>
15919 #endif
15920 #ifdef HAVE_SYS_UN_H
15921 # include <sys/un.h>
15922 #endif
15924 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15928 _ACEOF
15932 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15933 #ifdef HAVE_SYS_SOCKET_H
15934 # include <sys/socket.h>
15935 #endif
15936 #ifdef HAVE_SYS_UN_H
15937 # include <sys/un.h>
15938 #endif
15940 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15944 _ACEOF
15948 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15949 #ifdef HAVE_SYS_SOCKET_H
15950 # include <sys/socket.h>
15951 #endif
15952 #ifdef HAVE_SYS_UN_H
15953 # include <sys/un.h>
15954 #endif
15956 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15958 cat >>confdefs.h <<_ACEOF
15959 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15960 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15967 #ifdef HAVE_SCSI_SG_H
15968 #include <scsi/sg.h>
15969 #endif
15971 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_SCSIREQ_T_CMD 1
15975 _ACEOF
15979 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>
15980 #ifdef HAVE_SCSI_SG_H
15981 #include <scsi/sg.h>
15982 #endif
15984 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15988 _ACEOF
15994 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15996 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_SIGINFO_T_SI_FD 1
16000 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_MTIO_H
16008 #include <sys/mtio.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16015 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16020 #ifdef HAVE_SYS_MTIO_H
16021 #include <sys/mtio.h>
16022 #endif
16024 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16028 _ACEOF
16032 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16033 #ifdef HAVE_SYS_MTIO_H
16034 #include <sys/mtio.h>
16035 #endif
16037 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16041 _ACEOF
16047 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16048 #include <getopt.h>
16049 #endif
16051 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16053 cat >>confdefs.h <<_ACEOF
16054 #define HAVE_STRUCT_OPTION_NAME 1
16055 _ACEOF
16061 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16062 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16066 _ACEOF
16070 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16071 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_STRUCT_STAT_ST_MTIM 1
16075 _ACEOF
16079 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16080 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16084 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16089 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_STAT_ST_CTIM 1
16093 _ACEOF
16097 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16098 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16102 _ACEOF
16106 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16107 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16109 cat >>confdefs.h <<_ACEOF
16110 #define HAVE_STRUCT_STAT_ST_ATIM 1
16111 _ACEOF
16115 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16116 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16120 _ACEOF
16124 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16125 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16129 _ACEOF
16133 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16134 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16138 _ACEOF
16142 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16143 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16147 _ACEOF
16151 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16152 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16156 _ACEOF
16160 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16161 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16165 _ACEOF
16171 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
16172 #include <sys/types.h>
16173 #endif
16174 #ifdef HAVE_NETINET_IN_H
16175 #include <netinet/in.h>
16176 #endif
16178 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16182 _ACEOF
16188 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16189 #include <resolv.h>
16190 #endif
16192 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_STRUCT___RES_STATE 1
16196 _ACEOF
16202 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
16203 #include <resolv.h>
16204 #endif
16206 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16208 cat >>confdefs.h <<_ACEOF
16209 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16210 _ACEOF
16216 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16218 #endif
16219 #ifdef HAVE_NETINET_IN_H
16220 # include <netinet/in.h>
16221 #endif
16222 #ifdef HAVE_ARPA_NAMESER_H
16223 # include <arpa/nameser.h>
16224 #endif
16226 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_NS_MSG__MSG_PTR 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16237 #include <sys/types.h>
16238 #endif
16239 #ifdef HAVE_NETINET_IP_H
16240 #include <netinet/ip.h>
16241 #endif
16242 #ifdef HAVE_NETINET_IP_ICMP_H
16243 #include <netinet/ip_icmp.h>
16244 #endif
16245 #ifdef HAVE_NETINET_ICMP_VAR_H
16246 #include <netinet/icmp_var.h>
16247 #endif
16249 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16251 cat >>confdefs.h <<_ACEOF
16252 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16253 _ACEOF
16259 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16260 #include <sys/types.h>
16261 #endif
16262 #ifdef HAVE_ALIAS_H
16263 #include <alias.h>
16264 #endif
16265 #ifdef HAVE_SYS_SOCKET_H
16266 #include <sys/socket.h>
16267 #endif
16268 #ifdef HAVE_SYS_SOCKETVAR_H
16269 #include <sys/socketvar.h>
16270 #endif
16271 #ifdef HAVE_SYS_TIMEOUT_H
16272 #include <sys/timeout.h>
16273 #endif
16274 #ifdef HAVE_NETINET_IN_H
16275 #include <netinet/in.h>
16276 #endif
16277 #ifdef HAVE_NETINET_IN_SYSTM_H
16278 #include <netinet/in_systm.h>
16279 #endif
16280 #ifdef HAVE_NETINET_IP_H
16281 #include <netinet/ip.h>
16282 #endif
16283 #ifdef HAVE_NETINET_IP_VAR_H
16284 #include <netinet/ip_var.h>
16285 #endif
16286 #ifdef HAVE_NETINET_IP_ICMP_H
16287 #include <netinet/ip_icmp.h>
16288 #endif
16289 #ifdef HAVE_NETINET_ICMP_VAR_H
16290 #include <netinet/icmp_var.h>
16291 #endif
16293 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16297 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16304 #include <sys/types.h>
16305 #endif
16306 #ifdef HAVE_SYS_SOCKETVAR_H
16307 #include <sys/socketvar.h>
16308 #endif
16309 #ifdef HAVE_NETINET_IN_H
16310 #include <netinet/in.h>
16311 #endif
16312 #ifdef HAVE_NETINET_IP_VAR_H
16313 #include <netinet/ip_var.h>
16314 #endif
16316 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16320 _ACEOF
16326 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
16327 #include <netinet/ip_var.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16334 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16341 #include <sys/types.h>
16342 #endif
16343 #ifdef HAVE_SYS_SOCKETVAR_H
16344 #include <sys/socketvar.h>
16345 #endif
16346 #ifdef HAVE_NETINET_IN_H
16347 #include <netinet/in.h>
16348 #endif
16349 #ifdef HAVE_NETINET_TCP_H
16350 #include <netinet/tcp.h>
16351 #endif
16352 #ifdef HAVE_NETINET_TCP_VAR_H
16353 #include <netinet/tcp_var.h>
16354 #endif
16356 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16360 _ACEOF
16366 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
16367 #include <netinet/tcp_var.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16374 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16381 #include <sys/types.h>
16382 #endif
16383 #ifdef HAVE_NETINET_IN_H
16384 #include <netinet/in.h>
16385 #endif
16386 #ifdef HAVE_NETINET_IP_VAR_H
16387 #include <netinet/ip_var.h>
16388 #endif
16389 #ifdef HAVE_NETINET_UDP_H
16390 #include <netinet/udp.h>
16391 #endif
16392 #ifdef HAVE_NETINET_UDP_VAR_H
16393 #include <netinet/udp_var.h>
16394 #endif
16396 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16400 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16407 #include <sys/types.h>
16408 #endif
16409 #ifdef HAVE_NET_IF_H
16410 # include <net/if.h>
16411 #endif
16413 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16417 _ACEOF
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16424 $as_echo_n "checking for timezone variable... " >&6; }
16425 if ${ac_cv_have_timezone+:} false; then :
16426 $as_echo_n "(cached) " >&6
16427 else
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16430 #include <time.h>
16432 main ()
16434 timezone = 1
16436 return 0;
16438 _ACEOF
16439 if ac_fn_c_try_link "$LINENO"; then :
16440 ac_cv_have_timezone="yes"
16441 else
16442 ac_cv_have_timezone="no"
16444 rm -f core conftest.err conftest.$ac_objext \
16445 conftest$ac_exeext conftest.$ac_ext
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16448 $as_echo "$ac_cv_have_timezone" >&6; }
16449 if test "$ac_cv_have_timezone" = "yes"
16450 then
16452 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16456 $as_echo_n "checking for daylight variable... " >&6; }
16457 if ${ac_cv_have_daylight+:} false; then :
16458 $as_echo_n "(cached) " >&6
16459 else
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462 #include <time.h>
16464 main ()
16466 daylight = 1
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_link "$LINENO"; then :
16472 ac_cv_have_daylight="yes"
16473 else
16474 ac_cv_have_daylight="no"
16476 rm -f core conftest.err conftest.$ac_objext \
16477 conftest$ac_exeext conftest.$ac_ext
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16480 $as_echo "$ac_cv_have_daylight" >&6; }
16481 if test "$ac_cv_have_daylight" = "yes"
16482 then
16484 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16488 ac_save_LIBS="$LIBS"
16489 LIBS="$LIBS -lm"
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16491 $as_echo_n "checking for isfinite... " >&6; }
16492 if ${ac_cv_have_isfinite+:} false; then :
16493 $as_echo_n "(cached) " >&6
16494 else
16495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496 /* end confdefs.h. */
16497 #define _GNU_SOURCE
16498 #include <math.h>
16500 main ()
16502 float f = 0.0; return isfinite(f)
16504 return 0;
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"; then :
16508 ac_cv_have_isfinite="yes"
16509 else
16510 ac_cv_have_isfinite="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_isfinite" >&5
16516 $as_echo "$ac_cv_have_isfinite" >&6; }
16517 if test "$ac_cv_have_isfinite" = "yes"
16518 then
16520 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16525 $as_echo_n "checking for isinf... " >&6; }
16526 if ${ac_cv_have_isinf+:} 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 isinf(f)
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_have_isinf="yes"
16542 else
16543 ac_cv_have_isinf="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_isinf" >&5
16549 $as_echo "$ac_cv_have_isinf" >&6; }
16550 if test "$ac_cv_have_isinf" = "yes"
16551 then
16553 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16558 $as_echo_n "checking for isnan... " >&6; }
16559 if ${ac_cv_have_isnan+:} false; then :
16560 $as_echo_n "(cached) " >&6
16561 else
16562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 /* end confdefs.h. */
16564 #include <math.h>
16566 main ()
16568 float f = 0.0; return isnan(f)
16570 return 0;
16572 _ACEOF
16573 if ac_fn_c_try_link "$LINENO"; then :
16574 ac_cv_have_isnan="yes"
16575 else
16576 ac_cv_have_isnan="no"
16578 rm -f core conftest.err conftest.$ac_objext \
16579 conftest$ac_exeext conftest.$ac_ext
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16582 $as_echo "$ac_cv_have_isnan" >&6; }
16583 if test "$ac_cv_have_isnan" = "yes"
16584 then
16586 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16590 for ac_func in \
16591 cbrt \
16592 cbrtf \
16593 erf \
16594 erff \
16595 exp2 \
16596 exp2f \
16597 llrint \
16598 llrintf \
16599 llround \
16600 llroundf \
16601 log2 \
16602 log2f \
16603 lrint \
16604 lrintf \
16605 lround \
16606 lroundf \
16607 rint \
16608 rintf \
16609 round \
16610 roundf \
16611 trunc \
16612 truncf
16614 do :
16615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16617 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16620 _ACEOF
16623 done
16625 LIBS="$ac_save_LIBS"
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16628 $as_echo_n "checking for __builtin_clz... " >&6; }
16629 if ${ac_cv_have___builtin_clz+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16636 main ()
16638 return __builtin_clz(1)
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"; then :
16644 ac_cv_have___builtin_clz="yes"
16645 else
16646 ac_cv_have___builtin_clz="no"
16648 rm -f core conftest.err conftest.$ac_objext \
16649 conftest$ac_exeext conftest.$ac_ext
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16652 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16653 if test "$ac_cv_have___builtin_clz" = "yes"
16654 then
16656 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16661 case $host_cpu in
16662 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16663 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16664 if ${ac_cv_cpp_def___i386__+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #ifndef __i386__
16671 #endif
16672 _ACEOF
16673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16674 $EGREP "yes" >/dev/null 2>&1; then :
16675 ac_cv_cpp_def___i386__=yes
16676 else
16677 ac_cv_cpp_def___i386__=no
16679 rm -f conftest*
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16683 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16684 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16685 CFLAGS="$CFLAGS -D__i386__"
16686 LINTFLAGS="$LINTFLAGS -D__i386__"
16687 fi ;;
16688 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16689 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16690 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #ifndef __x86_64__
16697 #endif
16698 _ACEOF
16699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16700 $EGREP "yes" >/dev/null 2>&1; then :
16701 ac_cv_cpp_def___x86_64__=yes
16702 else
16703 ac_cv_cpp_def___x86_64__=no
16705 rm -f conftest*
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16709 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16710 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16711 CFLAGS="$CFLAGS -D__x86_64__"
16712 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16713 fi ;;
16714 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16715 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16716 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #ifndef __sparc64__
16723 #endif
16724 _ACEOF
16725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16726 $EGREP "yes" >/dev/null 2>&1; then :
16727 ac_cv_cpp_def___sparc64__=yes
16728 else
16729 ac_cv_cpp_def___sparc64__=no
16731 rm -f conftest*
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16735 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16736 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16737 CFLAGS="$CFLAGS -D__sparc64__"
16738 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16739 fi ;;
16740 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16741 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16742 if ${ac_cv_cpp_def___sparc__+:} false; then :
16743 $as_echo_n "(cached) " >&6
16744 else
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #ifndef __sparc__
16749 #endif
16750 _ACEOF
16751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16752 $EGREP "yes" >/dev/null 2>&1; then :
16753 ac_cv_cpp_def___sparc__=yes
16754 else
16755 ac_cv_cpp_def___sparc__=no
16757 rm -f conftest*
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16761 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16762 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16763 CFLAGS="$CFLAGS -D__sparc__"
16764 LINTFLAGS="$LINTFLAGS -D__sparc__"
16765 fi ;;
16766 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16767 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16768 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #ifndef __powerpc64__
16775 #endif
16776 _ACEOF
16777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16778 $EGREP "yes" >/dev/null 2>&1; then :
16779 ac_cv_cpp_def___powerpc64__=yes
16780 else
16781 ac_cv_cpp_def___powerpc64__=no
16783 rm -f conftest*
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16787 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16788 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16789 CFLAGS="$CFLAGS -D__powerpc64__"
16790 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16791 fi ;;
16792 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16793 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16794 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 #ifndef __powerpc__
16801 #endif
16802 _ACEOF
16803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16804 $EGREP "yes" >/dev/null 2>&1; then :
16805 ac_cv_cpp_def___powerpc__=yes
16806 else
16807 ac_cv_cpp_def___powerpc__=no
16809 rm -f conftest*
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16813 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16814 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16815 CFLAGS="$CFLAGS -D__powerpc__"
16816 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16817 fi ;;
16818 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16819 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16820 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 #ifndef __aarch64__
16827 #endif
16828 _ACEOF
16829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16830 $EGREP "yes" >/dev/null 2>&1; then :
16831 ac_cv_cpp_def___aarch64__=yes
16832 else
16833 ac_cv_cpp_def___aarch64__=no
16835 rm -f conftest*
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16839 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16840 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16841 CFLAGS="$CFLAGS -D__aarch64__"
16842 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16843 fi ;;
16844 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16845 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16846 if ${ac_cv_cpp_def___arm__+:} false; then :
16847 $as_echo_n "(cached) " >&6
16848 else
16849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16851 #ifndef __arm__
16853 #endif
16854 _ACEOF
16855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16856 $EGREP "yes" >/dev/null 2>&1; then :
16857 ac_cv_cpp_def___arm__=yes
16858 else
16859 ac_cv_cpp_def___arm__=no
16861 rm -f conftest*
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16865 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16866 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16867 CFLAGS="$CFLAGS -D__arm__"
16868 LINTFLAGS="$LINTFLAGS -D__arm__"
16869 fi ;;
16870 esac
16872 case $host_vendor in
16873 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16874 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16875 if ${ac_cv_cpp_def___sun__+:} false; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16879 /* end confdefs.h. */
16880 #ifndef __sun__
16882 #endif
16883 _ACEOF
16884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16885 $EGREP "yes" >/dev/null 2>&1; then :
16886 ac_cv_cpp_def___sun__=yes
16887 else
16888 ac_cv_cpp_def___sun__=no
16890 rm -f conftest*
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16894 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16895 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16896 CFLAGS="$CFLAGS -D__sun__"
16897 LINTFLAGS="$LINTFLAGS -D__sun__"
16898 fi ;;
16899 esac
16905 ac_config_commands="$ac_config_commands include/stamp-h"
16907 $as_echo_n "creating Makefile rules..." >&6
16909 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16910 SOCKET_LIBS = $SOCKET_LIBS
16911 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16912 IOKIT_LIBS = $IOKIT_LIBS
16913 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16914 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16915 CORESERVICES_LIBS = $CORESERVICES_LIBS
16916 APPKIT_LIBS = $APPKIT_LIBS
16917 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16918 SECURITY_LIBS = $SECURITY_LIBS
16919 COREAUDIO_LIBS = $COREAUDIO_LIBS
16920 OPENAL_LIBS = $OPENAL_LIBS
16921 OPENCL_LIBS = $OPENCL_LIBS
16922 QUICKTIME_LIBS = $QUICKTIME_LIBS
16923 CARBON_LIBS = $CARBON_LIBS
16924 PTHREAD_LIBS = $PTHREAD_LIBS
16925 X_CFLAGS = $X_CFLAGS
16926 X_PRE_LIBS = $X_PRE_LIBS
16927 X_LIBS = $X_LIBS
16928 X_EXTRA_LIBS = $X_EXTRA_LIBS
16929 XML2_CFLAGS = $XML2_CFLAGS
16930 XML2_LIBS = $XML2_LIBS
16931 XSLT_CFLAGS = $XSLT_CFLAGS
16932 XSLT_LIBS = $XSLT_LIBS
16933 DBUS_CFLAGS = $DBUS_CFLAGS
16934 DBUS_LIBS = $DBUS_LIBS
16935 HAL_CFLAGS = $HAL_CFLAGS
16936 HAL_LIBS = $HAL_LIBS
16937 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16938 GNUTLS_LIBS = $GNUTLS_LIBS
16939 SANE_CFLAGS = $SANE_CFLAGS
16940 SANE_LIBS = $SANE_LIBS
16941 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16942 GPHOTO2_LIBS = $GPHOTO2_LIBS
16943 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16944 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16945 RESOLV_LIBS = $RESOLV_LIBS
16946 LCMS2_CFLAGS = $LCMS2_CFLAGS
16947 LCMS2_LIBS = $LCMS2_LIBS
16948 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16949 FREETYPE_LIBS = $FREETYPE_LIBS
16950 Z_LIBS = $Z_LIBS
16951 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16952 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16953 GSTREAMER_LIBS = $GSTREAMER_LIBS
16954 ALSA_LIBS = $ALSA_LIBS
16955 OSS4_CFLAGS = $OSS4_CFLAGS
16956 CAPI20_CFLAGS = $CAPI20_CFLAGS
16957 CAPI20_LIBS = $CAPI20_LIBS
16958 CUPS_CFLAGS = $CUPS_CFLAGS
16959 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16960 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16961 JPEG_CFLAGS = $JPEG_CFLAGS
16962 JPEG_LIBS = $JPEG_LIBS
16963 PNG_CFLAGS = $PNG_CFLAGS
16964 PNG_LIBS = $PNG_LIBS
16965 TIFF_CFLAGS = $TIFF_CFLAGS
16966 TIFF_LIBS = $TIFF_LIBS
16967 MPG123_CFLAGS = $MPG123_CFLAGS
16968 MPG123_LIBS = $MPG123_LIBS
16969 KSTAT_LIBS = $KSTAT_LIBS
16970 PROCSTAT_LIBS = $PROCSTAT_LIBS
16971 DL_LIBS = $DL_LIBS
16972 POLL_LIBS = $POLL_LIBS
16973 RT_LIBS = $RT_LIBS
16974 LDAP_LIBS = $LDAP_LIBS
16979 wine_fn_append_rule "
16980 # Rules automatically generated by configure
16982 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16984 .INIT: Makefile
16985 .MAKEFILEDEPS:
16986 all: Makefile
16987 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16988 @./config.status Make.tmp Makefile"
16990 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16991 .gitignore: config.status
16992 @./config.status .gitignore"
16994 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16995 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16997 if test "x$enable_fonts" != xno; then
16998 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16999 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17000 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17001 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17002 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17004 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17005 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17006 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17007 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17008 ac_config_links="$ac_config_links wine:tools/winewrapper"
17009 wine_fn_config_symlink wine
17010 if test "x$enable_win64" != xno; then
17011 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17012 wine_fn_config_symlink wine64
17015 wine_fn_config_dll acledit enable_acledit
17016 wine_fn_config_dll aclui enable_aclui implib
17017 wine_fn_config_dll activeds enable_activeds implib
17018 wine_fn_config_dll actxprxy enable_actxprxy clean
17019 wine_fn_config_lib adsiid
17020 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17021 wine_fn_config_test dlls/advapi32/tests advapi32_test
17022 wine_fn_config_dll advpack enable_advpack implib
17023 wine_fn_config_test dlls/advpack/tests advpack_test
17024 wine_fn_config_dll amstream enable_amstream clean
17025 wine_fn_config_test dlls/amstream/tests amstream_test
17026 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17030 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17032 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17034 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17035 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17037 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17039 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17040 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17041 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17044 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17047 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17048 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17051 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17052 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17053 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17057 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17060 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17062 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17063 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17064 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17065 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17066 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17067 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17068 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17069 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17070 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17071 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17072 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17073 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17074 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17075 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17076 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17077 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17078 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17079 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17080 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17081 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17082 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17083 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17084 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17085 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17086 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17087 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17088 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17089 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17090 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17091 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17092 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17093 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17094 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17095 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17096 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17097 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17098 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17099 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17100 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17101 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17102 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17103 wine_fn_config_dll apphelp enable_apphelp
17104 wine_fn_config_test dlls/apphelp/tests apphelp_test
17105 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17106 wine_fn_config_dll atl enable_atl clean,implib
17107 wine_fn_config_test dlls/atl/tests atl_test
17108 wine_fn_config_dll atl100 enable_atl100 clean,implib
17109 wine_fn_config_test dlls/atl100/tests atl100_test
17110 wine_fn_config_dll atl110 enable_atl110 clean
17111 wine_fn_config_dll atl80 enable_atl80 clean,implib
17112 wine_fn_config_test dlls/atl80/tests atl80_test
17113 wine_fn_config_dll atl90 enable_atl90 clean
17114 wine_fn_config_dll authz enable_authz
17115 wine_fn_config_dll avicap32 enable_avicap32 implib
17116 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17117 wine_fn_config_test dlls/avifil32/tests avifil32_test
17118 wine_fn_config_dll avifile.dll16 enable_win16
17119 wine_fn_config_dll avrt enable_avrt implib
17120 wine_fn_config_dll bcrypt enable_bcrypt
17121 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17122 wine_fn_config_dll browseui enable_browseui clean,po
17123 wine_fn_config_test dlls/browseui/tests browseui_test
17124 wine_fn_config_dll cabinet enable_cabinet implib
17125 wine_fn_config_test dlls/cabinet/tests cabinet_test
17126 wine_fn_config_dll capi2032 enable_capi2032 implib
17127 wine_fn_config_dll cards enable_cards implib
17128 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17129 wine_fn_config_dll clusapi enable_clusapi implib
17130 wine_fn_config_dll combase enable_combase
17131 wine_fn_config_test dlls/combase/tests combase_test
17132 wine_fn_config_dll comcat enable_comcat
17133 wine_fn_config_test dlls/comcat/tests comcat_test
17134 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17135 wine_fn_config_test dlls/comctl32/tests comctl32_test
17136 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17137 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17138 wine_fn_config_dll comm.drv16 enable_win16
17139 wine_fn_config_dll commdlg.dll16 enable_win16
17140 wine_fn_config_dll compobj.dll16 enable_win16
17141 wine_fn_config_dll compstui enable_compstui implib
17142 wine_fn_config_dll comsvcs enable_comsvcs implib
17143 wine_fn_config_dll connect enable_connect
17144 wine_fn_config_dll credui enable_credui implib,po
17145 wine_fn_config_test dlls/credui/tests credui_test
17146 wine_fn_config_dll crtdll enable_crtdll implib
17147 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17148 wine_fn_config_test dlls/crypt32/tests crypt32_test
17149 wine_fn_config_dll cryptdlg enable_cryptdlg po
17150 wine_fn_config_dll cryptdll enable_cryptdll implib
17151 wine_fn_config_dll cryptext enable_cryptext
17152 wine_fn_config_dll cryptnet enable_cryptnet implib
17153 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17154 wine_fn_config_dll cryptui enable_cryptui implib,po
17155 wine_fn_config_test dlls/cryptui/tests cryptui_test
17156 wine_fn_config_dll ctapi32 enable_ctapi32
17157 wine_fn_config_dll ctl3d.dll16 enable_win16
17158 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17159 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17160 wine_fn_config_dll d2d1 enable_d2d1 implib
17161 wine_fn_config_test dlls/d2d1/tests d2d1_test
17162 wine_fn_config_dll d3d10 enable_d3d10 implib
17163 wine_fn_config_test dlls/d3d10/tests d3d10_test
17164 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17165 wine_fn_config_dll d3d10core enable_d3d10core implib
17166 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17167 wine_fn_config_dll d3d11 enable_d3d11
17168 wine_fn_config_dll d3d8 enable_d3d8 implib
17169 wine_fn_config_test dlls/d3d8/tests d3d8_test
17170 wine_fn_config_dll d3d9 enable_d3d9 implib
17171 wine_fn_config_test dlls/d3d9/tests d3d9_test
17172 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17173 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17174 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17175 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17176 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17177 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17178 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17179 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17180 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17181 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17182 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17183 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17184 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17185 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17186 wine_fn_config_dll d3dim enable_d3dim implib
17187 wine_fn_config_dll d3drm enable_d3drm implib
17188 wine_fn_config_test dlls/d3drm/tests d3drm_test
17189 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17190 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17191 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17192 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17193 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17194 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17195 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17196 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17197 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17198 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17199 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17200 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17201 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17202 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17203 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17204 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17205 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17206 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17207 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17208 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17209 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17210 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17211 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17212 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17213 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17214 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17215 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17216 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17217 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17218 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17219 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17220 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17221 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17222 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17223 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17224 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17225 wine_fn_config_dll dbgeng enable_dbgeng implib
17226 wine_fn_config_dll dbghelp enable_dbghelp implib
17227 wine_fn_config_dll dciman32 enable_dciman32 implib
17228 wine_fn_config_dll ddeml.dll16 enable_win16
17229 wine_fn_config_dll ddraw enable_ddraw clean,implib
17230 wine_fn_config_test dlls/ddraw/tests ddraw_test
17231 wine_fn_config_dll ddrawex enable_ddrawex clean
17232 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17233 wine_fn_config_dll devenum enable_devenum clean,po
17234 wine_fn_config_test dlls/devenum/tests devenum_test
17235 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17236 wine_fn_config_dll difxapi enable_difxapi
17237 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17238 wine_fn_config_test dlls/dinput/tests dinput_test
17239 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17240 wine_fn_config_test dlls/dinput8/tests dinput8_test
17241 wine_fn_config_dll dispdib.dll16 enable_win16
17242 wine_fn_config_dll dispex enable_dispex clean
17243 wine_fn_config_test dlls/dispex/tests dispex_test
17244 wine_fn_config_dll display.drv16 enable_win16
17245 wine_fn_config_dll dmband enable_dmband clean
17246 wine_fn_config_test dlls/dmband/tests dmband_test
17247 wine_fn_config_dll dmcompos enable_dmcompos clean
17248 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17249 wine_fn_config_dll dmime enable_dmime clean
17250 wine_fn_config_test dlls/dmime/tests dmime_test
17251 wine_fn_config_dll dmloader enable_dmloader clean
17252 wine_fn_config_test dlls/dmloader/tests dmloader_test
17253 wine_fn_config_dll dmscript enable_dmscript clean
17254 wine_fn_config_test dlls/dmscript/tests dmscript_test
17255 wine_fn_config_dll dmstyle enable_dmstyle clean
17256 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17257 wine_fn_config_dll dmsynth enable_dmsynth clean
17258 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17259 wine_fn_config_dll dmusic enable_dmusic clean
17260 wine_fn_config_test dlls/dmusic/tests dmusic_test
17261 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17262 wine_fn_config_dll dnsapi enable_dnsapi implib
17263 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17264 wine_fn_config_dll dplay enable_dplay implib
17265 wine_fn_config_dll dplayx enable_dplayx clean,implib
17266 wine_fn_config_test dlls/dplayx/tests dplayx_test
17267 wine_fn_config_dll dpnaddr enable_dpnaddr
17268 wine_fn_config_dll dpnet enable_dpnet clean,implib
17269 wine_fn_config_test dlls/dpnet/tests dpnet_test
17270 wine_fn_config_dll dpnhpast enable_dpnhpast
17271 wine_fn_config_dll dpnlobby enable_dpnlobby
17272 wine_fn_config_dll dpvoice enable_dpvoice clean
17273 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17274 wine_fn_config_dll dpwsockx enable_dpwsockx
17275 wine_fn_config_dll drmclien enable_drmclien
17276 wine_fn_config_dll dsound enable_dsound clean,implib
17277 wine_fn_config_test dlls/dsound/tests dsound_test
17278 wine_fn_config_dll dssenh enable_dssenh
17279 wine_fn_config_test dlls/dssenh/tests dssenh_test
17280 wine_fn_config_dll dswave enable_dswave clean
17281 wine_fn_config_test dlls/dswave/tests dswave_test
17282 wine_fn_config_dll dwmapi enable_dwmapi implib
17283 wine_fn_config_dll dwrite enable_dwrite implib
17284 wine_fn_config_test dlls/dwrite/tests dwrite_test
17285 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17286 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17287 wine_fn_config_lib dxerr8
17288 wine_fn_config_lib dxerr9
17289 wine_fn_config_dll dxgi enable_dxgi implib
17290 wine_fn_config_test dlls/dxgi/tests dxgi_test
17291 wine_fn_config_lib dxguid
17292 wine_fn_config_dll dxva2 enable_dxva2
17293 wine_fn_config_dll evr enable_evr
17294 wine_fn_config_dll explorerframe enable_explorerframe clean
17295 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17296 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17297 wine_fn_config_dll faultrep enable_faultrep implib
17298 wine_fn_config_test dlls/faultrep/tests faultrep_test
17299 wine_fn_config_dll fltlib enable_fltlib
17300 wine_fn_config_dll fntcache enable_fntcache
17301 wine_fn_config_dll fontsub enable_fontsub
17302 wine_fn_config_dll fusion enable_fusion
17303 wine_fn_config_test dlls/fusion/tests fusion_test
17304 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17305 wine_fn_config_dll gameux enable_gameux clean
17306 wine_fn_config_test dlls/gameux/tests gameux_test
17307 wine_fn_config_dll gdi.exe16 enable_win16
17308 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17309 wine_fn_config_test dlls/gdi32/tests gdi32_test
17310 wine_fn_config_dll gdiplus enable_gdiplus implib
17311 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17312 wine_fn_config_dll glu32 enable_glu32 implib
17313 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17314 wine_fn_config_dll gpkcsp enable_gpkcsp
17315 wine_fn_config_dll hal enable_hal
17316 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17317 wine_fn_config_dll hid enable_hid implib
17318 wine_fn_config_dll hlink enable_hlink clean,implib
17319 wine_fn_config_test dlls/hlink/tests hlink_test
17320 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17321 wine_fn_config_dll httpapi enable_httpapi
17322 wine_fn_config_dll iccvid enable_iccvid po
17323 wine_fn_config_dll icmp enable_icmp
17324 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17325 wine_fn_config_test dlls/ieframe/tests ieframe_test
17326 wine_fn_config_dll ifsmgr.vxd enable_win16
17327 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17328 wine_fn_config_dll imagehlp enable_imagehlp implib
17329 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17330 wine_fn_config_dll imm.dll16 enable_win16
17331 wine_fn_config_dll imm32 enable_imm32 implib
17332 wine_fn_config_test dlls/imm32/tests imm32_test
17333 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17334 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17335 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17336 wine_fn_config_dll inetmib1 enable_inetmib1
17337 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17338 wine_fn_config_dll infosoft enable_infosoft clean
17339 wine_fn_config_test dlls/infosoft/tests infosoft_test
17340 wine_fn_config_dll initpki enable_initpki
17341 wine_fn_config_dll inkobj enable_inkobj
17342 wine_fn_config_dll inseng enable_inseng clean
17343 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17344 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17345 wine_fn_config_dll itircl enable_itircl
17346 wine_fn_config_dll itss enable_itss clean
17347 wine_fn_config_test dlls/itss/tests itss_test
17348 wine_fn_config_dll joy.cpl enable_joy_cpl po
17349 wine_fn_config_dll jscript enable_jscript clean,po
17350 wine_fn_config_test dlls/jscript/tests jscript_test
17351 wine_fn_config_dll jsproxy enable_jsproxy implib
17352 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17353 wine_fn_config_test dlls/kernel32/tests kernel32_test
17354 wine_fn_config_dll keyboard.drv16 enable_win16
17355 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17356 wine_fn_config_dll ksuser enable_ksuser
17357 wine_fn_config_dll ktmw32 enable_ktmw32
17358 wine_fn_config_dll loadperf enable_loadperf implib
17359 wine_fn_config_dll localspl enable_localspl po
17360 wine_fn_config_test dlls/localspl/tests localspl_test
17361 wine_fn_config_dll localui enable_localui po
17362 wine_fn_config_test dlls/localui/tests localui_test
17363 wine_fn_config_dll lz32 enable_lz32 implib
17364 wine_fn_config_test dlls/lz32/tests lz32_test
17365 wine_fn_config_dll lzexpand.dll16 enable_win16
17366 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17367 wine_fn_config_test dlls/mapi32/tests mapi32_test
17368 wine_fn_config_dll mapistub enable_mapistub
17369 wine_fn_config_dll mciavi32 enable_mciavi32
17370 wine_fn_config_dll mcicda enable_mcicda
17371 wine_fn_config_dll mciqtz32 enable_mciqtz32
17372 wine_fn_config_dll mciseq enable_mciseq
17373 wine_fn_config_dll mciwave enable_mciwave
17374 wine_fn_config_dll mf enable_mf
17375 wine_fn_config_dll mfplat enable_mfplat
17376 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17377 wine_fn_config_dll mgmtapi enable_mgmtapi
17378 wine_fn_config_dll midimap enable_midimap
17379 wine_fn_config_dll mlang enable_mlang clean,implib
17380 wine_fn_config_test dlls/mlang/tests mlang_test
17381 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17382 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17383 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17384 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17385 wine_fn_config_dll mmdevldr.vxd enable_win16
17386 wine_fn_config_dll mmsystem.dll16 enable_win16
17387 wine_fn_config_dll monodebg.vxd enable_win16
17388 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17389 wine_fn_config_dll mouse.drv16 enable_win16
17390 wine_fn_config_dll mpr enable_mpr implib,po
17391 wine_fn_config_test dlls/mpr/tests mpr_test
17392 wine_fn_config_dll mprapi enable_mprapi implib
17393 wine_fn_config_dll msacm.dll16 enable_win16
17394 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17395 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17396 wine_fn_config_test dlls/msacm32/tests msacm32_test
17397 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17398 wine_fn_config_dll msasn1 enable_msasn1 implib
17399 wine_fn_config_dll mscat32 enable_mscat32
17400 wine_fn_config_dll mscms enable_mscms implib
17401 wine_fn_config_test dlls/mscms/tests mscms_test
17402 wine_fn_config_dll mscoree enable_mscoree clean
17403 wine_fn_config_test dlls/mscoree/tests mscoree_test
17404 wine_fn_config_dll msctf enable_msctf clean
17405 wine_fn_config_test dlls/msctf/tests msctf_test
17406 wine_fn_config_dll msctfp enable_msctfp clean
17407 wine_fn_config_dll msdaps enable_msdaps clean
17408 wine_fn_config_dll msdmo enable_msdmo implib
17409 wine_fn_config_test dlls/msdmo/tests msdmo_test
17410 wine_fn_config_dll msftedit enable_msftedit
17411 wine_fn_config_dll msg711.acm enable_msg711_acm
17412 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17413 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17414 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17415 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17416 wine_fn_config_dll msi enable_msi clean,implib,po
17417 wine_fn_config_test dlls/msi/tests msi_test
17418 wine_fn_config_dll msident enable_msident clean
17419 wine_fn_config_dll msimg32 enable_msimg32 implib
17420 wine_fn_config_dll msimsg enable_msimsg
17421 wine_fn_config_dll msimtf enable_msimtf clean
17422 wine_fn_config_dll msisip enable_msisip
17423 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17424 wine_fn_config_dll msls31 enable_msls31
17425 wine_fn_config_dll msnet32 enable_msnet32
17426 wine_fn_config_dll mspatcha enable_mspatcha implib
17427 wine_fn_config_dll msrle32 enable_msrle32 po
17428 wine_fn_config_test dlls/msrle32/tests msrle32_test
17429 wine_fn_config_dll mssign32 enable_mssign32
17430 wine_fn_config_dll mssip32 enable_mssip32
17431 wine_fn_config_dll mstask enable_mstask clean
17432 wine_fn_config_test dlls/mstask/tests mstask_test
17433 wine_fn_config_dll msvcirt enable_msvcirt
17434 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17435 wine_fn_config_dll msvcm80 enable_msvcm80
17436 wine_fn_config_dll msvcm90 enable_msvcm90
17437 wine_fn_config_dll msvcp100 enable_msvcp100
17438 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17439 wine_fn_config_dll msvcp110 enable_msvcp110
17440 wine_fn_config_dll msvcp120 enable_msvcp120
17441 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17442 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17443 wine_fn_config_dll msvcp60 enable_msvcp60
17444 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17445 wine_fn_config_dll msvcp70 enable_msvcp70
17446 wine_fn_config_dll msvcp71 enable_msvcp71
17447 wine_fn_config_dll msvcp80 enable_msvcp80
17448 wine_fn_config_dll msvcp90 enable_msvcp90
17449 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17450 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17451 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17452 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17453 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17454 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17455 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17456 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17457 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17458 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17459 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17460 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17461 wine_fn_config_dll msvcrt enable_msvcrt implib
17462 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17463 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17464 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17465 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17466 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17467 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17468 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17469 wine_fn_config_dll msvidc32 enable_msvidc32 po
17470 wine_fn_config_dll msvideo.dll16 enable_win16
17471 wine_fn_config_dll mswsock enable_mswsock implib
17472 wine_fn_config_dll msxml enable_msxml clean
17473 wine_fn_config_dll msxml2 enable_msxml2 clean
17474 wine_fn_config_dll msxml3 enable_msxml3 clean
17475 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17476 wine_fn_config_dll msxml4 enable_msxml4 clean
17477 wine_fn_config_dll msxml6 enable_msxml6 clean
17478 wine_fn_config_dll nddeapi enable_nddeapi implib
17479 wine_fn_config_dll ndis.sys enable_ndis_sys
17480 wine_fn_config_dll netapi32 enable_netapi32 implib
17481 wine_fn_config_test dlls/netapi32/tests netapi32_test
17482 wine_fn_config_dll netcfgx enable_netcfgx clean
17483 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17484 wine_fn_config_dll netprofm enable_netprofm clean
17485 wine_fn_config_test dlls/netprofm/tests netprofm_test
17486 wine_fn_config_dll newdev enable_newdev implib
17487 wine_fn_config_dll normaliz enable_normaliz implib
17488 wine_fn_config_dll npmshtml enable_npmshtml
17489 wine_fn_config_dll npptools enable_npptools
17490 wine_fn_config_dll ntdll enable_ntdll implib
17491 wine_fn_config_test dlls/ntdll/tests ntdll_test
17492 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17493 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17494 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17495 wine_fn_config_dll ntprint enable_ntprint
17496 wine_fn_config_test dlls/ntprint/tests ntprint_test
17497 wine_fn_config_dll objsel enable_objsel clean
17498 wine_fn_config_dll odbc32 enable_odbc32 implib
17499 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17500 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17501 wine_fn_config_dll odbccu32 enable_odbccu32
17502 wine_fn_config_dll ole2.dll16 enable_win16
17503 wine_fn_config_dll ole2conv.dll16 enable_win16
17504 wine_fn_config_dll ole2disp.dll16 enable_win16
17505 wine_fn_config_dll ole2nls.dll16 enable_win16
17506 wine_fn_config_dll ole2prox.dll16 enable_win16
17507 wine_fn_config_dll ole2thk.dll16 enable_win16
17508 wine_fn_config_dll ole32 enable_ole32 clean,implib
17509 wine_fn_config_test dlls/ole32/tests ole32_test
17510 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17511 wine_fn_config_test dlls/oleacc/tests oleacc_test
17512 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17513 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17514 wine_fn_config_dll olecli.dll16 enable_win16
17515 wine_fn_config_dll olecli32 enable_olecli32 implib
17516 wine_fn_config_dll oledb32 enable_oledb32 clean
17517 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17518 wine_fn_config_dll oledlg enable_oledlg implib,po
17519 wine_fn_config_test dlls/oledlg/tests oledlg_test
17520 wine_fn_config_dll olepro32 enable_olepro32 implib
17521 wine_fn_config_dll olesvr.dll16 enable_win16
17522 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17523 wine_fn_config_dll olethk32 enable_olethk32
17524 wine_fn_config_dll openal32 enable_openal32
17525 wine_fn_config_dll opencl enable_opencl
17526 wine_fn_config_dll opengl32 enable_opengl32 implib
17527 wine_fn_config_test dlls/opengl32/tests opengl32_test
17528 wine_fn_config_dll packager enable_packager clean
17529 wine_fn_config_test dlls/packager/tests packager_test
17530 wine_fn_config_dll pdh enable_pdh implib
17531 wine_fn_config_test dlls/pdh/tests pdh_test
17532 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17533 wine_fn_config_dll pidgen enable_pidgen
17534 wine_fn_config_dll powrprof enable_powrprof implib
17535 wine_fn_config_dll printui enable_printui
17536 wine_fn_config_dll prntvpt enable_prntvpt
17537 wine_fn_config_dll propsys enable_propsys clean,implib
17538 wine_fn_config_test dlls/propsys/tests propsys_test
17539 wine_fn_config_dll psapi enable_psapi implib
17540 wine_fn_config_test dlls/psapi/tests psapi_test
17541 wine_fn_config_dll pstorec enable_pstorec clean
17542 wine_fn_config_dll qcap enable_qcap
17543 wine_fn_config_test dlls/qcap/tests qcap_test
17544 wine_fn_config_dll qedit enable_qedit clean
17545 wine_fn_config_test dlls/qedit/tests qedit_test
17546 wine_fn_config_dll qmgr enable_qmgr clean
17547 wine_fn_config_test dlls/qmgr/tests qmgr_test
17548 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17549 wine_fn_config_dll quartz enable_quartz clean,implib
17550 wine_fn_config_test dlls/quartz/tests quartz_test clean
17551 wine_fn_config_dll query enable_query
17552 wine_fn_config_dll rasapi16.dll16 enable_win16
17553 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17554 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17555 wine_fn_config_dll rasdlg enable_rasdlg implib
17556 wine_fn_config_dll regapi enable_regapi
17557 wine_fn_config_dll resutils enable_resutils implib
17558 wine_fn_config_dll riched20 enable_riched20 clean,implib
17559 wine_fn_config_test dlls/riched20/tests riched20_test
17560 wine_fn_config_dll riched32 enable_riched32
17561 wine_fn_config_test dlls/riched32/tests riched32_test
17562 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17563 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17564 wine_fn_config_dll rsabase enable_rsabase
17565 wine_fn_config_dll rsaenh enable_rsaenh implib
17566 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17567 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17568 wine_fn_config_dll rtutils enable_rtutils implib
17569 wine_fn_config_dll samlib enable_samlib
17570 wine_fn_config_dll sane.ds enable_sane_ds po
17571 wine_fn_config_dll scarddlg enable_scarddlg
17572 wine_fn_config_dll sccbase enable_sccbase
17573 wine_fn_config_dll schannel enable_schannel
17574 wine_fn_config_test dlls/schannel/tests schannel_test
17575 wine_fn_config_dll schedsvc enable_schedsvc clean
17576 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17577 wine_fn_config_dll scrrun enable_scrrun clean
17578 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17579 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17580 wine_fn_config_dll secur32 enable_secur32 implib
17581 wine_fn_config_test dlls/secur32/tests secur32_test
17582 wine_fn_config_dll security enable_security
17583 wine_fn_config_dll sensapi enable_sensapi implib
17584 wine_fn_config_dll serialui enable_serialui implib,po
17585 wine_fn_config_test dlls/serialui/tests serialui_test
17586 wine_fn_config_dll setupapi enable_setupapi implib,po
17587 wine_fn_config_test dlls/setupapi/tests setupapi_test
17588 wine_fn_config_dll setupx.dll16 enable_win16
17589 wine_fn_config_dll sfc enable_sfc implib
17590 wine_fn_config_dll sfc_os enable_sfc_os implib
17591 wine_fn_config_dll shdoclc enable_shdoclc po
17592 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17593 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17594 wine_fn_config_dll shell.dll16 enable_win16
17595 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17596 wine_fn_config_test dlls/shell32/tests shell32_test
17597 wine_fn_config_dll shfolder enable_shfolder implib
17598 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17599 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17600 wine_fn_config_dll slbcsp enable_slbcsp
17601 wine_fn_config_dll slc enable_slc implib
17602 wine_fn_config_test dlls/slc/tests slc_test
17603 wine_fn_config_dll snmpapi enable_snmpapi implib
17604 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17605 wine_fn_config_dll softpub enable_softpub
17606 wine_fn_config_dll sound.drv16 enable_win16
17607 wine_fn_config_dll spoolss enable_spoolss implib
17608 wine_fn_config_test dlls/spoolss/tests spoolss_test
17609 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17610 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17611 wine_fn_config_dll sti enable_sti clean,implib
17612 wine_fn_config_test dlls/sti/tests sti_test
17613 wine_fn_config_dll storage.dll16 enable_win16
17614 wine_fn_config_dll stress.dll16 enable_win16
17615 wine_fn_config_lib strmbase
17616 wine_fn_config_lib strmiids
17617 wine_fn_config_dll svrapi enable_svrapi
17618 wine_fn_config_dll sxs enable_sxs implib
17619 wine_fn_config_test dlls/sxs/tests sxs_test
17620 wine_fn_config_dll system.drv16 enable_win16
17621 wine_fn_config_dll t2embed enable_t2embed
17622 wine_fn_config_dll tapi32 enable_tapi32 implib
17623 wine_fn_config_dll taskschd enable_taskschd clean
17624 wine_fn_config_test dlls/taskschd/tests taskschd_test
17625 wine_fn_config_dll toolhelp.dll16 enable_win16
17626 wine_fn_config_dll traffic enable_traffic
17627 wine_fn_config_dll twain.dll16 enable_win16
17628 wine_fn_config_dll twain_32 enable_twain_32
17629 wine_fn_config_test dlls/twain_32/tests twain_32_test
17630 wine_fn_config_dll typelib.dll16 enable_win16
17631 wine_fn_config_dll unicows enable_unicows implib
17632 wine_fn_config_dll updspapi enable_updspapi
17633 wine_fn_config_dll url enable_url implib
17634 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17635 wine_fn_config_test dlls/urlmon/tests urlmon_test
17636 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17637 wine_fn_config_dll user.exe16 enable_win16
17638 wine_fn_config_dll user32 enable_user32 clean,implib,po
17639 wine_fn_config_test dlls/user32/tests user32_test
17640 wine_fn_config_dll userenv enable_userenv implib
17641 wine_fn_config_test dlls/userenv/tests userenv_test
17642 wine_fn_config_dll usp10 enable_usp10 implib
17643 wine_fn_config_test dlls/usp10/tests usp10_test
17644 wine_fn_config_lib uuid
17645 wine_fn_config_dll uxtheme enable_uxtheme implib
17646 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17647 wine_fn_config_dll vbscript enable_vbscript clean
17648 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17649 wine_fn_config_dll vcomp enable_vcomp
17650 wine_fn_config_dll vcomp100 enable_vcomp100
17651 wine_fn_config_dll vcomp90 enable_vcomp90
17652 wine_fn_config_dll vdhcp.vxd enable_win16
17653 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17654 wine_fn_config_dll ver.dll16 enable_win16
17655 wine_fn_config_dll version enable_version implib
17656 wine_fn_config_test dlls/version/tests version_test
17657 wine_fn_config_dll vmm.vxd enable_win16
17658 wine_fn_config_dll vnbt.vxd enable_win16
17659 wine_fn_config_dll vnetbios.vxd enable_win16
17660 wine_fn_config_dll vssapi enable_vssapi
17661 wine_fn_config_dll vtdapi.vxd enable_win16
17662 wine_fn_config_dll vwin32.vxd enable_win16
17663 wine_fn_config_dll w32skrnl enable_win16
17664 wine_fn_config_dll w32sys.dll16 enable_win16
17665 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17666 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17667 wine_fn_config_dll wbemprox enable_wbemprox clean
17668 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17669 wine_fn_config_dll webservices enable_webservices implib
17670 wine_fn_config_dll wer enable_wer implib
17671 wine_fn_config_test dlls/wer/tests wer_test
17672 wine_fn_config_dll wevtapi enable_wevtapi
17673 wine_fn_config_dll wiaservc enable_wiaservc clean
17674 wine_fn_config_dll win32s16.dll16 enable_win16
17675 wine_fn_config_dll win87em.dll16 enable_win16
17676 wine_fn_config_dll winaspi.dll16 enable_win16
17677 wine_fn_config_dll windebug.dll16 enable_win16
17678 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17679 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17680 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17681 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17682 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17683 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17684 wine_fn_config_lib winecrt0
17685 wine_fn_config_dll wined3d enable_wined3d implib
17686 wine_fn_config_dll winegstreamer enable_winegstreamer
17687 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17688 wine_fn_config_dll winemac.drv enable_winemac_drv
17689 wine_fn_config_dll winemapi enable_winemapi
17690 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17691 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17692 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17693 wine_fn_config_dll wineps16.drv16 enable_win16
17694 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17695 wine_fn_config_dll winex11.drv enable_winex11_drv
17696 wine_fn_config_dll wing.dll16 enable_win16
17697 wine_fn_config_dll wing32 enable_wing32
17698 wine_fn_config_dll winhttp enable_winhttp clean,implib
17699 wine_fn_config_test dlls/winhttp/tests winhttp_test
17700 wine_fn_config_dll wininet enable_wininet implib,po
17701 wine_fn_config_test dlls/wininet/tests wininet_test
17702 wine_fn_config_dll winmm enable_winmm implib,po
17703 wine_fn_config_test dlls/winmm/tests winmm_test
17704 wine_fn_config_dll winnls.dll16 enable_win16
17705 wine_fn_config_dll winnls32 enable_winnls32 implib
17706 wine_fn_config_dll winscard enable_winscard implib
17707 wine_fn_config_dll winsock.dll16 enable_win16
17708 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17709 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17710 wine_fn_config_dll winsta enable_winsta
17711 wine_fn_config_dll wintab.dll16 enable_win16
17712 wine_fn_config_dll wintab32 enable_wintab32 implib
17713 wine_fn_config_test dlls/wintab32/tests wintab32_test
17714 wine_fn_config_dll wintrust enable_wintrust implib
17715 wine_fn_config_test dlls/wintrust/tests wintrust_test
17716 wine_fn_config_dll wlanapi enable_wlanapi
17717 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17718 wine_fn_config_test dlls/wldap32/tests wldap32_test
17719 wine_fn_config_dll wmi enable_wmi
17720 wine_fn_config_dll wmiutils enable_wmiutils clean
17721 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17722 wine_fn_config_dll wmp enable_wmp clean
17723 wine_fn_config_test dlls/wmp/tests wmp_test
17724 wine_fn_config_dll wmvcore enable_wmvcore
17725 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17726 wine_fn_config_dll wow32 enable_win16 implib
17727 wine_fn_config_dll wpcap enable_wpcap
17728 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17729 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17730 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17731 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17732 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17733 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17734 wine_fn_config_dll wsock32 enable_wsock32 implib
17735 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17736 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17737 wine_fn_config_dll wuapi enable_wuapi clean
17738 wine_fn_config_dll wuaueng enable_wuaueng
17739 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17740 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17741 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17742 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17743 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17744 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17745 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17746 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17747 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17748 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17749 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17750 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17751 wine_fn_config_dll xinput1_1 enable_xinput1_1
17752 wine_fn_config_dll xinput1_2 enable_xinput1_2
17753 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17754 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17755 wine_fn_config_dll xinput1_4 enable_xinput1_4
17756 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17757 wine_fn_config_dll xmllite enable_xmllite implib
17758 wine_fn_config_test dlls/xmllite/tests xmllite_test
17759 wine_fn_config_dll xolehlp enable_xolehlp
17760 wine_fn_config_dll xpsprint enable_xpsprint
17761 wine_fn_config_dll xpssvcs enable_xpssvcs
17762 wine_fn_config_makefile documentation enable_documentation clean
17763 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17764 wine_fn_config_makefile include enable_include clean,install-dev
17765 wine_fn_config_makefile libs/port enable_libs_port
17766 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17767 wine_fn_config_makefile libs/wpp enable_libs_wpp
17768 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17769 wine_fn_config_program arp enable_arp install
17770 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17771 wine_fn_config_program attrib enable_attrib install,po
17772 wine_fn_config_program cabarc enable_cabarc install
17773 wine_fn_config_program cacls enable_cacls install
17774 wine_fn_config_program clock enable_clock install,po
17775 wine_fn_config_program cmd enable_cmd install,po
17776 wine_fn_config_test programs/cmd/tests cmd.exe_test
17777 wine_fn_config_program conhost enable_conhost install
17778 wine_fn_config_program control enable_control install
17779 wine_fn_config_program cscript enable_cscript clean,install
17780 wine_fn_config_program dpnsvr enable_dpnsvr install
17781 wine_fn_config_program dxdiag enable_dxdiag install,po
17782 wine_fn_config_program eject enable_eject install
17783 wine_fn_config_program expand enable_expand install
17784 wine_fn_config_program explorer enable_explorer install,po
17785 wine_fn_config_program extrac32 enable_extrac32 install
17786 wine_fn_config_program findstr enable_findstr install
17787 wine_fn_config_program hh enable_hh install
17788 wine_fn_config_program hostname enable_hostname install,po
17789 wine_fn_config_program icinfo enable_icinfo install
17790 wine_fn_config_program iexplore enable_iexplore install
17791 wine_fn_config_program ipconfig enable_ipconfig install,po
17792 wine_fn_config_program lodctr enable_lodctr install
17793 wine_fn_config_program mofcomp enable_mofcomp install
17794 wine_fn_config_program mshta enable_mshta install
17795 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17796 wine_fn_config_program net enable_net install,po
17797 wine_fn_config_program netsh enable_netsh install
17798 wine_fn_config_program netstat enable_netstat install,po
17799 wine_fn_config_program ngen enable_ngen install
17800 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17801 wine_fn_config_program oleview enable_oleview install,po
17802 wine_fn_config_program ping enable_ping install
17803 wine_fn_config_program plugplay enable_plugplay install
17804 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17805 wine_fn_config_program progman enable_progman install,po
17806 wine_fn_config_program reg enable_reg install,po
17807 wine_fn_config_test programs/reg/tests reg.exe_test
17808 wine_fn_config_program regasm enable_regasm install
17809 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17810 wine_fn_config_test programs/regedit/tests regedit.exe_test
17811 wine_fn_config_program regsvcs enable_regsvcs install
17812 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17813 wine_fn_config_program rpcss enable_rpcss clean,install
17814 wine_fn_config_program rundll.exe16 enable_win16 install
17815 wine_fn_config_program rundll32 enable_rundll32 install
17816 wine_fn_config_program sc enable_sc install
17817 wine_fn_config_program schtasks enable_schtasks install
17818 wine_fn_config_program sdbinst enable_sdbinst install
17819 wine_fn_config_program secedit enable_secedit install
17820 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17821 wine_fn_config_program services enable_services clean,install
17822 wine_fn_config_test programs/services/tests services.exe_test
17823 wine_fn_config_program spoolsv enable_spoolsv install
17824 wine_fn_config_program start enable_start install,po
17825 wine_fn_config_program svchost enable_svchost install
17826 wine_fn_config_program systeminfo enable_systeminfo install
17827 wine_fn_config_program taskkill enable_taskkill install,po
17828 wine_fn_config_program tasklist enable_tasklist install
17829 wine_fn_config_program taskmgr enable_taskmgr install,po
17830 wine_fn_config_program termsv enable_termsv install
17831 wine_fn_config_program uninstaller enable_uninstaller install,po
17832 wine_fn_config_program unlodctr enable_unlodctr install
17833 wine_fn_config_program view enable_view install,po
17834 wine_fn_config_program wevtutil enable_wevtutil install
17835 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17836 wine_fn_config_program winebrowser enable_winebrowser install
17837 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17838 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17839 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17840 wine_fn_config_program winedevice enable_winedevice install
17841 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17842 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17843 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17844 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17845 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17846 wine_fn_config_program winetest enable_winetest clean
17847 wine_fn_config_program winevdm enable_win16 install
17848 wine_fn_config_program winhelp.exe16 enable_win16 install
17849 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17850 wine_fn_config_program winoldap.mod16 enable_win16 install
17851 wine_fn_config_program winver enable_winver install
17852 wine_fn_config_program wmic enable_wmic install,po
17853 wine_fn_config_program wordpad enable_wordpad install,po
17854 wine_fn_config_program write enable_write install,po
17855 wine_fn_config_program wscript enable_wscript clean,install
17856 wine_fn_config_test programs/wscript/tests wscript.exe_test
17857 wine_fn_config_program wusa enable_wusa install
17858 wine_fn_config_program xcopy enable_xcopy install,po
17859 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17860 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17861 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17862 wine_fn_config_tool tools/sfnt2fon clean
17863 wine_fn_config_tool tools/widl clean,install-dev,manpage
17864 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17865 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17866 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17867 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17868 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17870 LINGUAS="\
17871 ar \
17872 bg \
17873 ca \
17874 cs \
17875 da \
17876 de \
17877 el \
17878 en \
17879 en_US \
17880 eo \
17881 es \
17882 fa \
17883 fi \
17884 fr \
17885 he \
17886 hi \
17887 hr \
17888 hu \
17889 it \
17890 ja \
17891 ko \
17892 lt \
17893 ml \
17894 nb_NO \
17895 nl \
17896 or \
17897 pa \
17898 pl \
17899 pt_BR \
17900 pt_PT \
17901 rm \
17902 ro \
17903 ru \
17904 sk \
17905 sl \
17906 sr_RS@cyrillic \
17907 sr_RS@latin \
17908 sv \
17909 te \
17910 th \
17911 tr \
17912 uk \
17913 wa \
17914 zh_CN \
17915 zh_TW"
17920 wine_fn_ignore_file ".gitignore"
17921 wine_fn_ignore_file "Makefile"
17922 wine_fn_ignore_file "TAGS"
17923 wine_fn_ignore_file "tags"
17924 wine_fn_ignore_file "autom4te.cache"
17925 wine_fn_ignore_file "config.cache"
17926 wine_fn_ignore_file "config.log"
17927 wine_fn_ignore_file "config.status"
17928 wine_fn_ignore_file "configure.lineno"
17929 wine_fn_ignore_file "include/config.h"
17930 wine_fn_ignore_file "include/stamp-h"
17931 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17933 if test "x$enable_tools" != xno
17934 then
17935 wine_fn_ignore_file "tools/makedep$ac_exeext"
17936 ac_config_commands="$ac_config_commands tools/makedep"
17940 ac_config_commands="$ac_config_commands Makefile"
17943 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17947 if test "x$enable_maintainer_mode" = xyes
17948 then
17949 wine_fn_append_rule "configure: configure.ac aclocal.m4
17950 autoconf --warnings=all
17951 include/config.h.in: include/stamp-h.in
17952 include/stamp-h.in: configure.ac aclocal.m4
17953 autoheader --warnings=all
17954 @echo timestamp > \$@"
17957 if test "x$with_gettextpo" = xyes
17958 then
17959 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17960 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17961 \$(LINGUAS:%=po/%.po): po/wine.pot
17962 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17963 po/wine.pot: \$(ALL_POT_FILES)
17964 msgcat -o \$@ \$(ALL_POT_FILES)"
17967 if test "$MSGFMT" != false
17968 then
17969 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17970 clean::
17971 \$(RM) \$(LINGUAS:%=po/%.mo)"
17973 posrc="po"
17974 test "$srcdir" = . || posrc="$srcdir/po"
17975 for i in $LINGUAS
17977 wine_fn_ignore_file "po/$i.mo"
17978 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17979 \$(MSGFMT) -o \$@ $posrc/$i.po"
17980 done
17981 else
17982 LINGUAS=
17985 if test "x$enable_tools" != xno
17986 then
17987 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17988 @./config.status tools/makedep
17989 Makefile: tools/makedep$ac_exeext
17990 distclean:: clean
17991 \$(RM) tools/makedep$ac_exeext"
17992 else
17993 wine_fn_append_rule "\$(MAKEDEP):
17994 @echo \"You need to run make in $TOOLSDIR first\" && false"
17997 if test -n "$with_wine64"
17998 then
17999 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18000 fonts server tools:
18001 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18002 $with_wine64/loader/wine:
18003 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18004 $with_wine64/loader/wine-preloader:
18005 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18006 clean::
18007 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18008 else
18009 as_fn_append LOADER_RULES "
18010 install install-lib:: wine.inf install-man-pages
18011 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18012 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18014 uninstall::
18015 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18019 if test "$srcdir" = .
18020 then
18021 ac_config_commands="$ac_config_commands .gitignore"
18025 $as_echo " done" >&6
18026 cat >confcache <<\_ACEOF
18027 # This file is a shell script that caches the results of configure
18028 # tests run on this system so they can be shared between configure
18029 # scripts and configure runs, see configure's option --config-cache.
18030 # It is not useful on other systems. If it contains results you don't
18031 # want to keep, you may remove or edit it.
18033 # config.status only pays attention to the cache file if you give it
18034 # the --recheck option to rerun configure.
18036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18038 # following values.
18040 _ACEOF
18042 # The following way of writing the cache mishandles newlines in values,
18043 # but we know of no workaround that is simple, portable, and efficient.
18044 # So, we kill variables containing newlines.
18045 # Ultrix sh set writes to stderr and can't be redirected directly,
18046 # and sets the high bit in the cache file unless we assign to the vars.
18048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18049 eval ac_val=\$$ac_var
18050 case $ac_val in #(
18051 *${as_nl}*)
18052 case $ac_var in #(
18053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18055 esac
18056 case $ac_var in #(
18057 _ | IFS | as_nl) ;; #(
18058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18059 *) { eval $ac_var=; unset $ac_var;} ;;
18060 esac ;;
18061 esac
18062 done
18064 (set) 2>&1 |
18065 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18066 *${as_nl}ac_space=\ *)
18067 # `set' does not quote correctly, so add quotes: double-quote
18068 # substitution turns \\\\ into \\, and sed turns \\ into \.
18069 sed -n \
18070 "s/'/'\\\\''/g;
18071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18072 ;; #(
18074 # `set' quotes correctly as required by POSIX, so do not add quotes.
18075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18077 esac |
18078 sort
18080 sed '
18081 /^ac_cv_env_/b end
18082 t clear
18083 :clear
18084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18085 t end
18086 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18087 :end' >>confcache
18088 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18089 if test -w "$cache_file"; then
18090 if test "x$cache_file" != "x/dev/null"; then
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18092 $as_echo "$as_me: updating cache $cache_file" >&6;}
18093 if test ! -f "$cache_file" || test -h "$cache_file"; then
18094 cat confcache >"$cache_file"
18095 else
18096 case $cache_file in #(
18097 */* | ?:*)
18098 mv -f confcache "$cache_file"$$ &&
18099 mv -f "$cache_file"$$ "$cache_file" ;; #(
18101 mv -f confcache "$cache_file" ;;
18102 esac
18105 else
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18107 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18110 rm -f confcache
18112 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18113 # Let make expand exec_prefix.
18114 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18116 DEFS=-DHAVE_CONFIG_H
18118 ac_libobjs=
18119 ac_ltlibobjs=
18121 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18122 # 1. Remove the extension, and $U if already installed.
18123 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18124 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18125 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18126 # will be set to the directory where LIBOBJS objects are built.
18127 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18128 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18129 done
18130 LIBOBJS=$ac_libobjs
18132 LTLIBOBJS=$ac_ltlibobjs
18136 : "${CONFIG_STATUS=./config.status}"
18137 ac_write_fail=0
18138 ac_clean_files_save=$ac_clean_files
18139 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18141 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18142 as_write_fail=0
18143 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18144 #! $SHELL
18145 # Generated by $as_me.
18146 # Run this file to recreate the current configuration.
18147 # Compiler output produced by configure, useful for debugging
18148 # configure, is in config.log if it exists.
18150 debug=false
18151 ac_cs_recheck=false
18152 ac_cs_silent=false
18154 SHELL=\${CONFIG_SHELL-$SHELL}
18155 export SHELL
18156 _ASEOF
18157 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18158 ## -------------------- ##
18159 ## M4sh Initialization. ##
18160 ## -------------------- ##
18162 # Be more Bourne compatible
18163 DUALCASE=1; export DUALCASE # for MKS sh
18164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18165 emulate sh
18166 NULLCMD=:
18167 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18168 # is contrary to our usage. Disable this feature.
18169 alias -g '${1+"$@"}'='"$@"'
18170 setopt NO_GLOB_SUBST
18171 else
18172 case `(set -o) 2>/dev/null` in #(
18173 *posix*) :
18174 set -o posix ;; #(
18175 *) :
18177 esac
18181 as_nl='
18183 export as_nl
18184 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18185 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18186 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18187 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18188 # Prefer a ksh shell builtin over an external printf program on Solaris,
18189 # but without wasting forks for bash or zsh.
18190 if test -z "$BASH_VERSION$ZSH_VERSION" \
18191 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18192 as_echo='print -r --'
18193 as_echo_n='print -rn --'
18194 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18195 as_echo='printf %s\n'
18196 as_echo_n='printf %s'
18197 else
18198 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18199 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18200 as_echo_n='/usr/ucb/echo -n'
18201 else
18202 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18203 as_echo_n_body='eval
18204 arg=$1;
18205 case $arg in #(
18206 *"$as_nl"*)
18207 expr "X$arg" : "X\\(.*\\)$as_nl";
18208 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18209 esac;
18210 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18212 export as_echo_n_body
18213 as_echo_n='sh -c $as_echo_n_body as_echo'
18215 export as_echo_body
18216 as_echo='sh -c $as_echo_body as_echo'
18219 # The user is always right.
18220 if test "${PATH_SEPARATOR+set}" != set; then
18221 PATH_SEPARATOR=:
18222 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18223 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18224 PATH_SEPARATOR=';'
18229 # IFS
18230 # We need space, tab and new line, in precisely that order. Quoting is
18231 # there to prevent editors from complaining about space-tab.
18232 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18233 # splitting by setting IFS to empty value.)
18234 IFS=" "" $as_nl"
18236 # Find who we are. Look in the path if we contain no directory separator.
18237 as_myself=
18238 case $0 in #((
18239 *[\\/]* ) as_myself=$0 ;;
18240 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18241 for as_dir in $PATH
18243 IFS=$as_save_IFS
18244 test -z "$as_dir" && as_dir=.
18245 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18246 done
18247 IFS=$as_save_IFS
18250 esac
18251 # We did not find ourselves, most probably we were run as `sh COMMAND'
18252 # in which case we are not to be found in the path.
18253 if test "x$as_myself" = x; then
18254 as_myself=$0
18256 if test ! -f "$as_myself"; then
18257 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18258 exit 1
18261 # Unset variables that we do not need and which cause bugs (e.g. in
18262 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18263 # suppresses any "Segmentation fault" message there. '((' could
18264 # trigger a bug in pdksh 5.2.14.
18265 for as_var in BASH_ENV ENV MAIL MAILPATH
18266 do eval test x\${$as_var+set} = xset \
18267 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18268 done
18269 PS1='$ '
18270 PS2='> '
18271 PS4='+ '
18273 # NLS nuisances.
18274 LC_ALL=C
18275 export LC_ALL
18276 LANGUAGE=C
18277 export LANGUAGE
18279 # CDPATH.
18280 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18283 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18284 # ----------------------------------------
18285 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18286 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18287 # script with STATUS, using 1 if that was 0.
18288 as_fn_error ()
18290 as_status=$1; test $as_status -eq 0 && as_status=1
18291 if test "$4"; then
18292 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18293 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18295 $as_echo "$as_me: error: $2" >&2
18296 as_fn_exit $as_status
18297 } # as_fn_error
18300 # as_fn_set_status STATUS
18301 # -----------------------
18302 # Set $? to STATUS, without forking.
18303 as_fn_set_status ()
18305 return $1
18306 } # as_fn_set_status
18308 # as_fn_exit STATUS
18309 # -----------------
18310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18311 as_fn_exit ()
18313 set +e
18314 as_fn_set_status $1
18315 exit $1
18316 } # as_fn_exit
18318 # as_fn_unset VAR
18319 # ---------------
18320 # Portably unset VAR.
18321 as_fn_unset ()
18323 { eval $1=; unset $1;}
18325 as_unset=as_fn_unset
18326 # as_fn_append VAR VALUE
18327 # ----------------------
18328 # Append the text in VALUE to the end of the definition contained in VAR. Take
18329 # advantage of any shell optimizations that allow amortized linear growth over
18330 # repeated appends, instead of the typical quadratic growth present in naive
18331 # implementations.
18332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18333 eval 'as_fn_append ()
18335 eval $1+=\$2
18337 else
18338 as_fn_append ()
18340 eval $1=\$$1\$2
18342 fi # as_fn_append
18344 # as_fn_arith ARG...
18345 # ------------------
18346 # Perform arithmetic evaluation on the ARGs, and store the result in the
18347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18348 # must be portable across $(()) and expr.
18349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18350 eval 'as_fn_arith ()
18352 as_val=$(( $* ))
18354 else
18355 as_fn_arith ()
18357 as_val=`expr "$@" || test $? -eq 1`
18359 fi # as_fn_arith
18362 if expr a : '\(a\)' >/dev/null 2>&1 &&
18363 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18364 as_expr=expr
18365 else
18366 as_expr=false
18369 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18370 as_basename=basename
18371 else
18372 as_basename=false
18375 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18376 as_dirname=dirname
18377 else
18378 as_dirname=false
18381 as_me=`$as_basename -- "$0" ||
18382 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18383 X"$0" : 'X\(//\)$' \| \
18384 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18385 $as_echo X/"$0" |
18386 sed '/^.*\/\([^/][^/]*\)\/*$/{
18387 s//\1/
18390 /^X\/\(\/\/\)$/{
18391 s//\1/
18394 /^X\/\(\/\).*/{
18395 s//\1/
18398 s/.*/./; q'`
18400 # Avoid depending upon Character Ranges.
18401 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18402 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18403 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18404 as_cr_digits='0123456789'
18405 as_cr_alnum=$as_cr_Letters$as_cr_digits
18407 ECHO_C= ECHO_N= ECHO_T=
18408 case `echo -n x` in #(((((
18409 -n*)
18410 case `echo 'xy\c'` in
18411 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18412 xy) ECHO_C='\c';;
18413 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18414 ECHO_T=' ';;
18415 esac;;
18417 ECHO_N='-n';;
18418 esac
18420 rm -f conf$$ conf$$.exe conf$$.file
18421 if test -d conf$$.dir; then
18422 rm -f conf$$.dir/conf$$.file
18423 else
18424 rm -f conf$$.dir
18425 mkdir conf$$.dir 2>/dev/null
18427 if (echo >conf$$.file) 2>/dev/null; then
18428 if ln -s conf$$.file conf$$ 2>/dev/null; then
18429 as_ln_s='ln -s'
18430 # ... but there are two gotchas:
18431 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18432 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18433 # In both cases, we have to default to `cp -pR'.
18434 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18435 as_ln_s='cp -pR'
18436 elif ln conf$$.file conf$$ 2>/dev/null; then
18437 as_ln_s=ln
18438 else
18439 as_ln_s='cp -pR'
18441 else
18442 as_ln_s='cp -pR'
18444 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18445 rmdir conf$$.dir 2>/dev/null
18448 # as_fn_mkdir_p
18449 # -------------
18450 # Create "$as_dir" as a directory, including parents if necessary.
18451 as_fn_mkdir_p ()
18454 case $as_dir in #(
18455 -*) as_dir=./$as_dir;;
18456 esac
18457 test -d "$as_dir" || eval $as_mkdir_p || {
18458 as_dirs=
18459 while :; do
18460 case $as_dir in #(
18461 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18462 *) as_qdir=$as_dir;;
18463 esac
18464 as_dirs="'$as_qdir' $as_dirs"
18465 as_dir=`$as_dirname -- "$as_dir" ||
18466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18467 X"$as_dir" : 'X\(//\)[^/]' \| \
18468 X"$as_dir" : 'X\(//\)$' \| \
18469 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18470 $as_echo X"$as_dir" |
18471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18472 s//\1/
18475 /^X\(\/\/\)[^/].*/{
18476 s//\1/
18479 /^X\(\/\/\)$/{
18480 s//\1/
18483 /^X\(\/\).*/{
18484 s//\1/
18487 s/.*/./; q'`
18488 test -d "$as_dir" && break
18489 done
18490 test -z "$as_dirs" || eval "mkdir $as_dirs"
18491 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18494 } # as_fn_mkdir_p
18495 if mkdir -p . 2>/dev/null; then
18496 as_mkdir_p='mkdir -p "$as_dir"'
18497 else
18498 test -d ./-p && rmdir ./-p
18499 as_mkdir_p=false
18503 # as_fn_executable_p FILE
18504 # -----------------------
18505 # Test if FILE is an executable regular file.
18506 as_fn_executable_p ()
18508 test -f "$1" && test -x "$1"
18509 } # as_fn_executable_p
18510 as_test_x='test -x'
18511 as_executable_p=as_fn_executable_p
18513 # Sed expression to map a string onto a valid CPP name.
18514 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18516 # Sed expression to map a string onto a valid variable name.
18517 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18520 exec 6>&1
18521 ## ----------------------------------- ##
18522 ## Main body of $CONFIG_STATUS script. ##
18523 ## ----------------------------------- ##
18524 _ASEOF
18525 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18528 # Save the log message, to keep $0 and so on meaningful, and to
18529 # report actual input values of CONFIG_FILES etc. instead of their
18530 # values after options handling.
18531 ac_log="
18532 This file was extended by Wine $as_me 1.7.45, which was
18533 generated by GNU Autoconf 2.69. Invocation command line was
18535 CONFIG_FILES = $CONFIG_FILES
18536 CONFIG_HEADERS = $CONFIG_HEADERS
18537 CONFIG_LINKS = $CONFIG_LINKS
18538 CONFIG_COMMANDS = $CONFIG_COMMANDS
18539 $ $0 $@
18541 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18544 _ACEOF
18546 case $ac_config_files in *"
18547 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18548 esac
18550 case $ac_config_headers in *"
18551 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18552 esac
18555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18556 # Files that config.status was made for.
18557 config_files="$ac_config_files"
18558 config_headers="$ac_config_headers"
18559 config_links="$ac_config_links"
18560 config_commands="$ac_config_commands"
18562 _ACEOF
18564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18565 ac_cs_usage="\
18566 \`$as_me' instantiates files and other configuration actions
18567 from templates according to the current configuration. Unless the files
18568 and actions are specified as TAGs, all are instantiated by default.
18570 Usage: $0 [OPTION]... [TAG]...
18572 -h, --help print this help, then exit
18573 -V, --version print version number and configuration settings, then exit
18574 --config print configuration, then exit
18575 -q, --quiet, --silent
18576 do not print progress messages
18577 -d, --debug don't remove temporary files
18578 --recheck update $as_me by reconfiguring in the same conditions
18579 --file=FILE[:TEMPLATE]
18580 instantiate the configuration file FILE
18581 --header=FILE[:TEMPLATE]
18582 instantiate the configuration header FILE
18584 Configuration files:
18585 $config_files
18587 Configuration headers:
18588 $config_headers
18590 Configuration links:
18591 $config_links
18593 Configuration commands:
18594 $config_commands
18596 Report bugs to <wine-devel@winehq.org>.
18597 Wine home page: <http://www.winehq.org>."
18599 _ACEOF
18600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18601 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18602 ac_cs_version="\\
18603 Wine config.status 1.7.45
18604 configured by $0, generated by GNU Autoconf 2.69,
18605 with options \\"\$ac_cs_config\\"
18607 Copyright (C) 2012 Free Software Foundation, Inc.
18608 This config.status script is free software; the Free Software Foundation
18609 gives unlimited permission to copy, distribute and modify it."
18611 ac_pwd='$ac_pwd'
18612 srcdir='$srcdir'
18613 test -n "\$AWK" || AWK=awk
18614 _ACEOF
18616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18617 # The default lists apply if the user does not specify any file.
18618 ac_need_defaults=:
18619 while test $# != 0
18621 case $1 in
18622 --*=?*)
18623 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18624 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18625 ac_shift=:
18627 --*=)
18628 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18629 ac_optarg=
18630 ac_shift=:
18633 ac_option=$1
18634 ac_optarg=$2
18635 ac_shift=shift
18637 esac
18639 case $ac_option in
18640 # Handling of the options.
18641 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18642 ac_cs_recheck=: ;;
18643 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18644 $as_echo "$ac_cs_version"; exit ;;
18645 --config | --confi | --conf | --con | --co | --c )
18646 $as_echo "$ac_cs_config"; exit ;;
18647 --debug | --debu | --deb | --de | --d | -d )
18648 debug=: ;;
18649 --file | --fil | --fi | --f )
18650 $ac_shift
18651 case $ac_optarg in
18652 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18653 '') as_fn_error $? "missing file argument" ;;
18654 esac
18655 as_fn_append CONFIG_FILES " '$ac_optarg'"
18656 ac_need_defaults=false;;
18657 --header | --heade | --head | --hea )
18658 $ac_shift
18659 case $ac_optarg in
18660 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18661 esac
18662 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18663 ac_need_defaults=false;;
18664 --he | --h)
18665 # Conflict between --help and --header
18666 as_fn_error $? "ambiguous option: \`$1'
18667 Try \`$0 --help' for more information.";;
18668 --help | --hel | -h )
18669 $as_echo "$ac_cs_usage"; exit ;;
18670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18671 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18672 ac_cs_silent=: ;;
18674 # This is an error.
18675 -*) as_fn_error $? "unrecognized option: \`$1'
18676 Try \`$0 --help' for more information." ;;
18678 *) as_fn_append ac_config_targets " $1"
18679 ac_need_defaults=false ;;
18681 esac
18682 shift
18683 done
18685 ac_configure_extra_args=
18687 if $ac_cs_silent; then
18688 exec 6>/dev/null
18689 ac_configure_extra_args="$ac_configure_extra_args --silent"
18692 _ACEOF
18693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18694 if \$ac_cs_recheck; then
18695 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18696 shift
18697 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18698 CONFIG_SHELL='$SHELL'
18699 export CONFIG_SHELL
18700 exec "\$@"
18703 _ACEOF
18704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18705 exec 5>>config.log
18707 echo
18708 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18709 ## Running $as_me. ##
18710 _ASBOX
18711 $as_echo "$ac_log"
18712 } >&5
18714 _ACEOF
18715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18717 # INIT-COMMANDS
18719 wine_fn_output_makedep ()
18721 as_dir=tools; as_fn_mkdir_p
18722 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18724 wine_fn_output_makefile ()
18726 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18727 `cat $wine_rules_file`
18728 _WINE_EOF
18729 as_fn_error $? "could not create Makefile" "$LINENO" 5
18731 wine_fn_output_gitignore ()
18733 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18734 $GITIGNORE
18735 _WINE_EOF
18736 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18739 _ACEOF
18741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18743 # Handling of arguments.
18744 for ac_config_target in $ac_config_targets
18746 case $ac_config_target in
18747 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18748 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18749 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18750 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18751 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18752 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18753 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18754 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18755 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18756 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18757 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18758 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18759 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18760 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18762 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18763 esac
18764 done
18767 # If the user did not use the arguments to specify the items to instantiate,
18768 # then the envvar interface is used. Set only those that are not.
18769 # We use the long form for the default assignment because of an extremely
18770 # bizarre bug on SunOS 4.1.3.
18771 if $ac_need_defaults; then
18772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18774 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18775 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18778 # Have a temporary directory for convenience. Make it in the build tree
18779 # simply because there is no reason against having it here, and in addition,
18780 # creating and moving files from /tmp can sometimes cause problems.
18781 # Hook for its removal unless debugging.
18782 # Note that there is a small window in which the directory will not be cleaned:
18783 # after its creation but before its name has been assigned to `$tmp'.
18784 $debug ||
18786 tmp= ac_tmp=
18787 trap 'exit_status=$?
18788 : "${ac_tmp:=$tmp}"
18789 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18791 trap 'as_fn_exit 1' 1 2 13 15
18793 # Create a (secure) tmp directory for tmp files.
18796 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18797 test -d "$tmp"
18798 } ||
18800 tmp=./conf$$-$RANDOM
18801 (umask 077 && mkdir "$tmp")
18802 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18803 ac_tmp=$tmp
18805 # Set up the scripts for CONFIG_FILES section.
18806 # No need to generate them if there are no CONFIG_FILES.
18807 # This happens for instance with `./config.status config.h'.
18808 if test -n "$CONFIG_FILES"; then
18811 ac_cr=`echo X | tr X '\015'`
18812 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18813 # But we know of no other shell where ac_cr would be empty at this
18814 # point, so we can use a bashism as a fallback.
18815 if test "x$ac_cr" = x; then
18816 eval ac_cr=\$\'\\r\'
18818 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18819 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18820 ac_cs_awk_cr='\\r'
18821 else
18822 ac_cs_awk_cr=$ac_cr
18825 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18826 _ACEOF
18830 echo "cat >conf$$subs.awk <<_ACEOF" &&
18831 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18832 echo "_ACEOF"
18833 } >conf$$subs.sh ||
18834 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18835 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18836 ac_delim='%!_!# '
18837 for ac_last_try in false false false false false :; do
18838 . ./conf$$subs.sh ||
18839 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18841 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18842 if test $ac_delim_n = $ac_delim_num; then
18843 break
18844 elif $ac_last_try; then
18845 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18846 else
18847 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18849 done
18850 rm -f conf$$subs.sh
18852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18853 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18854 _ACEOF
18855 sed -n '
18857 s/^/S["/; s/!.*/"]=/
18860 s/^[^!]*!//
18861 :repl
18862 t repl
18863 s/'"$ac_delim"'$//
18864 t delim
18867 s/\(.\{148\}\)..*/\1/
18868 t more1
18869 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18872 b repl
18873 :more1
18874 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18877 s/.\{148\}//
18878 t nl
18879 :delim
18881 s/\(.\{148\}\)..*/\1/
18882 t more2
18883 s/["\\]/\\&/g; s/^/"/; s/$/"/
18886 :more2
18887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18890 s/.\{148\}//
18891 t delim
18892 ' <conf$$subs.awk | sed '
18893 /^[^""]/{
18895 s/\n//
18897 ' >>$CONFIG_STATUS || ac_write_fail=1
18898 rm -f conf$$subs.awk
18899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18900 _ACAWK
18901 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18902 for (key in S) S_is_set[key] = 1
18903 FS = "\a"
18907 line = $ 0
18908 nfields = split(line, field, "@")
18909 substed = 0
18910 len = length(field[1])
18911 for (i = 2; i < nfields; i++) {
18912 key = field[i]
18913 keylen = length(key)
18914 if (S_is_set[key]) {
18915 value = S[key]
18916 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18917 len += length(value) + length(field[++i])
18918 substed = 1
18919 } else
18920 len += 1 + keylen
18923 print line
18926 _ACAWK
18927 _ACEOF
18928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18929 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18930 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18931 else
18933 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18934 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18935 _ACEOF
18937 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18938 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18939 # trailing colons and then remove the whole line if VPATH becomes empty
18940 # (actually we leave an empty line to preserve line numbers).
18941 if test "x$srcdir" = x.; then
18942 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18944 s///
18945 s/^/:/
18946 s/[ ]*$/:/
18947 s/:\$(srcdir):/:/g
18948 s/:\${srcdir}:/:/g
18949 s/:@srcdir@:/:/g
18950 s/^:*//
18951 s/:*$//
18953 s/\(=[ ]*\).*/\1/
18955 s/\n//
18956 s/^[^=]*=[ ]*$//
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 fi # test -n "$CONFIG_FILES"
18963 # Set up the scripts for CONFIG_HEADERS section.
18964 # No need to generate them if there are no CONFIG_HEADERS.
18965 # This happens for instance with `./config.status Makefile'.
18966 if test -n "$CONFIG_HEADERS"; then
18967 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18968 BEGIN {
18969 _ACEOF
18971 # Transform confdefs.h into an awk script `defines.awk', embedded as
18972 # here-document in config.status, that substitutes the proper values into
18973 # config.h.in to produce config.h.
18975 # Create a delimiter string that does not exist in confdefs.h, to ease
18976 # handling of long lines.
18977 ac_delim='%!_!# '
18978 for ac_last_try in false false :; do
18979 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18980 if test -z "$ac_tt"; then
18981 break
18982 elif $ac_last_try; then
18983 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18984 else
18985 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18987 done
18989 # For the awk script, D is an array of macro values keyed by name,
18990 # likewise P contains macro parameters if any. Preserve backslash
18991 # newline sequences.
18993 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18994 sed -n '
18995 s/.\{148\}/&'"$ac_delim"'/g
18996 t rset
18997 :rset
18998 s/^[ ]*#[ ]*define[ ][ ]*/ /
18999 t def
19001 :def
19002 s/\\$//
19003 t bsnl
19004 s/["\\]/\\&/g
19005 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19006 D["\1"]=" \3"/p
19007 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19009 :bsnl
19010 s/["\\]/\\&/g
19011 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19012 D["\1"]=" \3\\\\\\n"\\/p
19013 t cont
19014 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19015 t cont
19017 :cont
19019 s/.\{148\}/&'"$ac_delim"'/g
19020 t clear
19021 :clear
19022 s/\\$//
19023 t bsnlc
19024 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19026 :bsnlc
19027 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19028 b cont
19029 ' <confdefs.h | sed '
19030 s/'"$ac_delim"'/"\\\
19031 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19034 for (key in D) D_is_set[key] = 1
19035 FS = "\a"
19037 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19038 line = \$ 0
19039 split(line, arg, " ")
19040 if (arg[1] == "#") {
19041 defundef = arg[2]
19042 mac1 = arg[3]
19043 } else {
19044 defundef = substr(arg[1], 2)
19045 mac1 = arg[2]
19047 split(mac1, mac2, "(") #)
19048 macro = mac2[1]
19049 prefix = substr(line, 1, index(line, defundef) - 1)
19050 if (D_is_set[macro]) {
19051 # Preserve the white space surrounding the "#".
19052 print prefix "define", macro P[macro] D[macro]
19053 next
19054 } else {
19055 # Replace #undef with comments. This is necessary, for example,
19056 # in the case of _POSIX_SOURCE, which is predefined and required
19057 # on some systems where configure will not decide to define it.
19058 if (defundef == "undef") {
19059 print "/*", prefix defundef, macro, "*/"
19060 next
19064 { print }
19065 _ACAWK
19066 _ACEOF
19067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19068 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19069 fi # test -n "$CONFIG_HEADERS"
19072 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19073 shift
19074 for ac_tag
19076 case $ac_tag in
19077 :[FHLC]) ac_mode=$ac_tag; continue;;
19078 esac
19079 case $ac_mode$ac_tag in
19080 :[FHL]*:*);;
19081 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19082 :[FH]-) ac_tag=-:-;;
19083 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19084 esac
19085 ac_save_IFS=$IFS
19086 IFS=:
19087 set x $ac_tag
19088 IFS=$ac_save_IFS
19089 shift
19090 ac_file=$1
19091 shift
19093 case $ac_mode in
19094 :L) ac_source=$1;;
19095 :[FH])
19096 ac_file_inputs=
19097 for ac_f
19099 case $ac_f in
19100 -) ac_f="$ac_tmp/stdin";;
19101 *) # Look for the file first in the build tree, then in the source tree
19102 # (if the path is not absolute). The absolute path cannot be DOS-style,
19103 # because $ac_f cannot contain `:'.
19104 test -f "$ac_f" ||
19105 case $ac_f in
19106 [\\/$]*) false;;
19107 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19108 esac ||
19109 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19110 esac
19111 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19112 as_fn_append ac_file_inputs " '$ac_f'"
19113 done
19115 # Let's still pretend it is `configure' which instantiates (i.e., don't
19116 # use $as_me), people would be surprised to read:
19117 # /* config.h. Generated by config.status. */
19118 configure_input='Generated from '`
19119 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19120 `' by configure.'
19121 if test x"$ac_file" != x-; then
19122 configure_input="$ac_file. $configure_input"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19124 $as_echo "$as_me: creating $ac_file" >&6;}
19126 # Neutralize special characters interpreted by sed in replacement strings.
19127 case $configure_input in #(
19128 *\&* | *\|* | *\\* )
19129 ac_sed_conf_input=`$as_echo "$configure_input" |
19130 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19131 *) ac_sed_conf_input=$configure_input;;
19132 esac
19134 case $ac_tag in
19135 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19136 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19137 esac
19139 esac
19141 ac_dir=`$as_dirname -- "$ac_file" ||
19142 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19143 X"$ac_file" : 'X\(//\)[^/]' \| \
19144 X"$ac_file" : 'X\(//\)$' \| \
19145 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19146 $as_echo X"$ac_file" |
19147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19148 s//\1/
19151 /^X\(\/\/\)[^/].*/{
19152 s//\1/
19155 /^X\(\/\/\)$/{
19156 s//\1/
19159 /^X\(\/\).*/{
19160 s//\1/
19163 s/.*/./; q'`
19164 as_dir="$ac_dir"; as_fn_mkdir_p
19165 ac_builddir=.
19167 case "$ac_dir" in
19168 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19170 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19171 # A ".." for each directory in $ac_dir_suffix.
19172 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19173 case $ac_top_builddir_sub in
19174 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19175 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19176 esac ;;
19177 esac
19178 ac_abs_top_builddir=$ac_pwd
19179 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19180 # for backward compatibility:
19181 ac_top_builddir=$ac_top_build_prefix
19183 case $srcdir in
19184 .) # We are building in place.
19185 ac_srcdir=.
19186 ac_top_srcdir=$ac_top_builddir_sub
19187 ac_abs_top_srcdir=$ac_pwd ;;
19188 [\\/]* | ?:[\\/]* ) # Absolute name.
19189 ac_srcdir=$srcdir$ac_dir_suffix;
19190 ac_top_srcdir=$srcdir
19191 ac_abs_top_srcdir=$srcdir ;;
19192 *) # Relative name.
19193 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19194 ac_top_srcdir=$ac_top_build_prefix$srcdir
19195 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19196 esac
19197 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19200 case $ac_mode in
19203 # CONFIG_FILE
19206 _ACEOF
19208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19209 # If the template does not know about datarootdir, expand it.
19210 # FIXME: This hack should be removed a few years after 2.60.
19211 ac_datarootdir_hack=; ac_datarootdir_seen=
19212 ac_sed_dataroot='
19213 /datarootdir/ {
19217 /@datadir@/p
19218 /@docdir@/p
19219 /@infodir@/p
19220 /@localedir@/p
19221 /@mandir@/p'
19222 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19223 *datarootdir*) ac_datarootdir_seen=yes;;
19224 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19226 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19227 _ACEOF
19228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229 ac_datarootdir_hack='
19230 s&@datadir@&$datadir&g
19231 s&@docdir@&$docdir&g
19232 s&@infodir@&$infodir&g
19233 s&@localedir@&$localedir&g
19234 s&@mandir@&$mandir&g
19235 s&\\\${datarootdir}&$datarootdir&g' ;;
19236 esac
19237 _ACEOF
19239 # Neutralize VPATH when `$srcdir' = `.'.
19240 # Shell code in configure.ac might set extrasub.
19241 # FIXME: do we really want to maintain this feature?
19242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19243 ac_sed_extra="$ac_vpsub
19244 $extrasub
19245 _ACEOF
19246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19249 s|@configure_input@|$ac_sed_conf_input|;t t
19250 s&@top_builddir@&$ac_top_builddir_sub&;t t
19251 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19252 s&@srcdir@&$ac_srcdir&;t t
19253 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19254 s&@top_srcdir@&$ac_top_srcdir&;t t
19255 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19256 s&@builddir@&$ac_builddir&;t t
19257 s&@abs_builddir@&$ac_abs_builddir&;t t
19258 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19259 $ac_datarootdir_hack
19261 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19262 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19264 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19265 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19266 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19267 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19269 which seems to be undefined. Please make sure it is defined" >&5
19270 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19271 which seems to be undefined. Please make sure it is defined" >&2;}
19273 rm -f "$ac_tmp/stdin"
19274 case $ac_file in
19275 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19276 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19277 esac \
19278 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19282 # CONFIG_HEADER
19284 if test x"$ac_file" != x-; then
19286 $as_echo "/* $configure_input */" \
19287 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19288 } >"$ac_tmp/config.h" \
19289 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19290 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19292 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19293 else
19294 rm -f "$ac_file"
19295 mv "$ac_tmp/config.h" "$ac_file" \
19296 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19298 else
19299 $as_echo "/* $configure_input */" \
19300 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19301 || as_fn_error $? "could not create -" "$LINENO" 5
19306 # CONFIG_LINK
19309 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19311 else
19312 # Prefer the file from the source tree if names are identical.
19313 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19314 ac_source=$srcdir/$ac_source
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19318 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19320 if test ! -r "$ac_source"; then
19321 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19323 rm -f "$ac_file"
19325 # Try a relative symlink, then a hard link, then a copy.
19326 case $ac_source in
19327 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19328 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19329 esac
19330 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19331 ln "$ac_source" "$ac_file" 2>/dev/null ||
19332 cp -p "$ac_source" "$ac_file" ||
19333 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19336 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19337 $as_echo "$as_me: executing $ac_file commands" >&6;}
19339 esac
19342 case $ac_file$ac_mode in
19343 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19344 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19345 "Makefile":C) wine_fn_output_makefile Makefile ;;
19346 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19348 esac
19349 done # for ac_tag
19352 as_fn_exit 0
19353 _ACEOF
19354 ac_clean_files=$ac_clean_files_save
19356 test $ac_write_fail = 0 ||
19357 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19360 # configure is writing to config.log, and then calls config.status.
19361 # config.status does its own redirection, appending to config.log.
19362 # Unfortunately, on DOS this fails, as config.log is still kept open
19363 # by configure, so config.status won't be able to write to it; its
19364 # output is simply discarded. So we exec the FD to /dev/null,
19365 # effectively closing config.log, so it can be properly (re)opened and
19366 # appended to by config.status. When coming back to configure, we
19367 # need to make the FD available again.
19368 if test "$no_create" != yes; then
19369 ac_cs_success=:
19370 ac_config_status_args=
19371 test "$silent" = yes &&
19372 ac_config_status_args="$ac_config_status_args --quiet"
19373 exec 5>/dev/null
19374 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19375 exec 5>>config.log
19376 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19377 # would make configure fail if this is the last instruction.
19378 $ac_cs_success || as_fn_exit 1
19380 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19382 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19386 if test "$no_create" = "yes"
19387 then
19388 exit 0
19391 ac_save_IFS="$IFS"
19392 if test "x$wine_notices != "x; then
19393 echo >&6
19394 IFS="|"
19395 for msg in $wine_notices; do
19396 IFS="$ac_save_IFS"
19397 if ${msg:+false} :; then :
19399 else
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19401 $as_echo "$as_me: $msg" >&6;}
19403 done
19405 IFS="|"
19406 for msg in $wine_warnings; do
19407 IFS="$ac_save_IFS"
19408 if ${msg:+false} :; then :
19410 else
19411 echo >&2
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19413 $as_echo "$as_me: WARNING: $msg" >&2;}
19415 done
19416 IFS="$ac_save_IFS"
19418 $as_echo "
19419 $as_me: Finished. Do '${ac_make}' to compile Wine.
19420 " >&6