advapi32/tests: Add a test to show that THREAD_QUERY_INFORMATION should grant THREAD_...
[wine.git] / configure
bloba66731b6bfd59c7c67ae0e0146abff05a6e47c21
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.49.
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.49'
584 PACKAGE_STRING='Wine 1.7.49'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
708 OTOOL
710 LDRPATH_LOCAL
711 LDRPATH_INSTALL
712 DLLFLAGS
713 DLLPREFIX
714 dlldir
716 OPENGL_LIBS
717 ICOTOOL
718 CONVERT
719 RSVG
720 FONTFORGE
721 PKG_CONFIG
722 MSGFMT
723 LDCONFIG
724 EGREP
725 GREP
726 LN_S
727 RANLIB
728 ARFLAGS
729 STRIP
730 ac_ct_AR
732 BISON
733 FLEX
734 TOOLSDIR
735 TARGETFLAGS
737 CPPBIN
738 ac_ct_CXX
739 CXXFLAGS
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
748 SET_MAKE
749 host_os
750 host_vendor
751 host_cpu
752 host
753 build_os
754 build_vendor
755 build_cpu
756 build
757 target_alias
758 host_alias
759 build_alias
760 LIBS
761 ECHO_T
762 ECHO_N
763 ECHO_C
764 DEFS
765 mandir
766 localedir
767 libdir
768 psdir
769 pdfdir
770 dvidir
771 htmldir
772 infodir
773 docdir
774 oldincludedir
775 includedir
776 localstatedir
777 sharedstatedir
778 sysconfdir
779 datadir
780 datarootdir
781 libexecdir
782 sbindir
783 bindir
784 program_transform_name
785 prefix
786 exec_prefix
787 PACKAGE_URL
788 PACKAGE_BUGREPORT
789 PACKAGE_STRING
790 PACKAGE_VERSION
791 PACKAGE_TARNAME
792 PACKAGE_NAME
793 PATH_SEPARATOR
794 SHELL'
795 ac_subst_files=''
796 ac_user_opts='
797 enable_option_checking
798 enable_win16
799 enable_win64
800 enable_tests
801 enable_maintainer_mode
802 with_alsa
803 with_capi
804 with_cms
805 with_coreaudio
806 with_cups
807 with_curses
808 with_dbus
809 with_fontconfig
810 with_freetype
811 with_gettext
812 with_gettextpo
813 with_gphoto
814 with_glu
815 with_gnutls
816 with_gsm
817 with_gstreamer
818 with_hal
819 with_jpeg
820 with_ldap
821 with_mpg123
822 with_netapi
823 with_openal
824 with_opencl
825 with_opengl
826 with_osmesa
827 with_oss
828 with_pcap
829 with_png
830 with_pthread
831 with_sane
832 with_tiff
833 with_v4l
834 with_xcomposite
835 with_xcursor
836 with_xinerama
837 with_xinput
838 with_xinput2
839 with_xml
840 with_xrandr
841 with_xrender
842 with_xshape
843 with_xshm
844 with_xslt
845 with_xxf86vm
846 with_zlib
847 with_wine_tools
848 with_wine64
849 enable_largefile
850 with_x
851 enable_acledit
852 enable_aclui
853 enable_activeds
854 enable_actxprxy
855 enable_advapi32
856 enable_advpack
857 enable_amstream
858 enable_api_ms_win_core_com_l1_1_0
859 enable_api_ms_win_core_console_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_0
861 enable_api_ms_win_core_datetime_l1_1_1
862 enable_api_ms_win_core_debug_l1_1_0
863 enable_api_ms_win_core_debug_l1_1_1
864 enable_api_ms_win_core_errorhandling_l1_1_0
865 enable_api_ms_win_core_errorhandling_l1_1_1
866 enable_api_ms_win_core_errorhandling_l1_1_2
867 enable_api_ms_win_core_fibers_l1_1_0
868 enable_api_ms_win_core_fibers_l1_1_1
869 enable_api_ms_win_core_file_l1_1_0
870 enable_api_ms_win_core_file_l1_2_0
871 enable_api_ms_win_core_file_l2_1_0
872 enable_api_ms_win_core_file_l2_1_1
873 enable_api_ms_win_core_handle_l1_1_0
874 enable_api_ms_win_core_heap_l1_1_0
875 enable_api_ms_win_core_heap_l1_2_0
876 enable_api_ms_win_core_heap_obsolete_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_1_0
878 enable_api_ms_win_core_interlocked_l1_2_0
879 enable_api_ms_win_core_io_l1_1_1
880 enable_api_ms_win_core_kernel32_legacy_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_0
882 enable_api_ms_win_core_libraryloader_l1_1_1
883 enable_api_ms_win_core_localization_l1_2_0
884 enable_api_ms_win_core_localization_l1_2_1
885 enable_api_ms_win_core_localization_obsolete_l1_1_0
886 enable_api_ms_win_core_localregistry_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_0
888 enable_api_ms_win_core_memory_l1_1_1
889 enable_api_ms_win_core_misc_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_1_0
891 enable_api_ms_win_core_namedpipe_l1_2_0
892 enable_api_ms_win_core_processenvironment_l1_1_0
893 enable_api_ms_win_core_processenvironment_l1_2_0
894 enable_api_ms_win_core_processthreads_l1_1_0
895 enable_api_ms_win_core_processthreads_l1_1_1
896 enable_api_ms_win_core_processthreads_l1_1_2
897 enable_api_ms_win_core_profile_l1_1_0
898 enable_api_ms_win_core_psapi_l1_1_0
899 enable_api_ms_win_core_registry_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_1_0
901 enable_api_ms_win_core_rtlsupport_l1_2_0
902 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
903 enable_api_ms_win_core_string_l1_1_0
904 enable_api_ms_win_core_synch_l1_1_0
905 enable_api_ms_win_core_synch_l1_2_0
906 enable_api_ms_win_core_sysinfo_l1_1_0
907 enable_api_ms_win_core_sysinfo_l1_2_0
908 enable_api_ms_win_core_sysinfo_l1_2_1
909 enable_api_ms_win_core_threadpool_legacy_l1_1_0
910 enable_api_ms_win_core_timezone_l1_1_0
911 enable_api_ms_win_core_url_l1_1_0
912 enable_api_ms_win_core_util_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_0
914 enable_api_ms_win_core_winrt_error_l1_1_1
915 enable_api_ms_win_core_winrt_l1_1_0
916 enable_api_ms_win_core_winrt_string_l1_1_0
917 enable_api_ms_win_core_xstate_l2_1_0
918 enable_api_ms_win_downlevel_advapi32_l1_1_0
919 enable_api_ms_win_downlevel_advapi32_l2_1_0
920 enable_api_ms_win_downlevel_normaliz_l1_1_0
921 enable_api_ms_win_downlevel_ole32_l1_1_0
922 enable_api_ms_win_downlevel_shell32_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l1_1_0
924 enable_api_ms_win_downlevel_shlwapi_l2_1_0
925 enable_api_ms_win_downlevel_user32_l1_1_0
926 enable_api_ms_win_downlevel_version_l1_1_0
927 enable_api_ms_win_eventing_provider_l1_1_0
928 enable_api_ms_win_ntuser_dc_access_l1_1_0
929 enable_api_ms_win_security_base_l1_1_0
930 enable_api_ms_win_security_base_l1_2_0
931 enable_api_ms_win_security_sddl_l1_1_0
932 enable_api_ms_win_service_core_l1_1_1
933 enable_api_ms_win_service_management_l1_1_0
934 enable_api_ms_win_service_winsvc_l1_2_0
935 enable_apphelp
936 enable_appwiz_cpl
937 enable_atl
938 enable_atl100
939 enable_atl110
940 enable_atl80
941 enable_atl90
942 enable_authz
943 enable_avicap32
944 enable_avifil32
945 enable_avrt
946 enable_bcrypt
947 enable_browseui
948 enable_cabinet
949 enable_capi2032
950 enable_cards
951 enable_cfgmgr32
952 enable_clusapi
953 enable_combase
954 enable_comcat
955 enable_comctl32
956 enable_comdlg32
957 enable_compstui
958 enable_comsvcs
959 enable_connect
960 enable_credui
961 enable_crtdll
962 enable_crypt32
963 enable_cryptdlg
964 enable_cryptdll
965 enable_cryptext
966 enable_cryptnet
967 enable_cryptui
968 enable_ctapi32
969 enable_ctl3d32
970 enable_d2d1
971 enable_d3d10
972 enable_d3d10_1
973 enable_d3d10core
974 enable_d3d11
975 enable_d3d8
976 enable_d3d9
977 enable_d3dcompiler_33
978 enable_d3dcompiler_34
979 enable_d3dcompiler_35
980 enable_d3dcompiler_36
981 enable_d3dcompiler_37
982 enable_d3dcompiler_38
983 enable_d3dcompiler_39
984 enable_d3dcompiler_40
985 enable_d3dcompiler_41
986 enable_d3dcompiler_42
987 enable_d3dcompiler_43
988 enable_d3dcompiler_46
989 enable_d3dcompiler_47
990 enable_d3dim
991 enable_d3drm
992 enable_d3dx10_33
993 enable_d3dx10_34
994 enable_d3dx10_35
995 enable_d3dx10_36
996 enable_d3dx10_37
997 enable_d3dx10_38
998 enable_d3dx10_39
999 enable_d3dx10_40
1000 enable_d3dx10_41
1001 enable_d3dx10_42
1002 enable_d3dx10_43
1003 enable_d3dx11_42
1004 enable_d3dx11_43
1005 enable_d3dx9_24
1006 enable_d3dx9_25
1007 enable_d3dx9_26
1008 enable_d3dx9_27
1009 enable_d3dx9_28
1010 enable_d3dx9_29
1011 enable_d3dx9_30
1012 enable_d3dx9_31
1013 enable_d3dx9_32
1014 enable_d3dx9_33
1015 enable_d3dx9_34
1016 enable_d3dx9_35
1017 enable_d3dx9_36
1018 enable_d3dx9_37
1019 enable_d3dx9_38
1020 enable_d3dx9_39
1021 enable_d3dx9_40
1022 enable_d3dx9_41
1023 enable_d3dx9_42
1024 enable_d3dx9_43
1025 enable_d3dxof
1026 enable_davclnt
1027 enable_dbgeng
1028 enable_dbghelp
1029 enable_dciman32
1030 enable_ddraw
1031 enable_ddrawex
1032 enable_devenum
1033 enable_dhcpcsvc
1034 enable_difxapi
1035 enable_dinput
1036 enable_dinput8
1037 enable_dispex
1038 enable_dmband
1039 enable_dmcompos
1040 enable_dmime
1041 enable_dmloader
1042 enable_dmscript
1043 enable_dmstyle
1044 enable_dmsynth
1045 enable_dmusic
1046 enable_dmusic32
1047 enable_dnsapi
1048 enable_dplay
1049 enable_dplayx
1050 enable_dpnaddr
1051 enable_dpnet
1052 enable_dpnhpast
1053 enable_dpnlobby
1054 enable_dpvoice
1055 enable_dpwsockx
1056 enable_drmclien
1057 enable_dsound
1058 enable_dssenh
1059 enable_dswave
1060 enable_dwmapi
1061 enable_dwrite
1062 enable_dxdiagn
1063 enable_dxgi
1064 enable_dxva2
1065 enable_evr
1066 enable_explorerframe
1067 enable_ext_ms_win_gdi_devcaps_l1_1_0
1068 enable_faultrep
1069 enable_fltlib
1070 enable_fntcache
1071 enable_fontsub
1072 enable_fusion
1073 enable_fwpuclnt
1074 enable_gameux
1075 enable_gdi32
1076 enable_gdiplus
1077 enable_glu32
1078 enable_gphoto2_ds
1079 enable_gpkcsp
1080 enable_hal
1081 enable_hhctrl_ocx
1082 enable_hid
1083 enable_hidclass_sys
1084 enable_hlink
1085 enable_hnetcfg
1086 enable_httpapi
1087 enable_iccvid
1088 enable_icmp
1089 enable_ieframe
1090 enable_imaadp32_acm
1091 enable_imagehlp
1092 enable_imm32
1093 enable_inetcomm
1094 enable_inetcpl_cpl
1095 enable_inetmib1
1096 enable_infosoft
1097 enable_initpki
1098 enable_inkobj
1099 enable_inseng
1100 enable_iphlpapi
1101 enable_itircl
1102 enable_itss
1103 enable_joy_cpl
1104 enable_jscript
1105 enable_jsproxy
1106 enable_kernel32
1107 enable_ksuser
1108 enable_ktmw32
1109 enable_loadperf
1110 enable_localspl
1111 enable_localui
1112 enable_lz32
1113 enable_mapi32
1114 enable_mapistub
1115 enable_mciavi32
1116 enable_mcicda
1117 enable_mciqtz32
1118 enable_mciseq
1119 enable_mciwave
1120 enable_mf
1121 enable_mfplat
1122 enable_mfreadwrite
1123 enable_mgmtapi
1124 enable_midimap
1125 enable_mlang
1126 enable_mmcndmgr
1127 enable_mmdevapi
1128 enable_mountmgr_sys
1129 enable_mpr
1130 enable_mprapi
1131 enable_msacm32_drv
1132 enable_msacm32
1133 enable_msadp32_acm
1134 enable_msasn1
1135 enable_mscat32
1136 enable_mscms
1137 enable_mscoree
1138 enable_msctf
1139 enable_msctfp
1140 enable_msdaps
1141 enable_msdmo
1142 enable_msftedit
1143 enable_msg711_acm
1144 enable_msgsm32_acm
1145 enable_mshtml_tlb
1146 enable_mshtml
1147 enable_msi
1148 enable_msident
1149 enable_msimg32
1150 enable_msimsg
1151 enable_msimtf
1152 enable_msisip
1153 enable_msisys_ocx
1154 enable_msls31
1155 enable_msnet32
1156 enable_mspatcha
1157 enable_msrle32
1158 enable_msscript_ocx
1159 enable_mssign32
1160 enable_mssip32
1161 enable_mstask
1162 enable_msvcirt
1163 enable_msvcm80
1164 enable_msvcm90
1165 enable_msvcp100
1166 enable_msvcp110
1167 enable_msvcp120
1168 enable_msvcp120_app
1169 enable_msvcp60
1170 enable_msvcp70
1171 enable_msvcp71
1172 enable_msvcp80
1173 enable_msvcp90
1174 enable_msvcr100
1175 enable_msvcr110
1176 enable_msvcr120
1177 enable_msvcr120_app
1178 enable_msvcr70
1179 enable_msvcr71
1180 enable_msvcr80
1181 enable_msvcr90
1182 enable_msvcrt
1183 enable_msvcrt20
1184 enable_msvcrt40
1185 enable_msvcrtd
1186 enable_msvfw32
1187 enable_msvidc32
1188 enable_mswsock
1189 enable_msxml
1190 enable_msxml2
1191 enable_msxml3
1192 enable_msxml4
1193 enable_msxml6
1194 enable_nddeapi
1195 enable_ndis_sys
1196 enable_netapi32
1197 enable_netcfgx
1198 enable_netprofm
1199 enable_newdev
1200 enable_normaliz
1201 enable_npmshtml
1202 enable_npptools
1203 enable_ntdll
1204 enable_ntdsapi
1205 enable_ntoskrnl_exe
1206 enable_ntprint
1207 enable_objsel
1208 enable_odbc32
1209 enable_odbccp32
1210 enable_odbccu32
1211 enable_ole32
1212 enable_oleacc
1213 enable_oleaut32
1214 enable_olecli32
1215 enable_oledb32
1216 enable_oledlg
1217 enable_olepro32
1218 enable_olesvr32
1219 enable_olethk32
1220 enable_openal32
1221 enable_opencl
1222 enable_opengl32
1223 enable_packager
1224 enable_pdh
1225 enable_photometadatahandler
1226 enable_pidgen
1227 enable_powrprof
1228 enable_printui
1229 enable_prntvpt
1230 enable_propsys
1231 enable_psapi
1232 enable_pstorec
1233 enable_qcap
1234 enable_qedit
1235 enable_qmgr
1236 enable_qmgrprxy
1237 enable_quartz
1238 enable_query
1239 enable_rasapi32
1240 enable_rasdlg
1241 enable_regapi
1242 enable_resutils
1243 enable_riched20
1244 enable_riched32
1245 enable_rpcrt4
1246 enable_rsabase
1247 enable_rsaenh
1248 enable_rstrtmgr
1249 enable_rtutils
1250 enable_samlib
1251 enable_sane_ds
1252 enable_scarddlg
1253 enable_sccbase
1254 enable_schannel
1255 enable_schedsvc
1256 enable_scrrun
1257 enable_scsiport_sys
1258 enable_secur32
1259 enable_security
1260 enable_sensapi
1261 enable_serialui
1262 enable_setupapi
1263 enable_sfc
1264 enable_sfc_os
1265 enable_shdoclc
1266 enable_shdocvw
1267 enable_shell32
1268 enable_shfolder
1269 enable_shlwapi
1270 enable_slbcsp
1271 enable_slc
1272 enable_snmpapi
1273 enable_softpub
1274 enable_spoolss
1275 enable_stdole2_tlb
1276 enable_stdole32_tlb
1277 enable_sti
1278 enable_svrapi
1279 enable_sxs
1280 enable_t2embed
1281 enable_tapi32
1282 enable_taskschd
1283 enable_traffic
1284 enable_twain_32
1285 enable_unicows
1286 enable_updspapi
1287 enable_url
1288 enable_urlmon
1289 enable_usbd_sys
1290 enable_user32
1291 enable_userenv
1292 enable_usp10
1293 enable_uxtheme
1294 enable_vbscript
1295 enable_vcomp
1296 enable_vcomp100
1297 enable_vcomp110
1298 enable_vcomp90
1299 enable_vdmdbg
1300 enable_version
1301 enable_vssapi
1302 enable_wbemdisp
1303 enable_wbemprox
1304 enable_webservices
1305 enable_wer
1306 enable_wevtapi
1307 enable_wiaservc
1308 enable_windowscodecs
1309 enable_windowscodecsext
1310 enable_winealsa_drv
1311 enable_winecoreaudio_drv
1312 enable_wined3d
1313 enable_winegstreamer
1314 enable_winejoystick_drv
1315 enable_winemac_drv
1316 enable_winemapi
1317 enable_winemp3_acm
1318 enable_wineoss_drv
1319 enable_wineps_drv
1320 enable_wineqtdecoder
1321 enable_winex11_drv
1322 enable_wing32
1323 enable_winhttp
1324 enable_wininet
1325 enable_winmm
1326 enable_winnls32
1327 enable_winscard
1328 enable_winspool_drv
1329 enable_winsta
1330 enable_wintab32
1331 enable_wintrust
1332 enable_wlanapi
1333 enable_wldap32
1334 enable_wmi
1335 enable_wmiutils
1336 enable_wmp
1337 enable_wmvcore
1338 enable_wnaspi32
1339 enable_wpcap
1340 enable_ws2_32
1341 enable_wshom_ocx
1342 enable_wsnmp32
1343 enable_wsock32
1344 enable_wtsapi32
1345 enable_wuapi
1346 enable_wuaueng
1347 enable_x3daudio1_1
1348 enable_x3daudio1_2
1349 enable_x3daudio1_3
1350 enable_x3daudio1_4
1351 enable_x3daudio1_5
1352 enable_x3daudio1_6
1353 enable_x3daudio1_7
1354 enable_xapofx1_1
1355 enable_xapofx1_3
1356 enable_xapofx1_4
1357 enable_xapofx1_5
1358 enable_xaudio2_7
1359 enable_xaudio2_8
1360 enable_xinput1_1
1361 enable_xinput1_2
1362 enable_xinput1_3
1363 enable_xinput1_4
1364 enable_xinput9_1_0
1365 enable_xmllite
1366 enable_xolehlp
1367 enable_xpsprint
1368 enable_xpssvcs
1369 enable_documentation
1370 enable_fonts
1371 enable_include
1372 enable_libs_port
1373 enable_libs_wine
1374 enable_libs_wpp
1375 enable_loader
1376 enable_arp
1377 enable_aspnet_regiis
1378 enable_attrib
1379 enable_cabarc
1380 enable_cacls
1381 enable_clock
1382 enable_cmd
1383 enable_conhost
1384 enable_control
1385 enable_cscript
1386 enable_dpnsvr
1387 enable_dxdiag
1388 enable_eject
1389 enable_expand
1390 enable_explorer
1391 enable_extrac32
1392 enable_findstr
1393 enable_hh
1394 enable_hostname
1395 enable_icinfo
1396 enable_iexplore
1397 enable_ipconfig
1398 enable_lodctr
1399 enable_mofcomp
1400 enable_mshta
1401 enable_msiexec
1402 enable_net
1403 enable_netsh
1404 enable_netstat
1405 enable_ngen
1406 enable_notepad
1407 enable_oleview
1408 enable_ping
1409 enable_plugplay
1410 enable_presentationfontcache
1411 enable_progman
1412 enable_reg
1413 enable_regasm
1414 enable_regedit
1415 enable_regsvcs
1416 enable_regsvr32
1417 enable_rpcss
1418 enable_rundll32
1419 enable_sc
1420 enable_schtasks
1421 enable_sdbinst
1422 enable_secedit
1423 enable_servicemodelreg
1424 enable_services
1425 enable_spoolsv
1426 enable_start
1427 enable_svchost
1428 enable_systeminfo
1429 enable_taskkill
1430 enable_tasklist
1431 enable_taskmgr
1432 enable_termsv
1433 enable_uninstaller
1434 enable_unlodctr
1435 enable_view
1436 enable_wevtutil
1437 enable_wineboot
1438 enable_winebrowser
1439 enable_winecfg
1440 enable_wineconsole
1441 enable_winedbg
1442 enable_winedevice
1443 enable_winefile
1444 enable_winemenubuilder
1445 enable_winemine
1446 enable_winemsibuilder
1447 enable_winepath
1448 enable_winetest
1449 enable_winhlp32
1450 enable_winver
1451 enable_wmic
1452 enable_wordpad
1453 enable_write
1454 enable_wscript
1455 enable_wusa
1456 enable_xcopy
1457 enable_server
1458 enable_tools
1460 ac_precious_vars='build_alias
1461 host_alias
1462 target_alias
1464 CFLAGS
1465 LDFLAGS
1466 LIBS
1467 CPPFLAGS
1469 CXXFLAGS
1472 XMKMF
1473 XML2_CFLAGS
1474 XML2_LIBS
1475 XSLT_CFLAGS
1476 XSLT_LIBS
1477 DBUS_CFLAGS
1478 DBUS_LIBS
1479 HAL_CFLAGS
1480 HAL_LIBS
1481 GNUTLS_CFLAGS
1482 GNUTLS_LIBS
1483 SANE_CFLAGS
1484 SANE_LIBS
1485 GPHOTO2_CFLAGS
1486 GPHOTO2_LIBS
1487 GPHOTO2_PORT_CFLAGS
1488 GPHOTO2_PORT_LIBS
1489 LCMS2_CFLAGS
1490 LCMS2_LIBS
1491 FREETYPE_CFLAGS
1492 FREETYPE_LIBS
1493 GSTREAMER_CFLAGS
1494 GSTREAMER_LIBS
1495 CAPI20_CFLAGS
1496 CAPI20_LIBS
1497 FONTCONFIG_CFLAGS
1498 FONTCONFIG_LIBS
1499 JPEG_CFLAGS
1500 JPEG_LIBS
1501 PNG_CFLAGS
1502 PNG_LIBS
1503 TIFF_CFLAGS
1504 TIFF_LIBS
1505 MPG123_CFLAGS
1506 MPG123_LIBS'
1509 # Initialize some variables set by options.
1510 ac_init_help=
1511 ac_init_version=false
1512 ac_unrecognized_opts=
1513 ac_unrecognized_sep=
1514 # The variables have the same names as the options, with
1515 # dashes changed to underlines.
1516 cache_file=/dev/null
1517 exec_prefix=NONE
1518 no_create=
1519 no_recursion=
1520 prefix=NONE
1521 program_prefix=NONE
1522 program_suffix=NONE
1523 program_transform_name=s,x,x,
1524 silent=
1525 site=
1526 srcdir=
1527 verbose=
1528 x_includes=NONE
1529 x_libraries=NONE
1531 # Installation directory options.
1532 # These are left unexpanded so users can "make install exec_prefix=/foo"
1533 # and all the variables that are supposed to be based on exec_prefix
1534 # by default will actually change.
1535 # Use braces instead of parens because sh, perl, etc. also accept them.
1536 # (The list follows the same order as the GNU Coding Standards.)
1537 bindir='${exec_prefix}/bin'
1538 sbindir='${exec_prefix}/sbin'
1539 libexecdir='${exec_prefix}/libexec'
1540 datarootdir='${prefix}/share'
1541 datadir='${datarootdir}'
1542 sysconfdir='${prefix}/etc'
1543 sharedstatedir='${prefix}/com'
1544 localstatedir='${prefix}/var'
1545 includedir='${prefix}/include'
1546 oldincludedir='/usr/include'
1547 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1548 infodir='${datarootdir}/info'
1549 htmldir='${docdir}'
1550 dvidir='${docdir}'
1551 pdfdir='${docdir}'
1552 psdir='${docdir}'
1553 libdir='${exec_prefix}/lib'
1554 localedir='${datarootdir}/locale'
1555 mandir='${datarootdir}/man'
1557 ac_prev=
1558 ac_dashdash=
1559 for ac_option
1561 # If the previous option needs an argument, assign it.
1562 if test -n "$ac_prev"; then
1563 eval $ac_prev=\$ac_option
1564 ac_prev=
1565 continue
1568 case $ac_option in
1569 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1570 *=) ac_optarg= ;;
1571 *) ac_optarg=yes ;;
1572 esac
1574 # Accept the important Cygnus configure options, so we can diagnose typos.
1576 case $ac_dashdash$ac_option in
1578 ac_dashdash=yes ;;
1580 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1581 ac_prev=bindir ;;
1582 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1583 bindir=$ac_optarg ;;
1585 -build | --build | --buil | --bui | --bu)
1586 ac_prev=build_alias ;;
1587 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1588 build_alias=$ac_optarg ;;
1590 -cache-file | --cache-file | --cache-fil | --cache-fi \
1591 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1592 ac_prev=cache_file ;;
1593 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1594 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1595 cache_file=$ac_optarg ;;
1597 --config-cache | -C)
1598 cache_file=config.cache ;;
1600 -datadir | --datadir | --datadi | --datad)
1601 ac_prev=datadir ;;
1602 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1603 datadir=$ac_optarg ;;
1605 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1606 | --dataroo | --dataro | --datar)
1607 ac_prev=datarootdir ;;
1608 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1609 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1610 datarootdir=$ac_optarg ;;
1612 -disable-* | --disable-*)
1613 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1614 # Reject names that are not valid shell variable names.
1615 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1616 as_fn_error $? "invalid feature name: $ac_useropt"
1617 ac_useropt_orig=$ac_useropt
1618 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1619 case $ac_user_opts in
1621 "enable_$ac_useropt"
1622 "*) ;;
1623 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1624 ac_unrecognized_sep=', ';;
1625 esac
1626 eval enable_$ac_useropt=no ;;
1628 -docdir | --docdir | --docdi | --doc | --do)
1629 ac_prev=docdir ;;
1630 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1631 docdir=$ac_optarg ;;
1633 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1634 ac_prev=dvidir ;;
1635 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1636 dvidir=$ac_optarg ;;
1638 -enable-* | --enable-*)
1639 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1640 # Reject names that are not valid shell variable names.
1641 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1642 as_fn_error $? "invalid feature name: $ac_useropt"
1643 ac_useropt_orig=$ac_useropt
1644 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1645 case $ac_user_opts in
1647 "enable_$ac_useropt"
1648 "*) ;;
1649 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1650 ac_unrecognized_sep=', ';;
1651 esac
1652 eval enable_$ac_useropt=\$ac_optarg ;;
1654 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1655 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1656 | --exec | --exe | --ex)
1657 ac_prev=exec_prefix ;;
1658 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1659 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1660 | --exec=* | --exe=* | --ex=*)
1661 exec_prefix=$ac_optarg ;;
1663 -gas | --gas | --ga | --g)
1664 # Obsolete; use --with-gas.
1665 with_gas=yes ;;
1667 -help | --help | --hel | --he | -h)
1668 ac_init_help=long ;;
1669 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1670 ac_init_help=recursive ;;
1671 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1672 ac_init_help=short ;;
1674 -host | --host | --hos | --ho)
1675 ac_prev=host_alias ;;
1676 -host=* | --host=* | --hos=* | --ho=*)
1677 host_alias=$ac_optarg ;;
1679 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1680 ac_prev=htmldir ;;
1681 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1682 | --ht=*)
1683 htmldir=$ac_optarg ;;
1685 -includedir | --includedir | --includedi | --included | --include \
1686 | --includ | --inclu | --incl | --inc)
1687 ac_prev=includedir ;;
1688 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1689 | --includ=* | --inclu=* | --incl=* | --inc=*)
1690 includedir=$ac_optarg ;;
1692 -infodir | --infodir | --infodi | --infod | --info | --inf)
1693 ac_prev=infodir ;;
1694 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1695 infodir=$ac_optarg ;;
1697 -libdir | --libdir | --libdi | --libd)
1698 ac_prev=libdir ;;
1699 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1700 libdir=$ac_optarg ;;
1702 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1703 | --libexe | --libex | --libe)
1704 ac_prev=libexecdir ;;
1705 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1706 | --libexe=* | --libex=* | --libe=*)
1707 libexecdir=$ac_optarg ;;
1709 -localedir | --localedir | --localedi | --localed | --locale)
1710 ac_prev=localedir ;;
1711 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1712 localedir=$ac_optarg ;;
1714 -localstatedir | --localstatedir | --localstatedi | --localstated \
1715 | --localstate | --localstat | --localsta | --localst | --locals)
1716 ac_prev=localstatedir ;;
1717 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1718 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1719 localstatedir=$ac_optarg ;;
1721 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1722 ac_prev=mandir ;;
1723 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1724 mandir=$ac_optarg ;;
1726 -nfp | --nfp | --nf)
1727 # Obsolete; use --without-fp.
1728 with_fp=no ;;
1730 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1731 | --no-cr | --no-c | -n)
1732 no_create=yes ;;
1734 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1735 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1736 no_recursion=yes ;;
1738 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1739 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1740 | --oldin | --oldi | --old | --ol | --o)
1741 ac_prev=oldincludedir ;;
1742 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1743 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1744 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1745 oldincludedir=$ac_optarg ;;
1747 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1748 ac_prev=prefix ;;
1749 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1750 prefix=$ac_optarg ;;
1752 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1753 | --program-pre | --program-pr | --program-p)
1754 ac_prev=program_prefix ;;
1755 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1756 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1757 program_prefix=$ac_optarg ;;
1759 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1760 | --program-suf | --program-su | --program-s)
1761 ac_prev=program_suffix ;;
1762 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1763 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1764 program_suffix=$ac_optarg ;;
1766 -program-transform-name | --program-transform-name \
1767 | --program-transform-nam | --program-transform-na \
1768 | --program-transform-n | --program-transform- \
1769 | --program-transform | --program-transfor \
1770 | --program-transfo | --program-transf \
1771 | --program-trans | --program-tran \
1772 | --progr-tra | --program-tr | --program-t)
1773 ac_prev=program_transform_name ;;
1774 -program-transform-name=* | --program-transform-name=* \
1775 | --program-transform-nam=* | --program-transform-na=* \
1776 | --program-transform-n=* | --program-transform-=* \
1777 | --program-transform=* | --program-transfor=* \
1778 | --program-transfo=* | --program-transf=* \
1779 | --program-trans=* | --program-tran=* \
1780 | --progr-tra=* | --program-tr=* | --program-t=*)
1781 program_transform_name=$ac_optarg ;;
1783 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1784 ac_prev=pdfdir ;;
1785 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1786 pdfdir=$ac_optarg ;;
1788 -psdir | --psdir | --psdi | --psd | --ps)
1789 ac_prev=psdir ;;
1790 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1791 psdir=$ac_optarg ;;
1793 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1794 | -silent | --silent | --silen | --sile | --sil)
1795 silent=yes ;;
1797 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1798 ac_prev=sbindir ;;
1799 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1800 | --sbi=* | --sb=*)
1801 sbindir=$ac_optarg ;;
1803 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1804 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1805 | --sharedst | --shareds | --shared | --share | --shar \
1806 | --sha | --sh)
1807 ac_prev=sharedstatedir ;;
1808 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1809 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1810 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1811 | --sha=* | --sh=*)
1812 sharedstatedir=$ac_optarg ;;
1814 -site | --site | --sit)
1815 ac_prev=site ;;
1816 -site=* | --site=* | --sit=*)
1817 site=$ac_optarg ;;
1819 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1820 ac_prev=srcdir ;;
1821 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1822 srcdir=$ac_optarg ;;
1824 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1825 | --syscon | --sysco | --sysc | --sys | --sy)
1826 ac_prev=sysconfdir ;;
1827 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1828 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1829 sysconfdir=$ac_optarg ;;
1831 -target | --target | --targe | --targ | --tar | --ta | --t)
1832 ac_prev=target_alias ;;
1833 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1834 target_alias=$ac_optarg ;;
1836 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1837 verbose=yes ;;
1839 -version | --version | --versio | --versi | --vers | -V)
1840 ac_init_version=: ;;
1842 -with-* | --with-*)
1843 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1844 # Reject names that are not valid shell variable names.
1845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1846 as_fn_error $? "invalid package name: $ac_useropt"
1847 ac_useropt_orig=$ac_useropt
1848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1849 case $ac_user_opts in
1851 "with_$ac_useropt"
1852 "*) ;;
1853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1854 ac_unrecognized_sep=', ';;
1855 esac
1856 eval with_$ac_useropt=\$ac_optarg ;;
1858 -without-* | --without-*)
1859 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1860 # Reject names that are not valid shell variable names.
1861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1862 as_fn_error $? "invalid package name: $ac_useropt"
1863 ac_useropt_orig=$ac_useropt
1864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1865 case $ac_user_opts in
1867 "with_$ac_useropt"
1868 "*) ;;
1869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1870 ac_unrecognized_sep=', ';;
1871 esac
1872 eval with_$ac_useropt=no ;;
1874 --x)
1875 # Obsolete; use --with-x.
1876 with_x=yes ;;
1878 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1879 | --x-incl | --x-inc | --x-in | --x-i)
1880 ac_prev=x_includes ;;
1881 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1882 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1883 x_includes=$ac_optarg ;;
1885 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1886 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1887 ac_prev=x_libraries ;;
1888 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1889 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1890 x_libraries=$ac_optarg ;;
1892 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1893 Try \`$0 --help' for more information"
1896 *=*)
1897 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1898 # Reject names that are not valid shell variable names.
1899 case $ac_envvar in #(
1900 '' | [0-9]* | *[!_$as_cr_alnum]* )
1901 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1902 esac
1903 eval $ac_envvar=\$ac_optarg
1904 export $ac_envvar ;;
1907 # FIXME: should be removed in autoconf 3.0.
1908 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1909 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1910 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1911 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1914 esac
1915 done
1917 if test -n "$ac_prev"; then
1918 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1919 as_fn_error $? "missing argument to $ac_option"
1922 if test -n "$ac_unrecognized_opts"; then
1923 case $enable_option_checking in
1924 no) ;;
1925 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1926 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1927 esac
1930 # Check all directory arguments for consistency.
1931 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1932 datadir sysconfdir sharedstatedir localstatedir includedir \
1933 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1934 libdir localedir mandir
1936 eval ac_val=\$$ac_var
1937 # Remove trailing slashes.
1938 case $ac_val in
1939 */ )
1940 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1941 eval $ac_var=\$ac_val;;
1942 esac
1943 # Be sure to have absolute directory names.
1944 case $ac_val in
1945 [\\/$]* | ?:[\\/]* ) continue;;
1946 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1947 esac
1948 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1949 done
1951 # There might be people who depend on the old broken behavior: `$host'
1952 # used to hold the argument of --host etc.
1953 # FIXME: To remove some day.
1954 build=$build_alias
1955 host=$host_alias
1956 target=$target_alias
1958 # FIXME: To remove some day.
1959 if test "x$host_alias" != x; then
1960 if test "x$build_alias" = x; then
1961 cross_compiling=maybe
1962 elif test "x$build_alias" != "x$host_alias"; then
1963 cross_compiling=yes
1967 ac_tool_prefix=
1968 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1970 test "$silent" = yes && exec 6>/dev/null
1973 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1974 ac_ls_di=`ls -di .` &&
1975 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1976 as_fn_error $? "working directory cannot be determined"
1977 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1978 as_fn_error $? "pwd does not report name of working directory"
1981 # Find the source files, if location was not specified.
1982 if test -z "$srcdir"; then
1983 ac_srcdir_defaulted=yes
1984 # Try the directory containing this script, then the parent directory.
1985 ac_confdir=`$as_dirname -- "$as_myself" ||
1986 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1987 X"$as_myself" : 'X\(//\)[^/]' \| \
1988 X"$as_myself" : 'X\(//\)$' \| \
1989 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1990 $as_echo X"$as_myself" |
1991 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1992 s//\1/
1995 /^X\(\/\/\)[^/].*/{
1996 s//\1/
1999 /^X\(\/\/\)$/{
2000 s//\1/
2003 /^X\(\/\).*/{
2004 s//\1/
2007 s/.*/./; q'`
2008 srcdir=$ac_confdir
2009 if test ! -r "$srcdir/$ac_unique_file"; then
2010 srcdir=..
2012 else
2013 ac_srcdir_defaulted=no
2015 if test ! -r "$srcdir/$ac_unique_file"; then
2016 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2017 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2019 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2020 ac_abs_confdir=`(
2021 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2022 pwd)`
2023 # When building in place, set srcdir=.
2024 if test "$ac_abs_confdir" = "$ac_pwd"; then
2025 srcdir=.
2027 # Remove unnecessary trailing slashes from srcdir.
2028 # Double slashes in file names in object file debugging info
2029 # mess up M-x gdb in Emacs.
2030 case $srcdir in
2031 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2032 esac
2033 for ac_var in $ac_precious_vars; do
2034 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2035 eval ac_env_${ac_var}_value=\$${ac_var}
2036 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2037 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2038 done
2041 # Report the --help message.
2043 if test "$ac_init_help" = "long"; then
2044 # Omit some internal or obsolete options to make the list less imposing.
2045 # This message is too long to be a string in the A/UX 3.1 sh.
2046 cat <<_ACEOF
2047 \`configure' configures Wine 1.7.49 to adapt to many kinds of systems.
2049 Usage: $0 [OPTION]... [VAR=VALUE]...
2051 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2052 VAR=VALUE. See below for descriptions of some of the useful variables.
2054 Defaults for the options are specified in brackets.
2056 Configuration:
2057 -h, --help display this help and exit
2058 --help=short display options specific to this package
2059 --help=recursive display the short help of all the included packages
2060 -V, --version display version information and exit
2061 -q, --quiet, --silent do not print \`checking ...' messages
2062 --cache-file=FILE cache test results in FILE [disabled]
2063 -C, --config-cache alias for \`--cache-file=config.cache'
2064 -n, --no-create do not create output files
2065 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2067 Installation directories:
2068 --prefix=PREFIX install architecture-independent files in PREFIX
2069 [$ac_default_prefix]
2070 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2071 [PREFIX]
2073 By default, \`make install' will install all the files in
2074 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2075 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2076 for instance \`--prefix=\$HOME'.
2078 For better control, use the options below.
2080 Fine tuning of the installation directories:
2081 --bindir=DIR user executables [EPREFIX/bin]
2082 --sbindir=DIR system admin executables [EPREFIX/sbin]
2083 --libexecdir=DIR program executables [EPREFIX/libexec]
2084 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2085 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2086 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2087 --libdir=DIR object code libraries [EPREFIX/lib]
2088 --includedir=DIR C header files [PREFIX/include]
2089 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2090 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2091 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2092 --infodir=DIR info documentation [DATAROOTDIR/info]
2093 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2094 --mandir=DIR man documentation [DATAROOTDIR/man]
2095 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2096 --htmldir=DIR html documentation [DOCDIR]
2097 --dvidir=DIR dvi documentation [DOCDIR]
2098 --pdfdir=DIR pdf documentation [DOCDIR]
2099 --psdir=DIR ps documentation [DOCDIR]
2100 _ACEOF
2102 cat <<\_ACEOF
2104 X features:
2105 --x-includes=DIR X include files are in DIR
2106 --x-libraries=DIR X library files are in DIR
2108 System types:
2109 --build=BUILD configure for building on BUILD [guessed]
2110 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2111 _ACEOF
2114 if test -n "$ac_init_help"; then
2115 case $ac_init_help in
2116 short | recursive ) echo "Configuration of Wine 1.7.49:";;
2117 esac
2118 cat <<\_ACEOF
2120 Optional Features:
2121 --disable-option-checking ignore unrecognized --enable/--with options
2122 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2123 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2124 --disable-win16 do not include Win16 support
2125 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2126 binaries)
2127 --disable-tests do not build the regression tests
2128 --enable-maintainer-mode
2129 enable maintainer-specific build rules
2130 --disable-largefile omit support for large files
2132 Optional Packages:
2133 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2134 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2135 --without-alsa do not use the Alsa sound support
2136 --without-capi do not use CAPI (ISDN support)
2137 --without-cms do not use CMS (color management support)
2138 --without-coreaudio do not use the CoreAudio sound support
2139 --without-cups do not use CUPS
2140 --without-curses do not use (n)curses
2141 --without-dbus do not use DBus (dynamic device support)
2142 --without-fontconfig do not use fontconfig
2143 --without-freetype do not use the FreeType library
2144 --without-gettext do not use gettext
2145 --with-gettextpo use the GetTextPO library to rebuild po files
2146 --without-gphoto do not use gphoto (Digital Camera support)
2147 --without-glu do not use the GLU library
2148 --without-gnutls do not use GnuTLS (schannel support)
2149 --without-gsm do not use libgsm (GSM 06.10 codec support)
2150 --without-gstreamer do not use GStreamer (codecs support)
2151 --without-hal do not use HAL (dynamic device support)
2152 --without-jpeg do not use JPEG
2153 --without-ldap do not use LDAP
2154 --without-mpg123 do not use the mpg123 library
2155 --without-netapi do not use the Samba NetAPI library
2156 --without-openal do not use OpenAL
2157 --without-opencl do not use OpenCL
2158 --without-opengl do not use OpenGL
2159 --without-osmesa do not use the OSMesa library
2160 --without-oss do not use the OSS sound support
2161 --without-pcap do not use the Packet Capture library
2162 --without-png do not use PNG
2163 --without-pthread do not use the pthread library
2164 --without-sane do not use SANE (scanner support)
2165 --without-tiff do not use TIFF
2166 --without-v4l do not use v4l1 (v4l support)
2167 --without-xcomposite do not use the Xcomposite extension
2168 --without-xcursor do not use the Xcursor extension
2169 --without-xinerama do not use Xinerama (multi-monitor support)
2170 --without-xinput do not use the Xinput extension
2171 --without-xinput2 do not use the Xinput 2 extension
2172 --without-xml do not use XML
2173 --without-xrandr do not use Xrandr (resolution changes)
2174 --without-xrender do not use the Xrender extension
2175 --without-xshape do not use the Xshape extension
2176 --without-xshm do not use XShm (shared memory extension)
2177 --without-xslt do not use XSLT
2178 --without-xxf86vm do not use XFree video mode extension
2179 --without-zlib do not use Zlib (data compression)
2180 --with-wine-tools=DIR use Wine tools from directory DIR
2181 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2182 --with-x use the X Window System
2184 Some influential environment variables:
2185 CC C compiler command
2186 CFLAGS C compiler flags
2187 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2188 nonstandard directory <lib dir>
2189 LIBS libraries to pass to the linker, e.g. -l<library>
2190 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2191 you have headers in a nonstandard directory <include dir>
2192 CXX C++ compiler command
2193 CXXFLAGS C++ compiler flags
2194 CPP C preprocessor
2195 XMKMF Path to xmkmf, Makefile generator for X Window System
2196 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2197 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2198 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2199 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2200 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2201 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2202 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2203 HAL_LIBS Linker flags for hal, overriding pkg-config
2204 GNUTLS_CFLAGS
2205 C compiler flags for gnutls, overriding pkg-config
2206 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2207 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2208 SANE_LIBS Linker flags for libsane, overriding pkg-config
2209 GPHOTO2_CFLAGS
2210 C compiler flags for libgphoto2, overriding pkg-config
2211 GPHOTO2_LIBS
2212 Linker flags for libgphoto2, overriding pkg-config
2213 GPHOTO2_PORT_CFLAGS
2214 C compiler flags for libgphoto2_port, overriding pkg-config
2215 GPHOTO2_PORT_LIBS
2216 Linker flags for libgphoto2_port, overriding pkg-config
2217 LCMS2_CFLAGS
2218 C compiler flags for lcms2, overriding pkg-config
2219 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2220 FREETYPE_CFLAGS
2221 C compiler flags for freetype2, overriding pkg-config
2222 FREETYPE_LIBS
2223 Linker flags for freetype2, overriding pkg-config
2224 GSTREAMER_CFLAGS
2225 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2226 GSTREAMER_LIBS
2227 Linker flags for gstreamer-app-0.10, overriding pkg-config
2228 CAPI20_CFLAGS
2229 C compiler flags for capi20, overriding pkg-config
2230 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2231 FONTCONFIG_CFLAGS
2232 C compiler flags for fontconfig, overriding pkg-config
2233 FONTCONFIG_LIBS
2234 Linker flags for fontconfig, overriding pkg-config
2235 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2236 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2237 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2238 PNG_LIBS Linker flags for libpng, overriding pkg-config
2239 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2240 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2241 MPG123_CFLAGS
2242 C compiler flags for libmpg123, overriding pkg-config
2243 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2245 Use these variables to override the choices made by `configure' or to help
2246 it to find libraries and programs with nonstandard names/locations.
2248 Report bugs to <wine-devel@winehq.org>.
2249 Wine home page: <http://www.winehq.org>.
2250 _ACEOF
2251 ac_status=$?
2254 if test "$ac_init_help" = "recursive"; then
2255 # If there are subdirs, report their specific --help.
2256 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2257 test -d "$ac_dir" ||
2258 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2259 continue
2260 ac_builddir=.
2262 case "$ac_dir" in
2263 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2265 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2266 # A ".." for each directory in $ac_dir_suffix.
2267 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2268 case $ac_top_builddir_sub in
2269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2271 esac ;;
2272 esac
2273 ac_abs_top_builddir=$ac_pwd
2274 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2275 # for backward compatibility:
2276 ac_top_builddir=$ac_top_build_prefix
2278 case $srcdir in
2279 .) # We are building in place.
2280 ac_srcdir=.
2281 ac_top_srcdir=$ac_top_builddir_sub
2282 ac_abs_top_srcdir=$ac_pwd ;;
2283 [\\/]* | ?:[\\/]* ) # Absolute name.
2284 ac_srcdir=$srcdir$ac_dir_suffix;
2285 ac_top_srcdir=$srcdir
2286 ac_abs_top_srcdir=$srcdir ;;
2287 *) # Relative name.
2288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2289 ac_top_srcdir=$ac_top_build_prefix$srcdir
2290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2291 esac
2292 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2294 cd "$ac_dir" || { ac_status=$?; continue; }
2295 # Check for guested configure.
2296 if test -f "$ac_srcdir/configure.gnu"; then
2297 echo &&
2298 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2299 elif test -f "$ac_srcdir/configure"; then
2300 echo &&
2301 $SHELL "$ac_srcdir/configure" --help=recursive
2302 else
2303 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2304 fi || ac_status=$?
2305 cd "$ac_pwd" || { ac_status=$?; break; }
2306 done
2309 test -n "$ac_init_help" && exit $ac_status
2310 if $ac_init_version; then
2311 cat <<\_ACEOF
2312 Wine configure 1.7.49
2313 generated by GNU Autoconf 2.69
2315 Copyright (C) 2012 Free Software Foundation, Inc.
2316 This configure script is free software; the Free Software Foundation
2317 gives unlimited permission to copy, distribute and modify it.
2318 _ACEOF
2319 exit
2322 ## ------------------------ ##
2323 ## Autoconf initialization. ##
2324 ## ------------------------ ##
2326 # ac_fn_c_try_compile LINENO
2327 # --------------------------
2328 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2329 ac_fn_c_try_compile ()
2331 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332 rm -f conftest.$ac_objext
2333 if { { ac_try="$ac_compile"
2334 case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2337 esac
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_compile") 2>conftest.err
2341 ac_status=$?
2342 if test -s conftest.err; then
2343 grep -v '^ *+' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } && {
2349 test -z "$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2351 } && test -s conftest.$ac_objext; then :
2352 ac_retval=0
2353 else
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 ac_retval=1
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status $ac_retval
2362 } # ac_fn_c_try_compile
2364 # ac_fn_cxx_try_compile LINENO
2365 # ----------------------------
2366 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2367 ac_fn_cxx_try_compile ()
2369 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2370 rm -f conftest.$ac_objext
2371 if { { ac_try="$ac_compile"
2372 case "(($ac_try" in
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2375 esac
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_compile") 2>conftest.err
2379 ac_status=$?
2380 if test -s conftest.err; then
2381 grep -v '^ *+' conftest.err >conftest.er1
2382 cat conftest.er1 >&5
2383 mv -f conftest.er1 conftest.err
2385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2386 test $ac_status = 0; } && {
2387 test -z "$ac_cxx_werror_flag" ||
2388 test ! -s conftest.err
2389 } && test -s conftest.$ac_objext; then :
2390 ac_retval=0
2391 else
2392 $as_echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.$ac_ext >&5
2395 ac_retval=1
2397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2398 as_fn_set_status $ac_retval
2400 } # ac_fn_cxx_try_compile
2402 # ac_fn_c_try_link LINENO
2403 # -----------------------
2404 # Try to link conftest.$ac_ext, and return whether this succeeded.
2405 ac_fn_c_try_link ()
2407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2408 rm -f conftest.$ac_objext conftest$ac_exeext
2409 if { { ac_try="$ac_link"
2410 case "(($ac_try" in
2411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2412 *) ac_try_echo=$ac_try;;
2413 esac
2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2415 $as_echo "$ac_try_echo"; } >&5
2416 (eval "$ac_link") 2>conftest.err
2417 ac_status=$?
2418 if test -s conftest.err; then
2419 grep -v '^ *+' conftest.err >conftest.er1
2420 cat conftest.er1 >&5
2421 mv -f conftest.er1 conftest.err
2423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2424 test $ac_status = 0; } && {
2425 test -z "$ac_c_werror_flag" ||
2426 test ! -s conftest.err
2427 } && test -s conftest$ac_exeext && {
2428 test "$cross_compiling" = yes ||
2429 test -x conftest$ac_exeext
2430 }; then :
2431 ac_retval=0
2432 else
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 ac_retval=1
2438 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2439 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2440 # interfere with the next link command; also delete a directory that is
2441 # left behind by Apple's compiler. We do this before executing the actions.
2442 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444 as_fn_set_status $ac_retval
2446 } # ac_fn_c_try_link
2448 # ac_fn_c_try_cpp LINENO
2449 # ----------------------
2450 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2451 ac_fn_c_try_cpp ()
2453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2454 if { { ac_try="$ac_cpp conftest.$ac_ext"
2455 case "(($ac_try" in
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2458 esac
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2462 ac_status=$?
2463 if test -s conftest.err; then
2464 grep -v '^ *+' conftest.err >conftest.er1
2465 cat conftest.er1 >&5
2466 mv -f conftest.er1 conftest.err
2468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2469 test $ac_status = 0; } > conftest.i && {
2470 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2471 test ! -s conftest.err
2472 }; then :
2473 ac_retval=0
2474 else
2475 $as_echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 ac_retval=1
2480 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 as_fn_set_status $ac_retval
2483 } # ac_fn_c_try_cpp
2485 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2486 # -------------------------------------------------------
2487 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2488 # the include files in INCLUDES and setting the cache variable VAR
2489 # accordingly.
2490 ac_fn_c_check_header_mongrel ()
2492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2493 if eval \${$3+:} false; then :
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2495 $as_echo_n "checking for $2... " >&6; }
2496 if eval \${$3+:} false; then :
2497 $as_echo_n "(cached) " >&6
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2502 else
2503 # Is the header compilable?
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2505 $as_echo_n "checking $2 usability... " >&6; }
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2509 #include <$2>
2510 _ACEOF
2511 if ac_fn_c_try_compile "$LINENO"; then :
2512 ac_header_compiler=yes
2513 else
2514 ac_header_compiler=no
2516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2518 $as_echo "$ac_header_compiler" >&6; }
2520 # Is the header present?
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2522 $as_echo_n "checking $2 presence... " >&6; }
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2525 #include <$2>
2526 _ACEOF
2527 if ac_fn_c_try_cpp "$LINENO"; then :
2528 ac_header_preproc=yes
2529 else
2530 ac_header_preproc=no
2532 rm -f conftest.err conftest.i conftest.$ac_ext
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2534 $as_echo "$ac_header_preproc" >&6; }
2536 # So? What about this header?
2537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2538 yes:no: )
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2540 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2542 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2544 no:yes:* )
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2546 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2548 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2550 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2552 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2554 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2555 ( $as_echo "## ------------------------------------ ##
2556 ## Report this to wine-devel@winehq.org ##
2557 ## ------------------------------------ ##"
2558 ) | sed "s/^/$as_me: WARNING: /" >&2
2560 esac
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562 $as_echo_n "checking for $2... " >&6; }
2563 if eval \${$3+:} false; then :
2564 $as_echo_n "(cached) " >&6
2565 else
2566 eval "$3=\$ac_header_compiler"
2568 eval ac_res=\$$3
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2570 $as_echo "$ac_res" >&6; }
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2574 } # ac_fn_c_check_header_mongrel
2576 # ac_fn_c_try_run LINENO
2577 # ----------------------
2578 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2579 # that executables *can* be run.
2580 ac_fn_c_try_run ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if { { ac_try="$ac_link"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_link") 2>&5
2591 ac_status=$?
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2594 { { case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2599 $as_echo "$ac_try_echo"; } >&5
2600 (eval "$ac_try") 2>&5
2601 ac_status=$?
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; }; }; then :
2604 ac_retval=0
2605 else
2606 $as_echo "$as_me: program exited with status $ac_status" >&5
2607 $as_echo "$as_me: failed program was:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 ac_retval=$ac_status
2612 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 as_fn_set_status $ac_retval
2616 } # ac_fn_c_try_run
2618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2619 # -------------------------------------------------------
2620 # Tests whether HEADER exists and can be compiled using the include files in
2621 # INCLUDES, setting the cache variable VAR accordingly.
2622 ac_fn_c_check_header_compile ()
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2626 $as_echo_n "checking for $2... " >&6; }
2627 if eval \${$3+:} false; then :
2628 $as_echo_n "(cached) " >&6
2629 else
2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2631 /* end confdefs.h. */
2633 #include <$2>
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636 eval "$3=yes"
2637 else
2638 eval "$3=no"
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 eval ac_res=\$$3
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2644 $as_echo "$ac_res" >&6; }
2645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2647 } # ac_fn_c_check_header_compile
2649 # ac_fn_c_check_func LINENO FUNC VAR
2650 # ----------------------------------
2651 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2652 ac_fn_c_check_func ()
2654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \${$3+:} false; then :
2658 $as_echo_n "(cached) " >&6
2659 else
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2662 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2664 #define $2 innocuous_$2
2666 /* System header to define __stub macros and hopefully few prototypes,
2667 which can conflict with char $2 (); below.
2668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2669 <limits.h> exists even on freestanding compilers. */
2671 #ifdef __STDC__
2672 # include <limits.h>
2673 #else
2674 # include <assert.h>
2675 #endif
2677 #undef $2
2679 /* Override any GCC internal prototype to avoid an error.
2680 Use char because int might match the return type of a GCC
2681 builtin and then its argument prototype would still apply. */
2682 #ifdef __cplusplus
2683 extern "C"
2684 #endif
2685 char $2 ();
2686 /* The GNU C library defines this for functions which it implements
2687 to always fail with ENOSYS. Some functions are actually named
2688 something starting with __ and the normal name is an alias. */
2689 #if defined __stub_$2 || defined __stub___$2
2690 choke me
2691 #endif
2694 main ()
2696 return $2 ();
2698 return 0;
2700 _ACEOF
2701 if ac_fn_c_try_link "$LINENO"; then :
2702 eval "$3=yes"
2703 else
2704 eval "$3=no"
2706 rm -f core conftest.err conftest.$ac_objext \
2707 conftest$ac_exeext conftest.$ac_ext
2709 eval ac_res=\$$3
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2711 $as_echo "$ac_res" >&6; }
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2714 } # ac_fn_c_check_func
2716 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2717 # ----------------------------------------------------
2718 # Tries to find if the field MEMBER exists in type AGGR, after including
2719 # INCLUDES, setting cache variable VAR accordingly.
2720 ac_fn_c_check_member ()
2722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2724 $as_echo_n "checking for $2.$3... " >&6; }
2725 if eval \${$4+:} false; then :
2726 $as_echo_n "(cached) " >&6
2727 else
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2732 main ()
2734 static $2 ac_aggr;
2735 if (ac_aggr.$3)
2736 return 0;
2738 return 0;
2740 _ACEOF
2741 if ac_fn_c_try_compile "$LINENO"; then :
2742 eval "$4=yes"
2743 else
2744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2745 /* end confdefs.h. */
2748 main ()
2750 static $2 ac_aggr;
2751 if (sizeof ac_aggr.$3)
2752 return 0;
2754 return 0;
2756 _ACEOF
2757 if ac_fn_c_try_compile "$LINENO"; then :
2758 eval "$4=yes"
2759 else
2760 eval "$4=no"
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2766 eval ac_res=\$$4
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2768 $as_echo "$ac_res" >&6; }
2769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 } # ac_fn_c_check_member
2773 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2774 # -------------------------------------------
2775 # Tests whether TYPE exists after having included INCLUDES, setting cache
2776 # variable VAR accordingly.
2777 ac_fn_c_check_type ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2781 $as_echo_n "checking for $2... " >&6; }
2782 if eval \${$3+:} false; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 eval "$3=no"
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2790 main ()
2792 if (sizeof ($2))
2793 return 0;
2795 return 0;
2797 _ACEOF
2798 if ac_fn_c_try_compile "$LINENO"; then :
2799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2803 main ()
2805 if (sizeof (($2)))
2806 return 0;
2808 return 0;
2810 _ACEOF
2811 if ac_fn_c_try_compile "$LINENO"; then :
2813 else
2814 eval "$3=yes"
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 eval ac_res=\$$3
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 } # ac_fn_c_check_type
2826 cat >config.log <<_ACEOF
2827 This file contains any messages produced by compilers while
2828 running configure, to aid debugging if configure makes a mistake.
2830 It was created by Wine $as_me 1.7.49, which was
2831 generated by GNU Autoconf 2.69. Invocation command line was
2833 $ $0 $@
2835 _ACEOF
2836 exec 5>>config.log
2838 cat <<_ASUNAME
2839 ## --------- ##
2840 ## Platform. ##
2841 ## --------- ##
2843 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2844 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2845 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2846 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2847 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2849 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2850 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2852 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2853 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2854 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2855 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2856 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2857 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2858 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2860 _ASUNAME
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH
2865 IFS=$as_save_IFS
2866 test -z "$as_dir" && as_dir=.
2867 $as_echo "PATH: $as_dir"
2868 done
2869 IFS=$as_save_IFS
2871 } >&5
2873 cat >&5 <<_ACEOF
2876 ## ----------- ##
2877 ## Core tests. ##
2878 ## ----------- ##
2880 _ACEOF
2883 # Keep a trace of the command line.
2884 # Strip out --no-create and --no-recursion so they do not pile up.
2885 # Strip out --silent because we don't want to record it for future runs.
2886 # Also quote any args containing shell meta-characters.
2887 # Make two passes to allow for proper duplicate-argument suppression.
2888 ac_configure_args=
2889 ac_configure_args0=
2890 ac_configure_args1=
2891 ac_must_keep_next=false
2892 for ac_pass in 1 2
2894 for ac_arg
2896 case $ac_arg in
2897 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2898 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2899 | -silent | --silent | --silen | --sile | --sil)
2900 continue ;;
2901 *\'*)
2902 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2903 esac
2904 case $ac_pass in
2905 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2907 as_fn_append ac_configure_args1 " '$ac_arg'"
2908 if test $ac_must_keep_next = true; then
2909 ac_must_keep_next=false # Got value, back to normal.
2910 else
2911 case $ac_arg in
2912 *=* | --config-cache | -C | -disable-* | --disable-* \
2913 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2914 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2915 | -with-* | --with-* | -without-* | --without-* | --x)
2916 case "$ac_configure_args0 " in
2917 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2918 esac
2920 -* ) ac_must_keep_next=true ;;
2921 esac
2923 as_fn_append ac_configure_args " '$ac_arg'"
2925 esac
2926 done
2927 done
2928 { ac_configure_args0=; unset ac_configure_args0;}
2929 { ac_configure_args1=; unset ac_configure_args1;}
2931 # When interrupted or exit'd, cleanup temporary files, and complete
2932 # config.log. We remove comments because anyway the quotes in there
2933 # would cause problems or look ugly.
2934 # WARNING: Use '\'' to represent an apostrophe within the trap.
2935 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2936 trap 'exit_status=$?
2937 # Save into config.log some information that might help in debugging.
2939 echo
2941 $as_echo "## ---------------- ##
2942 ## Cache variables. ##
2943 ## ---------------- ##"
2944 echo
2945 # The following way of writing the cache mishandles newlines in values,
2947 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2948 eval ac_val=\$$ac_var
2949 case $ac_val in #(
2950 *${as_nl}*)
2951 case $ac_var in #(
2952 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2954 esac
2955 case $ac_var in #(
2956 _ | IFS | as_nl) ;; #(
2957 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2958 *) { eval $ac_var=; unset $ac_var;} ;;
2959 esac ;;
2960 esac
2961 done
2962 (set) 2>&1 |
2963 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2964 *${as_nl}ac_space=\ *)
2965 sed -n \
2966 "s/'\''/'\''\\\\'\'''\''/g;
2967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2968 ;; #(
2970 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2972 esac |
2973 sort
2975 echo
2977 $as_echo "## ----------------- ##
2978 ## Output variables. ##
2979 ## ----------------- ##"
2980 echo
2981 for ac_var in $ac_subst_vars
2983 eval ac_val=\$$ac_var
2984 case $ac_val in
2985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2986 esac
2987 $as_echo "$ac_var='\''$ac_val'\''"
2988 done | sort
2989 echo
2991 if test -n "$ac_subst_files"; then
2992 $as_echo "## ------------------- ##
2993 ## File substitutions. ##
2994 ## ------------------- ##"
2995 echo
2996 for ac_var in $ac_subst_files
2998 eval ac_val=\$$ac_var
2999 case $ac_val in
3000 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3001 esac
3002 $as_echo "$ac_var='\''$ac_val'\''"
3003 done | sort
3004 echo
3007 if test -s confdefs.h; then
3008 $as_echo "## ----------- ##
3009 ## confdefs.h. ##
3010 ## ----------- ##"
3011 echo
3012 cat confdefs.h
3013 echo
3015 test "$ac_signal" != 0 &&
3016 $as_echo "$as_me: caught signal $ac_signal"
3017 $as_echo "$as_me: exit $exit_status"
3018 } >&5
3019 rm -f core *.core core.conftest.* &&
3020 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3021 exit $exit_status
3023 for ac_signal in 1 2 13 15; do
3024 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3025 done
3026 ac_signal=0
3028 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3029 rm -f -r conftest* confdefs.h
3031 $as_echo "/* confdefs.h */" > confdefs.h
3033 # Predefined preprocessor variables.
3035 cat >>confdefs.h <<_ACEOF
3036 #define PACKAGE_NAME "$PACKAGE_NAME"
3037 _ACEOF
3039 cat >>confdefs.h <<_ACEOF
3040 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3041 _ACEOF
3043 cat >>confdefs.h <<_ACEOF
3044 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3045 _ACEOF
3047 cat >>confdefs.h <<_ACEOF
3048 #define PACKAGE_STRING "$PACKAGE_STRING"
3049 _ACEOF
3051 cat >>confdefs.h <<_ACEOF
3052 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3053 _ACEOF
3055 cat >>confdefs.h <<_ACEOF
3056 #define PACKAGE_URL "$PACKAGE_URL"
3057 _ACEOF
3060 # Let the site file select an alternate cache file if it wants to.
3061 # Prefer an explicitly selected file to automatically selected ones.
3062 ac_site_file1=NONE
3063 ac_site_file2=NONE
3064 if test -n "$CONFIG_SITE"; then
3065 # We do not want a PATH search for config.site.
3066 case $CONFIG_SITE in #((
3067 -*) ac_site_file1=./$CONFIG_SITE;;
3068 */*) ac_site_file1=$CONFIG_SITE;;
3069 *) ac_site_file1=./$CONFIG_SITE;;
3070 esac
3071 elif test "x$prefix" != xNONE; then
3072 ac_site_file1=$prefix/share/config.site
3073 ac_site_file2=$prefix/etc/config.site
3074 else
3075 ac_site_file1=$ac_default_prefix/share/config.site
3076 ac_site_file2=$ac_default_prefix/etc/config.site
3078 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3080 test "x$ac_site_file" = xNONE && continue
3081 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3083 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3084 sed 's/^/| /' "$ac_site_file" >&5
3085 . "$ac_site_file" \
3086 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088 as_fn_error $? "failed to load site script $ac_site_file
3089 See \`config.log' for more details" "$LINENO" 5; }
3091 done
3093 if test -r "$cache_file"; then
3094 # Some versions of bash will fail to source /dev/null (special files
3095 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3096 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3098 $as_echo "$as_me: loading cache $cache_file" >&6;}
3099 case $cache_file in
3100 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3101 *) . "./$cache_file";;
3102 esac
3104 else
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3106 $as_echo "$as_me: creating cache $cache_file" >&6;}
3107 >$cache_file
3110 # Check that the precious variables saved in the cache have kept the same
3111 # value.
3112 ac_cache_corrupted=false
3113 for ac_var in $ac_precious_vars; do
3114 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3115 eval ac_new_set=\$ac_env_${ac_var}_set
3116 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3117 eval ac_new_val=\$ac_env_${ac_var}_value
3118 case $ac_old_set,$ac_new_set in
3119 set,)
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3121 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3122 ac_cache_corrupted=: ;;
3123 ,set)
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3125 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3126 ac_cache_corrupted=: ;;
3127 ,);;
3129 if test "x$ac_old_val" != "x$ac_new_val"; then
3130 # differences in whitespace do not lead to failure.
3131 ac_old_val_w=`echo x $ac_old_val`
3132 ac_new_val_w=`echo x $ac_new_val`
3133 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3135 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3136 ac_cache_corrupted=:
3137 else
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3139 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3140 eval $ac_var=\$ac_old_val
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3143 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3145 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3146 fi;;
3147 esac
3148 # Pass precious variables to config.status.
3149 if test "$ac_new_set" = set; then
3150 case $ac_new_val in
3151 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3152 *) ac_arg=$ac_var=$ac_new_val ;;
3153 esac
3154 case " $ac_configure_args " in
3155 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3156 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3157 esac
3159 done
3160 if $ac_cache_corrupted; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3164 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3165 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3167 ## -------------------- ##
3168 ## Main body of script. ##
3169 ## -------------------- ##
3171 ac_ext=c
3172 ac_cpp='$CPP $CPPFLAGS'
3173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3179 ac_config_headers="$ac_config_headers include/config.h"
3181 ac_aux_dir=
3182 for ac_dir in tools "$srcdir"/tools; do
3183 if test -f "$ac_dir/install-sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install-sh -c"
3186 break
3187 elif test -f "$ac_dir/install.sh"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/install.sh -c"
3190 break
3191 elif test -f "$ac_dir/shtool"; then
3192 ac_aux_dir=$ac_dir
3193 ac_install_sh="$ac_aux_dir/shtool install -c"
3194 break
3196 done
3197 if test -z "$ac_aux_dir"; then
3198 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3201 # These three variables are undocumented and unsupported,
3202 # and are intended to be withdrawn in a future Autoconf release.
3203 # They can cause serious problems if a builder's source tree is in a directory
3204 # whose full name contains unusual characters.
3205 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3206 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3207 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3211 libwine_version="1.0"
3215 # Check whether --enable-win16 was given.
3216 if test "${enable_win16+set}" = set; then :
3217 enableval=$enable_win16;
3220 # Check whether --enable-win64 was given.
3221 if test "${enable_win64+set}" = set; then :
3222 enableval=$enable_win64;
3225 # Check whether --enable-tests was given.
3226 if test "${enable_tests+set}" = set; then :
3227 enableval=$enable_tests;
3230 # Check whether --enable-maintainer-mode was given.
3231 if test "${enable_maintainer_mode+set}" = set; then :
3232 enableval=$enable_maintainer_mode;
3237 # Check whether --with-alsa was given.
3238 if test "${with_alsa+set}" = set; then :
3239 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3243 # Check whether --with-capi was given.
3244 if test "${with_capi+set}" = set; then :
3245 withval=$with_capi;
3249 # Check whether --with-cms was given.
3250 if test "${with_cms+set}" = set; then :
3251 withval=$with_cms;
3255 # Check whether --with-coreaudio was given.
3256 if test "${with_coreaudio+set}" = set; then :
3257 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3261 # Check whether --with-cups was given.
3262 if test "${with_cups+set}" = set; then :
3263 withval=$with_cups;
3267 # Check whether --with-curses was given.
3268 if test "${with_curses+set}" = set; then :
3269 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3273 # Check whether --with-dbus was given.
3274 if test "${with_dbus+set}" = set; then :
3275 withval=$with_dbus;
3279 # Check whether --with-fontconfig was given.
3280 if test "${with_fontconfig+set}" = set; then :
3281 withval=$with_fontconfig;
3285 # Check whether --with-freetype was given.
3286 if test "${with_freetype+set}" = set; then :
3287 withval=$with_freetype;
3291 # Check whether --with-gettext was given.
3292 if test "${with_gettext+set}" = set; then :
3293 withval=$with_gettext;
3297 # Check whether --with-gettextpo was given.
3298 if test "${with_gettextpo+set}" = set; then :
3299 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3303 # Check whether --with-gphoto was given.
3304 if test "${with_gphoto+set}" = set; then :
3305 withval=$with_gphoto;
3309 # Check whether --with-glu was given.
3310 if test "${with_glu+set}" = set; then :
3311 withval=$with_glu;
3315 # Check whether --with-gnutls was given.
3316 if test "${with_gnutls+set}" = set; then :
3317 withval=$with_gnutls;
3321 # Check whether --with-gsm was given.
3322 if test "${with_gsm+set}" = set; then :
3323 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3327 # Check whether --with-gstreamer was given.
3328 if test "${with_gstreamer+set}" = set; then :
3329 withval=$with_gstreamer;
3333 # Check whether --with-hal was given.
3334 if test "${with_hal+set}" = set; then :
3335 withval=$with_hal;
3339 # Check whether --with-jpeg was given.
3340 if test "${with_jpeg+set}" = set; then :
3341 withval=$with_jpeg;
3345 # Check whether --with-ldap was given.
3346 if test "${with_ldap+set}" = set; then :
3347 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3351 # Check whether --with-mpg123 was given.
3352 if test "${with_mpg123+set}" = set; then :
3353 withval=$with_mpg123;
3357 # Check whether --with-netapi was given.
3358 if test "${with_netapi+set}" = set; then :
3359 withval=$with_netapi;
3363 # Check whether --with-openal was given.
3364 if test "${with_openal+set}" = set; then :
3365 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3369 # Check whether --with-opencl was given.
3370 if test "${with_opencl+set}" = set; then :
3371 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3375 # Check whether --with-opengl was given.
3376 if test "${with_opengl+set}" = set; then :
3377 withval=$with_opengl;
3381 # Check whether --with-osmesa was given.
3382 if test "${with_osmesa+set}" = set; then :
3383 withval=$with_osmesa;
3387 # Check whether --with-oss was given.
3388 if test "${with_oss+set}" = set; then :
3389 withval=$with_oss;
3393 # Check whether --with-pcap was given.
3394 if test "${with_pcap+set}" = set; then :
3395 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3399 # Check whether --with-png was given.
3400 if test "${with_png+set}" = set; then :
3401 withval=$with_png;
3405 # Check whether --with-pthread was given.
3406 if test "${with_pthread+set}" = set; then :
3407 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3411 # Check whether --with-sane was given.
3412 if test "${with_sane+set}" = set; then :
3413 withval=$with_sane;
3417 # Check whether --with-tiff was given.
3418 if test "${with_tiff+set}" = set; then :
3419 withval=$with_tiff;
3423 # Check whether --with-v4l was given.
3424 if test "${with_v4l+set}" = set; then :
3425 withval=$with_v4l;
3429 # Check whether --with-xcomposite was given.
3430 if test "${with_xcomposite+set}" = set; then :
3431 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3435 # Check whether --with-xcursor was given.
3436 if test "${with_xcursor+set}" = set; then :
3437 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3441 # Check whether --with-xinerama was given.
3442 if test "${with_xinerama+set}" = set; then :
3443 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3447 # Check whether --with-xinput was given.
3448 if test "${with_xinput+set}" = set; then :
3449 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3453 # Check whether --with-xinput2 was given.
3454 if test "${with_xinput2+set}" = set; then :
3455 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3459 # Check whether --with-xml was given.
3460 if test "${with_xml+set}" = set; then :
3461 withval=$with_xml;
3465 # Check whether --with-xrandr was given.
3466 if test "${with_xrandr+set}" = set; then :
3467 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3471 # Check whether --with-xrender was given.
3472 if test "${with_xrender+set}" = set; then :
3473 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3477 # Check whether --with-xshape was given.
3478 if test "${with_xshape+set}" = set; then :
3479 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3483 # Check whether --with-xshm was given.
3484 if test "${with_xshm+set}" = set; then :
3485 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3489 # Check whether --with-xslt was given.
3490 if test "${with_xslt+set}" = set; then :
3491 withval=$with_xslt;
3495 # Check whether --with-xxf86vm was given.
3496 if test "${with_xxf86vm+set}" = set; then :
3497 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
3501 # Check whether --with-zlib was given.
3502 if test "${with_zlib+set}" = set; then :
3503 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3508 # Check whether --with-wine-tools was given.
3509 if test "${with_wine_tools+set}" = set; then :
3510 withval=$with_wine_tools;
3514 # Check whether --with-wine64 was given.
3515 if test "${with_wine64+set}" = set; then :
3516 withval=$with_wine64;
3520 # Make sure we can run config.sub.
3521 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3522 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3525 $as_echo_n "checking build system type... " >&6; }
3526 if ${ac_cv_build+:} false; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 ac_build_alias=$build_alias
3530 test "x$ac_build_alias" = x &&
3531 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3532 test "x$ac_build_alias" = x &&
3533 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3534 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3535 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3539 $as_echo "$ac_cv_build" >&6; }
3540 case $ac_cv_build in
3541 *-*-*) ;;
3542 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3543 esac
3544 build=$ac_cv_build
3545 ac_save_IFS=$IFS; IFS='-'
3546 set x $ac_cv_build
3547 shift
3548 build_cpu=$1
3549 build_vendor=$2
3550 shift; shift
3551 # Remember, the first character of IFS is used to create $*,
3552 # except with old shells:
3553 build_os=$*
3554 IFS=$ac_save_IFS
3555 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3559 $as_echo_n "checking host system type... " >&6; }
3560 if ${ac_cv_host+:} false; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test "x$host_alias" = x; then
3564 ac_cv_host=$ac_cv_build
3565 else
3566 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3567 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3572 $as_echo "$ac_cv_host" >&6; }
3573 case $ac_cv_host in
3574 *-*-*) ;;
3575 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3576 esac
3577 host=$ac_cv_host
3578 ac_save_IFS=$IFS; IFS='-'
3579 set x $ac_cv_host
3580 shift
3581 host_cpu=$1
3582 host_vendor=$2
3583 shift; shift
3584 # Remember, the first character of IFS is used to create $*,
3585 # except with old shells:
3586 host_os=$*
3587 IFS=$ac_save_IFS
3588 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3592 case "$srcdir" in
3593 .) ;;
3594 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3595 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3596 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3597 fi ;;
3598 esac
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3602 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3603 set x ${MAKE-make}
3604 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3605 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 cat >conftest.make <<\_ACEOF
3609 SHELL = /bin/sh
3610 all:
3611 @echo '@@@%%%=$(MAKE)=@@@%%%'
3612 _ACEOF
3613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3614 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3615 *@@@%%%=?*=@@@%%%*)
3616 eval ac_cv_prog_make_${ac_make}_set=yes;;
3618 eval ac_cv_prog_make_${ac_make}_set=no;;
3619 esac
3620 rm -f conftest.make
3622 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3624 $as_echo "yes" >&6; }
3625 SET_MAKE=
3626 else
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3629 SET_MAKE="MAKE=${MAKE-make}"
3632 ac_ext=c
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3639 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_CC+:} false; then :
3643 $as_echo_n "(cached) " >&6
3644 else
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC="$CC" # Let the user override the test.
3647 else
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 for as_dir in $PATH
3651 IFS=$as_save_IFS
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 break 2
3659 done
3660 done
3661 IFS=$as_save_IFS
3665 CC=$ac_cv_prog_CC
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3669 else
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3676 if test -z "$ac_cv_prog_CC"; then
3677 ac_ct_CC=$CC
3678 # Extract the first word of "gcc", so it can be a program name with args.
3679 set dummy gcc; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3683 $as_echo_n "(cached) " >&6
3684 else
3685 if test -n "$ac_ct_CC"; then
3686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3687 else
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3691 IFS=$as_save_IFS
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_ac_ct_CC="gcc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3699 done
3700 done
3701 IFS=$as_save_IFS
3705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3706 if test -n "$ac_ct_CC"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3708 $as_echo "$ac_ct_CC" >&6; }
3709 else
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3714 if test "x$ac_ct_CC" = x; then
3715 CC=""
3716 else
3717 case $cross_compiling:$ac_tool_warned in
3718 yes:)
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3721 ac_tool_warned=yes ;;
3722 esac
3723 CC=$ac_ct_CC
3725 else
3726 CC="$ac_cv_prog_CC"
3729 if test -z "$CC"; then
3730 if test -n "$ac_tool_prefix"; then
3731 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3732 set dummy ${ac_tool_prefix}cc; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_CC+:} false; then :
3736 $as_echo_n "(cached) " >&6
3737 else
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC="$CC" # Let the user override the test.
3740 else
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3744 IFS=$as_save_IFS
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3748 ac_cv_prog_CC="${ac_tool_prefix}cc"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 break 2
3752 done
3753 done
3754 IFS=$as_save_IFS
3758 CC=$ac_cv_prog_CC
3759 if test -n "$CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3762 else
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3770 if test -z "$CC"; then
3771 # Extract the first word of "cc", so it can be a program name with args.
3772 set dummy cc; ac_word=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_CC+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if test -n "$CC"; then
3779 ac_cv_prog_CC="$CC" # Let the user override the test.
3780 else
3781 ac_prog_rejected=no
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3785 IFS=$as_save_IFS
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3790 ac_prog_rejected=yes
3791 continue
3793 ac_cv_prog_CC="cc"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3801 if test $ac_prog_rejected = yes; then
3802 # We found a bogon in the path, so make sure we never use it.
3803 set dummy $ac_cv_prog_CC
3804 shift
3805 if test $# != 0; then
3806 # We chose a different compiler from the bogus one.
3807 # However, it has the same basename, so the bogon will be chosen
3808 # first if we set CC to just the basename; use the full file name.
3809 shift
3810 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3815 CC=$ac_cv_prog_CC
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3826 if test -z "$CC"; then
3827 if test -n "$ac_tool_prefix"; then
3828 for ac_prog in cl.exe
3830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3836 else
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3843 IFS=$as_save_IFS
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 break 2
3851 done
3852 done
3853 IFS=$as_save_IFS
3857 CC=$ac_cv_prog_CC
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3861 else
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3867 test -n "$CC" && break
3868 done
3870 if test -z "$CC"; then
3871 ac_ct_CC=$CC
3872 for ac_prog in cl.exe
3874 # Extract the first word of "$ac_prog", so it can be a program name with args.
3875 set dummy $ac_prog; ac_word=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3879 $as_echo_n "(cached) " >&6
3880 else
3881 if test -n "$ac_ct_CC"; then
3882 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_CC="$ac_prog"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3897 IFS=$as_save_IFS
3901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3902 if test -n "$ac_ct_CC"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3904 $as_echo "$ac_ct_CC" >&6; }
3905 else
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3911 test -n "$ac_ct_CC" && break
3912 done
3914 if test "x$ac_ct_CC" = x; then
3915 CC=""
3916 else
3917 case $cross_compiling:$ac_tool_warned in
3918 yes:)
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3921 ac_tool_warned=yes ;;
3922 esac
3923 CC=$ac_ct_CC
3930 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 as_fn_error $? "no acceptable C compiler found in \$PATH
3933 See \`config.log' for more details" "$LINENO" 5; }
3935 # Provide some information about the compiler.
3936 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3937 set X $ac_compile
3938 ac_compiler=$2
3939 for ac_option in --version -v -V -qversion; do
3940 { { ac_try="$ac_compiler $ac_option >&5"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3948 ac_status=$?
3949 if test -s conftest.err; then
3950 sed '10a\
3951 ... rest of stderr output deleted ...
3952 10q' conftest.err >conftest.er1
3953 cat conftest.er1 >&5
3955 rm -f conftest.er1 conftest.err
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }
3958 done
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3964 main ()
3968 return 0;
3970 _ACEOF
3971 ac_clean_files_save=$ac_clean_files
3972 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3973 # Try to create an executable without -o first, disregard a.out.
3974 # It will help us diagnose broken compilers, and finding out an intuition
3975 # of exeext.
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3977 $as_echo_n "checking whether the C compiler works... " >&6; }
3978 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3980 # The possible output files:
3981 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3983 ac_rmfiles=
3984 for ac_file in $ac_files
3986 case $ac_file in
3987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3988 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3989 esac
3990 done
3991 rm -f $ac_rmfiles
3993 if { { ac_try="$ac_link_default"
3994 case "(($ac_try" in
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_link_default") 2>&5
4001 ac_status=$?
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }; then :
4004 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4005 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4006 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4007 # so that the user can short-circuit this test for compilers unknown to
4008 # Autoconf.
4009 for ac_file in $ac_files ''
4011 test -f "$ac_file" || continue
4012 case $ac_file in
4013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4015 [ab].out )
4016 # We found the default executable, but exeext='' is most
4017 # certainly right.
4018 break;;
4019 *.* )
4020 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4021 then :; else
4022 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4024 # We set ac_cv_exeext here because the later test for it is not
4025 # safe: cross compilers may not add the suffix if given an `-o'
4026 # argument, so we may need to know it at that point already.
4027 # Even if this section looks crufty: it has the advantage of
4028 # actually working.
4029 break;;
4031 break;;
4032 esac
4033 done
4034 test "$ac_cv_exeext" = no && ac_cv_exeext=
4036 else
4037 ac_file=''
4039 if test -z "$ac_file"; then :
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4042 $as_echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4047 as_fn_error 77 "C compiler cannot create executables
4048 See \`config.log' for more details" "$LINENO" 5; }
4049 else
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4051 $as_echo "yes" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4054 $as_echo_n "checking for C compiler default output file name... " >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4056 $as_echo "$ac_file" >&6; }
4057 ac_exeext=$ac_cv_exeext
4059 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4060 ac_clean_files=$ac_clean_files_save
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4062 $as_echo_n "checking for suffix of executables... " >&6; }
4063 if { { ac_try="$ac_link"
4064 case "(($ac_try" in
4065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066 *) ac_try_echo=$ac_try;;
4067 esac
4068 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4069 $as_echo "$ac_try_echo"; } >&5
4070 (eval "$ac_link") 2>&5
4071 ac_status=$?
4072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4073 test $ac_status = 0; }; then :
4074 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4075 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4076 # work properly (i.e., refer to `conftest.exe'), while it won't with
4077 # `rm'.
4078 for ac_file in conftest.exe conftest conftest.*; do
4079 test -f "$ac_file" || continue
4080 case $ac_file in
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4082 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4083 break;;
4084 * ) break;;
4085 esac
4086 done
4087 else
4088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4091 See \`config.log' for more details" "$LINENO" 5; }
4093 rm -f conftest conftest$ac_cv_exeext
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4095 $as_echo "$ac_cv_exeext" >&6; }
4097 rm -f conftest.$ac_ext
4098 EXEEXT=$ac_cv_exeext
4099 ac_exeext=$EXEEXT
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4102 #include <stdio.h>
4104 main ()
4106 FILE *f = fopen ("conftest.out", "w");
4107 return ferror (f) || fclose (f) != 0;
4110 return 0;
4112 _ACEOF
4113 ac_clean_files="$ac_clean_files conftest.out"
4114 # Check that the compiler produces executables we can run. If not, either
4115 # the compiler is broken, or we cross compile.
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4117 $as_echo_n "checking whether we are cross compiling... " >&6; }
4118 if test "$cross_compiling" != yes; then
4119 { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }
4130 if { ac_try='./conftest$ac_cv_exeext'
4131 { { case "(($ac_try" in
4132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133 *) ac_try_echo=$ac_try;;
4134 esac
4135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136 $as_echo "$ac_try_echo"; } >&5
4137 (eval "$ac_try") 2>&5
4138 ac_status=$?
4139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4140 test $ac_status = 0; }; }; then
4141 cross_compiling=no
4142 else
4143 if test "$cross_compiling" = maybe; then
4144 cross_compiling=yes
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error $? "cannot run C compiled programs.
4149 If you meant to cross compile, use \`--host'.
4150 See \`config.log' for more details" "$LINENO" 5; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4155 $as_echo "$cross_compiling" >&6; }
4157 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4158 ac_clean_files=$ac_clean_files_save
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if ${ac_cv_objext+:} false; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error $? "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details" "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if ${ac_cv_c_compiler_gnu+:} false; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if ${ac_cv_prog_cc_g+:} false; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if ${ac_cv_prog_cc_c89+:} false; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 struct stat;
4337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4338 struct buf { int x; };
4339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4340 static char *e (p, i)
4341 char **p;
4342 int i;
4344 return p[i];
4346 static char *f (char * (*g) (char **, int), char **p, ...)
4348 char *s;
4349 va_list v;
4350 va_start (v,p);
4351 s = g (p, va_arg (v,int));
4352 va_end (v);
4353 return s;
4356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4357 function prototypes and stuff, but not '\xHH' hex character constants.
4358 These don't provoke an error unfortunately, instead are silently treated
4359 as 'x'. The following induces an error, until -std is added to get
4360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4361 array size at least. It's necessary to write '\x00'==0 to get something
4362 that's true only with -std. */
4363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4366 inside strings and character constants. */
4367 #define FOO(x) 'x'
4368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4370 int test (int i, double x);
4371 struct s1 {int (*f) (int a);};
4372 struct s2 {int (*f) (double a);};
4373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4374 int argc;
4375 char **argv;
4377 main ()
4379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4381 return 0;
4383 _ACEOF
4384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4387 CC="$ac_save_CC $ac_arg"
4388 if ac_fn_c_try_compile "$LINENO"; then :
4389 ac_cv_prog_cc_c89=$ac_arg
4391 rm -f core conftest.err conftest.$ac_objext
4392 test "x$ac_cv_prog_cc_c89" != "xno" && break
4393 done
4394 rm -f conftest.$ac_ext
4395 CC=$ac_save_CC
4398 # AC_CACHE_VAL
4399 case "x$ac_cv_prog_cc_c89" in
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4402 $as_echo "none needed" >&6; } ;;
4403 xno)
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4405 $as_echo "unsupported" >&6; } ;;
4407 CC="$CC $ac_cv_prog_cc_c89"
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4409 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4410 esac
4411 if test "x$ac_cv_prog_cc_c89" != xno; then :
4415 ac_ext=c
4416 ac_cpp='$CPP $CPPFLAGS'
4417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421 ac_ext=cpp
4422 ac_cpp='$CXXCPP $CPPFLAGS'
4423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4426 if test -z "$CXX"; then
4427 if test -n "$CCC"; then
4428 CXX=$CCC
4429 else
4430 if test -n "$ac_tool_prefix"; then
4431 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_CXX+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 if test -n "$CXX"; then
4441 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4442 else
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4446 IFS=$as_save_IFS
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 break 2
4454 done
4455 done
4456 IFS=$as_save_IFS
4460 CXX=$ac_cv_prog_CXX
4461 if test -n "$CXX"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4463 $as_echo "$CXX" >&6; }
4464 else
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$CXX" && break
4471 done
4473 if test -z "$CXX"; then
4474 ac_ct_CXX=$CXX
4475 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4477 # Extract the first word of "$ac_prog", so it can be a program name with args.
4478 set dummy $ac_prog; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4482 $as_echo_n "(cached) " >&6
4483 else
4484 if test -n "$ac_ct_CXX"; then
4485 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4486 else
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 for as_dir in $PATH
4490 IFS=$as_save_IFS
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_ac_ct_CXX="$ac_prog"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 break 2
4498 done
4499 done
4500 IFS=$as_save_IFS
4504 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4505 if test -n "$ac_ct_CXX"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4507 $as_echo "$ac_ct_CXX" >&6; }
4508 else
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4514 test -n "$ac_ct_CXX" && break
4515 done
4517 if test "x$ac_ct_CXX" = x; then
4518 CXX="g++"
4519 else
4520 case $cross_compiling:$ac_tool_warned in
4521 yes:)
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4524 ac_tool_warned=yes ;;
4525 esac
4526 CXX=$ac_ct_CXX
4532 # Provide some information about the compiler.
4533 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4534 set X $ac_compile
4535 ac_compiler=$2
4536 for ac_option in --version -v -V -qversion; do
4537 { { ac_try="$ac_compiler $ac_option >&5"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4543 $as_echo "$ac_try_echo"; } >&5
4544 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4545 ac_status=$?
4546 if test -s conftest.err; then
4547 sed '10a\
4548 ... rest of stderr output deleted ...
4549 10q' conftest.err >conftest.er1
4550 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4554 test $ac_status = 0; }
4555 done
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4558 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4559 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4568 #ifndef __GNUC__
4569 choke me
4570 #endif
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_compiler_gnu=yes
4578 else
4579 ac_compiler_gnu=no
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4586 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4587 if test $ac_compiler_gnu = yes; then
4588 GXX=yes
4589 else
4590 GXX=
4592 ac_test_CXXFLAGS=${CXXFLAGS+set}
4593 ac_save_CXXFLAGS=$CXXFLAGS
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4595 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4596 if ${ac_cv_prog_cxx_g+:} false; then :
4597 $as_echo_n "(cached) " >&6
4598 else
4599 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4600 ac_cxx_werror_flag=yes
4601 ac_cv_prog_cxx_g=no
4602 CXXFLAGS="-g"
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4607 main ()
4611 return 0;
4613 _ACEOF
4614 if ac_fn_cxx_try_compile "$LINENO"; then :
4615 ac_cv_prog_cxx_g=yes
4616 else
4617 CXXFLAGS=""
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4622 main ()
4626 return 0;
4628 _ACEOF
4629 if ac_fn_cxx_try_compile "$LINENO"; then :
4631 else
4632 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4633 CXXFLAGS="-g"
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 main ()
4642 return 0;
4644 _ACEOF
4645 if ac_fn_cxx_try_compile "$LINENO"; then :
4646 ac_cv_prog_cxx_g=yes
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4656 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4657 if test "$ac_test_CXXFLAGS" = set; then
4658 CXXFLAGS=$ac_save_CXXFLAGS
4659 elif test $ac_cv_prog_cxx_g = yes; then
4660 if test "$GXX" = yes; then
4661 CXXFLAGS="-g -O2"
4662 else
4663 CXXFLAGS="-g"
4665 else
4666 if test "$GXX" = yes; then
4667 CXXFLAGS="-O2"
4668 else
4669 CXXFLAGS=
4672 ac_ext=c
4673 ac_cpp='$CPP $CPPFLAGS'
4674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678 if test -n "$ac_tool_prefix"; then
4679 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4680 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_CPPBIN+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$CPPBIN"; then
4687 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 CPPBIN=$ac_cv_prog_CPPBIN
4707 if test -n "$CPPBIN"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4709 $as_echo "$CPPBIN" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4717 if test -z "$ac_cv_prog_CPPBIN"; then
4718 ac_ct_CPPBIN=$CPPBIN
4719 # Extract the first word of "cpp", so it can be a program name with args.
4720 set dummy cpp; ac_word=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4724 $as_echo_n "(cached) " >&6
4725 else
4726 if test -n "$ac_ct_CPPBIN"; then
4727 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4728 else
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730 for as_dir in $PATH
4732 IFS=$as_save_IFS
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4736 ac_cv_prog_ac_ct_CPPBIN="cpp"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 break 2
4740 done
4741 done
4742 IFS=$as_save_IFS
4746 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4747 if test -n "$ac_ct_CPPBIN"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4749 $as_echo "$ac_ct_CPPBIN" >&6; }
4750 else
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4755 if test "x$ac_ct_CPPBIN" = x; then
4756 CPPBIN="cpp"
4757 else
4758 case $cross_compiling:$ac_tool_warned in
4759 yes:)
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4762 ac_tool_warned=yes ;;
4763 esac
4764 CPPBIN=$ac_ct_CPPBIN
4766 else
4767 CPPBIN="$ac_cv_prog_CPPBIN"
4771 cat >>confdefs.h <<_ACEOF
4772 #define EXEEXT "$ac_exeext"
4773 _ACEOF
4775 if test -n "$ac_tool_prefix"; then
4776 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4777 set dummy ${ac_tool_prefix}ld; ac_word=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if ${ac_cv_prog_LD+:} false; then :
4781 $as_echo_n "(cached) " >&6
4782 else
4783 if test -n "$LD"; then
4784 ac_cv_prog_LD="$LD" # Let the user override the test.
4785 else
4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4787 for as_dir in $PATH
4789 IFS=$as_save_IFS
4790 test -z "$as_dir" && as_dir=.
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4793 ac_cv_prog_LD="${ac_tool_prefix}ld"
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 break 2
4797 done
4798 done
4799 IFS=$as_save_IFS
4803 LD=$ac_cv_prog_LD
4804 if test -n "$LD"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4806 $as_echo "$LD" >&6; }
4807 else
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4814 if test -z "$ac_cv_prog_LD"; then
4815 ac_ct_LD=$LD
4816 # Extract the first word of "ld", so it can be a program name with args.
4817 set dummy ld; ac_word=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4821 $as_echo_n "(cached) " >&6
4822 else
4823 if test -n "$ac_ct_LD"; then
4824 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4825 else
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_ac_ct_LD="ld"
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 break 2
4837 done
4838 done
4839 IFS=$as_save_IFS
4843 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4844 if test -n "$ac_ct_LD"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4846 $as_echo "$ac_ct_LD" >&6; }
4847 else
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4852 if test "x$ac_ct_LD" = x; then
4853 LD=""
4854 else
4855 case $cross_compiling:$ac_tool_warned in
4856 yes:)
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned=yes ;;
4860 esac
4861 LD=$ac_ct_LD
4863 else
4864 LD="$ac_cv_prog_LD"
4868 case $host in
4869 *-darwin*)
4870 if test "x$enable_win64" = "xyes"
4871 then
4872 CC="$CC -m64"
4873 CXX="$CXX -m64"
4874 host_cpu="x86_64"
4875 notice_platform="64-bit "
4876 TARGETFLAGS="-m64"
4878 else
4879 CC="$CC -m32"
4880 CXX="$CXX -m32"
4881 host_cpu="i386"
4882 notice_platform="32-bit "
4883 TARGETFLAGS="-m32"
4885 enable_win16=${enable_win16:-yes}
4887 with_fontconfig=${with_fontconfig:-no}
4889 x86_64*|amd64*)
4890 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4891 then
4892 CC="$CC -m32"
4893 CXX="$CXX -m32"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4895 $as_echo_n "checking whether $CC works... " >&6; }
4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4901 main ()
4905 return 0;
4907 _ACEOF
4908 if ac_fn_c_try_link "$LINENO"; then :
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4914 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4916 rm -f core conftest.err conftest.$ac_objext \
4917 conftest$ac_exeext conftest.$ac_ext
4918 host_cpu="i386"
4919 notice_platform="32-bit "
4920 TARGETFLAGS="-m32"
4922 enable_win16=${enable_win16:-yes}
4923 else
4924 if test "x${GCC}" = "xyes"
4925 then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4927 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930 #include <stdarg.h>
4932 main ()
4934 void func(__builtin_ms_va_list *args);
4936 return 0;
4938 _ACEOF
4939 if ac_fn_c_try_compile "$LINENO"; then :
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4941 $as_echo "yes" >&6; }
4942 else
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4945 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 host_cpu="x86_64"
4950 TARGETFLAGS="-m64"
4954 arm*)
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4956 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4958 /* end confdefs.h. */
4959 int ac_test(int i) { return i; }
4961 main ()
4963 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4965 return 0;
4967 _ACEOF
4968 if ac_fn_c_try_link "$LINENO"; then :
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4970 $as_echo "yes" >&6; }
4971 else
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4974 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4976 rm -f core conftest.err conftest.$ac_objext \
4977 conftest$ac_exeext conftest.$ac_ext
4978 CFLAGS="$CFLAGS -marm"
4979 TARGETFLAGS="-marm"
4982 *-mingw32*|*-cygwin*)
4983 enable_win16=${enable_win16:-no}
4984 CFLAGS="$CFLAGS -D_WIN32"
4986 i[3456789]86*)
4987 enable_win16=${enable_win16:-yes}
4989 esac
4991 enable_win16=${enable_win16:-no}
4992 enable_win64=${enable_win64:-no}
4994 enable_winetest=${enable_winetest:-$enable_tests}
4996 if test -n "$with_wine64"
4997 then
4998 if test "x$enable_win64" = "xyes"
4999 then
5000 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5001 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5003 enable_fonts=${enable_fonts:-no}
5004 enable_server=${enable_server:-no}
5005 elif test "x$enable_win64" = "xyes"
5006 then
5007 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5011 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5012 if ${wine_cv_toolsdir+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 wine_cv_toolsdir="$with_wine_tools"
5016 if test -z "$with_wine_tools"; then
5017 if test "$cross_compiling" = "yes"; then
5018 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5019 elif test -n "$with_wine64"; then
5020 wine_cv_toolsdir="$with_wine64"
5023 if test -z "$wine_cv_toolsdir"; then
5024 wine_makedep=tools/makedep
5025 wine_cv_toolsdir="\$(top_builddir)"
5026 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5027 wine_makedep=$wine_cv_toolsdir/tools/makedep
5028 case "$wine_cv_toolsdir" in
5029 /*) ;;
5030 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5031 esac
5032 enable_tools=${enable_tools:-no}
5033 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5034 else
5035 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5039 $as_echo "$wine_cv_toolsdir" >&6; }
5040 TOOLSDIR=$wine_cv_toolsdir
5042 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5043 then
5044 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5048 for ac_prog in flex
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy $ac_prog; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_FLEX+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$FLEX"; then
5058 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_FLEX="$ac_prog"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 FLEX=$ac_cv_prog_FLEX
5078 if test -n "$FLEX"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5080 $as_echo "$FLEX" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 test -n "$FLEX" && break
5088 done
5089 test -n "$FLEX" || FLEX="none"
5091 if test "$FLEX" = "none"
5092 then
5093 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5096 $as_echo_n "checking whether flex is recent enough... " >&6; }
5097 cat >conftest.l <<EOF
5098 %top{
5099 #include "prediluvian.h"
5103 if $FLEX -t conftest.l >/dev/null 2>&5
5104 then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5106 $as_echo "yes" >&6; }
5107 else
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5110 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5113 for ac_prog in bison
5115 # Extract the first word of "$ac_prog", so it can be a program name with args.
5116 set dummy $ac_prog; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_BISON+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$BISON"; then
5123 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_BISON="$ac_prog"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5136 done
5137 done
5138 IFS=$as_save_IFS
5142 BISON=$ac_cv_prog_BISON
5143 if test -n "$BISON"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5145 $as_echo "$BISON" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5152 test -n "$BISON" && break
5153 done
5154 test -n "$BISON" || BISON="none"
5156 if test "$BISON" = "none"
5157 then
5158 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5161 if test -n "$ac_tool_prefix"; then
5162 for ac_prog in ar gar
5164 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5165 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if ${ac_cv_prog_AR+:} false; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$AR"; then
5172 ac_cv_prog_AR="$AR" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 AR=$ac_cv_prog_AR
5192 if test -n "$AR"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5194 $as_echo "$AR" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5201 test -n "$AR" && break
5202 done
5204 if test -z "$AR"; then
5205 ac_ct_AR=$AR
5206 for ac_prog in ar gar
5208 # Extract the first word of "$ac_prog", so it can be a program name with args.
5209 set dummy $ac_prog; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$ac_ct_AR"; then
5216 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_ac_ct_AR="$ac_prog"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5236 if test -n "$ac_ct_AR"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5238 $as_echo "$ac_ct_AR" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5245 test -n "$ac_ct_AR" && break
5246 done
5248 if test "x$ac_ct_AR" = x; then
5249 AR="ar"
5250 else
5251 case $cross_compiling:$ac_tool_warned in
5252 yes:)
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5255 ac_tool_warned=yes ;;
5256 esac
5257 AR=$ac_ct_AR
5261 if test -n "$ac_tool_prefix"; then
5262 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5263 set dummy ${ac_tool_prefix}strip; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_STRIP+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$STRIP"; then
5270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 STRIP=$ac_cv_prog_STRIP
5290 if test -n "$STRIP"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5292 $as_echo "$STRIP" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5300 if test -z "$ac_cv_prog_STRIP"; then
5301 ac_ct_STRIP=$STRIP
5302 # Extract the first word of "strip", so it can be a program name with args.
5303 set dummy strip; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5305 $as_echo_n "checking for $ac_word... " >&6; }
5306 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -n "$ac_ct_STRIP"; then
5310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5311 else
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5319 ac_cv_prog_ac_ct_STRIP="strip"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 break 2
5323 done
5324 done
5325 IFS=$as_save_IFS
5329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5330 if test -n "$ac_ct_STRIP"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5332 $as_echo "$ac_ct_STRIP" >&6; }
5333 else
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 $as_echo "no" >&6; }
5338 if test "x$ac_ct_STRIP" = x; then
5339 STRIP="strip"
5340 else
5341 case $cross_compiling:$ac_tool_warned in
5342 yes:)
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5345 ac_tool_warned=yes ;;
5346 esac
5347 STRIP=$ac_ct_STRIP
5349 else
5350 STRIP="$ac_cv_prog_STRIP"
5353 ARFLAGS=rc
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5357 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if ${ac_cv_prog_RANLIB+:} false; then :
5361 $as_echo_n "(cached) " >&6
5362 else
5363 if test -n "$RANLIB"; then
5364 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5365 else
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 for as_dir in $PATH
5369 IFS=$as_save_IFS
5370 test -z "$as_dir" && as_dir=.
5371 for ac_exec_ext in '' $ac_executable_extensions; do
5372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 break 2
5377 done
5378 done
5379 IFS=$as_save_IFS
5383 RANLIB=$ac_cv_prog_RANLIB
5384 if test -n "$RANLIB"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5386 $as_echo "$RANLIB" >&6; }
5387 else
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5394 if test -z "$ac_cv_prog_RANLIB"; then
5395 ac_ct_RANLIB=$RANLIB
5396 # Extract the first word of "ranlib", so it can be a program name with args.
5397 set dummy ranlib; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 if test -n "$ac_ct_RANLIB"; then
5404 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5405 else
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5413 ac_cv_prog_ac_ct_RANLIB="ranlib"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 break 2
5417 done
5418 done
5419 IFS=$as_save_IFS
5423 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5424 if test -n "$ac_ct_RANLIB"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5426 $as_echo "$ac_ct_RANLIB" >&6; }
5427 else
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5432 if test "x$ac_ct_RANLIB" = x; then
5433 RANLIB=":"
5434 else
5435 case $cross_compiling:$ac_tool_warned in
5436 yes:)
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5439 ac_tool_warned=yes ;;
5440 esac
5441 RANLIB=$ac_ct_RANLIB
5443 else
5444 RANLIB="$ac_cv_prog_RANLIB"
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5448 $as_echo_n "checking whether ln -s works... " >&6; }
5449 LN_S=$as_ln_s
5450 if test "$LN_S" = "ln -s"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452 $as_echo "yes" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5455 $as_echo "no, using $LN_S" >&6; }
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5459 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5460 if ${ac_cv_path_GREP+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -z "$GREP"; then
5464 ac_path_GREP_found=false
5465 # Loop through the user's path and test for each of PROGNAME-LIST
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_prog in grep ggrep; do
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5474 as_fn_executable_p "$ac_path_GREP" || continue
5475 # Check for GNU ac_path_GREP and select it if it is found.
5476 # Check for GNU $ac_path_GREP
5477 case `"$ac_path_GREP" --version 2>&1` in
5478 *GNU*)
5479 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5481 ac_count=0
5482 $as_echo_n 0123456789 >"conftest.in"
5483 while :
5485 cat "conftest.in" "conftest.in" >"conftest.tmp"
5486 mv "conftest.tmp" "conftest.in"
5487 cp "conftest.in" "conftest.nl"
5488 $as_echo 'GREP' >> "conftest.nl"
5489 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5490 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5491 as_fn_arith $ac_count + 1 && ac_count=$as_val
5492 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5493 # Best one so far, save it but keep looking for a better one
5494 ac_cv_path_GREP="$ac_path_GREP"
5495 ac_path_GREP_max=$ac_count
5497 # 10*(2^10) chars as input seems more than enough
5498 test $ac_count -gt 10 && break
5499 done
5500 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5501 esac
5503 $ac_path_GREP_found && break 3
5504 done
5505 done
5506 done
5507 IFS=$as_save_IFS
5508 if test -z "$ac_cv_path_GREP"; then
5509 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 else
5512 ac_cv_path_GREP=$GREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5517 $as_echo "$ac_cv_path_GREP" >&6; }
5518 GREP="$ac_cv_path_GREP"
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5522 $as_echo_n "checking for egrep... " >&6; }
5523 if ${ac_cv_path_EGREP+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5527 then ac_cv_path_EGREP="$GREP -E"
5528 else
5529 if test -z "$EGREP"; then
5530 ac_path_EGREP_found=false
5531 # Loop through the user's path and test for each of PROGNAME-LIST
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_prog in egrep; do
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5540 as_fn_executable_p "$ac_path_EGREP" || continue
5541 # Check for GNU ac_path_EGREP and select it if it is found.
5542 # Check for GNU $ac_path_EGREP
5543 case `"$ac_path_EGREP" --version 2>&1` in
5544 *GNU*)
5545 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5547 ac_count=0
5548 $as_echo_n 0123456789 >"conftest.in"
5549 while :
5551 cat "conftest.in" "conftest.in" >"conftest.tmp"
5552 mv "conftest.tmp" "conftest.in"
5553 cp "conftest.in" "conftest.nl"
5554 $as_echo 'EGREP' >> "conftest.nl"
5555 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5556 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5557 as_fn_arith $ac_count + 1 && ac_count=$as_val
5558 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5559 # Best one so far, save it but keep looking for a better one
5560 ac_cv_path_EGREP="$ac_path_EGREP"
5561 ac_path_EGREP_max=$ac_count
5563 # 10*(2^10) chars as input seems more than enough
5564 test $ac_count -gt 10 && break
5565 done
5566 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5567 esac
5569 $ac_path_EGREP_found && break 3
5570 done
5571 done
5572 done
5573 IFS=$as_save_IFS
5574 if test -z "$ac_cv_path_EGREP"; then
5575 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5577 else
5578 ac_cv_path_EGREP=$EGREP
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5584 $as_echo "$ac_cv_path_EGREP" >&6; }
5585 EGREP="$ac_cv_path_EGREP"
5588 # Extract the first word of "ldconfig", so it can be a program name with args.
5589 set dummy ldconfig; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_path_LDCONFIG+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 case $LDCONFIG in
5596 [\\/]* | ?:[\\/]*)
5597 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in /sbin /usr/sbin $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5615 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5617 esac
5619 LDCONFIG=$ac_cv_path_LDCONFIG
5620 if test -n "$LDCONFIG"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5622 $as_echo "$LDCONFIG" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5629 for ac_prog in msgfmt
5631 # Extract the first word of "$ac_prog", so it can be a program name with args.
5632 set dummy $ac_prog; ac_word=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_MSGFMT+:} false; then :
5636 $as_echo_n "(cached) " >&6
5637 else
5638 if test -n "$MSGFMT"; then
5639 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5644 IFS=$as_save_IFS
5645 test -z "$as_dir" && as_dir=.
5646 for ac_exec_ext in '' $ac_executable_extensions; do
5647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_MSGFMT="$ac_prog"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 break 2
5652 done
5653 done
5654 IFS=$as_save_IFS
5658 MSGFMT=$ac_cv_prog_MSGFMT
5659 if test -n "$MSGFMT"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5661 $as_echo "$MSGFMT" >&6; }
5662 else
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5668 test -n "$MSGFMT" && break
5669 done
5670 test -n "$MSGFMT" || MSGFMT="false"
5672 if ${ac_tool_prefix+:} false; then :
5673 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5674 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 if test -n "$PKG_CONFIG"; then
5681 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5700 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5701 if test -n "$PKG_CONFIG"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5703 $as_echo "$PKG_CONFIG" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5711 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5712 if test "x$cross_compiling" = xyes; then :
5714 else
5715 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5716 # Extract the first word of "pkg-config", so it can be a program name with args.
5717 set dummy pkg-config; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -n "$PKG_CONFIG"; then
5724 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_PKG_CONFIG="pkg-config"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5744 if test -n "$PKG_CONFIG"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5746 $as_echo "$PKG_CONFIG" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5754 else
5755 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5758 if test "x$enable_maintainer_mode" != "xyes"
5759 then
5760 FONTFORGE=""
5761 RSVG=""
5762 CONVERT=""
5763 ICOTOOL=""
5764 else
5765 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5766 for ac_prog in fontforge
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_FONTFORGE+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$FONTFORGE"; then
5776 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_FONTFORGE="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 FONTFORGE=$ac_cv_prog_FONTFORGE
5796 if test -n "$FONTFORGE"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5798 $as_echo "$FONTFORGE" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$FONTFORGE" && break
5806 done
5807 test -n "$FONTFORGE" || FONTFORGE="false"
5809 for ac_prog in rsvg-convert rsvg
5811 # Extract the first word of "$ac_prog", so it can be a program name with args.
5812 set dummy $ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_RSVG+:} false; then :
5816 $as_echo_n "(cached) " >&6
5817 else
5818 if test -n "$RSVG"; then
5819 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_RSVG="$ac_prog"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 break 2
5832 done
5833 done
5834 IFS=$as_save_IFS
5838 RSVG=$ac_cv_prog_RSVG
5839 if test -n "$RSVG"; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5841 $as_echo "$RSVG" >&6; }
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5848 test -n "$RSVG" && break
5849 done
5850 test -n "$RSVG" || RSVG="false"
5852 for ac_prog in convert
5854 # Extract the first word of "$ac_prog", so it can be a program name with args.
5855 set dummy $ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_CONVERT+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$CONVERT"; then
5862 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_CONVERT="$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 CONVERT=$ac_cv_prog_CONVERT
5882 if test -n "$CONVERT"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5884 $as_echo "$CONVERT" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$CONVERT" && break
5892 done
5893 test -n "$CONVERT" || CONVERT="false"
5895 for ac_prog in icotool
5897 # Extract the first word of "$ac_prog", so it can be a program name with args.
5898 set dummy $ac_prog; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5900 $as_echo_n "checking for $ac_word... " >&6; }
5901 if ${ac_cv_prog_ICOTOOL+:} false; then :
5902 $as_echo_n "(cached) " >&6
5903 else
5904 if test -n "$ICOTOOL"; then
5905 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5906 else
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 for as_dir in $PATH
5910 IFS=$as_save_IFS
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5914 ac_cv_prog_ICOTOOL="$ac_prog"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 break 2
5918 done
5919 done
5920 IFS=$as_save_IFS
5924 ICOTOOL=$ac_cv_prog_ICOTOOL
5925 if test -n "$ICOTOOL"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5927 $as_echo "$ICOTOOL" >&6; }
5928 else
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5930 $as_echo "no" >&6; }
5934 test -n "$ICOTOOL" && break
5935 done
5936 test -n "$ICOTOOL" || ICOTOOL="false"
5938 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5939 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5941 if test "$CONVERT" = false
5942 then
5943 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5944 else
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5946 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5947 convert_version=`convert --version | head -n1`
5948 if test "x$convert_version" != "x"
5949 then
5950 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5951 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5952 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5953 then
5954 CONVERT=false
5957 if test "$CONVERT" = false
5958 then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5960 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5961 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5964 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5968 if test "$ICOTOOL" = false
5969 then
5970 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5971 else
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5973 $as_echo_n "checking for recent enough icotool... " >&6; }
5974 icotool_version=`icotool --version | head -n1`
5975 if test "x$icotool_version" != "x"
5976 then
5977 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5978 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5979 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5980 then
5981 ICOTOOL=false
5982 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5985 if test "$ICOTOOL" = false
5986 then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5988 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5989 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5990 else
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5992 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5996 with_gettext=yes
5997 with_gettextpo=yes
5998 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6001 test "x$with_gettext" != xno || MSGFMT=false
6002 if test "$MSGFMT" != "false"
6003 then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6005 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6006 cat >conftest.po <<EOF
6007 # comment
6008 msgctxt "ctxt"
6009 msgid "id"
6010 msgstr "str"
6012 if $MSGFMT -o /dev/null conftest.po 2>&5
6013 then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6015 $as_echo "yes" >&6; }
6016 else
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6019 MSGFMT=false
6022 if test "$MSGFMT" = false; then :
6023 case "x$with_gettext" in
6024 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6025 xno) ;;
6026 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6027 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6028 esac
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6033 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6034 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6035 $as_echo_n "(cached) " >&6
6036 else
6037 ac_check_lib_save_LIBS=$LIBS
6038 LIBS="-li386 $LIBS"
6039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6042 /* Override any GCC internal prototype to avoid an error.
6043 Use char because int might match the return type of a GCC
6044 builtin and then its argument prototype would still apply. */
6045 #ifdef __cplusplus
6046 extern "C"
6047 #endif
6048 char i386_set_ldt ();
6050 main ()
6052 return i386_set_ldt ();
6054 return 0;
6056 _ACEOF
6057 if ac_fn_c_try_link "$LINENO"; then :
6058 ac_cv_lib_i386_i386_set_ldt=yes
6059 else
6060 ac_cv_lib_i386_i386_set_ldt=no
6062 rm -f core conftest.err conftest.$ac_objext \
6063 conftest$ac_exeext conftest.$ac_ext
6064 LIBS=$ac_check_lib_save_LIBS
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6067 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6068 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6069 cat >>confdefs.h <<_ACEOF
6070 #define HAVE_LIBI386 1
6071 _ACEOF
6073 LIBS="-li386 $LIBS"
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6078 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6079 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6080 $as_echo_n "(cached) " >&6
6081 else
6082 ac_check_lib_save_LIBS=$LIBS
6083 LIBS="-lossaudio $LIBS"
6084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6087 /* Override any GCC internal prototype to avoid an error.
6088 Use char because int might match the return type of a GCC
6089 builtin and then its argument prototype would still apply. */
6090 #ifdef __cplusplus
6091 extern "C"
6092 #endif
6093 char _oss_ioctl ();
6095 main ()
6097 return _oss_ioctl ();
6099 return 0;
6101 _ACEOF
6102 if ac_fn_c_try_link "$LINENO"; then :
6103 ac_cv_lib_ossaudio__oss_ioctl=yes
6104 else
6105 ac_cv_lib_ossaudio__oss_ioctl=no
6107 rm -f core conftest.err conftest.$ac_objext \
6108 conftest$ac_exeext conftest.$ac_ext
6109 LIBS=$ac_check_lib_save_LIBS
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6112 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6113 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6114 cat >>confdefs.h <<_ACEOF
6115 #define HAVE_LIBOSSAUDIO 1
6116 _ACEOF
6118 LIBS="-lossaudio $LIBS"
6123 OPENGL_LIBS=""
6127 # Check whether --enable-largefile was given.
6128 if test "${enable_largefile+set}" = set; then :
6129 enableval=$enable_largefile;
6132 if test "$enable_largefile" != no; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6135 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6136 if ${ac_cv_sys_largefile_CC+:} false; then :
6137 $as_echo_n "(cached) " >&6
6138 else
6139 ac_cv_sys_largefile_CC=no
6140 if test "$GCC" != yes; then
6141 ac_save_CC=$CC
6142 while :; do
6143 # IRIX 6.2 and later do not support large files by default,
6144 # so use the C compiler's -n32 option if that helps.
6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6147 #include <sys/types.h>
6148 /* Check that off_t can represent 2**63 - 1 correctly.
6149 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6150 since some C++ compilers masquerading as C compilers
6151 incorrectly reject 9223372036854775807. */
6152 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6153 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6154 && LARGE_OFF_T % 2147483647 == 1)
6155 ? 1 : -1];
6157 main ()
6161 return 0;
6163 _ACEOF
6164 if ac_fn_c_try_compile "$LINENO"; then :
6165 break
6167 rm -f core conftest.err conftest.$ac_objext
6168 CC="$CC -n32"
6169 if ac_fn_c_try_compile "$LINENO"; then :
6170 ac_cv_sys_largefile_CC=' -n32'; break
6172 rm -f core conftest.err conftest.$ac_objext
6173 break
6174 done
6175 CC=$ac_save_CC
6176 rm -f conftest.$ac_ext
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6180 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6181 if test "$ac_cv_sys_largefile_CC" != no; then
6182 CC=$CC$ac_cv_sys_largefile_CC
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6186 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6187 if ${ac_cv_sys_file_offset_bits+:} false; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 while :; do
6191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h. */
6193 #include <sys/types.h>
6194 /* Check that off_t can represent 2**63 - 1 correctly.
6195 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6196 since some C++ compilers masquerading as C compilers
6197 incorrectly reject 9223372036854775807. */
6198 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6200 && LARGE_OFF_T % 2147483647 == 1)
6201 ? 1 : -1];
6203 main ()
6207 return 0;
6209 _ACEOF
6210 if ac_fn_c_try_compile "$LINENO"; then :
6211 ac_cv_sys_file_offset_bits=no; break
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6215 /* end confdefs.h. */
6216 #define _FILE_OFFSET_BITS 64
6217 #include <sys/types.h>
6218 /* Check that off_t can represent 2**63 - 1 correctly.
6219 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6220 since some C++ compilers masquerading as C compilers
6221 incorrectly reject 9223372036854775807. */
6222 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6223 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6224 && LARGE_OFF_T % 2147483647 == 1)
6225 ? 1 : -1];
6227 main ()
6231 return 0;
6233 _ACEOF
6234 if ac_fn_c_try_compile "$LINENO"; then :
6235 ac_cv_sys_file_offset_bits=64; break
6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238 ac_cv_sys_file_offset_bits=unknown
6239 break
6240 done
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6243 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6244 case $ac_cv_sys_file_offset_bits in #(
6245 no | unknown) ;;
6247 cat >>confdefs.h <<_ACEOF
6248 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6249 _ACEOF
6251 esac
6252 rm -rf conftest*
6253 if test $ac_cv_sys_file_offset_bits = unknown; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6255 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6256 if ${ac_cv_sys_large_files+:} false; then :
6257 $as_echo_n "(cached) " >&6
6258 else
6259 while :; do
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <sys/types.h>
6263 /* Check that off_t can represent 2**63 - 1 correctly.
6264 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6265 since some C++ compilers masquerading as C compilers
6266 incorrectly reject 9223372036854775807. */
6267 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6268 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6269 && LARGE_OFF_T % 2147483647 == 1)
6270 ? 1 : -1];
6272 main ()
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_compile "$LINENO"; then :
6280 ac_cv_sys_large_files=no; break
6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6285 #define _LARGE_FILES 1
6286 #include <sys/types.h>
6287 /* Check that off_t can represent 2**63 - 1 correctly.
6288 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6289 since some C++ compilers masquerading as C compilers
6290 incorrectly reject 9223372036854775807. */
6291 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6292 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6293 && LARGE_OFF_T % 2147483647 == 1)
6294 ? 1 : -1];
6296 main ()
6300 return 0;
6302 _ACEOF
6303 if ac_fn_c_try_compile "$LINENO"; then :
6304 ac_cv_sys_large_files=1; break
6306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307 ac_cv_sys_large_files=unknown
6308 break
6309 done
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6312 $as_echo "$ac_cv_sys_large_files" >&6; }
6313 case $ac_cv_sys_large_files in #(
6314 no | unknown) ;;
6316 cat >>confdefs.h <<_ACEOF
6317 #define _LARGE_FILES $ac_cv_sys_large_files
6318 _ACEOF
6320 esac
6321 rm -rf conftest*
6328 ac_ext=c
6329 ac_cpp='$CPP $CPPFLAGS'
6330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6334 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6335 # On Suns, sometimes $CPP names a directory.
6336 if test -n "$CPP" && test -d "$CPP"; then
6337 CPP=
6339 if test -z "$CPP"; then
6340 if ${ac_cv_prog_CPP+:} false; then :
6341 $as_echo_n "(cached) " >&6
6342 else
6343 # Double quotes because CPP needs to be expanded
6344 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6346 ac_preproc_ok=false
6347 for ac_c_preproc_warn_flag in '' yes
6349 # Use a header file that comes with gcc, so configuring glibc
6350 # with a fresh cross-compiler works.
6351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6352 # <limits.h> exists even on freestanding compilers.
6353 # On the NeXT, cc -E runs the code through the compiler's parser,
6354 # not just through cpp. "Syntax error" is here to catch this case.
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #ifdef __STDC__
6358 # include <limits.h>
6359 #else
6360 # include <assert.h>
6361 #endif
6362 Syntax error
6363 _ACEOF
6364 if ac_fn_c_try_cpp "$LINENO"; then :
6366 else
6367 # Broken: fails on valid input.
6368 continue
6370 rm -f conftest.err conftest.i conftest.$ac_ext
6372 # OK, works on sane cases. Now check whether nonexistent headers
6373 # can be detected and how.
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6375 /* end confdefs.h. */
6376 #include <ac_nonexistent.h>
6377 _ACEOF
6378 if ac_fn_c_try_cpp "$LINENO"; then :
6379 # Broken: success on invalid input.
6380 continue
6381 else
6382 # Passes both tests.
6383 ac_preproc_ok=:
6384 break
6386 rm -f conftest.err conftest.i conftest.$ac_ext
6388 done
6389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6390 rm -f conftest.i conftest.err conftest.$ac_ext
6391 if $ac_preproc_ok; then :
6392 break
6395 done
6396 ac_cv_prog_CPP=$CPP
6399 CPP=$ac_cv_prog_CPP
6400 else
6401 ac_cv_prog_CPP=$CPP
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6404 $as_echo "$CPP" >&6; }
6405 ac_preproc_ok=false
6406 for ac_c_preproc_warn_flag in '' yes
6408 # Use a header file that comes with gcc, so configuring glibc
6409 # with a fresh cross-compiler works.
6410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6411 # <limits.h> exists even on freestanding compilers.
6412 # On the NeXT, cc -E runs the code through the compiler's parser,
6413 # not just through cpp. "Syntax error" is here to catch this case.
6414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6415 /* end confdefs.h. */
6416 #ifdef __STDC__
6417 # include <limits.h>
6418 #else
6419 # include <assert.h>
6420 #endif
6421 Syntax error
6422 _ACEOF
6423 if ac_fn_c_try_cpp "$LINENO"; then :
6425 else
6426 # Broken: fails on valid input.
6427 continue
6429 rm -f conftest.err conftest.i conftest.$ac_ext
6431 # OK, works on sane cases. Now check whether nonexistent headers
6432 # can be detected and how.
6433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 /* end confdefs.h. */
6435 #include <ac_nonexistent.h>
6436 _ACEOF
6437 if ac_fn_c_try_cpp "$LINENO"; then :
6438 # Broken: success on invalid input.
6439 continue
6440 else
6441 # Passes both tests.
6442 ac_preproc_ok=:
6443 break
6445 rm -f conftest.err conftest.i conftest.$ac_ext
6447 done
6448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6449 rm -f conftest.i conftest.err conftest.$ac_ext
6450 if $ac_preproc_ok; then :
6452 else
6453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6455 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6456 See \`config.log' for more details" "$LINENO" 5; }
6459 ac_ext=c
6460 ac_cpp='$CPP $CPPFLAGS'
6461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6467 $as_echo_n "checking for ANSI C header files... " >&6; }
6468 if ${ac_cv_header_stdc+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <stdlib.h>
6474 #include <stdarg.h>
6475 #include <string.h>
6476 #include <float.h>
6479 main ()
6483 return 0;
6485 _ACEOF
6486 if ac_fn_c_try_compile "$LINENO"; then :
6487 ac_cv_header_stdc=yes
6488 else
6489 ac_cv_header_stdc=no
6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6493 if test $ac_cv_header_stdc = yes; then
6494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6496 /* end confdefs.h. */
6497 #include <string.h>
6499 _ACEOF
6500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6501 $EGREP "memchr" >/dev/null 2>&1; then :
6503 else
6504 ac_cv_header_stdc=no
6506 rm -f conftest*
6510 if test $ac_cv_header_stdc = yes; then
6511 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <stdlib.h>
6516 _ACEOF
6517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6518 $EGREP "free" >/dev/null 2>&1; then :
6520 else
6521 ac_cv_header_stdc=no
6523 rm -f conftest*
6527 if test $ac_cv_header_stdc = yes; then
6528 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6529 if test "$cross_compiling" = yes; then :
6531 else
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <ctype.h>
6535 #include <stdlib.h>
6536 #if ((' ' & 0x0FF) == 0x020)
6537 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6538 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6539 #else
6540 # define ISLOWER(c) \
6541 (('a' <= (c) && (c) <= 'i') \
6542 || ('j' <= (c) && (c) <= 'r') \
6543 || ('s' <= (c) && (c) <= 'z'))
6544 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6545 #endif
6547 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6549 main ()
6551 int i;
6552 for (i = 0; i < 256; i++)
6553 if (XOR (islower (i), ISLOWER (i))
6554 || toupper (i) != TOUPPER (i))
6555 return 2;
6556 return 0;
6558 _ACEOF
6559 if ac_fn_c_try_run "$LINENO"; then :
6561 else
6562 ac_cv_header_stdc=no
6564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6565 conftest.$ac_objext conftest.beam conftest.$ac_ext
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6571 $as_echo "$ac_cv_header_stdc" >&6; }
6572 if test $ac_cv_header_stdc = yes; then
6574 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6578 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6579 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6580 inttypes.h stdint.h unistd.h
6581 do :
6582 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6583 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6585 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6586 cat >>confdefs.h <<_ACEOF
6587 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6588 _ACEOF
6592 done
6595 for ac_header in \
6596 AL/al.h \
6597 ApplicationServices/ApplicationServices.h \
6598 AudioToolbox/AudioConverter.h \
6599 AudioUnit/AudioUnit.h \
6600 AudioUnit/AudioComponent.h \
6601 CL/cl.h \
6602 Carbon/Carbon.h \
6603 CoreAudio/CoreAudio.h \
6604 CoreServices/CoreServices.h \
6605 DiskArbitration/DiskArbitration.h \
6606 IOKit/IOKitLib.h \
6607 IOKit/hid/IOHIDLib.h \
6608 OpenAL/al.h \
6609 OpenCL/opencl.h \
6610 QuickTime/ImageCompression.h \
6611 Security/Security.h \
6612 alias.h \
6613 alsa/asoundlib.h \
6614 arpa/inet.h \
6615 arpa/nameser.h \
6616 asm/types.h \
6617 asm/user.h \
6618 curses.h \
6619 direct.h \
6620 dirent.h \
6621 dlfcn.h \
6622 elf.h \
6623 float.h \
6624 fnmatch.h \
6625 getopt.h \
6626 gettext-po.h \
6627 grp.h \
6628 gsm.h \
6629 gsm/gsm.h \
6630 ieeefp.h \
6631 inet/mib2.h \
6632 io.h \
6633 kstat.h \
6634 lber.h \
6635 ldap.h \
6636 libproc.h \
6637 link.h \
6638 linux/cdrom.h \
6639 linux/compiler.h \
6640 linux/filter.h \
6641 linux/hdreg.h \
6642 linux/input.h \
6643 linux/ioctl.h \
6644 linux/joystick.h \
6645 linux/major.h \
6646 linux/param.h \
6647 linux/serial.h \
6648 linux/types.h \
6649 linux/ucdrom.h \
6650 lwp.h \
6651 mach-o/nlist.h \
6652 mach-o/loader.h \
6653 mach/mach.h \
6654 mach/machine.h \
6655 machine/cpu.h \
6656 machine/limits.h \
6657 machine/sysarch.h \
6658 mntent.h \
6659 ncurses.h \
6660 netdb.h \
6661 netinet/in.h \
6662 netinet/in_systm.h \
6663 netinet/tcp.h \
6664 netinet/tcp_fsm.h \
6665 pcap/pcap.h \
6666 poll.h \
6667 port.h \
6668 process.h \
6669 pthread.h \
6670 pwd.h \
6671 sched.h \
6672 scsi/scsi.h \
6673 scsi/scsi_ioctl.h \
6674 scsi/sg.h \
6675 stdbool.h \
6676 stdint.h \
6677 stropts.h \
6678 sys/asoundlib.h \
6679 sys/attr.h \
6680 sys/cdio.h \
6681 sys/elf32.h \
6682 sys/epoll.h \
6683 sys/event.h \
6684 sys/exec_elf.h \
6685 sys/filio.h \
6686 sys/inotify.h \
6687 sys/ioctl.h \
6688 sys/ipc.h \
6689 sys/limits.h \
6690 sys/link.h \
6691 sys/mman.h \
6692 sys/modem.h \
6693 sys/msg.h \
6694 sys/mtio.h \
6695 sys/param.h \
6696 sys/poll.h \
6697 sys/prctl.h \
6698 sys/protosw.h \
6699 sys/ptrace.h \
6700 sys/queue.h \
6701 sys/resource.h \
6702 sys/scsiio.h \
6703 sys/shm.h \
6704 sys/signal.h \
6705 sys/socket.h \
6706 sys/socketvar.h \
6707 sys/sockio.h \
6708 sys/statvfs.h \
6709 sys/strtio.h \
6710 sys/syscall.h \
6711 sys/tihdr.h \
6712 sys/time.h \
6713 sys/timeout.h \
6714 sys/times.h \
6715 sys/uio.h \
6716 sys/user.h \
6717 sys/utsname.h \
6718 sys/vm86.h \
6719 sys/vnode.h \
6720 sys/wait.h \
6721 syscall.h \
6722 termios.h \
6723 unistd.h \
6724 utime.h \
6725 valgrind/memcheck.h \
6726 valgrind/valgrind.h \
6727 zlib.h
6729 do :
6730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6731 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6733 cat >>confdefs.h <<_ACEOF
6734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6735 _ACEOF
6739 done
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6742 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6743 if ${ac_cv_header_stat_broken+:} false; then :
6744 $as_echo_n "(cached) " >&6
6745 else
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6748 #include <sys/types.h>
6749 #include <sys/stat.h>
6751 #if defined S_ISBLK && defined S_IFDIR
6752 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6753 #endif
6755 #if defined S_ISBLK && defined S_IFCHR
6756 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6757 #endif
6759 #if defined S_ISLNK && defined S_IFREG
6760 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6761 #endif
6763 #if defined S_ISSOCK && defined S_IFREG
6764 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6765 #endif
6767 _ACEOF
6768 if ac_fn_c_try_compile "$LINENO"; then :
6769 ac_cv_header_stat_broken=no
6770 else
6771 ac_cv_header_stat_broken=yes
6773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6776 $as_echo "$ac_cv_header_stat_broken" >&6; }
6777 if test $ac_cv_header_stat_broken = yes; then
6779 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6785 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6786 do :
6787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6789 #ifdef HAVE_SYS_PARAM_H
6790 # include <sys/param.h>
6791 #endif
6793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796 _ACEOF
6800 done
6803 for ac_header in \
6804 netinet/ip.h \
6805 net/if.h \
6806 net/if_arp.h \
6807 net/if_dl.h \
6808 net/if_types.h \
6809 net/route.h \
6810 netinet/if_ether.h \
6811 netinet/if_inarp.h \
6812 netinet/in_pcb.h \
6813 netinet/ip_icmp.h \
6814 netinet/ip_var.h \
6815 netinet/udp.h \
6816 netipx/ipx.h \
6817 sys/un.h \
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6822 #ifdef HAVE_SYS_SOCKET_H
6823 # include <sys/socket.h>
6824 #endif
6825 #ifdef HAVE_SYS_SOCKETVAR_H
6826 # include <sys/socketvar.h>
6827 #endif
6828 #ifdef HAVE_NET_ROUTE_H
6829 # include <net/route.h>
6830 #endif
6831 #ifdef HAVE_NETINET_IN_H
6832 # include <netinet/in.h>
6833 #endif
6834 #ifdef HAVE_NETINET_IN_SYSTM_H
6835 # include <netinet/in_systm.h>
6836 #endif
6837 #ifdef HAVE_NET_IF_H
6838 # include <net/if.h>
6839 #endif
6840 #ifdef HAVE_NETINET_IP_H
6841 # include <netinet/ip.h>
6842 #endif
6844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6845 cat >>confdefs.h <<_ACEOF
6846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 _ACEOF
6851 done
6854 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6855 do :
6856 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6857 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6858 #ifdef HAVE_ALIAS_H
6859 # include <alias.h>
6860 #endif
6861 #ifdef HAVE_SYS_SOCKET_H
6862 # include <sys/socket.h>
6863 #endif
6864 #ifdef HAVE_SYS_SOCKETVAR_H
6865 # include <sys/socketvar.h>
6866 #endif
6867 #ifdef HAVE_SYS_TIMEOUT_H
6868 # include <sys/timeout.h>
6869 #endif
6870 #ifdef HAVE_NETINET_IN_H
6871 # include <netinet/in.h>
6872 #endif
6873 #ifdef HAVE_NETINET_IN_SYSTM_H
6874 # include <netinet/in_systm.h>
6875 #endif
6876 #ifdef HAVE_NETINET_IP_H
6877 # include <netinet/ip.h>
6878 #endif
6879 #ifdef HAVE_NETINET_IP_VAR_H
6880 # include <netinet/ip_var.h>
6881 #endif
6882 #ifdef HAVE_NETINET_IP_ICMP_H
6883 # include <netinet/ip_icmp.h>
6884 #endif
6885 #ifdef HAVE_NETINET_UDP_H
6886 # include <netinet/udp.h>
6887 #endif
6888 #ifdef HAVE_NETINET_TCP_H
6889 # include <netinet/tcp.h>
6890 #endif
6891 #ifdef HAVE_NETINET_TCP_TIMER_H
6892 #include <netinet/tcp_timer.h>
6893 #endif
6895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6896 cat >>confdefs.h <<_ACEOF
6897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898 _ACEOF
6902 done
6905 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6906 do :
6907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6908 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6909 #ifdef HAVE_ASM_TYPES_H
6910 # include <asm/types.h>
6911 #endif
6912 #ifdef HAVE_SYS_SOCKET_H
6913 # include <sys/socket.h>
6914 #endif
6915 #ifdef HAVE_LINUX_TYPES_H
6916 # include <linux/types.h>
6917 #endif
6919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6920 cat >>confdefs.h <<_ACEOF
6921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6922 _ACEOF
6926 done
6929 for ac_header in mach-o/dyld_images.h
6930 do :
6931 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6932 # include <stdbool.h>
6933 #endif
6934 #ifdef HAVE_STDINT_H
6935 # include <stdint.h>
6936 #endif
6938 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6939 cat >>confdefs.h <<_ACEOF
6940 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6941 _ACEOF
6945 done
6948 for ac_header in resolv.h
6949 do :
6950 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6951 #ifdef HAVE_SYS_SOCKET_H
6952 # include <sys/socket.h>
6953 #endif
6954 #ifdef HAVE_NETINET_IN_H
6955 # include <netinet/in.h>
6956 #endif
6957 #ifdef HAVE_ARPA_NAMESER_H
6958 # include <arpa/nameser.h>
6959 #endif
6961 if test "x$ac_cv_header_resolv_h" = xyes; then :
6962 cat >>confdefs.h <<_ACEOF
6963 #define HAVE_RESOLV_H 1
6964 _ACEOF
6968 done
6971 for ac_header in ifaddrs.h
6972 do :
6973 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6975 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define HAVE_IFADDRS_H 1
6978 _ACEOF
6982 done
6985 for ac_header in sys/ucontext.h
6986 do :
6987 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6989 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6990 cat >>confdefs.h <<_ACEOF
6991 #define HAVE_SYS_UCONTEXT_H 1
6992 _ACEOF
6996 done
6999 for ac_header in sys/thr.h
7000 do :
7001 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7002 #ifdef HAVE_SYS_UCONTEXT_H
7003 #include <sys/ucontext.h>
7004 #endif
7006 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_SYS_THR_H 1
7009 _ACEOF
7013 done
7016 for ac_header in pthread_np.h
7017 do :
7018 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7019 #include <pthread.h>
7020 #endif
7022 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define HAVE_PTHREAD_NP_H 1
7025 _ACEOF
7029 done
7032 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7033 do :
7034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7035 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7036 #include <sys/time.h>
7037 #endif
7038 #include <sys/types.h>
7039 #ifdef HAVE_ASM_TYPES_H
7040 #include <asm/types.h>
7041 #endif
7043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7044 cat >>confdefs.h <<_ACEOF
7045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7046 _ACEOF
7050 done
7053 for ac_header in libprocstat.h
7054 do :
7055 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7056 #include <sys/param.h>
7057 #endif
7058 #ifdef HAVE_SYS_QUEUE_H
7059 #include <sys/queue.h>
7060 #endif
7061 #ifdef HAVE_SYS_SOCKET_H
7062 #include <sys/socket.h>
7063 #endif
7065 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7066 cat >>confdefs.h <<_ACEOF
7067 #define HAVE_LIBPROCSTAT_H 1
7068 _ACEOF
7072 done
7076 dlldir="\${libdir}/wine"
7078 DLLPREFIX=""
7080 DLLFLAGS="-D_REENTRANT"
7082 LDRPATH_INSTALL=""
7084 LDRPATH_LOCAL=""
7086 LIBEXT="so"
7087 DLLEXT=".so"
7088 IMPLIBEXT="def"
7089 STATIC_IMPLIBEXT="def.a"
7090 # Extract the first word of "ldd", so it can be a program name with args.
7091 set dummy ldd; ac_word=$2
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 $as_echo_n "checking for $ac_word... " >&6; }
7094 if ${ac_cv_path_LDD+:} false; then :
7095 $as_echo_n "(cached) " >&6
7096 else
7097 case $LDD in
7098 [\\/]* | ?:[\\/]*)
7099 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 as_dummy="/sbin:/usr/sbin:$PATH"
7104 for as_dir in $as_dummy
7106 IFS=$as_save_IFS
7107 test -z "$as_dir" && as_dir=.
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7110 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7118 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7120 esac
7122 LDD=$ac_cv_path_LDD
7123 if test -n "$LDD"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7125 $as_echo "$LDD" >&6; }
7126 else
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 $as_echo "no" >&6; }
7132 if test -n "$ac_tool_prefix"; then
7133 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7134 set dummy ${ac_tool_prefix}otool; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_prog_OTOOL+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 if test -n "$OTOOL"; then
7141 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7146 IFS=$as_save_IFS
7147 test -z "$as_dir" && as_dir=.
7148 for ac_exec_ext in '' $ac_executable_extensions; do
7149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7150 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 break 2
7154 done
7155 done
7156 IFS=$as_save_IFS
7160 OTOOL=$ac_cv_prog_OTOOL
7161 if test -n "$OTOOL"; then
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7163 $as_echo "$OTOOL" >&6; }
7164 else
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7171 if test -z "$ac_cv_prog_OTOOL"; then
7172 ac_ct_OTOOL=$OTOOL
7173 # Extract the first word of "otool", so it can be a program name with args.
7174 set dummy otool; ac_word=$2
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7176 $as_echo_n "checking for $ac_word... " >&6; }
7177 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7178 $as_echo_n "(cached) " >&6
7179 else
7180 if test -n "$ac_ct_OTOOL"; then
7181 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7182 else
7183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 for as_dir in $PATH
7186 IFS=$as_save_IFS
7187 test -z "$as_dir" && as_dir=.
7188 for ac_exec_ext in '' $ac_executable_extensions; do
7189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7190 ac_cv_prog_ac_ct_OTOOL="otool"
7191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 break 2
7194 done
7195 done
7196 IFS=$as_save_IFS
7200 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7201 if test -n "$ac_ct_OTOOL"; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7203 $as_echo "$ac_ct_OTOOL" >&6; }
7204 else
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7206 $as_echo "no" >&6; }
7209 if test "x$ac_ct_OTOOL" = x; then
7210 OTOOL="otool"
7211 else
7212 case $cross_compiling:$ac_tool_warned in
7213 yes:)
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7216 ac_tool_warned=yes ;;
7217 esac
7218 OTOOL=$ac_ct_OTOOL
7220 else
7221 OTOOL="$ac_cv_prog_OTOOL"
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_READELF+:} false; then :
7230 $as_echo_n "(cached) " >&6
7231 else
7232 if test -n "$READELF"; then
7233 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 READELF=$ac_cv_prog_READELF
7253 if test -n "$READELF"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7255 $as_echo "$READELF" >&6; }
7256 else
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_READELF"; then
7264 ac_ct_READELF=$READELF
7265 # Extract the first word of "readelf", so it can be a program name with args.
7266 set dummy readelf; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$ac_ct_READELF"; then
7273 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_ac_ct_READELF="readelf"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7293 if test -n "$ac_ct_READELF"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7295 $as_echo "$ac_ct_READELF" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_READELF" = x; then
7302 READELF="true"
7303 else
7304 case $cross_compiling:$ac_tool_warned in
7305 yes:)
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7309 esac
7310 READELF=$ac_ct_READELF
7312 else
7313 READELF="$ac_cv_prog_READELF"
7316 wine_rules_file=conf$$rules.make
7317 rm -f $wine_rules_file
7318 ALL_POT_FILES=""
7319 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7320 ALL_TEST_RESOURCES=""
7323 wine_fn_append_file ()
7325 as_fn_append $1 " \\$as_nl $2"
7328 wine_fn_ignore_file ()
7330 case "$1" in
7331 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7332 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7333 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7334 esac
7337 wine_fn_append_rule ()
7339 $as_echo "$1" >>$wine_rules_file
7342 wine_fn_has_flag ()
7344 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7347 wine_fn_depend_rules ()
7349 wine_fn_append_rule \
7350 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7351 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7352 depend: $ac_dir/depend
7353 .PHONY: $ac_dir/depend
7354 $ac_dir/depend: \$(MAKEDEP) dummy
7355 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7358 wine_fn_pot_rules ()
7360 test "x$with_gettextpo" = xyes || return
7362 if wine_fn_has_flag mc
7363 then
7364 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7365 wine_fn_append_rule \
7366 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7367 @cd $ac_dir && \$(MAKE) msg.pot
7368 $ac_dir/msg.pot: tools/wmc include"
7370 if wine_fn_has_flag po
7371 then
7372 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7373 wine_fn_append_rule \
7374 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7375 @cd $ac_dir && \$(MAKE) rsrc.pot
7376 $ac_dir/rsrc.pot: tools/wrc include"
7380 wine_fn_all_rules ()
7382 wine_fn_depend_rules
7383 wine_fn_append_rule \
7384 "all: $ac_dir
7385 .PHONY: $ac_dir
7386 $ac_dir: $ac_dir/Makefile dummy
7387 @cd $ac_dir && \$(MAKE)"
7390 wine_fn_install_rules ()
7392 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7394 wine_fn_append_rule \
7395 ".PHONY: $ac_dir/install $ac_dir/uninstall
7396 $ac_dir/install:: $ac_dir
7397 @cd $ac_dir && \$(MAKE) install
7398 $ac_dir/uninstall:: $ac_dir/Makefile
7399 @cd $ac_dir && \$(MAKE) uninstall
7400 install:: $ac_dir/install
7401 __uninstall__: $ac_dir/uninstall"
7403 if wine_fn_has_flag install-lib
7404 then
7405 wine_fn_append_rule \
7406 ".PHONY: $ac_dir/install-lib
7407 $ac_dir/install-lib:: $ac_dir
7408 @cd $ac_dir && \$(MAKE) install-lib
7409 install-lib:: $ac_dir/install-lib"
7412 if wine_fn_has_flag install-dev
7413 then
7414 wine_fn_append_rule \
7415 ".PHONY: $ac_dir/install-dev
7416 $ac_dir/install-dev:: $ac_dir
7417 @cd $ac_dir && \$(MAKE) install-dev
7418 install-dev:: $ac_dir/install-dev"
7422 wine_fn_clean_rules ()
7424 ac_clean=$@
7425 ac_extraclean="$ac_dir/Makefile"
7426 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7427 case $ac_dir in
7428 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7429 esac
7431 if wine_fn_has_flag clean
7432 then
7433 wine_fn_append_rule \
7434 "__clean__: $ac_dir/clean
7435 .PHONY: $ac_dir/clean
7436 $ac_dir/clean: $ac_dir/Makefile
7437 @cd $ac_dir && \$(MAKE) clean
7438 \$(RM) $ac_extraclean"
7439 else
7440 wine_fn_append_rule \
7441 "__clean__: $ac_dir/clean
7442 .PHONY: $ac_dir/clean
7443 $ac_dir/clean: dummy
7444 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7448 wine_fn_disabled_rules ()
7450 ac_clean=$@
7451 ac_extraclean="$ac_dir/Makefile"
7452 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7454 wine_fn_append_rule \
7455 "__clean__: $ac_dir/clean
7456 .PHONY: $ac_dir/clean
7457 $ac_dir/clean: dummy
7458 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7461 wine_fn_config_makefile ()
7463 ac_dir=$1
7464 ac_enable=$2
7465 ac_flags=$3
7467 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7468 wine_fn_disabled_rules; return
7470 wine_fn_all_rules
7471 wine_fn_install_rules
7472 wine_fn_clean_rules
7475 wine_fn_config_lib ()
7477 ac_name=$1
7478 ac_flags=$2
7479 ac_dir=dlls/$ac_name
7480 ac_deps="include"
7482 if test "x$enable_tools" = xno; then :
7484 else
7485 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7487 wine_fn_all_rules
7488 wine_fn_clean_rules
7490 wine_fn_append_rule \
7491 ".PHONY: $ac_dir/install $ac_dir/uninstall
7492 $ac_dir/install:: $ac_dir
7493 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7494 $ac_dir/uninstall::
7495 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7496 install install-dev:: $ac_dir/install
7497 __uninstall__: $ac_dir/uninstall
7498 __builddeps__: $ac_dir
7499 $ac_dir: $ac_deps"
7502 wine_fn_config_dll ()
7504 ac_name=$1
7505 ac_dir=dlls/$ac_name
7506 ac_enable=$2
7507 ac_flags=$3
7508 ac_implib=${4:-$ac_name}
7509 ac_file=$ac_dir/lib$ac_implib
7510 ac_dll=$ac_name
7511 ac_deps="include"
7512 ac_implibflags=""
7514 if test "x$enable_tools" = xno; then :
7516 else
7517 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7519 case $ac_name in
7520 *16) ac_implibflags=" -m16" ;;
7521 *.*) ;;
7522 *) ac_dll=$ac_dll.dll ;;
7523 esac
7525 ac_clean=
7526 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7527 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7528 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7529 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7531 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7532 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7533 then
7534 wine_fn_depend_rules
7535 wine_fn_clean_rules $ac_clean
7536 else
7537 wine_fn_disabled_rules $ac_clean
7538 return
7540 else
7541 wine_fn_all_rules
7542 wine_fn_clean_rules $ac_clean
7543 wine_fn_append_rule \
7544 "$ac_dir: __builddeps__
7545 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7546 @cd $ac_dir && \$(MAKE) \$@
7547 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7548 install install-lib:: $ac_dir/install-lib
7549 __uninstall__: $ac_dir/uninstall"
7550 if test -n "$DLLEXT"
7551 then
7552 wine_fn_append_rule \
7553 "$ac_dir/install-lib:: $ac_dir
7554 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7555 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7556 $ac_dir/uninstall::
7557 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7558 else
7559 wine_fn_append_rule \
7560 "$ac_dir/install-lib:: $ac_dir
7561 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7562 $ac_dir/uninstall::
7563 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7566 wine_fn_pot_rules
7569 if wine_fn_has_flag staticimplib
7570 then
7571 wine_fn_append_rule \
7572 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7573 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7574 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7575 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7576 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7577 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7578 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7579 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7580 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7581 $ac_dir/uninstall::
7582 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7583 install install-dev:: $ac_dir/install-dev
7584 __uninstall__: $ac_dir/uninstall"
7586 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7587 then
7588 wine_fn_append_rule \
7589 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7590 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7591 $ac_dir/uninstall::
7592 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7595 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7596 then
7597 wine_fn_append_rule \
7598 "__builddeps__: $ac_file.cross.a
7599 $ac_file.cross.a: $ac_dir/Makefile dummy
7600 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7603 elif wine_fn_has_flag implib
7604 then
7605 wine_fn_append_rule \
7606 "__builddeps__: $ac_file.$IMPLIBEXT
7607 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7608 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7609 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7610 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7611 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7612 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7613 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7614 $ac_dir/uninstall::
7615 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7616 install install-dev:: $ac_dir/install-dev
7617 __uninstall__: $ac_dir/uninstall"
7618 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7619 then
7620 wine_fn_append_rule \
7621 "__builddeps__: $ac_file.cross.a
7622 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7623 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7626 if test "$ac_name" != "$ac_implib"
7627 then
7628 wine_fn_append_rule \
7629 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7630 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7631 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7632 clean::
7633 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7634 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7635 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7636 then
7637 wine_fn_append_rule \
7638 "__builddeps__: dlls/lib$ac_implib.cross.a
7639 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7640 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7641 clean::
7642 \$(RM) dlls/lib$ac_implib.cross.a"
7643 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7649 wine_fn_config_program ()
7651 ac_name=$1
7652 ac_dir=programs/$ac_name
7653 ac_enable=$2
7654 ac_flags=$3
7655 ac_program=$ac_name
7657 case $ac_name in
7658 *.*) ;;
7659 *) ac_program=$ac_program.exe ;;
7660 esac
7662 ac_clean=
7663 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7664 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7665 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7666 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7668 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7669 wine_fn_disabled_rules $ac_clean; return
7672 wine_fn_all_rules
7673 wine_fn_clean_rules $ac_clean
7674 wine_fn_append_rule "$ac_dir: __builddeps__"
7675 wine_fn_pot_rules
7677 wine_fn_has_flag install || return
7678 wine_fn_append_rule \
7679 ".PHONY: $ac_dir/install $ac_dir/uninstall
7680 install install-lib:: $ac_dir/install
7681 __uninstall__: $ac_dir/uninstall"
7683 if test -n "$DLLEXT"
7684 then
7685 wine_fn_append_rule \
7686 "$ac_dir/install:: $ac_dir
7687 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7688 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7689 $ac_dir/uninstall::
7690 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7692 if test -z "$with_wine64" && wine_fn_has_flag installbin
7693 then
7694 wine_fn_append_rule \
7695 "$ac_dir/install:: __tooldeps__
7696 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7697 $ac_dir/uninstall::
7698 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7700 else
7701 wine_fn_append_rule \
7702 "$ac_dir/install:: $ac_dir
7703 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7704 $ac_dir/uninstall::
7705 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7708 if test -z "$with_wine64" && wine_fn_has_flag manpage
7709 then
7710 wine_fn_append_rule \
7711 "$ac_dir/install:: $ac_dir
7712 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7713 $ac_dir/uninstall::
7714 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7718 wine_fn_config_test ()
7720 ac_dir=$1
7721 ac_name=$2
7722 ac_flags=$3
7724 ac_clean=
7725 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7726 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7728 if test "x$enable_tests" = xno; then :
7729 wine_fn_disabled_rules $ac_clean; return
7732 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7733 wine_fn_all_rules
7734 wine_fn_clean_rules $ac_clean
7736 wine_fn_append_rule \
7737 "$ac_dir: programs/winetest/Makefile __builddeps__
7738 programs/winetest: $ac_dir
7739 check test: $ac_dir/test
7740 .PHONY: $ac_dir/test
7741 $ac_dir/test: dummy
7742 @cd $ac_dir && \$(MAKE) test
7743 testclean::
7744 \$(RM) $ac_dir/*.ok"
7746 if test -n "$CROSSTARGET"
7747 then
7748 wine_fn_append_rule \
7749 "crosstest: $ac_dir/crosstest
7750 .PHONY: $ac_dir/crosstest
7751 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7752 @cd $ac_dir && \$(MAKE) crosstest"
7756 wine_fn_config_tool ()
7758 ac_dir=$1
7759 ac_flags=$2
7760 if test "x$enable_tools" = xno; then :
7761 return
7764 wine_fn_all_rules
7765 wine_fn_install_rules
7766 wine_fn_clean_rules
7768 wine_fn_append_rule "__tooldeps__: $ac_dir"
7769 wine_fn_append_rule "$ac_dir: libs/port"
7770 case $ac_dir in
7771 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7772 esac
7775 wine_fn_config_symlink ()
7777 ac_linkdir=
7778 if test "x$1" = "x-d"
7779 then
7780 ac_linkdir=$2
7781 shift; shift
7783 ac_links=$@
7784 wine_fn_append_rule \
7785 "$ac_links:
7786 @./config.status \$@
7787 distclean::
7788 \$(RM) $ac_links"
7789 for f in $ac_links; do wine_fn_ignore_file $f; done
7790 test -n "$ac_linkdir" || return
7791 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7794 wine_binary="wine"
7795 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7796 loader_programs="$wine_binary wine-installed"
7797 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7799 LOADER_RULES="
7800 all: wine.inf
7802 install install-lib:: wine-installed
7803 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7805 uninstall::
7806 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7810 case $host_os in
7811 cygwin*|mingw32*)
7812 if test -n "$ac_tool_prefix"; then
7813 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7814 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7816 $as_echo_n "checking for $ac_word... " >&6; }
7817 if ${ac_cv_prog_DLLTOOL+:} false; then :
7818 $as_echo_n "(cached) " >&6
7819 else
7820 if test -n "$DLLTOOL"; then
7821 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7822 else
7823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 for as_dir in $PATH
7826 IFS=$as_save_IFS
7827 test -z "$as_dir" && as_dir=.
7828 for ac_exec_ext in '' $ac_executable_extensions; do
7829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7830 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7832 break 2
7834 done
7835 done
7836 IFS=$as_save_IFS
7840 DLLTOOL=$ac_cv_prog_DLLTOOL
7841 if test -n "$DLLTOOL"; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7843 $as_echo "$DLLTOOL" >&6; }
7844 else
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7851 if test -z "$ac_cv_prog_DLLTOOL"; then
7852 ac_ct_DLLTOOL=$DLLTOOL
7853 # Extract the first word of "dlltool", so it can be a program name with args.
7854 set dummy dlltool; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856 $as_echo_n "checking for $ac_word... " >&6; }
7857 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7862 else
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 for as_dir in $PATH
7866 IFS=$as_save_IFS
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 break 2
7874 done
7875 done
7876 IFS=$as_save_IFS
7880 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7881 if test -n "$ac_ct_DLLTOOL"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7883 $as_echo "$ac_ct_DLLTOOL" >&6; }
7884 else
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886 $as_echo "no" >&6; }
7889 if test "x$ac_ct_DLLTOOL" = x; then
7890 DLLTOOL="false"
7891 else
7892 case $cross_compiling:$ac_tool_warned in
7893 yes:)
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7896 ac_tool_warned=yes ;;
7897 esac
7898 DLLTOOL=$ac_ct_DLLTOOL
7900 else
7901 DLLTOOL="$ac_cv_prog_DLLTOOL"
7904 LIBEXT="dll"
7905 DLLEXT=""
7906 IMPLIBEXT="a"
7907 STATIC_IMPLIBEXT="a"
7908 enable_iphlpapi=${enable_iphlpapi:-no}
7909 enable_kernel32=${enable_kernel32:-no}
7910 enable_msvcrt=${enable_msvcrt:-no}
7911 enable_ntdll=${enable_ntdll:-no}
7912 enable_ws2_32=${enable_ws2_32:-no}
7913 enable_loader=${enable_loader:-no}
7914 enable_server=${enable_server:-no}
7915 with_x=${with_x:-no}
7916 with_pthread=${with_pthread:-no}
7918 crtlibs=""
7919 case $host_os in
7920 mingw32*)
7921 crtlibs="-lmsvcrt"
7922 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7924 esac
7926 libwine_targets="libwine.dll libwine.a"
7927 LIBWINE_RULES="
7928 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7930 all: libwine.dll libwine.a
7932 libwine.a: \$(srcdir)/wine.def
7933 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7935 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7936 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7938 install install-lib:: libwine.dll
7939 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7941 install install-dev:: libwine.a
7942 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7944 uninstall::
7945 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7950 darwin*|macosx*)
7951 for ac_header in libunwind.h
7952 do :
7953 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7955 cat >>confdefs.h <<_ACEOF
7956 #define HAVE_LIBUNWIND_H 1
7957 _ACEOF
7961 done
7963 LIBEXT="dylib"
7964 DLLFLAGS="$DLLFLAGS -fPIC"
7965 LIBWINE_LDFLAGS="-multiply_defined suppress"
7966 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7967 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7968 COREFOUNDATION_LIBS="-framework CoreFoundation"
7970 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7972 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7974 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7976 CORESERVICES_LIBS="-framework CoreServices"
7978 APPKIT_LIBS="-framework AppKit"
7980 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7982 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7983 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 ac_wine_try_cflags_saved=$CFLAGS
7987 CFLAGS="$CFLAGS -Wl,-no_pie"
7988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h. */
7990 int main(int argc, char **argv) { return 0; }
7991 _ACEOF
7992 if ac_fn_c_try_link "$LINENO"; then :
7993 ac_cv_cflags__Wl__no_pie=yes
7994 else
7995 ac_cv_cflags__Wl__no_pie=no
7997 rm -f core conftest.err conftest.$ac_objext \
7998 conftest$ac_exeext conftest.$ac_ext
7999 CFLAGS=$ac_wine_try_cflags_saved
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8002 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8003 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8004 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8006 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8007 then
8008 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8011 if test "$ac_cv_header_Security_Security_h" = "yes"
8012 then
8013 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8015 ac_save_LIBS="$LIBS"
8016 LIBS="$LIBS $SECURITY_LIBS"
8017 for ac_func in SSLCopyPeerCertificates
8018 do :
8019 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8020 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8021 cat >>confdefs.h <<_ACEOF
8022 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8023 _ACEOF
8026 done
8028 LIBS="$ac_save_LIBS"
8029 with_gnutls=${with_gnutls:-no}
8031 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8032 then
8033 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8034 then
8035 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8037 else
8038 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8041 ac_save_LIBS="$LIBS"
8042 LIBS="$LIBS $COREAUDIO_LIBS"
8043 for ac_func in AUGraphAddNode
8044 do :
8045 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8046 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8047 cat >>confdefs.h <<_ACEOF
8048 #define HAVE_AUGRAPHADDNODE 1
8049 _ACEOF
8052 done
8054 LIBS="$ac_save_LIBS"
8056 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8057 then
8058 OPENAL_LIBS="-framework OpenAL"
8061 cat >>confdefs.h <<_ACEOF
8062 #define HAVE_OPENAL 1
8063 _ACEOF
8065 ac_cv_lib_openal=yes
8067 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8068 then
8069 OPENCL_LIBS="-framework OpenCL"
8071 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8073 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8074 then
8075 ac_save_LIBS="$LIBS"
8076 LIBS="$LIBS $IOKIT_LIBS"
8077 for ac_func in IOHIDManagerCreate
8078 do :
8079 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8080 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8081 cat >>confdefs.h <<_ACEOF
8082 #define HAVE_IOHIDMANAGERCREATE 1
8083 _ACEOF
8086 done
8088 LIBS="$ac_save_LIBS"
8090 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8091 then
8092 ac_save_LIBS="$LIBS"
8093 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8095 $as_echo_n "checking for the QuickTime framework... " >&6; }
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 #include <QuickTime/ImageCompression.h>
8100 main ()
8102 CodecManagerVersion(NULL);
8104 return 0;
8106 _ACEOF
8107 if ac_fn_c_try_link "$LINENO"; then :
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8109 $as_echo "yes" >&6; }
8110 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8112 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8115 $as_echo "no" >&6; }
8116 ac_cv_header_QuickTime_ImageCompression_h=no
8118 rm -f core conftest.err conftest.$ac_objext \
8119 conftest$ac_exeext conftest.$ac_ext
8120 LIBS="$ac_save_LIBS"
8122 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8123 then
8124 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8126 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8127 then
8128 CARBON_LIBS="-framework Carbon"
8132 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8133 then
8134 ac_save_LIBS="$LIBS"
8135 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8136 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8137 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8138 enable_winemac_drv=${enable_winemac_drv:-yes}
8141 LIBS="$ac_save_LIBS"
8144 if test "x$enable_win16" = "xyes"
8145 then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8147 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8148 if test "$cross_compiling" = yes; then :
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8150 $as_echo "cross-compiling, assuming yes" >&6; }
8151 else
8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8154 asm(".text\n"
8155 "bad:\tnop;nop\n"
8156 "good:\tnop;nop\n\t"
8157 ".globl _testfunc\n"
8158 "_testfunc:\tcallw good");
8159 extern void testfunc();
8161 main ()
8163 unsigned short *p = (unsigned short *)testfunc;
8164 return p[0] != 0xe866 || p[1] != 0xfffa
8166 return 0;
8168 _ACEOF
8169 if ac_fn_c_try_run "$LINENO"; then :
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8171 $as_echo "yes" >&6; }
8172 else
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8175 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
8177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8178 conftest.$ac_objext conftest.beam conftest.$ac_ext
8183 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8184 LIBWINE_RULES="
8185 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8187 all: libwine.dylib
8189 libwine.$libwine_version.dylib: \$(OBJS)
8190 \$(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 \$@
8192 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8193 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8195 libwine.dylib: libwine.$libwine_soversion.dylib
8196 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8198 install install-lib:: libwine.$libwine_version.dylib
8199 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8200 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8202 install install-dev::
8203 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8205 uninstall::
8206 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8210 as_fn_append LOADER_RULES "
8211 $wine_binary: main.o wine_info.plist
8212 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8214 wine-installed: main.o wine_info.plist
8215 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8219 linux-android*)
8220 DLLFLAGS="$DLLFLAGS -fPIC"
8221 DLLPREFIX="lib"
8222 LDEXECFLAGS=""
8223 dlldir="\${libdir}"
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8226 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8237 else
8238 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8245 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8246 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8247 LDEXECFLAGS="-Wl,--export-dynamic"
8249 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8251 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8252 if eval \${$as_ac_var+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8259 int main(int argc, char **argv) { return 0; }
8260 _ACEOF
8261 if ac_fn_c_try_link "$LINENO"; then :
8262 eval "$as_ac_var=yes"
8263 else
8264 eval "$as_ac_var=no"
8266 rm -f core conftest.err conftest.$ac_objext \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 eval ac_res=\$$as_ac_var
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8272 $as_echo "$ac_res" >&6; }
8273 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8274 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8275 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8276 else
8277 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8280 if eval \${$as_ac_var+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 eval "$as_ac_var=yes"
8291 else
8292 eval "$as_ac_var=no"
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 eval ac_res=\$$as_ac_var
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8300 $as_echo "$ac_res" >&6; }
8301 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8302 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8303 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8308 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8309 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 ac_wine_try_cflags_saved=$CFLAGS
8313 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 int main(int argc, char **argv) { return 0; }
8317 _ACEOF
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 ac_cv_cflags__Wl___enable_new_dtags=yes
8320 else
8321 ac_cv_cflags__Wl___enable_new_dtags=no
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8325 CFLAGS=$ac_wine_try_cflags_saved
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8328 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8329 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8330 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8333 case $host_cpu in
8334 *i[3456789]86* | x86_64)
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8336 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8337 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8348 else
8349 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8356 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8357 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8358 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8361 esac
8363 libwine_targets="libwine.so"
8364 LIBWINE_RULES="
8365 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8367 all: libwine.so
8369 libwine.so: \$(OBJS)
8370 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8372 install install-lib:: libwine.so
8373 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8375 uninstall::
8376 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8380 as_fn_append LOADER_RULES "
8381 $wine_binary: main.o
8382 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8384 wine-installed: main.o
8385 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8390 DLLFLAGS="$DLLFLAGS -fPIC"
8391 LDEXECFLAGS=""
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8393 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8394 if ${ac_cv_c_dll_gnuelf+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_wine_try_cflags_saved=$CFLAGS
8398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 void myfunc() {}
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 ac_cv_c_dll_gnuelf="yes"
8405 else
8406 ac_cv_c_dll_gnuelf="no"
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 CFLAGS=$ac_wine_try_cflags_saved
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8413 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8414 if test "$ac_cv_c_dll_gnuelf" = "yes"
8415 then
8416 LDSHARED="\$(CC) -shared"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8419 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8430 else
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8438 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8439 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8440 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8441 else
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8443 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8444 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8455 else
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8463 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8464 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8465 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8469 echo '{ global: *; };' >conftest.map
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8472 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8483 else
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8493 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8495 rm -f conftest.map
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8499 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8510 else
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8518 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8519 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8520 LDEXECFLAGS="-Wl,--export-dynamic"
8523 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8526 if eval \${$as_ac_var+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 eval "$as_ac_var=yes"
8537 else
8538 eval "$as_ac_var=no"
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 eval ac_res=\$$as_ac_var
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8546 $as_echo "$ac_res" >&6; }
8547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8548 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8549 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8550 else
8551 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8554 if eval \${$as_ac_var+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 eval "$as_ac_var=yes"
8565 else
8566 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 eval ac_res=\$$as_ac_var
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8574 $as_echo "$ac_res" >&6; }
8575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8582 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8583 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__Wl___enable_new_dtags=yes
8594 else
8595 ac_cv_cflags__Wl___enable_new_dtags=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8602 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8603 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8604 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8607 case $host_cpu in
8608 *i[3456789]86* | x86_64)
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8610 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8611 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8622 else
8623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8630 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8631 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8632 case $host_os in
8633 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8634 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8635 esac
8638 # Extract the first word of "prelink", so it can be a program name with args.
8639 set dummy prelink; ac_word=$2
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8641 $as_echo_n "checking for $ac_word... " >&6; }
8642 if ${ac_cv_path_PRELINK+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 case $PRELINK in
8646 [\\/]* | ?:[\\/]*)
8647 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 for as_dir in /sbin /usr/sbin $PATH
8653 IFS=$as_save_IFS
8654 test -z "$as_dir" && as_dir=.
8655 for ac_exec_ext in '' $ac_executable_extensions; do
8656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8657 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8659 break 2
8661 done
8662 done
8663 IFS=$as_save_IFS
8665 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8667 esac
8669 PRELINK=$ac_cv_path_PRELINK
8670 if test -n "$PRELINK"; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8672 $as_echo "$PRELINK" >&6; }
8673 else
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8675 $as_echo "no" >&6; }
8679 if test "x$PRELINK" = xfalse
8680 then
8681 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8684 esac
8686 else
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8688 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8689 if ${ac_cv_c_dll_unixware+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 void myfunc() {}
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_c_dll_unixware="yes"
8700 else
8701 ac_cv_c_dll_unixware="no"
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8708 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8709 if test "$ac_cv_c_dll_unixware" = "yes"
8710 then
8711 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8714 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8715 LIBWINE_RULES="
8716 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8718 all: libwine.so
8720 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8721 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8723 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8724 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8726 libwine.so: libwine.so.$libwine_soversion
8727 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8729 install install-lib:: libwine.so.$libwine_version
8730 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8731 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8733 install install-dev::
8734 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8736 uninstall::
8737 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8741 as_fn_append LOADER_RULES "
8742 $wine_binary: main.o
8743 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8745 wine-installed: main.o
8746 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8749 esac
8751 as_fn_append LIBWINE_RULES "
8752 EXTRA_TARGETS = $libwine_targets
8755 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8756 enable_winemac_drv=${enable_winemac_drv:-no}
8758 CROSSTARGET=""
8760 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8761 then
8762 case "$host_cpu" in
8763 i[3456789]86*)
8764 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
8765 mingw32-gcc" ;;
8766 x86_64)
8767 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 " ;;
8769 ac_prefix_list="" ;;
8770 esac
8771 for ac_prog in $ac_prefix_list
8773 # Extract the first word of "$ac_prog", so it can be a program name with args.
8774 set dummy $ac_prog; ac_word=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if ${ac_cv_prog_CROSSCC+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 if test -n "$CROSSCC"; then
8781 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8782 else
8783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 for as_dir in $PATH
8786 IFS=$as_save_IFS
8787 test -z "$as_dir" && as_dir=.
8788 for ac_exec_ext in '' $ac_executable_extensions; do
8789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8790 ac_cv_prog_CROSSCC="$ac_prog"
8791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 break 2
8794 done
8795 done
8796 IFS=$as_save_IFS
8800 CROSSCC=$ac_cv_prog_CROSSCC
8801 if test -n "$CROSSCC"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8803 $as_echo "$CROSSCC" >&6; }
8804 else
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8806 $as_echo "no" >&6; }
8810 test -n "$CROSSCC" && break
8811 done
8812 test -n "$CROSSCC" || CROSSCC="false"
8814 if test "$CROSSCC" != "false"
8815 then
8816 ac_save_CC="$CC"
8817 CC="$CROSSCC"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8819 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8824 main ()
8828 return 0;
8830 _ACEOF
8831 if ac_fn_c_try_compile "$LINENO"; then :
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8833 $as_echo "yes" >&6; }
8834 set x $CROSSCC
8835 shift
8836 while test $# -ge 1
8838 case "$1" in
8839 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8840 esac
8841 shift
8842 done
8843 else
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8848 CC="$ac_save_CC"
8853 if test "$ac_cv_header_pthread_h" = "yes"
8854 then
8855 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8856 if test "x$ac_cv_func_pthread_create" = xyes; then :
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8860 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8861 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_check_lib_save_LIBS=$LIBS
8865 LIBS="-lpthread $LIBS"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8869 /* Override any GCC internal prototype to avoid an error.
8870 Use char because int might match the return type of a GCC
8871 builtin and then its argument prototype would still apply. */
8872 #ifdef __cplusplus
8873 extern "C"
8874 #endif
8875 char pthread_create ();
8877 main ()
8879 return pthread_create ();
8881 return 0;
8883 _ACEOF
8884 if ac_fn_c_try_link "$LINENO"; then :
8885 ac_cv_lib_pthread_pthread_create=yes
8886 else
8887 ac_cv_lib_pthread_pthread_create=no
8889 rm -f core conftest.err conftest.$ac_objext \
8890 conftest$ac_exeext conftest.$ac_ext
8891 LIBS=$ac_check_lib_save_LIBS
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8894 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8895 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8896 PTHREAD_LIBS="-lpthread"
8903 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8904 case "x$with_pthread" in
8905 xno) ;;
8906 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8907 Wine cannot support threads without libpthread.
8908 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8909 esac
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8914 $as_echo_n "checking for X... " >&6; }
8917 # Check whether --with-x was given.
8918 if test "${with_x+set}" = set; then :
8919 withval=$with_x;
8922 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8923 if test "x$with_x" = xno; then
8924 # The user explicitly disabled X.
8925 have_x=disabled
8926 else
8927 case $x_includes,$x_libraries in #(
8928 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8929 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8930 $as_echo_n "(cached) " >&6
8931 else
8932 # One or both of the vars are not set, and there is no cached value.
8933 ac_x_includes=no ac_x_libraries=no
8934 rm -f -r conftest.dir
8935 if mkdir conftest.dir; then
8936 cd conftest.dir
8937 cat >Imakefile <<'_ACEOF'
8938 incroot:
8939 @echo incroot='${INCROOT}'
8940 usrlibdir:
8941 @echo usrlibdir='${USRLIBDIR}'
8942 libdir:
8943 @echo libdir='${LIBDIR}'
8944 _ACEOF
8945 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8946 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8947 for ac_var in incroot usrlibdir libdir; do
8948 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8949 done
8950 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8951 for ac_extension in a so sl dylib la dll; do
8952 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8953 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8954 ac_im_usrlibdir=$ac_im_libdir; break
8956 done
8957 # Screen out bogus values from the imake configuration. They are
8958 # bogus both because they are the default anyway, and because
8959 # using them would break gcc on systems where it needs fixed includes.
8960 case $ac_im_incroot in
8961 /usr/include) ac_x_includes= ;;
8962 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8963 esac
8964 case $ac_im_usrlibdir in
8965 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8966 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8967 esac
8969 cd ..
8970 rm -f -r conftest.dir
8973 # Standard set of common directories for X headers.
8974 # Check X11 before X11Rn because it is often a symlink to the current release.
8975 ac_x_header_dirs='
8976 /usr/X11/include
8977 /usr/X11R7/include
8978 /usr/X11R6/include
8979 /usr/X11R5/include
8980 /usr/X11R4/include
8982 /usr/include/X11
8983 /usr/include/X11R7
8984 /usr/include/X11R6
8985 /usr/include/X11R5
8986 /usr/include/X11R4
8988 /usr/local/X11/include
8989 /usr/local/X11R7/include
8990 /usr/local/X11R6/include
8991 /usr/local/X11R5/include
8992 /usr/local/X11R4/include
8994 /usr/local/include/X11
8995 /usr/local/include/X11R7
8996 /usr/local/include/X11R6
8997 /usr/local/include/X11R5
8998 /usr/local/include/X11R4
9000 /usr/X386/include
9001 /usr/x386/include
9002 /usr/XFree86/include/X11
9004 /usr/include
9005 /usr/local/include
9006 /usr/unsupported/include
9007 /usr/athena/include
9008 /usr/local/x11r5/include
9009 /usr/lpp/Xamples/include
9011 /usr/openwin/include
9012 /usr/openwin/share/include'
9014 if test "$ac_x_includes" = no; then
9015 # Guess where to find include files, by looking for Xlib.h.
9016 # First, try using that file with no special directory specified.
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 #include <X11/Xlib.h>
9020 _ACEOF
9021 if ac_fn_c_try_cpp "$LINENO"; then :
9022 # We can compile using X headers with no special include directory.
9023 ac_x_includes=
9024 else
9025 for ac_dir in $ac_x_header_dirs; do
9026 if test -r "$ac_dir/X11/Xlib.h"; then
9027 ac_x_includes=$ac_dir
9028 break
9030 done
9032 rm -f conftest.err conftest.i conftest.$ac_ext
9033 fi # $ac_x_includes = no
9035 if test "$ac_x_libraries" = no; then
9036 # Check for the libraries.
9037 # See if we find them without any special options.
9038 # Don't add to $LIBS permanently.
9039 ac_save_LIBS=$LIBS
9040 LIBS="-lX11 $LIBS"
9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9042 /* end confdefs.h. */
9043 #include <X11/Xlib.h>
9045 main ()
9047 XrmInitialize ()
9049 return 0;
9051 _ACEOF
9052 if ac_fn_c_try_link "$LINENO"; then :
9053 LIBS=$ac_save_LIBS
9054 # We can link X programs with no special library path.
9055 ac_x_libraries=
9056 else
9057 LIBS=$ac_save_LIBS
9058 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9060 # Don't even attempt the hair of trying to link an X program!
9061 for ac_extension in a so sl dylib la dll; do
9062 if test -r "$ac_dir/libX11.$ac_extension"; then
9063 ac_x_libraries=$ac_dir
9064 break 2
9066 done
9067 done
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 fi # $ac_x_libraries = no
9073 case $ac_x_includes,$ac_x_libraries in #(
9074 no,* | *,no | *\'*)
9075 # Didn't find X, or a directory has "'" in its name.
9076 ac_cv_have_x="have_x=no";; #(
9078 # Record where we found X for the cache.
9079 ac_cv_have_x="have_x=yes\
9080 ac_x_includes='$ac_x_includes'\
9081 ac_x_libraries='$ac_x_libraries'"
9082 esac
9084 ;; #(
9085 *) have_x=yes;;
9086 esac
9087 eval "$ac_cv_have_x"
9088 fi # $with_x != no
9090 if test "$have_x" != yes; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9092 $as_echo "$have_x" >&6; }
9093 no_x=yes
9094 else
9095 # If each of the values was on the command line, it overrides each guess.
9096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9098 # Update the cache value to reflect the command line values.
9099 ac_cv_have_x="have_x=yes\
9100 ac_x_includes='$x_includes'\
9101 ac_x_libraries='$x_libraries'"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9103 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9106 if test "$no_x" = yes; then
9107 # Not all programs may use this symbol, but it does not hurt to define it.
9109 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9111 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9112 else
9113 if test -n "$x_includes"; then
9114 X_CFLAGS="$X_CFLAGS -I$x_includes"
9117 # It would also be nice to do this for all -L options, not just this one.
9118 if test -n "$x_libraries"; then
9119 X_LIBS="$X_LIBS -L$x_libraries"
9120 # For Solaris; some versions of Sun CC require a space after -R and
9121 # others require no space. Words are not sufficient . . . .
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9123 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9124 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9125 ac_xsave_c_werror_flag=$ac_c_werror_flag
9126 ac_c_werror_flag=yes
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9131 main ()
9135 return 0;
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9140 $as_echo "no" >&6; }
9141 X_LIBS="$X_LIBS -R$x_libraries"
9142 else
9143 LIBS="$ac_xsave_LIBS -R $x_libraries"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9148 main ()
9152 return 0;
9154 _ACEOF
9155 if ac_fn_c_try_link "$LINENO"; then :
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9157 $as_echo "yes" >&6; }
9158 X_LIBS="$X_LIBS -R $x_libraries"
9159 else
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9161 $as_echo "neither works" >&6; }
9163 rm -f core conftest.err conftest.$ac_objext \
9164 conftest$ac_exeext conftest.$ac_ext
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 ac_c_werror_flag=$ac_xsave_c_werror_flag
9169 LIBS=$ac_xsave_LIBS
9172 # Check for system-dependent libraries X programs must link with.
9173 # Do this before checking for the system-independent R6 libraries
9174 # (-lICE), since we may need -lsocket or whatever for X linking.
9176 if test "$ISC" = yes; then
9177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9178 else
9179 # Martyn Johnson says this is needed for Ultrix, if the X
9180 # libraries were built with DECnet support. And Karl Berry says
9181 # the Alpha needs dnet_stub (dnet does not exist).
9182 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9186 /* Override any GCC internal prototype to avoid an error.
9187 Use char because int might match the return type of a GCC
9188 builtin and then its argument prototype would still apply. */
9189 #ifdef __cplusplus
9190 extern "C"
9191 #endif
9192 char XOpenDisplay ();
9194 main ()
9196 return XOpenDisplay ();
9198 return 0;
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9203 else
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9205 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9206 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9207 $as_echo_n "(cached) " >&6
9208 else
9209 ac_check_lib_save_LIBS=$LIBS
9210 LIBS="-ldnet $LIBS"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9217 #ifdef __cplusplus
9218 extern "C"
9219 #endif
9220 char dnet_ntoa ();
9222 main ()
9224 return dnet_ntoa ();
9226 return 0;
9228 _ACEOF
9229 if ac_fn_c_try_link "$LINENO"; then :
9230 ac_cv_lib_dnet_dnet_ntoa=yes
9231 else
9232 ac_cv_lib_dnet_dnet_ntoa=no
9234 rm -f core conftest.err conftest.$ac_objext \
9235 conftest$ac_exeext conftest.$ac_ext
9236 LIBS=$ac_check_lib_save_LIBS
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9239 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9240 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9241 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9244 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9246 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9247 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9248 $as_echo_n "(cached) " >&6
9249 else
9250 ac_check_lib_save_LIBS=$LIBS
9251 LIBS="-ldnet_stub $LIBS"
9252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9258 #ifdef __cplusplus
9259 extern "C"
9260 #endif
9261 char dnet_ntoa ();
9263 main ()
9265 return dnet_ntoa ();
9267 return 0;
9269 _ACEOF
9270 if ac_fn_c_try_link "$LINENO"; then :
9271 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9272 else
9273 ac_cv_lib_dnet_stub_dnet_ntoa=no
9275 rm -f core conftest.err conftest.$ac_objext \
9276 conftest$ac_exeext conftest.$ac_ext
9277 LIBS=$ac_check_lib_save_LIBS
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9280 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9281 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9282 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9287 rm -f core conftest.err conftest.$ac_objext \
9288 conftest$ac_exeext conftest.$ac_ext
9289 LIBS="$ac_xsave_LIBS"
9291 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9292 # to get the SysV transport functions.
9293 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9294 # needs -lnsl.
9295 # The nsl library prevents programs from opening the X display
9296 # on Irix 5.2, according to T.E. Dickey.
9297 # The functions gethostbyname, getservbyname, and inet_addr are
9298 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9299 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9300 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9304 if test $ac_cv_func_gethostbyname = no; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9306 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9307 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lnsl $LIBS"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char gethostbyname ();
9323 main ()
9325 return gethostbyname ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_lib_nsl_gethostbyname=yes
9332 else
9333 ac_cv_lib_nsl_gethostbyname=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 LIBS=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9340 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9341 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9345 if test $ac_cv_lib_nsl_gethostbyname = no; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9347 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9348 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_check_lib_save_LIBS=$LIBS
9352 LIBS="-lbsd $LIBS"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9359 #ifdef __cplusplus
9360 extern "C"
9361 #endif
9362 char gethostbyname ();
9364 main ()
9366 return gethostbyname ();
9368 return 0;
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 ac_cv_lib_bsd_gethostbyname=yes
9373 else
9374 ac_cv_lib_bsd_gethostbyname=no
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 LIBS=$ac_check_lib_save_LIBS
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9381 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9382 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9389 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9390 # socket/setsockopt and other routines are undefined under SCO ODT
9391 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9392 # on later versions), says Simon Leinen: it contains gethostby*
9393 # variants that don't use the name server (or something). -lsocket
9394 # must be given before -lnsl if both are needed. We assume that
9395 # if connect needs -lnsl, so does gethostbyname.
9396 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9397 if test "x$ac_cv_func_connect" = xyes; then :
9401 if test $ac_cv_func_connect = no; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9403 $as_echo_n "checking for connect in -lsocket... " >&6; }
9404 if ${ac_cv_lib_socket_connect+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
9420 main ()
9422 return connect ();
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 ac_cv_lib_socket_connect=yes
9429 else
9430 ac_cv_lib_socket_connect=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_socket_connect" >&5
9437 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9438 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9439 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9444 # Guillermo Gomez says -lposix is necessary on A/UX.
9445 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9446 if test "x$ac_cv_func_remove" = xyes; then :
9450 if test $ac_cv_func_remove = no; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9452 $as_echo_n "checking for remove in -lposix... " >&6; }
9453 if ${ac_cv_lib_posix_remove+:} false; then :
9454 $as_echo_n "(cached) " >&6
9455 else
9456 ac_check_lib_save_LIBS=$LIBS
9457 LIBS="-lposix $LIBS"
9458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9464 #ifdef __cplusplus
9465 extern "C"
9466 #endif
9467 char remove ();
9469 main ()
9471 return remove ();
9473 return 0;
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 ac_cv_lib_posix_remove=yes
9478 else
9479 ac_cv_lib_posix_remove=no
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_lib_save_LIBS
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9486 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9487 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9488 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9493 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9494 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9495 if test "x$ac_cv_func_shmat" = xyes; then :
9499 if test $ac_cv_func_shmat = no; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9501 $as_echo_n "checking for shmat in -lipc... " >&6; }
9502 if ${ac_cv_lib_ipc_shmat+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_check_lib_save_LIBS=$LIBS
9506 LIBS="-lipc $LIBS"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char shmat ();
9518 main ()
9520 return shmat ();
9522 return 0;
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_lib_ipc_shmat=yes
9527 else
9528 ac_cv_lib_ipc_shmat=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 LIBS=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9535 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9536 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9537 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9543 # Check for libraries that X11R6 Xt/Xaw programs need.
9544 ac_save_LDFLAGS=$LDFLAGS
9545 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9546 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9547 # check for ICE first), but we must link in the order -lSM -lICE or
9548 # we get undefined symbols. So assume we have SM if we have ICE.
9549 # These have to be linked with before -lX11, unlike the other
9550 # libraries we check for below, so use a different variable.
9551 # John Interrante, Karl Berry
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9553 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9554 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_check_lib_save_LIBS=$LIBS
9558 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9562 /* Override any GCC internal prototype to avoid an error.
9563 Use char because int might match the return type of a GCC
9564 builtin and then its argument prototype would still apply. */
9565 #ifdef __cplusplus
9566 extern "C"
9567 #endif
9568 char IceConnectionNumber ();
9570 main ()
9572 return IceConnectionNumber ();
9574 return 0;
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_lib_ICE_IceConnectionNumber=yes
9579 else
9580 ac_cv_lib_ICE_IceConnectionNumber=no
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_lib_save_LIBS
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9587 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9588 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9589 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9592 LDFLAGS=$ac_save_LDFLAGS
9597 if test "$have_x" = "yes"
9598 then
9599 ac_save_CPPFLAGS="$CPPFLAGS"
9600 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9603 $as_echo_n "checking for -lX11... " >&6; }
9604 if ${ac_cv_lib_soname_X11+:} false; then :
9605 $as_echo_n "(cached) " >&6
9606 else
9607 ac_check_soname_save_LIBS=$LIBS
9608 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9615 #ifdef __cplusplus
9616 extern "C"
9617 #endif
9618 char XCreateWindow ();
9620 main ()
9622 return XCreateWindow ();
9624 return 0;
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 case "$LIBEXT" in
9629 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9630 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'` ;;
9631 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9632 if ${ac_cv_lib_soname_X11:+false} :; then :
9633 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9634 fi ;;
9635 esac
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS=$ac_check_soname_save_LIBS
9641 if ${ac_cv_lib_soname_X11:+false} :; then :
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9643 $as_echo "not found" >&6; }
9645 else
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9647 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9649 cat >>confdefs.h <<_ACEOF
9650 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9651 _ACEOF
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9656 $as_echo_n "checking for -lXext... " >&6; }
9657 if ${ac_cv_lib_soname_Xext+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_check_soname_save_LIBS=$LIBS
9661 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9665 /* Override any GCC internal prototype to avoid an error.
9666 Use char because int might match the return type of a GCC
9667 builtin and then its argument prototype would still apply. */
9668 #ifdef __cplusplus
9669 extern "C"
9670 #endif
9671 char XextCreateExtension ();
9673 main ()
9675 return XextCreateExtension ();
9677 return 0;
9679 _ACEOF
9680 if ac_fn_c_try_link "$LINENO"; then :
9681 case "$LIBEXT" in
9682 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9683 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'` ;;
9684 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9685 if ${ac_cv_lib_soname_Xext:+false} :; then :
9686 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9687 fi ;;
9688 esac
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_soname_save_LIBS
9694 if ${ac_cv_lib_soname_Xext:+false} :; then :
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9696 $as_echo "not found" >&6; }
9698 else
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9700 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9702 cat >>confdefs.h <<_ACEOF
9703 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9704 _ACEOF
9706 X_LIBS="$X_LIBS -lXext"
9708 X_LIBS="$X_LIBS -lX11"
9710 for ac_header in X11/Xlib.h \
9711 X11/XKBlib.h \
9712 X11/Xutil.h \
9713 X11/Xcursor/Xcursor.h \
9714 X11/extensions/shape.h \
9715 X11/extensions/XInput.h \
9716 X11/extensions/XInput2.h \
9717 X11/extensions/XShm.h \
9718 X11/extensions/Xcomposite.h \
9719 X11/extensions/Xinerama.h \
9720 X11/extensions/Xrandr.h \
9721 X11/extensions/Xrender.h \
9722 X11/extensions/xf86vmode.h \
9723 X11/extensions/xf86vmproto.h
9724 do :
9725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9726 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9727 # include <X11/Xlib.h>
9728 #endif
9729 #ifdef HAVE_X11_XUTIL_H
9730 # include <X11/Xutil.h>
9731 #endif
9733 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9734 cat >>confdefs.h <<_ACEOF
9735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9736 _ACEOF
9740 done
9743 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9744 then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9746 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9747 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_check_lib_save_LIBS=$LIBS
9751 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9758 #ifdef __cplusplus
9759 extern "C"
9760 #endif
9761 char XkbQueryExtension ();
9763 main ()
9765 return XkbQueryExtension ();
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 ac_cv_lib_X11_XkbQueryExtension=yes
9772 else
9773 ac_cv_lib_X11_XkbQueryExtension=no
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_lib_save_LIBS
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9780 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9781 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9783 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9789 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9790 then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9792 $as_echo_n "checking for -lXcursor... " >&6; }
9793 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 ac_check_soname_save_LIBS=$LIBS
9797 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 char XcursorImageLoadCursor ();
9809 main ()
9811 return XcursorImageLoadCursor ();
9813 return 0;
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 case "$LIBEXT" in
9818 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9819 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'` ;;
9820 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9821 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9822 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9823 fi ;;
9824 esac
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 LIBS=$ac_check_soname_save_LIBS
9830 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9832 $as_echo "not found" >&6; }
9834 else
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9836 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9838 cat >>confdefs.h <<_ACEOF
9839 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9840 _ACEOF
9845 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9846 case "x$with_xcursor" in
9847 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9848 xno) ;;
9849 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9850 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9851 esac
9854 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9855 then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9857 $as_echo_n "checking for -lXi... " >&6; }
9858 if ${ac_cv_lib_soname_Xi+:} false; then :
9859 $as_echo_n "(cached) " >&6
9860 else
9861 ac_check_soname_save_LIBS=$LIBS
9862 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9866 /* Override any GCC internal prototype to avoid an error.
9867 Use char because int might match the return type of a GCC
9868 builtin and then its argument prototype would still apply. */
9869 #ifdef __cplusplus
9870 extern "C"
9871 #endif
9872 char XOpenDevice ();
9874 main ()
9876 return XOpenDevice ();
9878 return 0;
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 case "$LIBEXT" in
9883 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9884 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'` ;;
9885 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9886 if ${ac_cv_lib_soname_Xi:+false} :; then :
9887 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9888 fi ;;
9889 esac
9891 rm -f core conftest.err conftest.$ac_objext \
9892 conftest$ac_exeext conftest.$ac_ext
9893 LIBS=$ac_check_soname_save_LIBS
9895 if ${ac_cv_lib_soname_Xi:+false} :; then :
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9897 $as_echo "not found" >&6; }
9899 else
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9901 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9903 cat >>confdefs.h <<_ACEOF
9904 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9905 _ACEOF
9910 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9911 case "x$with_xinput" in
9912 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9913 xno) ;;
9914 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9915 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9916 esac
9919 if test "x$ac_cv_lib_soname_Xi" != x
9920 then
9921 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9922 case "x$with_xinput2" in
9923 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9924 xno) ;;
9925 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9926 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9927 esac
9931 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9932 then
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9934 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9935 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9936 $as_echo_n "(cached) " >&6
9937 else
9938 ac_check_lib_save_LIBS=$LIBS
9939 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9946 #ifdef __cplusplus
9947 extern "C"
9948 #endif
9949 char XShmQueryExtension ();
9951 main ()
9953 return XShmQueryExtension ();
9955 return 0;
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"; then :
9959 ac_cv_lib_Xext_XShmQueryExtension=yes
9960 else
9961 ac_cv_lib_Xext_XShmQueryExtension=no
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_lib_save_LIBS
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9968 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9969 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9971 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9976 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9977 case "x$with_xshm" in
9978 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9979 xno) ;;
9980 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9981 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9982 esac
9985 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9986 then
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9988 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9989 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_check_lib_save_LIBS=$LIBS
9993 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10000 #ifdef __cplusplus
10001 extern "C"
10002 #endif
10003 char XShapeQueryExtension ();
10005 main ()
10007 return XShapeQueryExtension ();
10009 return 0;
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"; then :
10013 ac_cv_lib_Xext_XShapeQueryExtension=yes
10014 else
10015 ac_cv_lib_Xext_XShapeQueryExtension=no
10017 rm -f core conftest.err conftest.$ac_objext \
10018 conftest$ac_exeext conftest.$ac_ext
10019 LIBS=$ac_check_lib_save_LIBS
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10022 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10023 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10025 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10030 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10031 case "x$with_xshape" in
10032 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10033 xno) ;;
10034 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10035 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10036 esac
10039 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10040 then
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10042 $as_echo_n "checking for -lXxf86vm... " >&6; }
10043 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_check_soname_save_LIBS=$LIBS
10047 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10051 /* Override any GCC internal prototype to avoid an error.
10052 Use char because int might match the return type of a GCC
10053 builtin and then its argument prototype would still apply. */
10054 #ifdef __cplusplus
10055 extern "C"
10056 #endif
10057 char XF86VidModeQueryExtension ();
10059 main ()
10061 return XF86VidModeQueryExtension ();
10063 return 0;
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 case "$LIBEXT" in
10068 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10069 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'` ;;
10070 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10071 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10072 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10073 fi ;;
10074 esac
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 LIBS=$ac_check_soname_save_LIBS
10080 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10082 $as_echo "not found" >&6; }
10084 else
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10086 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10088 cat >>confdefs.h <<_ACEOF
10089 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10090 _ACEOF
10095 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10096 case "x$with_xxf86vm" in
10097 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10098 xno) ;;
10099 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10100 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10101 esac
10104 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10105 then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10107 $as_echo_n "checking for -lXrender... " >&6; }
10108 if ${ac_cv_lib_soname_Xrender+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_soname_save_LIBS=$LIBS
10112 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XRenderQueryExtension ();
10124 main ()
10126 return XRenderQueryExtension ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 case "$LIBEXT" in
10133 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10134 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'` ;;
10135 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10136 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10137 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10138 fi ;;
10139 esac
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_soname_save_LIBS
10145 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10147 $as_echo "not found" >&6; }
10149 else
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10151 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10153 cat >>confdefs.h <<_ACEOF
10154 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10155 _ACEOF
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10158 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10159 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_check_lib_save_LIBS=$LIBS
10163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XRenderSetPictureTransform ();
10175 main ()
10177 return XRenderSetPictureTransform ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10184 else
10185 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 LIBS=$ac_check_lib_save_LIBS
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10192 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10193 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10195 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10200 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10201 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10202 $as_echo_n "(cached) " >&6
10203 else
10204 ac_check_lib_save_LIBS=$LIBS
10205 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10209 /* Override any GCC internal prototype to avoid an error.
10210 Use char because int might match the return type of a GCC
10211 builtin and then its argument prototype would still apply. */
10212 #ifdef __cplusplus
10213 extern "C"
10214 #endif
10215 char XRenderCreateLinearGradient ();
10217 main ()
10219 return XRenderCreateLinearGradient ();
10221 return 0;
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10226 else
10227 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 LIBS=$ac_check_lib_save_LIBS
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10234 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10235 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10237 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10244 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10245 case "x$with_xrender" in
10246 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10247 xno) ;;
10248 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10249 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10250 esac
10253 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10254 then
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 #include <X11/Xlib.h>
10258 #include <X11/extensions/Xrandr.h>
10260 main ()
10262 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10264 return 0;
10266 _ACEOF
10267 if ac_fn_c_try_compile "$LINENO"; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10269 $as_echo_n "checking for -lXrandr... " >&6; }
10270 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_soname_save_LIBS=$LIBS
10274 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char XRRQueryExtension ();
10286 main ()
10288 return XRRQueryExtension ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 case "$LIBEXT" in
10295 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10296 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'` ;;
10297 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10298 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10299 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10300 fi ;;
10301 esac
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 LIBS=$ac_check_soname_save_LIBS
10307 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10309 $as_echo "not found" >&6; }
10311 else
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10313 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10315 cat >>confdefs.h <<_ACEOF
10316 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10317 _ACEOF
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 #include <X11/Xlib.h>
10322 #include <X11/extensions/Xrandr.h>
10324 main ()
10326 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_compile "$LINENO"; then :
10333 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10341 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10342 case "x$with_xrandr" in
10343 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10344 xno) ;;
10345 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10346 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10347 esac
10350 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10351 then
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xinerama.h>
10357 main ()
10359 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10361 return 0;
10363 _ACEOF
10364 if ac_fn_c_try_compile "$LINENO"; then :
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10366 $as_echo_n "checking for -lXinerama... " >&6; }
10367 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_check_soname_save_LIBS=$LIBS
10371 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10375 /* Override any GCC internal prototype to avoid an error.
10376 Use char because int might match the return type of a GCC
10377 builtin and then its argument prototype would still apply. */
10378 #ifdef __cplusplus
10379 extern "C"
10380 #endif
10381 char XineramaQueryScreens ();
10383 main ()
10385 return XineramaQueryScreens ();
10387 return 0;
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391 case "$LIBEXT" in
10392 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10393 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'` ;;
10394 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10395 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10396 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10397 fi ;;
10398 esac
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_soname_save_LIBS
10404 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10406 $as_echo "not found" >&6; }
10408 else
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10410 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10412 cat >>confdefs.h <<_ACEOF
10413 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10414 _ACEOF
10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10421 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10422 case "x$with_xinerama" in
10423 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10424 xno) ;;
10425 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10426 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10427 esac
10430 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10431 then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10433 $as_echo_n "checking for -lXcomposite... " >&6; }
10434 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_check_soname_save_LIBS=$LIBS
10438 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10445 #ifdef __cplusplus
10446 extern "C"
10447 #endif
10448 char XCompositeRedirectWindow ();
10450 main ()
10452 return XCompositeRedirectWindow ();
10454 return 0;
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 case "$LIBEXT" in
10459 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10460 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'` ;;
10461 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10462 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10463 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10464 fi ;;
10465 esac
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_soname_save_LIBS
10471 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10473 $as_echo "not found" >&6; }
10475 else
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10477 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10479 cat >>confdefs.h <<_ACEOF
10480 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10481 _ACEOF
10486 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10487 case "x$with_xcomposite" in
10488 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10491 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10492 esac
10495 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10496 #include <X11/Xlib.h>
10497 #endif
10499 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10501 cat >>confdefs.h <<_ACEOF
10502 #define HAVE_XICCALLBACK_CALLBACK 1
10503 _ACEOF
10507 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10508 #include <X11/Xlib.h>
10509 #endif
10511 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10513 cat >>confdefs.h <<_ACEOF
10514 #define HAVE_XEVENT_XCOOKIE 1
10515 _ACEOF
10522 opengl_msg=""
10523 if test "x$with_opengl" != "xno"
10524 then
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10526 $as_echo_n "checking for -lGL... " >&6; }
10527 if ${ac_cv_lib_soname_GL+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_check_soname_save_LIBS=$LIBS
10531 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char glXCreateContext ();
10543 main ()
10545 return glXCreateContext ();
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 case "$LIBEXT" in
10552 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10553 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'` ;;
10554 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10555 if ${ac_cv_lib_soname_GL:+false} :; then :
10556 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10557 fi ;;
10558 esac
10560 rm -f core conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_soname_save_LIBS
10564 if ${ac_cv_lib_soname_GL:+false} :; then :
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10566 $as_echo "not found" >&6; }
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10568 $as_echo_n "checking for -lGL... " >&6; }
10569 if ${ac_cv_lib_soname_GL+:} false; then :
10570 $as_echo_n "(cached) " >&6
10571 else
10572 ac_check_soname_save_LIBS=$LIBS
10573 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"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10580 #ifdef __cplusplus
10581 extern "C"
10582 #endif
10583 char glXCreateContext ();
10585 main ()
10587 return glXCreateContext ();
10589 return 0;
10591 _ACEOF
10592 if ac_fn_c_try_link "$LINENO"; then :
10593 case "$LIBEXT" in
10594 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10595 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'` ;;
10596 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10597 if ${ac_cv_lib_soname_GL:+false} :; then :
10598 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10599 fi ;;
10600 esac
10602 rm -f core conftest.err conftest.$ac_objext \
10603 conftest$ac_exeext conftest.$ac_ext
10604 LIBS=$ac_check_soname_save_LIBS
10606 if ${ac_cv_lib_soname_GL:+false} :; then :
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10608 $as_echo "not found" >&6; }
10609 if test -f /usr/X11R6/lib/libGL.a
10610 then
10611 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10612 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10613 else
10614 opengl_msg="No OpenGL library found on this system."
10616 else
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10618 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10620 cat >>confdefs.h <<_ACEOF
10621 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10622 _ACEOF
10624 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"
10626 else
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10628 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10630 cat >>confdefs.h <<_ACEOF
10631 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10632 _ACEOF
10634 OPENGL_LIBS="-lGL"
10636 if test "x$with_glu" != "xno"
10637 then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10639 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10640 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10641 $as_echo_n "(cached) " >&6
10642 else
10643 ac_check_lib_save_LIBS=$LIBS
10644 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10651 #ifdef __cplusplus
10652 extern "C"
10653 #endif
10654 char gluLookAt ();
10656 main ()
10658 return gluLookAt ();
10660 return 0;
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"; then :
10664 ac_cv_lib_GLU_gluLookAt=yes
10665 else
10666 ac_cv_lib_GLU_gluLookAt=no
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LIBS=$ac_check_lib_save_LIBS
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10673 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10674 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10678 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10679 case "x$with_glu" in
10680 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10681 xno) ;;
10682 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10683 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10684 esac
10688 if test "x$with_osmesa" != "xno"
10689 then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10691 $as_echo_n "checking for -lOSMesa... " >&6; }
10692 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10693 $as_echo_n "(cached) " >&6
10694 else
10695 ac_check_soname_save_LIBS=$LIBS
10696 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10703 #ifdef __cplusplus
10704 extern "C"
10705 #endif
10706 char glAccum ();
10708 main ()
10710 return glAccum ();
10712 return 0;
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 case "$LIBEXT" in
10717 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10718 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'` ;;
10719 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10720 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10721 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10722 fi ;;
10723 esac
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 LIBS=$ac_check_soname_save_LIBS
10729 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10731 $as_echo "not found" >&6; }
10733 else
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10735 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10737 cat >>confdefs.h <<_ACEOF
10738 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10739 _ACEOF
10743 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10744 case "x$with_osmesa" in
10745 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10746 xno) ;;
10747 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10748 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10749 esac
10753 if test -n "$opengl_msg"; then :
10754 case "x$with_opengl" in
10755 x) as_fn_append wine_warnings "|$opengl_msg
10756 OpenGL and Direct3D won't be supported." ;;
10757 xno) ;;
10758 *) as_fn_error $? "$opengl_msg
10759 OpenGL and Direct3D won't be supported.
10760 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10761 esac
10764 CPPFLAGS="$ac_save_CPPFLAGS"
10765 else
10766 X_CFLAGS=""
10767 X_LIBS=""
10768 enable_winex11_drv=${enable_winex11_drv:-no}
10770 if test "x$X_LIBS" = "x"; then :
10771 case "x$with_x" in
10772 xno) ;;
10773 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10774 without X support, which probably isn't what you want. You will need
10775 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10776 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10777 esac
10780 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10782 if test "$ac_cv_header_CL_cl_h" = "yes"
10783 then
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10785 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10786 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lOpenCL $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char clGetPlatformInfo ();
10802 main ()
10804 return clGetPlatformInfo ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10811 else
10812 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10819 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10820 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10821 OPENCL_LIBS="-lOpenCL"
10826 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10827 case "x$with_opencl" in
10828 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10829 xno) ;;
10830 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10831 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10832 esac
10834 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10836 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10837 then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10839 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10840 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10841 $as_echo_n "(cached) " >&6
10842 else
10843 ac_check_lib_save_LIBS=$LIBS
10844 LIBS="-lpcap $LIBS"
10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h. */
10848 /* Override any GCC internal prototype to avoid an error.
10849 Use char because int might match the return type of a GCC
10850 builtin and then its argument prototype would still apply. */
10851 #ifdef __cplusplus
10852 extern "C"
10853 #endif
10854 char pcap_create ();
10856 main ()
10858 return pcap_create ();
10860 return 0;
10862 _ACEOF
10863 if ac_fn_c_try_link "$LINENO"; then :
10864 ac_cv_lib_pcap_pcap_create=yes
10865 else
10866 ac_cv_lib_pcap_pcap_create=no
10868 rm -f core conftest.err conftest.$ac_objext \
10869 conftest$ac_exeext conftest.$ac_ext
10870 LIBS=$ac_check_lib_save_LIBS
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10873 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10874 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10875 LIBPCAP="-lpcap"
10880 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10881 case "x$with_pcap" in
10882 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10883 xno) ;;
10884 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10885 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10886 esac
10888 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10891 if test "x$with_xml" != "xno"
10892 then
10893 if ${XML2_CFLAGS:+false} :; then :
10894 if ${PKG_CONFIG+:} false; then :
10895 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10898 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10899 if ${XML2_LIBS:+false} :; then :
10900 if ${PKG_CONFIG+:} false; then :
10901 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10904 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10905 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10906 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10907 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10908 ac_save_CPPFLAGS=$CPPFLAGS
10909 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10910 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10911 do :
10912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10913 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10915 cat >>confdefs.h <<_ACEOF
10916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10917 _ACEOF
10921 done
10923 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"
10924 then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10926 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10927 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lxml2 $XML2_LIBS $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char xmlParseMemory ();
10943 main ()
10945 return xmlParseMemory ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_xml2_xmlParseMemory=yes
10952 else
10953 ac_cv_lib_xml2_xmlParseMemory=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10960 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10961 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10963 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10965 else
10966 XML2_LIBS=""
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10970 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char xmlReadMemory ();
10987 main ()
10989 return xmlReadMemory ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_xml2_xmlReadMemory=yes
10996 else
10997 ac_cv_lib_xml2_xmlReadMemory=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11007 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11012 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11013 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11014 $as_echo_n "(cached) " >&6
11015 else
11016 ac_check_lib_save_LIBS=$LIBS
11017 LIBS="-lxml2 $XML2_LIBS $LIBS"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11024 #ifdef __cplusplus
11025 extern "C"
11026 #endif
11027 char xmlNewDocPI ();
11029 main ()
11031 return xmlNewDocPI ();
11033 return 0;
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"; then :
11037 ac_cv_lib_xml2_xmlNewDocPI=yes
11038 else
11039 ac_cv_lib_xml2_xmlNewDocPI=no
11041 rm -f core conftest.err conftest.$ac_objext \
11042 conftest$ac_exeext conftest.$ac_ext
11043 LIBS=$ac_check_lib_save_LIBS
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11046 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11047 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11049 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11054 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11055 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-lxml2 $XML2_LIBS $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char xmlSchemaSetParserStructuredErrors ();
11071 main ()
11073 return xmlSchemaSetParserStructuredErrors ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11080 else
11081 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11088 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11089 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11091 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11096 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11097 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11098 $as_echo_n "(cached) " >&6
11099 else
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-lxml2 $XML2_LIBS $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char xmlSchemaSetValidStructuredErrors ();
11113 main ()
11115 return xmlSchemaSetValidStructuredErrors ();
11117 return 0;
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11122 else
11123 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11130 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11131 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11133 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11138 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11139 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-lxml2 $XML2_LIBS $LIBS"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char xmlFirstElementChild ();
11155 main ()
11157 return xmlFirstElementChild ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11163 ac_cv_lib_xml2_xmlFirstElementChild=yes
11164 else
11165 ac_cv_lib_xml2_xmlFirstElementChild=no
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11172 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11173 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11175 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11179 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11181 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11183 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11187 else
11188 XML2_CFLAGS=""
11189 XML2_LIBS=""
11191 CPPFLAGS=$ac_save_CPPFLAGS
11192 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11193 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11196 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11197 case "x$with_xml" in
11198 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11199 xno) ;;
11200 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11201 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11202 esac
11205 if test "x$with_xslt" != "xno"
11206 then
11207 if ${XSLT_CFLAGS:+false} :; then :
11208 if ${PKG_CONFIG+:} false; then :
11209 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11212 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11213 if ${XSLT_LIBS:+false} :; then :
11214 if ${PKG_CONFIG+:} false; then :
11215 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11218 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11219 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11220 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11221 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11222 ac_save_CPPFLAGS=$CPPFLAGS
11223 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11224 for ac_header in libxslt/pattern.h libxslt/transform.h
11225 do :
11226 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11227 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11228 # include <libxslt/pattern.h>
11229 #endif
11231 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11232 cat >>confdefs.h <<_ACEOF
11233 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11234 _ACEOF
11238 done
11240 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11241 then
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11243 $as_echo_n "checking for -lxslt... " >&6; }
11244 if ${ac_cv_lib_soname_xslt+:} false; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_soname_save_LIBS=$LIBS
11248 LIBS="-lxslt $XSLT_LIBS $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h. */
11252 /* Override any GCC internal prototype to avoid an error.
11253 Use char because int might match the return type of a GCC
11254 builtin and then its argument prototype would still apply. */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char xsltCompilePattern ();
11260 main ()
11262 return xsltCompilePattern ();
11264 return 0;
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268 case "$LIBEXT" in
11269 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11270 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'` ;;
11271 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11272 if ${ac_cv_lib_soname_xslt:+false} :; then :
11273 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11274 fi ;;
11275 esac
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_soname_save_LIBS
11281 if ${ac_cv_lib_soname_xslt:+false} :; then :
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11283 $as_echo "not found" >&6; }
11285 else
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11287 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11289 cat >>confdefs.h <<_ACEOF
11290 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11291 _ACEOF
11295 else
11296 XSLT_CFLAGS=""
11298 CPPFLAGS=$ac_save_CPPFLAGS
11299 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11300 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11303 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11304 case "x$with_xslt" in
11305 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11306 xno) ;;
11307 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11308 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11309 esac
11312 if test "x$with_dbus" != "xno"
11313 then
11314 if ${DBUS_CFLAGS:+false} :; then :
11315 if ${PKG_CONFIG+:} false; then :
11316 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11320 if ${DBUS_LIBS:+false} :; then :
11321 if ${PKG_CONFIG+:} false; then :
11322 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11327 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11329 ac_save_CPPFLAGS=$CPPFLAGS
11330 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11331 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11332 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11334 $as_echo_n "checking for -ldbus-1... " >&6; }
11335 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_soname_save_LIBS=$LIBS
11339 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char dbus_connection_close ();
11351 main ()
11353 return dbus_connection_close ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 case "$LIBEXT" in
11360 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11361 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'` ;;
11362 *) 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'`
11363 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11364 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11365 fi ;;
11366 esac
11368 rm -f core conftest.err conftest.$ac_objext \
11369 conftest$ac_exeext conftest.$ac_ext
11370 LIBS=$ac_check_soname_save_LIBS
11372 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11374 $as_echo "not found" >&6; }
11375 DBUS_CFLAGS=""
11376 else
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11378 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11380 cat >>confdefs.h <<_ACEOF
11381 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11382 _ACEOF
11386 else
11387 DBUS_CFLAGS=""
11391 CPPFLAGS=$ac_save_CPPFLAGS
11392 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11393 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11396 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11397 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11398 case "x$with_dbus" in
11399 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11400 xno) ;;
11401 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11402 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11403 esac
11406 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11407 then
11408 if ${HAL_CFLAGS:+false} :; then :
11409 if ${PKG_CONFIG+:} false; then :
11410 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11414 if ${HAL_LIBS:+false} :; then :
11415 if ${PKG_CONFIG+:} false; then :
11416 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11420 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11421 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11422 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11423 ac_save_CPPFLAGS=$CPPFLAGS
11424 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11425 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11426 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11428 $as_echo_n "checking for -lhal... " >&6; }
11429 if ${ac_cv_lib_soname_hal+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_soname_save_LIBS=$LIBS
11433 LIBS="-lhal $HAL_LIBS $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char libhal_ctx_new ();
11445 main ()
11447 return libhal_ctx_new ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 case "$LIBEXT" in
11454 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11455 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'` ;;
11456 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11457 if ${ac_cv_lib_soname_hal:+false} :; then :
11458 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11459 fi ;;
11460 esac
11462 rm -f core conftest.err conftest.$ac_objext \
11463 conftest$ac_exeext conftest.$ac_ext
11464 LIBS=$ac_check_soname_save_LIBS
11466 if ${ac_cv_lib_soname_hal:+false} :; then :
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11468 $as_echo "not found" >&6; }
11469 HAL_CFLAGS=""
11470 else
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11472 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11474 cat >>confdefs.h <<_ACEOF
11475 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11476 _ACEOF
11480 else
11481 HAL_CFLAGS=""
11485 CPPFLAGS=$ac_save_CPPFLAGS
11486 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11487 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11489 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11491 case "x$with_hal" in
11492 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11493 xno) ;;
11494 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11495 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11496 esac
11500 if test "x$with_gnutls" != "xno"
11501 then
11502 if ${GNUTLS_CFLAGS:+false} :; then :
11503 if ${PKG_CONFIG+:} false; then :
11504 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11508 if ${GNUTLS_LIBS:+false} :; then :
11509 if ${PKG_CONFIG+:} false; then :
11510 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11515 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11516 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11517 ac_save_CPPFLAGS=$CPPFLAGS
11518 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11519 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11520 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11523 #include <gnutls/gnutls.h>
11524 #include <gnutls/crypto.h>
11526 main ()
11528 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11530 return 0;
11532 _ACEOF
11533 if ac_fn_c_try_compile "$LINENO"; then :
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11535 $as_echo_n "checking for -lgnutls... " >&6; }
11536 if ${ac_cv_lib_soname_gnutls+:} false; then :
11537 $as_echo_n "(cached) " >&6
11538 else
11539 ac_check_soname_save_LIBS=$LIBS
11540 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542 /* end confdefs.h. */
11544 /* Override any GCC internal prototype to avoid an error.
11545 Use char because int might match the return type of a GCC
11546 builtin and then its argument prototype would still apply. */
11547 #ifdef __cplusplus
11548 extern "C"
11549 #endif
11550 char gnutls_global_init ();
11552 main ()
11554 return gnutls_global_init ();
11556 return 0;
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"; then :
11560 case "$LIBEXT" in
11561 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11562 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'` ;;
11563 *) 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'`
11564 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11565 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'`
11566 fi ;;
11567 esac
11569 rm -f core conftest.err conftest.$ac_objext \
11570 conftest$ac_exeext conftest.$ac_ext
11571 LIBS=$ac_check_soname_save_LIBS
11573 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11575 $as_echo "not found" >&6; }
11576 GNUTLS_CFLAGS=""
11577 else
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11579 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11581 cat >>confdefs.h <<_ACEOF
11582 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11583 _ACEOF
11588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11589 else
11590 GNUTLS_CFLAGS=""
11594 CPPFLAGS=$ac_save_CPPFLAGS
11595 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11596 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11599 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11600 case "x$with_gnutls" in
11601 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11602 xno) ;;
11603 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11604 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11605 esac
11608 CURSES_LIBS=""
11609 if test "$ac_cv_header_ncurses_h" = "yes"
11610 then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11612 $as_echo_n "checking for -lncurses... " >&6; }
11613 if ${ac_cv_lib_soname_ncurses+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_soname_save_LIBS=$LIBS
11617 LIBS="-lncurses $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char waddch ();
11629 main ()
11631 return waddch ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 case "$LIBEXT" in
11638 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11639 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'` ;;
11640 *) 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'`
11641 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11642 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11643 fi ;;
11644 esac
11646 rm -f core conftest.err conftest.$ac_objext \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_soname_save_LIBS
11650 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11652 $as_echo "not found" >&6; }
11654 else
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11656 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11658 cat >>confdefs.h <<_ACEOF
11659 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11660 _ACEOF
11662 CURSES_LIBS="-lncurses"
11664 elif test "$ac_cv_header_curses_h" = "yes"
11665 then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11667 $as_echo_n "checking for -lcurses... " >&6; }
11668 if ${ac_cv_lib_soname_curses+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_soname_save_LIBS=$LIBS
11672 LIBS="-lcurses $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 waddch ();
11684 main ()
11686 return waddch ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 case "$LIBEXT" in
11693 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11694 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'` ;;
11695 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11696 if ${ac_cv_lib_soname_curses:+false} :; then :
11697 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$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_curses:+false} :; then :
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11707 $as_echo "not found" >&6; }
11709 else
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11711 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11713 cat >>confdefs.h <<_ACEOF
11714 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11715 _ACEOF
11717 CURSES_LIBS="-lcurses"
11720 ac_save_LIBS="$LIBS"
11721 LIBS="$LIBS $CURSES_LIBS"
11722 for ac_func in mousemask
11723 do :
11724 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11725 if test "x$ac_cv_func_mousemask" = xyes; then :
11726 cat >>confdefs.h <<_ACEOF
11727 #define HAVE_MOUSEMASK 1
11728 _ACEOF
11731 done
11733 LIBS="$ac_save_LIBS"
11734 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11735 case "x$with_curses" in
11736 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11737 xno) ;;
11738 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11739 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11740 esac
11743 if test "x$with_sane" != "xno"
11744 then
11745 if ${SANE_CFLAGS:+false} :; then :
11746 if ${PKG_CONFIG+:} false; then :
11747 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11750 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11751 if ${SANE_LIBS:+false} :; then :
11752 if ${PKG_CONFIG+:} false; then :
11753 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11756 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11758 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11759 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11760 ac_save_CPPFLAGS=$CPPFLAGS
11761 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11762 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11763 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11765 $as_echo_n "checking for -lsane... " >&6; }
11766 if ${ac_cv_lib_soname_sane+:} false; then :
11767 $as_echo_n "(cached) " >&6
11768 else
11769 ac_check_soname_save_LIBS=$LIBS
11770 LIBS="-lsane $SANE_LIBS $LIBS"
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11777 #ifdef __cplusplus
11778 extern "C"
11779 #endif
11780 char sane_init ();
11782 main ()
11784 return sane_init ();
11786 return 0;
11788 _ACEOF
11789 if ac_fn_c_try_link "$LINENO"; then :
11790 case "$LIBEXT" in
11791 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11792 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'` ;;
11793 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11794 if ${ac_cv_lib_soname_sane:+false} :; then :
11795 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11796 fi ;;
11797 esac
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_soname_save_LIBS
11803 if ${ac_cv_lib_soname_sane:+false} :; then :
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11805 $as_echo "not found" >&6; }
11806 SANE_CFLAGS=""
11807 else
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11809 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11811 cat >>confdefs.h <<_ACEOF
11812 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11813 _ACEOF
11817 else
11818 SANE_CFLAGS=""
11822 CPPFLAGS=$ac_save_CPPFLAGS
11823 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11824 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11827 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11828 case "x$with_sane" in
11829 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11830 xno) ;;
11831 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11832 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11833 esac
11836 if test "x$with_v4l" != "xno"
11837 then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11839 $as_echo_n "checking for -lv4l1... " >&6; }
11840 if ${ac_cv_lib_soname_v4l1+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_soname_save_LIBS=$LIBS
11844 LIBS="-lv4l1 $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char v4l1_open ();
11856 main ()
11858 return v4l1_open ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 case "$LIBEXT" in
11865 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11866 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'` ;;
11867 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11868 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11869 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11870 fi ;;
11871 esac
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_soname_save_LIBS
11877 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11879 $as_echo "not found" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11883 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11885 cat >>confdefs.h <<_ACEOF
11886 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11887 _ACEOF
11892 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11893 case "x$with_v4l" in
11894 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11897 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11898 esac
11901 if test "x$with_gphoto" != "xno"
11902 then
11903 if ${GPHOTO2_CFLAGS:+false} :; then :
11904 if ${PKG_CONFIG+:} false; then :
11905 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11908 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11909 if ${GPHOTO2_LIBS:+false} :; then :
11910 if ${PKG_CONFIG+:} false; then :
11911 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11914 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11915 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11916 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11917 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11918 ac_save_CPPFLAGS=$CPPFLAGS
11919 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11920 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11921 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11923 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11924 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 ac_check_lib_save_LIBS=$LIBS
11928 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char gp_camera_new ();
11940 main ()
11942 return gp_camera_new ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_gphoto2_gp_camera_new=yes
11949 else
11950 ac_cv_lib_gphoto2_gp_camera_new=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11957 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11958 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11960 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11962 else
11963 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11966 else
11967 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11971 CPPFLAGS=$ac_save_CPPFLAGS
11972 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11973 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11975 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11976 if ${PKG_CONFIG+:} false; then :
11977 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11980 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11981 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11982 if ${PKG_CONFIG+:} false; then :
11983 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11986 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11987 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11988 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11989 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11990 ac_save_CPPFLAGS=$CPPFLAGS
11991 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11992 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11993 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11995 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11996 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_lib_save_LIBS=$LIBS
12000 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char gp_port_info_list_new ();
12012 main ()
12014 return gp_port_info_list_new ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12021 else
12022 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12024 rm -f core conftest.err conftest.$ac_objext \
12025 conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_lib_save_LIBS
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12029 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12030 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12032 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12034 else
12035 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12038 else
12039 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12043 CPPFLAGS=$ac_save_CPPFLAGS
12044 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12045 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12048 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12049 case "x$with_gphoto" in
12050 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12051 xno) ;;
12052 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12053 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12054 esac
12056 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12057 case "x$with_gphoto" in
12058 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12061 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "$ac_cv_header_resolv_h" = "yes"
12067 then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12069 $as_echo_n "checking for resolver library... " >&6; }
12070 if ${ac_cv_have_resolv+:} false; then :
12071 $as_echo_n "(cached) " >&6
12072 else
12073 ac_save_LIBS="$LIBS"
12074 for lib in '' -lresolv
12076 LIBS="$lib $ac_save_LIBS"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12079 #ifdef HAVE_NETINET_IN_H
12080 #include <netinet/in.h>
12081 #endif
12082 #include <resolv.h>
12084 main ()
12086 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_have_resolv=${lib:-"none required"}
12093 else
12094 ac_cv_have_resolv="not found"
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 test "x$ac_cv_have_resolv" = "xnot found" || break
12099 done
12100 LIBS="$ac_save_LIBS"
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12103 $as_echo "$ac_cv_have_resolv" >&6; }
12105 case "$ac_cv_have_resolv" in
12106 "not found") ;;
12107 "none required")
12109 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12112 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12114 RESOLV_LIBS=$ac_cv_have_resolv
12116 esac
12119 if test "x$with_cms" != "xno"
12120 then
12121 if ${LCMS2_CFLAGS:+false} :; then :
12122 if ${PKG_CONFIG+:} false; then :
12123 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12127 if ${LCMS2_LIBS:+false} :; then :
12128 if ${PKG_CONFIG+:} false; then :
12129 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12133 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12134 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12135 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12138 for ac_header in lcms2.h
12139 do :
12140 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12141 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_LCMS2_H 1
12144 _ACEOF
12148 done
12150 if test "$ac_cv_header_lcms2_h" = "yes"
12151 then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12153 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12154 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_lib_save_LIBS=$LIBS
12158 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char cmsOpenProfileFromFile ();
12170 main ()
12172 return cmsOpenProfileFromFile ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12179 else
12180 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12187 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12188 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12190 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12192 else
12193 LCMS2_LIBS=""
12196 else
12197 LCMS2_CFLAGS=""
12198 LCMS2_LIBS=""
12200 CPPFLAGS=$ac_save_CPPFLAGS
12201 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12202 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12205 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12206 case "x$with_cms" in
12207 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12208 xno) ;;
12209 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12210 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12211 esac
12214 if test "x$with_freetype" != "xno"
12215 then
12216 if ${FREETYPE_CFLAGS:+false} :; then :
12217 if ${PKG_CONFIG+:} false; then :
12218 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12221 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12222 if ${FREETYPE_LIBS:+false} :; then :
12223 if ${PKG_CONFIG+:} false; then :
12224 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12227 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12228 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12229 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12230 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12231 ac_save_CPPFLAGS=$CPPFLAGS
12232 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12233 for ac_header in ft2build.h
12234 do :
12235 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12236 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12237 cat >>confdefs.h <<_ACEOF
12238 #define HAVE_FT2BUILD_H 1
12239 _ACEOF
12243 done
12245 if test "$ac_cv_header_ft2build_h" = "yes"
12246 then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12248 $as_echo_n "checking for -lfreetype... " >&6; }
12249 if ${ac_cv_lib_soname_freetype+:} false; then :
12250 $as_echo_n "(cached) " >&6
12251 else
12252 ac_check_soname_save_LIBS=$LIBS
12253 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12255 /* end confdefs.h. */
12257 /* Override any GCC internal prototype to avoid an error.
12258 Use char because int might match the return type of a GCC
12259 builtin and then its argument prototype would still apply. */
12260 #ifdef __cplusplus
12261 extern "C"
12262 #endif
12263 char FT_Init_FreeType ();
12265 main ()
12267 return FT_Init_FreeType ();
12269 return 0;
12271 _ACEOF
12272 if ac_fn_c_try_link "$LINENO"; then :
12273 case "$LIBEXT" in
12274 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12275 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'` ;;
12276 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12277 if ${ac_cv_lib_soname_freetype:+false} :; then :
12278 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12279 fi ;;
12280 esac
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_soname_save_LIBS
12286 if ${ac_cv_lib_soname_freetype:+false} :; then :
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12288 $as_echo "not found" >&6; }
12289 FREETYPE_LIBS=""
12290 else
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12292 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12294 cat >>confdefs.h <<_ACEOF
12295 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12296 _ACEOF
12299 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12301 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12302 #include FT_MODULE_H
12304 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12306 cat >>confdefs.h <<_ACEOF
12307 #define HAVE_FT_TRUETYPEENGINETYPE 1
12308 _ACEOF
12314 else
12315 FREETYPE_CFLAGS=""
12316 FREETYPE_LIBS=""
12318 CPPFLAGS=$ac_save_CPPFLAGS
12319 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12320 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12323 if test "x$ac_cv_lib_soname_freetype" = x; then :
12324 case "x$with_freetype" in
12325 xno) ;;
12326 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12327 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12328 esac
12330 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12333 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12334 if ${ac_cv_c_ppdev+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12339 #ifdef HAVE_SYS_IOCTL_H
12340 # include <sys/ioctl.h>
12341 #endif
12342 #include <linux/ppdev.h>
12344 main ()
12346 ioctl (1,PPCLAIM,0)
12348 return 0;
12350 _ACEOF
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352 ac_cv_c_ppdev="yes"
12353 else
12354 ac_cv_c_ppdev="no"
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12359 $as_echo "$ac_cv_c_ppdev" >&6; }
12360 if test "$ac_cv_c_ppdev" = "yes"
12361 then
12363 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12367 ac_wine_check_funcs_save_LIBS="$LIBS"
12368 LIBS="$LIBS $PTHREAD_LIBS"
12369 for ac_func in \
12370 pthread_attr_get_np \
12371 pthread_getattr_np \
12372 pthread_getthreadid_np \
12373 pthread_get_stackaddr_np \
12374 pthread_get_stacksize_np
12375 do :
12376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12378 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12379 cat >>confdefs.h <<_ACEOF
12380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12381 _ACEOF
12384 done
12386 LIBS="$ac_wine_check_funcs_save_LIBS"
12388 if test "$ac_cv_header_zlib_h" = "yes"
12389 then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12391 $as_echo_n "checking for inflate in -lz... " >&6; }
12392 if ${ac_cv_lib_z_inflate+:} false; then :
12393 $as_echo_n "(cached) " >&6
12394 else
12395 ac_check_lib_save_LIBS=$LIBS
12396 LIBS="-lz $LIBS"
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char inflate ();
12408 main ()
12410 return inflate ();
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_link "$LINENO"; then :
12416 ac_cv_lib_z_inflate=yes
12417 else
12418 ac_cv_lib_z_inflate=no
12420 rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_lib_save_LIBS
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12425 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12426 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12428 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12430 Z_LIBS="-lz"
12435 if test "x$Z_LIBS" = "x"; then :
12436 case "x$with_zlib" in
12437 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12438 xno) ;;
12439 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12440 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12441 esac
12444 if test "x$enable_tools" != xno
12445 then
12446 if test "$ac_cv_header_gettext_po_h" = "yes"
12447 then
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12449 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12450 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 ac_check_lib_save_LIBS=$LIBS
12454 LIBS="-lgettextpo $LIBS"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 #endif
12464 char po_message_msgctxt ();
12466 main ()
12468 return po_message_msgctxt ();
12470 return 0;
12472 _ACEOF
12473 if ac_fn_c_try_link "$LINENO"; then :
12474 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12475 else
12476 ac_cv_lib_gettextpo_po_message_msgctxt=no
12478 rm -f core conftest.err conftest.$ac_objext \
12479 conftest$ac_exeext conftest.$ac_ext
12480 LIBS=$ac_check_lib_save_LIBS
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12483 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12484 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12486 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12488 GETTEXTPO_LIBS="-lgettextpo"
12493 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12494 case "x$with_gettextpo" in
12495 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12496 xno) ;;
12497 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12498 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12499 esac
12503 if test "x$with_gstreamer" != "xno"
12504 then
12505 if ${GSTREAMER_CFLAGS:+false} :; then :
12506 if ${PKG_CONFIG+:} false; then :
12507 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12511 if ${GSTREAMER_LIBS:+false} :; then :
12512 if ${PKG_CONFIG+:} false; then :
12513 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12518 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12519 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12520 ac_save_CPPFLAGS=$CPPFLAGS
12521 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12522 ac_gst_incl=""
12523 for i in $GSTREAMER_CFLAGS
12525 case "$i" in
12526 -I*) ac_gst_incl="$ac_gst_incl $i";;
12527 esac
12528 done
12529 GSTREAMER_CFLAGS=$ac_gst_incl
12530 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12531 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12532 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12533 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12534 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12536 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12539 #include <gst/app/gstappsink.h>
12541 main ()
12543 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_compile "$LINENO"; then :
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12550 $as_echo "yes" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12552 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12553 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lgstreamer-0.10 $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char gst_pad_get_caps_reffed ();
12569 main ()
12571 return gst_pad_get_caps_reffed ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12578 else
12579 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12586 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12587 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12589 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12590 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12591 $as_echo_n "(cached) " >&6
12592 else
12593 ac_check_lib_save_LIBS=$LIBS
12594 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12598 /* Override any GCC internal prototype to avoid an error.
12599 Use char because int might match the return type of a GCC
12600 builtin and then its argument prototype would still apply. */
12601 #ifdef __cplusplus
12602 extern "C"
12603 #endif
12604 char gst_app_buffer_new ();
12606 main ()
12608 return gst_app_buffer_new ();
12610 return 0;
12612 _ACEOF
12613 if ac_fn_c_try_link "$LINENO"; then :
12614 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12615 else
12616 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12618 rm -f core conftest.err conftest.$ac_objext \
12619 conftest$ac_exeext conftest.$ac_ext
12620 LIBS=$ac_check_lib_save_LIBS
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12623 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12624 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12630 else
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12638 else
12639 GSTREAMER_CFLAGS=""
12643 CPPFLAGS=$ac_save_CPPFLAGS
12644 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12645 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12648 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12649 case "x$with_gstreamer" in
12650 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12651 xno) ;;
12652 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12653 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12654 esac
12656 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12658 ALSA_LIBS=""
12660 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12661 then
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12663 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12664 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12665 $as_echo_n "(cached) " >&6
12666 else
12667 ac_check_lib_save_LIBS=$LIBS
12668 LIBS="-lasound $LIBS"
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 /* Override any GCC internal prototype to avoid an error.
12673 Use char because int might match the return type of a GCC
12674 builtin and then its argument prototype would still apply. */
12675 #ifdef __cplusplus
12676 extern "C"
12677 #endif
12678 char snd_pcm_hw_params_get_access_mask ();
12680 main ()
12682 return snd_pcm_hw_params_get_access_mask ();
12684 return 0;
12686 _ACEOF
12687 if ac_fn_c_try_link "$LINENO"; then :
12688 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12689 else
12690 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_lib_save_LIBS
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12697 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12698 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12701 #ifdef HAVE_ALSA_ASOUNDLIB_H
12702 #include <alsa/asoundlib.h>
12703 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12704 #include <sys/asoundlib.h>
12705 #endif
12707 main ()
12709 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12711 return 0;
12713 _ACEOF
12714 if ac_fn_c_try_compile "$LINENO"; then :
12715 ALSA_LIBS="-lasound"
12717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 if test "x$with_oss" != xno
12723 then
12724 ac_save_CPPFLAGS="$CPPFLAGS"
12725 if test -f /etc/oss.conf
12726 then
12727 . /etc/oss.conf
12729 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12730 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12731 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12733 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12735 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12737 cat >>confdefs.h <<_ACEOF
12738 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12739 _ACEOF
12741 OSS4_CFLAGS="$ac_oss_incl"
12748 CPPFLAGS="$ac_save_CPPFLAGS"
12749 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12750 then
12751 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12755 if test "x$with_capi" != "xno"
12756 then
12757 if ${CAPI20_CFLAGS:+false} :; then :
12758 if ${PKG_CONFIG+:} false; then :
12759 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12763 if ${CAPI20_LIBS:+false} :; then :
12764 if ${PKG_CONFIG+:} false; then :
12765 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12770 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12771 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12772 ac_save_CPPFLAGS=$CPPFLAGS
12773 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12774 for ac_header in capi20.h linux/capi.h
12775 do :
12776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12777 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12780 cat >>confdefs.h <<_ACEOF
12781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12782 _ACEOF
12786 done
12788 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12791 $as_echo_n "checking for -lcapi20... " >&6; }
12792 if ${ac_cv_lib_soname_capi20+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_soname_save_LIBS=$LIBS
12796 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char capi20_register ();
12808 main ()
12810 return capi20_register ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 case "$LIBEXT" in
12817 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12818 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'` ;;
12819 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12820 if ${ac_cv_lib_soname_capi20:+false} :; then :
12821 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12822 fi ;;
12823 esac
12825 rm -f core conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_soname_save_LIBS
12829 if ${ac_cv_lib_soname_capi20:+false} :; then :
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12831 $as_echo "not found" >&6; }
12833 else
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12835 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12837 cat >>confdefs.h <<_ACEOF
12838 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12839 _ACEOF
12844 CPPFLAGS=$ac_save_CPPFLAGS
12845 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12846 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12849 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12850 case "x$with_capi" in
12851 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12852 xno) ;;
12853 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12854 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12855 esac
12858 CUPS_CFLAGS=""
12860 if test "x$with_cups" != "xno"
12861 then
12862 ac_save_CPPFLAGS="$CPPFLAGS"
12863 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12864 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12865 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12866 for ac_header in cups/cups.h
12867 do :
12868 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12869 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12870 cat >>confdefs.h <<_ACEOF
12871 #define HAVE_CUPS_CUPS_H 1
12872 _ACEOF
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12874 $as_echo_n "checking for -lcups... " >&6; }
12875 if ${ac_cv_lib_soname_cups+:} false; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 ac_check_soname_save_LIBS=$LIBS
12879 LIBS="-lcups $ac_cups_libs $LIBS"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 /* Override any GCC internal prototype to avoid an error.
12884 Use char because int might match the return type of a GCC
12885 builtin and then its argument prototype would still apply. */
12886 #ifdef __cplusplus
12887 extern "C"
12888 #endif
12889 char cupsGetDefault ();
12891 main ()
12893 return cupsGetDefault ();
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_link "$LINENO"; then :
12899 case "$LIBEXT" in
12900 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12901 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'` ;;
12902 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12903 if ${ac_cv_lib_soname_cups:+false} :; then :
12904 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12905 fi ;;
12906 esac
12908 rm -f core conftest.err conftest.$ac_objext \
12909 conftest$ac_exeext conftest.$ac_ext
12910 LIBS=$ac_check_soname_save_LIBS
12912 if ${ac_cv_lib_soname_cups:+false} :; then :
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12914 $as_echo "not found" >&6; }
12916 else
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12918 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12920 cat >>confdefs.h <<_ACEOF
12921 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12922 _ACEOF
12924 CUPS_CFLAGS="$ac_cups_cflags"
12928 done
12930 CPPFLAGS="$ac_save_CPPFLAGS"
12932 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12933 case "x$with_cups" in
12934 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12935 xno) ;;
12936 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12937 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12938 esac
12941 if test "x$with_fontconfig" != "xno"
12942 then
12943 if ${FONTCONFIG_CFLAGS:+false} :; then :
12944 if ${PKG_CONFIG+:} false; then :
12945 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12948 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12949 if ${FONTCONFIG_LIBS:+false} :; then :
12950 if ${PKG_CONFIG+:} false; then :
12951 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12954 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12956 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12957 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12958 ac_save_CPPFLAGS=$CPPFLAGS
12959 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12960 for ac_header in fontconfig/fontconfig.h
12961 do :
12962 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12963 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12964 cat >>confdefs.h <<_ACEOF
12965 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12966 _ACEOF
12970 done
12972 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12973 then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12975 $as_echo_n "checking for -lfontconfig... " >&6; }
12976 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_soname_save_LIBS=$LIBS
12980 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char FcInit ();
12992 main ()
12994 return FcInit ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 case "$LIBEXT" in
13001 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13002 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'` ;;
13003 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13004 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13005 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13006 fi ;;
13007 esac
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_soname_save_LIBS
13013 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13015 $as_echo "not found" >&6; }
13016 FONTCONFIG_CFLAGS=""
13017 else
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13019 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13021 cat >>confdefs.h <<_ACEOF
13022 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13023 _ACEOF
13027 else
13028 FONTCONFIG_CFLAGS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13031 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13036 case "x$with_fontconfig" in
13037 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13038 xno) ;;
13039 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13040 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13041 esac
13044 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13045 then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13047 $as_echo_n "checking for -lgsm... " >&6; }
13048 if ${ac_cv_lib_soname_gsm+:} false; then :
13049 $as_echo_n "(cached) " >&6
13050 else
13051 ac_check_soname_save_LIBS=$LIBS
13052 LIBS="-lgsm $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13059 #ifdef __cplusplus
13060 extern "C"
13061 #endif
13062 char gsm_create ();
13064 main ()
13066 return gsm_create ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"; then :
13072 case "$LIBEXT" in
13073 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13074 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'` ;;
13075 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13076 if ${ac_cv_lib_soname_gsm:+false} :; then :
13077 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13078 fi ;;
13079 esac
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_soname_save_LIBS
13085 if ${ac_cv_lib_soname_gsm:+false} :; then :
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13087 $as_echo "not found" >&6; }
13089 else
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13091 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13093 cat >>confdefs.h <<_ACEOF
13094 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13095 _ACEOF
13100 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13101 case "x$with_gsm" in
13102 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13103 xno) ;;
13104 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13105 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13106 esac
13109 if test "x$with_jpeg" != "xno"
13110 then
13111 if ${JPEG_CFLAGS:+false} :; then :
13112 if ${PKG_CONFIG+:} false; then :
13113 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13117 if ${JPEG_LIBS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13124 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13125 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13126 ac_save_CPPFLAGS=$CPPFLAGS
13127 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13128 for ac_header in jpeglib.h
13129 do :
13130 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13131 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13132 cat >>confdefs.h <<_ACEOF
13133 #define HAVE_JPEGLIB_H 1
13134 _ACEOF
13138 done
13140 if test "$ac_cv_header_jpeglib_h" = "yes"
13141 then
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13143 $as_echo_n "checking for -ljpeg... " >&6; }
13144 if ${ac_cv_lib_soname_jpeg+:} false; then :
13145 $as_echo_n "(cached) " >&6
13146 else
13147 ac_check_soname_save_LIBS=$LIBS
13148 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 /* Override any GCC internal prototype to avoid an error.
13153 Use char because int might match the return type of a GCC
13154 builtin and then its argument prototype would still apply. */
13155 #ifdef __cplusplus
13156 extern "C"
13157 #endif
13158 char jpeg_start_decompress ();
13160 main ()
13162 return jpeg_start_decompress ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 case "$LIBEXT" in
13169 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13170 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'` ;;
13171 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13172 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13173 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13174 fi ;;
13175 esac
13177 rm -f core conftest.err conftest.$ac_objext \
13178 conftest$ac_exeext conftest.$ac_ext
13179 LIBS=$ac_check_soname_save_LIBS
13181 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13183 $as_echo "not found" >&6; }
13184 JPEG_CFLAGS=""
13185 else
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13187 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13189 cat >>confdefs.h <<_ACEOF
13190 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13191 _ACEOF
13195 else
13196 JPEG_CFLAGS=""
13198 CPPFLAGS=$ac_save_CPPFLAGS
13199 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13200 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13203 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13204 case "x$with_jpeg" in
13205 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13206 xno) ;;
13207 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13208 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13209 esac
13212 if test "x$with_png" != "xno"
13213 then
13214 if ${PNG_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13219 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13220 if ${PNG_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13225 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13231 for ac_header in png.h
13232 do :
13233 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13234 if test "x$ac_cv_header_png_h" = xyes; then :
13235 cat >>confdefs.h <<_ACEOF
13236 #define HAVE_PNG_H 1
13237 _ACEOF
13241 done
13243 if test "$ac_cv_header_png_h" = "yes"
13244 then
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13246 $as_echo_n "checking for -lpng... " >&6; }
13247 if ${ac_cv_lib_soname_png+:} false; then :
13248 $as_echo_n "(cached) " >&6
13249 else
13250 ac_check_soname_save_LIBS=$LIBS
13251 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13255 /* Override any GCC internal prototype to avoid an error.
13256 Use char because int might match the return type of a GCC
13257 builtin and then its argument prototype would still apply. */
13258 #ifdef __cplusplus
13259 extern "C"
13260 #endif
13261 char png_create_read_struct ();
13263 main ()
13265 return png_create_read_struct ();
13267 return 0;
13269 _ACEOF
13270 if ac_fn_c_try_link "$LINENO"; then :
13271 case "$LIBEXT" in
13272 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13273 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'` ;;
13274 *) 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'`
13275 if ${ac_cv_lib_soname_png:+false} :; then :
13276 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13277 fi ;;
13278 esac
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_soname_save_LIBS
13284 if ${ac_cv_lib_soname_png:+false} :; then :
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13286 $as_echo "not found" >&6; }
13287 PNG_CFLAGS=""
13288 else
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13290 $as_echo "$ac_cv_lib_soname_png" >&6; }
13292 cat >>confdefs.h <<_ACEOF
13293 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13294 _ACEOF
13296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13297 /* end confdefs.h. */
13298 #include <png.h>
13300 main ()
13302 typeof(png_set_expand_gray_1_2_4_to_8) *p
13304 return 0;
13306 _ACEOF
13307 if ac_fn_c_try_compile "$LINENO"; then :
13309 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13314 else
13315 PNG_CFLAGS=""
13317 CPPFLAGS=$ac_save_CPPFLAGS
13318 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13319 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13322 if test "x$ac_cv_lib_soname_png" = "x"; then :
13323 case "x$with_png" in
13324 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13325 xno) ;;
13326 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13327 This is an error since --with-png was requested." "$LINENO" 5 ;;
13328 esac
13331 if test "x$with_tiff" != "xno"
13332 then
13333 if ${TIFF_CFLAGS:+false} :; then :
13334 if ${PKG_CONFIG+:} false; then :
13335 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13339 if ${TIFF_LIBS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13346 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13347 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13348 ac_save_CPPFLAGS=$CPPFLAGS
13349 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13350 for ac_header in tiffio.h
13351 do :
13352 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13353 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13354 cat >>confdefs.h <<_ACEOF
13355 #define HAVE_TIFFIO_H 1
13356 _ACEOF
13360 done
13362 if test "$ac_cv_header_tiffio_h" = "yes"
13363 then
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13365 $as_echo_n "checking for -ltiff... " >&6; }
13366 if ${ac_cv_lib_soname_tiff+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_soname_save_LIBS=$LIBS
13370 LIBS="-ltiff $TIFF_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char TIFFClientOpen ();
13382 main ()
13384 return TIFFClientOpen ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 case "$LIBEXT" in
13391 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13392 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'` ;;
13393 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13394 if ${ac_cv_lib_soname_tiff:+false} :; then :
13395 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13396 fi ;;
13397 esac
13399 rm -f core conftest.err conftest.$ac_objext \
13400 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_soname_save_LIBS
13403 if ${ac_cv_lib_soname_tiff:+false} :; then :
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13405 $as_echo "not found" >&6; }
13407 else
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13409 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13411 cat >>confdefs.h <<_ACEOF
13412 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13413 _ACEOF
13418 CPPFLAGS=$ac_save_CPPFLAGS
13419 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13420 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13423 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13424 case "x$with_tiff" in
13425 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13426 xno) ;;
13427 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13428 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13429 esac
13432 if test "x$with_mpg123" != "xno"
13433 then
13434 if ${MPG123_CFLAGS:+false} :; then :
13435 if ${PKG_CONFIG+:} false; then :
13436 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13440 if ${MPG123_LIBS:+false} :; then :
13441 if ${PKG_CONFIG+:} false; then :
13442 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13446 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13447 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13449 ac_save_CPPFLAGS=$CPPFLAGS
13450 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13451 for ac_header in mpg123.h
13452 do :
13453 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13454 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13455 cat >>confdefs.h <<_ACEOF
13456 #define HAVE_MPG123_H 1
13457 _ACEOF
13461 done
13463 if test "$ac_cv_header_mpg123_h" = "yes"
13464 then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13466 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13467 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13468 $as_echo_n "(cached) " >&6
13469 else
13470 ac_check_lib_save_LIBS=$LIBS
13471 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473 /* end confdefs.h. */
13475 /* Override any GCC internal prototype to avoid an error.
13476 Use char because int might match the return type of a GCC
13477 builtin and then its argument prototype would still apply. */
13478 #ifdef __cplusplus
13479 extern "C"
13480 #endif
13481 char mpg123_feed ();
13483 main ()
13485 return mpg123_feed ();
13487 return 0;
13489 _ACEOF
13490 if ac_fn_c_try_link "$LINENO"; then :
13491 ac_cv_lib_mpg123_mpg123_feed=yes
13492 else
13493 ac_cv_lib_mpg123_mpg123_feed=no
13495 rm -f core conftest.err conftest.$ac_objext \
13496 conftest$ac_exeext conftest.$ac_ext
13497 LIBS=$ac_check_lib_save_LIBS
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13500 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13501 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13503 else
13504 MPG123_LIBS=""
13507 else
13508 MPG123_CFLAGS=""
13509 MPG123_LIBS=""
13511 CPPFLAGS=$ac_save_CPPFLAGS
13512 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13513 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13516 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13517 case "x$with_mpg123" in
13518 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13519 xno) ;;
13520 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13521 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13522 esac
13524 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}
13526 if test "$ac_cv_header_AL_al_h" = "yes"
13527 then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13529 $as_echo_n "checking for -lopenal... " >&6; }
13530 if ${ac_cv_lib_soname_openal+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 ac_check_soname_save_LIBS=$LIBS
13534 LIBS="-lopenal $LIBS"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13541 #ifdef __cplusplus
13542 extern "C"
13543 #endif
13544 char alGetSource3i ();
13546 main ()
13548 return alGetSource3i ();
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 case "$LIBEXT" in
13555 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13556 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'` ;;
13557 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13558 if ${ac_cv_lib_soname_openal:+false} :; then :
13559 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13560 fi ;;
13561 esac
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_soname_save_LIBS
13567 if ${ac_cv_lib_soname_openal:+false} :; then :
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13569 $as_echo "not found" >&6; }
13571 else
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13573 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13575 cat >>confdefs.h <<_ACEOF
13576 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13577 _ACEOF
13579 OPENAL_LIBS="-lopenal"
13581 ac_cv_lib_openal=yes
13583 cat >>confdefs.h <<_ACEOF
13584 #define HAVE_OPENAL 1
13585 _ACEOF
13589 if test "x$ac_cv_lib_openal" != xyes; then :
13590 case "x$with_openal" in
13591 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13592 xno) ;;
13593 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13594 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13595 esac
13597 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13599 if test "$ac_cv_header_kstat_h" = "yes"
13600 then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13602 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13603 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13604 $as_echo_n "(cached) " >&6
13605 else
13606 ac_check_lib_save_LIBS=$LIBS
13607 LIBS="-lkstat $LIBS"
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13611 /* Override any GCC internal prototype to avoid an error.
13612 Use char because int might match the return type of a GCC
13613 builtin and then its argument prototype would still apply. */
13614 #ifdef __cplusplus
13615 extern "C"
13616 #endif
13617 char kstat_open ();
13619 main ()
13621 return kstat_open ();
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_lib_kstat_kstat_open=yes
13628 else
13629 ac_cv_lib_kstat_kstat_open=no
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_lib_save_LIBS
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13636 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13637 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13639 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13641 KSTAT_LIBS="-lkstat"
13647 if test "$ac_cv_header_libprocstat_h" = "yes"
13648 then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13650 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13651 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13652 $as_echo_n "(cached) " >&6
13653 else
13654 ac_check_lib_save_LIBS=$LIBS
13655 LIBS="-lprocstat $LIBS"
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13659 /* Override any GCC internal prototype to avoid an error.
13660 Use char because int might match the return type of a GCC
13661 builtin and then its argument prototype would still apply. */
13662 #ifdef __cplusplus
13663 extern "C"
13664 #endif
13665 char procstat_open_sysctl ();
13667 main ()
13669 return procstat_open_sysctl ();
13671 return 0;
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 ac_cv_lib_procstat_procstat_open_sysctl=yes
13676 else
13677 ac_cv_lib_procstat_procstat_open_sysctl=no
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 LIBS=$ac_check_lib_save_LIBS
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13684 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13685 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13687 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13689 PROCSTAT_LIBS="-lprocstat"
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13696 $as_echo_n "checking for -lodbc... " >&6; }
13697 if ${ac_cv_lib_soname_odbc+:} false; then :
13698 $as_echo_n "(cached) " >&6
13699 else
13700 ac_check_soname_save_LIBS=$LIBS
13701 LIBS="-lodbc $LIBS"
13702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13705 /* Override any GCC internal prototype to avoid an error.
13706 Use char because int might match the return type of a GCC
13707 builtin and then its argument prototype would still apply. */
13708 #ifdef __cplusplus
13709 extern "C"
13710 #endif
13711 char SQLConnect ();
13713 main ()
13715 return SQLConnect ();
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 case "$LIBEXT" in
13722 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13723 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'` ;;
13724 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13725 if ${ac_cv_lib_soname_odbc:+false} :; then :
13726 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13727 fi ;;
13728 esac
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_soname_save_LIBS
13734 if ${ac_cv_lib_soname_odbc:+false} :; then :
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13736 $as_echo "not found" >&6; }
13737 cat >>confdefs.h <<_ACEOF
13738 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13739 _ACEOF
13741 else
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13743 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13745 cat >>confdefs.h <<_ACEOF
13746 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13747 _ACEOF
13752 if test "x$with_netapi" != "xno"
13753 then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13755 $as_echo_n "checking for -lnetapi... " >&6; }
13756 if ${ac_cv_lib_soname_netapi+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 ac_check_soname_save_LIBS=$LIBS
13760 LIBS="-lnetapi $LIBS"
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13764 /* Override any GCC internal prototype to avoid an error.
13765 Use char because int might match the return type of a GCC
13766 builtin and then its argument prototype would still apply. */
13767 #ifdef __cplusplus
13768 extern "C"
13769 #endif
13770 char libnetapi_init ();
13772 main ()
13774 return libnetapi_init ();
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"; then :
13780 case "$LIBEXT" in
13781 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13782 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'` ;;
13783 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13784 if ${ac_cv_lib_soname_netapi:+false} :; then :
13785 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13786 fi ;;
13787 esac
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 LIBS=$ac_check_soname_save_LIBS
13793 if ${ac_cv_lib_soname_netapi:+false} :; then :
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13795 $as_echo "not found" >&6; }
13796 cat >>confdefs.h <<_ACEOF
13797 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13798 _ACEOF
13800 else
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13802 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13804 cat >>confdefs.h <<_ACEOF
13805 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13806 _ACEOF
13812 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13813 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13814 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13815 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13817 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13818 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13819 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13820 then
13821 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13825 EXTRACFLAGS=""
13827 if test "x${GCC}" = "xyes"
13828 then
13829 EXTRACFLAGS="-Wall -pipe"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13832 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13833 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 if test "$cross_compiling" = yes; then :
13837 ac_cv_c_gcc_strength_bug="no"
13838 else
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13841 int L[4] = {0,1,2,3};
13843 main ()
13845 static int Array[3];
13846 unsigned int B = 3;
13847 int i;
13848 for(i=0; i<B; i++) Array[i] = i - 3;
13849 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13850 L[i] = 4;
13851 return (Array[1] != -2 || L[2] != 3)
13853 return 0;
13855 _ACEOF
13856 if ac_fn_c_try_run "$LINENO"; then :
13857 ac_cv_c_gcc_strength_bug="no"
13858 else
13859 ac_cv_c_gcc_strength_bug="yes"
13861 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13862 conftest.$ac_objext conftest.beam conftest.$ac_ext
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13867 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13868 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13869 then
13870 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13874 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13875 if ${ac_cv_cflags__fno_builtin+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_wine_try_cflags_saved=$CFLAGS
13879 CFLAGS="$CFLAGS -fno-builtin"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13882 int main(int argc, char **argv) { return 0; }
13883 _ACEOF
13884 if ac_fn_c_try_link "$LINENO"; then :
13885 ac_cv_cflags__fno_builtin=yes
13886 else
13887 ac_cv_cflags__fno_builtin=no
13889 rm -f core conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 CFLAGS=$ac_wine_try_cflags_saved
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13894 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13895 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13896 BUILTINFLAG="-fno-builtin"
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13900 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13901 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 ac_wine_try_cflags_saved=$CFLAGS
13905 CFLAGS="$CFLAGS -fno-strict-aliasing"
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13908 int main(int argc, char **argv) { return 0; }
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 ac_cv_cflags__fno_strict_aliasing=yes
13912 else
13913 ac_cv_cflags__fno_strict_aliasing=no
13915 rm -f core conftest.err conftest.$ac_objext \
13916 conftest$ac_exeext conftest.$ac_ext
13917 CFLAGS=$ac_wine_try_cflags_saved
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13920 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13921 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13922 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13924 saved_CFLAGS=$CFLAGS
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13926 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13927 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 ac_wine_try_cflags_saved=$CFLAGS
13931 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 int main(int argc, char **argv) { return 0; }
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 ac_cv_cflags__Werror_unknown_warning_option=yes
13938 else
13939 ac_cv_cflags__Werror_unknown_warning_option=no
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 CFLAGS=$ac_wine_try_cflags_saved
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13946 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13947 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13948 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13951 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13952 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13953 $as_echo_n "(cached) " >&6
13954 else
13955 ac_wine_try_cflags_saved=$CFLAGS
13956 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 int main(int argc, char **argv) { return 0; }
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"; then :
13962 ac_cv_cflags__Wdeclaration_after_statement=yes
13963 else
13964 ac_cv_cflags__Wdeclaration_after_statement=no
13966 rm -f core conftest.err conftest.$ac_objext \
13967 conftest$ac_exeext conftest.$ac_ext
13968 CFLAGS=$ac_wine_try_cflags_saved
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13971 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13972 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13973 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13976 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13977 if ${ac_cv_cflags__Wempty_body+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -Wempty-body"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_cflags__Wempty_body=yes
13988 else
13989 ac_cv_cflags__Wempty_body=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 CFLAGS=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13996 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13997 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13998 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14001 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14002 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_wine_try_cflags_saved=$CFLAGS
14006 CFLAGS="$CFLAGS -Wignored-qualifiers"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_cflags__Wignored_qualifiers=yes
14013 else
14014 ac_cv_cflags__Wignored_qualifiers=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 CFLAGS=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14021 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14022 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14023 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14026 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14027 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_wine_try_cflags_saved=$CFLAGS
14031 CFLAGS="$CFLAGS -Wstrict-prototypes"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_cflags__Wstrict_prototypes=yes
14038 else
14039 ac_cv_cflags__Wstrict_prototypes=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 CFLAGS=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14046 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14047 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14048 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14051 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14052 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14053 $as_echo_n "(cached) " >&6
14054 else
14055 ac_wine_try_cflags_saved=$CFLAGS
14056 CFLAGS="$CFLAGS -Wtype-limits"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14059 int main(int argc, char **argv) { return 0; }
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"; then :
14062 ac_cv_cflags__Wtype_limits=yes
14063 else
14064 ac_cv_cflags__Wtype_limits=no
14066 rm -f core conftest.err conftest.$ac_objext \
14067 conftest$ac_exeext conftest.$ac_ext
14068 CFLAGS=$ac_wine_try_cflags_saved
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14071 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14072 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14073 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14076 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14077 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14078 $as_echo_n "(cached) " >&6
14079 else
14080 ac_wine_try_cflags_saved=$CFLAGS
14081 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14084 int main(int argc, char **argv) { return 0; }
14085 _ACEOF
14086 if ac_fn_c_try_link "$LINENO"; then :
14087 ac_cv_cflags__Wunused_but_set_parameter=yes
14088 else
14089 ac_cv_cflags__Wunused_but_set_parameter=no
14091 rm -f core conftest.err conftest.$ac_objext \
14092 conftest$ac_exeext conftest.$ac_ext
14093 CFLAGS=$ac_wine_try_cflags_saved
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14096 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14097 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14098 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14101 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14102 if ${ac_cv_cflags__Wvla+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_wine_try_cflags_saved=$CFLAGS
14106 CFLAGS="$CFLAGS -Wvla"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 int main(int argc, char **argv) { return 0; }
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 ac_cv_cflags__Wvla=yes
14113 else
14114 ac_cv_cflags__Wvla=no
14116 rm -f core conftest.err conftest.$ac_objext \
14117 conftest$ac_exeext conftest.$ac_ext
14118 CFLAGS=$ac_wine_try_cflags_saved
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14121 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14122 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14123 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14126 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14127 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_wine_try_cflags_saved=$CFLAGS
14131 CFLAGS="$CFLAGS -Wwrite-strings"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_cflags__Wwrite_strings=yes
14138 else
14139 ac_cv_cflags__Wwrite_strings=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 CFLAGS=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14146 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14147 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14148 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14152 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14153 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -Wpointer-arith"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__Wpointer_arith=yes
14164 else
14165 ac_cv_cflags__Wpointer_arith=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14172 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14173 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14174 saved_string_h_CFLAGS=$CFLAGS
14175 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14177 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14178 if ${ac_cv_c_string_h_warnings+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <string.h>
14185 main ()
14189 return 0;
14191 _ACEOF
14192 if ac_fn_c_try_compile "$LINENO"; then :
14193 ac_cv_c_string_h_warnings=no
14194 else
14195 ac_cv_c_string_h_warnings=yes
14197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14200 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14201 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14202 CFLAGS=$saved_string_h_CFLAGS
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14206 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14207 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 ac_wine_try_cflags_saved=$CFLAGS
14211 CFLAGS="$CFLAGS -Wlogical-op"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_cflags__Wlogical_op=yes
14218 else
14219 ac_cv_cflags__Wlogical_op=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 CFLAGS=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14226 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14227 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14228 saved_string_h_CFLAGS=$CFLAGS
14229 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14231 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14232 if ${ac_cv_c_logicalop_noisy+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14237 #include <string.h>
14238 char*f(const char *h,char n) {return strchr(h,n);}
14240 main ()
14244 return 0;
14246 _ACEOF
14247 if ac_fn_c_try_compile "$LINENO"; then :
14248 ac_cv_c_logicalop_noisy=no
14249 else
14250 ac_cv_c_logicalop_noisy=yes
14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14255 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14256 CFLAGS=$saved_string_h_CFLAGS
14257 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14260 CFLAGS=$saved_CFLAGS
14262 for ac_flag in $CFLAGS; do
14263 case $ac_flag in
14264 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14265 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14266 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14267 $as_echo_n "(cached) " >&6
14268 else
14269 ac_wine_try_cflags_saved=$CFLAGS
14270 CFLAGS="$CFLAGS -gdwarf-2"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14272 /* end confdefs.h. */
14273 int main(int argc, char **argv) { return 0; }
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_cflags__gdwarf_2=yes
14277 else
14278 ac_cv_cflags__gdwarf_2=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 CFLAGS=$ac_wine_try_cflags_saved
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14285 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14286 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14287 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14290 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14291 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 ac_wine_try_cflags_saved=$CFLAGS
14295 CFLAGS="$CFLAGS -gstrict-dwarf"
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int main(int argc, char **argv) { return 0; }
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_cflags__gstrict_dwarf=yes
14302 else
14303 ac_cv_cflags__gstrict_dwarf=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 CFLAGS=$ac_wine_try_cflags_saved
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14310 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14311 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14312 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14313 fi ;;
14314 esac
14315 done
14317 case $host_cpu in
14318 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14319 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14320 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14321 $as_echo_n "(cached) " >&6
14322 else
14323 ac_wine_try_cflags_saved=$CFLAGS
14324 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 int main(int argc, char **argv) { return 0; }
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_cflags__fno_omit_frame_pointer=yes
14331 else
14332 ac_cv_cflags__fno_omit_frame_pointer=no
14334 rm -f core conftest.err conftest.$ac_objext \
14335 conftest$ac_exeext conftest.$ac_ext
14336 CFLAGS=$ac_wine_try_cflags_saved
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14339 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14340 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14341 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14342 fi ;;
14343 esac
14345 case $host in
14346 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14347 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14348 if ${ac_cv_cflags__Wno_format+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_wine_try_cflags_saved=$CFLAGS
14352 CFLAGS="$CFLAGS -Wno-format"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 int main(int argc, char **argv) { return 0; }
14356 _ACEOF
14357 if ac_fn_c_try_link "$LINENO"; then :
14358 ac_cv_cflags__Wno_format=yes
14359 else
14360 ac_cv_cflags__Wno_format=no
14362 rm -f core conftest.err conftest.$ac_objext \
14363 conftest$ac_exeext conftest.$ac_ext
14364 CFLAGS=$ac_wine_try_cflags_saved
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14367 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14368 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14369 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14370 fi ;;
14371 esac
14373 if test "x$enable_maintainer_mode" = "xyes"
14374 then
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14376 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14377 if ${ac_cv_cflags__Werror+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_wine_try_cflags_saved=$CFLAGS
14381 CFLAGS="$CFLAGS -Werror"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_cflags__Werror=yes
14388 else
14389 ac_cv_cflags__Werror=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14396 $as_echo "$ac_cv_cflags__Werror" >&6; }
14397 if test "x$ac_cv_cflags__Werror" = xyes; then :
14398 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14402 saved_CFLAGS="$CFLAGS"
14403 CFLAGS="$CFLAGS -Werror"
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14405 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14406 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14407 $as_echo_n "(cached) " >&6
14408 else
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14413 main ()
14417 return 0;
14419 _ACEOF
14420 if ac_fn_c_try_compile "$LINENO"; then :
14421 ac_cv_have_ms_hook_prologue="yes"
14422 else
14423 ac_cv_have_ms_hook_prologue="no"
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14428 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14429 CFLAGS="$saved_CFLAGS"
14430 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14431 then
14433 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14435 else
14436 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14443 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14444 if ${ac_cv_c_fortify_enabled+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14449 #include <string.h>
14451 main ()
14453 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14454 #error Fortify enabled
14455 #endif
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_compile "$LINENO"; then :
14461 ac_cv_c_fortify_enabled=no
14462 else
14463 ac_cv_c_fortify_enabled=yes
14465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14468 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14469 if test "$ac_cv_c_fortify_enabled" = yes
14470 then
14471 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14476 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14477 if ${ac_cv_c_extern_prefix+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14482 extern int ac_test;
14484 main ()
14486 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_c_extern_prefix="yes"
14493 else
14494 ac_cv_c_extern_prefix="no"
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14500 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14502 case $host_cpu in
14503 *i[3456789]86*)
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14505 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14506 if ${ac_cv_c_stdcall_suffix+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14511 #ifndef _MSC_VER
14512 #define __stdcall __attribute__((__stdcall__))
14513 #endif
14514 int __stdcall ac_test(int i) { return i; }
14516 main ()
14518 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14520 return 0;
14522 _ACEOF
14523 if ac_fn_c_try_link "$LINENO"; then :
14524 ac_cv_c_stdcall_suffix="yes"
14525 else
14526 ac_cv_c_stdcall_suffix="no"
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14532 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14533 *) ac_cv_c_stdcall_suffix="no" ;;
14534 esac
14537 if test "$ac_cv_c_extern_prefix" = "yes"
14538 then
14539 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14541 asm_name_prefix="_"
14542 else
14543 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14545 asm_name_prefix=""
14549 if test "$ac_cv_c_stdcall_suffix" = "yes"
14550 then
14551 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14553 else
14554 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14560 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14561 if ${ac_cv_asm_func_def+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14568 main ()
14570 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14572 return 0;
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_asm_func_def=".def"
14577 else
14578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14582 main ()
14584 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14586 return 0;
14588 _ACEOF
14589 if ac_fn_c_try_link "$LINENO"; then :
14590 ac_cv_asm_func_def=".type @function"
14591 else
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14596 main ()
14598 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_asm_func_def=".type 2"
14605 else
14606 ac_cv_asm_func_def="unknown"
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14611 rm -f core conftest.err conftest.$ac_objext \
14612 conftest$ac_exeext conftest.$ac_ext
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14618 $as_echo "$ac_cv_asm_func_def" >&6; }
14621 case "$ac_cv_asm_func_def" in
14622 ".def")
14623 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14625 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14626 ".type @function")
14627 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14629 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14630 ".type 2")
14631 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14633 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14635 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14637 asm_func_header="" ;;
14638 esac
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14641 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14642 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 asm(".text\n\t.long 0");
14649 main ()
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 ac_cv_c_asm_outside_funcs="yes"
14658 else
14659 ac_cv_c_asm_outside_funcs="no"
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14664 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14667 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14668 if ${ac_cv_c_dot_previous+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14675 main ()
14677 asm(".text\nac_test:\t.long 0\n\t.previous");
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_c_dot_previous="yes"
14684 else
14685 ac_cv_c_dot_previous="no"
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14691 $as_echo "$ac_cv_c_dot_previous" >&6; }
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14694 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14695 if ${ac_cv_c_cfi_support+:} false; then :
14696 $as_echo_n "(cached) " >&6
14697 else
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14700 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14702 main ()
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_compile "$LINENO"; then :
14710 ac_cv_c_cfi_support="yes"
14711 else
14712 ac_cv_c_cfi_support="no"
14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14717 $as_echo "$ac_cv_c_cfi_support" >&6; }
14719 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14720 asm_func_trailer=""
14721 if test "$ac_cv_c_dot_previous" = "yes"
14722 then
14723 asm_func_trailer="\\n\\t.previous"
14725 if test "$ac_cv_c_cfi_support" = "yes"
14726 then
14727 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14728 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14730 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14732 UNWINDFLAGS=-fasynchronous-unwind-tables
14734 else
14735 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14737 if test "x$enable_win64" = "xyes"
14738 then
14739 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14743 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14746 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14747 then
14748 cat >>confdefs.h <<_ACEOF
14749 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14750 _ACEOF
14752 else
14753 cat >>confdefs.h <<_ACEOF
14754 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14755 _ACEOF
14759 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14762 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14766 case $build_os in
14767 cygwin*|mingw32*) TOOLSEXT=".exe"
14769 esac
14771 case $host_os in
14772 linux*)
14773 case $host_cpu in
14774 *i[3456789]86*|x86_64*)
14775 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14776 loader_programs="$loader_programs $wine_binary-preloader"
14777 as_fn_append LOADER_RULES "
14778 $wine_binary-preloader: preloader.o
14779 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14781 install install-lib:: $wine_binary-preloader
14782 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14784 uninstall::
14785 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14787 preloader_EXTRADEFS = $BUILTINFLAG
14788 " ;;
14789 esac
14791 esac
14792 as_fn_append LOADER_RULES "
14793 PROGRAMS = $loader_programs
14797 ac_save_CFLAGS="$CFLAGS"
14798 CFLAGS="$CFLAGS $BUILTINFLAG"
14799 for ac_func in \
14800 __res_get_state \
14801 __res_getservers \
14802 _finite \
14803 _isnan \
14804 _pclose \
14805 _popen \
14806 _snprintf \
14807 _spawnvp \
14808 _strdup \
14809 _stricmp \
14810 _strnicmp \
14811 _strtoi64 \
14812 _strtoui64 \
14813 _vsnprintf \
14814 asctime_r \
14815 chsize \
14816 dlopen \
14817 epoll_create \
14818 ffs \
14819 finitef \
14820 fnmatch \
14821 fork \
14822 fpclass \
14823 fstatfs \
14824 fstatvfs \
14825 ftruncate \
14826 futimens \
14827 futimes \
14828 futimesat \
14829 getattrlist \
14830 getdirentries \
14831 getopt_long_only \
14832 getpwuid \
14833 gettimeofday \
14834 getuid \
14835 if_nameindex \
14836 isnanf \
14837 kqueue \
14838 lstat \
14839 memmove \
14840 mmap \
14841 pclose \
14842 pipe2 \
14843 poll \
14844 popen \
14845 port_create \
14846 prctl \
14847 pread \
14848 proc_pidinfo \
14849 pwrite \
14850 readdir \
14851 readlink \
14852 sched_yield \
14853 select \
14854 setproctitle \
14855 setrlimit \
14856 settimeofday \
14857 sigaltstack \
14858 sigprocmask \
14859 snprintf \
14860 statfs \
14861 statvfs \
14862 strcasecmp \
14863 strdup \
14864 strerror \
14865 strncasecmp \
14866 strtold \
14867 strtoll \
14868 strtoull \
14869 symlink \
14870 tcdrain \
14871 thr_kill2 \
14872 timegm \
14873 usleep \
14874 vsnprintf
14876 do :
14877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14880 cat >>confdefs.h <<_ACEOF
14881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14882 _ACEOF
14885 done
14887 CFLAGS="$ac_save_CFLAGS"
14889 if test "$ac_cv_func_dlopen" = no
14890 then
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14892 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14893 if ${ac_cv_lib_dl_dlopen+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 ac_check_lib_save_LIBS=$LIBS
14897 LIBS="-ldl $LIBS"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 #ifdef __cplusplus
14905 extern "C"
14906 #endif
14907 char dlopen ();
14909 main ()
14911 return dlopen ();
14913 return 0;
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_lib_dl_dlopen=yes
14918 else
14919 ac_cv_lib_dl_dlopen=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 LIBS=$ac_check_lib_save_LIBS
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14926 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14927 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14928 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14929 DL_LIBS="-ldl"
14934 ac_wine_check_funcs_save_LIBS="$LIBS"
14935 LIBS="$LIBS $DL_LIBS"
14936 for ac_func in dladdr
14937 do :
14938 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14939 if test "x$ac_cv_func_dladdr" = xyes; then :
14940 cat >>confdefs.h <<_ACEOF
14941 #define HAVE_DLADDR 1
14942 _ACEOF
14945 done
14947 LIBS="$ac_wine_check_funcs_save_LIBS"
14949 if test "$ac_cv_func_poll" = no
14950 then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14952 $as_echo_n "checking for poll in -lpoll... " >&6; }
14953 if ${ac_cv_lib_poll_poll+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 ac_check_lib_save_LIBS=$LIBS
14957 LIBS="-lpoll $LIBS"
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14961 /* Override any GCC internal prototype to avoid an error.
14962 Use char because int might match the return type of a GCC
14963 builtin and then its argument prototype would still apply. */
14964 #ifdef __cplusplus
14965 extern "C"
14966 #endif
14967 char poll ();
14969 main ()
14971 return poll ();
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 ac_cv_lib_poll_poll=yes
14978 else
14979 ac_cv_lib_poll_poll=no
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_check_lib_save_LIBS
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14986 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14987 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14988 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14989 POLL_LIBS="-lpoll"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14996 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14997 if ${ac_cv_search_gethostbyname+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 ac_func_search_save_LIBS=$LIBS
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 #ifdef __cplusplus
15008 extern "C"
15009 #endif
15010 char gethostbyname ();
15012 main ()
15014 return gethostbyname ();
15016 return 0;
15018 _ACEOF
15019 for ac_lib in '' nsl; do
15020 if test -z "$ac_lib"; then
15021 ac_res="none required"
15022 else
15023 ac_res=-l$ac_lib
15024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 ac_cv_search_gethostbyname=$ac_res
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext
15031 if ${ac_cv_search_gethostbyname+:} false; then :
15032 break
15034 done
15035 if ${ac_cv_search_gethostbyname+:} false; then :
15037 else
15038 ac_cv_search_gethostbyname=no
15040 rm conftest.$ac_ext
15041 LIBS=$ac_func_search_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15044 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15045 ac_res=$ac_cv_search_gethostbyname
15046 if test "$ac_res" != no; then :
15047 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15053 $as_echo_n "checking for library containing connect... " >&6; }
15054 if ${ac_cv_search_connect+:} false; then :
15055 $as_echo_n "(cached) " >&6
15056 else
15057 ac_func_search_save_LIBS=$LIBS
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15061 /* Override any GCC internal prototype to avoid an error.
15062 Use char because int might match the return type of a GCC
15063 builtin and then its argument prototype would still apply. */
15064 #ifdef __cplusplus
15065 extern "C"
15066 #endif
15067 char connect ();
15069 main ()
15071 return connect ();
15073 return 0;
15075 _ACEOF
15076 for ac_lib in '' socket; do
15077 if test -z "$ac_lib"; then
15078 ac_res="none required"
15079 else
15080 ac_res=-l$ac_lib
15081 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15083 if ac_fn_c_try_link "$LINENO"; then :
15084 ac_cv_search_connect=$ac_res
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext
15088 if ${ac_cv_search_connect+:} false; then :
15089 break
15091 done
15092 if ${ac_cv_search_connect+:} false; then :
15094 else
15095 ac_cv_search_connect=no
15097 rm conftest.$ac_ext
15098 LIBS=$ac_func_search_save_LIBS
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15101 $as_echo "$ac_cv_search_connect" >&6; }
15102 ac_res=$ac_cv_search_connect
15103 if test "$ac_res" != no; then :
15104 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15110 $as_echo_n "checking for library containing inet_aton... " >&6; }
15111 if ${ac_cv_search_inet_aton+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_func_search_save_LIBS=$LIBS
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char inet_aton ();
15126 main ()
15128 return inet_aton ();
15130 return 0;
15132 _ACEOF
15133 for ac_lib in '' resolv; do
15134 if test -z "$ac_lib"; then
15135 ac_res="none required"
15136 else
15137 ac_res=-l$ac_lib
15138 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 ac_cv_search_inet_aton=$ac_res
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext
15145 if ${ac_cv_search_inet_aton+:} false; then :
15146 break
15148 done
15149 if ${ac_cv_search_inet_aton+:} false; then :
15151 else
15152 ac_cv_search_inet_aton=no
15154 rm conftest.$ac_ext
15155 LIBS=$ac_func_search_save_LIBS
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15158 $as_echo "$ac_cv_search_inet_aton" >&6; }
15159 ac_res=$ac_cv_search_inet_aton
15160 if test "$ac_res" != no; then :
15161 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15166 for ac_func in \
15167 getaddrinfo \
15168 getnameinfo \
15169 getnetbyname \
15170 getprotobyname \
15171 getprotobynumber \
15172 getservbyport \
15173 inet_addr \
15174 inet_network \
15175 inet_ntop \
15176 inet_pton \
15177 sendmsg \
15178 socketpair \
15180 do :
15181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15184 cat >>confdefs.h <<_ACEOF
15185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15186 _ACEOF
15189 done
15192 ac_save_LIBS=$LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15194 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15195 if ${ac_cv_search_clock_gettime+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_func_search_save_LIBS=$LIBS
15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15202 /* Override any GCC internal prototype to avoid an error.
15203 Use char because int might match the return type of a GCC
15204 builtin and then its argument prototype would still apply. */
15205 #ifdef __cplusplus
15206 extern "C"
15207 #endif
15208 char clock_gettime ();
15210 main ()
15212 return clock_gettime ();
15214 return 0;
15216 _ACEOF
15217 for ac_lib in '' rt; do
15218 if test -z "$ac_lib"; then
15219 ac_res="none required"
15220 else
15221 ac_res=-l$ac_lib
15222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15224 if ac_fn_c_try_link "$LINENO"; then :
15225 ac_cv_search_clock_gettime=$ac_res
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext
15229 if ${ac_cv_search_clock_gettime+:} false; then :
15230 break
15232 done
15233 if ${ac_cv_search_clock_gettime+:} false; then :
15235 else
15236 ac_cv_search_clock_gettime=no
15238 rm conftest.$ac_ext
15239 LIBS=$ac_func_search_save_LIBS
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15242 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15243 ac_res=$ac_cv_search_clock_gettime
15244 if test "$ac_res" != no; then :
15245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15247 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15249 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15253 LIBS=$ac_save_LIBS
15255 LDAP_LIBS=""
15257 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15258 then
15259 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15261 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15263 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15264 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 ac_check_lib_save_LIBS=$LIBS
15268 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15275 #ifdef __cplusplus
15276 extern "C"
15277 #endif
15278 char ldap_initialize ();
15280 main ()
15282 return ldap_initialize ();
15284 return 0;
15286 _ACEOF
15287 if ac_fn_c_try_link "$LINENO"; then :
15288 ac_cv_lib_ldap_r_ldap_initialize=yes
15289 else
15290 ac_cv_lib_ldap_r_ldap_initialize=no
15292 rm -f core conftest.err conftest.$ac_objext \
15293 conftest$ac_exeext conftest.$ac_ext
15294 LIBS=$ac_check_lib_save_LIBS
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15297 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15298 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15300 $as_echo_n "checking for ber_init in -llber... " >&6; }
15301 if ${ac_cv_lib_lber_ber_init+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 ac_check_lib_save_LIBS=$LIBS
15305 LIBS="-llber $PTHREAD_LIBS $LIBS"
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 /* Override any GCC internal prototype to avoid an error.
15310 Use char because int might match the return type of a GCC
15311 builtin and then its argument prototype would still apply. */
15312 #ifdef __cplusplus
15313 extern "C"
15314 #endif
15315 char ber_init ();
15317 main ()
15319 return ber_init ();
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 ac_cv_lib_lber_ber_init=yes
15326 else
15327 ac_cv_lib_lber_ber_init=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_lib_save_LIBS
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15334 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15335 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15337 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15339 LDAP_LIBS="-lldap_r -llber"
15346 ac_wine_check_funcs_save_LIBS="$LIBS"
15347 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15348 for ac_func in \
15349 ldap_count_references \
15350 ldap_first_reference \
15351 ldap_next_reference \
15352 ldap_parse_reference \
15353 ldap_parse_sort_control \
15354 ldap_parse_sortresponse_control \
15355 ldap_parse_vlv_control \
15356 ldap_parse_vlvresponse_control
15357 do :
15358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15361 cat >>confdefs.h <<_ACEOF
15362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15363 _ACEOF
15366 done
15368 LIBS="$ac_wine_check_funcs_save_LIBS"
15370 if test "x$LDAP_LIBS" = "x"; then :
15371 case "x$with_ldap" in
15372 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15373 xno) ;;
15374 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15375 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15376 esac
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15380 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15381 if ${wine_cv_one_arg_mkdir+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 #include <sys/stat.h>
15388 main ()
15390 mkdir("foo");
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_compile "$LINENO"; then :
15396 wine_cv_one_arg_mkdir=yes
15397 else
15398 wine_cv_one_arg_mkdir=no
15400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15403 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15404 if test "$wine_cv_one_arg_mkdir" = "yes"
15405 then
15407 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15412 $as_echo_n "checking for sched_setaffinity... " >&6; }
15413 if ${wine_cv_have_sched_setaffinity+:} false; then :
15414 $as_echo_n "(cached) " >&6
15415 else
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 #define _GNU_SOURCE
15419 #include <sched.h>
15421 main ()
15423 sched_setaffinity(0, 0, 0);
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 wine_cv_have_sched_setaffinity=yes
15430 else
15431 wine_cv_have_sched_setaffinity=no
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15437 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15438 if test "$wine_cv_have_sched_setaffinity" = "yes"
15439 then
15441 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15446 $as_echo_n "checking for fallocate... " >&6; }
15447 if ${wine_cv_have_fallocate+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15451 /* end confdefs.h. */
15452 #define _GNU_SOURCE
15453 #include <fcntl.h>
15455 main ()
15457 fallocate(-1, 0, 0, 0);
15459 return 0;
15461 _ACEOF
15462 if ac_fn_c_try_link "$LINENO"; then :
15463 wine_cv_have_fallocate=yes
15464 else
15465 wine_cv_have_fallocate=no
15467 rm -f core conftest.err conftest.$ac_objext \
15468 conftest$ac_exeext conftest.$ac_ext
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15471 $as_echo "$wine_cv_have_fallocate" >&6; }
15472 if test "$wine_cv_have_fallocate" = "yes"
15473 then
15475 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15481 $as_echo_n "checking for inline... " >&6; }
15482 if ${ac_cv_c_inline+:} false; then :
15483 $as_echo_n "(cached) " >&6
15484 else
15485 ac_cv_c_inline=no
15486 for ac_kw in inline __inline__ __inline; do
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15489 #ifndef __cplusplus
15490 typedef int foo_t;
15491 static $ac_kw foo_t static_foo () {return 0; }
15492 $ac_kw foo_t foo () {return 0; }
15493 #endif
15495 _ACEOF
15496 if ac_fn_c_try_compile "$LINENO"; then :
15497 ac_cv_c_inline=$ac_kw
15499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15500 test "$ac_cv_c_inline" != no && break
15501 done
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15505 $as_echo "$ac_cv_c_inline" >&6; }
15507 case $ac_cv_c_inline in
15508 inline | yes) ;;
15510 case $ac_cv_c_inline in
15511 no) ac_val=;;
15512 *) ac_val=$ac_cv_c_inline;;
15513 esac
15514 cat >>confdefs.h <<_ACEOF
15515 #ifndef __cplusplus
15516 #define inline $ac_val
15517 #endif
15518 _ACEOF
15520 esac
15522 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15523 if test "x$ac_cv_type_mode_t" = xyes; then :
15525 cat >>confdefs.h <<_ACEOF
15526 #define HAVE_MODE_T 1
15527 _ACEOF
15531 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15532 if test "x$ac_cv_type_off_t" = xyes; then :
15534 cat >>confdefs.h <<_ACEOF
15535 #define HAVE_OFF_T 1
15536 _ACEOF
15540 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15541 if test "x$ac_cv_type_pid_t" = xyes; then :
15543 cat >>confdefs.h <<_ACEOF
15544 #define HAVE_PID_T 1
15545 _ACEOF
15549 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15550 if test "x$ac_cv_type_size_t" = xyes; then :
15552 cat >>confdefs.h <<_ACEOF
15553 #define HAVE_SIZE_T 1
15554 _ACEOF
15558 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15559 if test "x$ac_cv_type_ssize_t" = xyes; then :
15561 cat >>confdefs.h <<_ACEOF
15562 #define HAVE_SSIZE_T 1
15563 _ACEOF
15567 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15568 if test "x$ac_cv_type_long_long" = xyes; then :
15570 cat >>confdefs.h <<_ACEOF
15571 #define HAVE_LONG_LONG 1
15572 _ACEOF
15576 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15577 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define HAVE_FSBLKCNT_T 1
15581 _ACEOF
15585 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15586 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define HAVE_FSFILCNT_T 1
15590 _ACEOF
15595 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15596 #include <signal.h>
15598 if test "x$ac_cv_type_sigset_t" = xyes; then :
15600 cat >>confdefs.h <<_ACEOF
15601 #define HAVE_SIGSET_T 1
15602 _ACEOF
15607 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15609 if test "x$ac_cv_type_request_sense" = xyes; then :
15611 cat >>confdefs.h <<_ACEOF
15612 #define HAVE_REQUEST_SENSE 1
15613 _ACEOF
15619 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15620 #ifdef HAVE_SYS_SOCKET_H
15621 #include <sys/socket.h>
15622 #endif
15623 #ifdef HAVE_SYS_SOCKETVAR_H
15624 #include <sys/socketvar.h>
15625 #endif
15626 #ifdef HAVE_NET_ROUTE_H
15627 #include <net/route.h>
15628 #endif
15629 #ifdef HAVE_NETINET_IN_H
15630 #include <netinet/in.h>
15631 #endif
15632 #ifdef HAVE_NETINET_IN_SYSTM_H
15633 #include <netinet/in_systm.h>
15634 #endif
15635 #ifdef HAVE_NETINET_IP_H
15636 #include <netinet/ip.h>
15637 #endif
15638 #ifdef HAVE_NETINET_IN_PCB_H
15639 #include <netinet/in_pcb.h>
15640 #endif
15642 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_STRUCT_XINPGEN 1
15646 _ACEOF
15652 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15653 #include <link.h>
15654 #endif
15655 #ifdef HAVE_SYS_LINK_H
15656 #include <sys/link.h>
15657 #endif
15659 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_R_DEBUG 1
15663 _ACEOF
15667 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15668 #include <link.h>
15669 #endif
15670 #ifdef HAVE_SYS_LINK_H
15671 #include <sys/link.h>
15672 #endif
15674 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15676 cat >>confdefs.h <<_ACEOF
15677 #define HAVE_STRUCT_LINK_MAP 1
15678 _ACEOF
15684 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15685 #include <linux/input.h>
15686 #endif
15688 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15692 _ACEOF
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15699 $as_echo_n "checking for sigaddset... " >&6; }
15700 if ${wine_cv_have_sigaddset+:} false; then :
15701 $as_echo_n "(cached) " >&6
15702 else
15703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15704 /* end confdefs.h. */
15705 #include <signal.h>
15707 main ()
15709 sigset_t set; sigaddset(&set,SIGTERM);
15711 return 0;
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"; then :
15715 wine_cv_have_sigaddset=yes
15716 else
15717 wine_cv_have_sigaddset=no
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15723 $as_echo "$wine_cv_have_sigaddset" >&6; }
15724 if test "$wine_cv_have_sigaddset" = "yes"
15725 then
15727 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15733 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15734 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15735 $as_echo_n "(cached) " >&6
15736 else
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739 #include <netdb.h>
15741 main ()
15744 char *name=0;
15745 struct hostent he;
15746 struct hostent *result;
15747 char *buf=0;
15748 int bufsize=0;
15749 int errnr;
15750 char *addr=0;
15751 int addrlen=0;
15752 int addrtype=0;
15753 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15754 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15757 return 0;
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"; then :
15761 wine_cv_linux_gethostbyname_r_6=yes
15762 else
15763 wine_cv_linux_gethostbyname_r_6=no
15766 rm -f core conftest.err conftest.$ac_objext \
15767 conftest$ac_exeext conftest.$ac_ext
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15771 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15772 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15773 then
15775 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15779 if test "$ac_cv_header_linux_joystick_h" = "yes"
15780 then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15782 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15783 if ${wine_cv_linux_joystick_22_api+:} false; then :
15784 $as_echo_n "(cached) " >&6
15785 else
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15789 #include <sys/ioctl.h>
15790 #include <sys/types.h>
15791 #include <linux/joystick.h>
15793 struct js_event blub;
15794 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15795 #error "no 2.2 header"
15796 #endif
15799 main ()
15801 /*empty*/
15803 return 0;
15805 _ACEOF
15806 if ac_fn_c_try_compile "$LINENO"; then :
15807 wine_cv_linux_joystick_22_api=yes
15808 else
15809 wine_cv_linux_joystick_22_api=no
15811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15815 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15816 if test "$wine_cv_linux_joystick_22_api" = "yes"
15817 then
15819 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15825 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_PARAM_H
15827 # include <sys/param.h>
15828 #endif
15829 #ifdef HAVE_SYS_MOUNT_H
15830 # include <sys/mount.h>
15831 #endif
15832 #ifdef HAVE_SYS_VFS_H
15833 # include <sys/vfs.h>
15834 #endif
15835 #ifdef HAVE_SYS_STATFS_H
15836 # include <sys/statfs.h>
15837 #endif
15839 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_STATFS_F_BFREE 1
15843 _ACEOF
15847 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15848 #ifdef HAVE_SYS_PARAM_H
15849 # include <sys/param.h>
15850 #endif
15851 #ifdef HAVE_SYS_MOUNT_H
15852 # include <sys/mount.h>
15853 #endif
15854 #ifdef HAVE_SYS_VFS_H
15855 # include <sys/vfs.h>
15856 #endif
15857 #ifdef HAVE_SYS_STATFS_H
15858 # include <sys/statfs.h>
15859 #endif
15861 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15865 _ACEOF
15869 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15870 #ifdef HAVE_SYS_PARAM_H
15871 # include <sys/param.h>
15872 #endif
15873 #ifdef HAVE_SYS_MOUNT_H
15874 # include <sys/mount.h>
15875 #endif
15876 #ifdef HAVE_SYS_VFS_H
15877 # include <sys/vfs.h>
15878 #endif
15879 #ifdef HAVE_SYS_STATFS_H
15880 # include <sys/statfs.h>
15881 #endif
15883 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15887 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15892 #ifdef HAVE_SYS_PARAM_H
15893 # include <sys/param.h>
15894 #endif
15895 #ifdef HAVE_SYS_MOUNT_H
15896 # include <sys/mount.h>
15897 #endif
15898 #ifdef HAVE_SYS_VFS_H
15899 # include <sys/vfs.h>
15900 #endif
15901 #ifdef HAVE_SYS_STATFS_H
15902 # include <sys/statfs.h>
15903 #endif
15905 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15907 cat >>confdefs.h <<_ACEOF
15908 #define HAVE_STRUCT_STATFS_F_FFREE 1
15909 _ACEOF
15913 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15914 #ifdef HAVE_SYS_PARAM_H
15915 # include <sys/param.h>
15916 #endif
15917 #ifdef HAVE_SYS_MOUNT_H
15918 # include <sys/mount.h>
15919 #endif
15920 #ifdef HAVE_SYS_VFS_H
15921 # include <sys/vfs.h>
15922 #endif
15923 #ifdef HAVE_SYS_STATFS_H
15924 # include <sys/statfs.h>
15925 #endif
15927 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15931 _ACEOF
15935 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15936 #ifdef HAVE_SYS_PARAM_H
15937 # include <sys/param.h>
15938 #endif
15939 #ifdef HAVE_SYS_MOUNT_H
15940 # include <sys/mount.h>
15941 #endif
15942 #ifdef HAVE_SYS_VFS_H
15943 # include <sys/vfs.h>
15944 #endif
15945 #ifdef HAVE_SYS_STATFS_H
15946 # include <sys/statfs.h>
15947 #endif
15949 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15951 cat >>confdefs.h <<_ACEOF
15952 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15953 _ACEOF
15959 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15960 #include <sys/statvfs.h>
15961 #endif
15963 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15967 _ACEOF
15973 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15974 #include <dirent.h>
15975 #endif
15977 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15981 _ACEOF
15987 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15988 #ifdef HAVE_SYS_SOCKET_H
15989 # include <sys/socket.h>
15990 #endif
15991 #ifdef HAVE_SYS_UN_H
15992 # include <sys/un.h>
15993 #endif
15995 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15999 _ACEOF
16003 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16004 #ifdef HAVE_SYS_SOCKET_H
16005 # include <sys/socket.h>
16006 #endif
16007 #ifdef HAVE_SYS_UN_H
16008 # include <sys/un.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16015 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16020 #ifdef HAVE_SYS_SOCKET_H
16021 # include <sys/socket.h>
16022 #endif
16023 #ifdef HAVE_SYS_UN_H
16024 # include <sys/un.h>
16025 #endif
16027 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16031 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16038 #ifdef HAVE_SCSI_SG_H
16039 #include <scsi/sg.h>
16040 #endif
16042 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_SCSIREQ_T_CMD 1
16046 _ACEOF
16050 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>
16051 #ifdef HAVE_SCSI_SG_H
16052 #include <scsi/sg.h>
16053 #endif
16055 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16059 _ACEOF
16065 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16067 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_SIGINFO_T_SI_FD 1
16071 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16078 #ifdef HAVE_SYS_MTIO_H
16079 #include <sys/mtio.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16086 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16091 #ifdef HAVE_SYS_MTIO_H
16092 #include <sys/mtio.h>
16093 #endif
16095 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16099 _ACEOF
16103 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16104 #ifdef HAVE_SYS_MTIO_H
16105 #include <sys/mtio.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16112 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16119 #include <getopt.h>
16120 #endif
16122 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_OPTION_NAME 1
16126 _ACEOF
16132 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16133 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16135 cat >>confdefs.h <<_ACEOF
16136 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16137 _ACEOF
16141 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16142 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_STAT_ST_MTIM 1
16146 _ACEOF
16150 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16151 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16155 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16160 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT_STAT_ST_CTIM 1
16164 _ACEOF
16168 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16169 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16173 _ACEOF
16177 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16178 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_STRUCT_STAT_ST_ATIM 1
16182 _ACEOF
16186 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16187 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16191 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16196 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16200 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16205 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16207 cat >>confdefs.h <<_ACEOF
16208 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16209 _ACEOF
16213 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16214 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16218 _ACEOF
16222 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16223 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16227 _ACEOF
16231 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16232 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16236 _ACEOF
16242 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
16243 #include <sys/types.h>
16244 #endif
16245 #ifdef HAVE_NETINET_IN_H
16246 #include <netinet/in.h>
16247 #endif
16249 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16251 cat >>confdefs.h <<_ACEOF
16252 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16253 _ACEOF
16259 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16260 #include <resolv.h>
16261 #endif
16263 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16265 cat >>confdefs.h <<_ACEOF
16266 #define HAVE_STRUCT___RES_STATE 1
16267 _ACEOF
16273 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
16274 #include <resolv.h>
16275 #endif
16277 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16281 _ACEOF
16287 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16288 #include <sys/types.h>
16289 #endif
16290 #ifdef HAVE_NETINET_IN_H
16291 # include <netinet/in.h>
16292 #endif
16293 #ifdef HAVE_ARPA_NAMESER_H
16294 # include <arpa/nameser.h>
16295 #endif
16297 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_NS_MSG__MSG_PTR 1
16301 _ACEOF
16307 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16308 #include <sys/types.h>
16309 #endif
16310 #ifdef HAVE_NETINET_IP_H
16311 #include <netinet/ip.h>
16312 #endif
16313 #ifdef HAVE_NETINET_IP_ICMP_H
16314 #include <netinet/ip_icmp.h>
16315 #endif
16316 #ifdef HAVE_NETINET_ICMP_VAR_H
16317 #include <netinet/icmp_var.h>
16318 #endif
16320 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16324 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16331 #include <sys/types.h>
16332 #endif
16333 #ifdef HAVE_ALIAS_H
16334 #include <alias.h>
16335 #endif
16336 #ifdef HAVE_SYS_SOCKET_H
16337 #include <sys/socket.h>
16338 #endif
16339 #ifdef HAVE_SYS_SOCKETVAR_H
16340 #include <sys/socketvar.h>
16341 #endif
16342 #ifdef HAVE_SYS_TIMEOUT_H
16343 #include <sys/timeout.h>
16344 #endif
16345 #ifdef HAVE_NETINET_IN_H
16346 #include <netinet/in.h>
16347 #endif
16348 #ifdef HAVE_NETINET_IN_SYSTM_H
16349 #include <netinet/in_systm.h>
16350 #endif
16351 #ifdef HAVE_NETINET_IP_H
16352 #include <netinet/ip.h>
16353 #endif
16354 #ifdef HAVE_NETINET_IP_VAR_H
16355 #include <netinet/ip_var.h>
16356 #endif
16357 #ifdef HAVE_NETINET_IP_ICMP_H
16358 #include <netinet/ip_icmp.h>
16359 #endif
16360 #ifdef HAVE_NETINET_ICMP_VAR_H
16361 #include <netinet/icmp_var.h>
16362 #endif
16364 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16368 _ACEOF
16374 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16375 #include <sys/types.h>
16376 #endif
16377 #ifdef HAVE_SYS_SOCKETVAR_H
16378 #include <sys/socketvar.h>
16379 #endif
16380 #ifdef HAVE_NETINET_IN_H
16381 #include <netinet/in.h>
16382 #endif
16383 #ifdef HAVE_NETINET_IP_VAR_H
16384 #include <netinet/ip_var.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16391 _ACEOF
16397 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
16398 #include <netinet/ip_var.h>
16399 #endif
16401 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16405 _ACEOF
16411 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16412 #include <sys/types.h>
16413 #endif
16414 #ifdef HAVE_SYS_SOCKETVAR_H
16415 #include <sys/socketvar.h>
16416 #endif
16417 #ifdef HAVE_NETINET_IN_H
16418 #include <netinet/in.h>
16419 #endif
16420 #ifdef HAVE_NETINET_TCP_H
16421 #include <netinet/tcp.h>
16422 #endif
16423 #ifdef HAVE_NETINET_TCP_VAR_H
16424 #include <netinet/tcp_var.h>
16425 #endif
16427 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16431 _ACEOF
16437 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
16438 #include <netinet/tcp_var.h>
16439 #endif
16441 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16452 #include <sys/types.h>
16453 #endif
16454 #ifdef HAVE_NETINET_IN_H
16455 #include <netinet/in.h>
16456 #endif
16457 #ifdef HAVE_NETINET_IP_VAR_H
16458 #include <netinet/ip_var.h>
16459 #endif
16460 #ifdef HAVE_NETINET_UDP_H
16461 #include <netinet/udp.h>
16462 #endif
16463 #ifdef HAVE_NETINET_UDP_VAR_H
16464 #include <netinet/udp_var.h>
16465 #endif
16467 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16471 _ACEOF
16477 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16478 #include <sys/types.h>
16479 #endif
16480 #ifdef HAVE_NET_IF_H
16481 # include <net/if.h>
16482 #endif
16484 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16488 _ACEOF
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16495 $as_echo_n "checking for timezone variable... " >&6; }
16496 if ${ac_cv_have_timezone+:} false; then :
16497 $as_echo_n "(cached) " >&6
16498 else
16499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16500 /* end confdefs.h. */
16501 #include <time.h>
16503 main ()
16505 timezone = 1
16507 return 0;
16509 _ACEOF
16510 if ac_fn_c_try_link "$LINENO"; then :
16511 ac_cv_have_timezone="yes"
16512 else
16513 ac_cv_have_timezone="no"
16515 rm -f core conftest.err conftest.$ac_objext \
16516 conftest$ac_exeext conftest.$ac_ext
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16519 $as_echo "$ac_cv_have_timezone" >&6; }
16520 if test "$ac_cv_have_timezone" = "yes"
16521 then
16523 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16527 $as_echo_n "checking for daylight variable... " >&6; }
16528 if ${ac_cv_have_daylight+:} false; then :
16529 $as_echo_n "(cached) " >&6
16530 else
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 #include <time.h>
16535 main ()
16537 daylight = 1
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"; then :
16543 ac_cv_have_daylight="yes"
16544 else
16545 ac_cv_have_daylight="no"
16547 rm -f core conftest.err conftest.$ac_objext \
16548 conftest$ac_exeext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16551 $as_echo "$ac_cv_have_daylight" >&6; }
16552 if test "$ac_cv_have_daylight" = "yes"
16553 then
16555 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16559 ac_save_LIBS="$LIBS"
16560 LIBS="$LIBS -lm"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16562 $as_echo_n "checking for isfinite... " >&6; }
16563 if ${ac_cv_have_isfinite+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #define _GNU_SOURCE
16569 #include <math.h>
16571 main ()
16573 float f = 0.0; return isfinite(f)
16575 return 0;
16577 _ACEOF
16578 if ac_fn_c_try_link "$LINENO"; then :
16579 ac_cv_have_isfinite="yes"
16580 else
16581 ac_cv_have_isfinite="no"
16583 rm -f core conftest.err conftest.$ac_objext \
16584 conftest$ac_exeext conftest.$ac_ext
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16587 $as_echo "$ac_cv_have_isfinite" >&6; }
16588 if test "$ac_cv_have_isfinite" = "yes"
16589 then
16591 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16596 $as_echo_n "checking for isinf... " >&6; }
16597 if ${ac_cv_have_isinf+:} false; then :
16598 $as_echo_n "(cached) " >&6
16599 else
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16604 main ()
16606 float f = 0.0; return isinf(f)
16608 return 0;
16610 _ACEOF
16611 if ac_fn_c_try_link "$LINENO"; then :
16612 ac_cv_have_isinf="yes"
16613 else
16614 ac_cv_have_isinf="no"
16616 rm -f core conftest.err conftest.$ac_objext \
16617 conftest$ac_exeext conftest.$ac_ext
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16620 $as_echo "$ac_cv_have_isinf" >&6; }
16621 if test "$ac_cv_have_isinf" = "yes"
16622 then
16624 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16629 $as_echo_n "checking for isnan... " >&6; }
16630 if ${ac_cv_have_isnan+:} false; then :
16631 $as_echo_n "(cached) " >&6
16632 else
16633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16635 #include <math.h>
16637 main ()
16639 float f = 0.0; return isnan(f)
16641 return 0;
16643 _ACEOF
16644 if ac_fn_c_try_link "$LINENO"; then :
16645 ac_cv_have_isnan="yes"
16646 else
16647 ac_cv_have_isnan="no"
16649 rm -f core conftest.err conftest.$ac_objext \
16650 conftest$ac_exeext conftest.$ac_ext
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16653 $as_echo "$ac_cv_have_isnan" >&6; }
16654 if test "$ac_cv_have_isnan" = "yes"
16655 then
16657 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16661 for ac_func in \
16662 cbrt \
16663 cbrtf \
16664 erf \
16665 erff \
16666 exp2 \
16667 exp2f \
16668 llrint \
16669 llrintf \
16670 llround \
16671 llroundf \
16672 log2 \
16673 log2f \
16674 lrint \
16675 lrintf \
16676 lround \
16677 lroundf \
16678 rint \
16679 rintf \
16680 round \
16681 roundf \
16682 trunc \
16683 truncf
16685 do :
16686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16688 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16691 _ACEOF
16694 done
16696 LIBS="$ac_save_LIBS"
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16699 $as_echo_n "checking for __builtin_clz... " >&6; }
16700 if ${ac_cv_have___builtin_clz+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16707 main ()
16709 return __builtin_clz(1)
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 ac_cv_have___builtin_clz="yes"
16716 else
16717 ac_cv_have___builtin_clz="no"
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16723 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16724 if test "$ac_cv_have___builtin_clz" = "yes"
16725 then
16727 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16732 case $host_cpu in
16733 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16734 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16735 if ${ac_cv_cpp_def___i386__+:} false; then :
16736 $as_echo_n "(cached) " >&6
16737 else
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16740 #ifndef __i386__
16742 #endif
16743 _ACEOF
16744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16745 $EGREP "yes" >/dev/null 2>&1; then :
16746 ac_cv_cpp_def___i386__=yes
16747 else
16748 ac_cv_cpp_def___i386__=no
16750 rm -f conftest*
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16754 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16755 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16756 CFLAGS="$CFLAGS -D__i386__"
16757 LINTFLAGS="$LINTFLAGS -D__i386__"
16758 fi ;;
16759 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16760 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16761 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16766 #ifndef __x86_64__
16768 #endif
16769 _ACEOF
16770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16771 $EGREP "yes" >/dev/null 2>&1; then :
16772 ac_cv_cpp_def___x86_64__=yes
16773 else
16774 ac_cv_cpp_def___x86_64__=no
16776 rm -f conftest*
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16780 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16781 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16782 CFLAGS="$CFLAGS -D__x86_64__"
16783 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16784 fi ;;
16785 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16786 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16787 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16788 $as_echo_n "(cached) " >&6
16789 else
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16792 #ifndef __sparc64__
16794 #endif
16795 _ACEOF
16796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16797 $EGREP "yes" >/dev/null 2>&1; then :
16798 ac_cv_cpp_def___sparc64__=yes
16799 else
16800 ac_cv_cpp_def___sparc64__=no
16802 rm -f conftest*
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16806 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16807 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16808 CFLAGS="$CFLAGS -D__sparc64__"
16809 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16810 fi ;;
16811 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16812 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16813 if ${ac_cv_cpp_def___sparc__+:} false; then :
16814 $as_echo_n "(cached) " >&6
16815 else
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h. */
16818 #ifndef __sparc__
16820 #endif
16821 _ACEOF
16822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16823 $EGREP "yes" >/dev/null 2>&1; then :
16824 ac_cv_cpp_def___sparc__=yes
16825 else
16826 ac_cv_cpp_def___sparc__=no
16828 rm -f conftest*
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16832 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16833 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16834 CFLAGS="$CFLAGS -D__sparc__"
16835 LINTFLAGS="$LINTFLAGS -D__sparc__"
16836 fi ;;
16837 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16838 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16839 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16840 $as_echo_n "(cached) " >&6
16841 else
16842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16843 /* end confdefs.h. */
16844 #ifndef __powerpc64__
16846 #endif
16847 _ACEOF
16848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16849 $EGREP "yes" >/dev/null 2>&1; then :
16850 ac_cv_cpp_def___powerpc64__=yes
16851 else
16852 ac_cv_cpp_def___powerpc64__=no
16854 rm -f conftest*
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16858 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16859 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16860 CFLAGS="$CFLAGS -D__powerpc64__"
16861 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16862 fi ;;
16863 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16864 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16865 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16870 #ifndef __powerpc__
16872 #endif
16873 _ACEOF
16874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16875 $EGREP "yes" >/dev/null 2>&1; then :
16876 ac_cv_cpp_def___powerpc__=yes
16877 else
16878 ac_cv_cpp_def___powerpc__=no
16880 rm -f conftest*
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16884 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16885 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16886 CFLAGS="$CFLAGS -D__powerpc__"
16887 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16888 fi ;;
16889 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16890 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16891 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16892 $as_echo_n "(cached) " >&6
16893 else
16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16896 #ifndef __aarch64__
16898 #endif
16899 _ACEOF
16900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16901 $EGREP "yes" >/dev/null 2>&1; then :
16902 ac_cv_cpp_def___aarch64__=yes
16903 else
16904 ac_cv_cpp_def___aarch64__=no
16906 rm -f conftest*
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16910 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16911 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16912 CFLAGS="$CFLAGS -D__aarch64__"
16913 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16914 fi ;;
16915 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16916 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16917 if ${ac_cv_cpp_def___arm__+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #ifndef __arm__
16924 #endif
16925 _ACEOF
16926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16927 $EGREP "yes" >/dev/null 2>&1; then :
16928 ac_cv_cpp_def___arm__=yes
16929 else
16930 ac_cv_cpp_def___arm__=no
16932 rm -f conftest*
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16936 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16937 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16938 CFLAGS="$CFLAGS -D__arm__"
16939 LINTFLAGS="$LINTFLAGS -D__arm__"
16940 fi ;;
16941 esac
16943 case $host_vendor in
16944 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16945 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16946 if ${ac_cv_cpp_def___sun__+:} false; then :
16947 $as_echo_n "(cached) " >&6
16948 else
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 #ifndef __sun__
16953 #endif
16954 _ACEOF
16955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16956 $EGREP "yes" >/dev/null 2>&1; then :
16957 ac_cv_cpp_def___sun__=yes
16958 else
16959 ac_cv_cpp_def___sun__=no
16961 rm -f conftest*
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16965 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16966 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16967 CFLAGS="$CFLAGS -D__sun__"
16968 LINTFLAGS="$LINTFLAGS -D__sun__"
16969 fi ;;
16970 esac
16976 ac_config_commands="$ac_config_commands include/stamp-h"
16978 $as_echo_n "creating Makefile rules..." >&6
16980 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16981 SOCKET_LIBS = $SOCKET_LIBS
16982 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16983 IOKIT_LIBS = $IOKIT_LIBS
16984 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16985 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16986 CORESERVICES_LIBS = $CORESERVICES_LIBS
16987 APPKIT_LIBS = $APPKIT_LIBS
16988 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16989 SECURITY_LIBS = $SECURITY_LIBS
16990 COREAUDIO_LIBS = $COREAUDIO_LIBS
16991 OPENAL_LIBS = $OPENAL_LIBS
16992 OPENCL_LIBS = $OPENCL_LIBS
16993 QUICKTIME_LIBS = $QUICKTIME_LIBS
16994 CARBON_LIBS = $CARBON_LIBS
16995 PTHREAD_LIBS = $PTHREAD_LIBS
16996 X_CFLAGS = $X_CFLAGS
16997 X_PRE_LIBS = $X_PRE_LIBS
16998 X_LIBS = $X_LIBS
16999 X_EXTRA_LIBS = $X_EXTRA_LIBS
17000 XML2_CFLAGS = $XML2_CFLAGS
17001 XML2_LIBS = $XML2_LIBS
17002 XSLT_CFLAGS = $XSLT_CFLAGS
17003 XSLT_LIBS = $XSLT_LIBS
17004 DBUS_CFLAGS = $DBUS_CFLAGS
17005 DBUS_LIBS = $DBUS_LIBS
17006 HAL_CFLAGS = $HAL_CFLAGS
17007 HAL_LIBS = $HAL_LIBS
17008 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17009 GNUTLS_LIBS = $GNUTLS_LIBS
17010 SANE_CFLAGS = $SANE_CFLAGS
17011 SANE_LIBS = $SANE_LIBS
17012 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17013 GPHOTO2_LIBS = $GPHOTO2_LIBS
17014 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17015 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17016 RESOLV_LIBS = $RESOLV_LIBS
17017 LCMS2_CFLAGS = $LCMS2_CFLAGS
17018 LCMS2_LIBS = $LCMS2_LIBS
17019 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17020 FREETYPE_LIBS = $FREETYPE_LIBS
17021 Z_LIBS = $Z_LIBS
17022 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17023 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17024 GSTREAMER_LIBS = $GSTREAMER_LIBS
17025 ALSA_LIBS = $ALSA_LIBS
17026 OSS4_CFLAGS = $OSS4_CFLAGS
17027 CAPI20_CFLAGS = $CAPI20_CFLAGS
17028 CAPI20_LIBS = $CAPI20_LIBS
17029 CUPS_CFLAGS = $CUPS_CFLAGS
17030 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17031 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17032 JPEG_CFLAGS = $JPEG_CFLAGS
17033 JPEG_LIBS = $JPEG_LIBS
17034 PNG_CFLAGS = $PNG_CFLAGS
17035 PNG_LIBS = $PNG_LIBS
17036 TIFF_CFLAGS = $TIFF_CFLAGS
17037 TIFF_LIBS = $TIFF_LIBS
17038 MPG123_CFLAGS = $MPG123_CFLAGS
17039 MPG123_LIBS = $MPG123_LIBS
17040 KSTAT_LIBS = $KSTAT_LIBS
17041 PROCSTAT_LIBS = $PROCSTAT_LIBS
17042 DL_LIBS = $DL_LIBS
17043 POLL_LIBS = $POLL_LIBS
17044 RT_LIBS = $RT_LIBS
17045 LDAP_LIBS = $LDAP_LIBS
17050 wine_fn_append_rule "
17051 # Rules automatically generated by configure
17053 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17055 .INIT: Makefile
17056 .MAKEFILEDEPS:
17057 all: Makefile
17058 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17059 @./config.status Make.tmp Makefile"
17061 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17062 .gitignore: config.status
17063 @./config.status .gitignore"
17065 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17066 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17068 if test "x$enable_fonts" != xno; then
17069 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17070 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17071 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17072 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17073 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17075 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17076 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17077 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17078 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17079 ac_config_links="$ac_config_links wine:tools/winewrapper"
17080 wine_fn_config_symlink wine
17081 if test "x$enable_win64" != xno; then
17082 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17083 wine_fn_config_symlink wine64
17086 wine_fn_config_dll acledit enable_acledit
17087 wine_fn_config_dll aclui enable_aclui implib
17088 wine_fn_config_dll activeds enable_activeds implib
17089 wine_fn_config_dll actxprxy enable_actxprxy clean
17090 wine_fn_config_lib adsiid
17091 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17092 wine_fn_config_test dlls/advapi32/tests advapi32_test
17093 wine_fn_config_dll advpack enable_advpack implib
17094 wine_fn_config_test dlls/advpack/tests advpack_test
17095 wine_fn_config_dll amstream enable_amstream clean
17096 wine_fn_config_test dlls/amstream/tests amstream_test
17097 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17098 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17099 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17100 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17101 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17102 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17103 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17104 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17105 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17106 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17107 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17108 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17109 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17110 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17111 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17112 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17113 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17114 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17115 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17116 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17117 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17118 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17119 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17120 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17121 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17122 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17123 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17124 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17125 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17126 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17127 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17128 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17129 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17130 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17131 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17132 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17133 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17134 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17135 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17136 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17139 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17140 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17141 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17143 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17144 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17145 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17146 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17147 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17148 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17150 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17152 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17153 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17154 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17155 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17156 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17157 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17158 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17159 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17160 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17161 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17162 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17163 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17164 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17165 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17166 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17167 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17168 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17169 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17170 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17171 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17172 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17173 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17174 wine_fn_config_dll apphelp enable_apphelp
17175 wine_fn_config_test dlls/apphelp/tests apphelp_test
17176 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17177 wine_fn_config_dll atl enable_atl clean,implib
17178 wine_fn_config_test dlls/atl/tests atl_test
17179 wine_fn_config_dll atl100 enable_atl100 clean,implib
17180 wine_fn_config_test dlls/atl100/tests atl100_test
17181 wine_fn_config_dll atl110 enable_atl110 clean
17182 wine_fn_config_dll atl80 enable_atl80 clean,implib
17183 wine_fn_config_test dlls/atl80/tests atl80_test
17184 wine_fn_config_dll atl90 enable_atl90 clean
17185 wine_fn_config_dll authz enable_authz
17186 wine_fn_config_dll avicap32 enable_avicap32 implib
17187 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17188 wine_fn_config_test dlls/avifil32/tests avifil32_test
17189 wine_fn_config_dll avifile.dll16 enable_win16
17190 wine_fn_config_dll avrt enable_avrt implib
17191 wine_fn_config_dll bcrypt enable_bcrypt
17192 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17193 wine_fn_config_dll browseui enable_browseui clean,po
17194 wine_fn_config_test dlls/browseui/tests browseui_test
17195 wine_fn_config_dll cabinet enable_cabinet implib
17196 wine_fn_config_test dlls/cabinet/tests cabinet_test
17197 wine_fn_config_dll capi2032 enable_capi2032 implib
17198 wine_fn_config_dll cards enable_cards implib
17199 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17200 wine_fn_config_dll clusapi enable_clusapi implib
17201 wine_fn_config_dll combase enable_combase
17202 wine_fn_config_test dlls/combase/tests combase_test
17203 wine_fn_config_dll comcat enable_comcat
17204 wine_fn_config_test dlls/comcat/tests comcat_test
17205 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17206 wine_fn_config_test dlls/comctl32/tests comctl32_test
17207 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17208 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17209 wine_fn_config_dll comm.drv16 enable_win16
17210 wine_fn_config_dll commdlg.dll16 enable_win16
17211 wine_fn_config_dll compobj.dll16 enable_win16
17212 wine_fn_config_dll compstui enable_compstui implib
17213 wine_fn_config_dll comsvcs enable_comsvcs implib
17214 wine_fn_config_dll connect enable_connect
17215 wine_fn_config_dll credui enable_credui implib,po
17216 wine_fn_config_test dlls/credui/tests credui_test
17217 wine_fn_config_dll crtdll enable_crtdll implib
17218 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17219 wine_fn_config_test dlls/crypt32/tests crypt32_test
17220 wine_fn_config_dll cryptdlg enable_cryptdlg po
17221 wine_fn_config_dll cryptdll enable_cryptdll implib
17222 wine_fn_config_dll cryptext enable_cryptext
17223 wine_fn_config_dll cryptnet enable_cryptnet implib
17224 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17225 wine_fn_config_dll cryptui enable_cryptui implib,po
17226 wine_fn_config_test dlls/cryptui/tests cryptui_test
17227 wine_fn_config_dll ctapi32 enable_ctapi32
17228 wine_fn_config_dll ctl3d.dll16 enable_win16
17229 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17230 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17231 wine_fn_config_dll d2d1 enable_d2d1 implib
17232 wine_fn_config_test dlls/d2d1/tests d2d1_test
17233 wine_fn_config_dll d3d10 enable_d3d10 implib
17234 wine_fn_config_test dlls/d3d10/tests d3d10_test
17235 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17236 wine_fn_config_dll d3d10core enable_d3d10core implib
17237 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17238 wine_fn_config_dll d3d11 enable_d3d11
17239 wine_fn_config_dll d3d8 enable_d3d8 implib
17240 wine_fn_config_test dlls/d3d8/tests d3d8_test
17241 wine_fn_config_dll d3d9 enable_d3d9 implib
17242 wine_fn_config_test dlls/d3d9/tests d3d9_test
17243 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17244 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17245 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17246 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17247 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17248 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17249 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17250 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17251 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17252 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17253 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17254 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17255 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17256 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17257 wine_fn_config_dll d3dim enable_d3dim implib
17258 wine_fn_config_dll d3drm enable_d3drm implib
17259 wine_fn_config_test dlls/d3drm/tests d3drm_test
17260 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17261 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17262 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17263 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17264 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17265 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17266 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17267 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17268 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17269 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17270 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17271 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17272 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17273 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17274 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17275 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17276 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17277 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17278 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17279 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17280 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17281 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17282 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17283 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17284 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17285 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17286 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17287 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17288 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17289 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17290 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17291 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17292 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17293 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17294 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17295 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17296 wine_fn_config_dll davclnt enable_davclnt
17297 wine_fn_config_dll dbgeng enable_dbgeng implib
17298 wine_fn_config_dll dbghelp enable_dbghelp implib
17299 wine_fn_config_dll dciman32 enable_dciman32 implib
17300 wine_fn_config_dll ddeml.dll16 enable_win16
17301 wine_fn_config_dll ddraw enable_ddraw clean,implib
17302 wine_fn_config_test dlls/ddraw/tests ddraw_test
17303 wine_fn_config_dll ddrawex enable_ddrawex clean
17304 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17305 wine_fn_config_dll devenum enable_devenum clean,po
17306 wine_fn_config_test dlls/devenum/tests devenum_test
17307 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17308 wine_fn_config_dll difxapi enable_difxapi
17309 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17310 wine_fn_config_test dlls/dinput/tests dinput_test
17311 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17312 wine_fn_config_test dlls/dinput8/tests dinput8_test
17313 wine_fn_config_dll dispdib.dll16 enable_win16
17314 wine_fn_config_dll dispex enable_dispex clean
17315 wine_fn_config_test dlls/dispex/tests dispex_test
17316 wine_fn_config_dll display.drv16 enable_win16
17317 wine_fn_config_dll dmband enable_dmband clean
17318 wine_fn_config_test dlls/dmband/tests dmband_test
17319 wine_fn_config_dll dmcompos enable_dmcompos clean
17320 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17321 wine_fn_config_dll dmime enable_dmime clean
17322 wine_fn_config_test dlls/dmime/tests dmime_test
17323 wine_fn_config_dll dmloader enable_dmloader clean
17324 wine_fn_config_test dlls/dmloader/tests dmloader_test
17325 wine_fn_config_dll dmscript enable_dmscript clean
17326 wine_fn_config_test dlls/dmscript/tests dmscript_test
17327 wine_fn_config_dll dmstyle enable_dmstyle clean
17328 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17329 wine_fn_config_dll dmsynth enable_dmsynth clean
17330 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17331 wine_fn_config_dll dmusic enable_dmusic clean
17332 wine_fn_config_test dlls/dmusic/tests dmusic_test
17333 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17334 wine_fn_config_dll dnsapi enable_dnsapi implib
17335 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17336 wine_fn_config_dll dplay enable_dplay implib
17337 wine_fn_config_dll dplayx enable_dplayx clean,implib
17338 wine_fn_config_test dlls/dplayx/tests dplayx_test
17339 wine_fn_config_dll dpnaddr enable_dpnaddr
17340 wine_fn_config_dll dpnet enable_dpnet clean,implib
17341 wine_fn_config_test dlls/dpnet/tests dpnet_test
17342 wine_fn_config_dll dpnhpast enable_dpnhpast
17343 wine_fn_config_dll dpnlobby enable_dpnlobby
17344 wine_fn_config_dll dpvoice enable_dpvoice clean
17345 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17346 wine_fn_config_dll dpwsockx enable_dpwsockx
17347 wine_fn_config_dll drmclien enable_drmclien
17348 wine_fn_config_dll dsound enable_dsound clean,implib
17349 wine_fn_config_test dlls/dsound/tests dsound_test
17350 wine_fn_config_dll dssenh enable_dssenh
17351 wine_fn_config_test dlls/dssenh/tests dssenh_test
17352 wine_fn_config_dll dswave enable_dswave clean
17353 wine_fn_config_test dlls/dswave/tests dswave_test
17354 wine_fn_config_dll dwmapi enable_dwmapi implib
17355 wine_fn_config_dll dwrite enable_dwrite implib
17356 wine_fn_config_test dlls/dwrite/tests dwrite_test
17357 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17358 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17359 wine_fn_config_lib dxerr8
17360 wine_fn_config_lib dxerr9
17361 wine_fn_config_dll dxgi enable_dxgi implib
17362 wine_fn_config_test dlls/dxgi/tests dxgi_test
17363 wine_fn_config_lib dxguid
17364 wine_fn_config_dll dxva2 enable_dxva2
17365 wine_fn_config_dll evr enable_evr
17366 wine_fn_config_dll explorerframe enable_explorerframe clean
17367 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17368 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17369 wine_fn_config_dll faultrep enable_faultrep implib
17370 wine_fn_config_test dlls/faultrep/tests faultrep_test
17371 wine_fn_config_dll fltlib enable_fltlib
17372 wine_fn_config_dll fntcache enable_fntcache
17373 wine_fn_config_dll fontsub enable_fontsub
17374 wine_fn_config_dll fusion enable_fusion
17375 wine_fn_config_test dlls/fusion/tests fusion_test
17376 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17377 wine_fn_config_dll gameux enable_gameux clean
17378 wine_fn_config_test dlls/gameux/tests gameux_test
17379 wine_fn_config_dll gdi.exe16 enable_win16
17380 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17381 wine_fn_config_test dlls/gdi32/tests gdi32_test
17382 wine_fn_config_dll gdiplus enable_gdiplus implib
17383 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17384 wine_fn_config_dll glu32 enable_glu32 implib
17385 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17386 wine_fn_config_dll gpkcsp enable_gpkcsp
17387 wine_fn_config_dll hal enable_hal
17388 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17389 wine_fn_config_dll hid enable_hid implib
17390 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17391 wine_fn_config_dll hlink enable_hlink clean,implib
17392 wine_fn_config_test dlls/hlink/tests hlink_test
17393 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17394 wine_fn_config_dll httpapi enable_httpapi
17395 wine_fn_config_dll iccvid enable_iccvid po
17396 wine_fn_config_dll icmp enable_icmp
17397 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17398 wine_fn_config_test dlls/ieframe/tests ieframe_test
17399 wine_fn_config_dll ifsmgr.vxd enable_win16
17400 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17401 wine_fn_config_dll imagehlp enable_imagehlp implib
17402 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17403 wine_fn_config_dll imm.dll16 enable_win16
17404 wine_fn_config_dll imm32 enable_imm32 implib
17405 wine_fn_config_test dlls/imm32/tests imm32_test
17406 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17407 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17408 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17409 wine_fn_config_dll inetmib1 enable_inetmib1
17410 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17411 wine_fn_config_dll infosoft enable_infosoft clean
17412 wine_fn_config_test dlls/infosoft/tests infosoft_test
17413 wine_fn_config_dll initpki enable_initpki
17414 wine_fn_config_dll inkobj enable_inkobj
17415 wine_fn_config_dll inseng enable_inseng clean
17416 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17417 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17418 wine_fn_config_dll itircl enable_itircl
17419 wine_fn_config_dll itss enable_itss clean
17420 wine_fn_config_test dlls/itss/tests itss_test
17421 wine_fn_config_dll joy.cpl enable_joy_cpl po
17422 wine_fn_config_dll jscript enable_jscript clean,po
17423 wine_fn_config_test dlls/jscript/tests jscript_test
17424 wine_fn_config_dll jsproxy enable_jsproxy implib
17425 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17426 wine_fn_config_test dlls/kernel32/tests kernel32_test
17427 wine_fn_config_dll keyboard.drv16 enable_win16
17428 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17429 wine_fn_config_dll ksuser enable_ksuser
17430 wine_fn_config_dll ktmw32 enable_ktmw32
17431 wine_fn_config_dll loadperf enable_loadperf implib
17432 wine_fn_config_dll localspl enable_localspl po
17433 wine_fn_config_test dlls/localspl/tests localspl_test
17434 wine_fn_config_dll localui enable_localui po
17435 wine_fn_config_test dlls/localui/tests localui_test
17436 wine_fn_config_dll lz32 enable_lz32 implib
17437 wine_fn_config_test dlls/lz32/tests lz32_test
17438 wine_fn_config_dll lzexpand.dll16 enable_win16
17439 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17440 wine_fn_config_test dlls/mapi32/tests mapi32_test
17441 wine_fn_config_dll mapistub enable_mapistub
17442 wine_fn_config_dll mciavi32 enable_mciavi32
17443 wine_fn_config_dll mcicda enable_mcicda
17444 wine_fn_config_dll mciqtz32 enable_mciqtz32
17445 wine_fn_config_dll mciseq enable_mciseq
17446 wine_fn_config_dll mciwave enable_mciwave
17447 wine_fn_config_dll mf enable_mf
17448 wine_fn_config_dll mfplat enable_mfplat
17449 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17450 wine_fn_config_dll mgmtapi enable_mgmtapi
17451 wine_fn_config_dll midimap enable_midimap
17452 wine_fn_config_dll mlang enable_mlang clean,implib
17453 wine_fn_config_test dlls/mlang/tests mlang_test
17454 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17455 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17456 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17457 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17458 wine_fn_config_dll mmdevldr.vxd enable_win16
17459 wine_fn_config_dll mmsystem.dll16 enable_win16
17460 wine_fn_config_dll monodebg.vxd enable_win16
17461 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17462 wine_fn_config_dll mouse.drv16 enable_win16
17463 wine_fn_config_dll mpr enable_mpr implib,po
17464 wine_fn_config_test dlls/mpr/tests mpr_test
17465 wine_fn_config_dll mprapi enable_mprapi implib
17466 wine_fn_config_dll msacm.dll16 enable_win16
17467 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17468 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17469 wine_fn_config_test dlls/msacm32/tests msacm32_test
17470 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17471 wine_fn_config_dll msasn1 enable_msasn1 implib
17472 wine_fn_config_dll mscat32 enable_mscat32
17473 wine_fn_config_dll mscms enable_mscms implib
17474 wine_fn_config_test dlls/mscms/tests mscms_test
17475 wine_fn_config_dll mscoree enable_mscoree clean
17476 wine_fn_config_test dlls/mscoree/tests mscoree_test
17477 wine_fn_config_dll msctf enable_msctf clean
17478 wine_fn_config_test dlls/msctf/tests msctf_test
17479 wine_fn_config_dll msctfp enable_msctfp clean
17480 wine_fn_config_dll msdaps enable_msdaps clean
17481 wine_fn_config_dll msdmo enable_msdmo implib
17482 wine_fn_config_test dlls/msdmo/tests msdmo_test
17483 wine_fn_config_dll msftedit enable_msftedit
17484 wine_fn_config_dll msg711.acm enable_msg711_acm
17485 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17486 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17487 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17488 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17489 wine_fn_config_dll msi enable_msi clean,implib,po
17490 wine_fn_config_test dlls/msi/tests msi_test
17491 wine_fn_config_dll msident enable_msident clean
17492 wine_fn_config_dll msimg32 enable_msimg32 implib
17493 wine_fn_config_dll msimsg enable_msimsg
17494 wine_fn_config_dll msimtf enable_msimtf clean
17495 wine_fn_config_dll msisip enable_msisip
17496 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17497 wine_fn_config_dll msls31 enable_msls31
17498 wine_fn_config_dll msnet32 enable_msnet32
17499 wine_fn_config_dll mspatcha enable_mspatcha implib
17500 wine_fn_config_dll msrle32 enable_msrle32 po
17501 wine_fn_config_test dlls/msrle32/tests msrle32_test
17502 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17503 wine_fn_config_dll mssign32 enable_mssign32
17504 wine_fn_config_dll mssip32 enable_mssip32
17505 wine_fn_config_dll mstask enable_mstask clean
17506 wine_fn_config_test dlls/mstask/tests mstask_test
17507 wine_fn_config_dll msvcirt enable_msvcirt
17508 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17509 wine_fn_config_dll msvcm80 enable_msvcm80
17510 wine_fn_config_dll msvcm90 enable_msvcm90
17511 wine_fn_config_dll msvcp100 enable_msvcp100
17512 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17513 wine_fn_config_dll msvcp110 enable_msvcp110
17514 wine_fn_config_dll msvcp120 enable_msvcp120
17515 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17516 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17517 wine_fn_config_dll msvcp60 enable_msvcp60
17518 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17519 wine_fn_config_dll msvcp70 enable_msvcp70
17520 wine_fn_config_dll msvcp71 enable_msvcp71
17521 wine_fn_config_dll msvcp80 enable_msvcp80
17522 wine_fn_config_dll msvcp90 enable_msvcp90
17523 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17524 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17525 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17526 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17527 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17528 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17529 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17530 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17531 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17532 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17533 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17534 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17535 wine_fn_config_dll msvcrt enable_msvcrt implib
17536 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17537 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17538 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17539 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17540 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17541 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17542 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17543 wine_fn_config_dll msvidc32 enable_msvidc32 po
17544 wine_fn_config_dll msvideo.dll16 enable_win16
17545 wine_fn_config_dll mswsock enable_mswsock implib
17546 wine_fn_config_dll msxml enable_msxml clean
17547 wine_fn_config_dll msxml2 enable_msxml2 clean
17548 wine_fn_config_dll msxml3 enable_msxml3 clean
17549 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17550 wine_fn_config_dll msxml4 enable_msxml4 clean
17551 wine_fn_config_dll msxml6 enable_msxml6 clean
17552 wine_fn_config_dll nddeapi enable_nddeapi implib
17553 wine_fn_config_dll ndis.sys enable_ndis_sys
17554 wine_fn_config_dll netapi32 enable_netapi32 implib
17555 wine_fn_config_test dlls/netapi32/tests netapi32_test
17556 wine_fn_config_dll netcfgx enable_netcfgx clean
17557 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17558 wine_fn_config_dll netprofm enable_netprofm clean
17559 wine_fn_config_test dlls/netprofm/tests netprofm_test
17560 wine_fn_config_dll newdev enable_newdev implib
17561 wine_fn_config_dll normaliz enable_normaliz implib
17562 wine_fn_config_dll npmshtml enable_npmshtml
17563 wine_fn_config_dll npptools enable_npptools
17564 wine_fn_config_dll ntdll enable_ntdll implib
17565 wine_fn_config_test dlls/ntdll/tests ntdll_test
17566 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17567 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17568 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17569 wine_fn_config_dll ntprint enable_ntprint
17570 wine_fn_config_test dlls/ntprint/tests ntprint_test
17571 wine_fn_config_dll objsel enable_objsel clean
17572 wine_fn_config_dll odbc32 enable_odbc32 implib
17573 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17574 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17575 wine_fn_config_dll odbccu32 enable_odbccu32
17576 wine_fn_config_dll ole2.dll16 enable_win16
17577 wine_fn_config_dll ole2conv.dll16 enable_win16
17578 wine_fn_config_dll ole2disp.dll16 enable_win16
17579 wine_fn_config_dll ole2nls.dll16 enable_win16
17580 wine_fn_config_dll ole2prox.dll16 enable_win16
17581 wine_fn_config_dll ole2thk.dll16 enable_win16
17582 wine_fn_config_dll ole32 enable_ole32 clean,implib
17583 wine_fn_config_test dlls/ole32/tests ole32_test
17584 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17585 wine_fn_config_test dlls/oleacc/tests oleacc_test
17586 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17587 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17588 wine_fn_config_dll olecli.dll16 enable_win16
17589 wine_fn_config_dll olecli32 enable_olecli32 implib
17590 wine_fn_config_dll oledb32 enable_oledb32 clean
17591 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17592 wine_fn_config_dll oledlg enable_oledlg implib,po
17593 wine_fn_config_test dlls/oledlg/tests oledlg_test
17594 wine_fn_config_dll olepro32 enable_olepro32 implib
17595 wine_fn_config_dll olesvr.dll16 enable_win16
17596 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17597 wine_fn_config_dll olethk32 enable_olethk32
17598 wine_fn_config_dll openal32 enable_openal32
17599 wine_fn_config_dll opencl enable_opencl
17600 wine_fn_config_dll opengl32 enable_opengl32 implib
17601 wine_fn_config_test dlls/opengl32/tests opengl32_test
17602 wine_fn_config_dll packager enable_packager clean
17603 wine_fn_config_test dlls/packager/tests packager_test
17604 wine_fn_config_dll pdh enable_pdh implib
17605 wine_fn_config_test dlls/pdh/tests pdh_test
17606 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17607 wine_fn_config_dll pidgen enable_pidgen
17608 wine_fn_config_dll powrprof enable_powrprof implib
17609 wine_fn_config_dll printui enable_printui
17610 wine_fn_config_dll prntvpt enable_prntvpt
17611 wine_fn_config_dll propsys enable_propsys clean,implib
17612 wine_fn_config_test dlls/propsys/tests propsys_test
17613 wine_fn_config_dll psapi enable_psapi implib
17614 wine_fn_config_test dlls/psapi/tests psapi_test
17615 wine_fn_config_dll pstorec enable_pstorec clean
17616 wine_fn_config_dll qcap enable_qcap
17617 wine_fn_config_test dlls/qcap/tests qcap_test
17618 wine_fn_config_dll qedit enable_qedit clean
17619 wine_fn_config_test dlls/qedit/tests qedit_test
17620 wine_fn_config_dll qmgr enable_qmgr clean
17621 wine_fn_config_test dlls/qmgr/tests qmgr_test
17622 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17623 wine_fn_config_dll quartz enable_quartz clean,implib
17624 wine_fn_config_test dlls/quartz/tests quartz_test clean
17625 wine_fn_config_dll query enable_query
17626 wine_fn_config_dll rasapi16.dll16 enable_win16
17627 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17628 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17629 wine_fn_config_dll rasdlg enable_rasdlg implib
17630 wine_fn_config_dll regapi enable_regapi
17631 wine_fn_config_dll resutils enable_resutils implib
17632 wine_fn_config_dll riched20 enable_riched20 clean,implib
17633 wine_fn_config_test dlls/riched20/tests riched20_test
17634 wine_fn_config_dll riched32 enable_riched32
17635 wine_fn_config_test dlls/riched32/tests riched32_test
17636 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17637 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17638 wine_fn_config_dll rsabase enable_rsabase
17639 wine_fn_config_dll rsaenh enable_rsaenh implib
17640 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17641 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17642 wine_fn_config_dll rtutils enable_rtutils implib
17643 wine_fn_config_dll samlib enable_samlib
17644 wine_fn_config_dll sane.ds enable_sane_ds po
17645 wine_fn_config_dll scarddlg enable_scarddlg
17646 wine_fn_config_dll sccbase enable_sccbase
17647 wine_fn_config_dll schannel enable_schannel
17648 wine_fn_config_test dlls/schannel/tests schannel_test
17649 wine_fn_config_dll schedsvc enable_schedsvc clean
17650 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17651 wine_fn_config_dll scrrun enable_scrrun clean
17652 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17653 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17654 wine_fn_config_dll secur32 enable_secur32 implib
17655 wine_fn_config_test dlls/secur32/tests secur32_test
17656 wine_fn_config_dll security enable_security
17657 wine_fn_config_dll sensapi enable_sensapi implib
17658 wine_fn_config_dll serialui enable_serialui implib,po
17659 wine_fn_config_test dlls/serialui/tests serialui_test
17660 wine_fn_config_dll setupapi enable_setupapi implib,po
17661 wine_fn_config_test dlls/setupapi/tests setupapi_test
17662 wine_fn_config_dll setupx.dll16 enable_win16
17663 wine_fn_config_dll sfc enable_sfc implib
17664 wine_fn_config_dll sfc_os enable_sfc_os implib
17665 wine_fn_config_dll shdoclc enable_shdoclc po
17666 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17667 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17668 wine_fn_config_dll shell.dll16 enable_win16
17669 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17670 wine_fn_config_test dlls/shell32/tests shell32_test
17671 wine_fn_config_dll shfolder enable_shfolder implib
17672 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17673 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17674 wine_fn_config_dll slbcsp enable_slbcsp
17675 wine_fn_config_dll slc enable_slc implib
17676 wine_fn_config_test dlls/slc/tests slc_test
17677 wine_fn_config_dll snmpapi enable_snmpapi implib
17678 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17679 wine_fn_config_dll softpub enable_softpub
17680 wine_fn_config_dll sound.drv16 enable_win16
17681 wine_fn_config_dll spoolss enable_spoolss implib
17682 wine_fn_config_test dlls/spoolss/tests spoolss_test
17683 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17684 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17685 wine_fn_config_dll sti enable_sti clean,implib
17686 wine_fn_config_test dlls/sti/tests sti_test
17687 wine_fn_config_dll storage.dll16 enable_win16
17688 wine_fn_config_dll stress.dll16 enable_win16
17689 wine_fn_config_lib strmbase
17690 wine_fn_config_lib strmiids
17691 wine_fn_config_dll svrapi enable_svrapi
17692 wine_fn_config_dll sxs enable_sxs implib
17693 wine_fn_config_test dlls/sxs/tests sxs_test
17694 wine_fn_config_dll system.drv16 enable_win16
17695 wine_fn_config_dll t2embed enable_t2embed
17696 wine_fn_config_dll tapi32 enable_tapi32 implib
17697 wine_fn_config_dll taskschd enable_taskschd clean
17698 wine_fn_config_test dlls/taskschd/tests taskschd_test
17699 wine_fn_config_dll toolhelp.dll16 enable_win16
17700 wine_fn_config_dll traffic enable_traffic
17701 wine_fn_config_dll twain.dll16 enable_win16
17702 wine_fn_config_dll twain_32 enable_twain_32
17703 wine_fn_config_test dlls/twain_32/tests twain_32_test
17704 wine_fn_config_dll typelib.dll16 enable_win16
17705 wine_fn_config_dll unicows enable_unicows implib
17706 wine_fn_config_dll updspapi enable_updspapi
17707 wine_fn_config_dll url enable_url implib
17708 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17709 wine_fn_config_test dlls/urlmon/tests urlmon_test
17710 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17711 wine_fn_config_dll user.exe16 enable_win16
17712 wine_fn_config_dll user32 enable_user32 clean,implib,po
17713 wine_fn_config_test dlls/user32/tests user32_test
17714 wine_fn_config_dll userenv enable_userenv implib
17715 wine_fn_config_test dlls/userenv/tests userenv_test
17716 wine_fn_config_dll usp10 enable_usp10 implib
17717 wine_fn_config_test dlls/usp10/tests usp10_test
17718 wine_fn_config_lib uuid
17719 wine_fn_config_dll uxtheme enable_uxtheme implib
17720 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17721 wine_fn_config_dll vbscript enable_vbscript clean
17722 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17723 wine_fn_config_dll vcomp enable_vcomp
17724 wine_fn_config_test dlls/vcomp/tests vcomp_test
17725 wine_fn_config_dll vcomp100 enable_vcomp100
17726 wine_fn_config_dll vcomp110 enable_vcomp110
17727 wine_fn_config_dll vcomp90 enable_vcomp90
17728 wine_fn_config_dll vdhcp.vxd enable_win16
17729 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17730 wine_fn_config_dll ver.dll16 enable_win16
17731 wine_fn_config_dll version enable_version implib
17732 wine_fn_config_test dlls/version/tests version_test
17733 wine_fn_config_dll vmm.vxd enable_win16
17734 wine_fn_config_dll vnbt.vxd enable_win16
17735 wine_fn_config_dll vnetbios.vxd enable_win16
17736 wine_fn_config_dll vssapi enable_vssapi
17737 wine_fn_config_dll vtdapi.vxd enable_win16
17738 wine_fn_config_dll vwin32.vxd enable_win16
17739 wine_fn_config_dll w32skrnl enable_win16
17740 wine_fn_config_dll w32sys.dll16 enable_win16
17741 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17742 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17743 wine_fn_config_dll wbemprox enable_wbemprox clean
17744 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17745 wine_fn_config_dll webservices enable_webservices implib
17746 wine_fn_config_dll wer enable_wer implib
17747 wine_fn_config_test dlls/wer/tests wer_test
17748 wine_fn_config_dll wevtapi enable_wevtapi
17749 wine_fn_config_dll wiaservc enable_wiaservc clean
17750 wine_fn_config_dll win32s16.dll16 enable_win16
17751 wine_fn_config_dll win87em.dll16 enable_win16
17752 wine_fn_config_dll winaspi.dll16 enable_win16
17753 wine_fn_config_dll windebug.dll16 enable_win16
17754 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17755 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17756 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17757 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17758 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17759 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17760 wine_fn_config_lib winecrt0
17761 wine_fn_config_dll wined3d enable_wined3d implib
17762 wine_fn_config_dll winegstreamer enable_winegstreamer
17763 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17764 wine_fn_config_dll winemac.drv enable_winemac_drv
17765 wine_fn_config_dll winemapi enable_winemapi
17766 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17767 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17768 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17769 wine_fn_config_dll wineps16.drv16 enable_win16
17770 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17771 wine_fn_config_dll winex11.drv enable_winex11_drv
17772 wine_fn_config_dll wing.dll16 enable_win16
17773 wine_fn_config_dll wing32 enable_wing32
17774 wine_fn_config_dll winhttp enable_winhttp clean,implib
17775 wine_fn_config_test dlls/winhttp/tests winhttp_test
17776 wine_fn_config_dll wininet enable_wininet implib,po
17777 wine_fn_config_test dlls/wininet/tests wininet_test
17778 wine_fn_config_dll winmm enable_winmm implib,po
17779 wine_fn_config_test dlls/winmm/tests winmm_test
17780 wine_fn_config_dll winnls.dll16 enable_win16
17781 wine_fn_config_dll winnls32 enable_winnls32 implib
17782 wine_fn_config_dll winscard enable_winscard implib
17783 wine_fn_config_dll winsock.dll16 enable_win16
17784 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17785 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17786 wine_fn_config_dll winsta enable_winsta
17787 wine_fn_config_dll wintab.dll16 enable_win16
17788 wine_fn_config_dll wintab32 enable_wintab32 implib
17789 wine_fn_config_test dlls/wintab32/tests wintab32_test
17790 wine_fn_config_dll wintrust enable_wintrust implib
17791 wine_fn_config_test dlls/wintrust/tests wintrust_test
17792 wine_fn_config_dll wlanapi enable_wlanapi
17793 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17794 wine_fn_config_test dlls/wldap32/tests wldap32_test
17795 wine_fn_config_dll wmi enable_wmi
17796 wine_fn_config_dll wmiutils enable_wmiutils clean
17797 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17798 wine_fn_config_dll wmp enable_wmp clean
17799 wine_fn_config_test dlls/wmp/tests wmp_test
17800 wine_fn_config_dll wmvcore enable_wmvcore
17801 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17802 wine_fn_config_dll wow32 enable_win16 implib
17803 wine_fn_config_dll wpcap enable_wpcap
17804 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17805 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17806 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17807 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17808 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17809 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17810 wine_fn_config_dll wsock32 enable_wsock32 implib
17811 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17812 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17813 wine_fn_config_dll wuapi enable_wuapi clean
17814 wine_fn_config_dll wuaueng enable_wuaueng
17815 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17816 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17817 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17818 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17819 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17820 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17821 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17822 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17823 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17824 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17825 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17826 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17827 wine_fn_config_dll xaudio2_8 enable_xaudio2_8
17828 wine_fn_config_dll xinput1_1 enable_xinput1_1
17829 wine_fn_config_dll xinput1_2 enable_xinput1_2
17830 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17831 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17832 wine_fn_config_dll xinput1_4 enable_xinput1_4
17833 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17834 wine_fn_config_dll xmllite enable_xmllite implib
17835 wine_fn_config_test dlls/xmllite/tests xmllite_test
17836 wine_fn_config_dll xolehlp enable_xolehlp
17837 wine_fn_config_dll xpsprint enable_xpsprint
17838 wine_fn_config_dll xpssvcs enable_xpssvcs
17839 wine_fn_config_makefile documentation enable_documentation clean
17840 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17841 wine_fn_config_makefile include enable_include clean,install-dev
17842 wine_fn_config_makefile libs/port enable_libs_port
17843 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17844 wine_fn_config_makefile libs/wpp enable_libs_wpp
17845 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17846 wine_fn_config_program arp enable_arp install
17847 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17848 wine_fn_config_program attrib enable_attrib install,po
17849 wine_fn_config_program cabarc enable_cabarc install
17850 wine_fn_config_program cacls enable_cacls install
17851 wine_fn_config_program clock enable_clock install,po
17852 wine_fn_config_program cmd enable_cmd install,po
17853 wine_fn_config_test programs/cmd/tests cmd.exe_test
17854 wine_fn_config_program conhost enable_conhost install
17855 wine_fn_config_program control enable_control install
17856 wine_fn_config_program cscript enable_cscript clean,install
17857 wine_fn_config_program dpnsvr enable_dpnsvr install
17858 wine_fn_config_program dxdiag enable_dxdiag install,po
17859 wine_fn_config_program eject enable_eject install
17860 wine_fn_config_program expand enable_expand install
17861 wine_fn_config_program explorer enable_explorer install,po
17862 wine_fn_config_program extrac32 enable_extrac32 install
17863 wine_fn_config_program findstr enable_findstr install
17864 wine_fn_config_program hh enable_hh install
17865 wine_fn_config_program hostname enable_hostname install,po
17866 wine_fn_config_program icinfo enable_icinfo install
17867 wine_fn_config_program iexplore enable_iexplore install
17868 wine_fn_config_program ipconfig enable_ipconfig install,po
17869 wine_fn_config_program lodctr enable_lodctr install
17870 wine_fn_config_program mofcomp enable_mofcomp install
17871 wine_fn_config_program mshta enable_mshta install
17872 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17873 wine_fn_config_program net enable_net install,po
17874 wine_fn_config_program netsh enable_netsh install
17875 wine_fn_config_program netstat enable_netstat install,po
17876 wine_fn_config_program ngen enable_ngen install
17877 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17878 wine_fn_config_program oleview enable_oleview install,po
17879 wine_fn_config_program ping enable_ping install
17880 wine_fn_config_program plugplay enable_plugplay install
17881 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17882 wine_fn_config_program progman enable_progman install,po
17883 wine_fn_config_program reg enable_reg install,po
17884 wine_fn_config_test programs/reg/tests reg.exe_test
17885 wine_fn_config_program regasm enable_regasm install
17886 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17887 wine_fn_config_test programs/regedit/tests regedit.exe_test
17888 wine_fn_config_program regsvcs enable_regsvcs install
17889 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17890 wine_fn_config_program rpcss enable_rpcss clean,install
17891 wine_fn_config_program rundll.exe16 enable_win16 install
17892 wine_fn_config_program rundll32 enable_rundll32 install
17893 wine_fn_config_program sc enable_sc install
17894 wine_fn_config_program schtasks enable_schtasks install
17895 wine_fn_config_program sdbinst enable_sdbinst install
17896 wine_fn_config_program secedit enable_secedit install
17897 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17898 wine_fn_config_program services enable_services clean,install
17899 wine_fn_config_test programs/services/tests services.exe_test
17900 wine_fn_config_program spoolsv enable_spoolsv install
17901 wine_fn_config_program start enable_start install,po
17902 wine_fn_config_program svchost enable_svchost install
17903 wine_fn_config_program systeminfo enable_systeminfo install
17904 wine_fn_config_program taskkill enable_taskkill install,po
17905 wine_fn_config_program tasklist enable_tasklist install
17906 wine_fn_config_program taskmgr enable_taskmgr install,po
17907 wine_fn_config_program termsv enable_termsv install
17908 wine_fn_config_program uninstaller enable_uninstaller install,po
17909 wine_fn_config_program unlodctr enable_unlodctr install
17910 wine_fn_config_program view enable_view install,po
17911 wine_fn_config_program wevtutil enable_wevtutil install
17912 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17913 wine_fn_config_program winebrowser enable_winebrowser install
17914 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17915 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17916 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17917 wine_fn_config_program winedevice enable_winedevice install
17918 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17919 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17920 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17921 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17922 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17923 wine_fn_config_program winetest enable_winetest clean
17924 wine_fn_config_program winevdm enable_win16 install
17925 wine_fn_config_program winhelp.exe16 enable_win16 install
17926 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17927 wine_fn_config_program winoldap.mod16 enable_win16 install
17928 wine_fn_config_program winver enable_winver install
17929 wine_fn_config_program wmic enable_wmic install,po
17930 wine_fn_config_program wordpad enable_wordpad install,po
17931 wine_fn_config_program write enable_write install,po
17932 wine_fn_config_program wscript enable_wscript clean,install
17933 wine_fn_config_test programs/wscript/tests wscript.exe_test
17934 wine_fn_config_program wusa enable_wusa install
17935 wine_fn_config_program xcopy enable_xcopy install,po
17936 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17937 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17938 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17939 wine_fn_config_tool tools/sfnt2fon clean
17940 wine_fn_config_tool tools/widl clean,install-dev,manpage
17941 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17942 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17943 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17944 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17945 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17947 LINGUAS="\
17948 ar \
17949 bg \
17950 ca \
17951 cs \
17952 da \
17953 de \
17954 el \
17955 en \
17956 en_US \
17957 eo \
17958 es \
17959 fa \
17960 fi \
17961 fr \
17962 he \
17963 hi \
17964 hr \
17965 hu \
17966 it \
17967 ja \
17968 ko \
17969 lt \
17970 ml \
17971 nb_NO \
17972 nl \
17973 or \
17974 pa \
17975 pl \
17976 pt_BR \
17977 pt_PT \
17978 rm \
17979 ro \
17980 ru \
17981 sk \
17982 sl \
17983 sr_RS@cyrillic \
17984 sr_RS@latin \
17985 sv \
17986 te \
17987 th \
17988 tr \
17989 uk \
17990 wa \
17991 zh_CN \
17992 zh_TW"
17997 wine_fn_ignore_file ".gitignore"
17998 wine_fn_ignore_file "Makefile"
17999 wine_fn_ignore_file "TAGS"
18000 wine_fn_ignore_file "tags"
18001 wine_fn_ignore_file "autom4te.cache"
18002 wine_fn_ignore_file "config.cache"
18003 wine_fn_ignore_file "config.log"
18004 wine_fn_ignore_file "config.status"
18005 wine_fn_ignore_file "configure.lineno"
18006 wine_fn_ignore_file "include/config.h"
18007 wine_fn_ignore_file "include/stamp-h"
18008 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18010 if test "x$enable_tools" != xno
18011 then
18012 wine_fn_ignore_file "tools/makedep$ac_exeext"
18013 ac_config_commands="$ac_config_commands tools/makedep"
18017 ac_config_commands="$ac_config_commands Makefile"
18020 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18024 if test "x$enable_maintainer_mode" = xyes
18025 then
18026 wine_fn_append_rule "configure: configure.ac aclocal.m4
18027 autoconf --warnings=all
18028 include/config.h.in: include/stamp-h.in
18029 include/stamp-h.in: configure.ac aclocal.m4
18030 autoheader --warnings=all
18031 @echo timestamp > \$@"
18034 if test "x$with_gettextpo" = xyes
18035 then
18036 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18037 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18038 \$(LINGUAS:%=po/%.po): po/wine.pot
18039 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18040 po/wine.pot: \$(ALL_POT_FILES)
18041 msgcat -o \$@ \$(ALL_POT_FILES)"
18044 if test "$MSGFMT" != false
18045 then
18046 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18047 clean::
18048 \$(RM) \$(LINGUAS:%=po/%.mo)"
18050 posrc="po"
18051 test "$srcdir" = . || posrc="$srcdir/po"
18052 for i in $LINGUAS
18054 wine_fn_ignore_file "po/$i.mo"
18055 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18056 \$(MSGFMT) -o \$@ $posrc/$i.po"
18057 done
18058 else
18059 LINGUAS=
18062 if test "x$enable_tools" != xno
18063 then
18064 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18065 @./config.status tools/makedep
18066 Makefile: tools/makedep$ac_exeext
18067 distclean:: clean
18068 \$(RM) tools/makedep$ac_exeext"
18069 else
18070 wine_fn_append_rule "\$(MAKEDEP):
18071 @echo \"You need to run make in $TOOLSDIR first\" && false"
18074 if test -n "$with_wine64"
18075 then
18076 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18077 fonts server tools:
18078 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18079 $with_wine64/loader/wine:
18080 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18081 $with_wine64/loader/wine-preloader:
18082 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18083 clean::
18084 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18085 else
18086 as_fn_append LOADER_RULES "
18087 install install-lib:: wine.inf install-man-pages
18088 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18089 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18091 uninstall::
18092 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18096 if test "$srcdir" = .
18097 then
18098 ac_config_commands="$ac_config_commands .gitignore"
18102 $as_echo " done" >&6
18103 cat >confcache <<\_ACEOF
18104 # This file is a shell script that caches the results of configure
18105 # tests run on this system so they can be shared between configure
18106 # scripts and configure runs, see configure's option --config-cache.
18107 # It is not useful on other systems. If it contains results you don't
18108 # want to keep, you may remove or edit it.
18110 # config.status only pays attention to the cache file if you give it
18111 # the --recheck option to rerun configure.
18113 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18114 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18115 # following values.
18117 _ACEOF
18119 # The following way of writing the cache mishandles newlines in values,
18120 # but we know of no workaround that is simple, portable, and efficient.
18121 # So, we kill variables containing newlines.
18122 # Ultrix sh set writes to stderr and can't be redirected directly,
18123 # and sets the high bit in the cache file unless we assign to the vars.
18125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18126 eval ac_val=\$$ac_var
18127 case $ac_val in #(
18128 *${as_nl}*)
18129 case $ac_var in #(
18130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18131 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18132 esac
18133 case $ac_var in #(
18134 _ | IFS | as_nl) ;; #(
18135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18136 *) { eval $ac_var=; unset $ac_var;} ;;
18137 esac ;;
18138 esac
18139 done
18141 (set) 2>&1 |
18142 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18143 *${as_nl}ac_space=\ *)
18144 # `set' does not quote correctly, so add quotes: double-quote
18145 # substitution turns \\\\ into \\, and sed turns \\ into \.
18146 sed -n \
18147 "s/'/'\\\\''/g;
18148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18149 ;; #(
18151 # `set' quotes correctly as required by POSIX, so do not add quotes.
18152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18154 esac |
18155 sort
18157 sed '
18158 /^ac_cv_env_/b end
18159 t clear
18160 :clear
18161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18162 t end
18163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18164 :end' >>confcache
18165 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18166 if test -w "$cache_file"; then
18167 if test "x$cache_file" != "x/dev/null"; then
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18169 $as_echo "$as_me: updating cache $cache_file" >&6;}
18170 if test ! -f "$cache_file" || test -h "$cache_file"; then
18171 cat confcache >"$cache_file"
18172 else
18173 case $cache_file in #(
18174 */* | ?:*)
18175 mv -f confcache "$cache_file"$$ &&
18176 mv -f "$cache_file"$$ "$cache_file" ;; #(
18178 mv -f confcache "$cache_file" ;;
18179 esac
18182 else
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18184 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18187 rm -f confcache
18189 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18190 # Let make expand exec_prefix.
18191 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18193 DEFS=-DHAVE_CONFIG_H
18195 ac_libobjs=
18196 ac_ltlibobjs=
18198 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18199 # 1. Remove the extension, and $U if already installed.
18200 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18201 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18203 # will be set to the directory where LIBOBJS objects are built.
18204 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18205 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18206 done
18207 LIBOBJS=$ac_libobjs
18209 LTLIBOBJS=$ac_ltlibobjs
18213 : "${CONFIG_STATUS=./config.status}"
18214 ac_write_fail=0
18215 ac_clean_files_save=$ac_clean_files
18216 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18219 as_write_fail=0
18220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18221 #! $SHELL
18222 # Generated by $as_me.
18223 # Run this file to recreate the current configuration.
18224 # Compiler output produced by configure, useful for debugging
18225 # configure, is in config.log if it exists.
18227 debug=false
18228 ac_cs_recheck=false
18229 ac_cs_silent=false
18231 SHELL=\${CONFIG_SHELL-$SHELL}
18232 export SHELL
18233 _ASEOF
18234 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18235 ## -------------------- ##
18236 ## M4sh Initialization. ##
18237 ## -------------------- ##
18239 # Be more Bourne compatible
18240 DUALCASE=1; export DUALCASE # for MKS sh
18241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18242 emulate sh
18243 NULLCMD=:
18244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18245 # is contrary to our usage. Disable this feature.
18246 alias -g '${1+"$@"}'='"$@"'
18247 setopt NO_GLOB_SUBST
18248 else
18249 case `(set -o) 2>/dev/null` in #(
18250 *posix*) :
18251 set -o posix ;; #(
18252 *) :
18254 esac
18258 as_nl='
18260 export as_nl
18261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18262 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18265 # Prefer a ksh shell builtin over an external printf program on Solaris,
18266 # but without wasting forks for bash or zsh.
18267 if test -z "$BASH_VERSION$ZSH_VERSION" \
18268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18269 as_echo='print -r --'
18270 as_echo_n='print -rn --'
18271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18272 as_echo='printf %s\n'
18273 as_echo_n='printf %s'
18274 else
18275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18276 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18277 as_echo_n='/usr/ucb/echo -n'
18278 else
18279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18280 as_echo_n_body='eval
18281 arg=$1;
18282 case $arg in #(
18283 *"$as_nl"*)
18284 expr "X$arg" : "X\\(.*\\)$as_nl";
18285 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18286 esac;
18287 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18289 export as_echo_n_body
18290 as_echo_n='sh -c $as_echo_n_body as_echo'
18292 export as_echo_body
18293 as_echo='sh -c $as_echo_body as_echo'
18296 # The user is always right.
18297 if test "${PATH_SEPARATOR+set}" != set; then
18298 PATH_SEPARATOR=:
18299 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18300 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18301 PATH_SEPARATOR=';'
18306 # IFS
18307 # We need space, tab and new line, in precisely that order. Quoting is
18308 # there to prevent editors from complaining about space-tab.
18309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18310 # splitting by setting IFS to empty value.)
18311 IFS=" "" $as_nl"
18313 # Find who we are. Look in the path if we contain no directory separator.
18314 as_myself=
18315 case $0 in #((
18316 *[\\/]* ) as_myself=$0 ;;
18317 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18318 for as_dir in $PATH
18320 IFS=$as_save_IFS
18321 test -z "$as_dir" && as_dir=.
18322 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18323 done
18324 IFS=$as_save_IFS
18327 esac
18328 # We did not find ourselves, most probably we were run as `sh COMMAND'
18329 # in which case we are not to be found in the path.
18330 if test "x$as_myself" = x; then
18331 as_myself=$0
18333 if test ! -f "$as_myself"; then
18334 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18335 exit 1
18338 # Unset variables that we do not need and which cause bugs (e.g. in
18339 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18340 # suppresses any "Segmentation fault" message there. '((' could
18341 # trigger a bug in pdksh 5.2.14.
18342 for as_var in BASH_ENV ENV MAIL MAILPATH
18343 do eval test x\${$as_var+set} = xset \
18344 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18345 done
18346 PS1='$ '
18347 PS2='> '
18348 PS4='+ '
18350 # NLS nuisances.
18351 LC_ALL=C
18352 export LC_ALL
18353 LANGUAGE=C
18354 export LANGUAGE
18356 # CDPATH.
18357 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18360 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18361 # ----------------------------------------
18362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18364 # script with STATUS, using 1 if that was 0.
18365 as_fn_error ()
18367 as_status=$1; test $as_status -eq 0 && as_status=1
18368 if test "$4"; then
18369 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18372 $as_echo "$as_me: error: $2" >&2
18373 as_fn_exit $as_status
18374 } # as_fn_error
18377 # as_fn_set_status STATUS
18378 # -----------------------
18379 # Set $? to STATUS, without forking.
18380 as_fn_set_status ()
18382 return $1
18383 } # as_fn_set_status
18385 # as_fn_exit STATUS
18386 # -----------------
18387 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18388 as_fn_exit ()
18390 set +e
18391 as_fn_set_status $1
18392 exit $1
18393 } # as_fn_exit
18395 # as_fn_unset VAR
18396 # ---------------
18397 # Portably unset VAR.
18398 as_fn_unset ()
18400 { eval $1=; unset $1;}
18402 as_unset=as_fn_unset
18403 # as_fn_append VAR VALUE
18404 # ----------------------
18405 # Append the text in VALUE to the end of the definition contained in VAR. Take
18406 # advantage of any shell optimizations that allow amortized linear growth over
18407 # repeated appends, instead of the typical quadratic growth present in naive
18408 # implementations.
18409 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18410 eval 'as_fn_append ()
18412 eval $1+=\$2
18414 else
18415 as_fn_append ()
18417 eval $1=\$$1\$2
18419 fi # as_fn_append
18421 # as_fn_arith ARG...
18422 # ------------------
18423 # Perform arithmetic evaluation on the ARGs, and store the result in the
18424 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18425 # must be portable across $(()) and expr.
18426 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18427 eval 'as_fn_arith ()
18429 as_val=$(( $* ))
18431 else
18432 as_fn_arith ()
18434 as_val=`expr "$@" || test $? -eq 1`
18436 fi # as_fn_arith
18439 if expr a : '\(a\)' >/dev/null 2>&1 &&
18440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18441 as_expr=expr
18442 else
18443 as_expr=false
18446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18447 as_basename=basename
18448 else
18449 as_basename=false
18452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18453 as_dirname=dirname
18454 else
18455 as_dirname=false
18458 as_me=`$as_basename -- "$0" ||
18459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18460 X"$0" : 'X\(//\)$' \| \
18461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18462 $as_echo X/"$0" |
18463 sed '/^.*\/\([^/][^/]*\)\/*$/{
18464 s//\1/
18467 /^X\/\(\/\/\)$/{
18468 s//\1/
18471 /^X\/\(\/\).*/{
18472 s//\1/
18475 s/.*/./; q'`
18477 # Avoid depending upon Character Ranges.
18478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18481 as_cr_digits='0123456789'
18482 as_cr_alnum=$as_cr_Letters$as_cr_digits
18484 ECHO_C= ECHO_N= ECHO_T=
18485 case `echo -n x` in #(((((
18486 -n*)
18487 case `echo 'xy\c'` in
18488 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18489 xy) ECHO_C='\c';;
18490 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18491 ECHO_T=' ';;
18492 esac;;
18494 ECHO_N='-n';;
18495 esac
18497 rm -f conf$$ conf$$.exe conf$$.file
18498 if test -d conf$$.dir; then
18499 rm -f conf$$.dir/conf$$.file
18500 else
18501 rm -f conf$$.dir
18502 mkdir conf$$.dir 2>/dev/null
18504 if (echo >conf$$.file) 2>/dev/null; then
18505 if ln -s conf$$.file conf$$ 2>/dev/null; then
18506 as_ln_s='ln -s'
18507 # ... but there are two gotchas:
18508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18510 # In both cases, we have to default to `cp -pR'.
18511 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18512 as_ln_s='cp -pR'
18513 elif ln conf$$.file conf$$ 2>/dev/null; then
18514 as_ln_s=ln
18515 else
18516 as_ln_s='cp -pR'
18518 else
18519 as_ln_s='cp -pR'
18521 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18522 rmdir conf$$.dir 2>/dev/null
18525 # as_fn_mkdir_p
18526 # -------------
18527 # Create "$as_dir" as a directory, including parents if necessary.
18528 as_fn_mkdir_p ()
18531 case $as_dir in #(
18532 -*) as_dir=./$as_dir;;
18533 esac
18534 test -d "$as_dir" || eval $as_mkdir_p || {
18535 as_dirs=
18536 while :; do
18537 case $as_dir in #(
18538 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18539 *) as_qdir=$as_dir;;
18540 esac
18541 as_dirs="'$as_qdir' $as_dirs"
18542 as_dir=`$as_dirname -- "$as_dir" ||
18543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18544 X"$as_dir" : 'X\(//\)[^/]' \| \
18545 X"$as_dir" : 'X\(//\)$' \| \
18546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18547 $as_echo X"$as_dir" |
18548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18549 s//\1/
18552 /^X\(\/\/\)[^/].*/{
18553 s//\1/
18556 /^X\(\/\/\)$/{
18557 s//\1/
18560 /^X\(\/\).*/{
18561 s//\1/
18564 s/.*/./; q'`
18565 test -d "$as_dir" && break
18566 done
18567 test -z "$as_dirs" || eval "mkdir $as_dirs"
18568 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18571 } # as_fn_mkdir_p
18572 if mkdir -p . 2>/dev/null; then
18573 as_mkdir_p='mkdir -p "$as_dir"'
18574 else
18575 test -d ./-p && rmdir ./-p
18576 as_mkdir_p=false
18580 # as_fn_executable_p FILE
18581 # -----------------------
18582 # Test if FILE is an executable regular file.
18583 as_fn_executable_p ()
18585 test -f "$1" && test -x "$1"
18586 } # as_fn_executable_p
18587 as_test_x='test -x'
18588 as_executable_p=as_fn_executable_p
18590 # Sed expression to map a string onto a valid CPP name.
18591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18593 # Sed expression to map a string onto a valid variable name.
18594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18597 exec 6>&1
18598 ## ----------------------------------- ##
18599 ## Main body of $CONFIG_STATUS script. ##
18600 ## ----------------------------------- ##
18601 _ASEOF
18602 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18605 # Save the log message, to keep $0 and so on meaningful, and to
18606 # report actual input values of CONFIG_FILES etc. instead of their
18607 # values after options handling.
18608 ac_log="
18609 This file was extended by Wine $as_me 1.7.49, which was
18610 generated by GNU Autoconf 2.69. Invocation command line was
18612 CONFIG_FILES = $CONFIG_FILES
18613 CONFIG_HEADERS = $CONFIG_HEADERS
18614 CONFIG_LINKS = $CONFIG_LINKS
18615 CONFIG_COMMANDS = $CONFIG_COMMANDS
18616 $ $0 $@
18618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18621 _ACEOF
18623 case $ac_config_files in *"
18624 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18625 esac
18627 case $ac_config_headers in *"
18628 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18629 esac
18632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18633 # Files that config.status was made for.
18634 config_files="$ac_config_files"
18635 config_headers="$ac_config_headers"
18636 config_links="$ac_config_links"
18637 config_commands="$ac_config_commands"
18639 _ACEOF
18641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18642 ac_cs_usage="\
18643 \`$as_me' instantiates files and other configuration actions
18644 from templates according to the current configuration. Unless the files
18645 and actions are specified as TAGs, all are instantiated by default.
18647 Usage: $0 [OPTION]... [TAG]...
18649 -h, --help print this help, then exit
18650 -V, --version print version number and configuration settings, then exit
18651 --config print configuration, then exit
18652 -q, --quiet, --silent
18653 do not print progress messages
18654 -d, --debug don't remove temporary files
18655 --recheck update $as_me by reconfiguring in the same conditions
18656 --file=FILE[:TEMPLATE]
18657 instantiate the configuration file FILE
18658 --header=FILE[:TEMPLATE]
18659 instantiate the configuration header FILE
18661 Configuration files:
18662 $config_files
18664 Configuration headers:
18665 $config_headers
18667 Configuration links:
18668 $config_links
18670 Configuration commands:
18671 $config_commands
18673 Report bugs to <wine-devel@winehq.org>.
18674 Wine home page: <http://www.winehq.org>."
18676 _ACEOF
18677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18678 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18679 ac_cs_version="\\
18680 Wine config.status 1.7.49
18681 configured by $0, generated by GNU Autoconf 2.69,
18682 with options \\"\$ac_cs_config\\"
18684 Copyright (C) 2012 Free Software Foundation, Inc.
18685 This config.status script is free software; the Free Software Foundation
18686 gives unlimited permission to copy, distribute and modify it."
18688 ac_pwd='$ac_pwd'
18689 srcdir='$srcdir'
18690 test -n "\$AWK" || AWK=awk
18691 _ACEOF
18693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18694 # The default lists apply if the user does not specify any file.
18695 ac_need_defaults=:
18696 while test $# != 0
18698 case $1 in
18699 --*=?*)
18700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18702 ac_shift=:
18704 --*=)
18705 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18706 ac_optarg=
18707 ac_shift=:
18710 ac_option=$1
18711 ac_optarg=$2
18712 ac_shift=shift
18714 esac
18716 case $ac_option in
18717 # Handling of the options.
18718 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18719 ac_cs_recheck=: ;;
18720 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18721 $as_echo "$ac_cs_version"; exit ;;
18722 --config | --confi | --conf | --con | --co | --c )
18723 $as_echo "$ac_cs_config"; exit ;;
18724 --debug | --debu | --deb | --de | --d | -d )
18725 debug=: ;;
18726 --file | --fil | --fi | --f )
18727 $ac_shift
18728 case $ac_optarg in
18729 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18730 '') as_fn_error $? "missing file argument" ;;
18731 esac
18732 as_fn_append CONFIG_FILES " '$ac_optarg'"
18733 ac_need_defaults=false;;
18734 --header | --heade | --head | --hea )
18735 $ac_shift
18736 case $ac_optarg in
18737 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18738 esac
18739 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18740 ac_need_defaults=false;;
18741 --he | --h)
18742 # Conflict between --help and --header
18743 as_fn_error $? "ambiguous option: \`$1'
18744 Try \`$0 --help' for more information.";;
18745 --help | --hel | -h )
18746 $as_echo "$ac_cs_usage"; exit ;;
18747 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18748 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18749 ac_cs_silent=: ;;
18751 # This is an error.
18752 -*) as_fn_error $? "unrecognized option: \`$1'
18753 Try \`$0 --help' for more information." ;;
18755 *) as_fn_append ac_config_targets " $1"
18756 ac_need_defaults=false ;;
18758 esac
18759 shift
18760 done
18762 ac_configure_extra_args=
18764 if $ac_cs_silent; then
18765 exec 6>/dev/null
18766 ac_configure_extra_args="$ac_configure_extra_args --silent"
18769 _ACEOF
18770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18771 if \$ac_cs_recheck; then
18772 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18773 shift
18774 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18775 CONFIG_SHELL='$SHELL'
18776 export CONFIG_SHELL
18777 exec "\$@"
18780 _ACEOF
18781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18782 exec 5>>config.log
18784 echo
18785 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18786 ## Running $as_me. ##
18787 _ASBOX
18788 $as_echo "$ac_log"
18789 } >&5
18791 _ACEOF
18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18794 # INIT-COMMANDS
18796 wine_fn_output_makedep ()
18798 as_dir=tools; as_fn_mkdir_p
18799 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18801 wine_fn_output_makefile ()
18803 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18804 `cat $wine_rules_file`
18805 _WINE_EOF
18806 as_fn_error $? "could not create Makefile" "$LINENO" 5
18808 wine_fn_output_gitignore ()
18810 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18811 $GITIGNORE
18812 _WINE_EOF
18813 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18816 _ACEOF
18818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18820 # Handling of arguments.
18821 for ac_config_target in $ac_config_targets
18823 case $ac_config_target in
18824 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18825 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18826 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18827 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18828 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18829 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18830 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18831 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18832 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18833 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18834 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18835 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18836 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18837 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18839 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18840 esac
18841 done
18844 # If the user did not use the arguments to specify the items to instantiate,
18845 # then the envvar interface is used. Set only those that are not.
18846 # We use the long form for the default assignment because of an extremely
18847 # bizarre bug on SunOS 4.1.3.
18848 if $ac_need_defaults; then
18849 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18850 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18851 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18852 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18855 # Have a temporary directory for convenience. Make it in the build tree
18856 # simply because there is no reason against having it here, and in addition,
18857 # creating and moving files from /tmp can sometimes cause problems.
18858 # Hook for its removal unless debugging.
18859 # Note that there is a small window in which the directory will not be cleaned:
18860 # after its creation but before its name has been assigned to `$tmp'.
18861 $debug ||
18863 tmp= ac_tmp=
18864 trap 'exit_status=$?
18865 : "${ac_tmp:=$tmp}"
18866 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18868 trap 'as_fn_exit 1' 1 2 13 15
18870 # Create a (secure) tmp directory for tmp files.
18873 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18874 test -d "$tmp"
18875 } ||
18877 tmp=./conf$$-$RANDOM
18878 (umask 077 && mkdir "$tmp")
18879 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18880 ac_tmp=$tmp
18882 # Set up the scripts for CONFIG_FILES section.
18883 # No need to generate them if there are no CONFIG_FILES.
18884 # This happens for instance with `./config.status config.h'.
18885 if test -n "$CONFIG_FILES"; then
18888 ac_cr=`echo X | tr X '\015'`
18889 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18890 # But we know of no other shell where ac_cr would be empty at this
18891 # point, so we can use a bashism as a fallback.
18892 if test "x$ac_cr" = x; then
18893 eval ac_cr=\$\'\\r\'
18895 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18896 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18897 ac_cs_awk_cr='\\r'
18898 else
18899 ac_cs_awk_cr=$ac_cr
18902 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18903 _ACEOF
18907 echo "cat >conf$$subs.awk <<_ACEOF" &&
18908 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18909 echo "_ACEOF"
18910 } >conf$$subs.sh ||
18911 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18912 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18913 ac_delim='%!_!# '
18914 for ac_last_try in false false false false false :; do
18915 . ./conf$$subs.sh ||
18916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18918 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18919 if test $ac_delim_n = $ac_delim_num; then
18920 break
18921 elif $ac_last_try; then
18922 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18923 else
18924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18926 done
18927 rm -f conf$$subs.sh
18929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18930 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18931 _ACEOF
18932 sed -n '
18934 s/^/S["/; s/!.*/"]=/
18937 s/^[^!]*!//
18938 :repl
18939 t repl
18940 s/'"$ac_delim"'$//
18941 t delim
18944 s/\(.\{148\}\)..*/\1/
18945 t more1
18946 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18949 b repl
18950 :more1
18951 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18954 s/.\{148\}//
18955 t nl
18956 :delim
18958 s/\(.\{148\}\)..*/\1/
18959 t more2
18960 s/["\\]/\\&/g; s/^/"/; s/$/"/
18963 :more2
18964 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18967 s/.\{148\}//
18968 t delim
18969 ' <conf$$subs.awk | sed '
18970 /^[^""]/{
18972 s/\n//
18974 ' >>$CONFIG_STATUS || ac_write_fail=1
18975 rm -f conf$$subs.awk
18976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18977 _ACAWK
18978 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18979 for (key in S) S_is_set[key] = 1
18980 FS = "\a"
18984 line = $ 0
18985 nfields = split(line, field, "@")
18986 substed = 0
18987 len = length(field[1])
18988 for (i = 2; i < nfields; i++) {
18989 key = field[i]
18990 keylen = length(key)
18991 if (S_is_set[key]) {
18992 value = S[key]
18993 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18994 len += length(value) + length(field[++i])
18995 substed = 1
18996 } else
18997 len += 1 + keylen
19000 print line
19003 _ACAWK
19004 _ACEOF
19005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19006 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19007 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19008 else
19010 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19011 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19012 _ACEOF
19014 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19015 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19016 # trailing colons and then remove the whole line if VPATH becomes empty
19017 # (actually we leave an empty line to preserve line numbers).
19018 if test "x$srcdir" = x.; then
19019 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19021 s///
19022 s/^/:/
19023 s/[ ]*$/:/
19024 s/:\$(srcdir):/:/g
19025 s/:\${srcdir}:/:/g
19026 s/:@srcdir@:/:/g
19027 s/^:*//
19028 s/:*$//
19030 s/\(=[ ]*\).*/\1/
19032 s/\n//
19033 s/^[^=]*=[ ]*$//
19037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19038 fi # test -n "$CONFIG_FILES"
19040 # Set up the scripts for CONFIG_HEADERS section.
19041 # No need to generate them if there are no CONFIG_HEADERS.
19042 # This happens for instance with `./config.status Makefile'.
19043 if test -n "$CONFIG_HEADERS"; then
19044 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19045 BEGIN {
19046 _ACEOF
19048 # Transform confdefs.h into an awk script `defines.awk', embedded as
19049 # here-document in config.status, that substitutes the proper values into
19050 # config.h.in to produce config.h.
19052 # Create a delimiter string that does not exist in confdefs.h, to ease
19053 # handling of long lines.
19054 ac_delim='%!_!# '
19055 for ac_last_try in false false :; do
19056 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19057 if test -z "$ac_tt"; then
19058 break
19059 elif $ac_last_try; then
19060 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19061 else
19062 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19064 done
19066 # For the awk script, D is an array of macro values keyed by name,
19067 # likewise P contains macro parameters if any. Preserve backslash
19068 # newline sequences.
19070 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19071 sed -n '
19072 s/.\{148\}/&'"$ac_delim"'/g
19073 t rset
19074 :rset
19075 s/^[ ]*#[ ]*define[ ][ ]*/ /
19076 t def
19078 :def
19079 s/\\$//
19080 t bsnl
19081 s/["\\]/\\&/g
19082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19083 D["\1"]=" \3"/p
19084 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19086 :bsnl
19087 s/["\\]/\\&/g
19088 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19089 D["\1"]=" \3\\\\\\n"\\/p
19090 t cont
19091 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19092 t cont
19094 :cont
19096 s/.\{148\}/&'"$ac_delim"'/g
19097 t clear
19098 :clear
19099 s/\\$//
19100 t bsnlc
19101 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19103 :bsnlc
19104 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19105 b cont
19106 ' <confdefs.h | sed '
19107 s/'"$ac_delim"'/"\\\
19108 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19111 for (key in D) D_is_set[key] = 1
19112 FS = "\a"
19114 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19115 line = \$ 0
19116 split(line, arg, " ")
19117 if (arg[1] == "#") {
19118 defundef = arg[2]
19119 mac1 = arg[3]
19120 } else {
19121 defundef = substr(arg[1], 2)
19122 mac1 = arg[2]
19124 split(mac1, mac2, "(") #)
19125 macro = mac2[1]
19126 prefix = substr(line, 1, index(line, defundef) - 1)
19127 if (D_is_set[macro]) {
19128 # Preserve the white space surrounding the "#".
19129 print prefix "define", macro P[macro] D[macro]
19130 next
19131 } else {
19132 # Replace #undef with comments. This is necessary, for example,
19133 # in the case of _POSIX_SOURCE, which is predefined and required
19134 # on some systems where configure will not decide to define it.
19135 if (defundef == "undef") {
19136 print "/*", prefix defundef, macro, "*/"
19137 next
19141 { print }
19142 _ACAWK
19143 _ACEOF
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19145 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19146 fi # test -n "$CONFIG_HEADERS"
19149 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19150 shift
19151 for ac_tag
19153 case $ac_tag in
19154 :[FHLC]) ac_mode=$ac_tag; continue;;
19155 esac
19156 case $ac_mode$ac_tag in
19157 :[FHL]*:*);;
19158 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19159 :[FH]-) ac_tag=-:-;;
19160 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19161 esac
19162 ac_save_IFS=$IFS
19163 IFS=:
19164 set x $ac_tag
19165 IFS=$ac_save_IFS
19166 shift
19167 ac_file=$1
19168 shift
19170 case $ac_mode in
19171 :L) ac_source=$1;;
19172 :[FH])
19173 ac_file_inputs=
19174 for ac_f
19176 case $ac_f in
19177 -) ac_f="$ac_tmp/stdin";;
19178 *) # Look for the file first in the build tree, then in the source tree
19179 # (if the path is not absolute). The absolute path cannot be DOS-style,
19180 # because $ac_f cannot contain `:'.
19181 test -f "$ac_f" ||
19182 case $ac_f in
19183 [\\/$]*) false;;
19184 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19185 esac ||
19186 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19187 esac
19188 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19189 as_fn_append ac_file_inputs " '$ac_f'"
19190 done
19192 # Let's still pretend it is `configure' which instantiates (i.e., don't
19193 # use $as_me), people would be surprised to read:
19194 # /* config.h. Generated by config.status. */
19195 configure_input='Generated from '`
19196 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19197 `' by configure.'
19198 if test x"$ac_file" != x-; then
19199 configure_input="$ac_file. $configure_input"
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19201 $as_echo "$as_me: creating $ac_file" >&6;}
19203 # Neutralize special characters interpreted by sed in replacement strings.
19204 case $configure_input in #(
19205 *\&* | *\|* | *\\* )
19206 ac_sed_conf_input=`$as_echo "$configure_input" |
19207 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19208 *) ac_sed_conf_input=$configure_input;;
19209 esac
19211 case $ac_tag in
19212 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19214 esac
19216 esac
19218 ac_dir=`$as_dirname -- "$ac_file" ||
19219 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19220 X"$ac_file" : 'X\(//\)[^/]' \| \
19221 X"$ac_file" : 'X\(//\)$' \| \
19222 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19223 $as_echo X"$ac_file" |
19224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19225 s//\1/
19228 /^X\(\/\/\)[^/].*/{
19229 s//\1/
19232 /^X\(\/\/\)$/{
19233 s//\1/
19236 /^X\(\/\).*/{
19237 s//\1/
19240 s/.*/./; q'`
19241 as_dir="$ac_dir"; as_fn_mkdir_p
19242 ac_builddir=.
19244 case "$ac_dir" in
19245 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19247 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19248 # A ".." for each directory in $ac_dir_suffix.
19249 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19250 case $ac_top_builddir_sub in
19251 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19252 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19253 esac ;;
19254 esac
19255 ac_abs_top_builddir=$ac_pwd
19256 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19257 # for backward compatibility:
19258 ac_top_builddir=$ac_top_build_prefix
19260 case $srcdir in
19261 .) # We are building in place.
19262 ac_srcdir=.
19263 ac_top_srcdir=$ac_top_builddir_sub
19264 ac_abs_top_srcdir=$ac_pwd ;;
19265 [\\/]* | ?:[\\/]* ) # Absolute name.
19266 ac_srcdir=$srcdir$ac_dir_suffix;
19267 ac_top_srcdir=$srcdir
19268 ac_abs_top_srcdir=$srcdir ;;
19269 *) # Relative name.
19270 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19271 ac_top_srcdir=$ac_top_build_prefix$srcdir
19272 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19273 esac
19274 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19277 case $ac_mode in
19280 # CONFIG_FILE
19283 _ACEOF
19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19286 # If the template does not know about datarootdir, expand it.
19287 # FIXME: This hack should be removed a few years after 2.60.
19288 ac_datarootdir_hack=; ac_datarootdir_seen=
19289 ac_sed_dataroot='
19290 /datarootdir/ {
19294 /@datadir@/p
19295 /@docdir@/p
19296 /@infodir@/p
19297 /@localedir@/p
19298 /@mandir@/p'
19299 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19300 *datarootdir*) ac_datarootdir_seen=yes;;
19301 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19303 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19304 _ACEOF
19305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19306 ac_datarootdir_hack='
19307 s&@datadir@&$datadir&g
19308 s&@docdir@&$docdir&g
19309 s&@infodir@&$infodir&g
19310 s&@localedir@&$localedir&g
19311 s&@mandir@&$mandir&g
19312 s&\\\${datarootdir}&$datarootdir&g' ;;
19313 esac
19314 _ACEOF
19316 # Neutralize VPATH when `$srcdir' = `.'.
19317 # Shell code in configure.ac might set extrasub.
19318 # FIXME: do we really want to maintain this feature?
19319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19320 ac_sed_extra="$ac_vpsub
19321 $extrasub
19322 _ACEOF
19323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19326 s|@configure_input@|$ac_sed_conf_input|;t t
19327 s&@top_builddir@&$ac_top_builddir_sub&;t t
19328 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19329 s&@srcdir@&$ac_srcdir&;t t
19330 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19331 s&@top_srcdir@&$ac_top_srcdir&;t t
19332 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19333 s&@builddir@&$ac_builddir&;t t
19334 s&@abs_builddir@&$ac_abs_builddir&;t t
19335 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19336 $ac_datarootdir_hack
19338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19339 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19342 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19344 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19346 which seems to be undefined. Please make sure it is defined" >&5
19347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19348 which seems to be undefined. Please make sure it is defined" >&2;}
19350 rm -f "$ac_tmp/stdin"
19351 case $ac_file in
19352 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19353 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19354 esac \
19355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19359 # CONFIG_HEADER
19361 if test x"$ac_file" != x-; then
19363 $as_echo "/* $configure_input */" \
19364 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19365 } >"$ac_tmp/config.h" \
19366 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19367 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19369 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19370 else
19371 rm -f "$ac_file"
19372 mv "$ac_tmp/config.h" "$ac_file" \
19373 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19375 else
19376 $as_echo "/* $configure_input */" \
19377 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19378 || as_fn_error $? "could not create -" "$LINENO" 5
19383 # CONFIG_LINK
19386 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19388 else
19389 # Prefer the file from the source tree if names are identical.
19390 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19391 ac_source=$srcdir/$ac_source
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19395 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19397 if test ! -r "$ac_source"; then
19398 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19400 rm -f "$ac_file"
19402 # Try a relative symlink, then a hard link, then a copy.
19403 case $ac_source in
19404 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19405 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19406 esac
19407 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19408 ln "$ac_source" "$ac_file" 2>/dev/null ||
19409 cp -p "$ac_source" "$ac_file" ||
19410 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19413 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19414 $as_echo "$as_me: executing $ac_file commands" >&6;}
19416 esac
19419 case $ac_file$ac_mode in
19420 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19421 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19422 "Makefile":C) wine_fn_output_makefile Makefile ;;
19423 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19425 esac
19426 done # for ac_tag
19429 as_fn_exit 0
19430 _ACEOF
19431 ac_clean_files=$ac_clean_files_save
19433 test $ac_write_fail = 0 ||
19434 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19437 # configure is writing to config.log, and then calls config.status.
19438 # config.status does its own redirection, appending to config.log.
19439 # Unfortunately, on DOS this fails, as config.log is still kept open
19440 # by configure, so config.status won't be able to write to it; its
19441 # output is simply discarded. So we exec the FD to /dev/null,
19442 # effectively closing config.log, so it can be properly (re)opened and
19443 # appended to by config.status. When coming back to configure, we
19444 # need to make the FD available again.
19445 if test "$no_create" != yes; then
19446 ac_cs_success=:
19447 ac_config_status_args=
19448 test "$silent" = yes &&
19449 ac_config_status_args="$ac_config_status_args --quiet"
19450 exec 5>/dev/null
19451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19452 exec 5>>config.log
19453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19454 # would make configure fail if this is the last instruction.
19455 $ac_cs_success || as_fn_exit 1
19457 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19459 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19463 if test "$no_create" = "yes"
19464 then
19465 exit 0
19468 ac_save_IFS="$IFS"
19469 if test "x$wine_notices != "x; then
19470 echo >&6
19471 IFS="|"
19472 for msg in $wine_notices; do
19473 IFS="$ac_save_IFS"
19474 if ${msg:+false} :; then :
19476 else
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19478 $as_echo "$as_me: $msg" >&6;}
19480 done
19482 IFS="|"
19483 for msg in $wine_warnings; do
19484 IFS="$ac_save_IFS"
19485 if ${msg:+false} :; then :
19487 else
19488 echo >&2
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19490 $as_echo "$as_me: WARNING: $msg" >&2;}
19492 done
19493 IFS="$ac_save_IFS"
19495 $as_echo "
19496 $as_me: Finished. Do '${ac_make}' to compile Wine.
19497 " >&6