ntdll/tests: Add basic tests for RtlQueueWorkItem.
[wine/multimedia.git] / configure
blobb0ac5962a41389aacf334390f7d60c9f0adb70a6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.47.
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.47'
584 PACKAGE_STRING='Wine 1.7.47'
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_vcomp90
1298 enable_vdmdbg
1299 enable_version
1300 enable_vssapi
1301 enable_wbemdisp
1302 enable_wbemprox
1303 enable_webservices
1304 enable_wer
1305 enable_wevtapi
1306 enable_wiaservc
1307 enable_windowscodecs
1308 enable_windowscodecsext
1309 enable_winealsa_drv
1310 enable_winecoreaudio_drv
1311 enable_wined3d
1312 enable_winegstreamer
1313 enable_winejoystick_drv
1314 enable_winemac_drv
1315 enable_winemapi
1316 enable_winemp3_acm
1317 enable_wineoss_drv
1318 enable_wineps_drv
1319 enable_wineqtdecoder
1320 enable_winex11_drv
1321 enable_wing32
1322 enable_winhttp
1323 enable_wininet
1324 enable_winmm
1325 enable_winnls32
1326 enable_winscard
1327 enable_winspool_drv
1328 enable_winsta
1329 enable_wintab32
1330 enable_wintrust
1331 enable_wlanapi
1332 enable_wldap32
1333 enable_wmi
1334 enable_wmiutils
1335 enable_wmp
1336 enable_wmvcore
1337 enable_wnaspi32
1338 enable_wpcap
1339 enable_ws2_32
1340 enable_wshom_ocx
1341 enable_wsnmp32
1342 enable_wsock32
1343 enable_wtsapi32
1344 enable_wuapi
1345 enable_wuaueng
1346 enable_x3daudio1_1
1347 enable_x3daudio1_2
1348 enable_x3daudio1_3
1349 enable_x3daudio1_4
1350 enable_x3daudio1_5
1351 enable_x3daudio1_6
1352 enable_x3daudio1_7
1353 enable_xapofx1_1
1354 enable_xapofx1_3
1355 enable_xapofx1_4
1356 enable_xapofx1_5
1357 enable_xaudio2_7
1358 enable_xinput1_1
1359 enable_xinput1_2
1360 enable_xinput1_3
1361 enable_xinput1_4
1362 enable_xinput9_1_0
1363 enable_xmllite
1364 enable_xolehlp
1365 enable_xpsprint
1366 enable_xpssvcs
1367 enable_documentation
1368 enable_fonts
1369 enable_include
1370 enable_libs_port
1371 enable_libs_wine
1372 enable_libs_wpp
1373 enable_loader
1374 enable_arp
1375 enable_aspnet_regiis
1376 enable_attrib
1377 enable_cabarc
1378 enable_cacls
1379 enable_clock
1380 enable_cmd
1381 enable_conhost
1382 enable_control
1383 enable_cscript
1384 enable_dpnsvr
1385 enable_dxdiag
1386 enable_eject
1387 enable_expand
1388 enable_explorer
1389 enable_extrac32
1390 enable_findstr
1391 enable_hh
1392 enable_hostname
1393 enable_icinfo
1394 enable_iexplore
1395 enable_ipconfig
1396 enable_lodctr
1397 enable_mofcomp
1398 enable_mshta
1399 enable_msiexec
1400 enable_net
1401 enable_netsh
1402 enable_netstat
1403 enable_ngen
1404 enable_notepad
1405 enable_oleview
1406 enable_ping
1407 enable_plugplay
1408 enable_presentationfontcache
1409 enable_progman
1410 enable_reg
1411 enable_regasm
1412 enable_regedit
1413 enable_regsvcs
1414 enable_regsvr32
1415 enable_rpcss
1416 enable_rundll32
1417 enable_sc
1418 enable_schtasks
1419 enable_sdbinst
1420 enable_secedit
1421 enable_servicemodelreg
1422 enable_services
1423 enable_spoolsv
1424 enable_start
1425 enable_svchost
1426 enable_systeminfo
1427 enable_taskkill
1428 enable_tasklist
1429 enable_taskmgr
1430 enable_termsv
1431 enable_uninstaller
1432 enable_unlodctr
1433 enable_view
1434 enable_wevtutil
1435 enable_wineboot
1436 enable_winebrowser
1437 enable_winecfg
1438 enable_wineconsole
1439 enable_winedbg
1440 enable_winedevice
1441 enable_winefile
1442 enable_winemenubuilder
1443 enable_winemine
1444 enable_winemsibuilder
1445 enable_winepath
1446 enable_winetest
1447 enable_winhlp32
1448 enable_winver
1449 enable_wmic
1450 enable_wordpad
1451 enable_write
1452 enable_wscript
1453 enable_wusa
1454 enable_xcopy
1455 enable_server
1456 enable_tools
1458 ac_precious_vars='build_alias
1459 host_alias
1460 target_alias
1462 CFLAGS
1463 LDFLAGS
1464 LIBS
1465 CPPFLAGS
1467 CXXFLAGS
1470 XMKMF
1471 XML2_CFLAGS
1472 XML2_LIBS
1473 XSLT_CFLAGS
1474 XSLT_LIBS
1475 DBUS_CFLAGS
1476 DBUS_LIBS
1477 HAL_CFLAGS
1478 HAL_LIBS
1479 GNUTLS_CFLAGS
1480 GNUTLS_LIBS
1481 SANE_CFLAGS
1482 SANE_LIBS
1483 GPHOTO2_CFLAGS
1484 GPHOTO2_LIBS
1485 GPHOTO2_PORT_CFLAGS
1486 GPHOTO2_PORT_LIBS
1487 LCMS2_CFLAGS
1488 LCMS2_LIBS
1489 FREETYPE_CFLAGS
1490 FREETYPE_LIBS
1491 GSTREAMER_CFLAGS
1492 GSTREAMER_LIBS
1493 CAPI20_CFLAGS
1494 CAPI20_LIBS
1495 FONTCONFIG_CFLAGS
1496 FONTCONFIG_LIBS
1497 JPEG_CFLAGS
1498 JPEG_LIBS
1499 PNG_CFLAGS
1500 PNG_LIBS
1501 TIFF_CFLAGS
1502 TIFF_LIBS
1503 MPG123_CFLAGS
1504 MPG123_LIBS'
1507 # Initialize some variables set by options.
1508 ac_init_help=
1509 ac_init_version=false
1510 ac_unrecognized_opts=
1511 ac_unrecognized_sep=
1512 # The variables have the same names as the options, with
1513 # dashes changed to underlines.
1514 cache_file=/dev/null
1515 exec_prefix=NONE
1516 no_create=
1517 no_recursion=
1518 prefix=NONE
1519 program_prefix=NONE
1520 program_suffix=NONE
1521 program_transform_name=s,x,x,
1522 silent=
1523 site=
1524 srcdir=
1525 verbose=
1526 x_includes=NONE
1527 x_libraries=NONE
1529 # Installation directory options.
1530 # These are left unexpanded so users can "make install exec_prefix=/foo"
1531 # and all the variables that are supposed to be based on exec_prefix
1532 # by default will actually change.
1533 # Use braces instead of parens because sh, perl, etc. also accept them.
1534 # (The list follows the same order as the GNU Coding Standards.)
1535 bindir='${exec_prefix}/bin'
1536 sbindir='${exec_prefix}/sbin'
1537 libexecdir='${exec_prefix}/libexec'
1538 datarootdir='${prefix}/share'
1539 datadir='${datarootdir}'
1540 sysconfdir='${prefix}/etc'
1541 sharedstatedir='${prefix}/com'
1542 localstatedir='${prefix}/var'
1543 includedir='${prefix}/include'
1544 oldincludedir='/usr/include'
1545 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1546 infodir='${datarootdir}/info'
1547 htmldir='${docdir}'
1548 dvidir='${docdir}'
1549 pdfdir='${docdir}'
1550 psdir='${docdir}'
1551 libdir='${exec_prefix}/lib'
1552 localedir='${datarootdir}/locale'
1553 mandir='${datarootdir}/man'
1555 ac_prev=
1556 ac_dashdash=
1557 for ac_option
1559 # If the previous option needs an argument, assign it.
1560 if test -n "$ac_prev"; then
1561 eval $ac_prev=\$ac_option
1562 ac_prev=
1563 continue
1566 case $ac_option in
1567 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1568 *=) ac_optarg= ;;
1569 *) ac_optarg=yes ;;
1570 esac
1572 # Accept the important Cygnus configure options, so we can diagnose typos.
1574 case $ac_dashdash$ac_option in
1576 ac_dashdash=yes ;;
1578 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1579 ac_prev=bindir ;;
1580 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1581 bindir=$ac_optarg ;;
1583 -build | --build | --buil | --bui | --bu)
1584 ac_prev=build_alias ;;
1585 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1586 build_alias=$ac_optarg ;;
1588 -cache-file | --cache-file | --cache-fil | --cache-fi \
1589 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1590 ac_prev=cache_file ;;
1591 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1592 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1593 cache_file=$ac_optarg ;;
1595 --config-cache | -C)
1596 cache_file=config.cache ;;
1598 -datadir | --datadir | --datadi | --datad)
1599 ac_prev=datadir ;;
1600 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1601 datadir=$ac_optarg ;;
1603 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1604 | --dataroo | --dataro | --datar)
1605 ac_prev=datarootdir ;;
1606 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1607 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1608 datarootdir=$ac_optarg ;;
1610 -disable-* | --disable-*)
1611 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1612 # Reject names that are not valid shell variable names.
1613 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1614 as_fn_error $? "invalid feature name: $ac_useropt"
1615 ac_useropt_orig=$ac_useropt
1616 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1617 case $ac_user_opts in
1619 "enable_$ac_useropt"
1620 "*) ;;
1621 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1622 ac_unrecognized_sep=', ';;
1623 esac
1624 eval enable_$ac_useropt=no ;;
1626 -docdir | --docdir | --docdi | --doc | --do)
1627 ac_prev=docdir ;;
1628 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1629 docdir=$ac_optarg ;;
1631 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1632 ac_prev=dvidir ;;
1633 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1634 dvidir=$ac_optarg ;;
1636 -enable-* | --enable-*)
1637 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1638 # Reject names that are not valid shell variable names.
1639 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1640 as_fn_error $? "invalid feature name: $ac_useropt"
1641 ac_useropt_orig=$ac_useropt
1642 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1643 case $ac_user_opts in
1645 "enable_$ac_useropt"
1646 "*) ;;
1647 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1648 ac_unrecognized_sep=', ';;
1649 esac
1650 eval enable_$ac_useropt=\$ac_optarg ;;
1652 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1653 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1654 | --exec | --exe | --ex)
1655 ac_prev=exec_prefix ;;
1656 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1657 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1658 | --exec=* | --exe=* | --ex=*)
1659 exec_prefix=$ac_optarg ;;
1661 -gas | --gas | --ga | --g)
1662 # Obsolete; use --with-gas.
1663 with_gas=yes ;;
1665 -help | --help | --hel | --he | -h)
1666 ac_init_help=long ;;
1667 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1668 ac_init_help=recursive ;;
1669 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1670 ac_init_help=short ;;
1672 -host | --host | --hos | --ho)
1673 ac_prev=host_alias ;;
1674 -host=* | --host=* | --hos=* | --ho=*)
1675 host_alias=$ac_optarg ;;
1677 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1678 ac_prev=htmldir ;;
1679 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1680 | --ht=*)
1681 htmldir=$ac_optarg ;;
1683 -includedir | --includedir | --includedi | --included | --include \
1684 | --includ | --inclu | --incl | --inc)
1685 ac_prev=includedir ;;
1686 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1687 | --includ=* | --inclu=* | --incl=* | --inc=*)
1688 includedir=$ac_optarg ;;
1690 -infodir | --infodir | --infodi | --infod | --info | --inf)
1691 ac_prev=infodir ;;
1692 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1693 infodir=$ac_optarg ;;
1695 -libdir | --libdir | --libdi | --libd)
1696 ac_prev=libdir ;;
1697 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1698 libdir=$ac_optarg ;;
1700 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1701 | --libexe | --libex | --libe)
1702 ac_prev=libexecdir ;;
1703 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1704 | --libexe=* | --libex=* | --libe=*)
1705 libexecdir=$ac_optarg ;;
1707 -localedir | --localedir | --localedi | --localed | --locale)
1708 ac_prev=localedir ;;
1709 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1710 localedir=$ac_optarg ;;
1712 -localstatedir | --localstatedir | --localstatedi | --localstated \
1713 | --localstate | --localstat | --localsta | --localst | --locals)
1714 ac_prev=localstatedir ;;
1715 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1716 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1717 localstatedir=$ac_optarg ;;
1719 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1720 ac_prev=mandir ;;
1721 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1722 mandir=$ac_optarg ;;
1724 -nfp | --nfp | --nf)
1725 # Obsolete; use --without-fp.
1726 with_fp=no ;;
1728 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1729 | --no-cr | --no-c | -n)
1730 no_create=yes ;;
1732 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1733 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1734 no_recursion=yes ;;
1736 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1737 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1738 | --oldin | --oldi | --old | --ol | --o)
1739 ac_prev=oldincludedir ;;
1740 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1741 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1742 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1743 oldincludedir=$ac_optarg ;;
1745 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1746 ac_prev=prefix ;;
1747 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1748 prefix=$ac_optarg ;;
1750 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1751 | --program-pre | --program-pr | --program-p)
1752 ac_prev=program_prefix ;;
1753 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1754 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1755 program_prefix=$ac_optarg ;;
1757 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1758 | --program-suf | --program-su | --program-s)
1759 ac_prev=program_suffix ;;
1760 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1761 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1762 program_suffix=$ac_optarg ;;
1764 -program-transform-name | --program-transform-name \
1765 | --program-transform-nam | --program-transform-na \
1766 | --program-transform-n | --program-transform- \
1767 | --program-transform | --program-transfor \
1768 | --program-transfo | --program-transf \
1769 | --program-trans | --program-tran \
1770 | --progr-tra | --program-tr | --program-t)
1771 ac_prev=program_transform_name ;;
1772 -program-transform-name=* | --program-transform-name=* \
1773 | --program-transform-nam=* | --program-transform-na=* \
1774 | --program-transform-n=* | --program-transform-=* \
1775 | --program-transform=* | --program-transfor=* \
1776 | --program-transfo=* | --program-transf=* \
1777 | --program-trans=* | --program-tran=* \
1778 | --progr-tra=* | --program-tr=* | --program-t=*)
1779 program_transform_name=$ac_optarg ;;
1781 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1782 ac_prev=pdfdir ;;
1783 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1784 pdfdir=$ac_optarg ;;
1786 -psdir | --psdir | --psdi | --psd | --ps)
1787 ac_prev=psdir ;;
1788 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1789 psdir=$ac_optarg ;;
1791 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1792 | -silent | --silent | --silen | --sile | --sil)
1793 silent=yes ;;
1795 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1796 ac_prev=sbindir ;;
1797 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1798 | --sbi=* | --sb=*)
1799 sbindir=$ac_optarg ;;
1801 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1802 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1803 | --sharedst | --shareds | --shared | --share | --shar \
1804 | --sha | --sh)
1805 ac_prev=sharedstatedir ;;
1806 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1807 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1808 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1809 | --sha=* | --sh=*)
1810 sharedstatedir=$ac_optarg ;;
1812 -site | --site | --sit)
1813 ac_prev=site ;;
1814 -site=* | --site=* | --sit=*)
1815 site=$ac_optarg ;;
1817 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1818 ac_prev=srcdir ;;
1819 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1820 srcdir=$ac_optarg ;;
1822 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1823 | --syscon | --sysco | --sysc | --sys | --sy)
1824 ac_prev=sysconfdir ;;
1825 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1826 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1827 sysconfdir=$ac_optarg ;;
1829 -target | --target | --targe | --targ | --tar | --ta | --t)
1830 ac_prev=target_alias ;;
1831 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1832 target_alias=$ac_optarg ;;
1834 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1835 verbose=yes ;;
1837 -version | --version | --versio | --versi | --vers | -V)
1838 ac_init_version=: ;;
1840 -with-* | --with-*)
1841 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1842 # Reject names that are not valid shell variable names.
1843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1844 as_fn_error $? "invalid package name: $ac_useropt"
1845 ac_useropt_orig=$ac_useropt
1846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1847 case $ac_user_opts in
1849 "with_$ac_useropt"
1850 "*) ;;
1851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1852 ac_unrecognized_sep=', ';;
1853 esac
1854 eval with_$ac_useropt=\$ac_optarg ;;
1856 -without-* | --without-*)
1857 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1858 # Reject names that are not valid shell variable names.
1859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1860 as_fn_error $? "invalid package name: $ac_useropt"
1861 ac_useropt_orig=$ac_useropt
1862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1863 case $ac_user_opts in
1865 "with_$ac_useropt"
1866 "*) ;;
1867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1868 ac_unrecognized_sep=', ';;
1869 esac
1870 eval with_$ac_useropt=no ;;
1872 --x)
1873 # Obsolete; use --with-x.
1874 with_x=yes ;;
1876 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1877 | --x-incl | --x-inc | --x-in | --x-i)
1878 ac_prev=x_includes ;;
1879 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1880 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1881 x_includes=$ac_optarg ;;
1883 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1884 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1885 ac_prev=x_libraries ;;
1886 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1887 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1888 x_libraries=$ac_optarg ;;
1890 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1891 Try \`$0 --help' for more information"
1894 *=*)
1895 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1896 # Reject names that are not valid shell variable names.
1897 case $ac_envvar in #(
1898 '' | [0-9]* | *[!_$as_cr_alnum]* )
1899 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1900 esac
1901 eval $ac_envvar=\$ac_optarg
1902 export $ac_envvar ;;
1905 # FIXME: should be removed in autoconf 3.0.
1906 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1907 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1908 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1909 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1912 esac
1913 done
1915 if test -n "$ac_prev"; then
1916 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1917 as_fn_error $? "missing argument to $ac_option"
1920 if test -n "$ac_unrecognized_opts"; then
1921 case $enable_option_checking in
1922 no) ;;
1923 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1924 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1925 esac
1928 # Check all directory arguments for consistency.
1929 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1930 datadir sysconfdir sharedstatedir localstatedir includedir \
1931 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1932 libdir localedir mandir
1934 eval ac_val=\$$ac_var
1935 # Remove trailing slashes.
1936 case $ac_val in
1937 */ )
1938 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1939 eval $ac_var=\$ac_val;;
1940 esac
1941 # Be sure to have absolute directory names.
1942 case $ac_val in
1943 [\\/$]* | ?:[\\/]* ) continue;;
1944 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1945 esac
1946 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1947 done
1949 # There might be people who depend on the old broken behavior: `$host'
1950 # used to hold the argument of --host etc.
1951 # FIXME: To remove some day.
1952 build=$build_alias
1953 host=$host_alias
1954 target=$target_alias
1956 # FIXME: To remove some day.
1957 if test "x$host_alias" != x; then
1958 if test "x$build_alias" = x; then
1959 cross_compiling=maybe
1960 elif test "x$build_alias" != "x$host_alias"; then
1961 cross_compiling=yes
1965 ac_tool_prefix=
1966 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1968 test "$silent" = yes && exec 6>/dev/null
1971 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1972 ac_ls_di=`ls -di .` &&
1973 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1974 as_fn_error $? "working directory cannot be determined"
1975 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1976 as_fn_error $? "pwd does not report name of working directory"
1979 # Find the source files, if location was not specified.
1980 if test -z "$srcdir"; then
1981 ac_srcdir_defaulted=yes
1982 # Try the directory containing this script, then the parent directory.
1983 ac_confdir=`$as_dirname -- "$as_myself" ||
1984 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1985 X"$as_myself" : 'X\(//\)[^/]' \| \
1986 X"$as_myself" : 'X\(//\)$' \| \
1987 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1988 $as_echo X"$as_myself" |
1989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1990 s//\1/
1993 /^X\(\/\/\)[^/].*/{
1994 s//\1/
1997 /^X\(\/\/\)$/{
1998 s//\1/
2001 /^X\(\/\).*/{
2002 s//\1/
2005 s/.*/./; q'`
2006 srcdir=$ac_confdir
2007 if test ! -r "$srcdir/$ac_unique_file"; then
2008 srcdir=..
2010 else
2011 ac_srcdir_defaulted=no
2013 if test ! -r "$srcdir/$ac_unique_file"; then
2014 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2015 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2017 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2018 ac_abs_confdir=`(
2019 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2020 pwd)`
2021 # When building in place, set srcdir=.
2022 if test "$ac_abs_confdir" = "$ac_pwd"; then
2023 srcdir=.
2025 # Remove unnecessary trailing slashes from srcdir.
2026 # Double slashes in file names in object file debugging info
2027 # mess up M-x gdb in Emacs.
2028 case $srcdir in
2029 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2030 esac
2031 for ac_var in $ac_precious_vars; do
2032 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2033 eval ac_env_${ac_var}_value=\$${ac_var}
2034 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2035 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2036 done
2039 # Report the --help message.
2041 if test "$ac_init_help" = "long"; then
2042 # Omit some internal or obsolete options to make the list less imposing.
2043 # This message is too long to be a string in the A/UX 3.1 sh.
2044 cat <<_ACEOF
2045 \`configure' configures Wine 1.7.47 to adapt to many kinds of systems.
2047 Usage: $0 [OPTION]... [VAR=VALUE]...
2049 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2050 VAR=VALUE. See below for descriptions of some of the useful variables.
2052 Defaults for the options are specified in brackets.
2054 Configuration:
2055 -h, --help display this help and exit
2056 --help=short display options specific to this package
2057 --help=recursive display the short help of all the included packages
2058 -V, --version display version information and exit
2059 -q, --quiet, --silent do not print \`checking ...' messages
2060 --cache-file=FILE cache test results in FILE [disabled]
2061 -C, --config-cache alias for \`--cache-file=config.cache'
2062 -n, --no-create do not create output files
2063 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2065 Installation directories:
2066 --prefix=PREFIX install architecture-independent files in PREFIX
2067 [$ac_default_prefix]
2068 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2069 [PREFIX]
2071 By default, \`make install' will install all the files in
2072 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2073 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2074 for instance \`--prefix=\$HOME'.
2076 For better control, use the options below.
2078 Fine tuning of the installation directories:
2079 --bindir=DIR user executables [EPREFIX/bin]
2080 --sbindir=DIR system admin executables [EPREFIX/sbin]
2081 --libexecdir=DIR program executables [EPREFIX/libexec]
2082 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2083 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2084 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2085 --libdir=DIR object code libraries [EPREFIX/lib]
2086 --includedir=DIR C header files [PREFIX/include]
2087 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2088 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2089 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2090 --infodir=DIR info documentation [DATAROOTDIR/info]
2091 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2092 --mandir=DIR man documentation [DATAROOTDIR/man]
2093 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2094 --htmldir=DIR html documentation [DOCDIR]
2095 --dvidir=DIR dvi documentation [DOCDIR]
2096 --pdfdir=DIR pdf documentation [DOCDIR]
2097 --psdir=DIR ps documentation [DOCDIR]
2098 _ACEOF
2100 cat <<\_ACEOF
2102 X features:
2103 --x-includes=DIR X include files are in DIR
2104 --x-libraries=DIR X library files are in DIR
2106 System types:
2107 --build=BUILD configure for building on BUILD [guessed]
2108 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2109 _ACEOF
2112 if test -n "$ac_init_help"; then
2113 case $ac_init_help in
2114 short | recursive ) echo "Configuration of Wine 1.7.47:";;
2115 esac
2116 cat <<\_ACEOF
2118 Optional Features:
2119 --disable-option-checking ignore unrecognized --enable/--with options
2120 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2121 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2122 --disable-win16 do not include Win16 support
2123 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2124 binaries)
2125 --disable-tests do not build the regression tests
2126 --enable-maintainer-mode
2127 enable maintainer-specific build rules
2128 --disable-largefile omit support for large files
2130 Optional Packages:
2131 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2132 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2133 --without-alsa do not use the Alsa sound support
2134 --without-capi do not use CAPI (ISDN support)
2135 --without-cms do not use CMS (color management support)
2136 --without-coreaudio do not use the CoreAudio sound support
2137 --without-cups do not use CUPS
2138 --without-curses do not use (n)curses
2139 --without-dbus do not use DBus (dynamic device support)
2140 --without-fontconfig do not use fontconfig
2141 --without-freetype do not use the FreeType library
2142 --without-gettext do not use gettext
2143 --with-gettextpo use the GetTextPO library to rebuild po files
2144 --without-gphoto do not use gphoto (Digital Camera support)
2145 --without-glu do not use the GLU library
2146 --without-gnutls do not use GnuTLS (schannel support)
2147 --without-gsm do not use libgsm (GSM 06.10 codec support)
2148 --without-gstreamer do not use GStreamer (codecs support)
2149 --without-hal do not use HAL (dynamic device support)
2150 --without-jpeg do not use JPEG
2151 --without-ldap do not use LDAP
2152 --without-mpg123 do not use the mpg123 library
2153 --without-netapi do not use the Samba NetAPI library
2154 --without-openal do not use OpenAL
2155 --without-opencl do not use OpenCL
2156 --without-opengl do not use OpenGL
2157 --without-osmesa do not use the OSMesa library
2158 --without-oss do not use the OSS sound support
2159 --without-pcap do not use the Packet Capture library
2160 --without-png do not use PNG
2161 --without-pthread do not use the pthread library
2162 --without-sane do not use SANE (scanner support)
2163 --without-tiff do not use TIFF
2164 --without-v4l do not use v4l1 (v4l support)
2165 --without-xcomposite do not use the Xcomposite extension
2166 --without-xcursor do not use the Xcursor extension
2167 --without-xinerama do not use Xinerama (multi-monitor support)
2168 --without-xinput do not use the Xinput extension
2169 --without-xinput2 do not use the Xinput 2 extension
2170 --without-xml do not use XML
2171 --without-xrandr do not use Xrandr (resolution changes)
2172 --without-xrender do not use the Xrender extension
2173 --without-xshape do not use the Xshape extension
2174 --without-xshm do not use XShm (shared memory extension)
2175 --without-xslt do not use XSLT
2176 --without-xxf86vm do not use XFree video mode extension
2177 --without-zlib do not use Zlib (data compression)
2178 --with-wine-tools=DIR use Wine tools from directory DIR
2179 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2180 --with-x use the X Window System
2182 Some influential environment variables:
2183 CC C compiler command
2184 CFLAGS C compiler flags
2185 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2186 nonstandard directory <lib dir>
2187 LIBS libraries to pass to the linker, e.g. -l<library>
2188 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2189 you have headers in a nonstandard directory <include dir>
2190 CXX C++ compiler command
2191 CXXFLAGS C++ compiler flags
2192 CPP C preprocessor
2193 XMKMF Path to xmkmf, Makefile generator for X Window System
2194 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2195 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2196 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2197 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2198 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2199 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2200 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2201 HAL_LIBS Linker flags for hal, overriding pkg-config
2202 GNUTLS_CFLAGS
2203 C compiler flags for gnutls, overriding pkg-config
2204 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2205 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2206 SANE_LIBS Linker flags for libsane, overriding pkg-config
2207 GPHOTO2_CFLAGS
2208 C compiler flags for libgphoto2, overriding pkg-config
2209 GPHOTO2_LIBS
2210 Linker flags for libgphoto2, overriding pkg-config
2211 GPHOTO2_PORT_CFLAGS
2212 C compiler flags for libgphoto2_port, overriding pkg-config
2213 GPHOTO2_PORT_LIBS
2214 Linker flags for libgphoto2_port, overriding pkg-config
2215 LCMS2_CFLAGS
2216 C compiler flags for lcms2, overriding pkg-config
2217 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2218 FREETYPE_CFLAGS
2219 C compiler flags for freetype2, overriding pkg-config
2220 FREETYPE_LIBS
2221 Linker flags for freetype2, overriding pkg-config
2222 GSTREAMER_CFLAGS
2223 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2224 GSTREAMER_LIBS
2225 Linker flags for gstreamer-app-0.10, overriding pkg-config
2226 CAPI20_CFLAGS
2227 C compiler flags for capi20, overriding pkg-config
2228 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2229 FONTCONFIG_CFLAGS
2230 C compiler flags for fontconfig, overriding pkg-config
2231 FONTCONFIG_LIBS
2232 Linker flags for fontconfig, overriding pkg-config
2233 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2234 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2235 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2236 PNG_LIBS Linker flags for libpng, overriding pkg-config
2237 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2238 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2239 MPG123_CFLAGS
2240 C compiler flags for libmpg123, overriding pkg-config
2241 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2243 Use these variables to override the choices made by `configure' or to help
2244 it to find libraries and programs with nonstandard names/locations.
2246 Report bugs to <wine-devel@winehq.org>.
2247 Wine home page: <http://www.winehq.org>.
2248 _ACEOF
2249 ac_status=$?
2252 if test "$ac_init_help" = "recursive"; then
2253 # If there are subdirs, report their specific --help.
2254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2255 test -d "$ac_dir" ||
2256 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2257 continue
2258 ac_builddir=.
2260 case "$ac_dir" in
2261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2263 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2264 # A ".." for each directory in $ac_dir_suffix.
2265 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2266 case $ac_top_builddir_sub in
2267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2269 esac ;;
2270 esac
2271 ac_abs_top_builddir=$ac_pwd
2272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2273 # for backward compatibility:
2274 ac_top_builddir=$ac_top_build_prefix
2276 case $srcdir in
2277 .) # We are building in place.
2278 ac_srcdir=.
2279 ac_top_srcdir=$ac_top_builddir_sub
2280 ac_abs_top_srcdir=$ac_pwd ;;
2281 [\\/]* | ?:[\\/]* ) # Absolute name.
2282 ac_srcdir=$srcdir$ac_dir_suffix;
2283 ac_top_srcdir=$srcdir
2284 ac_abs_top_srcdir=$srcdir ;;
2285 *) # Relative name.
2286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2287 ac_top_srcdir=$ac_top_build_prefix$srcdir
2288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2289 esac
2290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2292 cd "$ac_dir" || { ac_status=$?; continue; }
2293 # Check for guested configure.
2294 if test -f "$ac_srcdir/configure.gnu"; then
2295 echo &&
2296 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2297 elif test -f "$ac_srcdir/configure"; then
2298 echo &&
2299 $SHELL "$ac_srcdir/configure" --help=recursive
2300 else
2301 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2302 fi || ac_status=$?
2303 cd "$ac_pwd" || { ac_status=$?; break; }
2304 done
2307 test -n "$ac_init_help" && exit $ac_status
2308 if $ac_init_version; then
2309 cat <<\_ACEOF
2310 Wine configure 1.7.47
2311 generated by GNU Autoconf 2.69
2313 Copyright (C) 2012 Free Software Foundation, Inc.
2314 This configure script is free software; the Free Software Foundation
2315 gives unlimited permission to copy, distribute and modify it.
2316 _ACEOF
2317 exit
2320 ## ------------------------ ##
2321 ## Autoconf initialization. ##
2322 ## ------------------------ ##
2324 # ac_fn_c_try_compile LINENO
2325 # --------------------------
2326 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2327 ac_fn_c_try_compile ()
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 rm -f conftest.$ac_objext
2331 if { { ac_try="$ac_compile"
2332 case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compile") 2>conftest.err
2339 ac_status=$?
2340 if test -s conftest.err; then
2341 grep -v '^ *+' conftest.err >conftest.er1
2342 cat conftest.er1 >&5
2343 mv -f conftest.er1 conftest.err
2345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346 test $ac_status = 0; } && {
2347 test -z "$ac_c_werror_flag" ||
2348 test ! -s conftest.err
2349 } && test -s conftest.$ac_objext; then :
2350 ac_retval=0
2351 else
2352 $as_echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 ac_retval=1
2357 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 as_fn_set_status $ac_retval
2360 } # ac_fn_c_try_compile
2362 # ac_fn_cxx_try_compile LINENO
2363 # ----------------------------
2364 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2365 ac_fn_cxx_try_compile ()
2367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2368 rm -f conftest.$ac_objext
2369 if { { ac_try="$ac_compile"
2370 case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2373 esac
2374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2375 $as_echo "$ac_try_echo"; } >&5
2376 (eval "$ac_compile") 2>conftest.err
2377 ac_status=$?
2378 if test -s conftest.err; then
2379 grep -v '^ *+' conftest.err >conftest.er1
2380 cat conftest.er1 >&5
2381 mv -f conftest.er1 conftest.err
2383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2384 test $ac_status = 0; } && {
2385 test -z "$ac_cxx_werror_flag" ||
2386 test ! -s conftest.err
2387 } && test -s conftest.$ac_objext; then :
2388 ac_retval=0
2389 else
2390 $as_echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.$ac_ext >&5
2393 ac_retval=1
2395 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2396 as_fn_set_status $ac_retval
2398 } # ac_fn_cxx_try_compile
2400 # ac_fn_c_try_link LINENO
2401 # -----------------------
2402 # Try to link conftest.$ac_ext, and return whether this succeeded.
2403 ac_fn_c_try_link ()
2405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2406 rm -f conftest.$ac_objext conftest$ac_exeext
2407 if { { ac_try="$ac_link"
2408 case "(($ac_try" in
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2411 esac
2412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2413 $as_echo "$ac_try_echo"; } >&5
2414 (eval "$ac_link") 2>conftest.err
2415 ac_status=$?
2416 if test -s conftest.err; then
2417 grep -v '^ *+' conftest.err >conftest.er1
2418 cat conftest.er1 >&5
2419 mv -f conftest.er1 conftest.err
2421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2422 test $ac_status = 0; } && {
2423 test -z "$ac_c_werror_flag" ||
2424 test ! -s conftest.err
2425 } && test -s conftest$ac_exeext && {
2426 test "$cross_compiling" = yes ||
2427 test -x conftest$ac_exeext
2428 }; then :
2429 ac_retval=0
2430 else
2431 $as_echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 ac_retval=1
2436 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2437 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2438 # interfere with the next link command; also delete a directory that is
2439 # left behind by Apple's compiler. We do this before executing the actions.
2440 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 as_fn_set_status $ac_retval
2444 } # ac_fn_c_try_link
2446 # ac_fn_c_try_cpp LINENO
2447 # ----------------------
2448 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2449 ac_fn_c_try_cpp ()
2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452 if { { ac_try="$ac_cpp conftest.$ac_ext"
2453 case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456 esac
2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2460 ac_status=$?
2461 if test -s conftest.err; then
2462 grep -v '^ *+' conftest.err >conftest.er1
2463 cat conftest.er1 >&5
2464 mv -f conftest.er1 conftest.err
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; } > conftest.i && {
2468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2469 test ! -s conftest.err
2470 }; then :
2471 ac_retval=0
2472 else
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 ac_retval=1
2478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2479 as_fn_set_status $ac_retval
2481 } # ac_fn_c_try_cpp
2483 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2484 # -------------------------------------------------------
2485 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2486 # the include files in INCLUDES and setting the cache variable VAR
2487 # accordingly.
2488 ac_fn_c_check_header_mongrel ()
2490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2491 if eval \${$3+:} false; then :
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2493 $as_echo_n "checking for $2... " >&6; }
2494 if eval \${$3+:} false; then :
2495 $as_echo_n "(cached) " >&6
2497 eval ac_res=\$$3
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2499 $as_echo "$ac_res" >&6; }
2500 else
2501 # Is the header compilable?
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2503 $as_echo_n "checking $2 usability... " >&6; }
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2507 #include <$2>
2508 _ACEOF
2509 if ac_fn_c_try_compile "$LINENO"; then :
2510 ac_header_compiler=yes
2511 else
2512 ac_header_compiler=no
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2516 $as_echo "$ac_header_compiler" >&6; }
2518 # Is the header present?
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2520 $as_echo_n "checking $2 presence... " >&6; }
2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522 /* end confdefs.h. */
2523 #include <$2>
2524 _ACEOF
2525 if ac_fn_c_try_cpp "$LINENO"; then :
2526 ac_header_preproc=yes
2527 else
2528 ac_header_preproc=no
2530 rm -f conftest.err conftest.i conftest.$ac_ext
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2532 $as_echo "$ac_header_preproc" >&6; }
2534 # So? What about this header?
2535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2536 yes:no: )
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2538 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2540 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2542 no:yes:* )
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2544 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2546 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2548 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2550 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2552 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2553 ( $as_echo "## ------------------------------------ ##
2554 ## Report this to wine-devel@winehq.org ##
2555 ## ------------------------------------ ##"
2556 ) | sed "s/^/$as_me: WARNING: /" >&2
2558 esac
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2560 $as_echo_n "checking for $2... " >&6; }
2561 if eval \${$3+:} false; then :
2562 $as_echo_n "(cached) " >&6
2563 else
2564 eval "$3=\$ac_header_compiler"
2566 eval ac_res=\$$3
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2568 $as_echo "$ac_res" >&6; }
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2572 } # ac_fn_c_check_header_mongrel
2574 # ac_fn_c_try_run LINENO
2575 # ----------------------
2576 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2577 # that executables *can* be run.
2578 ac_fn_c_try_run ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 if { { ac_try="$ac_link"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_link") 2>&5
2589 ac_status=$?
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2592 { { case "(($ac_try" in
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2595 esac
2596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_try") 2>&5
2599 ac_status=$?
2600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2601 test $ac_status = 0; }; }; then :
2602 ac_retval=0
2603 else
2604 $as_echo "$as_me: program exited with status $ac_status" >&5
2605 $as_echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 ac_retval=$ac_status
2610 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2612 as_fn_set_status $ac_retval
2614 } # ac_fn_c_try_run
2616 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2617 # -------------------------------------------------------
2618 # Tests whether HEADER exists and can be compiled using the include files in
2619 # INCLUDES, setting the cache variable VAR accordingly.
2620 ac_fn_c_check_header_compile ()
2622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2624 $as_echo_n "checking for $2... " >&6; }
2625 if eval \${$3+:} false; then :
2626 $as_echo_n "(cached) " >&6
2627 else
2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2629 /* end confdefs.h. */
2631 #include <$2>
2632 _ACEOF
2633 if ac_fn_c_try_compile "$LINENO"; then :
2634 eval "$3=yes"
2635 else
2636 eval "$3=no"
2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2640 eval ac_res=\$$3
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2642 $as_echo "$ac_res" >&6; }
2643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 } # ac_fn_c_check_header_compile
2647 # ac_fn_c_check_func LINENO FUNC VAR
2648 # ----------------------------------
2649 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2650 ac_fn_c_check_func ()
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2654 $as_echo_n "checking for $2... " >&6; }
2655 if eval \${$3+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2659 /* end confdefs.h. */
2660 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2662 #define $2 innocuous_$2
2664 /* System header to define __stub macros and hopefully few prototypes,
2665 which can conflict with char $2 (); below.
2666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2667 <limits.h> exists even on freestanding compilers. */
2669 #ifdef __STDC__
2670 # include <limits.h>
2671 #else
2672 # include <assert.h>
2673 #endif
2675 #undef $2
2677 /* Override any GCC internal prototype to avoid an error.
2678 Use char because int might match the return type of a GCC
2679 builtin and then its argument prototype would still apply. */
2680 #ifdef __cplusplus
2681 extern "C"
2682 #endif
2683 char $2 ();
2684 /* The GNU C library defines this for functions which it implements
2685 to always fail with ENOSYS. Some functions are actually named
2686 something starting with __ and the normal name is an alias. */
2687 #if defined __stub_$2 || defined __stub___$2
2688 choke me
2689 #endif
2692 main ()
2694 return $2 ();
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_link "$LINENO"; then :
2700 eval "$3=yes"
2701 else
2702 eval "$3=no"
2704 rm -f core conftest.err conftest.$ac_objext \
2705 conftest$ac_exeext conftest.$ac_ext
2707 eval ac_res=\$$3
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_func
2714 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2715 # ----------------------------------------------------
2716 # Tries to find if the field MEMBER exists in type AGGR, after including
2717 # INCLUDES, setting cache variable VAR accordingly.
2718 ac_fn_c_check_member ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2722 $as_echo_n "checking for $2.$3... " >&6; }
2723 if eval \${$4+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2727 /* end confdefs.h. */
2730 main ()
2732 static $2 ac_aggr;
2733 if (ac_aggr.$3)
2734 return 0;
2736 return 0;
2738 _ACEOF
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 eval "$4=yes"
2741 else
2742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2743 /* end confdefs.h. */
2746 main ()
2748 static $2 ac_aggr;
2749 if (sizeof ac_aggr.$3)
2750 return 0;
2752 return 0;
2754 _ACEOF
2755 if ac_fn_c_try_compile "$LINENO"; then :
2756 eval "$4=yes"
2757 else
2758 eval "$4=no"
2760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 eval ac_res=\$$4
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2766 $as_echo "$ac_res" >&6; }
2767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2769 } # ac_fn_c_check_member
2771 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2772 # -------------------------------------------
2773 # Tests whether TYPE exists after having included INCLUDES, setting cache
2774 # variable VAR accordingly.
2775 ac_fn_c_check_type ()
2777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2779 $as_echo_n "checking for $2... " >&6; }
2780 if eval \${$3+:} false; then :
2781 $as_echo_n "(cached) " >&6
2782 else
2783 eval "$3=no"
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2788 main ()
2790 if (sizeof ($2))
2791 return 0;
2793 return 0;
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2798 /* end confdefs.h. */
2801 main ()
2803 if (sizeof (($2)))
2804 return 0;
2806 return 0;
2808 _ACEOF
2809 if ac_fn_c_try_compile "$LINENO"; then :
2811 else
2812 eval "$3=yes"
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 eval ac_res=\$$3
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2820 $as_echo "$ac_res" >&6; }
2821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 } # ac_fn_c_check_type
2824 cat >config.log <<_ACEOF
2825 This file contains any messages produced by compilers while
2826 running configure, to aid debugging if configure makes a mistake.
2828 It was created by Wine $as_me 1.7.47, which was
2829 generated by GNU Autoconf 2.69. Invocation command line was
2831 $ $0 $@
2833 _ACEOF
2834 exec 5>>config.log
2836 cat <<_ASUNAME
2837 ## --------- ##
2838 ## Platform. ##
2839 ## --------- ##
2841 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2842 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2843 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2844 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2845 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2847 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2848 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2850 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2851 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2852 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2853 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2854 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2855 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2856 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2858 _ASUNAME
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 for as_dir in $PATH
2863 IFS=$as_save_IFS
2864 test -z "$as_dir" && as_dir=.
2865 $as_echo "PATH: $as_dir"
2866 done
2867 IFS=$as_save_IFS
2869 } >&5
2871 cat >&5 <<_ACEOF
2874 ## ----------- ##
2875 ## Core tests. ##
2876 ## ----------- ##
2878 _ACEOF
2881 # Keep a trace of the command line.
2882 # Strip out --no-create and --no-recursion so they do not pile up.
2883 # Strip out --silent because we don't want to record it for future runs.
2884 # Also quote any args containing shell meta-characters.
2885 # Make two passes to allow for proper duplicate-argument suppression.
2886 ac_configure_args=
2887 ac_configure_args0=
2888 ac_configure_args1=
2889 ac_must_keep_next=false
2890 for ac_pass in 1 2
2892 for ac_arg
2894 case $ac_arg in
2895 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2897 | -silent | --silent | --silen | --sile | --sil)
2898 continue ;;
2899 *\'*)
2900 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2901 esac
2902 case $ac_pass in
2903 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2905 as_fn_append ac_configure_args1 " '$ac_arg'"
2906 if test $ac_must_keep_next = true; then
2907 ac_must_keep_next=false # Got value, back to normal.
2908 else
2909 case $ac_arg in
2910 *=* | --config-cache | -C | -disable-* | --disable-* \
2911 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2912 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2913 | -with-* | --with-* | -without-* | --without-* | --x)
2914 case "$ac_configure_args0 " in
2915 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2916 esac
2918 -* ) ac_must_keep_next=true ;;
2919 esac
2921 as_fn_append ac_configure_args " '$ac_arg'"
2923 esac
2924 done
2925 done
2926 { ac_configure_args0=; unset ac_configure_args0;}
2927 { ac_configure_args1=; unset ac_configure_args1;}
2929 # When interrupted or exit'd, cleanup temporary files, and complete
2930 # config.log. We remove comments because anyway the quotes in there
2931 # would cause problems or look ugly.
2932 # WARNING: Use '\'' to represent an apostrophe within the trap.
2933 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2934 trap 'exit_status=$?
2935 # Save into config.log some information that might help in debugging.
2937 echo
2939 $as_echo "## ---------------- ##
2940 ## Cache variables. ##
2941 ## ---------------- ##"
2942 echo
2943 # The following way of writing the cache mishandles newlines in values,
2945 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2946 eval ac_val=\$$ac_var
2947 case $ac_val in #(
2948 *${as_nl}*)
2949 case $ac_var in #(
2950 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2951 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2952 esac
2953 case $ac_var in #(
2954 _ | IFS | as_nl) ;; #(
2955 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2956 *) { eval $ac_var=; unset $ac_var;} ;;
2957 esac ;;
2958 esac
2959 done
2960 (set) 2>&1 |
2961 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2962 *${as_nl}ac_space=\ *)
2963 sed -n \
2964 "s/'\''/'\''\\\\'\'''\''/g;
2965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2966 ;; #(
2968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2970 esac |
2971 sort
2973 echo
2975 $as_echo "## ----------------- ##
2976 ## Output variables. ##
2977 ## ----------------- ##"
2978 echo
2979 for ac_var in $ac_subst_vars
2981 eval ac_val=\$$ac_var
2982 case $ac_val in
2983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2984 esac
2985 $as_echo "$ac_var='\''$ac_val'\''"
2986 done | sort
2987 echo
2989 if test -n "$ac_subst_files"; then
2990 $as_echo "## ------------------- ##
2991 ## File substitutions. ##
2992 ## ------------------- ##"
2993 echo
2994 for ac_var in $ac_subst_files
2996 eval ac_val=\$$ac_var
2997 case $ac_val in
2998 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2999 esac
3000 $as_echo "$ac_var='\''$ac_val'\''"
3001 done | sort
3002 echo
3005 if test -s confdefs.h; then
3006 $as_echo "## ----------- ##
3007 ## confdefs.h. ##
3008 ## ----------- ##"
3009 echo
3010 cat confdefs.h
3011 echo
3013 test "$ac_signal" != 0 &&
3014 $as_echo "$as_me: caught signal $ac_signal"
3015 $as_echo "$as_me: exit $exit_status"
3016 } >&5
3017 rm -f core *.core core.conftest.* &&
3018 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3019 exit $exit_status
3021 for ac_signal in 1 2 13 15; do
3022 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3023 done
3024 ac_signal=0
3026 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3027 rm -f -r conftest* confdefs.h
3029 $as_echo "/* confdefs.h */" > confdefs.h
3031 # Predefined preprocessor variables.
3033 cat >>confdefs.h <<_ACEOF
3034 #define PACKAGE_NAME "$PACKAGE_NAME"
3035 _ACEOF
3037 cat >>confdefs.h <<_ACEOF
3038 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3039 _ACEOF
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3043 _ACEOF
3045 cat >>confdefs.h <<_ACEOF
3046 #define PACKAGE_STRING "$PACKAGE_STRING"
3047 _ACEOF
3049 cat >>confdefs.h <<_ACEOF
3050 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3051 _ACEOF
3053 cat >>confdefs.h <<_ACEOF
3054 #define PACKAGE_URL "$PACKAGE_URL"
3055 _ACEOF
3058 # Let the site file select an alternate cache file if it wants to.
3059 # Prefer an explicitly selected file to automatically selected ones.
3060 ac_site_file1=NONE
3061 ac_site_file2=NONE
3062 if test -n "$CONFIG_SITE"; then
3063 # We do not want a PATH search for config.site.
3064 case $CONFIG_SITE in #((
3065 -*) ac_site_file1=./$CONFIG_SITE;;
3066 */*) ac_site_file1=$CONFIG_SITE;;
3067 *) ac_site_file1=./$CONFIG_SITE;;
3068 esac
3069 elif test "x$prefix" != xNONE; then
3070 ac_site_file1=$prefix/share/config.site
3071 ac_site_file2=$prefix/etc/config.site
3072 else
3073 ac_site_file1=$ac_default_prefix/share/config.site
3074 ac_site_file2=$ac_default_prefix/etc/config.site
3076 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3078 test "x$ac_site_file" = xNONE && continue
3079 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3081 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3082 sed 's/^/| /' "$ac_site_file" >&5
3083 . "$ac_site_file" \
3084 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error $? "failed to load site script $ac_site_file
3087 See \`config.log' for more details" "$LINENO" 5; }
3089 done
3091 if test -r "$cache_file"; then
3092 # Some versions of bash will fail to source /dev/null (special files
3093 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3094 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3096 $as_echo "$as_me: loading cache $cache_file" >&6;}
3097 case $cache_file in
3098 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3099 *) . "./$cache_file";;
3100 esac
3102 else
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3104 $as_echo "$as_me: creating cache $cache_file" >&6;}
3105 >$cache_file
3108 # Check that the precious variables saved in the cache have kept the same
3109 # value.
3110 ac_cache_corrupted=false
3111 for ac_var in $ac_precious_vars; do
3112 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3113 eval ac_new_set=\$ac_env_${ac_var}_set
3114 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3115 eval ac_new_val=\$ac_env_${ac_var}_value
3116 case $ac_old_set,$ac_new_set in
3117 set,)
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3119 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3120 ac_cache_corrupted=: ;;
3121 ,set)
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3123 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3124 ac_cache_corrupted=: ;;
3125 ,);;
3127 if test "x$ac_old_val" != "x$ac_new_val"; then
3128 # differences in whitespace do not lead to failure.
3129 ac_old_val_w=`echo x $ac_old_val`
3130 ac_new_val_w=`echo x $ac_new_val`
3131 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3133 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3134 ac_cache_corrupted=:
3135 else
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3137 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3138 eval $ac_var=\$ac_old_val
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3141 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3143 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3144 fi;;
3145 esac
3146 # Pass precious variables to config.status.
3147 if test "$ac_new_set" = set; then
3148 case $ac_new_val in
3149 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3150 *) ac_arg=$ac_var=$ac_new_val ;;
3151 esac
3152 case " $ac_configure_args " in
3153 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3154 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3155 esac
3157 done
3158 if $ac_cache_corrupted; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3162 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3163 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3165 ## -------------------- ##
3166 ## Main body of script. ##
3167 ## -------------------- ##
3169 ac_ext=c
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3177 ac_config_headers="$ac_config_headers include/config.h"
3179 ac_aux_dir=
3180 for ac_dir in tools "$srcdir"/tools; do
3181 if test -f "$ac_dir/install-sh"; then
3182 ac_aux_dir=$ac_dir
3183 ac_install_sh="$ac_aux_dir/install-sh -c"
3184 break
3185 elif test -f "$ac_dir/install.sh"; then
3186 ac_aux_dir=$ac_dir
3187 ac_install_sh="$ac_aux_dir/install.sh -c"
3188 break
3189 elif test -f "$ac_dir/shtool"; then
3190 ac_aux_dir=$ac_dir
3191 ac_install_sh="$ac_aux_dir/shtool install -c"
3192 break
3194 done
3195 if test -z "$ac_aux_dir"; then
3196 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3199 # These three variables are undocumented and unsupported,
3200 # and are intended to be withdrawn in a future Autoconf release.
3201 # They can cause serious problems if a builder's source tree is in a directory
3202 # whose full name contains unusual characters.
3203 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3204 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3205 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3209 libwine_version="1.0"
3213 # Check whether --enable-win16 was given.
3214 if test "${enable_win16+set}" = set; then :
3215 enableval=$enable_win16;
3218 # Check whether --enable-win64 was given.
3219 if test "${enable_win64+set}" = set; then :
3220 enableval=$enable_win64;
3223 # Check whether --enable-tests was given.
3224 if test "${enable_tests+set}" = set; then :
3225 enableval=$enable_tests;
3228 # Check whether --enable-maintainer-mode was given.
3229 if test "${enable_maintainer_mode+set}" = set; then :
3230 enableval=$enable_maintainer_mode;
3235 # Check whether --with-alsa was given.
3236 if test "${with_alsa+set}" = set; then :
3237 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3241 # Check whether --with-capi was given.
3242 if test "${with_capi+set}" = set; then :
3243 withval=$with_capi;
3247 # Check whether --with-cms was given.
3248 if test "${with_cms+set}" = set; then :
3249 withval=$with_cms;
3253 # Check whether --with-coreaudio was given.
3254 if test "${with_coreaudio+set}" = set; then :
3255 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3259 # Check whether --with-cups was given.
3260 if test "${with_cups+set}" = set; then :
3261 withval=$with_cups;
3265 # Check whether --with-curses was given.
3266 if test "${with_curses+set}" = set; then :
3267 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3271 # Check whether --with-dbus was given.
3272 if test "${with_dbus+set}" = set; then :
3273 withval=$with_dbus;
3277 # Check whether --with-fontconfig was given.
3278 if test "${with_fontconfig+set}" = set; then :
3279 withval=$with_fontconfig;
3283 # Check whether --with-freetype was given.
3284 if test "${with_freetype+set}" = set; then :
3285 withval=$with_freetype;
3289 # Check whether --with-gettext was given.
3290 if test "${with_gettext+set}" = set; then :
3291 withval=$with_gettext;
3295 # Check whether --with-gettextpo was given.
3296 if test "${with_gettextpo+set}" = set; then :
3297 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3301 # Check whether --with-gphoto was given.
3302 if test "${with_gphoto+set}" = set; then :
3303 withval=$with_gphoto;
3307 # Check whether --with-glu was given.
3308 if test "${with_glu+set}" = set; then :
3309 withval=$with_glu;
3313 # Check whether --with-gnutls was given.
3314 if test "${with_gnutls+set}" = set; then :
3315 withval=$with_gnutls;
3319 # Check whether --with-gsm was given.
3320 if test "${with_gsm+set}" = set; then :
3321 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3325 # Check whether --with-gstreamer was given.
3326 if test "${with_gstreamer+set}" = set; then :
3327 withval=$with_gstreamer;
3331 # Check whether --with-hal was given.
3332 if test "${with_hal+set}" = set; then :
3333 withval=$with_hal;
3337 # Check whether --with-jpeg was given.
3338 if test "${with_jpeg+set}" = set; then :
3339 withval=$with_jpeg;
3343 # Check whether --with-ldap was given.
3344 if test "${with_ldap+set}" = set; then :
3345 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3349 # Check whether --with-mpg123 was given.
3350 if test "${with_mpg123+set}" = set; then :
3351 withval=$with_mpg123;
3355 # Check whether --with-netapi was given.
3356 if test "${with_netapi+set}" = set; then :
3357 withval=$with_netapi;
3361 # Check whether --with-openal was given.
3362 if test "${with_openal+set}" = set; then :
3363 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3367 # Check whether --with-opencl was given.
3368 if test "${with_opencl+set}" = set; then :
3369 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3373 # Check whether --with-opengl was given.
3374 if test "${with_opengl+set}" = set; then :
3375 withval=$with_opengl;
3379 # Check whether --with-osmesa was given.
3380 if test "${with_osmesa+set}" = set; then :
3381 withval=$with_osmesa;
3385 # Check whether --with-oss was given.
3386 if test "${with_oss+set}" = set; then :
3387 withval=$with_oss;
3391 # Check whether --with-pcap was given.
3392 if test "${with_pcap+set}" = set; then :
3393 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3397 # Check whether --with-png was given.
3398 if test "${with_png+set}" = set; then :
3399 withval=$with_png;
3403 # Check whether --with-pthread was given.
3404 if test "${with_pthread+set}" = set; then :
3405 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3409 # Check whether --with-sane was given.
3410 if test "${with_sane+set}" = set; then :
3411 withval=$with_sane;
3415 # Check whether --with-tiff was given.
3416 if test "${with_tiff+set}" = set; then :
3417 withval=$with_tiff;
3421 # Check whether --with-v4l was given.
3422 if test "${with_v4l+set}" = set; then :
3423 withval=$with_v4l;
3427 # Check whether --with-xcomposite was given.
3428 if test "${with_xcomposite+set}" = set; then :
3429 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3433 # Check whether --with-xcursor was given.
3434 if test "${with_xcursor+set}" = set; then :
3435 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3439 # Check whether --with-xinerama was given.
3440 if test "${with_xinerama+set}" = set; then :
3441 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3445 # Check whether --with-xinput was given.
3446 if test "${with_xinput+set}" = set; then :
3447 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3451 # Check whether --with-xinput2 was given.
3452 if test "${with_xinput2+set}" = set; then :
3453 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3457 # Check whether --with-xml was given.
3458 if test "${with_xml+set}" = set; then :
3459 withval=$with_xml;
3463 # Check whether --with-xrandr was given.
3464 if test "${with_xrandr+set}" = set; then :
3465 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3469 # Check whether --with-xrender was given.
3470 if test "${with_xrender+set}" = set; then :
3471 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3475 # Check whether --with-xshape was given.
3476 if test "${with_xshape+set}" = set; then :
3477 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3481 # Check whether --with-xshm was given.
3482 if test "${with_xshm+set}" = set; then :
3483 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3487 # Check whether --with-xslt was given.
3488 if test "${with_xslt+set}" = set; then :
3489 withval=$with_xslt;
3493 # Check whether --with-xxf86vm was given.
3494 if test "${with_xxf86vm+set}" = set; then :
3495 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
3499 # Check whether --with-zlib was given.
3500 if test "${with_zlib+set}" = set; then :
3501 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3506 # Check whether --with-wine-tools was given.
3507 if test "${with_wine_tools+set}" = set; then :
3508 withval=$with_wine_tools;
3512 # Check whether --with-wine64 was given.
3513 if test "${with_wine64+set}" = set; then :
3514 withval=$with_wine64;
3518 # Make sure we can run config.sub.
3519 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3520 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3523 $as_echo_n "checking build system type... " >&6; }
3524 if ${ac_cv_build+:} false; then :
3525 $as_echo_n "(cached) " >&6
3526 else
3527 ac_build_alias=$build_alias
3528 test "x$ac_build_alias" = x &&
3529 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3530 test "x$ac_build_alias" = x &&
3531 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3532 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3537 $as_echo "$ac_cv_build" >&6; }
3538 case $ac_cv_build in
3539 *-*-*) ;;
3540 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3541 esac
3542 build=$ac_cv_build
3543 ac_save_IFS=$IFS; IFS='-'
3544 set x $ac_cv_build
3545 shift
3546 build_cpu=$1
3547 build_vendor=$2
3548 shift; shift
3549 # Remember, the first character of IFS is used to create $*,
3550 # except with old shells:
3551 build_os=$*
3552 IFS=$ac_save_IFS
3553 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3557 $as_echo_n "checking host system type... " >&6; }
3558 if ${ac_cv_host+:} false; then :
3559 $as_echo_n "(cached) " >&6
3560 else
3561 if test "x$host_alias" = x; then
3562 ac_cv_host=$ac_cv_build
3563 else
3564 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3565 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3570 $as_echo "$ac_cv_host" >&6; }
3571 case $ac_cv_host in
3572 *-*-*) ;;
3573 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3574 esac
3575 host=$ac_cv_host
3576 ac_save_IFS=$IFS; IFS='-'
3577 set x $ac_cv_host
3578 shift
3579 host_cpu=$1
3580 host_vendor=$2
3581 shift; shift
3582 # Remember, the first character of IFS is used to create $*,
3583 # except with old shells:
3584 host_os=$*
3585 IFS=$ac_save_IFS
3586 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3590 case "$srcdir" in
3591 .) ;;
3592 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3593 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3594 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3595 fi ;;
3596 esac
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3600 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3601 set x ${MAKE-make}
3602 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3603 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3604 $as_echo_n "(cached) " >&6
3605 else
3606 cat >conftest.make <<\_ACEOF
3607 SHELL = /bin/sh
3608 all:
3609 @echo '@@@%%%=$(MAKE)=@@@%%%'
3610 _ACEOF
3611 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3612 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3613 *@@@%%%=?*=@@@%%%*)
3614 eval ac_cv_prog_make_${ac_make}_set=yes;;
3616 eval ac_cv_prog_make_${ac_make}_set=no;;
3617 esac
3618 rm -f conftest.make
3620 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3622 $as_echo "yes" >&6; }
3623 SET_MAKE=
3624 else
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3627 SET_MAKE="MAKE=${MAKE-make}"
3630 ac_ext=c
3631 ac_cpp='$CPP $CPPFLAGS'
3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_CC+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649 IFS=$as_save_IFS
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 break 2
3657 done
3658 done
3659 IFS=$as_save_IFS
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3674 if test -z "$ac_cv_prog_CC"; then
3675 ac_ct_CC=$CC
3676 # Extract the first word of "gcc", so it can be a program name with args.
3677 set dummy gcc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3681 $as_echo_n "(cached) " >&6
3682 else
3683 if test -n "$ac_ct_CC"; then
3684 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3685 else
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH
3689 IFS=$as_save_IFS
3690 test -z "$as_dir" && as_dir=.
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_ac_ct_CC="gcc"
3694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 break 2
3697 done
3698 done
3699 IFS=$as_save_IFS
3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704 if test -n "$ac_ct_CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706 $as_echo "$ac_ct_CC" >&6; }
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3712 if test "x$ac_ct_CC" = x; then
3713 CC=""
3714 else
3715 case $cross_compiling:$ac_tool_warned in
3716 yes:)
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3719 ac_tool_warned=yes ;;
3720 esac
3721 CC=$ac_ct_CC
3723 else
3724 CC="$ac_cv_prog_CC"
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3730 set dummy ${ac_tool_prefix}cc; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_CC="${ac_tool_prefix}cc"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3750 done
3751 done
3752 IFS=$as_save_IFS
3756 CC=$ac_cv_prog_CC
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3768 if test -z "$CC"; then
3769 # Extract the first word of "cc", so it can be a program name with args.
3770 set dummy cc; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 ac_prog_rejected=no
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 for as_dir in $PATH
3783 IFS=$as_save_IFS
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3788 ac_prog_rejected=yes
3789 continue
3791 ac_cv_prog_CC="cc"
3792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 break 2
3795 done
3796 done
3797 IFS=$as_save_IFS
3799 if test $ac_prog_rejected = yes; then
3800 # We found a bogon in the path, so make sure we never use it.
3801 set dummy $ac_cv_prog_CC
3802 shift
3803 if test $# != 0; then
3804 # We chose a different compiler from the bogus one.
3805 # However, it has the same basename, so the bogon will be chosen
3806 # first if we set CC to just the basename; use the full file name.
3807 shift
3808 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3813 CC=$ac_cv_prog_CC
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3824 if test -z "$CC"; then
3825 if test -n "$ac_tool_prefix"; then
3826 for ac_prog in cl.exe
3828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_prog_CC+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -n "$CC"; then
3836 ac_cv_prog_CC="$CC" # Let the user override the test.
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 break 2
3849 done
3850 done
3851 IFS=$as_save_IFS
3855 CC=$ac_cv_prog_CC
3856 if test -n "$CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858 $as_echo "$CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3865 test -n "$CC" && break
3866 done
3868 if test -z "$CC"; then
3869 ac_ct_CC=$CC
3870 for ac_prog in cl.exe
3872 # Extract the first word of "$ac_prog", so it can be a program name with args.
3873 set dummy $ac_prog; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$ac_ct_CC"; then
3880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_ac_ct_CC="$ac_prog"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3900 if test -n "$ac_ct_CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3902 $as_echo "$ac_ct_CC" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3909 test -n "$ac_ct_CC" && break
3910 done
3912 if test "x$ac_ct_CC" = x; then
3913 CC=""
3914 else
3915 case $cross_compiling:$ac_tool_warned in
3916 yes:)
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3919 ac_tool_warned=yes ;;
3920 esac
3921 CC=$ac_ct_CC
3928 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3930 as_fn_error $? "no acceptable C compiler found in \$PATH
3931 See \`config.log' for more details" "$LINENO" 5; }
3933 # Provide some information about the compiler.
3934 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3935 set X $ac_compile
3936 ac_compiler=$2
3937 for ac_option in --version -v -V -qversion; do
3938 { { ac_try="$ac_compiler $ac_option >&5"
3939 case "(($ac_try" in
3940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3942 esac
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3946 ac_status=$?
3947 if test -s conftest.err; then
3948 sed '10a\
3949 ... rest of stderr output deleted ...
3950 10q' conftest.err >conftest.er1
3951 cat conftest.er1 >&5
3953 rm -f conftest.er1 conftest.err
3954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3955 test $ac_status = 0; }
3956 done
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3962 main ()
3966 return 0;
3968 _ACEOF
3969 ac_clean_files_save=$ac_clean_files
3970 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3971 # Try to create an executable without -o first, disregard a.out.
3972 # It will help us diagnose broken compilers, and finding out an intuition
3973 # of exeext.
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3975 $as_echo_n "checking whether the C compiler works... " >&6; }
3976 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3978 # The possible output files:
3979 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3981 ac_rmfiles=
3982 for ac_file in $ac_files
3984 case $ac_file in
3985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3986 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3987 esac
3988 done
3989 rm -f $ac_rmfiles
3991 if { { ac_try="$ac_link_default"
3992 case "(($ac_try" in
3993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3994 *) ac_try_echo=$ac_try;;
3995 esac
3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3997 $as_echo "$ac_try_echo"; } >&5
3998 (eval "$ac_link_default") 2>&5
3999 ac_status=$?
4000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4001 test $ac_status = 0; }; then :
4002 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4003 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4004 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4005 # so that the user can short-circuit this test for compilers unknown to
4006 # Autoconf.
4007 for ac_file in $ac_files ''
4009 test -f "$ac_file" || continue
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4013 [ab].out )
4014 # We found the default executable, but exeext='' is most
4015 # certainly right.
4016 break;;
4017 *.* )
4018 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4019 then :; else
4020 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022 # We set ac_cv_exeext here because the later test for it is not
4023 # safe: cross compilers may not add the suffix if given an `-o'
4024 # argument, so we may need to know it at that point already.
4025 # Even if this section looks crufty: it has the advantage of
4026 # actually working.
4027 break;;
4029 break;;
4030 esac
4031 done
4032 test "$ac_cv_exeext" = no && ac_cv_exeext=
4034 else
4035 ac_file=''
4037 if test -z "$ac_file"; then :
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4040 $as_echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.$ac_ext >&5
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error 77 "C compiler cannot create executables
4046 See \`config.log' for more details" "$LINENO" 5; }
4047 else
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4052 $as_echo_n "checking for C compiler default output file name... " >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4054 $as_echo "$ac_file" >&6; }
4055 ac_exeext=$ac_cv_exeext
4057 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4058 ac_clean_files=$ac_clean_files_save
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4060 $as_echo_n "checking for suffix of executables... " >&6; }
4061 if { { ac_try="$ac_link"
4062 case "(($ac_try" in
4063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064 *) ac_try_echo=$ac_try;;
4065 esac
4066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067 $as_echo "$ac_try_echo"; } >&5
4068 (eval "$ac_link") 2>&5
4069 ac_status=$?
4070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071 test $ac_status = 0; }; then :
4072 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4073 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4074 # work properly (i.e., refer to `conftest.exe'), while it won't with
4075 # `rm'.
4076 for ac_file in conftest.exe conftest conftest.*; do
4077 test -f "$ac_file" || continue
4078 case $ac_file in
4079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4080 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4081 break;;
4082 * ) break;;
4083 esac
4084 done
4085 else
4086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4088 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4089 See \`config.log' for more details" "$LINENO" 5; }
4091 rm -f conftest conftest$ac_cv_exeext
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4093 $as_echo "$ac_cv_exeext" >&6; }
4095 rm -f conftest.$ac_ext
4096 EXEEXT=$ac_cv_exeext
4097 ac_exeext=$EXEEXT
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4100 #include <stdio.h>
4102 main ()
4104 FILE *f = fopen ("conftest.out", "w");
4105 return ferror (f) || fclose (f) != 0;
4108 return 0;
4110 _ACEOF
4111 ac_clean_files="$ac_clean_files conftest.out"
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 if test "$cross_compiling" != yes; then
4117 { { ac_try="$ac_link"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_link") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }
4128 if { ac_try='./conftest$ac_cv_exeext'
4129 { { case "(($ac_try" in
4130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4132 esac
4133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4134 $as_echo "$ac_try_echo"; } >&5
4135 (eval "$ac_try") 2>&5
4136 ac_status=$?
4137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138 test $ac_status = 0; }; }; then
4139 cross_compiling=no
4140 else
4141 if test "$cross_compiling" = maybe; then
4142 cross_compiling=yes
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error $? "cannot run C compiled programs.
4147 If you meant to cross compile, use \`--host'.
4148 See \`config.log' for more details" "$LINENO" 5; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4153 $as_echo "$cross_compiling" >&6; }
4155 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4156 ac_clean_files=$ac_clean_files_save
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if ${ac_cv_objext+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error $? "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details" "$LINENO" 5; }
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if ${ac_cv_c_compiler_gnu+:} false; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if ${ac_cv_prog_cc_g+:} false; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if ${ac_cv_prog_cc_c89+:} false; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 struct stat;
4335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4336 struct buf { int x; };
4337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4338 static char *e (p, i)
4339 char **p;
4340 int i;
4342 return p[i];
4344 static char *f (char * (*g) (char **, int), char **p, ...)
4346 char *s;
4347 va_list v;
4348 va_start (v,p);
4349 s = g (p, va_arg (v,int));
4350 va_end (v);
4351 return s;
4354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4355 function prototypes and stuff, but not '\xHH' hex character constants.
4356 These don't provoke an error unfortunately, instead are silently treated
4357 as 'x'. The following induces an error, until -std is added to get
4358 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4359 array size at least. It's necessary to write '\x00'==0 to get something
4360 that's true only with -std. */
4361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4364 inside strings and character constants. */
4365 #define FOO(x) 'x'
4366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368 int test (int i, double x);
4369 struct s1 {int (*f) (int a);};
4370 struct s2 {int (*f) (double a);};
4371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4372 int argc;
4373 char **argv;
4375 main ()
4377 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 return 0;
4381 _ACEOF
4382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4383 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 CC="$ac_save_CC $ac_arg"
4386 if ac_fn_c_try_compile "$LINENO"; then :
4387 ac_cv_prog_cc_c89=$ac_arg
4389 rm -f core conftest.err conftest.$ac_objext
4390 test "x$ac_cv_prog_cc_c89" != "xno" && break
4391 done
4392 rm -f conftest.$ac_ext
4393 CC=$ac_save_CC
4396 # AC_CACHE_VAL
4397 case "x$ac_cv_prog_cc_c89" in
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4400 $as_echo "none needed" >&6; } ;;
4401 xno)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4403 $as_echo "unsupported" >&6; } ;;
4405 CC="$CC $ac_cv_prog_cc_c89"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4408 esac
4409 if test "x$ac_cv_prog_cc_c89" != xno; then :
4413 ac_ext=c
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419 ac_ext=cpp
4420 ac_cpp='$CXXCPP $CPPFLAGS'
4421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4424 if test -z "$CXX"; then
4425 if test -n "$CCC"; then
4426 CXX=$CCC
4427 else
4428 if test -n "$ac_tool_prefix"; then
4429 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4432 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 $as_echo_n "checking for $ac_word... " >&6; }
4435 if ${ac_cv_prog_CXX+:} false; then :
4436 $as_echo_n "(cached) " >&6
4437 else
4438 if test -n "$CXX"; then
4439 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4440 else
4441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442 for as_dir in $PATH
4444 IFS=$as_save_IFS
4445 test -z "$as_dir" && as_dir=.
4446 for ac_exec_ext in '' $ac_executable_extensions; do
4447 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 break 2
4452 done
4453 done
4454 IFS=$as_save_IFS
4458 CXX=$ac_cv_prog_CXX
4459 if test -n "$CXX"; then
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4461 $as_echo "$CXX" >&6; }
4462 else
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4464 $as_echo "no" >&6; }
4468 test -n "$CXX" && break
4469 done
4471 if test -z "$CXX"; then
4472 ac_ct_CXX=$CXX
4473 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 # Extract the first word of "$ac_prog", so it can be a program name with args.
4476 set dummy $ac_prog; ac_word=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 if test -n "$ac_ct_CXX"; then
4483 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4484 else
4485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4486 for as_dir in $PATH
4488 IFS=$as_save_IFS
4489 test -z "$as_dir" && as_dir=.
4490 for ac_exec_ext in '' $ac_executable_extensions; do
4491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_CXX="$ac_prog"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4502 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4503 if test -n "$ac_ct_CXX"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4505 $as_echo "$ac_ct_CXX" >&6; }
4506 else
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4512 test -n "$ac_ct_CXX" && break
4513 done
4515 if test "x$ac_ct_CXX" = x; then
4516 CXX="g++"
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4522 ac_tool_warned=yes ;;
4523 esac
4524 CXX=$ac_ct_CXX
4530 # Provide some information about the compiler.
4531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4532 set X $ac_compile
4533 ac_compiler=$2
4534 for ac_option in --version -v -V -qversion; do
4535 { { ac_try="$ac_compiler $ac_option >&5"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4541 $as_echo "$ac_try_echo"; } >&5
4542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4543 ac_status=$?
4544 if test -s conftest.err; then
4545 sed '10a\
4546 ... rest of stderr output deleted ...
4547 10q' conftest.err >conftest.er1
4548 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4552 test $ac_status = 0; }
4553 done
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4556 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4557 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4558 $as_echo_n "(cached) " >&6
4559 else
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4566 #ifndef __GNUC__
4567 choke me
4568 #endif
4571 return 0;
4573 _ACEOF
4574 if ac_fn_cxx_try_compile "$LINENO"; then :
4575 ac_compiler_gnu=yes
4576 else
4577 ac_compiler_gnu=no
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4584 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4585 if test $ac_compiler_gnu = yes; then
4586 GXX=yes
4587 else
4588 GXX=
4590 ac_test_CXXFLAGS=${CXXFLAGS+set}
4591 ac_save_CXXFLAGS=$CXXFLAGS
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4593 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4594 if ${ac_cv_prog_cxx_g+:} false; then :
4595 $as_echo_n "(cached) " >&6
4596 else
4597 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4598 ac_cxx_werror_flag=yes
4599 ac_cv_prog_cxx_g=no
4600 CXXFLAGS="-g"
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4605 main ()
4609 return 0;
4611 _ACEOF
4612 if ac_fn_cxx_try_compile "$LINENO"; then :
4613 ac_cv_prog_cxx_g=yes
4614 else
4615 CXXFLAGS=""
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4620 main ()
4624 return 0;
4626 _ACEOF
4627 if ac_fn_cxx_try_compile "$LINENO"; then :
4629 else
4630 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4631 CXXFLAGS="-g"
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4636 main ()
4640 return 0;
4642 _ACEOF
4643 if ac_fn_cxx_try_compile "$LINENO"; then :
4644 ac_cv_prog_cxx_g=yes
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4654 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4655 if test "$ac_test_CXXFLAGS" = set; then
4656 CXXFLAGS=$ac_save_CXXFLAGS
4657 elif test $ac_cv_prog_cxx_g = yes; then
4658 if test "$GXX" = yes; then
4659 CXXFLAGS="-g -O2"
4660 else
4661 CXXFLAGS="-g"
4663 else
4664 if test "$GXX" = yes; then
4665 CXXFLAGS="-O2"
4666 else
4667 CXXFLAGS=
4670 ac_ext=c
4671 ac_cpp='$CPP $CPPFLAGS'
4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676 if test -n "$ac_tool_prefix"; then
4677 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4678 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_CPPBIN+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 if test -n "$CPPBIN"; then
4685 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4686 else
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 CPPBIN=$ac_cv_prog_CPPBIN
4705 if test -n "$CPPBIN"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4707 $as_echo "$CPPBIN" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4715 if test -z "$ac_cv_prog_CPPBIN"; then
4716 ac_ct_CPPBIN=$CPPBIN
4717 # Extract the first word of "cpp", so it can be a program name with args.
4718 set dummy cpp; ac_word=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 if test -n "$ac_ct_CPPBIN"; then
4725 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4726 else
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4730 IFS=$as_save_IFS
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CPPBIN="cpp"
4735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 break 2
4738 done
4739 done
4740 IFS=$as_save_IFS
4744 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4745 if test -n "$ac_ct_CPPBIN"; then
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4747 $as_echo "$ac_ct_CPPBIN" >&6; }
4748 else
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 $as_echo "no" >&6; }
4753 if test "x$ac_ct_CPPBIN" = x; then
4754 CPPBIN="cpp"
4755 else
4756 case $cross_compiling:$ac_tool_warned in
4757 yes:)
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4760 ac_tool_warned=yes ;;
4761 esac
4762 CPPBIN=$ac_ct_CPPBIN
4764 else
4765 CPPBIN="$ac_cv_prog_CPPBIN"
4769 cat >>confdefs.h <<_ACEOF
4770 #define EXEEXT "$ac_exeext"
4771 _ACEOF
4773 if test -n "$ac_tool_prefix"; then
4774 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4775 set dummy ${ac_tool_prefix}ld; ac_word=$2
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if ${ac_cv_prog_LD+:} false; then :
4779 $as_echo_n "(cached) " >&6
4780 else
4781 if test -n "$LD"; then
4782 ac_cv_prog_LD="$LD" # Let the user override the test.
4783 else
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 for as_dir in $PATH
4787 IFS=$as_save_IFS
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4791 ac_cv_prog_LD="${ac_tool_prefix}ld"
4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 break 2
4795 done
4796 done
4797 IFS=$as_save_IFS
4801 LD=$ac_cv_prog_LD
4802 if test -n "$LD"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4804 $as_echo "$LD" >&6; }
4805 else
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4812 if test -z "$ac_cv_prog_LD"; then
4813 ac_ct_LD=$LD
4814 # Extract the first word of "ld", so it can be a program name with args.
4815 set dummy ld; ac_word=$2
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 $as_echo_n "checking for $ac_word... " >&6; }
4818 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4819 $as_echo_n "(cached) " >&6
4820 else
4821 if test -n "$ac_ct_LD"; then
4822 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 test -z "$as_dir" && as_dir=.
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4831 ac_cv_prog_ac_ct_LD="ld"
4832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 break 2
4835 done
4836 done
4837 IFS=$as_save_IFS
4841 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4842 if test -n "$ac_ct_LD"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4844 $as_echo "$ac_ct_LD" >&6; }
4845 else
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4850 if test "x$ac_ct_LD" = x; then
4851 LD=""
4852 else
4853 case $cross_compiling:$ac_tool_warned in
4854 yes:)
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4857 ac_tool_warned=yes ;;
4858 esac
4859 LD=$ac_ct_LD
4861 else
4862 LD="$ac_cv_prog_LD"
4866 case $host in
4867 *-darwin*)
4868 if test "x$enable_win64" = "xyes"
4869 then
4870 CC="$CC -m64"
4871 CXX="$CXX -m64"
4872 host_cpu="x86_64"
4873 notice_platform="64-bit "
4874 TARGETFLAGS="-m64"
4876 else
4877 CC="$CC -m32"
4878 CXX="$CXX -m32"
4879 host_cpu="i386"
4880 notice_platform="32-bit "
4881 TARGETFLAGS="-m32"
4883 enable_win16=${enable_win16:-yes}
4885 with_fontconfig=${with_fontconfig:-no}
4887 x86_64*|amd64*)
4888 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4889 then
4890 CC="$CC -m32"
4891 CXX="$CXX -m32"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4893 $as_echo_n "checking whether $CC works... " >&6; }
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4899 main ()
4903 return 0;
4905 _ACEOF
4906 if ac_fn_c_try_link "$LINENO"; then :
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4912 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4914 rm -f core conftest.err conftest.$ac_objext \
4915 conftest$ac_exeext conftest.$ac_ext
4916 host_cpu="i386"
4917 notice_platform="32-bit "
4918 TARGETFLAGS="-m32"
4920 enable_win16=${enable_win16:-yes}
4921 else
4922 if test "x${GCC}" = "xyes"
4923 then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4925 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4928 #include <stdarg.h>
4930 main ()
4932 void func(__builtin_ms_va_list *args);
4934 return 0;
4936 _ACEOF
4937 if ac_fn_c_try_compile "$LINENO"; then :
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 host_cpu="x86_64"
4948 TARGETFLAGS="-m64"
4952 arm*)
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4954 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4957 int ac_test(int i) { return i; }
4959 main ()
4961 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4963 return 0;
4965 _ACEOF
4966 if ac_fn_c_try_link "$LINENO"; then :
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 $as_echo "yes" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4972 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4974 rm -f core conftest.err conftest.$ac_objext \
4975 conftest$ac_exeext conftest.$ac_ext
4976 CFLAGS="$CFLAGS -marm"
4977 TARGETFLAGS="-marm"
4980 *-mingw32*|*-cygwin*)
4981 enable_win16=${enable_win16:-no}
4982 CFLAGS="$CFLAGS -D_WIN32"
4984 i[3456789]86*)
4985 enable_win16=${enable_win16:-yes}
4987 esac
4989 enable_win16=${enable_win16:-no}
4990 enable_win64=${enable_win64:-no}
4992 enable_winetest=${enable_winetest:-$enable_tests}
4994 if test -n "$with_wine64"
4995 then
4996 if test "x$enable_win64" = "xyes"
4997 then
4998 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4999 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5001 enable_fonts=${enable_fonts:-no}
5002 enable_server=${enable_server:-no}
5003 elif test "x$enable_win64" = "xyes"
5004 then
5005 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5009 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5010 if ${wine_cv_toolsdir+:} false; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 wine_cv_toolsdir="$with_wine_tools"
5014 if test -z "$with_wine_tools"; then
5015 if test "$cross_compiling" = "yes"; then
5016 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5017 elif test -n "$with_wine64"; then
5018 wine_cv_toolsdir="$with_wine64"
5021 if test -z "$wine_cv_toolsdir"; then
5022 wine_makedep=tools/makedep
5023 wine_cv_toolsdir="\$(top_builddir)"
5024 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5025 wine_makedep=$wine_cv_toolsdir/tools/makedep
5026 case "$wine_cv_toolsdir" in
5027 /*) ;;
5028 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5029 esac
5030 enable_tools=${enable_tools:-no}
5031 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5032 else
5033 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5037 $as_echo "$wine_cv_toolsdir" >&6; }
5038 TOOLSDIR=$wine_cv_toolsdir
5040 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5041 then
5042 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5046 for ac_prog in flex
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy $ac_prog; ac_word=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if ${ac_cv_prog_FLEX+:} false; then :
5053 $as_echo_n "(cached) " >&6
5054 else
5055 if test -n "$FLEX"; then
5056 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5057 else
5058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 for as_dir in $PATH
5061 IFS=$as_save_IFS
5062 test -z "$as_dir" && as_dir=.
5063 for ac_exec_ext in '' $ac_executable_extensions; do
5064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5065 ac_cv_prog_FLEX="$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 break 2
5069 done
5070 done
5071 IFS=$as_save_IFS
5075 FLEX=$ac_cv_prog_FLEX
5076 if test -n "$FLEX"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5078 $as_echo "$FLEX" >&6; }
5079 else
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$FLEX" && break
5086 done
5087 test -n "$FLEX" || FLEX="none"
5089 if test "$FLEX" = "none"
5090 then
5091 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5094 $as_echo_n "checking whether flex is recent enough... " >&6; }
5095 cat >conftest.l <<EOF
5096 %top{
5097 #include "prediluvian.h"
5101 if $FLEX -t conftest.l >/dev/null 2>&5
5102 then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5111 for ac_prog in bison
5113 # Extract the first word of "$ac_prog", so it can be a program name with args.
5114 set dummy $ac_prog; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if ${ac_cv_prog_BISON+:} false; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$BISON"; then
5121 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5130 ac_cv_prog_BISON="$ac_prog"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5134 done
5135 done
5136 IFS=$as_save_IFS
5140 BISON=$ac_cv_prog_BISON
5141 if test -n "$BISON"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5143 $as_echo "$BISON" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5150 test -n "$BISON" && break
5151 done
5152 test -n "$BISON" || BISON="none"
5154 if test "$BISON" = "none"
5155 then
5156 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5159 if test -n "$ac_tool_prefix"; then
5160 for ac_prog in ar gar
5162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if ${ac_cv_prog_AR+:} false; then :
5167 $as_echo_n "(cached) " >&6
5168 else
5169 if test -n "$AR"; then
5170 ac_cv_prog_AR="$AR" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5183 done
5184 done
5185 IFS=$as_save_IFS
5189 AR=$ac_cv_prog_AR
5190 if test -n "$AR"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5192 $as_echo "$AR" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5199 test -n "$AR" && break
5200 done
5202 if test -z "$AR"; then
5203 ac_ct_AR=$AR
5204 for ac_prog in ar gar
5206 # Extract the first word of "$ac_prog", so it can be a program name with args.
5207 set dummy $ac_prog; ac_word=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5211 $as_echo_n "(cached) " >&6
5212 else
5213 if test -n "$ac_ct_AR"; then
5214 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5215 else
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5217 for as_dir in $PATH
5219 IFS=$as_save_IFS
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5223 ac_cv_prog_ac_ct_AR="$ac_prog"
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 break 2
5227 done
5228 done
5229 IFS=$as_save_IFS
5233 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5234 if test -n "$ac_ct_AR"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5236 $as_echo "$ac_ct_AR" >&6; }
5237 else
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 test -n "$ac_ct_AR" && break
5244 done
5246 if test "x$ac_ct_AR" = x; then
5247 AR="ar"
5248 else
5249 case $cross_compiling:$ac_tool_warned in
5250 yes:)
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned=yes ;;
5254 esac
5255 AR=$ac_ct_AR
5259 if test -n "$ac_tool_prefix"; then
5260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5261 set dummy ${ac_tool_prefix}strip; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_STRIP+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$STRIP"; then
5268 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 STRIP=$ac_cv_prog_STRIP
5288 if test -n "$STRIP"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5290 $as_echo "$STRIP" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5298 if test -z "$ac_cv_prog_STRIP"; then
5299 ac_ct_STRIP=$STRIP
5300 # Extract the first word of "strip", so it can be a program name with args.
5301 set dummy strip; ac_word=$2
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5303 $as_echo_n "checking for $ac_word... " >&6; }
5304 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5305 $as_echo_n "(cached) " >&6
5306 else
5307 if test -n "$ac_ct_STRIP"; then
5308 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5309 else
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 for as_dir in $PATH
5313 IFS=$as_save_IFS
5314 test -z "$as_dir" && as_dir=.
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_STRIP="strip"
5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5319 break 2
5321 done
5322 done
5323 IFS=$as_save_IFS
5327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5328 if test -n "$ac_ct_STRIP"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5330 $as_echo "$ac_ct_STRIP" >&6; }
5331 else
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 $as_echo "no" >&6; }
5336 if test "x$ac_ct_STRIP" = x; then
5337 STRIP="strip"
5338 else
5339 case $cross_compiling:$ac_tool_warned in
5340 yes:)
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5343 ac_tool_warned=yes ;;
5344 esac
5345 STRIP=$ac_ct_STRIP
5347 else
5348 STRIP="$ac_cv_prog_STRIP"
5351 ARFLAGS=rc
5353 if test -n "$ac_tool_prefix"; then
5354 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5355 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5357 $as_echo_n "checking for $ac_word... " >&6; }
5358 if ${ac_cv_prog_RANLIB+:} false; then :
5359 $as_echo_n "(cached) " >&6
5360 else
5361 if test -n "$RANLIB"; then
5362 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5363 else
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
5368 test -z "$as_dir" && as_dir=.
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5381 RANLIB=$ac_cv_prog_RANLIB
5382 if test -n "$RANLIB"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5384 $as_echo "$RANLIB" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5392 if test -z "$ac_cv_prog_RANLIB"; then
5393 ac_ct_RANLIB=$RANLIB
5394 # Extract the first word of "ranlib", so it can be a program name with args.
5395 set dummy ranlib; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 if test -n "$ac_ct_RANLIB"; then
5402 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5403 else
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_ac_ct_RANLIB="ranlib"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5421 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5422 if test -n "$ac_ct_RANLIB"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5424 $as_echo "$ac_ct_RANLIB" >&6; }
5425 else
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5430 if test "x$ac_ct_RANLIB" = x; then
5431 RANLIB=":"
5432 else
5433 case $cross_compiling:$ac_tool_warned in
5434 yes:)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5437 ac_tool_warned=yes ;;
5438 esac
5439 RANLIB=$ac_ct_RANLIB
5441 else
5442 RANLIB="$ac_cv_prog_RANLIB"
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5446 $as_echo_n "checking whether ln -s works... " >&6; }
5447 LN_S=$as_ln_s
5448 if test "$LN_S" = "ln -s"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 $as_echo "yes" >&6; }
5451 else
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5453 $as_echo "no, using $LN_S" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5457 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5458 if ${ac_cv_path_GREP+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -z "$GREP"; then
5462 ac_path_GREP_found=false
5463 # Loop through the user's path and test for each of PROGNAME-LIST
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_prog in grep ggrep; do
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5472 as_fn_executable_p "$ac_path_GREP" || continue
5473 # Check for GNU ac_path_GREP and select it if it is found.
5474 # Check for GNU $ac_path_GREP
5475 case `"$ac_path_GREP" --version 2>&1` in
5476 *GNU*)
5477 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5479 ac_count=0
5480 $as_echo_n 0123456789 >"conftest.in"
5481 while :
5483 cat "conftest.in" "conftest.in" >"conftest.tmp"
5484 mv "conftest.tmp" "conftest.in"
5485 cp "conftest.in" "conftest.nl"
5486 $as_echo 'GREP' >> "conftest.nl"
5487 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5489 as_fn_arith $ac_count + 1 && ac_count=$as_val
5490 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5491 # Best one so far, save it but keep looking for a better one
5492 ac_cv_path_GREP="$ac_path_GREP"
5493 ac_path_GREP_max=$ac_count
5495 # 10*(2^10) chars as input seems more than enough
5496 test $ac_count -gt 10 && break
5497 done
5498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5499 esac
5501 $ac_path_GREP_found && break 3
5502 done
5503 done
5504 done
5505 IFS=$as_save_IFS
5506 if test -z "$ac_cv_path_GREP"; then
5507 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5509 else
5510 ac_cv_path_GREP=$GREP
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5515 $as_echo "$ac_cv_path_GREP" >&6; }
5516 GREP="$ac_cv_path_GREP"
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5520 $as_echo_n "checking for egrep... " >&6; }
5521 if ${ac_cv_path_EGREP+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5525 then ac_cv_path_EGREP="$GREP -E"
5526 else
5527 if test -z "$EGREP"; then
5528 ac_path_EGREP_found=false
5529 # Loop through the user's path and test for each of PROGNAME-LIST
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_prog in egrep; do
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5538 as_fn_executable_p "$ac_path_EGREP" || continue
5539 # Check for GNU ac_path_EGREP and select it if it is found.
5540 # Check for GNU $ac_path_EGREP
5541 case `"$ac_path_EGREP" --version 2>&1` in
5542 *GNU*)
5543 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5545 ac_count=0
5546 $as_echo_n 0123456789 >"conftest.in"
5547 while :
5549 cat "conftest.in" "conftest.in" >"conftest.tmp"
5550 mv "conftest.tmp" "conftest.in"
5551 cp "conftest.in" "conftest.nl"
5552 $as_echo 'EGREP' >> "conftest.nl"
5553 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5555 as_fn_arith $ac_count + 1 && ac_count=$as_val
5556 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5557 # Best one so far, save it but keep looking for a better one
5558 ac_cv_path_EGREP="$ac_path_EGREP"
5559 ac_path_EGREP_max=$ac_count
5561 # 10*(2^10) chars as input seems more than enough
5562 test $ac_count -gt 10 && break
5563 done
5564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5565 esac
5567 $ac_path_EGREP_found && break 3
5568 done
5569 done
5570 done
5571 IFS=$as_save_IFS
5572 if test -z "$ac_cv_path_EGREP"; then
5573 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5575 else
5576 ac_cv_path_EGREP=$EGREP
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5582 $as_echo "$ac_cv_path_EGREP" >&6; }
5583 EGREP="$ac_cv_path_EGREP"
5586 # Extract the first word of "ldconfig", so it can be a program name with args.
5587 set dummy ldconfig; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_path_LDCONFIG+:} false; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 case $LDCONFIG in
5594 [\\/]* | ?:[\\/]*)
5595 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in /sbin /usr/sbin $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5613 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5615 esac
5617 LDCONFIG=$ac_cv_path_LDCONFIG
5618 if test -n "$LDCONFIG"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5620 $as_echo "$LDCONFIG" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 for ac_prog in msgfmt
5629 # Extract the first word of "$ac_prog", so it can be a program name with args.
5630 set dummy $ac_prog; ac_word=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_prog_MSGFMT+:} false; then :
5634 $as_echo_n "(cached) " >&6
5635 else
5636 if test -n "$MSGFMT"; then
5637 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5638 else
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 for as_dir in $PATH
5642 IFS=$as_save_IFS
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_MSGFMT="$ac_prog"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 break 2
5650 done
5651 done
5652 IFS=$as_save_IFS
5656 MSGFMT=$ac_cv_prog_MSGFMT
5657 if test -n "$MSGFMT"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5659 $as_echo "$MSGFMT" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 test -n "$MSGFMT" && break
5667 done
5668 test -n "$MSGFMT" || MSGFMT="false"
5670 if ${ac_tool_prefix+:} false; then :
5671 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5672 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 if test -n "$PKG_CONFIG"; then
5679 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 test -z "$as_dir" && as_dir=.
5686 for ac_exec_ext in '' $ac_executable_extensions; do
5687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5688 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 break 2
5692 done
5693 done
5694 IFS=$as_save_IFS
5698 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5699 if test -n "$PKG_CONFIG"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5701 $as_echo "$PKG_CONFIG" >&6; }
5702 else
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5709 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5710 if test "x$cross_compiling" = xyes; then :
5712 else
5713 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5714 # Extract the first word of "pkg-config", so it can be a program name with args.
5715 set dummy pkg-config; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$PKG_CONFIG"; then
5722 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_PKG_CONFIG="pkg-config"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5742 if test -n "$PKG_CONFIG"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5744 $as_echo "$PKG_CONFIG" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 else
5753 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5756 if test "x$enable_maintainer_mode" != "xyes"
5757 then
5758 FONTFORGE=""
5759 RSVG=""
5760 CONVERT=""
5761 ICOTOOL=""
5762 else
5763 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5764 for ac_prog in fontforge
5766 # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy $ac_prog; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_FONTFORGE+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$FONTFORGE"; then
5774 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_FONTFORGE="$ac_prog"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 FONTFORGE=$ac_cv_prog_FONTFORGE
5794 if test -n "$FONTFORGE"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5796 $as_echo "$FONTFORGE" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5803 test -n "$FONTFORGE" && break
5804 done
5805 test -n "$FONTFORGE" || FONTFORGE="false"
5807 for ac_prog in rsvg-convert rsvg
5809 # Extract the first word of "$ac_prog", so it can be a program name with args.
5810 set dummy $ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if ${ac_cv_prog_RSVG+:} false; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$RSVG"; then
5817 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_prog_RSVG="$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 RSVG=$ac_cv_prog_RSVG
5837 if test -n "$RSVG"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5839 $as_echo "$RSVG" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$RSVG" && break
5847 done
5848 test -n "$RSVG" || RSVG="false"
5850 for ac_prog in convert
5852 # Extract the first word of "$ac_prog", so it can be a program name with args.
5853 set dummy $ac_prog; ac_word=$2
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5855 $as_echo_n "checking for $ac_word... " >&6; }
5856 if ${ac_cv_prog_CONVERT+:} false; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 if test -n "$CONVERT"; then
5860 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_CONVERT="$ac_prog"
5870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 break 2
5873 done
5874 done
5875 IFS=$as_save_IFS
5879 CONVERT=$ac_cv_prog_CONVERT
5880 if test -n "$CONVERT"; then
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5882 $as_echo "$CONVERT" >&6; }
5883 else
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }
5889 test -n "$CONVERT" && break
5890 done
5891 test -n "$CONVERT" || CONVERT="false"
5893 for ac_prog in icotool
5895 # Extract the first word of "$ac_prog", so it can be a program name with args.
5896 set dummy $ac_prog; ac_word=$2
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898 $as_echo_n "checking for $ac_word... " >&6; }
5899 if ${ac_cv_prog_ICOTOOL+:} false; then :
5900 $as_echo_n "(cached) " >&6
5901 else
5902 if test -n "$ICOTOOL"; then
5903 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5912 ac_cv_prog_ICOTOOL="$ac_prog"
5913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5916 done
5917 done
5918 IFS=$as_save_IFS
5922 ICOTOOL=$ac_cv_prog_ICOTOOL
5923 if test -n "$ICOTOOL"; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5925 $as_echo "$ICOTOOL" >&6; }
5926 else
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928 $as_echo "no" >&6; }
5932 test -n "$ICOTOOL" && break
5933 done
5934 test -n "$ICOTOOL" || ICOTOOL="false"
5936 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5937 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5939 if test "$CONVERT" = false
5940 then
5941 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5944 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5945 convert_version=`convert --version | head -n1`
5946 if test "x$convert_version" != "x"
5947 then
5948 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5949 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5950 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5951 then
5952 CONVERT=false
5955 if test "$CONVERT" = false
5956 then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5958 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5959 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5960 else
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5962 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5966 if test "$ICOTOOL" = false
5967 then
5968 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5969 else
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5971 $as_echo_n "checking for recent enough icotool... " >&6; }
5972 icotool_version=`icotool --version | head -n1`
5973 if test "x$icotool_version" != "x"
5974 then
5975 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5976 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5977 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5978 then
5979 ICOTOOL=false
5980 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5983 if test "$ICOTOOL" = false
5984 then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5986 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5987 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5990 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5994 with_gettext=yes
5995 with_gettextpo=yes
5996 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5999 test "x$with_gettext" != xno || MSGFMT=false
6000 if test "$MSGFMT" != "false"
6001 then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6003 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6004 cat >conftest.po <<EOF
6005 # comment
6006 msgctxt "ctxt"
6007 msgid "id"
6008 msgstr "str"
6010 if $MSGFMT -o /dev/null conftest.po 2>&5
6011 then
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6013 $as_echo "yes" >&6; }
6014 else
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 $as_echo "no" >&6; }
6017 MSGFMT=false
6020 if test "$MSGFMT" = false; then :
6021 case "x$with_gettext" in
6022 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6023 xno) ;;
6024 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6025 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6026 esac
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6031 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6032 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6033 $as_echo_n "(cached) " >&6
6034 else
6035 ac_check_lib_save_LIBS=$LIBS
6036 LIBS="-li386 $LIBS"
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6040 /* Override any GCC internal prototype to avoid an error.
6041 Use char because int might match the return type of a GCC
6042 builtin and then its argument prototype would still apply. */
6043 #ifdef __cplusplus
6044 extern "C"
6045 #endif
6046 char i386_set_ldt ();
6048 main ()
6050 return i386_set_ldt ();
6052 return 0;
6054 _ACEOF
6055 if ac_fn_c_try_link "$LINENO"; then :
6056 ac_cv_lib_i386_i386_set_ldt=yes
6057 else
6058 ac_cv_lib_i386_i386_set_ldt=no
6060 rm -f core conftest.err conftest.$ac_objext \
6061 conftest$ac_exeext conftest.$ac_ext
6062 LIBS=$ac_check_lib_save_LIBS
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6065 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6066 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6067 cat >>confdefs.h <<_ACEOF
6068 #define HAVE_LIBI386 1
6069 _ACEOF
6071 LIBS="-li386 $LIBS"
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6076 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6077 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6078 $as_echo_n "(cached) " >&6
6079 else
6080 ac_check_lib_save_LIBS=$LIBS
6081 LIBS="-lossaudio $LIBS"
6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */
6085 /* Override any GCC internal prototype to avoid an error.
6086 Use char because int might match the return type of a GCC
6087 builtin and then its argument prototype would still apply. */
6088 #ifdef __cplusplus
6089 extern "C"
6090 #endif
6091 char _oss_ioctl ();
6093 main ()
6095 return _oss_ioctl ();
6097 return 0;
6099 _ACEOF
6100 if ac_fn_c_try_link "$LINENO"; then :
6101 ac_cv_lib_ossaudio__oss_ioctl=yes
6102 else
6103 ac_cv_lib_ossaudio__oss_ioctl=no
6105 rm -f core conftest.err conftest.$ac_objext \
6106 conftest$ac_exeext conftest.$ac_ext
6107 LIBS=$ac_check_lib_save_LIBS
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6110 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6111 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6112 cat >>confdefs.h <<_ACEOF
6113 #define HAVE_LIBOSSAUDIO 1
6114 _ACEOF
6116 LIBS="-lossaudio $LIBS"
6121 OPENGL_LIBS=""
6125 # Check whether --enable-largefile was given.
6126 if test "${enable_largefile+set}" = set; then :
6127 enableval=$enable_largefile;
6130 if test "$enable_largefile" != no; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6133 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6134 if ${ac_cv_sys_largefile_CC+:} false; then :
6135 $as_echo_n "(cached) " >&6
6136 else
6137 ac_cv_sys_largefile_CC=no
6138 if test "$GCC" != yes; then
6139 ac_save_CC=$CC
6140 while :; do
6141 # IRIX 6.2 and later do not support large files by default,
6142 # so use the C compiler's -n32 option if that helps.
6143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #include <sys/types.h>
6146 /* Check that off_t can represent 2**63 - 1 correctly.
6147 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6148 since some C++ compilers masquerading as C compilers
6149 incorrectly reject 9223372036854775807. */
6150 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6151 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6152 && LARGE_OFF_T % 2147483647 == 1)
6153 ? 1 : -1];
6155 main ()
6159 return 0;
6161 _ACEOF
6162 if ac_fn_c_try_compile "$LINENO"; then :
6163 break
6165 rm -f core conftest.err conftest.$ac_objext
6166 CC="$CC -n32"
6167 if ac_fn_c_try_compile "$LINENO"; then :
6168 ac_cv_sys_largefile_CC=' -n32'; break
6170 rm -f core conftest.err conftest.$ac_objext
6171 break
6172 done
6173 CC=$ac_save_CC
6174 rm -f conftest.$ac_ext
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6178 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6179 if test "$ac_cv_sys_largefile_CC" != no; then
6180 CC=$CC$ac_cv_sys_largefile_CC
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6184 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6185 if ${ac_cv_sys_file_offset_bits+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 while :; do
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6191 #include <sys/types.h>
6192 /* Check that off_t can represent 2**63 - 1 correctly.
6193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6194 since some C++ compilers masquerading as C compilers
6195 incorrectly reject 9223372036854775807. */
6196 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6198 && LARGE_OFF_T % 2147483647 == 1)
6199 ? 1 : -1];
6201 main ()
6205 return 0;
6207 _ACEOF
6208 if ac_fn_c_try_compile "$LINENO"; then :
6209 ac_cv_sys_file_offset_bits=no; break
6211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6213 /* end confdefs.h. */
6214 #define _FILE_OFFSET_BITS 64
6215 #include <sys/types.h>
6216 /* Check that off_t can represent 2**63 - 1 correctly.
6217 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6218 since some C++ compilers masquerading as C compilers
6219 incorrectly reject 9223372036854775807. */
6220 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6221 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6222 && LARGE_OFF_T % 2147483647 == 1)
6223 ? 1 : -1];
6225 main ()
6229 return 0;
6231 _ACEOF
6232 if ac_fn_c_try_compile "$LINENO"; then :
6233 ac_cv_sys_file_offset_bits=64; break
6235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6236 ac_cv_sys_file_offset_bits=unknown
6237 break
6238 done
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6241 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6242 case $ac_cv_sys_file_offset_bits in #(
6243 no | unknown) ;;
6245 cat >>confdefs.h <<_ACEOF
6246 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6247 _ACEOF
6249 esac
6250 rm -rf conftest*
6251 if test $ac_cv_sys_file_offset_bits = unknown; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6253 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6254 if ${ac_cv_sys_large_files+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 while :; do
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #include <sys/types.h>
6261 /* Check that off_t can represent 2**63 - 1 correctly.
6262 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6263 since some C++ compilers masquerading as C compilers
6264 incorrectly reject 9223372036854775807. */
6265 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6266 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6267 && LARGE_OFF_T % 2147483647 == 1)
6268 ? 1 : -1];
6270 main ()
6274 return 0;
6276 _ACEOF
6277 if ac_fn_c_try_compile "$LINENO"; then :
6278 ac_cv_sys_large_files=no; break
6280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #define _LARGE_FILES 1
6284 #include <sys/types.h>
6285 /* Check that off_t can represent 2**63 - 1 correctly.
6286 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6287 since some C++ compilers masquerading as C compilers
6288 incorrectly reject 9223372036854775807. */
6289 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6290 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6291 && LARGE_OFF_T % 2147483647 == 1)
6292 ? 1 : -1];
6294 main ()
6298 return 0;
6300 _ACEOF
6301 if ac_fn_c_try_compile "$LINENO"; then :
6302 ac_cv_sys_large_files=1; break
6304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6305 ac_cv_sys_large_files=unknown
6306 break
6307 done
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6310 $as_echo "$ac_cv_sys_large_files" >&6; }
6311 case $ac_cv_sys_large_files in #(
6312 no | unknown) ;;
6314 cat >>confdefs.h <<_ACEOF
6315 #define _LARGE_FILES $ac_cv_sys_large_files
6316 _ACEOF
6318 esac
6319 rm -rf conftest*
6326 ac_ext=c
6327 ac_cpp='$CPP $CPPFLAGS'
6328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6332 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6333 # On Suns, sometimes $CPP names a directory.
6334 if test -n "$CPP" && test -d "$CPP"; then
6335 CPP=
6337 if test -z "$CPP"; then
6338 if ${ac_cv_prog_CPP+:} false; then :
6339 $as_echo_n "(cached) " >&6
6340 else
6341 # Double quotes because CPP needs to be expanded
6342 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6344 ac_preproc_ok=false
6345 for ac_c_preproc_warn_flag in '' yes
6347 # Use a header file that comes with gcc, so configuring glibc
6348 # with a fresh cross-compiler works.
6349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6350 # <limits.h> exists even on freestanding compilers.
6351 # On the NeXT, cc -E runs the code through the compiler's parser,
6352 # not just through cpp. "Syntax error" is here to catch this case.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #ifdef __STDC__
6356 # include <limits.h>
6357 #else
6358 # include <assert.h>
6359 #endif
6360 Syntax error
6361 _ACEOF
6362 if ac_fn_c_try_cpp "$LINENO"; then :
6364 else
6365 # Broken: fails on valid input.
6366 continue
6368 rm -f conftest.err conftest.i conftest.$ac_ext
6370 # OK, works on sane cases. Now check whether nonexistent headers
6371 # can be detected and how.
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6374 #include <ac_nonexistent.h>
6375 _ACEOF
6376 if ac_fn_c_try_cpp "$LINENO"; then :
6377 # Broken: success on invalid input.
6378 continue
6379 else
6380 # Passes both tests.
6381 ac_preproc_ok=:
6382 break
6384 rm -f conftest.err conftest.i conftest.$ac_ext
6386 done
6387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6388 rm -f conftest.i conftest.err conftest.$ac_ext
6389 if $ac_preproc_ok; then :
6390 break
6393 done
6394 ac_cv_prog_CPP=$CPP
6397 CPP=$ac_cv_prog_CPP
6398 else
6399 ac_cv_prog_CPP=$CPP
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6402 $as_echo "$CPP" >&6; }
6403 ac_preproc_ok=false
6404 for ac_c_preproc_warn_flag in '' yes
6406 # Use a header file that comes with gcc, so configuring glibc
6407 # with a fresh cross-compiler works.
6408 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6409 # <limits.h> exists even on freestanding compilers.
6410 # On the NeXT, cc -E runs the code through the compiler's parser,
6411 # not just through cpp. "Syntax error" is here to catch this case.
6412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413 /* end confdefs.h. */
6414 #ifdef __STDC__
6415 # include <limits.h>
6416 #else
6417 # include <assert.h>
6418 #endif
6419 Syntax error
6420 _ACEOF
6421 if ac_fn_c_try_cpp "$LINENO"; then :
6423 else
6424 # Broken: fails on valid input.
6425 continue
6427 rm -f conftest.err conftest.i conftest.$ac_ext
6429 # OK, works on sane cases. Now check whether nonexistent headers
6430 # can be detected and how.
6431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432 /* end confdefs.h. */
6433 #include <ac_nonexistent.h>
6434 _ACEOF
6435 if ac_fn_c_try_cpp "$LINENO"; then :
6436 # Broken: success on invalid input.
6437 continue
6438 else
6439 # Passes both tests.
6440 ac_preproc_ok=:
6441 break
6443 rm -f conftest.err conftest.i conftest.$ac_ext
6445 done
6446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6447 rm -f conftest.i conftest.err conftest.$ac_ext
6448 if $ac_preproc_ok; then :
6450 else
6451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6453 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6454 See \`config.log' for more details" "$LINENO" 5; }
6457 ac_ext=c
6458 ac_cpp='$CPP $CPPFLAGS'
6459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6465 $as_echo_n "checking for ANSI C header files... " >&6; }
6466 if ${ac_cv_header_stdc+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470 /* end confdefs.h. */
6471 #include <stdlib.h>
6472 #include <stdarg.h>
6473 #include <string.h>
6474 #include <float.h>
6477 main ()
6481 return 0;
6483 _ACEOF
6484 if ac_fn_c_try_compile "$LINENO"; then :
6485 ac_cv_header_stdc=yes
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6491 if test $ac_cv_header_stdc = yes; then
6492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #include <string.h>
6497 _ACEOF
6498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6499 $EGREP "memchr" >/dev/null 2>&1; then :
6501 else
6502 ac_cv_header_stdc=no
6504 rm -f conftest*
6508 if test $ac_cv_header_stdc = yes; then
6509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6512 #include <stdlib.h>
6514 _ACEOF
6515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6516 $EGREP "free" >/dev/null 2>&1; then :
6518 else
6519 ac_cv_header_stdc=no
6521 rm -f conftest*
6525 if test $ac_cv_header_stdc = yes; then
6526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6527 if test "$cross_compiling" = yes; then :
6529 else
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <ctype.h>
6533 #include <stdlib.h>
6534 #if ((' ' & 0x0FF) == 0x020)
6535 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6536 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6537 #else
6538 # define ISLOWER(c) \
6539 (('a' <= (c) && (c) <= 'i') \
6540 || ('j' <= (c) && (c) <= 'r') \
6541 || ('s' <= (c) && (c) <= 'z'))
6542 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6543 #endif
6545 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6547 main ()
6549 int i;
6550 for (i = 0; i < 256; i++)
6551 if (XOR (islower (i), ISLOWER (i))
6552 || toupper (i) != TOUPPER (i))
6553 return 2;
6554 return 0;
6556 _ACEOF
6557 if ac_fn_c_try_run "$LINENO"; then :
6559 else
6560 ac_cv_header_stdc=no
6562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6563 conftest.$ac_objext conftest.beam conftest.$ac_ext
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6569 $as_echo "$ac_cv_header_stdc" >&6; }
6570 if test $ac_cv_header_stdc = yes; then
6572 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6576 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6577 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6578 inttypes.h stdint.h unistd.h
6579 do :
6580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6583 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6584 cat >>confdefs.h <<_ACEOF
6585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6586 _ACEOF
6590 done
6593 for ac_header in \
6594 AL/al.h \
6595 ApplicationServices/ApplicationServices.h \
6596 AudioToolbox/AudioConverter.h \
6597 AudioUnit/AudioUnit.h \
6598 AudioUnit/AudioComponent.h \
6599 CL/cl.h \
6600 Carbon/Carbon.h \
6601 CoreAudio/CoreAudio.h \
6602 CoreServices/CoreServices.h \
6603 DiskArbitration/DiskArbitration.h \
6604 IOKit/IOKitLib.h \
6605 IOKit/hid/IOHIDLib.h \
6606 OpenAL/al.h \
6607 OpenCL/opencl.h \
6608 QuickTime/ImageCompression.h \
6609 Security/Security.h \
6610 alias.h \
6611 alsa/asoundlib.h \
6612 arpa/inet.h \
6613 arpa/nameser.h \
6614 asm/types.h \
6615 asm/user.h \
6616 curses.h \
6617 direct.h \
6618 dirent.h \
6619 dlfcn.h \
6620 elf.h \
6621 float.h \
6622 fnmatch.h \
6623 getopt.h \
6624 gettext-po.h \
6625 grp.h \
6626 gsm.h \
6627 gsm/gsm.h \
6628 ieeefp.h \
6629 inet/mib2.h \
6630 io.h \
6631 kstat.h \
6632 lber.h \
6633 ldap.h \
6634 libproc.h \
6635 link.h \
6636 linux/cdrom.h \
6637 linux/compiler.h \
6638 linux/filter.h \
6639 linux/hdreg.h \
6640 linux/input.h \
6641 linux/ioctl.h \
6642 linux/joystick.h \
6643 linux/major.h \
6644 linux/param.h \
6645 linux/serial.h \
6646 linux/types.h \
6647 linux/ucdrom.h \
6648 lwp.h \
6649 mach-o/nlist.h \
6650 mach-o/loader.h \
6651 mach/mach.h \
6652 mach/machine.h \
6653 machine/cpu.h \
6654 machine/limits.h \
6655 machine/sysarch.h \
6656 mntent.h \
6657 ncurses.h \
6658 netdb.h \
6659 netinet/in.h \
6660 netinet/in_systm.h \
6661 netinet/tcp.h \
6662 netinet/tcp_fsm.h \
6663 pcap/pcap.h \
6664 poll.h \
6665 port.h \
6666 process.h \
6667 pthread.h \
6668 pwd.h \
6669 sched.h \
6670 scsi/scsi.h \
6671 scsi/scsi_ioctl.h \
6672 scsi/sg.h \
6673 stdbool.h \
6674 stdint.h \
6675 stropts.h \
6676 sys/asoundlib.h \
6677 sys/attr.h \
6678 sys/cdio.h \
6679 sys/elf32.h \
6680 sys/epoll.h \
6681 sys/event.h \
6682 sys/exec_elf.h \
6683 sys/filio.h \
6684 sys/inotify.h \
6685 sys/ioctl.h \
6686 sys/ipc.h \
6687 sys/limits.h \
6688 sys/link.h \
6689 sys/mman.h \
6690 sys/modem.h \
6691 sys/msg.h \
6692 sys/mtio.h \
6693 sys/param.h \
6694 sys/poll.h \
6695 sys/prctl.h \
6696 sys/protosw.h \
6697 sys/ptrace.h \
6698 sys/queue.h \
6699 sys/resource.h \
6700 sys/scsiio.h \
6701 sys/shm.h \
6702 sys/signal.h \
6703 sys/socket.h \
6704 sys/socketvar.h \
6705 sys/sockio.h \
6706 sys/statvfs.h \
6707 sys/strtio.h \
6708 sys/syscall.h \
6709 sys/tihdr.h \
6710 sys/time.h \
6711 sys/timeout.h \
6712 sys/times.h \
6713 sys/uio.h \
6714 sys/user.h \
6715 sys/utsname.h \
6716 sys/vm86.h \
6717 sys/vnode.h \
6718 sys/wait.h \
6719 syscall.h \
6720 termios.h \
6721 unistd.h \
6722 utime.h \
6723 valgrind/memcheck.h \
6724 valgrind/valgrind.h \
6725 zlib.h
6727 do :
6728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6729 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6730 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6731 cat >>confdefs.h <<_ACEOF
6732 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6733 _ACEOF
6737 done
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6740 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6741 if ${ac_cv_header_stat_broken+:} false; then :
6742 $as_echo_n "(cached) " >&6
6743 else
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 #include <sys/types.h>
6747 #include <sys/stat.h>
6749 #if defined S_ISBLK && defined S_IFDIR
6750 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6751 #endif
6753 #if defined S_ISBLK && defined S_IFCHR
6754 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6755 #endif
6757 #if defined S_ISLNK && defined S_IFREG
6758 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6759 #endif
6761 #if defined S_ISSOCK && defined S_IFREG
6762 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6763 #endif
6765 _ACEOF
6766 if ac_fn_c_try_compile "$LINENO"; then :
6767 ac_cv_header_stat_broken=no
6768 else
6769 ac_cv_header_stat_broken=yes
6771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6774 $as_echo "$ac_cv_header_stat_broken" >&6; }
6775 if test $ac_cv_header_stat_broken = yes; then
6777 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6783 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6784 do :
6785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6786 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6787 #ifdef HAVE_SYS_PARAM_H
6788 # include <sys/param.h>
6789 #endif
6791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6792 cat >>confdefs.h <<_ACEOF
6793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6794 _ACEOF
6798 done
6801 for ac_header in \
6802 netinet/ip.h \
6803 net/if.h \
6804 net/if_arp.h \
6805 net/if_dl.h \
6806 net/if_types.h \
6807 net/route.h \
6808 netinet/if_ether.h \
6809 netinet/if_inarp.h \
6810 netinet/in_pcb.h \
6811 netinet/ip_icmp.h \
6812 netinet/ip_var.h \
6813 netinet/udp.h \
6814 netipx/ipx.h \
6815 sys/un.h \
6817 do :
6818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6819 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6820 #ifdef HAVE_SYS_SOCKET_H
6821 # include <sys/socket.h>
6822 #endif
6823 #ifdef HAVE_SYS_SOCKETVAR_H
6824 # include <sys/socketvar.h>
6825 #endif
6826 #ifdef HAVE_NET_ROUTE_H
6827 # include <net/route.h>
6828 #endif
6829 #ifdef HAVE_NETINET_IN_H
6830 # include <netinet/in.h>
6831 #endif
6832 #ifdef HAVE_NETINET_IN_SYSTM_H
6833 # include <netinet/in_systm.h>
6834 #endif
6835 #ifdef HAVE_NET_IF_H
6836 # include <net/if.h>
6837 #endif
6838 #ifdef HAVE_NETINET_IP_H
6839 # include <netinet/ip.h>
6840 #endif
6842 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6843 cat >>confdefs.h <<_ACEOF
6844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845 _ACEOF
6849 done
6852 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6853 do :
6854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6856 #ifdef HAVE_ALIAS_H
6857 # include <alias.h>
6858 #endif
6859 #ifdef HAVE_SYS_SOCKET_H
6860 # include <sys/socket.h>
6861 #endif
6862 #ifdef HAVE_SYS_SOCKETVAR_H
6863 # include <sys/socketvar.h>
6864 #endif
6865 #ifdef HAVE_SYS_TIMEOUT_H
6866 # include <sys/timeout.h>
6867 #endif
6868 #ifdef HAVE_NETINET_IN_H
6869 # include <netinet/in.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IN_SYSTM_H
6872 # include <netinet/in_systm.h>
6873 #endif
6874 #ifdef HAVE_NETINET_IP_H
6875 # include <netinet/ip.h>
6876 #endif
6877 #ifdef HAVE_NETINET_IP_VAR_H
6878 # include <netinet/ip_var.h>
6879 #endif
6880 #ifdef HAVE_NETINET_IP_ICMP_H
6881 # include <netinet/ip_icmp.h>
6882 #endif
6883 #ifdef HAVE_NETINET_UDP_H
6884 # include <netinet/udp.h>
6885 #endif
6886 #ifdef HAVE_NETINET_TCP_H
6887 # include <netinet/tcp.h>
6888 #endif
6889 #ifdef HAVE_NETINET_TCP_TIMER_H
6890 #include <netinet/tcp_timer.h>
6891 #endif
6893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6896 _ACEOF
6900 done
6903 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6904 do :
6905 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6906 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6907 #ifdef HAVE_ASM_TYPES_H
6908 # include <asm/types.h>
6909 #endif
6910 #ifdef HAVE_SYS_SOCKET_H
6911 # include <sys/socket.h>
6912 #endif
6913 #ifdef HAVE_LINUX_TYPES_H
6914 # include <linux/types.h>
6915 #endif
6917 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6918 cat >>confdefs.h <<_ACEOF
6919 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6920 _ACEOF
6924 done
6927 for ac_header in mach-o/dyld_images.h
6928 do :
6929 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6930 # include <stdbool.h>
6931 #endif
6932 #ifdef HAVE_STDINT_H
6933 # include <stdint.h>
6934 #endif
6936 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6937 cat >>confdefs.h <<_ACEOF
6938 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6939 _ACEOF
6943 done
6946 for ac_header in resolv.h
6947 do :
6948 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6949 #ifdef HAVE_SYS_SOCKET_H
6950 # include <sys/socket.h>
6951 #endif
6952 #ifdef HAVE_NETINET_IN_H
6953 # include <netinet/in.h>
6954 #endif
6955 #ifdef HAVE_ARPA_NAMESER_H
6956 # include <arpa/nameser.h>
6957 #endif
6959 if test "x$ac_cv_header_resolv_h" = xyes; then :
6960 cat >>confdefs.h <<_ACEOF
6961 #define HAVE_RESOLV_H 1
6962 _ACEOF
6966 done
6969 for ac_header in ifaddrs.h
6970 do :
6971 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6973 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6974 cat >>confdefs.h <<_ACEOF
6975 #define HAVE_IFADDRS_H 1
6976 _ACEOF
6980 done
6983 for ac_header in sys/ucontext.h
6984 do :
6985 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6987 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define HAVE_SYS_UCONTEXT_H 1
6990 _ACEOF
6994 done
6997 for ac_header in sys/thr.h
6998 do :
6999 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7000 #ifdef HAVE_SYS_UCONTEXT_H
7001 #include <sys/ucontext.h>
7002 #endif
7004 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_SYS_THR_H 1
7007 _ACEOF
7011 done
7014 for ac_header in pthread_np.h
7015 do :
7016 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7017 #include <pthread.h>
7018 #endif
7020 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7021 cat >>confdefs.h <<_ACEOF
7022 #define HAVE_PTHREAD_NP_H 1
7023 _ACEOF
7027 done
7030 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7031 do :
7032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7034 #include <sys/time.h>
7035 #endif
7036 #include <sys/types.h>
7037 #ifdef HAVE_ASM_TYPES_H
7038 #include <asm/types.h>
7039 #endif
7041 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7042 cat >>confdefs.h <<_ACEOF
7043 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7044 _ACEOF
7048 done
7051 for ac_header in libprocstat.h
7052 do :
7053 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7054 #include <sys/param.h>
7055 #endif
7056 #ifdef HAVE_SYS_QUEUE_H
7057 #include <sys/queue.h>
7058 #endif
7059 #ifdef HAVE_SYS_SOCKET_H
7060 #include <sys/socket.h>
7061 #endif
7063 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7064 cat >>confdefs.h <<_ACEOF
7065 #define HAVE_LIBPROCSTAT_H 1
7066 _ACEOF
7070 done
7074 dlldir="\${libdir}/wine"
7076 DLLPREFIX=""
7078 DLLFLAGS="-D_REENTRANT"
7080 LDRPATH_INSTALL=""
7082 LDRPATH_LOCAL=""
7084 LIBEXT="so"
7085 DLLEXT=".so"
7086 IMPLIBEXT="def"
7087 STATIC_IMPLIBEXT="def.a"
7088 # Extract the first word of "ldd", so it can be a program name with args.
7089 set dummy ldd; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if ${ac_cv_path_LDD+:} false; then :
7093 $as_echo_n "(cached) " >&6
7094 else
7095 case $LDD in
7096 [\\/]* | ?:[\\/]*)
7097 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 as_dummy="/sbin:/usr/sbin:$PATH"
7102 for as_dir in $as_dummy
7104 IFS=$as_save_IFS
7105 test -z "$as_dir" && as_dir=.
7106 for ac_exec_ext in '' $ac_executable_extensions; do
7107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 break 2
7112 done
7113 done
7114 IFS=$as_save_IFS
7116 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7118 esac
7120 LDD=$ac_cv_path_LDD
7121 if test -n "$LDD"; then
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7123 $as_echo "$LDD" >&6; }
7124 else
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7130 if test -n "$ac_tool_prefix"; then
7131 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7132 set dummy ${ac_tool_prefix}otool; ac_word=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_OTOOL+:} false; then :
7136 $as_echo_n "(cached) " >&6
7137 else
7138 if test -n "$OTOOL"; then
7139 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7140 else
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 for as_dir in $PATH
7144 IFS=$as_save_IFS
7145 test -z "$as_dir" && as_dir=.
7146 for ac_exec_ext in '' $ac_executable_extensions; do
7147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7150 break 2
7152 done
7153 done
7154 IFS=$as_save_IFS
7158 OTOOL=$ac_cv_prog_OTOOL
7159 if test -n "$OTOOL"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7161 $as_echo "$OTOOL" >&6; }
7162 else
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_prog_OTOOL"; then
7170 ac_ct_OTOOL=$OTOOL
7171 # Extract the first word of "otool", so it can be a program name with args.
7172 set dummy otool; ac_word=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7176 $as_echo_n "(cached) " >&6
7177 else
7178 if test -n "$ac_ct_OTOOL"; then
7179 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7180 else
7181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7182 for as_dir in $PATH
7184 IFS=$as_save_IFS
7185 test -z "$as_dir" && as_dir=.
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_OTOOL="otool"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190 break 2
7192 done
7193 done
7194 IFS=$as_save_IFS
7198 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7199 if test -n "$ac_ct_OTOOL"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7201 $as_echo "$ac_ct_OTOOL" >&6; }
7202 else
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7207 if test "x$ac_ct_OTOOL" = x; then
7208 OTOOL="otool"
7209 else
7210 case $cross_compiling:$ac_tool_warned in
7211 yes:)
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214 ac_tool_warned=yes ;;
7215 esac
7216 OTOOL=$ac_ct_OTOOL
7218 else
7219 OTOOL="$ac_cv_prog_OTOOL"
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7224 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_READELF+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$READELF"; then
7231 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 READELF=$ac_cv_prog_READELF
7251 if test -n "$READELF"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7253 $as_echo "$READELF" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_READELF"; then
7262 ac_ct_READELF=$READELF
7263 # Extract the first word of "readelf", so it can be a program name with args.
7264 set dummy readelf; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7268 $as_echo_n "(cached) " >&6
7269 else
7270 if test -n "$ac_ct_READELF"; then
7271 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7272 else
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 for as_dir in $PATH
7276 IFS=$as_save_IFS
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_READELF="readelf"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 break 2
7284 done
7285 done
7286 IFS=$as_save_IFS
7290 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7291 if test -n "$ac_ct_READELF"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7293 $as_echo "$ac_ct_READELF" >&6; }
7294 else
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_READELF" = x; then
7300 READELF="true"
7301 else
7302 case $cross_compiling:$ac_tool_warned in
7303 yes:)
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned=yes ;;
7307 esac
7308 READELF=$ac_ct_READELF
7310 else
7311 READELF="$ac_cv_prog_READELF"
7314 wine_rules_file=conf$$rules.make
7315 rm -f $wine_rules_file
7316 ALL_POT_FILES=""
7317 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7318 ALL_TEST_RESOURCES=""
7321 wine_fn_append_file ()
7323 as_fn_append $1 " \\$as_nl $2"
7326 wine_fn_ignore_file ()
7328 case "$1" in
7329 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7330 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7331 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7332 esac
7335 wine_fn_append_rule ()
7337 $as_echo "$1" >>$wine_rules_file
7340 wine_fn_has_flag ()
7342 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7345 wine_fn_depend_rules ()
7347 wine_fn_append_rule \
7348 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7349 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7350 depend: $ac_dir/depend
7351 .PHONY: $ac_dir/depend
7352 $ac_dir/depend: \$(MAKEDEP) dummy
7353 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7356 wine_fn_pot_rules ()
7358 test "x$with_gettextpo" = xyes || return
7360 if wine_fn_has_flag mc
7361 then
7362 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7363 wine_fn_append_rule \
7364 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7365 @cd $ac_dir && \$(MAKE) msg.pot
7366 $ac_dir/msg.pot: tools/wmc include"
7368 if wine_fn_has_flag po
7369 then
7370 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7371 wine_fn_append_rule \
7372 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7373 @cd $ac_dir && \$(MAKE) rsrc.pot
7374 $ac_dir/rsrc.pot: tools/wrc include"
7378 wine_fn_all_rules ()
7380 wine_fn_depend_rules
7381 wine_fn_append_rule \
7382 "all: $ac_dir
7383 .PHONY: $ac_dir
7384 $ac_dir: $ac_dir/Makefile dummy
7385 @cd $ac_dir && \$(MAKE)"
7388 wine_fn_install_rules ()
7390 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7392 wine_fn_append_rule \
7393 ".PHONY: $ac_dir/install $ac_dir/uninstall
7394 $ac_dir/install:: $ac_dir
7395 @cd $ac_dir && \$(MAKE) install
7396 $ac_dir/uninstall:: $ac_dir/Makefile
7397 @cd $ac_dir && \$(MAKE) uninstall
7398 install:: $ac_dir/install
7399 __uninstall__: $ac_dir/uninstall"
7401 if wine_fn_has_flag install-lib
7402 then
7403 wine_fn_append_rule \
7404 ".PHONY: $ac_dir/install-lib
7405 $ac_dir/install-lib:: $ac_dir
7406 @cd $ac_dir && \$(MAKE) install-lib
7407 install-lib:: $ac_dir/install-lib"
7410 if wine_fn_has_flag install-dev
7411 then
7412 wine_fn_append_rule \
7413 ".PHONY: $ac_dir/install-dev
7414 $ac_dir/install-dev:: $ac_dir
7415 @cd $ac_dir && \$(MAKE) install-dev
7416 install-dev:: $ac_dir/install-dev"
7420 wine_fn_clean_rules ()
7422 ac_clean=$@
7423 ac_extraclean="$ac_dir/Makefile"
7424 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7425 case $ac_dir in
7426 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7427 esac
7429 if wine_fn_has_flag clean
7430 then
7431 wine_fn_append_rule \
7432 "__clean__: $ac_dir/clean
7433 .PHONY: $ac_dir/clean
7434 $ac_dir/clean: $ac_dir/Makefile
7435 @cd $ac_dir && \$(MAKE) clean
7436 \$(RM) $ac_extraclean"
7437 else
7438 wine_fn_append_rule \
7439 "__clean__: $ac_dir/clean
7440 .PHONY: $ac_dir/clean
7441 $ac_dir/clean: dummy
7442 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7446 wine_fn_disabled_rules ()
7448 ac_clean=$@
7449 ac_extraclean="$ac_dir/Makefile"
7450 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7452 wine_fn_append_rule \
7453 "__clean__: $ac_dir/clean
7454 .PHONY: $ac_dir/clean
7455 $ac_dir/clean: dummy
7456 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7459 wine_fn_config_makefile ()
7461 ac_dir=$1
7462 ac_enable=$2
7463 ac_flags=$3
7465 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7466 wine_fn_disabled_rules; return
7468 wine_fn_all_rules
7469 wine_fn_install_rules
7470 wine_fn_clean_rules
7473 wine_fn_config_lib ()
7475 ac_name=$1
7476 ac_flags=$2
7477 ac_dir=dlls/$ac_name
7478 ac_deps="include"
7480 if test "x$enable_tools" = xno; then :
7482 else
7483 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7485 wine_fn_all_rules
7486 wine_fn_clean_rules
7488 wine_fn_append_rule \
7489 ".PHONY: $ac_dir/install $ac_dir/uninstall
7490 $ac_dir/install:: $ac_dir
7491 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7492 $ac_dir/uninstall::
7493 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7494 install install-dev:: $ac_dir/install
7495 __uninstall__: $ac_dir/uninstall
7496 __builddeps__: $ac_dir
7497 $ac_dir: $ac_deps"
7500 wine_fn_config_dll ()
7502 ac_name=$1
7503 ac_dir=dlls/$ac_name
7504 ac_enable=$2
7505 ac_flags=$3
7506 ac_implib=${4:-$ac_name}
7507 ac_file=$ac_dir/lib$ac_implib
7508 ac_dll=$ac_name
7509 ac_deps="include"
7510 ac_implibflags=""
7512 if test "x$enable_tools" = xno; then :
7514 else
7515 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7517 case $ac_name in
7518 *16) ac_implibflags=" -m16" ;;
7519 *.*) ;;
7520 *) ac_dll=$ac_dll.dll ;;
7521 esac
7523 ac_clean=
7524 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7525 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7526 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7527 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7529 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7530 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7531 then
7532 wine_fn_depend_rules
7533 wine_fn_clean_rules $ac_clean
7534 else
7535 wine_fn_disabled_rules $ac_clean
7536 return
7538 else
7539 wine_fn_all_rules
7540 wine_fn_clean_rules $ac_clean
7541 wine_fn_append_rule \
7542 "$ac_dir: __builddeps__
7543 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7544 @cd $ac_dir && \$(MAKE) \$@
7545 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7546 install install-lib:: $ac_dir/install-lib
7547 __uninstall__: $ac_dir/uninstall"
7548 if test -n "$DLLEXT"
7549 then
7550 wine_fn_append_rule \
7551 "$ac_dir/install-lib:: $ac_dir
7552 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7553 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7554 $ac_dir/uninstall::
7555 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7556 else
7557 wine_fn_append_rule \
7558 "$ac_dir/install-lib:: $ac_dir
7559 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7560 $ac_dir/uninstall::
7561 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7564 wine_fn_pot_rules
7567 if wine_fn_has_flag staticimplib
7568 then
7569 wine_fn_append_rule \
7570 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7571 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7572 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7573 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7574 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7575 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7576 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7577 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7578 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7579 $ac_dir/uninstall::
7580 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7581 install install-dev:: $ac_dir/install-dev
7582 __uninstall__: $ac_dir/uninstall"
7584 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7585 then
7586 wine_fn_append_rule \
7587 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7588 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7593 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7594 then
7595 wine_fn_append_rule \
7596 "__builddeps__: $ac_file.cross.a
7597 $ac_file.cross.a: $ac_dir/Makefile dummy
7598 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7601 elif wine_fn_has_flag implib
7602 then
7603 wine_fn_append_rule \
7604 "__builddeps__: $ac_file.$IMPLIBEXT
7605 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7606 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7607 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7608 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7609 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7610 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7611 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7612 $ac_dir/uninstall::
7613 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7614 install install-dev:: $ac_dir/install-dev
7615 __uninstall__: $ac_dir/uninstall"
7616 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7617 then
7618 wine_fn_append_rule \
7619 "__builddeps__: $ac_file.cross.a
7620 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7621 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7624 if test "$ac_name" != "$ac_implib"
7625 then
7626 wine_fn_append_rule \
7627 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7628 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7629 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7630 clean::
7631 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7632 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7633 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7634 then
7635 wine_fn_append_rule \
7636 "__builddeps__: dlls/lib$ac_implib.cross.a
7637 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7638 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7639 clean::
7640 \$(RM) dlls/lib$ac_implib.cross.a"
7641 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7647 wine_fn_config_program ()
7649 ac_name=$1
7650 ac_dir=programs/$ac_name
7651 ac_enable=$2
7652 ac_flags=$3
7653 ac_program=$ac_name
7655 case $ac_name in
7656 *.*) ;;
7657 *) ac_program=$ac_program.exe ;;
7658 esac
7660 ac_clean=
7661 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7662 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7663 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7664 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7666 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7667 wine_fn_disabled_rules $ac_clean; return
7670 wine_fn_all_rules
7671 wine_fn_clean_rules $ac_clean
7672 wine_fn_append_rule "$ac_dir: __builddeps__"
7673 wine_fn_pot_rules
7675 wine_fn_has_flag install || return
7676 wine_fn_append_rule \
7677 ".PHONY: $ac_dir/install $ac_dir/uninstall
7678 install install-lib:: $ac_dir/install
7679 __uninstall__: $ac_dir/uninstall"
7681 if test -n "$DLLEXT"
7682 then
7683 wine_fn_append_rule \
7684 "$ac_dir/install:: $ac_dir
7685 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7686 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7687 $ac_dir/uninstall::
7688 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7690 if test -z "$with_wine64" && wine_fn_has_flag installbin
7691 then
7692 wine_fn_append_rule \
7693 "$ac_dir/install:: __tooldeps__
7694 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7695 $ac_dir/uninstall::
7696 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7698 else
7699 wine_fn_append_rule \
7700 "$ac_dir/install:: $ac_dir
7701 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7702 $ac_dir/uninstall::
7703 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7706 if test -z "$with_wine64" && wine_fn_has_flag manpage
7707 then
7708 wine_fn_append_rule \
7709 "$ac_dir/install:: $ac_dir
7710 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7711 $ac_dir/uninstall::
7712 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7716 wine_fn_config_test ()
7718 ac_dir=$1
7719 ac_name=$2
7720 ac_flags=$3
7722 ac_clean=
7723 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7724 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7726 if test "x$enable_tests" = xno; then :
7727 wine_fn_disabled_rules $ac_clean; return
7730 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7731 wine_fn_all_rules
7732 wine_fn_clean_rules $ac_clean
7734 wine_fn_append_rule \
7735 "$ac_dir: programs/winetest/Makefile __builddeps__
7736 programs/winetest: $ac_dir
7737 check test: $ac_dir/test
7738 .PHONY: $ac_dir/test
7739 $ac_dir/test: dummy
7740 @cd $ac_dir && \$(MAKE) test
7741 testclean::
7742 \$(RM) $ac_dir/*.ok"
7744 if test -n "$CROSSTARGET"
7745 then
7746 wine_fn_append_rule \
7747 "crosstest: $ac_dir/crosstest
7748 .PHONY: $ac_dir/crosstest
7749 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7750 @cd $ac_dir && \$(MAKE) crosstest"
7754 wine_fn_config_tool ()
7756 ac_dir=$1
7757 ac_flags=$2
7758 if test "x$enable_tools" = xno; then :
7759 return
7762 wine_fn_all_rules
7763 wine_fn_install_rules
7764 wine_fn_clean_rules
7766 wine_fn_append_rule "__tooldeps__: $ac_dir"
7767 wine_fn_append_rule "$ac_dir: libs/port"
7768 case $ac_dir in
7769 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7770 esac
7773 wine_fn_config_symlink ()
7775 ac_linkdir=
7776 if test "x$1" = "x-d"
7777 then
7778 ac_linkdir=$2
7779 shift; shift
7781 ac_links=$@
7782 wine_fn_append_rule \
7783 "$ac_links:
7784 @./config.status \$@
7785 distclean::
7786 \$(RM) $ac_links"
7787 for f in $ac_links; do wine_fn_ignore_file $f; done
7788 test -n "$ac_linkdir" || return
7789 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7792 wine_binary="wine"
7793 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7794 loader_programs="$wine_binary wine-installed"
7795 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7797 LOADER_RULES="
7798 all: wine.inf
7800 install install-lib:: wine-installed
7801 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7803 uninstall::
7804 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7808 case $host_os in
7809 cygwin*|mingw32*)
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7812 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7814 $as_echo_n "checking for $ac_word... " >&6; }
7815 if ${ac_cv_prog_DLLTOOL+:} false; then :
7816 $as_echo_n "(cached) " >&6
7817 else
7818 if test -n "$DLLTOOL"; then
7819 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7820 else
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 for as_dir in $PATH
7824 IFS=$as_save_IFS
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7828 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 break 2
7832 done
7833 done
7834 IFS=$as_save_IFS
7838 DLLTOOL=$ac_cv_prog_DLLTOOL
7839 if test -n "$DLLTOOL"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7841 $as_echo "$DLLTOOL" >&6; }
7842 else
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7849 if test -z "$ac_cv_prog_DLLTOOL"; then
7850 ac_ct_DLLTOOL=$DLLTOOL
7851 # Extract the first word of "dlltool", so it can be a program name with args.
7852 set dummy dlltool; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 if test -n "$ac_ct_DLLTOOL"; then
7859 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7860 else
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7862 for as_dir in $PATH
7864 IFS=$as_save_IFS
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7868 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7870 break 2
7872 done
7873 done
7874 IFS=$as_save_IFS
7878 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7879 if test -n "$ac_ct_DLLTOOL"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7881 $as_echo "$ac_ct_DLLTOOL" >&6; }
7882 else
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7884 $as_echo "no" >&6; }
7887 if test "x$ac_ct_DLLTOOL" = x; then
7888 DLLTOOL="false"
7889 else
7890 case $cross_compiling:$ac_tool_warned in
7891 yes:)
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7894 ac_tool_warned=yes ;;
7895 esac
7896 DLLTOOL=$ac_ct_DLLTOOL
7898 else
7899 DLLTOOL="$ac_cv_prog_DLLTOOL"
7902 LIBEXT="dll"
7903 DLLEXT=""
7904 IMPLIBEXT="a"
7905 STATIC_IMPLIBEXT="a"
7906 enable_iphlpapi=${enable_iphlpapi:-no}
7907 enable_kernel32=${enable_kernel32:-no}
7908 enable_msvcrt=${enable_msvcrt:-no}
7909 enable_ntdll=${enable_ntdll:-no}
7910 enable_ws2_32=${enable_ws2_32:-no}
7911 enable_loader=${enable_loader:-no}
7912 enable_server=${enable_server:-no}
7913 with_x=${with_x:-no}
7914 with_pthread=${with_pthread:-no}
7916 crtlibs=""
7917 case $host_os in
7918 mingw32*)
7919 crtlibs="-lmsvcrt"
7920 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7922 esac
7924 libwine_targets="libwine.dll libwine.a"
7925 LIBWINE_RULES="
7926 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7928 all: libwine.dll libwine.a
7930 libwine.a: \$(srcdir)/wine.def
7931 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7933 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7934 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7936 install install-lib:: libwine.dll
7937 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7939 install install-dev:: libwine.a
7940 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7942 uninstall::
7943 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7948 darwin*|macosx*)
7949 for ac_header in libunwind.h
7950 do :
7951 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_LIBUNWIND_H 1
7955 _ACEOF
7959 done
7961 LIBEXT="dylib"
7962 DLLFLAGS="$DLLFLAGS -fPIC"
7963 LIBWINE_LDFLAGS="-multiply_defined suppress"
7964 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7965 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7966 COREFOUNDATION_LIBS="-framework CoreFoundation"
7968 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7970 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7972 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7974 CORESERVICES_LIBS="-framework CoreServices"
7976 APPKIT_LIBS="-framework AppKit"
7978 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7980 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7981 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 ac_wine_try_cflags_saved=$CFLAGS
7985 CFLAGS="$CFLAGS -Wl,-no_pie"
7986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7988 int main(int argc, char **argv) { return 0; }
7989 _ACEOF
7990 if ac_fn_c_try_link "$LINENO"; then :
7991 ac_cv_cflags__Wl__no_pie=yes
7992 else
7993 ac_cv_cflags__Wl__no_pie=no
7995 rm -f core conftest.err conftest.$ac_objext \
7996 conftest$ac_exeext conftest.$ac_ext
7997 CFLAGS=$ac_wine_try_cflags_saved
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8000 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8001 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8002 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8004 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8005 then
8006 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8009 if test "$ac_cv_header_Security_Security_h" = "yes"
8010 then
8011 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8013 ac_save_LIBS="$LIBS"
8014 LIBS="$LIBS $SECURITY_LIBS"
8015 for ac_func in SSLCopyPeerCertificates
8016 do :
8017 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8018 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8019 cat >>confdefs.h <<_ACEOF
8020 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8021 _ACEOF
8024 done
8026 LIBS="$ac_save_LIBS"
8027 with_gnutls=${with_gnutls:-no}
8029 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8030 then
8031 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8032 then
8033 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8035 else
8036 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8039 ac_save_LIBS="$LIBS"
8040 LIBS="$LIBS $COREAUDIO_LIBS"
8041 for ac_func in AUGraphAddNode
8042 do :
8043 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8044 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8045 cat >>confdefs.h <<_ACEOF
8046 #define HAVE_AUGRAPHADDNODE 1
8047 _ACEOF
8050 done
8052 LIBS="$ac_save_LIBS"
8054 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8055 then
8056 OPENAL_LIBS="-framework OpenAL"
8059 cat >>confdefs.h <<_ACEOF
8060 #define HAVE_OPENAL 1
8061 _ACEOF
8063 ac_cv_lib_openal=yes
8065 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8066 then
8067 OPENCL_LIBS="-framework OpenCL"
8069 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8071 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8072 then
8073 ac_save_LIBS="$LIBS"
8074 LIBS="$LIBS $IOKIT_LIBS"
8075 for ac_func in IOHIDManagerCreate
8076 do :
8077 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8078 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8079 cat >>confdefs.h <<_ACEOF
8080 #define HAVE_IOHIDMANAGERCREATE 1
8081 _ACEOF
8084 done
8086 LIBS="$ac_save_LIBS"
8088 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8089 then
8090 ac_save_LIBS="$LIBS"
8091 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8093 $as_echo_n "checking for the QuickTime framework... " >&6; }
8094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 #include <QuickTime/ImageCompression.h>
8098 main ()
8100 CodecManagerVersion(NULL);
8102 return 0;
8104 _ACEOF
8105 if ac_fn_c_try_link "$LINENO"; then :
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8107 $as_echo "yes" >&6; }
8108 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8110 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8111 else
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8113 $as_echo "no" >&6; }
8114 ac_cv_header_QuickTime_ImageCompression_h=no
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8118 LIBS="$ac_save_LIBS"
8120 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8121 then
8122 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8124 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8125 then
8126 CARBON_LIBS="-framework Carbon"
8130 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8131 then
8132 ac_save_LIBS="$LIBS"
8133 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8134 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8135 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8136 enable_winemac_drv=${enable_winemac_drv:-yes}
8139 LIBS="$ac_save_LIBS"
8142 if test "x$enable_win16" = "xyes"
8143 then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8145 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8146 if test "$cross_compiling" = yes; then :
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8148 $as_echo "cross-compiling, assuming yes" >&6; }
8149 else
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 asm(".text\n"
8153 "bad:\tnop;nop\n"
8154 "good:\tnop;nop\n\t"
8155 ".globl _testfunc\n"
8156 "_testfunc:\tcallw good");
8157 extern void testfunc();
8159 main ()
8161 unsigned short *p = (unsigned short *)testfunc;
8162 return p[0] != 0xe866 || p[1] != 0xfffa
8164 return 0;
8166 _ACEOF
8167 if ac_fn_c_try_run "$LINENO"; then :
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8169 $as_echo "yes" >&6; }
8170 else
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8173 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
8175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8176 conftest.$ac_objext conftest.beam conftest.$ac_ext
8181 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8182 LIBWINE_RULES="
8183 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8185 all: libwine.dylib
8187 libwine.$libwine_version.dylib: \$(OBJS)
8188 \$(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 \$@
8190 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8191 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8193 libwine.dylib: libwine.$libwine_soversion.dylib
8194 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8196 install install-lib:: libwine.$libwine_version.dylib
8197 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8198 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8200 install install-dev::
8201 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8203 uninstall::
8204 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8208 as_fn_append LOADER_RULES "
8209 $wine_binary: main.o wine_info.plist
8210 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8212 wine-installed: main.o wine_info.plist
8213 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8217 linux-android*)
8218 DLLFLAGS="$DLLFLAGS -fPIC"
8219 DLLPREFIX="lib"
8220 LDEXECFLAGS=""
8221 dlldir="\${libdir}"
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8223 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8224 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8225 $as_echo_n "(cached) " >&6
8226 else
8227 ac_wine_try_cflags_saved=$CFLAGS
8228 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8230 /* end confdefs.h. */
8231 int main(int argc, char **argv) { return 0; }
8232 _ACEOF
8233 if ac_fn_c_try_link "$LINENO"; then :
8234 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8235 else
8236 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8238 rm -f core conftest.err conftest.$ac_objext \
8239 conftest$ac_exeext conftest.$ac_ext
8240 CFLAGS=$ac_wine_try_cflags_saved
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8243 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8244 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8245 LDEXECFLAGS="-Wl,--export-dynamic"
8247 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8249 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8250 if eval \${$as_ac_var+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_wine_try_cflags_saved=$CFLAGS
8254 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 int main(int argc, char **argv) { return 0; }
8258 _ACEOF
8259 if ac_fn_c_try_link "$LINENO"; then :
8260 eval "$as_ac_var=yes"
8261 else
8262 eval "$as_ac_var=no"
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 CFLAGS=$ac_wine_try_cflags_saved
8268 eval ac_res=\$$as_ac_var
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8270 $as_echo "$ac_res" >&6; }
8271 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8272 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8273 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8274 else
8275 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8277 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8278 if eval \${$as_ac_var+:} false; then :
8279 $as_echo_n "(cached) " >&6
8280 else
8281 ac_wine_try_cflags_saved=$CFLAGS
8282 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8285 int main(int argc, char **argv) { return 0; }
8286 _ACEOF
8287 if ac_fn_c_try_link "$LINENO"; then :
8288 eval "$as_ac_var=yes"
8289 else
8290 eval "$as_ac_var=no"
8292 rm -f core conftest.err conftest.$ac_objext \
8293 conftest$ac_exeext conftest.$ac_ext
8294 CFLAGS=$ac_wine_try_cflags_saved
8296 eval ac_res=\$$as_ac_var
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8298 $as_echo "$ac_res" >&6; }
8299 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8300 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8301 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8306 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8307 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8308 $as_echo_n "(cached) " >&6
8309 else
8310 ac_wine_try_cflags_saved=$CFLAGS
8311 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8315 _ACEOF
8316 if ac_fn_c_try_link "$LINENO"; then :
8317 ac_cv_cflags__Wl___enable_new_dtags=yes
8318 else
8319 ac_cv_cflags__Wl___enable_new_dtags=no
8321 rm -f core conftest.err conftest.$ac_objext \
8322 conftest$ac_exeext conftest.$ac_ext
8323 CFLAGS=$ac_wine_try_cflags_saved
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8326 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8327 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8328 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8331 case $host_cpu in
8332 *i[3456789]86* | x86_64)
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8334 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8335 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8336 $as_echo_n "(cached) " >&6
8337 else
8338 ac_wine_try_cflags_saved=$CFLAGS
8339 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8343 _ACEOF
8344 if ac_fn_c_try_link "$LINENO"; then :
8345 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8346 else
8347 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8349 rm -f core conftest.err conftest.$ac_objext \
8350 conftest$ac_exeext conftest.$ac_ext
8351 CFLAGS=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8354 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8355 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8356 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8359 esac
8361 libwine_targets="libwine.so"
8362 LIBWINE_RULES="
8363 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8365 all: libwine.so
8367 libwine.so: \$(OBJS)
8368 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8370 install install-lib:: libwine.so
8371 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8373 uninstall::
8374 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8378 as_fn_append LOADER_RULES "
8379 $wine_binary: main.o
8380 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8382 wine-installed: main.o
8383 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8388 DLLFLAGS="$DLLFLAGS -fPIC"
8389 LDEXECFLAGS=""
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8391 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8392 if ${ac_cv_c_dll_gnuelf+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 void myfunc() {}
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_c_dll_gnuelf="yes"
8403 else
8404 ac_cv_c_dll_gnuelf="no"
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8411 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8412 if test "$ac_cv_c_dll_gnuelf" = "yes"
8413 then
8414 LDSHARED="\$(CC) -shared"
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8417 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8428 else
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8436 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8437 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8438 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8441 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8442 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8443 $as_echo_n "(cached) " >&6
8444 else
8445 ac_wine_try_cflags_saved=$CFLAGS
8446 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8449 int main(int argc, char **argv) { return 0; }
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8453 else
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 CFLAGS=$ac_wine_try_cflags_saved
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8461 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8462 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8463 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8467 echo '{ global: *; };' >conftest.map
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8470 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8481 else
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8489 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8490 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8491 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8493 rm -f conftest.map
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8497 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8508 else
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8518 LDEXECFLAGS="-Wl,--export-dynamic"
8521 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8524 if eval \${$as_ac_var+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 eval "$as_ac_var=yes"
8535 else
8536 eval "$as_ac_var=no"
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 eval ac_res=\$$as_ac_var
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8544 $as_echo "$ac_res" >&6; }
8545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8546 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8547 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8548 else
8549 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8551 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8552 if eval \${$as_ac_var+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 int main(int argc, char **argv) { return 0; }
8560 _ACEOF
8561 if ac_fn_c_try_link "$LINENO"; then :
8562 eval "$as_ac_var=yes"
8563 else
8564 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 CFLAGS=$ac_wine_try_cflags_saved
8570 eval ac_res=\$$as_ac_var
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8572 $as_echo "$ac_res" >&6; }
8573 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8574 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8575 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8580 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8581 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8582 $as_echo_n "(cached) " >&6
8583 else
8584 ac_wine_try_cflags_saved=$CFLAGS
8585 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8587 /* end confdefs.h. */
8588 int main(int argc, char **argv) { return 0; }
8589 _ACEOF
8590 if ac_fn_c_try_link "$LINENO"; then :
8591 ac_cv_cflags__Wl___enable_new_dtags=yes
8592 else
8593 ac_cv_cflags__Wl___enable_new_dtags=no
8595 rm -f core conftest.err conftest.$ac_objext \
8596 conftest$ac_exeext conftest.$ac_ext
8597 CFLAGS=$ac_wine_try_cflags_saved
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8600 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8601 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8602 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8605 case $host_cpu in
8606 *i[3456789]86* | x86_64)
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8608 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8609 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8610 $as_echo_n "(cached) " >&6
8611 else
8612 ac_wine_try_cflags_saved=$CFLAGS
8613 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 int main(int argc, char **argv) { return 0; }
8617 _ACEOF
8618 if ac_fn_c_try_link "$LINENO"; then :
8619 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8620 else
8621 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 CFLAGS=$ac_wine_try_cflags_saved
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8628 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8629 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8630 case $host_os in
8631 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8632 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8633 esac
8636 # Extract the first word of "prelink", so it can be a program name with args.
8637 set dummy prelink; ac_word=$2
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8639 $as_echo_n "checking for $ac_word... " >&6; }
8640 if ${ac_cv_path_PRELINK+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 case $PRELINK in
8644 [\\/]* | ?:[\\/]*)
8645 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 for as_dir in /sbin /usr/sbin $PATH
8651 IFS=$as_save_IFS
8652 test -z "$as_dir" && as_dir=.
8653 for ac_exec_ext in '' $ac_executable_extensions; do
8654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8655 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8657 break 2
8659 done
8660 done
8661 IFS=$as_save_IFS
8663 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8665 esac
8667 PRELINK=$ac_cv_path_PRELINK
8668 if test -n "$PRELINK"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8670 $as_echo "$PRELINK" >&6; }
8671 else
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8677 if test "x$PRELINK" = xfalse
8678 then
8679 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8682 esac
8684 else
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8686 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8687 if ${ac_cv_c_dll_unixware+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 void myfunc() {}
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_c_dll_unixware="yes"
8698 else
8699 ac_cv_c_dll_unixware="no"
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8706 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8707 if test "$ac_cv_c_dll_unixware" = "yes"
8708 then
8709 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8712 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8713 LIBWINE_RULES="
8714 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8716 all: libwine.so
8718 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8719 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8721 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8722 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8724 libwine.so: libwine.so.$libwine_soversion
8725 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8727 install install-lib:: libwine.so.$libwine_version
8728 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8729 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8731 install install-dev::
8732 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8734 uninstall::
8735 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8739 as_fn_append LOADER_RULES "
8740 $wine_binary: main.o
8741 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8743 wine-installed: main.o
8744 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8747 esac
8749 as_fn_append LIBWINE_RULES "
8750 EXTRA_TARGETS = $libwine_targets
8753 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8754 enable_winemac_drv=${enable_winemac_drv:-no}
8756 CROSSTARGET=""
8758 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8759 then
8760 case "$host_cpu" in
8761 i[3456789]86*)
8762 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
8763 mingw32-gcc" ;;
8764 x86_64)
8765 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 " ;;
8767 ac_prefix_list="" ;;
8768 esac
8769 for ac_prog in $ac_prefix_list
8771 # Extract the first word of "$ac_prog", so it can be a program name with args.
8772 set dummy $ac_prog; ac_word=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8774 $as_echo_n "checking for $ac_word... " >&6; }
8775 if ${ac_cv_prog_CROSSCC+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 if test -n "$CROSSCC"; then
8779 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8780 else
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8782 for as_dir in $PATH
8784 IFS=$as_save_IFS
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8788 ac_cv_prog_CROSSCC="$ac_prog"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8790 break 2
8792 done
8793 done
8794 IFS=$as_save_IFS
8798 CROSSCC=$ac_cv_prog_CROSSCC
8799 if test -n "$CROSSCC"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8801 $as_echo "$CROSSCC" >&6; }
8802 else
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8808 test -n "$CROSSCC" && break
8809 done
8810 test -n "$CROSSCC" || CROSSCC="false"
8812 if test "$CROSSCC" != "false"
8813 then
8814 ac_save_CC="$CC"
8815 CC="$CROSSCC"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8817 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8822 main ()
8826 return 0;
8828 _ACEOF
8829 if ac_fn_c_try_compile "$LINENO"; then :
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8831 $as_echo "yes" >&6; }
8832 set x $CROSSCC
8833 shift
8834 while test $# -ge 1
8836 case "$1" in
8837 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8838 esac
8839 shift
8840 done
8841 else
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8843 $as_echo "no" >&6; }
8845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8846 CC="$ac_save_CC"
8851 if test "$ac_cv_header_pthread_h" = "yes"
8852 then
8853 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8854 if test "x$ac_cv_func_pthread_create" = xyes; then :
8856 else
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8858 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8859 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 ac_check_lib_save_LIBS=$LIBS
8863 LIBS="-lpthread $LIBS"
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8867 /* Override any GCC internal prototype to avoid an error.
8868 Use char because int might match the return type of a GCC
8869 builtin and then its argument prototype would still apply. */
8870 #ifdef __cplusplus
8871 extern "C"
8872 #endif
8873 char pthread_create ();
8875 main ()
8877 return pthread_create ();
8879 return 0;
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 ac_cv_lib_pthread_pthread_create=yes
8884 else
8885 ac_cv_lib_pthread_pthread_create=no
8887 rm -f core conftest.err conftest.$ac_objext \
8888 conftest$ac_exeext conftest.$ac_ext
8889 LIBS=$ac_check_lib_save_LIBS
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8892 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8893 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8894 PTHREAD_LIBS="-lpthread"
8901 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8902 case "x$with_pthread" in
8903 xno) ;;
8904 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8905 Wine cannot support threads without libpthread.
8906 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8907 esac
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8912 $as_echo_n "checking for X... " >&6; }
8915 # Check whether --with-x was given.
8916 if test "${with_x+set}" = set; then :
8917 withval=$with_x;
8920 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8921 if test "x$with_x" = xno; then
8922 # The user explicitly disabled X.
8923 have_x=disabled
8924 else
8925 case $x_includes,$x_libraries in #(
8926 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8927 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 # One or both of the vars are not set, and there is no cached value.
8931 ac_x_includes=no ac_x_libraries=no
8932 rm -f -r conftest.dir
8933 if mkdir conftest.dir; then
8934 cd conftest.dir
8935 cat >Imakefile <<'_ACEOF'
8936 incroot:
8937 @echo incroot='${INCROOT}'
8938 usrlibdir:
8939 @echo usrlibdir='${USRLIBDIR}'
8940 libdir:
8941 @echo libdir='${LIBDIR}'
8942 _ACEOF
8943 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8944 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8945 for ac_var in incroot usrlibdir libdir; do
8946 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8947 done
8948 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8949 for ac_extension in a so sl dylib la dll; do
8950 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8951 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8952 ac_im_usrlibdir=$ac_im_libdir; break
8954 done
8955 # Screen out bogus values from the imake configuration. They are
8956 # bogus both because they are the default anyway, and because
8957 # using them would break gcc on systems where it needs fixed includes.
8958 case $ac_im_incroot in
8959 /usr/include) ac_x_includes= ;;
8960 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8961 esac
8962 case $ac_im_usrlibdir in
8963 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8964 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8965 esac
8967 cd ..
8968 rm -f -r conftest.dir
8971 # Standard set of common directories for X headers.
8972 # Check X11 before X11Rn because it is often a symlink to the current release.
8973 ac_x_header_dirs='
8974 /usr/X11/include
8975 /usr/X11R7/include
8976 /usr/X11R6/include
8977 /usr/X11R5/include
8978 /usr/X11R4/include
8980 /usr/include/X11
8981 /usr/include/X11R7
8982 /usr/include/X11R6
8983 /usr/include/X11R5
8984 /usr/include/X11R4
8986 /usr/local/X11/include
8987 /usr/local/X11R7/include
8988 /usr/local/X11R6/include
8989 /usr/local/X11R5/include
8990 /usr/local/X11R4/include
8992 /usr/local/include/X11
8993 /usr/local/include/X11R7
8994 /usr/local/include/X11R6
8995 /usr/local/include/X11R5
8996 /usr/local/include/X11R4
8998 /usr/X386/include
8999 /usr/x386/include
9000 /usr/XFree86/include/X11
9002 /usr/include
9003 /usr/local/include
9004 /usr/unsupported/include
9005 /usr/athena/include
9006 /usr/local/x11r5/include
9007 /usr/lpp/Xamples/include
9009 /usr/openwin/include
9010 /usr/openwin/share/include'
9012 if test "$ac_x_includes" = no; then
9013 # Guess where to find include files, by looking for Xlib.h.
9014 # First, try using that file with no special directory specified.
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 #include <X11/Xlib.h>
9018 _ACEOF
9019 if ac_fn_c_try_cpp "$LINENO"; then :
9020 # We can compile using X headers with no special include directory.
9021 ac_x_includes=
9022 else
9023 for ac_dir in $ac_x_header_dirs; do
9024 if test -r "$ac_dir/X11/Xlib.h"; then
9025 ac_x_includes=$ac_dir
9026 break
9028 done
9030 rm -f conftest.err conftest.i conftest.$ac_ext
9031 fi # $ac_x_includes = no
9033 if test "$ac_x_libraries" = no; then
9034 # Check for the libraries.
9035 # See if we find them without any special options.
9036 # Don't add to $LIBS permanently.
9037 ac_save_LIBS=$LIBS
9038 LIBS="-lX11 $LIBS"
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9041 #include <X11/Xlib.h>
9043 main ()
9045 XrmInitialize ()
9047 return 0;
9049 _ACEOF
9050 if ac_fn_c_try_link "$LINENO"; then :
9051 LIBS=$ac_save_LIBS
9052 # We can link X programs with no special library path.
9053 ac_x_libraries=
9054 else
9055 LIBS=$ac_save_LIBS
9056 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9058 # Don't even attempt the hair of trying to link an X program!
9059 for ac_extension in a so sl dylib la dll; do
9060 if test -r "$ac_dir/libX11.$ac_extension"; then
9061 ac_x_libraries=$ac_dir
9062 break 2
9064 done
9065 done
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 fi # $ac_x_libraries = no
9071 case $ac_x_includes,$ac_x_libraries in #(
9072 no,* | *,no | *\'*)
9073 # Didn't find X, or a directory has "'" in its name.
9074 ac_cv_have_x="have_x=no";; #(
9076 # Record where we found X for the cache.
9077 ac_cv_have_x="have_x=yes\
9078 ac_x_includes='$ac_x_includes'\
9079 ac_x_libraries='$ac_x_libraries'"
9080 esac
9082 ;; #(
9083 *) have_x=yes;;
9084 esac
9085 eval "$ac_cv_have_x"
9086 fi # $with_x != no
9088 if test "$have_x" != yes; then
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9090 $as_echo "$have_x" >&6; }
9091 no_x=yes
9092 else
9093 # If each of the values was on the command line, it overrides each guess.
9094 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9095 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9096 # Update the cache value to reflect the command line values.
9097 ac_cv_have_x="have_x=yes\
9098 ac_x_includes='$x_includes'\
9099 ac_x_libraries='$x_libraries'"
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9101 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9104 if test "$no_x" = yes; then
9105 # Not all programs may use this symbol, but it does not hurt to define it.
9107 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9109 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9110 else
9111 if test -n "$x_includes"; then
9112 X_CFLAGS="$X_CFLAGS -I$x_includes"
9115 # It would also be nice to do this for all -L options, not just this one.
9116 if test -n "$x_libraries"; then
9117 X_LIBS="$X_LIBS -L$x_libraries"
9118 # For Solaris; some versions of Sun CC require a space after -R and
9119 # others require no space. Words are not sufficient . . . .
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9121 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9122 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9123 ac_xsave_c_werror_flag=$ac_c_werror_flag
9124 ac_c_werror_flag=yes
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9129 main ()
9133 return 0;
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 $as_echo "no" >&6; }
9139 X_LIBS="$X_LIBS -R$x_libraries"
9140 else
9141 LIBS="$ac_xsave_LIBS -R $x_libraries"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9146 main ()
9150 return 0;
9152 _ACEOF
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9155 $as_echo "yes" >&6; }
9156 X_LIBS="$X_LIBS -R $x_libraries"
9157 else
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9159 $as_echo "neither works" >&6; }
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 ac_c_werror_flag=$ac_xsave_c_werror_flag
9167 LIBS=$ac_xsave_LIBS
9170 # Check for system-dependent libraries X programs must link with.
9171 # Do this before checking for the system-independent R6 libraries
9172 # (-lICE), since we may need -lsocket or whatever for X linking.
9174 if test "$ISC" = yes; then
9175 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9176 else
9177 # Martyn Johnson says this is needed for Ultrix, if the X
9178 # libraries were built with DECnet support. And Karl Berry says
9179 # the Alpha needs dnet_stub (dnet does not exist).
9180 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9182 /* end confdefs.h. */
9184 /* Override any GCC internal prototype to avoid an error.
9185 Use char because int might match the return type of a GCC
9186 builtin and then its argument prototype would still apply. */
9187 #ifdef __cplusplus
9188 extern "C"
9189 #endif
9190 char XOpenDisplay ();
9192 main ()
9194 return XOpenDisplay ();
9196 return 0;
9198 _ACEOF
9199 if ac_fn_c_try_link "$LINENO"; then :
9201 else
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9203 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9204 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9205 $as_echo_n "(cached) " >&6
9206 else
9207 ac_check_lib_save_LIBS=$LIBS
9208 LIBS="-ldnet $LIBS"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9215 #ifdef __cplusplus
9216 extern "C"
9217 #endif
9218 char dnet_ntoa ();
9220 main ()
9222 return dnet_ntoa ();
9224 return 0;
9226 _ACEOF
9227 if ac_fn_c_try_link "$LINENO"; then :
9228 ac_cv_lib_dnet_dnet_ntoa=yes
9229 else
9230 ac_cv_lib_dnet_dnet_ntoa=no
9232 rm -f core conftest.err conftest.$ac_objext \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_lib_save_LIBS
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9237 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9238 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9239 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9242 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9244 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9245 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_lib_save_LIBS=$LIBS
9249 LIBS="-ldnet_stub $LIBS"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char dnet_ntoa ();
9261 main ()
9263 return dnet_ntoa ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9270 else
9271 ac_cv_lib_dnet_stub_dnet_ntoa=no
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_lib_save_LIBS
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9278 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9279 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9280 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9285 rm -f core conftest.err conftest.$ac_objext \
9286 conftest$ac_exeext conftest.$ac_ext
9287 LIBS="$ac_xsave_LIBS"
9289 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9290 # to get the SysV transport functions.
9291 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9292 # needs -lnsl.
9293 # The nsl library prevents programs from opening the X display
9294 # on Irix 5.2, according to T.E. Dickey.
9295 # The functions gethostbyname, getservbyname, and inet_addr are
9296 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9297 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9298 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9302 if test $ac_cv_func_gethostbyname = no; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9304 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9305 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 ac_check_lib_save_LIBS=$LIBS
9309 LIBS="-lnsl $LIBS"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9313 /* Override any GCC internal prototype to avoid an error.
9314 Use char because int might match the return type of a GCC
9315 builtin and then its argument prototype would still apply. */
9316 #ifdef __cplusplus
9317 extern "C"
9318 #endif
9319 char gethostbyname ();
9321 main ()
9323 return gethostbyname ();
9325 return 0;
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_lib_nsl_gethostbyname=yes
9330 else
9331 ac_cv_lib_nsl_gethostbyname=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS=$ac_check_lib_save_LIBS
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9338 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9339 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9340 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9343 if test $ac_cv_lib_nsl_gethostbyname = no; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9345 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9346 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-lbsd $LIBS"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char gethostbyname ();
9362 main ()
9364 return gethostbyname ();
9366 return 0;
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 ac_cv_lib_bsd_gethostbyname=yes
9371 else
9372 ac_cv_lib_bsd_gethostbyname=no
9374 rm -f core conftest.err conftest.$ac_objext \
9375 conftest$ac_exeext conftest.$ac_ext
9376 LIBS=$ac_check_lib_save_LIBS
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9379 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9380 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9381 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9387 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9388 # socket/setsockopt and other routines are undefined under SCO ODT
9389 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9390 # on later versions), says Simon Leinen: it contains gethostby*
9391 # variants that don't use the name server (or something). -lsocket
9392 # must be given before -lnsl if both are needed. We assume that
9393 # if connect needs -lnsl, so does gethostbyname.
9394 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9395 if test "x$ac_cv_func_connect" = xyes; then :
9399 if test $ac_cv_func_connect = no; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9401 $as_echo_n "checking for connect in -lsocket... " >&6; }
9402 if ${ac_cv_lib_socket_connect+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_check_lib_save_LIBS=$LIBS
9406 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char connect ();
9418 main ()
9420 return connect ();
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_lib_socket_connect=yes
9427 else
9428 ac_cv_lib_socket_connect=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9435 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9436 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9437 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9442 # Guillermo Gomez says -lposix is necessary on A/UX.
9443 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9444 if test "x$ac_cv_func_remove" = xyes; then :
9448 if test $ac_cv_func_remove = no; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9450 $as_echo_n "checking for remove in -lposix... " >&6; }
9451 if ${ac_cv_lib_posix_remove+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_check_lib_save_LIBS=$LIBS
9455 LIBS="-lposix $LIBS"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9462 #ifdef __cplusplus
9463 extern "C"
9464 #endif
9465 char remove ();
9467 main ()
9469 return remove ();
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_lib_posix_remove=yes
9476 else
9477 ac_cv_lib_posix_remove=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 LIBS=$ac_check_lib_save_LIBS
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9484 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9485 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9491 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9492 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9493 if test "x$ac_cv_func_shmat" = xyes; then :
9497 if test $ac_cv_func_shmat = no; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9499 $as_echo_n "checking for shmat in -lipc... " >&6; }
9500 if ${ac_cv_lib_ipc_shmat+:} false; then :
9501 $as_echo_n "(cached) " >&6
9502 else
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-lipc $LIBS"
9505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char shmat ();
9516 main ()
9518 return shmat ();
9520 return 0;
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524 ac_cv_lib_ipc_shmat=yes
9525 else
9526 ac_cv_lib_ipc_shmat=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 LIBS=$ac_check_lib_save_LIBS
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9533 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9534 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9541 # Check for libraries that X11R6 Xt/Xaw programs need.
9542 ac_save_LDFLAGS=$LDFLAGS
9543 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9544 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9545 # check for ICE first), but we must link in the order -lSM -lICE or
9546 # we get undefined symbols. So assume we have SM if we have ICE.
9547 # These have to be linked with before -lX11, unlike the other
9548 # libraries we check for below, so use a different variable.
9549 # John Interrante, Karl Berry
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9551 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9552 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_check_lib_save_LIBS=$LIBS
9556 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9563 #ifdef __cplusplus
9564 extern "C"
9565 #endif
9566 char IceConnectionNumber ();
9568 main ()
9570 return IceConnectionNumber ();
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_lib_ICE_IceConnectionNumber=yes
9577 else
9578 ac_cv_lib_ICE_IceConnectionNumber=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9585 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9586 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9587 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9590 LDFLAGS=$ac_save_LDFLAGS
9595 if test "$have_x" = "yes"
9596 then
9597 ac_save_CPPFLAGS="$CPPFLAGS"
9598 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9601 $as_echo_n "checking for -lX11... " >&6; }
9602 if ${ac_cv_lib_soname_X11+:} false; then :
9603 $as_echo_n "(cached) " >&6
9604 else
9605 ac_check_soname_save_LIBS=$LIBS
9606 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608 /* end confdefs.h. */
9610 /* Override any GCC internal prototype to avoid an error.
9611 Use char because int might match the return type of a GCC
9612 builtin and then its argument prototype would still apply. */
9613 #ifdef __cplusplus
9614 extern "C"
9615 #endif
9616 char XCreateWindow ();
9618 main ()
9620 return XCreateWindow ();
9622 return 0;
9624 _ACEOF
9625 if ac_fn_c_try_link "$LINENO"; then :
9626 case "$LIBEXT" in
9627 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9628 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'` ;;
9629 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9630 if ${ac_cv_lib_soname_X11:+false} :; then :
9631 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9632 fi ;;
9633 esac
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 LIBS=$ac_check_soname_save_LIBS
9639 if ${ac_cv_lib_soname_X11:+false} :; then :
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9641 $as_echo "not found" >&6; }
9643 else
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9645 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9647 cat >>confdefs.h <<_ACEOF
9648 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9649 _ACEOF
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9654 $as_echo_n "checking for -lXext... " >&6; }
9655 if ${ac_cv_lib_soname_Xext+:} false; then :
9656 $as_echo_n "(cached) " >&6
9657 else
9658 ac_check_soname_save_LIBS=$LIBS
9659 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9661 /* end confdefs.h. */
9663 /* Override any GCC internal prototype to avoid an error.
9664 Use char because int might match the return type of a GCC
9665 builtin and then its argument prototype would still apply. */
9666 #ifdef __cplusplus
9667 extern "C"
9668 #endif
9669 char XextCreateExtension ();
9671 main ()
9673 return XextCreateExtension ();
9675 return 0;
9677 _ACEOF
9678 if ac_fn_c_try_link "$LINENO"; then :
9679 case "$LIBEXT" in
9680 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9681 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'` ;;
9682 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9683 if ${ac_cv_lib_soname_Xext:+false} :; then :
9684 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9685 fi ;;
9686 esac
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 LIBS=$ac_check_soname_save_LIBS
9692 if ${ac_cv_lib_soname_Xext:+false} :; then :
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9694 $as_echo "not found" >&6; }
9696 else
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9698 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9700 cat >>confdefs.h <<_ACEOF
9701 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9702 _ACEOF
9704 X_LIBS="$X_LIBS -lXext"
9706 X_LIBS="$X_LIBS -lX11"
9708 for ac_header in X11/Xlib.h \
9709 X11/XKBlib.h \
9710 X11/Xutil.h \
9711 X11/Xcursor/Xcursor.h \
9712 X11/extensions/shape.h \
9713 X11/extensions/XInput.h \
9714 X11/extensions/XInput2.h \
9715 X11/extensions/XShm.h \
9716 X11/extensions/Xcomposite.h \
9717 X11/extensions/Xinerama.h \
9718 X11/extensions/Xrandr.h \
9719 X11/extensions/Xrender.h \
9720 X11/extensions/xf86vmode.h \
9721 X11/extensions/xf86vmproto.h
9722 do :
9723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9724 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9725 # include <X11/Xlib.h>
9726 #endif
9727 #ifdef HAVE_X11_XUTIL_H
9728 # include <X11/Xutil.h>
9729 #endif
9731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9732 cat >>confdefs.h <<_ACEOF
9733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9734 _ACEOF
9738 done
9741 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9742 then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9744 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9745 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9746 $as_echo_n "(cached) " >&6
9747 else
9748 ac_check_lib_save_LIBS=$LIBS
9749 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9756 #ifdef __cplusplus
9757 extern "C"
9758 #endif
9759 char XkbQueryExtension ();
9761 main ()
9763 return XkbQueryExtension ();
9765 return 0;
9767 _ACEOF
9768 if ac_fn_c_try_link "$LINENO"; then :
9769 ac_cv_lib_X11_XkbQueryExtension=yes
9770 else
9771 ac_cv_lib_X11_XkbQueryExtension=no
9773 rm -f core conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 LIBS=$ac_check_lib_save_LIBS
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9778 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9779 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9781 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9787 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9788 then
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9790 $as_echo_n "checking for -lXcursor... " >&6; }
9791 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 ac_check_soname_save_LIBS=$LIBS
9795 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 /* Override any GCC internal prototype to avoid an error.
9800 Use char because int might match the return type of a GCC
9801 builtin and then its argument prototype would still apply. */
9802 #ifdef __cplusplus
9803 extern "C"
9804 #endif
9805 char XcursorImageLoadCursor ();
9807 main ()
9809 return XcursorImageLoadCursor ();
9811 return 0;
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"; then :
9815 case "$LIBEXT" in
9816 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9817 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'` ;;
9818 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9819 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9820 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9821 fi ;;
9822 esac
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 LIBS=$ac_check_soname_save_LIBS
9828 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9830 $as_echo "not found" >&6; }
9832 else
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9834 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9836 cat >>confdefs.h <<_ACEOF
9837 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9838 _ACEOF
9843 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9844 case "x$with_xcursor" in
9845 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9846 xno) ;;
9847 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9848 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9849 esac
9852 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9853 then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9855 $as_echo_n "checking for -lXi... " >&6; }
9856 if ${ac_cv_lib_soname_Xi+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_check_soname_save_LIBS=$LIBS
9860 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9867 #ifdef __cplusplus
9868 extern "C"
9869 #endif
9870 char XOpenDevice ();
9872 main ()
9874 return XOpenDevice ();
9876 return 0;
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 case "$LIBEXT" in
9881 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9882 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'` ;;
9883 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9884 if ${ac_cv_lib_soname_Xi:+false} :; then :
9885 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9886 fi ;;
9887 esac
9889 rm -f core conftest.err conftest.$ac_objext \
9890 conftest$ac_exeext conftest.$ac_ext
9891 LIBS=$ac_check_soname_save_LIBS
9893 if ${ac_cv_lib_soname_Xi:+false} :; then :
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9895 $as_echo "not found" >&6; }
9897 else
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9899 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9901 cat >>confdefs.h <<_ACEOF
9902 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9903 _ACEOF
9908 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9909 case "x$with_xinput" in
9910 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9911 xno) ;;
9912 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9913 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9914 esac
9917 if test "x$ac_cv_lib_soname_Xi" != x
9918 then
9919 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9920 case "x$with_xinput2" in
9921 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9922 xno) ;;
9923 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9924 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9925 esac
9929 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9930 then
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9932 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9933 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_check_lib_save_LIBS=$LIBS
9937 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XShmQueryExtension ();
9949 main ()
9951 return XShmQueryExtension ();
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 ac_cv_lib_Xext_XShmQueryExtension=yes
9958 else
9959 ac_cv_lib_Xext_XShmQueryExtension=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9966 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9967 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9969 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9974 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9975 case "x$with_xshm" in
9976 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9977 xno) ;;
9978 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9979 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9980 esac
9983 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9984 then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9986 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9987 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_check_lib_save_LIBS=$LIBS
9991 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
9998 #ifdef __cplusplus
9999 extern "C"
10000 #endif
10001 char XShapeQueryExtension ();
10003 main ()
10005 return XShapeQueryExtension ();
10007 return 0;
10009 _ACEOF
10010 if ac_fn_c_try_link "$LINENO"; then :
10011 ac_cv_lib_Xext_XShapeQueryExtension=yes
10012 else
10013 ac_cv_lib_Xext_XShapeQueryExtension=no
10015 rm -f core conftest.err conftest.$ac_objext \
10016 conftest$ac_exeext conftest.$ac_ext
10017 LIBS=$ac_check_lib_save_LIBS
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10020 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10021 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10023 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10028 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10029 case "x$with_xshape" in
10030 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10031 xno) ;;
10032 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10033 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10034 esac
10037 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10038 then
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10040 $as_echo_n "checking for -lXxf86vm... " >&6; }
10041 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10042 $as_echo_n "(cached) " >&6
10043 else
10044 ac_check_soname_save_LIBS=$LIBS
10045 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10049 /* Override any GCC internal prototype to avoid an error.
10050 Use char because int might match the return type of a GCC
10051 builtin and then its argument prototype would still apply. */
10052 #ifdef __cplusplus
10053 extern "C"
10054 #endif
10055 char XF86VidModeQueryExtension ();
10057 main ()
10059 return XF86VidModeQueryExtension ();
10061 return 0;
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 case "$LIBEXT" in
10066 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10067 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'` ;;
10068 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10069 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10070 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10071 fi ;;
10072 esac
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_soname_save_LIBS
10078 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10080 $as_echo "not found" >&6; }
10082 else
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10084 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10086 cat >>confdefs.h <<_ACEOF
10087 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10088 _ACEOF
10093 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10094 case "x$with_xxf86vm" in
10095 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10096 xno) ;;
10097 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10098 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10099 esac
10102 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10103 then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10105 $as_echo_n "checking for -lXrender... " >&6; }
10106 if ${ac_cv_lib_soname_Xrender+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_soname_save_LIBS=$LIBS
10110 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XRenderQueryExtension ();
10122 main ()
10124 return XRenderQueryExtension ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 case "$LIBEXT" in
10131 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10135 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 fi ;;
10137 esac
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10147 else
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10149 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10153 _ACEOF
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10156 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10157 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_lib_save_LIBS=$LIBS
10161 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XRenderSetPictureTransform ();
10173 main ()
10175 return XRenderSetPictureTransform ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10182 else
10183 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 LIBS=$ac_check_lib_save_LIBS
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10190 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10191 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10193 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10198 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10199 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_lib_save_LIBS=$LIBS
10203 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10210 #ifdef __cplusplus
10211 extern "C"
10212 #endif
10213 char XRenderCreateLinearGradient ();
10215 main ()
10217 return XRenderCreateLinearGradient ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10224 else
10225 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_lib_save_LIBS
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10232 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10233 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10235 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10242 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10243 case "x$with_xrender" in
10244 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10245 xno) ;;
10246 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10247 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10248 esac
10251 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10252 then
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10255 #include <X11/Xlib.h>
10256 #include <X11/extensions/Xrandr.h>
10258 main ()
10260 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10262 return 0;
10264 _ACEOF
10265 if ac_fn_c_try_compile "$LINENO"; then :
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10267 $as_echo_n "checking for -lXrandr... " >&6; }
10268 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_soname_save_LIBS=$LIBS
10272 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char XRRQueryExtension ();
10284 main ()
10286 return XRRQueryExtension ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 case "$LIBEXT" in
10293 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10294 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'` ;;
10295 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10296 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10297 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10298 fi ;;
10299 esac
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_soname_save_LIBS
10305 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10307 $as_echo "not found" >&6; }
10309 else
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10311 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10313 cat >>confdefs.h <<_ACEOF
10314 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10315 _ACEOF
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 #include <X11/Xlib.h>
10320 #include <X11/extensions/Xrandr.h>
10322 main ()
10324 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_compile "$LINENO"; then :
10331 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10339 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10340 case "x$with_xrandr" in
10341 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10342 xno) ;;
10343 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10344 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10345 esac
10348 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10349 then
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10352 #include <X11/Xlib.h>
10353 #include <X11/extensions/Xinerama.h>
10355 main ()
10357 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_compile "$LINENO"; then :
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10364 $as_echo_n "checking for -lXinerama... " >&6; }
10365 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_check_soname_save_LIBS=$LIBS
10369 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char XineramaQueryScreens ();
10381 main ()
10383 return XineramaQueryScreens ();
10385 return 0;
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389 case "$LIBEXT" in
10390 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10391 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'` ;;
10392 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10393 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10394 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10395 fi ;;
10396 esac
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 LIBS=$ac_check_soname_save_LIBS
10402 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10404 $as_echo "not found" >&6; }
10406 else
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10408 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10410 cat >>confdefs.h <<_ACEOF
10411 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10412 _ACEOF
10417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10419 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10420 case "x$with_xinerama" in
10421 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10422 xno) ;;
10423 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10424 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10425 esac
10428 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10429 then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10431 $as_echo_n "checking for -lXcomposite... " >&6; }
10432 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_check_soname_save_LIBS=$LIBS
10436 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10443 #ifdef __cplusplus
10444 extern "C"
10445 #endif
10446 char XCompositeRedirectWindow ();
10448 main ()
10450 return XCompositeRedirectWindow ();
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 case "$LIBEXT" in
10457 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10461 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 fi ;;
10463 esac
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_soname_save_LIBS
10469 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10473 else
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10475 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10477 cat >>confdefs.h <<_ACEOF
10478 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10479 _ACEOF
10484 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10485 case "x$with_xcomposite" in
10486 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10487 xno) ;;
10488 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10489 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10490 esac
10493 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10494 #include <X11/Xlib.h>
10495 #endif
10497 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10499 cat >>confdefs.h <<_ACEOF
10500 #define HAVE_XICCALLBACK_CALLBACK 1
10501 _ACEOF
10505 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10506 #include <X11/Xlib.h>
10507 #endif
10509 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10511 cat >>confdefs.h <<_ACEOF
10512 #define HAVE_XEVENT_XCOOKIE 1
10513 _ACEOF
10520 opengl_msg=""
10521 if test "x$with_opengl" != "xno"
10522 then
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10524 $as_echo_n "checking for -lGL... " >&6; }
10525 if ${ac_cv_lib_soname_GL+:} false; then :
10526 $as_echo_n "(cached) " >&6
10527 else
10528 ac_check_soname_save_LIBS=$LIBS
10529 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10536 #ifdef __cplusplus
10537 extern "C"
10538 #endif
10539 char glXCreateContext ();
10541 main ()
10543 return glXCreateContext ();
10545 return 0;
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 case "$LIBEXT" in
10550 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10551 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'` ;;
10552 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10553 if ${ac_cv_lib_soname_GL:+false} :; then :
10554 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10555 fi ;;
10556 esac
10558 rm -f core conftest.err conftest.$ac_objext \
10559 conftest$ac_exeext conftest.$ac_ext
10560 LIBS=$ac_check_soname_save_LIBS
10562 if ${ac_cv_lib_soname_GL:+false} :; then :
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10564 $as_echo "not found" >&6; }
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10566 $as_echo_n "checking for -lGL... " >&6; }
10567 if ${ac_cv_lib_soname_GL+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 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"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char glXCreateContext ();
10583 main ()
10585 return glXCreateContext ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_GL:+false} :; then :
10596 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_GL:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10607 if test -f /usr/X11R6/lib/libGL.a
10608 then
10609 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10610 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10611 else
10612 opengl_msg="No OpenGL library found on this system."
10614 else
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10616 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10618 cat >>confdefs.h <<_ACEOF
10619 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10620 _ACEOF
10622 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"
10624 else
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10626 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10628 cat >>confdefs.h <<_ACEOF
10629 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10630 _ACEOF
10632 OPENGL_LIBS="-lGL"
10634 if test "x$with_glu" != "xno"
10635 then
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10637 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10638 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10639 $as_echo_n "(cached) " >&6
10640 else
10641 ac_check_lib_save_LIBS=$LIBS
10642 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10649 #ifdef __cplusplus
10650 extern "C"
10651 #endif
10652 char gluLookAt ();
10654 main ()
10656 return gluLookAt ();
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 ac_cv_lib_GLU_gluLookAt=yes
10663 else
10664 ac_cv_lib_GLU_gluLookAt=no
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 LIBS=$ac_check_lib_save_LIBS
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10671 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10672 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10676 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10677 case "x$with_glu" in
10678 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10679 xno) ;;
10680 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10681 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10682 esac
10686 if test "x$with_osmesa" != "xno"
10687 then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10689 $as_echo_n "checking for -lOSMesa... " >&6; }
10690 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10691 $as_echo_n "(cached) " >&6
10692 else
10693 ac_check_soname_save_LIBS=$LIBS
10694 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10701 #ifdef __cplusplus
10702 extern "C"
10703 #endif
10704 char glAccum ();
10706 main ()
10708 return glAccum ();
10710 return 0;
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 case "$LIBEXT" in
10715 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10716 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'` ;;
10717 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10718 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10719 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10720 fi ;;
10721 esac
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 LIBS=$ac_check_soname_save_LIBS
10727 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10729 $as_echo "not found" >&6; }
10731 else
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10733 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10735 cat >>confdefs.h <<_ACEOF
10736 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10737 _ACEOF
10741 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10742 case "x$with_osmesa" in
10743 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10744 xno) ;;
10745 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10746 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10747 esac
10751 if test -n "$opengl_msg"; then :
10752 case "x$with_opengl" in
10753 x) as_fn_append wine_warnings "|$opengl_msg
10754 OpenGL and Direct3D won't be supported." ;;
10755 xno) ;;
10756 *) as_fn_error $? "$opengl_msg
10757 OpenGL and Direct3D won't be supported.
10758 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10759 esac
10762 CPPFLAGS="$ac_save_CPPFLAGS"
10763 else
10764 X_CFLAGS=""
10765 X_LIBS=""
10766 enable_winex11_drv=${enable_winex11_drv:-no}
10768 if test "x$X_LIBS" = "x"; then :
10769 case "x$with_x" in
10770 xno) ;;
10771 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10772 without X support, which probably isn't what you want. You will need
10773 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10774 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10775 esac
10778 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10780 if test "$ac_cv_header_CL_cl_h" = "yes"
10781 then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10783 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10784 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lOpenCL $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char clGetPlatformInfo ();
10800 main ()
10802 return clGetPlatformInfo ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10809 else
10810 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10817 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10818 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10819 OPENCL_LIBS="-lOpenCL"
10824 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10825 case "x$with_opencl" in
10826 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10827 xno) ;;
10828 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10829 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10830 esac
10832 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10834 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10835 then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10837 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10838 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 ac_check_lib_save_LIBS=$LIBS
10842 LIBS="-lpcap $LIBS"
10843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char pcap_create ();
10854 main ()
10856 return pcap_create ();
10858 return 0;
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"; then :
10862 ac_cv_lib_pcap_pcap_create=yes
10863 else
10864 ac_cv_lib_pcap_pcap_create=no
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 LIBS=$ac_check_lib_save_LIBS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10871 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10872 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10873 LIBPCAP="-lpcap"
10878 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10879 case "x$with_pcap" in
10880 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10881 xno) ;;
10882 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10883 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10884 esac
10886 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10889 if test "x$with_xml" != "xno"
10890 then
10891 if ${XML2_CFLAGS:+false} :; then :
10892 if ${PKG_CONFIG+:} false; then :
10893 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10896 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10897 if ${XML2_LIBS:+false} :; then :
10898 if ${PKG_CONFIG+:} false; then :
10899 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10902 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10903 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10904 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10905 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10906 ac_save_CPPFLAGS=$CPPFLAGS
10907 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10908 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10909 do :
10910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10911 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10913 cat >>confdefs.h <<_ACEOF
10914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10915 _ACEOF
10919 done
10921 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"
10922 then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10924 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10925 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10926 $as_echo_n "(cached) " >&6
10927 else
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-lxml2 $XML2_LIBS $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char xmlParseMemory ();
10941 main ()
10943 return xmlParseMemory ();
10945 return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_xml2_xmlParseMemory=yes
10950 else
10951 ac_cv_lib_xml2_xmlParseMemory=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10958 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10959 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10961 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10963 else
10964 XML2_LIBS=""
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10968 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10969 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10970 $as_echo_n "(cached) " >&6
10971 else
10972 ac_check_lib_save_LIBS=$LIBS
10973 LIBS="-lxml2 $XML2_LIBS $LIBS"
10974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h. */
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char xmlReadMemory ();
10985 main ()
10987 return xmlReadMemory ();
10989 return 0;
10991 _ACEOF
10992 if ac_fn_c_try_link "$LINENO"; then :
10993 ac_cv_lib_xml2_xmlReadMemory=yes
10994 else
10995 ac_cv_lib_xml2_xmlReadMemory=no
10997 rm -f core conftest.err conftest.$ac_objext \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_lib_save_LIBS
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11002 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11003 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11005 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11010 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char xmlNewDocPI ();
11027 main ()
11029 return xmlNewDocPI ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_xml2_xmlNewDocPI=yes
11036 else
11037 ac_cv_lib_xml2_xmlNewDocPI=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11047 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11052 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char xmlSchemaSetParserStructuredErrors ();
11069 main ()
11071 return xmlSchemaSetParserStructuredErrors ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11078 else
11079 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11089 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11094 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11095 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $XML2_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char xmlSchemaSetValidStructuredErrors ();
11111 main ()
11113 return xmlSchemaSetValidStructuredErrors ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11120 else
11121 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11128 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11129 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11131 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11136 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char xmlFirstElementChild ();
11153 main ()
11155 return xmlFirstElementChild ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_xml2_xmlFirstElementChild=yes
11162 else
11163 ac_cv_lib_xml2_xmlFirstElementChild=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11173 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11177 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11179 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11181 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11185 else
11186 XML2_CFLAGS=""
11187 XML2_LIBS=""
11189 CPPFLAGS=$ac_save_CPPFLAGS
11190 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11191 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11194 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11195 case "x$with_xml" in
11196 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11197 xno) ;;
11198 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11199 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11200 esac
11203 if test "x$with_xslt" != "xno"
11204 then
11205 if ${XSLT_CFLAGS:+false} :; then :
11206 if ${PKG_CONFIG+:} false; then :
11207 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11210 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11211 if ${XSLT_LIBS:+false} :; then :
11212 if ${PKG_CONFIG+:} false; then :
11213 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11216 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11217 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11218 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11219 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11220 ac_save_CPPFLAGS=$CPPFLAGS
11221 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11222 for ac_header in libxslt/pattern.h libxslt/transform.h
11223 do :
11224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11225 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11226 # include <libxslt/pattern.h>
11227 #endif
11229 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11230 cat >>confdefs.h <<_ACEOF
11231 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11232 _ACEOF
11236 done
11238 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11239 then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11241 $as_echo_n "checking for -lxslt... " >&6; }
11242 if ${ac_cv_lib_soname_xslt+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_soname_save_LIBS=$LIBS
11246 LIBS="-lxslt $XSLT_LIBS $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char xsltCompilePattern ();
11258 main ()
11260 return xsltCompilePattern ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 case "$LIBEXT" in
11267 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 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'` ;;
11269 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11270 if ${ac_cv_lib_soname_xslt:+false} :; then :
11271 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11272 fi ;;
11273 esac
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_soname_save_LIBS
11279 if ${ac_cv_lib_soname_xslt:+false} :; then :
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11281 $as_echo "not found" >&6; }
11283 else
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11285 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11287 cat >>confdefs.h <<_ACEOF
11288 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11289 _ACEOF
11293 else
11294 XSLT_CFLAGS=""
11296 CPPFLAGS=$ac_save_CPPFLAGS
11297 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11298 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11301 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11302 case "x$with_xslt" in
11303 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11304 xno) ;;
11305 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11306 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11307 esac
11310 if test "x$with_dbus" != "xno"
11311 then
11312 if ${DBUS_CFLAGS:+false} :; then :
11313 if ${PKG_CONFIG+:} false; then :
11314 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11318 if ${DBUS_LIBS:+false} :; then :
11319 if ${PKG_CONFIG+:} false; then :
11320 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11325 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11326 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11327 ac_save_CPPFLAGS=$CPPFLAGS
11328 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11329 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11330 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11332 $as_echo_n "checking for -ldbus-1... " >&6; }
11333 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11334 $as_echo_n "(cached) " >&6
11335 else
11336 ac_check_soname_save_LIBS=$LIBS
11337 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11344 #ifdef __cplusplus
11345 extern "C"
11346 #endif
11347 char dbus_connection_close ();
11349 main ()
11351 return dbus_connection_close ();
11353 return 0;
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"; then :
11357 case "$LIBEXT" in
11358 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11359 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'` ;;
11360 *) 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'`
11361 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11362 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11363 fi ;;
11364 esac
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_soname_save_LIBS
11370 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11372 $as_echo "not found" >&6; }
11373 DBUS_CFLAGS=""
11374 else
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11376 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11378 cat >>confdefs.h <<_ACEOF
11379 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11380 _ACEOF
11384 else
11385 DBUS_CFLAGS=""
11389 CPPFLAGS=$ac_save_CPPFLAGS
11390 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11391 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11394 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11395 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11396 case "x$with_dbus" in
11397 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11398 xno) ;;
11399 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11400 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11401 esac
11404 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11405 then
11406 if ${HAL_CFLAGS:+false} :; then :
11407 if ${PKG_CONFIG+:} false; then :
11408 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11412 if ${HAL_LIBS:+false} :; then :
11413 if ${PKG_CONFIG+:} false; then :
11414 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11418 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11419 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11420 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11421 ac_save_CPPFLAGS=$CPPFLAGS
11422 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11423 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11424 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11426 $as_echo_n "checking for -lhal... " >&6; }
11427 if ${ac_cv_lib_soname_hal+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_soname_save_LIBS=$LIBS
11431 LIBS="-lhal $HAL_LIBS $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char libhal_ctx_new ();
11443 main ()
11445 return libhal_ctx_new ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 case "$LIBEXT" in
11452 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11453 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'` ;;
11454 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11455 if ${ac_cv_lib_soname_hal:+false} :; then :
11456 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11457 fi ;;
11458 esac
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_soname_save_LIBS
11464 if ${ac_cv_lib_soname_hal:+false} :; then :
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11466 $as_echo "not found" >&6; }
11467 HAL_CFLAGS=""
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11470 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11472 cat >>confdefs.h <<_ACEOF
11473 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11474 _ACEOF
11478 else
11479 HAL_CFLAGS=""
11483 CPPFLAGS=$ac_save_CPPFLAGS
11484 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11485 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11487 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11489 case "x$with_hal" in
11490 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11491 xno) ;;
11492 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11493 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11494 esac
11498 if test "x$with_gnutls" != "xno"
11499 then
11500 if ${GNUTLS_CFLAGS:+false} :; then :
11501 if ${PKG_CONFIG+:} false; then :
11502 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11506 if ${GNUTLS_LIBS:+false} :; then :
11507 if ${PKG_CONFIG+:} false; then :
11508 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11513 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11514 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11515 ac_save_CPPFLAGS=$CPPFLAGS
11516 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11517 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11518 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11521 #include <gnutls/gnutls.h>
11522 #include <gnutls/crypto.h>
11524 main ()
11526 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11528 return 0;
11530 _ACEOF
11531 if ac_fn_c_try_compile "$LINENO"; then :
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11533 $as_echo_n "checking for -lgnutls... " >&6; }
11534 if ${ac_cv_lib_soname_gnutls+:} false; then :
11535 $as_echo_n "(cached) " >&6
11536 else
11537 ac_check_soname_save_LIBS=$LIBS
11538 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11540 /* end confdefs.h. */
11542 /* Override any GCC internal prototype to avoid an error.
11543 Use char because int might match the return type of a GCC
11544 builtin and then its argument prototype would still apply. */
11545 #ifdef __cplusplus
11546 extern "C"
11547 #endif
11548 char gnutls_global_init ();
11550 main ()
11552 return gnutls_global_init ();
11554 return 0;
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"; then :
11558 case "$LIBEXT" in
11559 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11560 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'` ;;
11561 *) 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'`
11562 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11563 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'`
11564 fi ;;
11565 esac
11567 rm -f core conftest.err conftest.$ac_objext \
11568 conftest$ac_exeext conftest.$ac_ext
11569 LIBS=$ac_check_soname_save_LIBS
11571 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11573 $as_echo "not found" >&6; }
11574 GNUTLS_CFLAGS=""
11575 else
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11577 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11579 cat >>confdefs.h <<_ACEOF
11580 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11581 _ACEOF
11586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11587 else
11588 GNUTLS_CFLAGS=""
11592 CPPFLAGS=$ac_save_CPPFLAGS
11593 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11594 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11597 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11598 case "x$with_gnutls" in
11599 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11600 xno) ;;
11601 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11602 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11603 esac
11606 CURSES_LIBS=""
11607 if test "$ac_cv_header_ncurses_h" = "yes"
11608 then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11610 $as_echo_n "checking for -lncurses... " >&6; }
11611 if ${ac_cv_lib_soname_ncurses+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_soname_save_LIBS=$LIBS
11615 LIBS="-lncurses $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char waddch ();
11627 main ()
11629 return waddch ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 case "$LIBEXT" in
11636 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11637 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'` ;;
11638 *) 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'`
11639 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11640 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11641 fi ;;
11642 esac
11644 rm -f core conftest.err conftest.$ac_objext \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_soname_save_LIBS
11648 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11650 $as_echo "not found" >&6; }
11652 else
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11654 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11656 cat >>confdefs.h <<_ACEOF
11657 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11658 _ACEOF
11660 CURSES_LIBS="-lncurses"
11662 elif test "$ac_cv_header_curses_h" = "yes"
11663 then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11665 $as_echo_n "checking for -lcurses... " >&6; }
11666 if ${ac_cv_lib_soname_curses+:} false; then :
11667 $as_echo_n "(cached) " >&6
11668 else
11669 ac_check_soname_save_LIBS=$LIBS
11670 LIBS="-lcurses $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char waddch ();
11682 main ()
11684 return waddch ();
11686 return 0;
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 case "$LIBEXT" in
11691 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11692 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'` ;;
11693 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11694 if ${ac_cv_lib_soname_curses:+false} :; then :
11695 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11696 fi ;;
11697 esac
11699 rm -f core conftest.err conftest.$ac_objext \
11700 conftest$ac_exeext conftest.$ac_ext
11701 LIBS=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_curses:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11707 else
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11709 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11711 cat >>confdefs.h <<_ACEOF
11712 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11713 _ACEOF
11715 CURSES_LIBS="-lcurses"
11718 ac_save_LIBS="$LIBS"
11719 LIBS="$LIBS $CURSES_LIBS"
11720 for ac_func in mousemask
11721 do :
11722 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11723 if test "x$ac_cv_func_mousemask" = xyes; then :
11724 cat >>confdefs.h <<_ACEOF
11725 #define HAVE_MOUSEMASK 1
11726 _ACEOF
11729 done
11731 LIBS="$ac_save_LIBS"
11732 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11733 case "x$with_curses" in
11734 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11735 xno) ;;
11736 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11737 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11738 esac
11741 if test "x$with_sane" != "xno"
11742 then
11743 if ${SANE_CFLAGS:+false} :; then :
11744 if ${PKG_CONFIG+:} false; then :
11745 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11748 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11749 if ${SANE_LIBS:+false} :; then :
11750 if ${PKG_CONFIG+:} false; then :
11751 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11754 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11756 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11757 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11758 ac_save_CPPFLAGS=$CPPFLAGS
11759 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11760 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11761 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11763 $as_echo_n "checking for -lsane... " >&6; }
11764 if ${ac_cv_lib_soname_sane+:} false; then :
11765 $as_echo_n "(cached) " >&6
11766 else
11767 ac_check_soname_save_LIBS=$LIBS
11768 LIBS="-lsane $SANE_LIBS $LIBS"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char sane_init ();
11780 main ()
11782 return sane_init ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 case "$LIBEXT" in
11789 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11790 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'` ;;
11791 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11792 if ${ac_cv_lib_soname_sane:+false} :; then :
11793 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11794 fi ;;
11795 esac
11797 rm -f core conftest.err conftest.$ac_objext \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_soname_save_LIBS
11801 if ${ac_cv_lib_soname_sane:+false} :; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11803 $as_echo "not found" >&6; }
11804 SANE_CFLAGS=""
11805 else
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11807 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11809 cat >>confdefs.h <<_ACEOF
11810 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11811 _ACEOF
11815 else
11816 SANE_CFLAGS=""
11820 CPPFLAGS=$ac_save_CPPFLAGS
11821 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11822 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11825 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11826 case "x$with_sane" in
11827 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11828 xno) ;;
11829 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11830 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11831 esac
11834 if test "x$with_v4l" != "xno"
11835 then
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11837 $as_echo_n "checking for -lv4l1... " >&6; }
11838 if ${ac_cv_lib_soname_v4l1+:} false; then :
11839 $as_echo_n "(cached) " >&6
11840 else
11841 ac_check_soname_save_LIBS=$LIBS
11842 LIBS="-lv4l1 $LIBS"
11843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char v4l1_open ();
11854 main ()
11856 return v4l1_open ();
11858 return 0;
11860 _ACEOF
11861 if ac_fn_c_try_link "$LINENO"; then :
11862 case "$LIBEXT" in
11863 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11864 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'` ;;
11865 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11866 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11867 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11868 fi ;;
11869 esac
11871 rm -f core conftest.err conftest.$ac_objext \
11872 conftest$ac_exeext conftest.$ac_ext
11873 LIBS=$ac_check_soname_save_LIBS
11875 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11877 $as_echo "not found" >&6; }
11879 else
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11881 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11883 cat >>confdefs.h <<_ACEOF
11884 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11885 _ACEOF
11890 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11891 case "x$with_v4l" in
11892 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11893 xno) ;;
11894 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11895 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11896 esac
11899 if test "x$with_gphoto" != "xno"
11900 then
11901 if ${GPHOTO2_CFLAGS:+false} :; then :
11902 if ${PKG_CONFIG+:} false; then :
11903 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11906 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11907 if ${GPHOTO2_LIBS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11912 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11913 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11914 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11915 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11916 ac_save_CPPFLAGS=$CPPFLAGS
11917 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11918 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11919 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11921 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11922 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char gp_camera_new ();
11938 main ()
11940 return gp_camera_new ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_gphoto2_gp_camera_new=yes
11947 else
11948 ac_cv_lib_gphoto2_gp_camera_new=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11955 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11956 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11958 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11960 else
11961 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11964 else
11965 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11969 CPPFLAGS=$ac_save_CPPFLAGS
11970 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11971 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11973 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11979 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11984 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11985 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11988 ac_save_CPPFLAGS=$CPPFLAGS
11989 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11990 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11993 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11994 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char gp_port_info_list_new ();
12010 main ()
12012 return gp_port_info_list_new ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12019 else
12020 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12027 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12028 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12030 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12032 else
12033 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12036 else
12037 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12042 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12046 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12047 case "x$with_gphoto" in
12048 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12049 xno) ;;
12050 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12051 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12052 esac
12054 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12055 case "x$with_gphoto" in
12056 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12059 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "$ac_cv_header_resolv_h" = "yes"
12065 then
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12067 $as_echo_n "checking for resolver library... " >&6; }
12068 if ${ac_cv_have_resolv+:} false; then :
12069 $as_echo_n "(cached) " >&6
12070 else
12071 ac_save_LIBS="$LIBS"
12072 for lib in '' -lresolv
12074 LIBS="$lib $ac_save_LIBS"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12077 #ifdef HAVE_NETINET_IN_H
12078 #include <netinet/in.h>
12079 #endif
12080 #include <resolv.h>
12082 main ()
12084 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 ac_cv_have_resolv=${lib:-"none required"}
12091 else
12092 ac_cv_have_resolv="not found"
12094 rm -f core conftest.err conftest.$ac_objext \
12095 conftest$ac_exeext conftest.$ac_ext
12096 test "x$ac_cv_have_resolv" = "xnot found" || break
12097 done
12098 LIBS="$ac_save_LIBS"
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12101 $as_echo "$ac_cv_have_resolv" >&6; }
12103 case "$ac_cv_have_resolv" in
12104 "not found") ;;
12105 "none required")
12107 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12110 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12112 RESOLV_LIBS=$ac_cv_have_resolv
12114 esac
12117 if test "x$with_cms" != "xno"
12118 then
12119 if ${LCMS2_CFLAGS:+false} :; then :
12120 if ${PKG_CONFIG+:} false; then :
12121 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12125 if ${LCMS2_LIBS:+false} :; then :
12126 if ${PKG_CONFIG+:} false; then :
12127 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12131 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12132 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12133 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12134 ac_save_CPPFLAGS=$CPPFLAGS
12135 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12136 for ac_header in lcms2.h
12137 do :
12138 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12139 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12140 cat >>confdefs.h <<_ACEOF
12141 #define HAVE_LCMS2_H 1
12142 _ACEOF
12146 done
12148 if test "$ac_cv_header_lcms2_h" = "yes"
12149 then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12151 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12152 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char cmsOpenProfileFromFile ();
12168 main ()
12170 return cmsOpenProfileFromFile ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12177 else
12178 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12185 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12186 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12188 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12190 else
12191 LCMS2_LIBS=""
12194 else
12195 LCMS2_CFLAGS=""
12196 LCMS2_LIBS=""
12198 CPPFLAGS=$ac_save_CPPFLAGS
12199 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12203 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12204 case "x$with_cms" in
12205 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12206 xno) ;;
12207 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12208 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12209 esac
12212 if test "x$with_freetype" != "xno"
12213 then
12214 if ${FREETYPE_CFLAGS:+false} :; then :
12215 if ${PKG_CONFIG+:} false; then :
12216 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12219 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12220 if ${FREETYPE_LIBS:+false} :; then :
12221 if ${PKG_CONFIG+:} false; then :
12222 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12225 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12226 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12227 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12228 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12229 ac_save_CPPFLAGS=$CPPFLAGS
12230 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12231 for ac_header in ft2build.h
12232 do :
12233 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12234 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12235 cat >>confdefs.h <<_ACEOF
12236 #define HAVE_FT2BUILD_H 1
12237 _ACEOF
12241 done
12243 if test "$ac_cv_header_ft2build_h" = "yes"
12244 then
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12246 $as_echo_n "checking for -lfreetype... " >&6; }
12247 if ${ac_cv_lib_soname_freetype+:} false; then :
12248 $as_echo_n "(cached) " >&6
12249 else
12250 ac_check_soname_save_LIBS=$LIBS
12251 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 /* Override any GCC internal prototype to avoid an error.
12256 Use char because int might match the return type of a GCC
12257 builtin and then its argument prototype would still apply. */
12258 #ifdef __cplusplus
12259 extern "C"
12260 #endif
12261 char FT_Init_FreeType ();
12263 main ()
12265 return FT_Init_FreeType ();
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_link "$LINENO"; then :
12271 case "$LIBEXT" in
12272 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12273 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'` ;;
12274 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12275 if ${ac_cv_lib_soname_freetype:+false} :; then :
12276 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12277 fi ;;
12278 esac
12280 rm -f core conftest.err conftest.$ac_objext \
12281 conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_soname_save_LIBS
12284 if ${ac_cv_lib_soname_freetype:+false} :; then :
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12286 $as_echo "not found" >&6; }
12287 FREETYPE_LIBS=""
12288 else
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12290 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12292 cat >>confdefs.h <<_ACEOF
12293 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12294 _ACEOF
12297 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12299 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12300 #include FT_MODULE_H
12302 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12304 cat >>confdefs.h <<_ACEOF
12305 #define HAVE_FT_TRUETYPEENGINETYPE 1
12306 _ACEOF
12312 else
12313 FREETYPE_CFLAGS=""
12314 FREETYPE_LIBS=""
12316 CPPFLAGS=$ac_save_CPPFLAGS
12317 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12318 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12321 if test "x$ac_cv_lib_soname_freetype" = x; then :
12322 case "x$with_freetype" in
12323 xno) ;;
12324 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12325 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12326 esac
12328 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12331 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12332 if ${ac_cv_c_ppdev+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337 #ifdef HAVE_SYS_IOCTL_H
12338 # include <sys/ioctl.h>
12339 #endif
12340 #include <linux/ppdev.h>
12342 main ()
12344 ioctl (1,PPCLAIM,0)
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_compile "$LINENO"; then :
12350 ac_cv_c_ppdev="yes"
12351 else
12352 ac_cv_c_ppdev="no"
12354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12357 $as_echo "$ac_cv_c_ppdev" >&6; }
12358 if test "$ac_cv_c_ppdev" = "yes"
12359 then
12361 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12365 ac_wine_check_funcs_save_LIBS="$LIBS"
12366 LIBS="$LIBS $PTHREAD_LIBS"
12367 for ac_func in \
12368 pthread_attr_get_np \
12369 pthread_getattr_np \
12370 pthread_getthreadid_np \
12371 pthread_get_stackaddr_np \
12372 pthread_get_stacksize_np
12373 do :
12374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12376 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12377 cat >>confdefs.h <<_ACEOF
12378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12379 _ACEOF
12382 done
12384 LIBS="$ac_wine_check_funcs_save_LIBS"
12386 if test "$ac_cv_header_zlib_h" = "yes"
12387 then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12389 $as_echo_n "checking for inflate in -lz... " >&6; }
12390 if ${ac_cv_lib_z_inflate+:} false; then :
12391 $as_echo_n "(cached) " >&6
12392 else
12393 ac_check_lib_save_LIBS=$LIBS
12394 LIBS="-lz $LIBS"
12395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12398 /* Override any GCC internal prototype to avoid an error.
12399 Use char because int might match the return type of a GCC
12400 builtin and then its argument prototype would still apply. */
12401 #ifdef __cplusplus
12402 extern "C"
12403 #endif
12404 char inflate ();
12406 main ()
12408 return inflate ();
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_link "$LINENO"; then :
12414 ac_cv_lib_z_inflate=yes
12415 else
12416 ac_cv_lib_z_inflate=no
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 LIBS=$ac_check_lib_save_LIBS
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12423 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12424 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12426 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12428 Z_LIBS="-lz"
12433 if test "x$Z_LIBS" = "x"; then :
12434 case "x$with_zlib" in
12435 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12436 xno) ;;
12437 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12438 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12439 esac
12442 if test "x$enable_tools" != xno
12443 then
12444 if test "$ac_cv_header_gettext_po_h" = "yes"
12445 then
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12447 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12448 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
12451 ac_check_lib_save_LIBS=$LIBS
12452 LIBS="-lgettextpo $LIBS"
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12459 #ifdef __cplusplus
12460 extern "C"
12461 #endif
12462 char po_message_msgctxt ();
12464 main ()
12466 return po_message_msgctxt ();
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_link "$LINENO"; then :
12472 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12473 else
12474 ac_cv_lib_gettextpo_po_message_msgctxt=no
12476 rm -f core conftest.err conftest.$ac_objext \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_lib_save_LIBS
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12481 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12482 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12484 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12486 GETTEXTPO_LIBS="-lgettextpo"
12491 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12492 case "x$with_gettextpo" in
12493 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12494 xno) ;;
12495 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12496 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12497 esac
12501 if test "x$with_gstreamer" != "xno"
12502 then
12503 if ${GSTREAMER_CFLAGS:+false} :; then :
12504 if ${PKG_CONFIG+:} false; then :
12505 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12509 if ${GSTREAMER_LIBS:+false} :; then :
12510 if ${PKG_CONFIG+:} false; then :
12511 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12516 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12517 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12518 ac_save_CPPFLAGS=$CPPFLAGS
12519 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12520 ac_gst_incl=""
12521 for i in $GSTREAMER_CFLAGS
12523 case "$i" in
12524 -I*) ac_gst_incl="$ac_gst_incl $i";;
12525 esac
12526 done
12527 GSTREAMER_CFLAGS=$ac_gst_incl
12528 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12529 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12530 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12531 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12532 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12534 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12537 #include <gst/app/gstappsink.h>
12539 main ()
12541 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12543 return 0;
12545 _ACEOF
12546 if ac_fn_c_try_compile "$LINENO"; then :
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12548 $as_echo "yes" >&6; }
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12550 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12551 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12552 $as_echo_n "(cached) " >&6
12553 else
12554 ac_check_lib_save_LIBS=$LIBS
12555 LIBS="-lgstreamer-0.10 $LIBS"
12556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557 /* end confdefs.h. */
12559 /* Override any GCC internal prototype to avoid an error.
12560 Use char because int might match the return type of a GCC
12561 builtin and then its argument prototype would still apply. */
12562 #ifdef __cplusplus
12563 extern "C"
12564 #endif
12565 char gst_pad_get_caps_reffed ();
12567 main ()
12569 return gst_pad_get_caps_reffed ();
12571 return 0;
12573 _ACEOF
12574 if ac_fn_c_try_link "$LINENO"; then :
12575 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12576 else
12577 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12579 rm -f core conftest.err conftest.$ac_objext \
12580 conftest$ac_exeext conftest.$ac_ext
12581 LIBS=$ac_check_lib_save_LIBS
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12584 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12585 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12587 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12588 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_lib_save_LIBS=$LIBS
12592 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char gst_app_buffer_new ();
12604 main ()
12606 return gst_app_buffer_new ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12613 else
12614 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 LIBS=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12621 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12622 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12628 else
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12636 else
12637 GSTREAMER_CFLAGS=""
12641 CPPFLAGS=$ac_save_CPPFLAGS
12642 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12643 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12646 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12647 case "x$with_gstreamer" in
12648 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12649 xno) ;;
12650 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12651 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12652 esac
12654 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12656 ALSA_LIBS=""
12658 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12659 then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12661 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12662 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12663 $as_echo_n "(cached) " >&6
12664 else
12665 ac_check_lib_save_LIBS=$LIBS
12666 LIBS="-lasound $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char snd_pcm_hw_params_get_access_mask ();
12678 main ()
12680 return snd_pcm_hw_params_get_access_mask ();
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_link "$LINENO"; then :
12686 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12687 else
12688 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12690 rm -f core conftest.err conftest.$ac_objext \
12691 conftest$ac_exeext conftest.$ac_ext
12692 LIBS=$ac_check_lib_save_LIBS
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12695 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12696 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12699 #ifdef HAVE_ALSA_ASOUNDLIB_H
12700 #include <alsa/asoundlib.h>
12701 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12702 #include <sys/asoundlib.h>
12703 #endif
12705 main ()
12707 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_compile "$LINENO"; then :
12713 ALSA_LIBS="-lasound"
12715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12720 if test "x$with_oss" != xno
12721 then
12722 ac_save_CPPFLAGS="$CPPFLAGS"
12723 if test -f /etc/oss.conf
12724 then
12725 . /etc/oss.conf
12727 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12728 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12729 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12730 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12731 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12733 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12735 cat >>confdefs.h <<_ACEOF
12736 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12737 _ACEOF
12739 OSS4_CFLAGS="$ac_oss_incl"
12746 CPPFLAGS="$ac_save_CPPFLAGS"
12747 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12748 then
12749 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12753 if test "x$with_capi" != "xno"
12754 then
12755 if ${CAPI20_CFLAGS:+false} :; then :
12756 if ${PKG_CONFIG+:} false; then :
12757 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12761 if ${CAPI20_LIBS:+false} :; then :
12762 if ${PKG_CONFIG+:} false; then :
12763 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12768 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12769 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12770 ac_save_CPPFLAGS=$CPPFLAGS
12771 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12772 for ac_header in capi20.h linux/capi.h
12773 do :
12774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12778 cat >>confdefs.h <<_ACEOF
12779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12780 _ACEOF
12784 done
12786 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12787 then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12789 $as_echo_n "checking for -lcapi20... " >&6; }
12790 if ${ac_cv_lib_soname_capi20+:} false; then :
12791 $as_echo_n "(cached) " >&6
12792 else
12793 ac_check_soname_save_LIBS=$LIBS
12794 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12798 /* Override any GCC internal prototype to avoid an error.
12799 Use char because int might match the return type of a GCC
12800 builtin and then its argument prototype would still apply. */
12801 #ifdef __cplusplus
12802 extern "C"
12803 #endif
12804 char capi20_register ();
12806 main ()
12808 return capi20_register ();
12810 return 0;
12812 _ACEOF
12813 if ac_fn_c_try_link "$LINENO"; then :
12814 case "$LIBEXT" in
12815 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12816 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'` ;;
12817 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12818 if ${ac_cv_lib_soname_capi20:+false} :; then :
12819 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12820 fi ;;
12821 esac
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_soname_save_LIBS
12827 if ${ac_cv_lib_soname_capi20:+false} :; then :
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12829 $as_echo "not found" >&6; }
12831 else
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12833 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12835 cat >>confdefs.h <<_ACEOF
12836 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12837 _ACEOF
12842 CPPFLAGS=$ac_save_CPPFLAGS
12843 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12844 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12847 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12848 case "x$with_capi" in
12849 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12850 xno) ;;
12851 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12852 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12853 esac
12856 CUPS_CFLAGS=""
12858 if test "x$with_cups" != "xno"
12859 then
12860 ac_save_CPPFLAGS="$CPPFLAGS"
12861 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12862 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12863 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12864 for ac_header in cups/cups.h
12865 do :
12866 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12867 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12868 cat >>confdefs.h <<_ACEOF
12869 #define HAVE_CUPS_CUPS_H 1
12870 _ACEOF
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12872 $as_echo_n "checking for -lcups... " >&6; }
12873 if ${ac_cv_lib_soname_cups+:} false; then :
12874 $as_echo_n "(cached) " >&6
12875 else
12876 ac_check_soname_save_LIBS=$LIBS
12877 LIBS="-lcups $ac_cups_libs $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 #ifdef __cplusplus
12885 extern "C"
12886 #endif
12887 char cupsGetDefault ();
12889 main ()
12891 return cupsGetDefault ();
12893 return 0;
12895 _ACEOF
12896 if ac_fn_c_try_link "$LINENO"; then :
12897 case "$LIBEXT" in
12898 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12899 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'` ;;
12900 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12901 if ${ac_cv_lib_soname_cups:+false} :; then :
12902 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12903 fi ;;
12904 esac
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_soname_save_LIBS
12910 if ${ac_cv_lib_soname_cups:+false} :; then :
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12912 $as_echo "not found" >&6; }
12914 else
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12916 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12918 cat >>confdefs.h <<_ACEOF
12919 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12920 _ACEOF
12922 CUPS_CFLAGS="$ac_cups_cflags"
12926 done
12928 CPPFLAGS="$ac_save_CPPFLAGS"
12930 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12931 case "x$with_cups" in
12932 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12933 xno) ;;
12934 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12935 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12936 esac
12939 if test "x$with_fontconfig" != "xno"
12940 then
12941 if ${FONTCONFIG_CFLAGS:+false} :; then :
12942 if ${PKG_CONFIG+:} false; then :
12943 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12946 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12947 if ${FONTCONFIG_LIBS:+false} :; then :
12948 if ${PKG_CONFIG+:} false; then :
12949 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12952 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12954 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12955 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12956 ac_save_CPPFLAGS=$CPPFLAGS
12957 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12958 for ac_header in fontconfig/fontconfig.h
12959 do :
12960 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12961 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12964 _ACEOF
12968 done
12970 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12971 then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12973 $as_echo_n "checking for -lfontconfig... " >&6; }
12974 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12975 $as_echo_n "(cached) " >&6
12976 else
12977 ac_check_soname_save_LIBS=$LIBS
12978 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12982 /* Override any GCC internal prototype to avoid an error.
12983 Use char because int might match the return type of a GCC
12984 builtin and then its argument prototype would still apply. */
12985 #ifdef __cplusplus
12986 extern "C"
12987 #endif
12988 char FcInit ();
12990 main ()
12992 return FcInit ();
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_link "$LINENO"; then :
12998 case "$LIBEXT" in
12999 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13000 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'` ;;
13001 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13002 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13003 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13004 fi ;;
13005 esac
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_soname_save_LIBS
13011 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13013 $as_echo "not found" >&6; }
13014 FONTCONFIG_CFLAGS=""
13015 else
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13017 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13019 cat >>confdefs.h <<_ACEOF
13020 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13021 _ACEOF
13025 else
13026 FONTCONFIG_CFLAGS=""
13028 CPPFLAGS=$ac_save_CPPFLAGS
13029 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13030 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13033 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13034 case "x$with_fontconfig" in
13035 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13036 xno) ;;
13037 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13038 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13039 esac
13042 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13043 then
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13045 $as_echo_n "checking for -lgsm... " >&6; }
13046 if ${ac_cv_lib_soname_gsm+:} false; then :
13047 $as_echo_n "(cached) " >&6
13048 else
13049 ac_check_soname_save_LIBS=$LIBS
13050 LIBS="-lgsm $LIBS"
13051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13052 /* end confdefs.h. */
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13057 #ifdef __cplusplus
13058 extern "C"
13059 #endif
13060 char gsm_create ();
13062 main ()
13064 return gsm_create ();
13066 return 0;
13068 _ACEOF
13069 if ac_fn_c_try_link "$LINENO"; then :
13070 case "$LIBEXT" in
13071 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13072 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'` ;;
13073 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13074 if ${ac_cv_lib_soname_gsm:+false} :; then :
13075 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13076 fi ;;
13077 esac
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 LIBS=$ac_check_soname_save_LIBS
13083 if ${ac_cv_lib_soname_gsm:+false} :; then :
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13085 $as_echo "not found" >&6; }
13087 else
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13089 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13091 cat >>confdefs.h <<_ACEOF
13092 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13093 _ACEOF
13098 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13099 case "x$with_gsm" in
13100 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13101 xno) ;;
13102 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13103 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13104 esac
13107 if test "x$with_jpeg" != "xno"
13108 then
13109 if ${JPEG_CFLAGS:+false} :; then :
13110 if ${PKG_CONFIG+:} false; then :
13111 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13115 if ${JPEG_LIBS:+false} :; then :
13116 if ${PKG_CONFIG+:} false; then :
13117 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13122 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13123 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13124 ac_save_CPPFLAGS=$CPPFLAGS
13125 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13126 for ac_header in jpeglib.h
13127 do :
13128 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13129 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13130 cat >>confdefs.h <<_ACEOF
13131 #define HAVE_JPEGLIB_H 1
13132 _ACEOF
13136 done
13138 if test "$ac_cv_header_jpeglib_h" = "yes"
13139 then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13141 $as_echo_n "checking for -ljpeg... " >&6; }
13142 if ${ac_cv_lib_soname_jpeg+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_soname_save_LIBS=$LIBS
13146 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char jpeg_start_decompress ();
13158 main ()
13160 return jpeg_start_decompress ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 case "$LIBEXT" in
13167 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13168 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'` ;;
13169 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13170 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13171 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13172 fi ;;
13173 esac
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_soname_save_LIBS
13179 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13181 $as_echo "not found" >&6; }
13182 JPEG_CFLAGS=""
13183 else
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13185 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13187 cat >>confdefs.h <<_ACEOF
13188 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13189 _ACEOF
13193 else
13194 JPEG_CFLAGS=""
13196 CPPFLAGS=$ac_save_CPPFLAGS
13197 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13198 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13201 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13202 case "x$with_jpeg" in
13203 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13206 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13207 esac
13210 if test "x$with_png" != "xno"
13211 then
13212 if ${PNG_CFLAGS:+false} :; then :
13213 if ${PKG_CONFIG+:} false; then :
13214 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13217 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13218 if ${PNG_LIBS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13223 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13225 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13227 ac_save_CPPFLAGS=$CPPFLAGS
13228 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13229 for ac_header in png.h
13230 do :
13231 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13232 if test "x$ac_cv_header_png_h" = xyes; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define HAVE_PNG_H 1
13235 _ACEOF
13239 done
13241 if test "$ac_cv_header_png_h" = "yes"
13242 then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13244 $as_echo_n "checking for -lpng... " >&6; }
13245 if ${ac_cv_lib_soname_png+:} false; then :
13246 $as_echo_n "(cached) " >&6
13247 else
13248 ac_check_soname_save_LIBS=$LIBS
13249 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char png_create_read_struct ();
13261 main ()
13263 return png_create_read_struct ();
13265 return 0;
13267 _ACEOF
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 case "$LIBEXT" in
13270 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13271 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'` ;;
13272 *) 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'`
13273 if ${ac_cv_lib_soname_png:+false} :; then :
13274 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13275 fi ;;
13276 esac
13278 rm -f core conftest.err conftest.$ac_objext \
13279 conftest$ac_exeext conftest.$ac_ext
13280 LIBS=$ac_check_soname_save_LIBS
13282 if ${ac_cv_lib_soname_png:+false} :; then :
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13284 $as_echo "not found" >&6; }
13285 PNG_CFLAGS=""
13286 else
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13288 $as_echo "$ac_cv_lib_soname_png" >&6; }
13290 cat >>confdefs.h <<_ACEOF
13291 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13292 _ACEOF
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13296 #include <png.h>
13298 main ()
13300 typeof(png_set_expand_gray_1_2_4_to_8) *p
13302 return 0;
13304 _ACEOF
13305 if ac_fn_c_try_compile "$LINENO"; then :
13307 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13312 else
13313 PNG_CFLAGS=""
13315 CPPFLAGS=$ac_save_CPPFLAGS
13316 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13317 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13320 if test "x$ac_cv_lib_soname_png" = "x"; then :
13321 case "x$with_png" in
13322 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13323 xno) ;;
13324 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13325 This is an error since --with-png was requested." "$LINENO" 5 ;;
13326 esac
13329 if test "x$with_tiff" != "xno"
13330 then
13331 if ${TIFF_CFLAGS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13337 if ${TIFF_LIBS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13344 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13345 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13346 ac_save_CPPFLAGS=$CPPFLAGS
13347 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13348 for ac_header in tiffio.h
13349 do :
13350 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13351 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13352 cat >>confdefs.h <<_ACEOF
13353 #define HAVE_TIFFIO_H 1
13354 _ACEOF
13358 done
13360 if test "$ac_cv_header_tiffio_h" = "yes"
13361 then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13363 $as_echo_n "checking for -ltiff... " >&6; }
13364 if ${ac_cv_lib_soname_tiff+:} false; then :
13365 $as_echo_n "(cached) " >&6
13366 else
13367 ac_check_soname_save_LIBS=$LIBS
13368 LIBS="-ltiff $TIFF_LIBS $LIBS"
13369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 /* Override any GCC internal prototype to avoid an error.
13373 Use char because int might match the return type of a GCC
13374 builtin and then its argument prototype would still apply. */
13375 #ifdef __cplusplus
13376 extern "C"
13377 #endif
13378 char TIFFClientOpen ();
13380 main ()
13382 return TIFFClientOpen ();
13384 return 0;
13386 _ACEOF
13387 if ac_fn_c_try_link "$LINENO"; then :
13388 case "$LIBEXT" in
13389 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13390 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'` ;;
13391 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13392 if ${ac_cv_lib_soname_tiff:+false} :; then :
13393 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13394 fi ;;
13395 esac
13397 rm -f core conftest.err conftest.$ac_objext \
13398 conftest$ac_exeext conftest.$ac_ext
13399 LIBS=$ac_check_soname_save_LIBS
13401 if ${ac_cv_lib_soname_tiff:+false} :; then :
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13403 $as_echo "not found" >&6; }
13405 else
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13407 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13409 cat >>confdefs.h <<_ACEOF
13410 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13411 _ACEOF
13416 CPPFLAGS=$ac_save_CPPFLAGS
13417 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13418 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13421 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13422 case "x$with_tiff" in
13423 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13424 xno) ;;
13425 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13426 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13427 esac
13430 if test "x$with_mpg123" != "xno"
13431 then
13432 if ${MPG123_CFLAGS:+false} :; then :
13433 if ${PKG_CONFIG+:} false; then :
13434 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13438 if ${MPG123_LIBS:+false} :; then :
13439 if ${PKG_CONFIG+:} false; then :
13440 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13444 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13445 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13446 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13447 ac_save_CPPFLAGS=$CPPFLAGS
13448 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13449 for ac_header in mpg123.h
13450 do :
13451 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13452 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13453 cat >>confdefs.h <<_ACEOF
13454 #define HAVE_MPG123_H 1
13455 _ACEOF
13459 done
13461 if test "$ac_cv_header_mpg123_h" = "yes"
13462 then
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13464 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13465 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 ac_check_lib_save_LIBS=$LIBS
13469 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13476 #ifdef __cplusplus
13477 extern "C"
13478 #endif
13479 char mpg123_feed ();
13481 main ()
13483 return mpg123_feed ();
13485 return 0;
13487 _ACEOF
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 ac_cv_lib_mpg123_mpg123_feed=yes
13490 else
13491 ac_cv_lib_mpg123_mpg123_feed=no
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS=$ac_check_lib_save_LIBS
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13498 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13499 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13501 else
13502 MPG123_LIBS=""
13505 else
13506 MPG123_CFLAGS=""
13507 MPG123_LIBS=""
13509 CPPFLAGS=$ac_save_CPPFLAGS
13510 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13511 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13514 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13515 case "x$with_mpg123" in
13516 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13517 xno) ;;
13518 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13519 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13520 esac
13522 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}
13524 if test "$ac_cv_header_AL_al_h" = "yes"
13525 then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13527 $as_echo_n "checking for -lopenal... " >&6; }
13528 if ${ac_cv_lib_soname_openal+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_check_soname_save_LIBS=$LIBS
13532 LIBS="-lopenal $LIBS"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13539 #ifdef __cplusplus
13540 extern "C"
13541 #endif
13542 char alGetSource3i ();
13544 main ()
13546 return alGetSource3i ();
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 case "$LIBEXT" in
13553 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13554 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'` ;;
13555 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13556 if ${ac_cv_lib_soname_openal:+false} :; then :
13557 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13558 fi ;;
13559 esac
13561 rm -f core conftest.err conftest.$ac_objext \
13562 conftest$ac_exeext conftest.$ac_ext
13563 LIBS=$ac_check_soname_save_LIBS
13565 if ${ac_cv_lib_soname_openal:+false} :; then :
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13567 $as_echo "not found" >&6; }
13569 else
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13571 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13573 cat >>confdefs.h <<_ACEOF
13574 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13575 _ACEOF
13577 OPENAL_LIBS="-lopenal"
13579 ac_cv_lib_openal=yes
13581 cat >>confdefs.h <<_ACEOF
13582 #define HAVE_OPENAL 1
13583 _ACEOF
13587 if test "x$ac_cv_lib_openal" != xyes; then :
13588 case "x$with_openal" in
13589 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13590 xno) ;;
13591 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13592 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13593 esac
13595 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13597 if test "$ac_cv_header_kstat_h" = "yes"
13598 then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13600 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13601 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_lib_save_LIBS=$LIBS
13605 LIBS="-lkstat $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char kstat_open ();
13617 main ()
13619 return kstat_open ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 ac_cv_lib_kstat_kstat_open=yes
13626 else
13627 ac_cv_lib_kstat_kstat_open=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13631 LIBS=$ac_check_lib_save_LIBS
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13634 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13635 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13637 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13639 KSTAT_LIBS="-lkstat"
13645 if test "$ac_cv_header_libprocstat_h" = "yes"
13646 then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13648 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13649 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_lib_save_LIBS=$LIBS
13653 LIBS="-lprocstat $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char procstat_open_sysctl ();
13665 main ()
13667 return procstat_open_sysctl ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 ac_cv_lib_procstat_procstat_open_sysctl=yes
13674 else
13675 ac_cv_lib_procstat_procstat_open_sysctl=no
13677 rm -f core conftest.err conftest.$ac_objext \
13678 conftest$ac_exeext conftest.$ac_ext
13679 LIBS=$ac_check_lib_save_LIBS
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13682 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13683 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13685 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13687 PROCSTAT_LIBS="-lprocstat"
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13694 $as_echo_n "checking for -lodbc... " >&6; }
13695 if ${ac_cv_lib_soname_odbc+:} false; then :
13696 $as_echo_n "(cached) " >&6
13697 else
13698 ac_check_soname_save_LIBS=$LIBS
13699 LIBS="-lodbc $LIBS"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13703 /* Override any GCC internal prototype to avoid an error.
13704 Use char because int might match the return type of a GCC
13705 builtin and then its argument prototype would still apply. */
13706 #ifdef __cplusplus
13707 extern "C"
13708 #endif
13709 char SQLConnect ();
13711 main ()
13713 return SQLConnect ();
13715 return 0;
13717 _ACEOF
13718 if ac_fn_c_try_link "$LINENO"; then :
13719 case "$LIBEXT" in
13720 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13721 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'` ;;
13722 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13723 if ${ac_cv_lib_soname_odbc:+false} :; then :
13724 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13725 fi ;;
13726 esac
13728 rm -f core conftest.err conftest.$ac_objext \
13729 conftest$ac_exeext conftest.$ac_ext
13730 LIBS=$ac_check_soname_save_LIBS
13732 if ${ac_cv_lib_soname_odbc:+false} :; then :
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13734 $as_echo "not found" >&6; }
13735 cat >>confdefs.h <<_ACEOF
13736 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13737 _ACEOF
13739 else
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13741 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13743 cat >>confdefs.h <<_ACEOF
13744 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13745 _ACEOF
13750 if test "x$with_netapi" != "xno"
13751 then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13753 $as_echo_n "checking for -lnetapi... " >&6; }
13754 if ${ac_cv_lib_soname_netapi+:} false; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 ac_check_soname_save_LIBS=$LIBS
13758 LIBS="-lnetapi $LIBS"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 /* Override any GCC internal prototype to avoid an error.
13763 Use char because int might match the return type of a GCC
13764 builtin and then its argument prototype would still apply. */
13765 #ifdef __cplusplus
13766 extern "C"
13767 #endif
13768 char libnetapi_init ();
13770 main ()
13772 return libnetapi_init ();
13774 return 0;
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778 case "$LIBEXT" in
13779 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13780 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'` ;;
13781 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13782 if ${ac_cv_lib_soname_netapi:+false} :; then :
13783 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13784 fi ;;
13785 esac
13787 rm -f core conftest.err conftest.$ac_objext \
13788 conftest$ac_exeext conftest.$ac_ext
13789 LIBS=$ac_check_soname_save_LIBS
13791 if ${ac_cv_lib_soname_netapi:+false} :; then :
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13793 $as_echo "not found" >&6; }
13794 cat >>confdefs.h <<_ACEOF
13795 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13796 _ACEOF
13798 else
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13800 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13802 cat >>confdefs.h <<_ACEOF
13803 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13804 _ACEOF
13810 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13811 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13812 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13813 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13815 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13816 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13817 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13818 then
13819 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13823 EXTRACFLAGS=""
13825 if test "x${GCC}" = "xyes"
13826 then
13827 EXTRACFLAGS="-Wall -pipe"
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13830 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13831 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 if test "$cross_compiling" = yes; then :
13835 ac_cv_c_gcc_strength_bug="no"
13836 else
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 int L[4] = {0,1,2,3};
13841 main ()
13843 static int Array[3];
13844 unsigned int B = 3;
13845 int i;
13846 for(i=0; i<B; i++) Array[i] = i - 3;
13847 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13848 L[i] = 4;
13849 return (Array[1] != -2 || L[2] != 3)
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_run "$LINENO"; then :
13855 ac_cv_c_gcc_strength_bug="no"
13856 else
13857 ac_cv_c_gcc_strength_bug="yes"
13859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13860 conftest.$ac_objext conftest.beam conftest.$ac_ext
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13865 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13866 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13867 then
13868 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13872 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13873 if ${ac_cv_cflags__fno_builtin+:} false; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 ac_wine_try_cflags_saved=$CFLAGS
13877 CFLAGS="$CFLAGS -fno-builtin"
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13880 int main(int argc, char **argv) { return 0; }
13881 _ACEOF
13882 if ac_fn_c_try_link "$LINENO"; then :
13883 ac_cv_cflags__fno_builtin=yes
13884 else
13885 ac_cv_cflags__fno_builtin=no
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 CFLAGS=$ac_wine_try_cflags_saved
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13892 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13893 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13894 BUILTINFLAG="-fno-builtin"
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13898 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13899 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_wine_try_cflags_saved=$CFLAGS
13903 CFLAGS="$CFLAGS -fno-strict-aliasing"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 int main(int argc, char **argv) { return 0; }
13907 _ACEOF
13908 if ac_fn_c_try_link "$LINENO"; then :
13909 ac_cv_cflags__fno_strict_aliasing=yes
13910 else
13911 ac_cv_cflags__fno_strict_aliasing=no
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 CFLAGS=$ac_wine_try_cflags_saved
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13918 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13919 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13920 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13922 saved_CFLAGS=$CFLAGS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13924 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13925 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928 ac_wine_try_cflags_saved=$CFLAGS
13929 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13931 /* end confdefs.h. */
13932 int main(int argc, char **argv) { return 0; }
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 ac_cv_cflags__Werror_unknown_warning_option=yes
13936 else
13937 ac_cv_cflags__Werror_unknown_warning_option=no
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 CFLAGS=$ac_wine_try_cflags_saved
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13944 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13945 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13946 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13949 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13950 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_wine_try_cflags_saved=$CFLAGS
13954 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13957 int main(int argc, char **argv) { return 0; }
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_cflags__Wdeclaration_after_statement=yes
13961 else
13962 ac_cv_cflags__Wdeclaration_after_statement=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 CFLAGS=$ac_wine_try_cflags_saved
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13969 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13970 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13971 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13974 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13975 if ${ac_cv_cflags__Wempty_body+:} false; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 ac_wine_try_cflags_saved=$CFLAGS
13979 CFLAGS="$CFLAGS -Wempty-body"
13980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13981 /* end confdefs.h. */
13982 int main(int argc, char **argv) { return 0; }
13983 _ACEOF
13984 if ac_fn_c_try_link "$LINENO"; then :
13985 ac_cv_cflags__Wempty_body=yes
13986 else
13987 ac_cv_cflags__Wempty_body=no
13989 rm -f core conftest.err conftest.$ac_objext \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13994 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13995 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13996 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13999 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14000 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_wine_try_cflags_saved=$CFLAGS
14004 CFLAGS="$CFLAGS -Wignored-qualifiers"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_cflags__Wignored_qualifiers=yes
14011 else
14012 ac_cv_cflags__Wignored_qualifiers=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 CFLAGS=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14019 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14020 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14021 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14024 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14025 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 ac_wine_try_cflags_saved=$CFLAGS
14029 CFLAGS="$CFLAGS -Wstrict-prototypes"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 int main(int argc, char **argv) { return 0; }
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"; then :
14035 ac_cv_cflags__Wstrict_prototypes=yes
14036 else
14037 ac_cv_cflags__Wstrict_prototypes=no
14039 rm -f core conftest.err conftest.$ac_objext \
14040 conftest$ac_exeext conftest.$ac_ext
14041 CFLAGS=$ac_wine_try_cflags_saved
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14044 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14045 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14046 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14049 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14050 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_wine_try_cflags_saved=$CFLAGS
14054 CFLAGS="$CFLAGS -Wtype-limits"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 int main(int argc, char **argv) { return 0; }
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 ac_cv_cflags__Wtype_limits=yes
14061 else
14062 ac_cv_cflags__Wtype_limits=no
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 CFLAGS=$ac_wine_try_cflags_saved
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14069 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14070 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14071 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14074 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14075 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_wine_try_cflags_saved=$CFLAGS
14079 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14082 int main(int argc, char **argv) { return 0; }
14083 _ACEOF
14084 if ac_fn_c_try_link "$LINENO"; then :
14085 ac_cv_cflags__Wunused_but_set_parameter=yes
14086 else
14087 ac_cv_cflags__Wunused_but_set_parameter=no
14089 rm -f core conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14091 CFLAGS=$ac_wine_try_cflags_saved
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14094 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14095 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14096 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14099 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14100 if ${ac_cv_cflags__Wvla+:} false; then :
14101 $as_echo_n "(cached) " >&6
14102 else
14103 ac_wine_try_cflags_saved=$CFLAGS
14104 CFLAGS="$CFLAGS -Wvla"
14105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14107 int main(int argc, char **argv) { return 0; }
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"; then :
14110 ac_cv_cflags__Wvla=yes
14111 else
14112 ac_cv_cflags__Wvla=no
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 CFLAGS=$ac_wine_try_cflags_saved
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14119 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14120 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14121 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14124 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14125 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_wine_try_cflags_saved=$CFLAGS
14129 CFLAGS="$CFLAGS -Wwrite-strings"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14132 int main(int argc, char **argv) { return 0; }
14133 _ACEOF
14134 if ac_fn_c_try_link "$LINENO"; then :
14135 ac_cv_cflags__Wwrite_strings=yes
14136 else
14137 ac_cv_cflags__Wwrite_strings=no
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 CFLAGS=$ac_wine_try_cflags_saved
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14144 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14145 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14146 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14150 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14151 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14152 $as_echo_n "(cached) " >&6
14153 else
14154 ac_wine_try_cflags_saved=$CFLAGS
14155 CFLAGS="$CFLAGS -Wpointer-arith"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 int main(int argc, char **argv) { return 0; }
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"; then :
14161 ac_cv_cflags__Wpointer_arith=yes
14162 else
14163 ac_cv_cflags__Wpointer_arith=no
14165 rm -f core conftest.err conftest.$ac_objext \
14166 conftest$ac_exeext conftest.$ac_ext
14167 CFLAGS=$ac_wine_try_cflags_saved
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14170 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14171 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14172 saved_string_h_CFLAGS=$CFLAGS
14173 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14175 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14176 if ${ac_cv_c_string_h_warnings+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14181 #include <string.h>
14183 main ()
14187 return 0;
14189 _ACEOF
14190 if ac_fn_c_try_compile "$LINENO"; then :
14191 ac_cv_c_string_h_warnings=no
14192 else
14193 ac_cv_c_string_h_warnings=yes
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14198 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14199 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14200 CFLAGS=$saved_string_h_CFLAGS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14204 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14205 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14206 $as_echo_n "(cached) " >&6
14207 else
14208 ac_wine_try_cflags_saved=$CFLAGS
14209 CFLAGS="$CFLAGS -Wlogical-op"
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 int main(int argc, char **argv) { return 0; }
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_cflags__Wlogical_op=yes
14216 else
14217 ac_cv_cflags__Wlogical_op=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 CFLAGS=$ac_wine_try_cflags_saved
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14224 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14225 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14226 saved_string_h_CFLAGS=$CFLAGS
14227 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14229 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14230 if ${ac_cv_c_logicalop_noisy+:} false; then :
14231 $as_echo_n "(cached) " >&6
14232 else
14233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14235 #include <string.h>
14236 char*f(const char *h,char n) {return strchr(h,n);}
14238 main ()
14242 return 0;
14244 _ACEOF
14245 if ac_fn_c_try_compile "$LINENO"; then :
14246 ac_cv_c_logicalop_noisy=no
14247 else
14248 ac_cv_c_logicalop_noisy=yes
14250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14253 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14254 CFLAGS=$saved_string_h_CFLAGS
14255 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14258 CFLAGS=$saved_CFLAGS
14260 for ac_flag in $CFLAGS; do
14261 case $ac_flag in
14262 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14263 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14264 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -gdwarf-2"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__gdwarf_2=yes
14275 else
14276 ac_cv_cflags__gdwarf_2=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14283 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14284 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14288 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14289 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 ac_wine_try_cflags_saved=$CFLAGS
14293 CFLAGS="$CFLAGS -gstrict-dwarf"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 int main(int argc, char **argv) { return 0; }
14297 _ACEOF
14298 if ac_fn_c_try_link "$LINENO"; then :
14299 ac_cv_cflags__gstrict_dwarf=yes
14300 else
14301 ac_cv_cflags__gstrict_dwarf=no
14303 rm -f core conftest.err conftest.$ac_objext \
14304 conftest$ac_exeext conftest.$ac_ext
14305 CFLAGS=$ac_wine_try_cflags_saved
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14308 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14309 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14310 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14311 fi ;;
14312 esac
14313 done
14315 case $host_cpu in
14316 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14317 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14318 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14319 $as_echo_n "(cached) " >&6
14320 else
14321 ac_wine_try_cflags_saved=$CFLAGS
14322 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 int main(int argc, char **argv) { return 0; }
14326 _ACEOF
14327 if ac_fn_c_try_link "$LINENO"; then :
14328 ac_cv_cflags__fno_omit_frame_pointer=yes
14329 else
14330 ac_cv_cflags__fno_omit_frame_pointer=no
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14334 CFLAGS=$ac_wine_try_cflags_saved
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14337 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14338 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14339 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14340 fi ;;
14341 esac
14343 case $host in
14344 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14345 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14346 if ${ac_cv_cflags__Wno_format+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 ac_wine_try_cflags_saved=$CFLAGS
14350 CFLAGS="$CFLAGS -Wno-format"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14353 int main(int argc, char **argv) { return 0; }
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"; then :
14356 ac_cv_cflags__Wno_format=yes
14357 else
14358 ac_cv_cflags__Wno_format=no
14360 rm -f core conftest.err conftest.$ac_objext \
14361 conftest$ac_exeext conftest.$ac_ext
14362 CFLAGS=$ac_wine_try_cflags_saved
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14365 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14366 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14367 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14368 fi ;;
14369 esac
14371 if test "x$enable_maintainer_mode" = "xyes"
14372 then
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14374 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14375 if ${ac_cv_cflags__Werror+:} false; then :
14376 $as_echo_n "(cached) " >&6
14377 else
14378 ac_wine_try_cflags_saved=$CFLAGS
14379 CFLAGS="$CFLAGS -Werror"
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14382 int main(int argc, char **argv) { return 0; }
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 ac_cv_cflags__Werror=yes
14386 else
14387 ac_cv_cflags__Werror=no
14389 rm -f core conftest.err conftest.$ac_objext \
14390 conftest$ac_exeext conftest.$ac_ext
14391 CFLAGS=$ac_wine_try_cflags_saved
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14394 $as_echo "$ac_cv_cflags__Werror" >&6; }
14395 if test "x$ac_cv_cflags__Werror" = xyes; then :
14396 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14400 saved_CFLAGS="$CFLAGS"
14401 CFLAGS="$CFLAGS -Werror"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14403 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14404 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14411 main ()
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_compile "$LINENO"; then :
14419 ac_cv_have_ms_hook_prologue="yes"
14420 else
14421 ac_cv_have_ms_hook_prologue="no"
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14426 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14427 CFLAGS="$saved_CFLAGS"
14428 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14429 then
14431 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14433 else
14434 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14441 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14442 if ${ac_cv_c_fortify_enabled+:} false; then :
14443 $as_echo_n "(cached) " >&6
14444 else
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14447 #include <string.h>
14449 main ()
14451 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14452 #error Fortify enabled
14453 #endif
14455 return 0;
14457 _ACEOF
14458 if ac_fn_c_try_compile "$LINENO"; then :
14459 ac_cv_c_fortify_enabled=no
14460 else
14461 ac_cv_c_fortify_enabled=yes
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14466 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14467 if test "$ac_cv_c_fortify_enabled" = yes
14468 then
14469 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14474 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14475 if ${ac_cv_c_extern_prefix+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14480 extern int ac_test;
14482 main ()
14484 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14486 return 0;
14488 _ACEOF
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 ac_cv_c_extern_prefix="yes"
14491 else
14492 ac_cv_c_extern_prefix="no"
14494 rm -f core conftest.err conftest.$ac_objext \
14495 conftest$ac_exeext conftest.$ac_ext
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14498 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14500 case $host_cpu in
14501 *i[3456789]86*)
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14503 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14504 if ${ac_cv_c_stdcall_suffix+:} false; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 #ifndef _MSC_VER
14510 #define __stdcall __attribute__((__stdcall__))
14511 #endif
14512 int __stdcall ac_test(int i) { return i; }
14514 main ()
14516 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_link "$LINENO"; then :
14522 ac_cv_c_stdcall_suffix="yes"
14523 else
14524 ac_cv_c_stdcall_suffix="no"
14526 rm -f core conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14530 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14531 *) ac_cv_c_stdcall_suffix="no" ;;
14532 esac
14535 if test "$ac_cv_c_extern_prefix" = "yes"
14536 then
14537 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14539 asm_name_prefix="_"
14540 else
14541 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14543 asm_name_prefix=""
14547 if test "$ac_cv_c_stdcall_suffix" = "yes"
14548 then
14549 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14551 else
14552 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14558 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14559 if ${ac_cv_asm_func_def+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14566 main ()
14568 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14570 return 0;
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_asm_func_def=".def"
14575 else
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14580 main ()
14582 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_asm_func_def=".type @function"
14589 else
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14594 main ()
14596 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_asm_func_def=".type 2"
14603 else
14604 ac_cv_asm_func_def="unknown"
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14616 $as_echo "$ac_cv_asm_func_def" >&6; }
14619 case "$ac_cv_asm_func_def" in
14620 ".def")
14621 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14623 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14624 ".type @function")
14625 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14627 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14628 ".type 2")
14629 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14631 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14633 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14635 asm_func_header="" ;;
14636 esac
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14639 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14640 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 asm(".text\n\t.long 0");
14647 main ()
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_compile "$LINENO"; then :
14655 ac_cv_c_asm_outside_funcs="yes"
14656 else
14657 ac_cv_c_asm_outside_funcs="no"
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14662 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14665 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14666 if ${ac_cv_c_dot_previous+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14673 main ()
14675 asm(".text\nac_test:\t.long 0\n\t.previous");
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_c_dot_previous="yes"
14682 else
14683 ac_cv_c_dot_previous="no"
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14689 $as_echo "$ac_cv_c_dot_previous" >&6; }
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14692 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14693 if ${ac_cv_c_cfi_support+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695 else
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14700 main ()
14704 return 0;
14706 _ACEOF
14707 if ac_fn_c_try_compile "$LINENO"; then :
14708 ac_cv_c_cfi_support="yes"
14709 else
14710 ac_cv_c_cfi_support="no"
14712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14715 $as_echo "$ac_cv_c_cfi_support" >&6; }
14717 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14718 asm_func_trailer=""
14719 if test "$ac_cv_c_dot_previous" = "yes"
14720 then
14721 asm_func_trailer="\\n\\t.previous"
14723 if test "$ac_cv_c_cfi_support" = "yes"
14724 then
14725 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14726 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14728 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14730 UNWINDFLAGS=-fasynchronous-unwind-tables
14732 else
14733 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14735 if test "x$enable_win64" = "xyes"
14736 then
14737 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14741 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14744 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14745 then
14746 cat >>confdefs.h <<_ACEOF
14747 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14748 _ACEOF
14750 else
14751 cat >>confdefs.h <<_ACEOF
14752 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14753 _ACEOF
14757 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14760 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14764 case $build_os in
14765 cygwin*|mingw32*) TOOLSEXT=".exe"
14767 esac
14769 case $host_os in
14770 linux*)
14771 case $host_cpu in
14772 *i[3456789]86*|x86_64*)
14773 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14774 loader_programs="$loader_programs $wine_binary-preloader"
14775 as_fn_append LOADER_RULES "
14776 $wine_binary-preloader: preloader.o
14777 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14779 install install-lib:: $wine_binary-preloader
14780 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14782 uninstall::
14783 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14785 preloader_EXTRADEFS = $BUILTINFLAG
14786 " ;;
14787 esac
14789 esac
14790 as_fn_append LOADER_RULES "
14791 PROGRAMS = $loader_programs
14795 ac_save_CFLAGS="$CFLAGS"
14796 CFLAGS="$CFLAGS $BUILTINFLAG"
14797 for ac_func in \
14798 __res_get_state \
14799 __res_getservers \
14800 _finite \
14801 _isnan \
14802 _pclose \
14803 _popen \
14804 _snprintf \
14805 _spawnvp \
14806 _strdup \
14807 _stricmp \
14808 _strnicmp \
14809 _strtoi64 \
14810 _strtoui64 \
14811 _vsnprintf \
14812 asctime_r \
14813 chsize \
14814 dlopen \
14815 epoll_create \
14816 ffs \
14817 finitef \
14818 fnmatch \
14819 fork \
14820 fpclass \
14821 fstatfs \
14822 fstatvfs \
14823 ftruncate \
14824 futimens \
14825 futimes \
14826 futimesat \
14827 getattrlist \
14828 getdirentries \
14829 getopt_long_only \
14830 getpwuid \
14831 gettimeofday \
14832 getuid \
14833 if_nameindex \
14834 isnanf \
14835 kqueue \
14836 lstat \
14837 memmove \
14838 mmap \
14839 pclose \
14840 pipe2 \
14841 poll \
14842 popen \
14843 port_create \
14844 prctl \
14845 pread \
14846 proc_pidinfo \
14847 pwrite \
14848 readdir \
14849 readlink \
14850 sched_yield \
14851 select \
14852 setproctitle \
14853 setrlimit \
14854 settimeofday \
14855 sigaltstack \
14856 sigprocmask \
14857 snprintf \
14858 statfs \
14859 statvfs \
14860 strcasecmp \
14861 strdup \
14862 strerror \
14863 strncasecmp \
14864 strtold \
14865 strtoll \
14866 strtoull \
14867 symlink \
14868 tcdrain \
14869 thr_kill2 \
14870 timegm \
14871 usleep \
14872 vsnprintf
14874 do :
14875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14878 cat >>confdefs.h <<_ACEOF
14879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14880 _ACEOF
14883 done
14885 CFLAGS="$ac_save_CFLAGS"
14887 if test "$ac_cv_func_dlopen" = no
14888 then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14891 if ${ac_cv_lib_dl_dlopen+:} false; then :
14892 $as_echo_n "(cached) " >&6
14893 else
14894 ac_check_lib_save_LIBS=$LIBS
14895 LIBS="-ldl $LIBS"
14896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h. */
14899 /* Override any GCC internal prototype to avoid an error.
14900 Use char because int might match the return type of a GCC
14901 builtin and then its argument prototype would still apply. */
14902 #ifdef __cplusplus
14903 extern "C"
14904 #endif
14905 char dlopen ();
14907 main ()
14909 return dlopen ();
14911 return 0;
14913 _ACEOF
14914 if ac_fn_c_try_link "$LINENO"; then :
14915 ac_cv_lib_dl_dlopen=yes
14916 else
14917 ac_cv_lib_dl_dlopen=no
14919 rm -f core conftest.err conftest.$ac_objext \
14920 conftest$ac_exeext conftest.$ac_ext
14921 LIBS=$ac_check_lib_save_LIBS
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14925 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14926 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14927 DL_LIBS="-ldl"
14932 ac_wine_check_funcs_save_LIBS="$LIBS"
14933 LIBS="$LIBS $DL_LIBS"
14934 for ac_func in dladdr
14935 do :
14936 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14937 if test "x$ac_cv_func_dladdr" = xyes; then :
14938 cat >>confdefs.h <<_ACEOF
14939 #define HAVE_DLADDR 1
14940 _ACEOF
14943 done
14945 LIBS="$ac_wine_check_funcs_save_LIBS"
14947 if test "$ac_cv_func_poll" = no
14948 then
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14950 $as_echo_n "checking for poll in -lpoll... " >&6; }
14951 if ${ac_cv_lib_poll_poll+:} false; then :
14952 $as_echo_n "(cached) " >&6
14953 else
14954 ac_check_lib_save_LIBS=$LIBS
14955 LIBS="-lpoll $LIBS"
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 char poll ();
14967 main ()
14969 return poll ();
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 ac_cv_lib_poll_poll=yes
14976 else
14977 ac_cv_lib_poll_poll=no
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_check_lib_save_LIBS
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14984 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14985 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14986 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14987 POLL_LIBS="-lpoll"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14994 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14995 if ${ac_cv_search_gethostbyname+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 ac_func_search_save_LIBS=$LIBS
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15002 /* Override any GCC internal prototype to avoid an error.
15003 Use char because int might match the return type of a GCC
15004 builtin and then its argument prototype would still apply. */
15005 #ifdef __cplusplus
15006 extern "C"
15007 #endif
15008 char gethostbyname ();
15010 main ()
15012 return gethostbyname ();
15014 return 0;
15016 _ACEOF
15017 for ac_lib in '' nsl; do
15018 if test -z "$ac_lib"; then
15019 ac_res="none required"
15020 else
15021 ac_res=-l$ac_lib
15022 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_search_gethostbyname=$ac_res
15027 rm -f core conftest.err conftest.$ac_objext \
15028 conftest$ac_exeext
15029 if ${ac_cv_search_gethostbyname+:} false; then :
15030 break
15032 done
15033 if ${ac_cv_search_gethostbyname+:} false; then :
15035 else
15036 ac_cv_search_gethostbyname=no
15038 rm conftest.$ac_ext
15039 LIBS=$ac_func_search_save_LIBS
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15042 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15043 ac_res=$ac_cv_search_gethostbyname
15044 if test "$ac_res" != no; then :
15045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15051 $as_echo_n "checking for library containing connect... " >&6; }
15052 if ${ac_cv_search_connect+:} false; then :
15053 $as_echo_n "(cached) " >&6
15054 else
15055 ac_func_search_save_LIBS=$LIBS
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15059 /* Override any GCC internal prototype to avoid an error.
15060 Use char because int might match the return type of a GCC
15061 builtin and then its argument prototype would still apply. */
15062 #ifdef __cplusplus
15063 extern "C"
15064 #endif
15065 char connect ();
15067 main ()
15069 return connect ();
15071 return 0;
15073 _ACEOF
15074 for ac_lib in '' socket; do
15075 if test -z "$ac_lib"; then
15076 ac_res="none required"
15077 else
15078 ac_res=-l$ac_lib
15079 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_search_connect=$ac_res
15084 rm -f core conftest.err conftest.$ac_objext \
15085 conftest$ac_exeext
15086 if ${ac_cv_search_connect+:} false; then :
15087 break
15089 done
15090 if ${ac_cv_search_connect+:} false; then :
15092 else
15093 ac_cv_search_connect=no
15095 rm conftest.$ac_ext
15096 LIBS=$ac_func_search_save_LIBS
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15099 $as_echo "$ac_cv_search_connect" >&6; }
15100 ac_res=$ac_cv_search_connect
15101 if test "$ac_res" != no; then :
15102 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15108 $as_echo_n "checking for library containing inet_aton... " >&6; }
15109 if ${ac_cv_search_inet_aton+:} false; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_func_search_save_LIBS=$LIBS
15113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 /* end confdefs.h. */
15116 /* Override any GCC internal prototype to avoid an error.
15117 Use char because int might match the return type of a GCC
15118 builtin and then its argument prototype would still apply. */
15119 #ifdef __cplusplus
15120 extern "C"
15121 #endif
15122 char inet_aton ();
15124 main ()
15126 return inet_aton ();
15128 return 0;
15130 _ACEOF
15131 for ac_lib in '' resolv; do
15132 if test -z "$ac_lib"; then
15133 ac_res="none required"
15134 else
15135 ac_res=-l$ac_lib
15136 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_search_inet_aton=$ac_res
15141 rm -f core conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext
15143 if ${ac_cv_search_inet_aton+:} false; then :
15144 break
15146 done
15147 if ${ac_cv_search_inet_aton+:} false; then :
15149 else
15150 ac_cv_search_inet_aton=no
15152 rm conftest.$ac_ext
15153 LIBS=$ac_func_search_save_LIBS
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15156 $as_echo "$ac_cv_search_inet_aton" >&6; }
15157 ac_res=$ac_cv_search_inet_aton
15158 if test "$ac_res" != no; then :
15159 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15164 for ac_func in \
15165 getaddrinfo \
15166 getnameinfo \
15167 getnetbyname \
15168 getprotobyname \
15169 getprotobynumber \
15170 getservbyport \
15171 inet_addr \
15172 inet_network \
15173 inet_ntop \
15174 inet_pton \
15175 sendmsg \
15176 socketpair \
15178 do :
15179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15182 cat >>confdefs.h <<_ACEOF
15183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15184 _ACEOF
15187 done
15190 ac_save_LIBS=$LIBS
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15192 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15193 if ${ac_cv_search_clock_gettime+:} false; then :
15194 $as_echo_n "(cached) " >&6
15195 else
15196 ac_func_search_save_LIBS=$LIBS
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15200 /* Override any GCC internal prototype to avoid an error.
15201 Use char because int might match the return type of a GCC
15202 builtin and then its argument prototype would still apply. */
15203 #ifdef __cplusplus
15204 extern "C"
15205 #endif
15206 char clock_gettime ();
15208 main ()
15210 return clock_gettime ();
15212 return 0;
15214 _ACEOF
15215 for ac_lib in '' rt; do
15216 if test -z "$ac_lib"; then
15217 ac_res="none required"
15218 else
15219 ac_res=-l$ac_lib
15220 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 ac_cv_search_clock_gettime=$ac_res
15225 rm -f core conftest.err conftest.$ac_objext \
15226 conftest$ac_exeext
15227 if ${ac_cv_search_clock_gettime+:} false; then :
15228 break
15230 done
15231 if ${ac_cv_search_clock_gettime+:} false; then :
15233 else
15234 ac_cv_search_clock_gettime=no
15236 rm conftest.$ac_ext
15237 LIBS=$ac_func_search_save_LIBS
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15240 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15241 ac_res=$ac_cv_search_clock_gettime
15242 if test "$ac_res" != no; then :
15243 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15245 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15247 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15251 LIBS=$ac_save_LIBS
15253 LDAP_LIBS=""
15255 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15256 then
15257 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15259 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15261 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15262 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 ac_check_lib_save_LIBS=$LIBS
15266 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15273 #ifdef __cplusplus
15274 extern "C"
15275 #endif
15276 char ldap_initialize ();
15278 main ()
15280 return ldap_initialize ();
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"; then :
15286 ac_cv_lib_ldap_r_ldap_initialize=yes
15287 else
15288 ac_cv_lib_ldap_r_ldap_initialize=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15292 LIBS=$ac_check_lib_save_LIBS
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15295 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15296 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15298 $as_echo_n "checking for ber_init in -llber... " >&6; }
15299 if ${ac_cv_lib_lber_ber_init+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 ac_check_lib_save_LIBS=$LIBS
15303 LIBS="-llber $PTHREAD_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 #ifdef __cplusplus
15311 extern "C"
15312 #endif
15313 char ber_init ();
15315 main ()
15317 return ber_init ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 ac_cv_lib_lber_ber_init=yes
15324 else
15325 ac_cv_lib_lber_ber_init=no
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_lib_save_LIBS
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15332 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15333 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15335 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15337 LDAP_LIBS="-lldap_r -llber"
15344 ac_wine_check_funcs_save_LIBS="$LIBS"
15345 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15346 for ac_func in \
15347 ldap_count_references \
15348 ldap_first_reference \
15349 ldap_next_reference \
15350 ldap_parse_reference \
15351 ldap_parse_sort_control \
15352 ldap_parse_sortresponse_control \
15353 ldap_parse_vlv_control \
15354 ldap_parse_vlvresponse_control
15355 do :
15356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15361 _ACEOF
15364 done
15366 LIBS="$ac_wine_check_funcs_save_LIBS"
15368 if test "x$LDAP_LIBS" = "x"; then :
15369 case "x$with_ldap" in
15370 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15371 xno) ;;
15372 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15373 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15374 esac
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15378 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15379 if ${wine_cv_one_arg_mkdir+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15384 #include <sys/stat.h>
15386 main ()
15388 mkdir("foo");
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_compile "$LINENO"; then :
15394 wine_cv_one_arg_mkdir=yes
15395 else
15396 wine_cv_one_arg_mkdir=no
15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15401 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15402 if test "$wine_cv_one_arg_mkdir" = "yes"
15403 then
15405 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15410 $as_echo_n "checking for sched_setaffinity... " >&6; }
15411 if ${wine_cv_have_sched_setaffinity+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #define _GNU_SOURCE
15417 #include <sched.h>
15419 main ()
15421 sched_setaffinity(0, 0, 0);
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 wine_cv_have_sched_setaffinity=yes
15428 else
15429 wine_cv_have_sched_setaffinity=no
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15435 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15436 if test "$wine_cv_have_sched_setaffinity" = "yes"
15437 then
15439 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15444 $as_echo_n "checking for fallocate... " >&6; }
15445 if ${wine_cv_have_fallocate+:} false; then :
15446 $as_echo_n "(cached) " >&6
15447 else
15448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #define _GNU_SOURCE
15451 #include <fcntl.h>
15453 main ()
15455 fallocate(-1, 0, 0, 0);
15457 return 0;
15459 _ACEOF
15460 if ac_fn_c_try_link "$LINENO"; then :
15461 wine_cv_have_fallocate=yes
15462 else
15463 wine_cv_have_fallocate=no
15465 rm -f core conftest.err conftest.$ac_objext \
15466 conftest$ac_exeext conftest.$ac_ext
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15469 $as_echo "$wine_cv_have_fallocate" >&6; }
15470 if test "$wine_cv_have_fallocate" = "yes"
15471 then
15473 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15479 $as_echo_n "checking for inline... " >&6; }
15480 if ${ac_cv_c_inline+:} false; then :
15481 $as_echo_n "(cached) " >&6
15482 else
15483 ac_cv_c_inline=no
15484 for ac_kw in inline __inline__ __inline; do
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 #ifndef __cplusplus
15488 typedef int foo_t;
15489 static $ac_kw foo_t static_foo () {return 0; }
15490 $ac_kw foo_t foo () {return 0; }
15491 #endif
15493 _ACEOF
15494 if ac_fn_c_try_compile "$LINENO"; then :
15495 ac_cv_c_inline=$ac_kw
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15498 test "$ac_cv_c_inline" != no && break
15499 done
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15503 $as_echo "$ac_cv_c_inline" >&6; }
15505 case $ac_cv_c_inline in
15506 inline | yes) ;;
15508 case $ac_cv_c_inline in
15509 no) ac_val=;;
15510 *) ac_val=$ac_cv_c_inline;;
15511 esac
15512 cat >>confdefs.h <<_ACEOF
15513 #ifndef __cplusplus
15514 #define inline $ac_val
15515 #endif
15516 _ACEOF
15518 esac
15520 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15521 if test "x$ac_cv_type_mode_t" = xyes; then :
15523 cat >>confdefs.h <<_ACEOF
15524 #define HAVE_MODE_T 1
15525 _ACEOF
15529 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15530 if test "x$ac_cv_type_off_t" = xyes; then :
15532 cat >>confdefs.h <<_ACEOF
15533 #define HAVE_OFF_T 1
15534 _ACEOF
15538 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15539 if test "x$ac_cv_type_pid_t" = xyes; then :
15541 cat >>confdefs.h <<_ACEOF
15542 #define HAVE_PID_T 1
15543 _ACEOF
15547 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15548 if test "x$ac_cv_type_size_t" = xyes; then :
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_SIZE_T 1
15552 _ACEOF
15556 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15557 if test "x$ac_cv_type_ssize_t" = xyes; then :
15559 cat >>confdefs.h <<_ACEOF
15560 #define HAVE_SSIZE_T 1
15561 _ACEOF
15565 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15566 if test "x$ac_cv_type_long_long" = xyes; then :
15568 cat >>confdefs.h <<_ACEOF
15569 #define HAVE_LONG_LONG 1
15570 _ACEOF
15574 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15575 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define HAVE_FSBLKCNT_T 1
15579 _ACEOF
15583 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15584 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15586 cat >>confdefs.h <<_ACEOF
15587 #define HAVE_FSFILCNT_T 1
15588 _ACEOF
15593 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15594 #include <signal.h>
15596 if test "x$ac_cv_type_sigset_t" = xyes; then :
15598 cat >>confdefs.h <<_ACEOF
15599 #define HAVE_SIGSET_T 1
15600 _ACEOF
15605 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15607 if test "x$ac_cv_type_request_sense" = xyes; then :
15609 cat >>confdefs.h <<_ACEOF
15610 #define HAVE_REQUEST_SENSE 1
15611 _ACEOF
15617 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15618 #ifdef HAVE_SYS_SOCKET_H
15619 #include <sys/socket.h>
15620 #endif
15621 #ifdef HAVE_SYS_SOCKETVAR_H
15622 #include <sys/socketvar.h>
15623 #endif
15624 #ifdef HAVE_NET_ROUTE_H
15625 #include <net/route.h>
15626 #endif
15627 #ifdef HAVE_NETINET_IN_H
15628 #include <netinet/in.h>
15629 #endif
15630 #ifdef HAVE_NETINET_IN_SYSTM_H
15631 #include <netinet/in_systm.h>
15632 #endif
15633 #ifdef HAVE_NETINET_IP_H
15634 #include <netinet/ip.h>
15635 #endif
15636 #ifdef HAVE_NETINET_IN_PCB_H
15637 #include <netinet/in_pcb.h>
15638 #endif
15640 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define HAVE_STRUCT_XINPGEN 1
15644 _ACEOF
15650 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15651 #include <link.h>
15652 #endif
15653 #ifdef HAVE_SYS_LINK_H
15654 #include <sys/link.h>
15655 #endif
15657 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15659 cat >>confdefs.h <<_ACEOF
15660 #define HAVE_STRUCT_R_DEBUG 1
15661 _ACEOF
15665 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15666 #include <link.h>
15667 #endif
15668 #ifdef HAVE_SYS_LINK_H
15669 #include <sys/link.h>
15670 #endif
15672 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15674 cat >>confdefs.h <<_ACEOF
15675 #define HAVE_STRUCT_LINK_MAP 1
15676 _ACEOF
15682 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15683 #include <linux/input.h>
15684 #endif
15686 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15688 cat >>confdefs.h <<_ACEOF
15689 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15690 _ACEOF
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15697 $as_echo_n "checking for sigaddset... " >&6; }
15698 if ${wine_cv_have_sigaddset+:} false; then :
15699 $as_echo_n "(cached) " >&6
15700 else
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15703 #include <signal.h>
15705 main ()
15707 sigset_t set; sigaddset(&set,SIGTERM);
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 wine_cv_have_sigaddset=yes
15714 else
15715 wine_cv_have_sigaddset=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15721 $as_echo "$wine_cv_have_sigaddset" >&6; }
15722 if test "$wine_cv_have_sigaddset" = "yes"
15723 then
15725 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15731 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15732 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #include <netdb.h>
15739 main ()
15742 char *name=0;
15743 struct hostent he;
15744 struct hostent *result;
15745 char *buf=0;
15746 int bufsize=0;
15747 int errnr;
15748 char *addr=0;
15749 int addrlen=0;
15750 int addrtype=0;
15751 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15752 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15755 return 0;
15757 _ACEOF
15758 if ac_fn_c_try_link "$LINENO"; then :
15759 wine_cv_linux_gethostbyname_r_6=yes
15760 else
15761 wine_cv_linux_gethostbyname_r_6=no
15764 rm -f core conftest.err conftest.$ac_objext \
15765 conftest$ac_exeext conftest.$ac_ext
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15769 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15770 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15771 then
15773 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15777 if test "$ac_cv_header_linux_joystick_h" = "yes"
15778 then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15780 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15781 if ${wine_cv_linux_joystick_22_api+:} false; then :
15782 $as_echo_n "(cached) " >&6
15783 else
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 #include <sys/ioctl.h>
15788 #include <sys/types.h>
15789 #include <linux/joystick.h>
15791 struct js_event blub;
15792 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15793 #error "no 2.2 header"
15794 #endif
15797 main ()
15799 /*empty*/
15801 return 0;
15803 _ACEOF
15804 if ac_fn_c_try_compile "$LINENO"; then :
15805 wine_cv_linux_joystick_22_api=yes
15806 else
15807 wine_cv_linux_joystick_22_api=no
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15813 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15814 if test "$wine_cv_linux_joystick_22_api" = "yes"
15815 then
15817 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15824 #ifdef HAVE_SYS_PARAM_H
15825 # include <sys/param.h>
15826 #endif
15827 #ifdef HAVE_SYS_MOUNT_H
15828 # include <sys/mount.h>
15829 #endif
15830 #ifdef HAVE_SYS_VFS_H
15831 # include <sys/vfs.h>
15832 #endif
15833 #ifdef HAVE_SYS_STATFS_H
15834 # include <sys/statfs.h>
15835 #endif
15837 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_STRUCT_STATFS_F_BFREE 1
15841 _ACEOF
15845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15846 #ifdef HAVE_SYS_PARAM_H
15847 # include <sys/param.h>
15848 #endif
15849 #ifdef HAVE_SYS_MOUNT_H
15850 # include <sys/mount.h>
15851 #endif
15852 #ifdef HAVE_SYS_VFS_H
15853 # include <sys/vfs.h>
15854 #endif
15855 #ifdef HAVE_SYS_STATFS_H
15856 # include <sys/statfs.h>
15857 #endif
15859 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15863 _ACEOF
15867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15868 #ifdef HAVE_SYS_PARAM_H
15869 # include <sys/param.h>
15870 #endif
15871 #ifdef HAVE_SYS_MOUNT_H
15872 # include <sys/mount.h>
15873 #endif
15874 #ifdef HAVE_SYS_VFS_H
15875 # include <sys/vfs.h>
15876 #endif
15877 #ifdef HAVE_SYS_STATFS_H
15878 # include <sys/statfs.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15885 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_PARAM_H
15891 # include <sys/param.h>
15892 #endif
15893 #ifdef HAVE_SYS_MOUNT_H
15894 # include <sys/mount.h>
15895 #endif
15896 #ifdef HAVE_SYS_VFS_H
15897 # include <sys/vfs.h>
15898 #endif
15899 #ifdef HAVE_SYS_STATFS_H
15900 # include <sys/statfs.h>
15901 #endif
15903 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_STATFS_F_FFREE 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15912 #ifdef HAVE_SYS_PARAM_H
15913 # include <sys/param.h>
15914 #endif
15915 #ifdef HAVE_SYS_MOUNT_H
15916 # include <sys/mount.h>
15917 #endif
15918 #ifdef HAVE_SYS_VFS_H
15919 # include <sys/vfs.h>
15920 #endif
15921 #ifdef HAVE_SYS_STATFS_H
15922 # include <sys/statfs.h>
15923 #endif
15925 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15929 _ACEOF
15933 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15934 #ifdef HAVE_SYS_PARAM_H
15935 # include <sys/param.h>
15936 #endif
15937 #ifdef HAVE_SYS_MOUNT_H
15938 # include <sys/mount.h>
15939 #endif
15940 #ifdef HAVE_SYS_VFS_H
15941 # include <sys/vfs.h>
15942 #endif
15943 #ifdef HAVE_SYS_STATFS_H
15944 # include <sys/statfs.h>
15945 #endif
15947 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15951 _ACEOF
15957 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15958 #include <sys/statvfs.h>
15959 #endif
15961 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15965 _ACEOF
15971 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15972 #include <dirent.h>
15973 #endif
15975 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15979 _ACEOF
15985 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15986 #ifdef HAVE_SYS_SOCKET_H
15987 # include <sys/socket.h>
15988 #endif
15989 #ifdef HAVE_SYS_UN_H
15990 # include <sys/un.h>
15991 #endif
15993 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15997 _ACEOF
16001 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16002 #ifdef HAVE_SYS_SOCKET_H
16003 # include <sys/socket.h>
16004 #endif
16005 #ifdef HAVE_SYS_UN_H
16006 # include <sys/un.h>
16007 #endif
16009 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16013 _ACEOF
16017 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16018 #ifdef HAVE_SYS_SOCKET_H
16019 # include <sys/socket.h>
16020 #endif
16021 #ifdef HAVE_SYS_UN_H
16022 # include <sys/un.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16036 #ifdef HAVE_SCSI_SG_H
16037 #include <scsi/sg.h>
16038 #endif
16040 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_SCSIREQ_T_CMD 1
16044 _ACEOF
16048 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>
16049 #ifdef HAVE_SCSI_SG_H
16050 #include <scsi/sg.h>
16051 #endif
16053 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16057 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16065 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_SIGINFO_T_SI_FD 1
16069 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16076 #ifdef HAVE_SYS_MTIO_H
16077 #include <sys/mtio.h>
16078 #endif
16080 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16084 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_MTIO_H
16090 #include <sys/mtio.h>
16091 #endif
16093 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16097 _ACEOF
16101 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16102 #ifdef HAVE_SYS_MTIO_H
16103 #include <sys/mtio.h>
16104 #endif
16106 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16110 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16117 #include <getopt.h>
16118 #endif
16120 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_OPTION_NAME 1
16124 _ACEOF
16130 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16131 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16135 _ACEOF
16139 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16140 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_STRUCT_STAT_ST_MTIM 1
16144 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16149 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16153 _ACEOF
16157 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16158 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_STRUCT_STAT_ST_CTIM 1
16162 _ACEOF
16166 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16167 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16171 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16176 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_STAT_ST_ATIM 1
16180 _ACEOF
16184 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16185 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16189 _ACEOF
16193 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16194 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16198 _ACEOF
16202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16203 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16207 _ACEOF
16211 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16212 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16216 _ACEOF
16220 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16221 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16225 _ACEOF
16229 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16230 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16234 _ACEOF
16240 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
16241 #include <sys/types.h>
16242 #endif
16243 #ifdef HAVE_NETINET_IN_H
16244 #include <netinet/in.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16251 _ACEOF
16257 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16258 #include <resolv.h>
16259 #endif
16261 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT___RES_STATE 1
16265 _ACEOF
16271 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
16272 #include <resolv.h>
16273 #endif
16275 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16279 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16286 #include <sys/types.h>
16287 #endif
16288 #ifdef HAVE_NETINET_IN_H
16289 # include <netinet/in.h>
16290 #endif
16291 #ifdef HAVE_ARPA_NAMESER_H
16292 # include <arpa/nameser.h>
16293 #endif
16295 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_NS_MSG__MSG_PTR 1
16299 _ACEOF
16305 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16306 #include <sys/types.h>
16307 #endif
16308 #ifdef HAVE_NETINET_IP_H
16309 #include <netinet/ip.h>
16310 #endif
16311 #ifdef HAVE_NETINET_IP_ICMP_H
16312 #include <netinet/ip_icmp.h>
16313 #endif
16314 #ifdef HAVE_NETINET_ICMP_VAR_H
16315 #include <netinet/icmp_var.h>
16316 #endif
16318 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16322 _ACEOF
16328 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16329 #include <sys/types.h>
16330 #endif
16331 #ifdef HAVE_ALIAS_H
16332 #include <alias.h>
16333 #endif
16334 #ifdef HAVE_SYS_SOCKET_H
16335 #include <sys/socket.h>
16336 #endif
16337 #ifdef HAVE_SYS_SOCKETVAR_H
16338 #include <sys/socketvar.h>
16339 #endif
16340 #ifdef HAVE_SYS_TIMEOUT_H
16341 #include <sys/timeout.h>
16342 #endif
16343 #ifdef HAVE_NETINET_IN_H
16344 #include <netinet/in.h>
16345 #endif
16346 #ifdef HAVE_NETINET_IN_SYSTM_H
16347 #include <netinet/in_systm.h>
16348 #endif
16349 #ifdef HAVE_NETINET_IP_H
16350 #include <netinet/ip.h>
16351 #endif
16352 #ifdef HAVE_NETINET_IP_VAR_H
16353 #include <netinet/ip_var.h>
16354 #endif
16355 #ifdef HAVE_NETINET_IP_ICMP_H
16356 #include <netinet/ip_icmp.h>
16357 #endif
16358 #ifdef HAVE_NETINET_ICMP_VAR_H
16359 #include <netinet/icmp_var.h>
16360 #endif
16362 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16366 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16373 #include <sys/types.h>
16374 #endif
16375 #ifdef HAVE_SYS_SOCKETVAR_H
16376 #include <sys/socketvar.h>
16377 #endif
16378 #ifdef HAVE_NETINET_IN_H
16379 #include <netinet/in.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IP_VAR_H
16382 #include <netinet/ip_var.h>
16383 #endif
16385 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16389 _ACEOF
16395 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
16396 #include <netinet/ip_var.h>
16397 #endif
16399 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16403 _ACEOF
16409 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16410 #include <sys/types.h>
16411 #endif
16412 #ifdef HAVE_SYS_SOCKETVAR_H
16413 #include <sys/socketvar.h>
16414 #endif
16415 #ifdef HAVE_NETINET_IN_H
16416 #include <netinet/in.h>
16417 #endif
16418 #ifdef HAVE_NETINET_TCP_H
16419 #include <netinet/tcp.h>
16420 #endif
16421 #ifdef HAVE_NETINET_TCP_VAR_H
16422 #include <netinet/tcp_var.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16429 _ACEOF
16435 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
16436 #include <netinet/tcp_var.h>
16437 #endif
16439 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16443 _ACEOF
16449 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16450 #include <sys/types.h>
16451 #endif
16452 #ifdef HAVE_NETINET_IN_H
16453 #include <netinet/in.h>
16454 #endif
16455 #ifdef HAVE_NETINET_IP_VAR_H
16456 #include <netinet/ip_var.h>
16457 #endif
16458 #ifdef HAVE_NETINET_UDP_H
16459 #include <netinet/udp.h>
16460 #endif
16461 #ifdef HAVE_NETINET_UDP_VAR_H
16462 #include <netinet/udp_var.h>
16463 #endif
16465 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16469 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16476 #include <sys/types.h>
16477 #endif
16478 #ifdef HAVE_NET_IF_H
16479 # include <net/if.h>
16480 #endif
16482 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16484 cat >>confdefs.h <<_ACEOF
16485 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16486 _ACEOF
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16493 $as_echo_n "checking for timezone variable... " >&6; }
16494 if ${ac_cv_have_timezone+:} false; then :
16495 $as_echo_n "(cached) " >&6
16496 else
16497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16499 #include <time.h>
16501 main ()
16503 timezone = 1
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_have_timezone="yes"
16510 else
16511 ac_cv_have_timezone="no"
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16517 $as_echo "$ac_cv_have_timezone" >&6; }
16518 if test "$ac_cv_have_timezone" = "yes"
16519 then
16521 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16525 $as_echo_n "checking for daylight variable... " >&6; }
16526 if ${ac_cv_have_daylight+:} false; then :
16527 $as_echo_n "(cached) " >&6
16528 else
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16531 #include <time.h>
16533 main ()
16535 daylight = 1
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_have_daylight="yes"
16542 else
16543 ac_cv_have_daylight="no"
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16549 $as_echo "$ac_cv_have_daylight" >&6; }
16550 if test "$ac_cv_have_daylight" = "yes"
16551 then
16553 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16557 ac_save_LIBS="$LIBS"
16558 LIBS="$LIBS -lm"
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16560 $as_echo_n "checking for isfinite... " >&6; }
16561 if ${ac_cv_have_isfinite+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #define _GNU_SOURCE
16567 #include <math.h>
16569 main ()
16571 float f = 0.0; return isfinite(f)
16573 return 0;
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577 ac_cv_have_isfinite="yes"
16578 else
16579 ac_cv_have_isfinite="no"
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16585 $as_echo "$ac_cv_have_isfinite" >&6; }
16586 if test "$ac_cv_have_isfinite" = "yes"
16587 then
16589 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16594 $as_echo_n "checking for isinf... " >&6; }
16595 if ${ac_cv_have_isinf+:} false; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h. */
16600 #include <math.h>
16602 main ()
16604 float f = 0.0; return isinf(f)
16606 return 0;
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"; then :
16610 ac_cv_have_isinf="yes"
16611 else
16612 ac_cv_have_isinf="no"
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16618 $as_echo "$ac_cv_have_isinf" >&6; }
16619 if test "$ac_cv_have_isinf" = "yes"
16620 then
16622 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16627 $as_echo_n "checking for isnan... " >&6; }
16628 if ${ac_cv_have_isnan+:} false; then :
16629 $as_echo_n "(cached) " >&6
16630 else
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16633 #include <math.h>
16635 main ()
16637 float f = 0.0; return isnan(f)
16639 return 0;
16641 _ACEOF
16642 if ac_fn_c_try_link "$LINENO"; then :
16643 ac_cv_have_isnan="yes"
16644 else
16645 ac_cv_have_isnan="no"
16647 rm -f core conftest.err conftest.$ac_objext \
16648 conftest$ac_exeext conftest.$ac_ext
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16651 $as_echo "$ac_cv_have_isnan" >&6; }
16652 if test "$ac_cv_have_isnan" = "yes"
16653 then
16655 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16659 for ac_func in \
16660 cbrt \
16661 cbrtf \
16662 erf \
16663 erff \
16664 exp2 \
16665 exp2f \
16666 llrint \
16667 llrintf \
16668 llround \
16669 llroundf \
16670 log2 \
16671 log2f \
16672 lrint \
16673 lrintf \
16674 lround \
16675 lroundf \
16676 rint \
16677 rintf \
16678 round \
16679 roundf \
16680 trunc \
16681 truncf
16683 do :
16684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16689 _ACEOF
16692 done
16694 LIBS="$ac_save_LIBS"
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16697 $as_echo_n "checking for __builtin_clz... " >&6; }
16698 if ${ac_cv_have___builtin_clz+:} false; then :
16699 $as_echo_n "(cached) " >&6
16700 else
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16705 main ()
16707 return __builtin_clz(1)
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 ac_cv_have___builtin_clz="yes"
16714 else
16715 ac_cv_have___builtin_clz="no"
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16721 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16722 if test "$ac_cv_have___builtin_clz" = "yes"
16723 then
16725 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16730 case $host_cpu in
16731 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16732 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16733 if ${ac_cv_cpp_def___i386__+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16737 /* end confdefs.h. */
16738 #ifndef __i386__
16740 #endif
16741 _ACEOF
16742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16743 $EGREP "yes" >/dev/null 2>&1; then :
16744 ac_cv_cpp_def___i386__=yes
16745 else
16746 ac_cv_cpp_def___i386__=no
16748 rm -f conftest*
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16752 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16753 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16754 CFLAGS="$CFLAGS -D__i386__"
16755 LINTFLAGS="$LINTFLAGS -D__i386__"
16756 fi ;;
16757 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16758 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16759 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #ifndef __x86_64__
16766 #endif
16767 _ACEOF
16768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16769 $EGREP "yes" >/dev/null 2>&1; then :
16770 ac_cv_cpp_def___x86_64__=yes
16771 else
16772 ac_cv_cpp_def___x86_64__=no
16774 rm -f conftest*
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16778 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16779 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16780 CFLAGS="$CFLAGS -D__x86_64__"
16781 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16782 fi ;;
16783 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16784 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16785 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #ifndef __sparc64__
16792 #endif
16793 _ACEOF
16794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16795 $EGREP "yes" >/dev/null 2>&1; then :
16796 ac_cv_cpp_def___sparc64__=yes
16797 else
16798 ac_cv_cpp_def___sparc64__=no
16800 rm -f conftest*
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16804 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16805 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16806 CFLAGS="$CFLAGS -D__sparc64__"
16807 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16808 fi ;;
16809 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16810 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16811 if ${ac_cv_cpp_def___sparc__+:} false; then :
16812 $as_echo_n "(cached) " >&6
16813 else
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #ifndef __sparc__
16818 #endif
16819 _ACEOF
16820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16821 $EGREP "yes" >/dev/null 2>&1; then :
16822 ac_cv_cpp_def___sparc__=yes
16823 else
16824 ac_cv_cpp_def___sparc__=no
16826 rm -f conftest*
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16830 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16831 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16832 CFLAGS="$CFLAGS -D__sparc__"
16833 LINTFLAGS="$LINTFLAGS -D__sparc__"
16834 fi ;;
16835 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16836 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16837 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16838 $as_echo_n "(cached) " >&6
16839 else
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16842 #ifndef __powerpc64__
16844 #endif
16845 _ACEOF
16846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16847 $EGREP "yes" >/dev/null 2>&1; then :
16848 ac_cv_cpp_def___powerpc64__=yes
16849 else
16850 ac_cv_cpp_def___powerpc64__=no
16852 rm -f conftest*
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16856 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16857 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16858 CFLAGS="$CFLAGS -D__powerpc64__"
16859 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16860 fi ;;
16861 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16862 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16863 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16864 $as_echo_n "(cached) " >&6
16865 else
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #ifndef __powerpc__
16870 #endif
16871 _ACEOF
16872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16873 $EGREP "yes" >/dev/null 2>&1; then :
16874 ac_cv_cpp_def___powerpc__=yes
16875 else
16876 ac_cv_cpp_def___powerpc__=no
16878 rm -f conftest*
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16882 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16883 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16884 CFLAGS="$CFLAGS -D__powerpc__"
16885 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16886 fi ;;
16887 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16888 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16889 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16890 $as_echo_n "(cached) " >&6
16891 else
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #ifndef __aarch64__
16896 #endif
16897 _ACEOF
16898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16899 $EGREP "yes" >/dev/null 2>&1; then :
16900 ac_cv_cpp_def___aarch64__=yes
16901 else
16902 ac_cv_cpp_def___aarch64__=no
16904 rm -f conftest*
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16908 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16909 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16910 CFLAGS="$CFLAGS -D__aarch64__"
16911 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16912 fi ;;
16913 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16914 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16915 if ${ac_cv_cpp_def___arm__+:} false; then :
16916 $as_echo_n "(cached) " >&6
16917 else
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 #ifndef __arm__
16922 #endif
16923 _ACEOF
16924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16925 $EGREP "yes" >/dev/null 2>&1; then :
16926 ac_cv_cpp_def___arm__=yes
16927 else
16928 ac_cv_cpp_def___arm__=no
16930 rm -f conftest*
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16934 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16935 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16936 CFLAGS="$CFLAGS -D__arm__"
16937 LINTFLAGS="$LINTFLAGS -D__arm__"
16938 fi ;;
16939 esac
16941 case $host_vendor in
16942 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16943 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16944 if ${ac_cv_cpp_def___sun__+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 #ifndef __sun__
16951 #endif
16952 _ACEOF
16953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16954 $EGREP "yes" >/dev/null 2>&1; then :
16955 ac_cv_cpp_def___sun__=yes
16956 else
16957 ac_cv_cpp_def___sun__=no
16959 rm -f conftest*
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16963 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16964 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16965 CFLAGS="$CFLAGS -D__sun__"
16966 LINTFLAGS="$LINTFLAGS -D__sun__"
16967 fi ;;
16968 esac
16974 ac_config_commands="$ac_config_commands include/stamp-h"
16976 $as_echo_n "creating Makefile rules..." >&6
16978 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16979 SOCKET_LIBS = $SOCKET_LIBS
16980 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16981 IOKIT_LIBS = $IOKIT_LIBS
16982 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16983 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16984 CORESERVICES_LIBS = $CORESERVICES_LIBS
16985 APPKIT_LIBS = $APPKIT_LIBS
16986 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16987 SECURITY_LIBS = $SECURITY_LIBS
16988 COREAUDIO_LIBS = $COREAUDIO_LIBS
16989 OPENAL_LIBS = $OPENAL_LIBS
16990 OPENCL_LIBS = $OPENCL_LIBS
16991 QUICKTIME_LIBS = $QUICKTIME_LIBS
16992 CARBON_LIBS = $CARBON_LIBS
16993 PTHREAD_LIBS = $PTHREAD_LIBS
16994 X_CFLAGS = $X_CFLAGS
16995 X_PRE_LIBS = $X_PRE_LIBS
16996 X_LIBS = $X_LIBS
16997 X_EXTRA_LIBS = $X_EXTRA_LIBS
16998 XML2_CFLAGS = $XML2_CFLAGS
16999 XML2_LIBS = $XML2_LIBS
17000 XSLT_CFLAGS = $XSLT_CFLAGS
17001 XSLT_LIBS = $XSLT_LIBS
17002 DBUS_CFLAGS = $DBUS_CFLAGS
17003 DBUS_LIBS = $DBUS_LIBS
17004 HAL_CFLAGS = $HAL_CFLAGS
17005 HAL_LIBS = $HAL_LIBS
17006 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17007 GNUTLS_LIBS = $GNUTLS_LIBS
17008 SANE_CFLAGS = $SANE_CFLAGS
17009 SANE_LIBS = $SANE_LIBS
17010 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17011 GPHOTO2_LIBS = $GPHOTO2_LIBS
17012 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17013 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17014 RESOLV_LIBS = $RESOLV_LIBS
17015 LCMS2_CFLAGS = $LCMS2_CFLAGS
17016 LCMS2_LIBS = $LCMS2_LIBS
17017 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17018 FREETYPE_LIBS = $FREETYPE_LIBS
17019 Z_LIBS = $Z_LIBS
17020 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17021 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17022 GSTREAMER_LIBS = $GSTREAMER_LIBS
17023 ALSA_LIBS = $ALSA_LIBS
17024 OSS4_CFLAGS = $OSS4_CFLAGS
17025 CAPI20_CFLAGS = $CAPI20_CFLAGS
17026 CAPI20_LIBS = $CAPI20_LIBS
17027 CUPS_CFLAGS = $CUPS_CFLAGS
17028 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17029 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17030 JPEG_CFLAGS = $JPEG_CFLAGS
17031 JPEG_LIBS = $JPEG_LIBS
17032 PNG_CFLAGS = $PNG_CFLAGS
17033 PNG_LIBS = $PNG_LIBS
17034 TIFF_CFLAGS = $TIFF_CFLAGS
17035 TIFF_LIBS = $TIFF_LIBS
17036 MPG123_CFLAGS = $MPG123_CFLAGS
17037 MPG123_LIBS = $MPG123_LIBS
17038 KSTAT_LIBS = $KSTAT_LIBS
17039 PROCSTAT_LIBS = $PROCSTAT_LIBS
17040 DL_LIBS = $DL_LIBS
17041 POLL_LIBS = $POLL_LIBS
17042 RT_LIBS = $RT_LIBS
17043 LDAP_LIBS = $LDAP_LIBS
17048 wine_fn_append_rule "
17049 # Rules automatically generated by configure
17051 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17053 .INIT: Makefile
17054 .MAKEFILEDEPS:
17055 all: Makefile
17056 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
17057 @./config.status Make.tmp Makefile"
17059 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17060 .gitignore: config.status
17061 @./config.status .gitignore"
17063 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17064 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17066 if test "x$enable_fonts" != xno; then
17067 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17068 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17069 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17070 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17071 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17073 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17074 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17075 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17076 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17077 ac_config_links="$ac_config_links wine:tools/winewrapper"
17078 wine_fn_config_symlink wine
17079 if test "x$enable_win64" != xno; then
17080 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17081 wine_fn_config_symlink wine64
17084 wine_fn_config_dll acledit enable_acledit
17085 wine_fn_config_dll aclui enable_aclui implib
17086 wine_fn_config_dll activeds enable_activeds implib
17087 wine_fn_config_dll actxprxy enable_actxprxy clean
17088 wine_fn_config_lib adsiid
17089 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17090 wine_fn_config_test dlls/advapi32/tests advapi32_test
17091 wine_fn_config_dll advpack enable_advpack implib
17092 wine_fn_config_test dlls/advpack/tests advpack_test
17093 wine_fn_config_dll amstream enable_amstream clean
17094 wine_fn_config_test dlls/amstream/tests amstream_test
17095 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17096 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17097 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17098 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17099 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17100 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17101 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17102 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17103 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17104 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17105 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17106 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17107 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17108 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17109 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17110 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17111 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17112 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17113 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17114 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17115 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17116 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17117 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17118 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17119 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17120 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17121 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17122 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17123 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17124 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17125 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17126 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17127 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17128 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17129 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17130 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17131 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17132 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17133 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17134 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17135 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17136 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17137 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17138 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17139 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17140 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17141 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17142 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17143 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17144 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17145 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17146 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17147 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17148 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17149 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17150 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17151 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17152 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17153 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17154 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17155 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17156 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17157 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17158 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17159 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17160 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17161 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17162 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17163 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17164 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17165 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17166 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17167 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17168 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17169 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17170 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17171 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17172 wine_fn_config_dll apphelp enable_apphelp
17173 wine_fn_config_test dlls/apphelp/tests apphelp_test
17174 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17175 wine_fn_config_dll atl enable_atl clean,implib
17176 wine_fn_config_test dlls/atl/tests atl_test
17177 wine_fn_config_dll atl100 enable_atl100 clean,implib
17178 wine_fn_config_test dlls/atl100/tests atl100_test
17179 wine_fn_config_dll atl110 enable_atl110 clean
17180 wine_fn_config_dll atl80 enable_atl80 clean,implib
17181 wine_fn_config_test dlls/atl80/tests atl80_test
17182 wine_fn_config_dll atl90 enable_atl90 clean
17183 wine_fn_config_dll authz enable_authz
17184 wine_fn_config_dll avicap32 enable_avicap32 implib
17185 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17186 wine_fn_config_test dlls/avifil32/tests avifil32_test
17187 wine_fn_config_dll avifile.dll16 enable_win16
17188 wine_fn_config_dll avrt enable_avrt implib
17189 wine_fn_config_dll bcrypt enable_bcrypt
17190 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17191 wine_fn_config_dll browseui enable_browseui clean,po
17192 wine_fn_config_test dlls/browseui/tests browseui_test
17193 wine_fn_config_dll cabinet enable_cabinet implib
17194 wine_fn_config_test dlls/cabinet/tests cabinet_test
17195 wine_fn_config_dll capi2032 enable_capi2032 implib
17196 wine_fn_config_dll cards enable_cards implib
17197 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17198 wine_fn_config_dll clusapi enable_clusapi implib
17199 wine_fn_config_dll combase enable_combase
17200 wine_fn_config_test dlls/combase/tests combase_test
17201 wine_fn_config_dll comcat enable_comcat
17202 wine_fn_config_test dlls/comcat/tests comcat_test
17203 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17204 wine_fn_config_test dlls/comctl32/tests comctl32_test
17205 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17206 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17207 wine_fn_config_dll comm.drv16 enable_win16
17208 wine_fn_config_dll commdlg.dll16 enable_win16
17209 wine_fn_config_dll compobj.dll16 enable_win16
17210 wine_fn_config_dll compstui enable_compstui implib
17211 wine_fn_config_dll comsvcs enable_comsvcs implib
17212 wine_fn_config_dll connect enable_connect
17213 wine_fn_config_dll credui enable_credui implib,po
17214 wine_fn_config_test dlls/credui/tests credui_test
17215 wine_fn_config_dll crtdll enable_crtdll implib
17216 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17217 wine_fn_config_test dlls/crypt32/tests crypt32_test
17218 wine_fn_config_dll cryptdlg enable_cryptdlg po
17219 wine_fn_config_dll cryptdll enable_cryptdll implib
17220 wine_fn_config_dll cryptext enable_cryptext
17221 wine_fn_config_dll cryptnet enable_cryptnet implib
17222 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17223 wine_fn_config_dll cryptui enable_cryptui implib,po
17224 wine_fn_config_test dlls/cryptui/tests cryptui_test
17225 wine_fn_config_dll ctapi32 enable_ctapi32
17226 wine_fn_config_dll ctl3d.dll16 enable_win16
17227 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17228 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17229 wine_fn_config_dll d2d1 enable_d2d1 implib
17230 wine_fn_config_test dlls/d2d1/tests d2d1_test
17231 wine_fn_config_dll d3d10 enable_d3d10 implib
17232 wine_fn_config_test dlls/d3d10/tests d3d10_test
17233 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17234 wine_fn_config_dll d3d10core enable_d3d10core implib
17235 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17236 wine_fn_config_dll d3d11 enable_d3d11
17237 wine_fn_config_dll d3d8 enable_d3d8 implib
17238 wine_fn_config_test dlls/d3d8/tests d3d8_test
17239 wine_fn_config_dll d3d9 enable_d3d9 implib
17240 wine_fn_config_test dlls/d3d9/tests d3d9_test
17241 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17242 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17243 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17244 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17245 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17246 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17247 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17248 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17249 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17250 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17251 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17252 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17253 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17254 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17255 wine_fn_config_dll d3dim enable_d3dim implib
17256 wine_fn_config_dll d3drm enable_d3drm implib
17257 wine_fn_config_test dlls/d3drm/tests d3drm_test
17258 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17259 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17260 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17261 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17262 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17263 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17264 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17265 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17266 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17267 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17268 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17269 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17270 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17271 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17272 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17273 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17274 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17275 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17276 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17277 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17278 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17279 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17280 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17281 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17282 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17283 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17284 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17285 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17286 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17287 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17288 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17289 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17290 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17291 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17292 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17293 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17294 wine_fn_config_dll davclnt enable_davclnt
17295 wine_fn_config_dll dbgeng enable_dbgeng implib
17296 wine_fn_config_dll dbghelp enable_dbghelp implib
17297 wine_fn_config_dll dciman32 enable_dciman32 implib
17298 wine_fn_config_dll ddeml.dll16 enable_win16
17299 wine_fn_config_dll ddraw enable_ddraw clean,implib
17300 wine_fn_config_test dlls/ddraw/tests ddraw_test
17301 wine_fn_config_dll ddrawex enable_ddrawex clean
17302 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17303 wine_fn_config_dll devenum enable_devenum clean,po
17304 wine_fn_config_test dlls/devenum/tests devenum_test
17305 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17306 wine_fn_config_dll difxapi enable_difxapi
17307 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17308 wine_fn_config_test dlls/dinput/tests dinput_test
17309 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17310 wine_fn_config_test dlls/dinput8/tests dinput8_test
17311 wine_fn_config_dll dispdib.dll16 enable_win16
17312 wine_fn_config_dll dispex enable_dispex clean
17313 wine_fn_config_test dlls/dispex/tests dispex_test
17314 wine_fn_config_dll display.drv16 enable_win16
17315 wine_fn_config_dll dmband enable_dmband clean
17316 wine_fn_config_test dlls/dmband/tests dmband_test
17317 wine_fn_config_dll dmcompos enable_dmcompos clean
17318 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17319 wine_fn_config_dll dmime enable_dmime clean
17320 wine_fn_config_test dlls/dmime/tests dmime_test
17321 wine_fn_config_dll dmloader enable_dmloader clean
17322 wine_fn_config_test dlls/dmloader/tests dmloader_test
17323 wine_fn_config_dll dmscript enable_dmscript clean
17324 wine_fn_config_test dlls/dmscript/tests dmscript_test
17325 wine_fn_config_dll dmstyle enable_dmstyle clean
17326 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17327 wine_fn_config_dll dmsynth enable_dmsynth clean
17328 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17329 wine_fn_config_dll dmusic enable_dmusic clean
17330 wine_fn_config_test dlls/dmusic/tests dmusic_test
17331 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17332 wine_fn_config_dll dnsapi enable_dnsapi implib
17333 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17334 wine_fn_config_dll dplay enable_dplay implib
17335 wine_fn_config_dll dplayx enable_dplayx clean,implib
17336 wine_fn_config_test dlls/dplayx/tests dplayx_test
17337 wine_fn_config_dll dpnaddr enable_dpnaddr
17338 wine_fn_config_dll dpnet enable_dpnet clean,implib
17339 wine_fn_config_test dlls/dpnet/tests dpnet_test
17340 wine_fn_config_dll dpnhpast enable_dpnhpast
17341 wine_fn_config_dll dpnlobby enable_dpnlobby
17342 wine_fn_config_dll dpvoice enable_dpvoice clean
17343 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17344 wine_fn_config_dll dpwsockx enable_dpwsockx
17345 wine_fn_config_dll drmclien enable_drmclien
17346 wine_fn_config_dll dsound enable_dsound clean,implib
17347 wine_fn_config_test dlls/dsound/tests dsound_test
17348 wine_fn_config_dll dssenh enable_dssenh
17349 wine_fn_config_test dlls/dssenh/tests dssenh_test
17350 wine_fn_config_dll dswave enable_dswave clean
17351 wine_fn_config_test dlls/dswave/tests dswave_test
17352 wine_fn_config_dll dwmapi enable_dwmapi implib
17353 wine_fn_config_dll dwrite enable_dwrite implib
17354 wine_fn_config_test dlls/dwrite/tests dwrite_test
17355 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17356 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17357 wine_fn_config_lib dxerr8
17358 wine_fn_config_lib dxerr9
17359 wine_fn_config_dll dxgi enable_dxgi implib
17360 wine_fn_config_test dlls/dxgi/tests dxgi_test
17361 wine_fn_config_lib dxguid
17362 wine_fn_config_dll dxva2 enable_dxva2
17363 wine_fn_config_dll evr enable_evr
17364 wine_fn_config_dll explorerframe enable_explorerframe clean
17365 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17366 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17367 wine_fn_config_dll faultrep enable_faultrep implib
17368 wine_fn_config_test dlls/faultrep/tests faultrep_test
17369 wine_fn_config_dll fltlib enable_fltlib
17370 wine_fn_config_dll fntcache enable_fntcache
17371 wine_fn_config_dll fontsub enable_fontsub
17372 wine_fn_config_dll fusion enable_fusion
17373 wine_fn_config_test dlls/fusion/tests fusion_test
17374 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17375 wine_fn_config_dll gameux enable_gameux clean
17376 wine_fn_config_test dlls/gameux/tests gameux_test
17377 wine_fn_config_dll gdi.exe16 enable_win16
17378 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17379 wine_fn_config_test dlls/gdi32/tests gdi32_test
17380 wine_fn_config_dll gdiplus enable_gdiplus implib
17381 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17382 wine_fn_config_dll glu32 enable_glu32 implib
17383 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17384 wine_fn_config_dll gpkcsp enable_gpkcsp
17385 wine_fn_config_dll hal enable_hal
17386 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17387 wine_fn_config_dll hid enable_hid implib
17388 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17389 wine_fn_config_dll hlink enable_hlink clean,implib
17390 wine_fn_config_test dlls/hlink/tests hlink_test
17391 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17392 wine_fn_config_dll httpapi enable_httpapi
17393 wine_fn_config_dll iccvid enable_iccvid po
17394 wine_fn_config_dll icmp enable_icmp
17395 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17396 wine_fn_config_test dlls/ieframe/tests ieframe_test
17397 wine_fn_config_dll ifsmgr.vxd enable_win16
17398 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17399 wine_fn_config_dll imagehlp enable_imagehlp implib
17400 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17401 wine_fn_config_dll imm.dll16 enable_win16
17402 wine_fn_config_dll imm32 enable_imm32 implib
17403 wine_fn_config_test dlls/imm32/tests imm32_test
17404 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17405 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17406 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17407 wine_fn_config_dll inetmib1 enable_inetmib1
17408 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17409 wine_fn_config_dll infosoft enable_infosoft clean
17410 wine_fn_config_test dlls/infosoft/tests infosoft_test
17411 wine_fn_config_dll initpki enable_initpki
17412 wine_fn_config_dll inkobj enable_inkobj
17413 wine_fn_config_dll inseng enable_inseng clean
17414 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17415 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17416 wine_fn_config_dll itircl enable_itircl
17417 wine_fn_config_dll itss enable_itss clean
17418 wine_fn_config_test dlls/itss/tests itss_test
17419 wine_fn_config_dll joy.cpl enable_joy_cpl po
17420 wine_fn_config_dll jscript enable_jscript clean,po
17421 wine_fn_config_test dlls/jscript/tests jscript_test
17422 wine_fn_config_dll jsproxy enable_jsproxy implib
17423 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17424 wine_fn_config_test dlls/kernel32/tests kernel32_test
17425 wine_fn_config_dll keyboard.drv16 enable_win16
17426 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17427 wine_fn_config_dll ksuser enable_ksuser
17428 wine_fn_config_dll ktmw32 enable_ktmw32
17429 wine_fn_config_dll loadperf enable_loadperf implib
17430 wine_fn_config_dll localspl enable_localspl po
17431 wine_fn_config_test dlls/localspl/tests localspl_test
17432 wine_fn_config_dll localui enable_localui po
17433 wine_fn_config_test dlls/localui/tests localui_test
17434 wine_fn_config_dll lz32 enable_lz32 implib
17435 wine_fn_config_test dlls/lz32/tests lz32_test
17436 wine_fn_config_dll lzexpand.dll16 enable_win16
17437 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17438 wine_fn_config_test dlls/mapi32/tests mapi32_test
17439 wine_fn_config_dll mapistub enable_mapistub
17440 wine_fn_config_dll mciavi32 enable_mciavi32
17441 wine_fn_config_dll mcicda enable_mcicda
17442 wine_fn_config_dll mciqtz32 enable_mciqtz32
17443 wine_fn_config_dll mciseq enable_mciseq
17444 wine_fn_config_dll mciwave enable_mciwave
17445 wine_fn_config_dll mf enable_mf
17446 wine_fn_config_dll mfplat enable_mfplat
17447 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17448 wine_fn_config_dll mgmtapi enable_mgmtapi
17449 wine_fn_config_dll midimap enable_midimap
17450 wine_fn_config_dll mlang enable_mlang clean,implib
17451 wine_fn_config_test dlls/mlang/tests mlang_test
17452 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17453 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17454 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17455 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17456 wine_fn_config_dll mmdevldr.vxd enable_win16
17457 wine_fn_config_dll mmsystem.dll16 enable_win16
17458 wine_fn_config_dll monodebg.vxd enable_win16
17459 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17460 wine_fn_config_dll mouse.drv16 enable_win16
17461 wine_fn_config_dll mpr enable_mpr implib,po
17462 wine_fn_config_test dlls/mpr/tests mpr_test
17463 wine_fn_config_dll mprapi enable_mprapi implib
17464 wine_fn_config_dll msacm.dll16 enable_win16
17465 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17466 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17467 wine_fn_config_test dlls/msacm32/tests msacm32_test
17468 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17469 wine_fn_config_dll msasn1 enable_msasn1 implib
17470 wine_fn_config_dll mscat32 enable_mscat32
17471 wine_fn_config_dll mscms enable_mscms implib
17472 wine_fn_config_test dlls/mscms/tests mscms_test
17473 wine_fn_config_dll mscoree enable_mscoree clean
17474 wine_fn_config_test dlls/mscoree/tests mscoree_test
17475 wine_fn_config_dll msctf enable_msctf clean
17476 wine_fn_config_test dlls/msctf/tests msctf_test
17477 wine_fn_config_dll msctfp enable_msctfp clean
17478 wine_fn_config_dll msdaps enable_msdaps clean
17479 wine_fn_config_dll msdmo enable_msdmo implib
17480 wine_fn_config_test dlls/msdmo/tests msdmo_test
17481 wine_fn_config_dll msftedit enable_msftedit
17482 wine_fn_config_dll msg711.acm enable_msg711_acm
17483 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17484 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17485 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17486 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17487 wine_fn_config_dll msi enable_msi clean,implib,po
17488 wine_fn_config_test dlls/msi/tests msi_test
17489 wine_fn_config_dll msident enable_msident clean
17490 wine_fn_config_dll msimg32 enable_msimg32 implib
17491 wine_fn_config_dll msimsg enable_msimsg
17492 wine_fn_config_dll msimtf enable_msimtf clean
17493 wine_fn_config_dll msisip enable_msisip
17494 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17495 wine_fn_config_dll msls31 enable_msls31
17496 wine_fn_config_dll msnet32 enable_msnet32
17497 wine_fn_config_dll mspatcha enable_mspatcha implib
17498 wine_fn_config_dll msrle32 enable_msrle32 po
17499 wine_fn_config_test dlls/msrle32/tests msrle32_test
17500 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17501 wine_fn_config_dll mssign32 enable_mssign32
17502 wine_fn_config_dll mssip32 enable_mssip32
17503 wine_fn_config_dll mstask enable_mstask clean
17504 wine_fn_config_test dlls/mstask/tests mstask_test
17505 wine_fn_config_dll msvcirt enable_msvcirt
17506 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17507 wine_fn_config_dll msvcm80 enable_msvcm80
17508 wine_fn_config_dll msvcm90 enable_msvcm90
17509 wine_fn_config_dll msvcp100 enable_msvcp100
17510 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17511 wine_fn_config_dll msvcp110 enable_msvcp110
17512 wine_fn_config_dll msvcp120 enable_msvcp120
17513 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17514 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17515 wine_fn_config_dll msvcp60 enable_msvcp60
17516 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17517 wine_fn_config_dll msvcp70 enable_msvcp70
17518 wine_fn_config_dll msvcp71 enable_msvcp71
17519 wine_fn_config_dll msvcp80 enable_msvcp80
17520 wine_fn_config_dll msvcp90 enable_msvcp90
17521 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17522 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17523 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17524 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17525 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17526 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17527 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17528 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17529 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17530 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17531 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17532 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17533 wine_fn_config_dll msvcrt enable_msvcrt implib
17534 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17535 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17536 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17537 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17538 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17539 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17540 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17541 wine_fn_config_dll msvidc32 enable_msvidc32 po
17542 wine_fn_config_dll msvideo.dll16 enable_win16
17543 wine_fn_config_dll mswsock enable_mswsock implib
17544 wine_fn_config_dll msxml enable_msxml clean
17545 wine_fn_config_dll msxml2 enable_msxml2 clean
17546 wine_fn_config_dll msxml3 enable_msxml3 clean
17547 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17548 wine_fn_config_dll msxml4 enable_msxml4 clean
17549 wine_fn_config_dll msxml6 enable_msxml6 clean
17550 wine_fn_config_dll nddeapi enable_nddeapi implib
17551 wine_fn_config_dll ndis.sys enable_ndis_sys
17552 wine_fn_config_dll netapi32 enable_netapi32 implib
17553 wine_fn_config_test dlls/netapi32/tests netapi32_test
17554 wine_fn_config_dll netcfgx enable_netcfgx clean
17555 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17556 wine_fn_config_dll netprofm enable_netprofm clean
17557 wine_fn_config_test dlls/netprofm/tests netprofm_test
17558 wine_fn_config_dll newdev enable_newdev implib
17559 wine_fn_config_dll normaliz enable_normaliz implib
17560 wine_fn_config_dll npmshtml enable_npmshtml
17561 wine_fn_config_dll npptools enable_npptools
17562 wine_fn_config_dll ntdll enable_ntdll implib
17563 wine_fn_config_test dlls/ntdll/tests ntdll_test
17564 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17565 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17566 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17567 wine_fn_config_dll ntprint enable_ntprint
17568 wine_fn_config_test dlls/ntprint/tests ntprint_test
17569 wine_fn_config_dll objsel enable_objsel clean
17570 wine_fn_config_dll odbc32 enable_odbc32 implib
17571 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17572 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17573 wine_fn_config_dll odbccu32 enable_odbccu32
17574 wine_fn_config_dll ole2.dll16 enable_win16
17575 wine_fn_config_dll ole2conv.dll16 enable_win16
17576 wine_fn_config_dll ole2disp.dll16 enable_win16
17577 wine_fn_config_dll ole2nls.dll16 enable_win16
17578 wine_fn_config_dll ole2prox.dll16 enable_win16
17579 wine_fn_config_dll ole2thk.dll16 enable_win16
17580 wine_fn_config_dll ole32 enable_ole32 clean,implib
17581 wine_fn_config_test dlls/ole32/tests ole32_test
17582 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17583 wine_fn_config_test dlls/oleacc/tests oleacc_test
17584 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17585 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17586 wine_fn_config_dll olecli.dll16 enable_win16
17587 wine_fn_config_dll olecli32 enable_olecli32 implib
17588 wine_fn_config_dll oledb32 enable_oledb32 clean
17589 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17590 wine_fn_config_dll oledlg enable_oledlg implib,po
17591 wine_fn_config_test dlls/oledlg/tests oledlg_test
17592 wine_fn_config_dll olepro32 enable_olepro32 implib
17593 wine_fn_config_dll olesvr.dll16 enable_win16
17594 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17595 wine_fn_config_dll olethk32 enable_olethk32
17596 wine_fn_config_dll openal32 enable_openal32
17597 wine_fn_config_dll opencl enable_opencl
17598 wine_fn_config_dll opengl32 enable_opengl32 implib
17599 wine_fn_config_test dlls/opengl32/tests opengl32_test
17600 wine_fn_config_dll packager enable_packager clean
17601 wine_fn_config_test dlls/packager/tests packager_test
17602 wine_fn_config_dll pdh enable_pdh implib
17603 wine_fn_config_test dlls/pdh/tests pdh_test
17604 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17605 wine_fn_config_dll pidgen enable_pidgen
17606 wine_fn_config_dll powrprof enable_powrprof implib
17607 wine_fn_config_dll printui enable_printui
17608 wine_fn_config_dll prntvpt enable_prntvpt
17609 wine_fn_config_dll propsys enable_propsys clean,implib
17610 wine_fn_config_test dlls/propsys/tests propsys_test
17611 wine_fn_config_dll psapi enable_psapi implib
17612 wine_fn_config_test dlls/psapi/tests psapi_test
17613 wine_fn_config_dll pstorec enable_pstorec clean
17614 wine_fn_config_dll qcap enable_qcap
17615 wine_fn_config_test dlls/qcap/tests qcap_test
17616 wine_fn_config_dll qedit enable_qedit clean
17617 wine_fn_config_test dlls/qedit/tests qedit_test
17618 wine_fn_config_dll qmgr enable_qmgr clean
17619 wine_fn_config_test dlls/qmgr/tests qmgr_test
17620 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17621 wine_fn_config_dll quartz enable_quartz clean,implib
17622 wine_fn_config_test dlls/quartz/tests quartz_test clean
17623 wine_fn_config_dll query enable_query
17624 wine_fn_config_dll rasapi16.dll16 enable_win16
17625 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17626 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17627 wine_fn_config_dll rasdlg enable_rasdlg implib
17628 wine_fn_config_dll regapi enable_regapi
17629 wine_fn_config_dll resutils enable_resutils implib
17630 wine_fn_config_dll riched20 enable_riched20 clean,implib
17631 wine_fn_config_test dlls/riched20/tests riched20_test
17632 wine_fn_config_dll riched32 enable_riched32
17633 wine_fn_config_test dlls/riched32/tests riched32_test
17634 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17635 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17636 wine_fn_config_dll rsabase enable_rsabase
17637 wine_fn_config_dll rsaenh enable_rsaenh implib
17638 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17639 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17640 wine_fn_config_dll rtutils enable_rtutils implib
17641 wine_fn_config_dll samlib enable_samlib
17642 wine_fn_config_dll sane.ds enable_sane_ds po
17643 wine_fn_config_dll scarddlg enable_scarddlg
17644 wine_fn_config_dll sccbase enable_sccbase
17645 wine_fn_config_dll schannel enable_schannel
17646 wine_fn_config_test dlls/schannel/tests schannel_test
17647 wine_fn_config_dll schedsvc enable_schedsvc clean
17648 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17649 wine_fn_config_dll scrrun enable_scrrun clean
17650 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17651 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17652 wine_fn_config_dll secur32 enable_secur32 implib
17653 wine_fn_config_test dlls/secur32/tests secur32_test
17654 wine_fn_config_dll security enable_security
17655 wine_fn_config_dll sensapi enable_sensapi implib
17656 wine_fn_config_dll serialui enable_serialui implib,po
17657 wine_fn_config_test dlls/serialui/tests serialui_test
17658 wine_fn_config_dll setupapi enable_setupapi implib,po
17659 wine_fn_config_test dlls/setupapi/tests setupapi_test
17660 wine_fn_config_dll setupx.dll16 enable_win16
17661 wine_fn_config_dll sfc enable_sfc implib
17662 wine_fn_config_dll sfc_os enable_sfc_os implib
17663 wine_fn_config_dll shdoclc enable_shdoclc po
17664 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17665 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17666 wine_fn_config_dll shell.dll16 enable_win16
17667 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17668 wine_fn_config_test dlls/shell32/tests shell32_test
17669 wine_fn_config_dll shfolder enable_shfolder implib
17670 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17671 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17672 wine_fn_config_dll slbcsp enable_slbcsp
17673 wine_fn_config_dll slc enable_slc implib
17674 wine_fn_config_test dlls/slc/tests slc_test
17675 wine_fn_config_dll snmpapi enable_snmpapi implib
17676 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17677 wine_fn_config_dll softpub enable_softpub
17678 wine_fn_config_dll sound.drv16 enable_win16
17679 wine_fn_config_dll spoolss enable_spoolss implib
17680 wine_fn_config_test dlls/spoolss/tests spoolss_test
17681 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17682 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17683 wine_fn_config_dll sti enable_sti clean,implib
17684 wine_fn_config_test dlls/sti/tests sti_test
17685 wine_fn_config_dll storage.dll16 enable_win16
17686 wine_fn_config_dll stress.dll16 enable_win16
17687 wine_fn_config_lib strmbase
17688 wine_fn_config_lib strmiids
17689 wine_fn_config_dll svrapi enable_svrapi
17690 wine_fn_config_dll sxs enable_sxs implib
17691 wine_fn_config_test dlls/sxs/tests sxs_test
17692 wine_fn_config_dll system.drv16 enable_win16
17693 wine_fn_config_dll t2embed enable_t2embed
17694 wine_fn_config_dll tapi32 enable_tapi32 implib
17695 wine_fn_config_dll taskschd enable_taskschd clean
17696 wine_fn_config_test dlls/taskschd/tests taskschd_test
17697 wine_fn_config_dll toolhelp.dll16 enable_win16
17698 wine_fn_config_dll traffic enable_traffic
17699 wine_fn_config_dll twain.dll16 enable_win16
17700 wine_fn_config_dll twain_32 enable_twain_32
17701 wine_fn_config_test dlls/twain_32/tests twain_32_test
17702 wine_fn_config_dll typelib.dll16 enable_win16
17703 wine_fn_config_dll unicows enable_unicows implib
17704 wine_fn_config_dll updspapi enable_updspapi
17705 wine_fn_config_dll url enable_url implib
17706 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17707 wine_fn_config_test dlls/urlmon/tests urlmon_test
17708 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17709 wine_fn_config_dll user.exe16 enable_win16
17710 wine_fn_config_dll user32 enable_user32 clean,implib,po
17711 wine_fn_config_test dlls/user32/tests user32_test
17712 wine_fn_config_dll userenv enable_userenv implib
17713 wine_fn_config_test dlls/userenv/tests userenv_test
17714 wine_fn_config_dll usp10 enable_usp10 implib
17715 wine_fn_config_test dlls/usp10/tests usp10_test
17716 wine_fn_config_lib uuid
17717 wine_fn_config_dll uxtheme enable_uxtheme implib
17718 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17719 wine_fn_config_dll vbscript enable_vbscript clean
17720 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17721 wine_fn_config_dll vcomp enable_vcomp
17722 wine_fn_config_test dlls/vcomp/tests vcomp_test
17723 wine_fn_config_dll vcomp100 enable_vcomp100
17724 wine_fn_config_dll vcomp90 enable_vcomp90
17725 wine_fn_config_dll vdhcp.vxd enable_win16
17726 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17727 wine_fn_config_dll ver.dll16 enable_win16
17728 wine_fn_config_dll version enable_version implib
17729 wine_fn_config_test dlls/version/tests version_test
17730 wine_fn_config_dll vmm.vxd enable_win16
17731 wine_fn_config_dll vnbt.vxd enable_win16
17732 wine_fn_config_dll vnetbios.vxd enable_win16
17733 wine_fn_config_dll vssapi enable_vssapi
17734 wine_fn_config_dll vtdapi.vxd enable_win16
17735 wine_fn_config_dll vwin32.vxd enable_win16
17736 wine_fn_config_dll w32skrnl enable_win16
17737 wine_fn_config_dll w32sys.dll16 enable_win16
17738 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17739 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17740 wine_fn_config_dll wbemprox enable_wbemprox clean
17741 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17742 wine_fn_config_dll webservices enable_webservices implib
17743 wine_fn_config_dll wer enable_wer implib
17744 wine_fn_config_test dlls/wer/tests wer_test
17745 wine_fn_config_dll wevtapi enable_wevtapi
17746 wine_fn_config_dll wiaservc enable_wiaservc clean
17747 wine_fn_config_dll win32s16.dll16 enable_win16
17748 wine_fn_config_dll win87em.dll16 enable_win16
17749 wine_fn_config_dll winaspi.dll16 enable_win16
17750 wine_fn_config_dll windebug.dll16 enable_win16
17751 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17752 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17753 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17754 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17755 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17756 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17757 wine_fn_config_lib winecrt0
17758 wine_fn_config_dll wined3d enable_wined3d implib
17759 wine_fn_config_dll winegstreamer enable_winegstreamer
17760 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17761 wine_fn_config_dll winemac.drv enable_winemac_drv
17762 wine_fn_config_dll winemapi enable_winemapi
17763 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17764 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17765 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17766 wine_fn_config_dll wineps16.drv16 enable_win16
17767 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17768 wine_fn_config_dll winex11.drv enable_winex11_drv
17769 wine_fn_config_dll wing.dll16 enable_win16
17770 wine_fn_config_dll wing32 enable_wing32
17771 wine_fn_config_dll winhttp enable_winhttp clean,implib
17772 wine_fn_config_test dlls/winhttp/tests winhttp_test
17773 wine_fn_config_dll wininet enable_wininet implib,po
17774 wine_fn_config_test dlls/wininet/tests wininet_test
17775 wine_fn_config_dll winmm enable_winmm implib,po
17776 wine_fn_config_test dlls/winmm/tests winmm_test
17777 wine_fn_config_dll winnls.dll16 enable_win16
17778 wine_fn_config_dll winnls32 enable_winnls32 implib
17779 wine_fn_config_dll winscard enable_winscard implib
17780 wine_fn_config_dll winsock.dll16 enable_win16
17781 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17782 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17783 wine_fn_config_dll winsta enable_winsta
17784 wine_fn_config_dll wintab.dll16 enable_win16
17785 wine_fn_config_dll wintab32 enable_wintab32 implib
17786 wine_fn_config_test dlls/wintab32/tests wintab32_test
17787 wine_fn_config_dll wintrust enable_wintrust implib
17788 wine_fn_config_test dlls/wintrust/tests wintrust_test
17789 wine_fn_config_dll wlanapi enable_wlanapi
17790 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17791 wine_fn_config_test dlls/wldap32/tests wldap32_test
17792 wine_fn_config_dll wmi enable_wmi
17793 wine_fn_config_dll wmiutils enable_wmiutils clean
17794 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17795 wine_fn_config_dll wmp enable_wmp clean
17796 wine_fn_config_test dlls/wmp/tests wmp_test
17797 wine_fn_config_dll wmvcore enable_wmvcore
17798 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17799 wine_fn_config_dll wow32 enable_win16 implib
17800 wine_fn_config_dll wpcap enable_wpcap
17801 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17802 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17803 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17804 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17805 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17806 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17807 wine_fn_config_dll wsock32 enable_wsock32 implib
17808 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17809 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17810 wine_fn_config_dll wuapi enable_wuapi clean
17811 wine_fn_config_dll wuaueng enable_wuaueng
17812 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17813 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17814 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17815 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17816 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17817 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17818 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17819 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17820 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17821 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17822 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17823 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17824 wine_fn_config_dll xinput1_1 enable_xinput1_1
17825 wine_fn_config_dll xinput1_2 enable_xinput1_2
17826 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17827 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17828 wine_fn_config_dll xinput1_4 enable_xinput1_4
17829 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17830 wine_fn_config_dll xmllite enable_xmllite implib
17831 wine_fn_config_test dlls/xmllite/tests xmllite_test
17832 wine_fn_config_dll xolehlp enable_xolehlp
17833 wine_fn_config_dll xpsprint enable_xpsprint
17834 wine_fn_config_dll xpssvcs enable_xpssvcs
17835 wine_fn_config_makefile documentation enable_documentation clean
17836 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17837 wine_fn_config_makefile include enable_include clean,install-dev
17838 wine_fn_config_makefile libs/port enable_libs_port
17839 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17840 wine_fn_config_makefile libs/wpp enable_libs_wpp
17841 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17842 wine_fn_config_program arp enable_arp install
17843 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17844 wine_fn_config_program attrib enable_attrib install,po
17845 wine_fn_config_program cabarc enable_cabarc install
17846 wine_fn_config_program cacls enable_cacls install
17847 wine_fn_config_program clock enable_clock install,po
17848 wine_fn_config_program cmd enable_cmd install,po
17849 wine_fn_config_test programs/cmd/tests cmd.exe_test
17850 wine_fn_config_program conhost enable_conhost install
17851 wine_fn_config_program control enable_control install
17852 wine_fn_config_program cscript enable_cscript clean,install
17853 wine_fn_config_program dpnsvr enable_dpnsvr install
17854 wine_fn_config_program dxdiag enable_dxdiag install,po
17855 wine_fn_config_program eject enable_eject install
17856 wine_fn_config_program expand enable_expand install
17857 wine_fn_config_program explorer enable_explorer install,po
17858 wine_fn_config_program extrac32 enable_extrac32 install
17859 wine_fn_config_program findstr enable_findstr install
17860 wine_fn_config_program hh enable_hh install
17861 wine_fn_config_program hostname enable_hostname install,po
17862 wine_fn_config_program icinfo enable_icinfo install
17863 wine_fn_config_program iexplore enable_iexplore install
17864 wine_fn_config_program ipconfig enable_ipconfig install,po
17865 wine_fn_config_program lodctr enable_lodctr install
17866 wine_fn_config_program mofcomp enable_mofcomp install
17867 wine_fn_config_program mshta enable_mshta install
17868 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17869 wine_fn_config_program net enable_net install,po
17870 wine_fn_config_program netsh enable_netsh install
17871 wine_fn_config_program netstat enable_netstat install,po
17872 wine_fn_config_program ngen enable_ngen install
17873 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17874 wine_fn_config_program oleview enable_oleview install,po
17875 wine_fn_config_program ping enable_ping install
17876 wine_fn_config_program plugplay enable_plugplay install
17877 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17878 wine_fn_config_program progman enable_progman install,po
17879 wine_fn_config_program reg enable_reg install,po
17880 wine_fn_config_test programs/reg/tests reg.exe_test
17881 wine_fn_config_program regasm enable_regasm install
17882 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17883 wine_fn_config_test programs/regedit/tests regedit.exe_test
17884 wine_fn_config_program regsvcs enable_regsvcs install
17885 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17886 wine_fn_config_program rpcss enable_rpcss clean,install
17887 wine_fn_config_program rundll.exe16 enable_win16 install
17888 wine_fn_config_program rundll32 enable_rundll32 install
17889 wine_fn_config_program sc enable_sc install
17890 wine_fn_config_program schtasks enable_schtasks install
17891 wine_fn_config_program sdbinst enable_sdbinst install
17892 wine_fn_config_program secedit enable_secedit install
17893 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17894 wine_fn_config_program services enable_services clean,install
17895 wine_fn_config_test programs/services/tests services.exe_test
17896 wine_fn_config_program spoolsv enable_spoolsv install
17897 wine_fn_config_program start enable_start install,po
17898 wine_fn_config_program svchost enable_svchost install
17899 wine_fn_config_program systeminfo enable_systeminfo install
17900 wine_fn_config_program taskkill enable_taskkill install,po
17901 wine_fn_config_program tasklist enable_tasklist install
17902 wine_fn_config_program taskmgr enable_taskmgr install,po
17903 wine_fn_config_program termsv enable_termsv install
17904 wine_fn_config_program uninstaller enable_uninstaller install,po
17905 wine_fn_config_program unlodctr enable_unlodctr install
17906 wine_fn_config_program view enable_view install,po
17907 wine_fn_config_program wevtutil enable_wevtutil install
17908 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17909 wine_fn_config_program winebrowser enable_winebrowser install
17910 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17911 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17912 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17913 wine_fn_config_program winedevice enable_winedevice install
17914 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17915 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17916 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17917 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17918 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17919 wine_fn_config_program winetest enable_winetest clean
17920 wine_fn_config_program winevdm enable_win16 install
17921 wine_fn_config_program winhelp.exe16 enable_win16 install
17922 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17923 wine_fn_config_program winoldap.mod16 enable_win16 install
17924 wine_fn_config_program winver enable_winver install
17925 wine_fn_config_program wmic enable_wmic install,po
17926 wine_fn_config_program wordpad enable_wordpad install,po
17927 wine_fn_config_program write enable_write install,po
17928 wine_fn_config_program wscript enable_wscript clean,install
17929 wine_fn_config_test programs/wscript/tests wscript.exe_test
17930 wine_fn_config_program wusa enable_wusa install
17931 wine_fn_config_program xcopy enable_xcopy install,po
17932 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17933 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17934 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17935 wine_fn_config_tool tools/sfnt2fon clean
17936 wine_fn_config_tool tools/widl clean,install-dev,manpage
17937 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17938 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17939 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17940 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17941 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17943 LINGUAS="\
17944 ar \
17945 bg \
17946 ca \
17947 cs \
17948 da \
17949 de \
17950 el \
17951 en \
17952 en_US \
17953 eo \
17954 es \
17955 fa \
17956 fi \
17957 fr \
17958 he \
17959 hi \
17960 hr \
17961 hu \
17962 it \
17963 ja \
17964 ko \
17965 lt \
17966 ml \
17967 nb_NO \
17968 nl \
17969 or \
17970 pa \
17971 pl \
17972 pt_BR \
17973 pt_PT \
17974 rm \
17975 ro \
17976 ru \
17977 sk \
17978 sl \
17979 sr_RS@cyrillic \
17980 sr_RS@latin \
17981 sv \
17982 te \
17983 th \
17984 tr \
17985 uk \
17986 wa \
17987 zh_CN \
17988 zh_TW"
17993 wine_fn_ignore_file ".gitignore"
17994 wine_fn_ignore_file "Makefile"
17995 wine_fn_ignore_file "TAGS"
17996 wine_fn_ignore_file "tags"
17997 wine_fn_ignore_file "autom4te.cache"
17998 wine_fn_ignore_file "config.cache"
17999 wine_fn_ignore_file "config.log"
18000 wine_fn_ignore_file "config.status"
18001 wine_fn_ignore_file "configure.lineno"
18002 wine_fn_ignore_file "include/config.h"
18003 wine_fn_ignore_file "include/stamp-h"
18004 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18006 if test "x$enable_tools" != xno
18007 then
18008 wine_fn_ignore_file "tools/makedep$ac_exeext"
18009 ac_config_commands="$ac_config_commands tools/makedep"
18013 ac_config_commands="$ac_config_commands Makefile"
18016 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
18020 if test "x$enable_maintainer_mode" = xyes
18021 then
18022 wine_fn_append_rule "configure: configure.ac aclocal.m4
18023 autoconf --warnings=all
18024 include/config.h.in: include/stamp-h.in
18025 include/stamp-h.in: configure.ac aclocal.m4
18026 autoheader --warnings=all
18027 @echo timestamp > \$@"
18030 if test "x$with_gettextpo" = xyes
18031 then
18032 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18033 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18034 \$(LINGUAS:%=po/%.po): po/wine.pot
18035 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18036 po/wine.pot: \$(ALL_POT_FILES)
18037 msgcat -o \$@ \$(ALL_POT_FILES)"
18040 if test "$MSGFMT" != false
18041 then
18042 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18043 clean::
18044 \$(RM) \$(LINGUAS:%=po/%.mo)"
18046 posrc="po"
18047 test "$srcdir" = . || posrc="$srcdir/po"
18048 for i in $LINGUAS
18050 wine_fn_ignore_file "po/$i.mo"
18051 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18052 \$(MSGFMT) -o \$@ $posrc/$i.po"
18053 done
18054 else
18055 LINGUAS=
18058 if test "x$enable_tools" != xno
18059 then
18060 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18061 @./config.status tools/makedep
18062 Makefile: tools/makedep$ac_exeext
18063 distclean:: clean
18064 \$(RM) tools/makedep$ac_exeext"
18065 else
18066 wine_fn_append_rule "\$(MAKEDEP):
18067 @echo \"You need to run make in $TOOLSDIR first\" && false"
18070 if test -n "$with_wine64"
18071 then
18072 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18073 fonts server tools:
18074 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18075 $with_wine64/loader/wine:
18076 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18077 $with_wine64/loader/wine-preloader:
18078 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18079 clean::
18080 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18081 else
18082 as_fn_append LOADER_RULES "
18083 install install-lib:: wine.inf install-man-pages
18084 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18085 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18087 uninstall::
18088 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18092 if test "$srcdir" = .
18093 then
18094 ac_config_commands="$ac_config_commands .gitignore"
18098 $as_echo " done" >&6
18099 cat >confcache <<\_ACEOF
18100 # This file is a shell script that caches the results of configure
18101 # tests run on this system so they can be shared between configure
18102 # scripts and configure runs, see configure's option --config-cache.
18103 # It is not useful on other systems. If it contains results you don't
18104 # want to keep, you may remove or edit it.
18106 # config.status only pays attention to the cache file if you give it
18107 # the --recheck option to rerun configure.
18109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18111 # following values.
18113 _ACEOF
18115 # The following way of writing the cache mishandles newlines in values,
18116 # but we know of no workaround that is simple, portable, and efficient.
18117 # So, we kill variables containing newlines.
18118 # Ultrix sh set writes to stderr and can't be redirected directly,
18119 # and sets the high bit in the cache file unless we assign to the vars.
18121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18122 eval ac_val=\$$ac_var
18123 case $ac_val in #(
18124 *${as_nl}*)
18125 case $ac_var in #(
18126 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18127 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18128 esac
18129 case $ac_var in #(
18130 _ | IFS | as_nl) ;; #(
18131 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18132 *) { eval $ac_var=; unset $ac_var;} ;;
18133 esac ;;
18134 esac
18135 done
18137 (set) 2>&1 |
18138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18139 *${as_nl}ac_space=\ *)
18140 # `set' does not quote correctly, so add quotes: double-quote
18141 # substitution turns \\\\ into \\, and sed turns \\ into \.
18142 sed -n \
18143 "s/'/'\\\\''/g;
18144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18145 ;; #(
18147 # `set' quotes correctly as required by POSIX, so do not add quotes.
18148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18150 esac |
18151 sort
18153 sed '
18154 /^ac_cv_env_/b end
18155 t clear
18156 :clear
18157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18158 t end
18159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18160 :end' >>confcache
18161 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18162 if test -w "$cache_file"; then
18163 if test "x$cache_file" != "x/dev/null"; then
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18165 $as_echo "$as_me: updating cache $cache_file" >&6;}
18166 if test ! -f "$cache_file" || test -h "$cache_file"; then
18167 cat confcache >"$cache_file"
18168 else
18169 case $cache_file in #(
18170 */* | ?:*)
18171 mv -f confcache "$cache_file"$$ &&
18172 mv -f "$cache_file"$$ "$cache_file" ;; #(
18174 mv -f confcache "$cache_file" ;;
18175 esac
18178 else
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18180 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18183 rm -f confcache
18185 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18186 # Let make expand exec_prefix.
18187 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18189 DEFS=-DHAVE_CONFIG_H
18191 ac_libobjs=
18192 ac_ltlibobjs=
18194 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18195 # 1. Remove the extension, and $U if already installed.
18196 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18197 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18198 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18199 # will be set to the directory where LIBOBJS objects are built.
18200 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18201 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18202 done
18203 LIBOBJS=$ac_libobjs
18205 LTLIBOBJS=$ac_ltlibobjs
18209 : "${CONFIG_STATUS=./config.status}"
18210 ac_write_fail=0
18211 ac_clean_files_save=$ac_clean_files
18212 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18214 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18215 as_write_fail=0
18216 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18217 #! $SHELL
18218 # Generated by $as_me.
18219 # Run this file to recreate the current configuration.
18220 # Compiler output produced by configure, useful for debugging
18221 # configure, is in config.log if it exists.
18223 debug=false
18224 ac_cs_recheck=false
18225 ac_cs_silent=false
18227 SHELL=\${CONFIG_SHELL-$SHELL}
18228 export SHELL
18229 _ASEOF
18230 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18231 ## -------------------- ##
18232 ## M4sh Initialization. ##
18233 ## -------------------- ##
18235 # Be more Bourne compatible
18236 DUALCASE=1; export DUALCASE # for MKS sh
18237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18238 emulate sh
18239 NULLCMD=:
18240 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18241 # is contrary to our usage. Disable this feature.
18242 alias -g '${1+"$@"}'='"$@"'
18243 setopt NO_GLOB_SUBST
18244 else
18245 case `(set -o) 2>/dev/null` in #(
18246 *posix*) :
18247 set -o posix ;; #(
18248 *) :
18250 esac
18254 as_nl='
18256 export as_nl
18257 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18258 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18260 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18261 # Prefer a ksh shell builtin over an external printf program on Solaris,
18262 # but without wasting forks for bash or zsh.
18263 if test -z "$BASH_VERSION$ZSH_VERSION" \
18264 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18265 as_echo='print -r --'
18266 as_echo_n='print -rn --'
18267 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18268 as_echo='printf %s\n'
18269 as_echo_n='printf %s'
18270 else
18271 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18272 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18273 as_echo_n='/usr/ucb/echo -n'
18274 else
18275 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18276 as_echo_n_body='eval
18277 arg=$1;
18278 case $arg in #(
18279 *"$as_nl"*)
18280 expr "X$arg" : "X\\(.*\\)$as_nl";
18281 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18282 esac;
18283 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18285 export as_echo_n_body
18286 as_echo_n='sh -c $as_echo_n_body as_echo'
18288 export as_echo_body
18289 as_echo='sh -c $as_echo_body as_echo'
18292 # The user is always right.
18293 if test "${PATH_SEPARATOR+set}" != set; then
18294 PATH_SEPARATOR=:
18295 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18296 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18297 PATH_SEPARATOR=';'
18302 # IFS
18303 # We need space, tab and new line, in precisely that order. Quoting is
18304 # there to prevent editors from complaining about space-tab.
18305 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18306 # splitting by setting IFS to empty value.)
18307 IFS=" "" $as_nl"
18309 # Find who we are. Look in the path if we contain no directory separator.
18310 as_myself=
18311 case $0 in #((
18312 *[\\/]* ) as_myself=$0 ;;
18313 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18314 for as_dir in $PATH
18316 IFS=$as_save_IFS
18317 test -z "$as_dir" && as_dir=.
18318 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18319 done
18320 IFS=$as_save_IFS
18323 esac
18324 # We did not find ourselves, most probably we were run as `sh COMMAND'
18325 # in which case we are not to be found in the path.
18326 if test "x$as_myself" = x; then
18327 as_myself=$0
18329 if test ! -f "$as_myself"; then
18330 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18331 exit 1
18334 # Unset variables that we do not need and which cause bugs (e.g. in
18335 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18336 # suppresses any "Segmentation fault" message there. '((' could
18337 # trigger a bug in pdksh 5.2.14.
18338 for as_var in BASH_ENV ENV MAIL MAILPATH
18339 do eval test x\${$as_var+set} = xset \
18340 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18341 done
18342 PS1='$ '
18343 PS2='> '
18344 PS4='+ '
18346 # NLS nuisances.
18347 LC_ALL=C
18348 export LC_ALL
18349 LANGUAGE=C
18350 export LANGUAGE
18352 # CDPATH.
18353 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18356 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18357 # ----------------------------------------
18358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18360 # script with STATUS, using 1 if that was 0.
18361 as_fn_error ()
18363 as_status=$1; test $as_status -eq 0 && as_status=1
18364 if test "$4"; then
18365 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18368 $as_echo "$as_me: error: $2" >&2
18369 as_fn_exit $as_status
18370 } # as_fn_error
18373 # as_fn_set_status STATUS
18374 # -----------------------
18375 # Set $? to STATUS, without forking.
18376 as_fn_set_status ()
18378 return $1
18379 } # as_fn_set_status
18381 # as_fn_exit STATUS
18382 # -----------------
18383 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18384 as_fn_exit ()
18386 set +e
18387 as_fn_set_status $1
18388 exit $1
18389 } # as_fn_exit
18391 # as_fn_unset VAR
18392 # ---------------
18393 # Portably unset VAR.
18394 as_fn_unset ()
18396 { eval $1=; unset $1;}
18398 as_unset=as_fn_unset
18399 # as_fn_append VAR VALUE
18400 # ----------------------
18401 # Append the text in VALUE to the end of the definition contained in VAR. Take
18402 # advantage of any shell optimizations that allow amortized linear growth over
18403 # repeated appends, instead of the typical quadratic growth present in naive
18404 # implementations.
18405 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18406 eval 'as_fn_append ()
18408 eval $1+=\$2
18410 else
18411 as_fn_append ()
18413 eval $1=\$$1\$2
18415 fi # as_fn_append
18417 # as_fn_arith ARG...
18418 # ------------------
18419 # Perform arithmetic evaluation on the ARGs, and store the result in the
18420 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18421 # must be portable across $(()) and expr.
18422 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18423 eval 'as_fn_arith ()
18425 as_val=$(( $* ))
18427 else
18428 as_fn_arith ()
18430 as_val=`expr "$@" || test $? -eq 1`
18432 fi # as_fn_arith
18435 if expr a : '\(a\)' >/dev/null 2>&1 &&
18436 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18437 as_expr=expr
18438 else
18439 as_expr=false
18442 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18443 as_basename=basename
18444 else
18445 as_basename=false
18448 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18449 as_dirname=dirname
18450 else
18451 as_dirname=false
18454 as_me=`$as_basename -- "$0" ||
18455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18456 X"$0" : 'X\(//\)$' \| \
18457 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18458 $as_echo X/"$0" |
18459 sed '/^.*\/\([^/][^/]*\)\/*$/{
18460 s//\1/
18463 /^X\/\(\/\/\)$/{
18464 s//\1/
18467 /^X\/\(\/\).*/{
18468 s//\1/
18471 s/.*/./; q'`
18473 # Avoid depending upon Character Ranges.
18474 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18475 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18476 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18477 as_cr_digits='0123456789'
18478 as_cr_alnum=$as_cr_Letters$as_cr_digits
18480 ECHO_C= ECHO_N= ECHO_T=
18481 case `echo -n x` in #(((((
18482 -n*)
18483 case `echo 'xy\c'` in
18484 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18485 xy) ECHO_C='\c';;
18486 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18487 ECHO_T=' ';;
18488 esac;;
18490 ECHO_N='-n';;
18491 esac
18493 rm -f conf$$ conf$$.exe conf$$.file
18494 if test -d conf$$.dir; then
18495 rm -f conf$$.dir/conf$$.file
18496 else
18497 rm -f conf$$.dir
18498 mkdir conf$$.dir 2>/dev/null
18500 if (echo >conf$$.file) 2>/dev/null; then
18501 if ln -s conf$$.file conf$$ 2>/dev/null; then
18502 as_ln_s='ln -s'
18503 # ... but there are two gotchas:
18504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18506 # In both cases, we have to default to `cp -pR'.
18507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18508 as_ln_s='cp -pR'
18509 elif ln conf$$.file conf$$ 2>/dev/null; then
18510 as_ln_s=ln
18511 else
18512 as_ln_s='cp -pR'
18514 else
18515 as_ln_s='cp -pR'
18517 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18518 rmdir conf$$.dir 2>/dev/null
18521 # as_fn_mkdir_p
18522 # -------------
18523 # Create "$as_dir" as a directory, including parents if necessary.
18524 as_fn_mkdir_p ()
18527 case $as_dir in #(
18528 -*) as_dir=./$as_dir;;
18529 esac
18530 test -d "$as_dir" || eval $as_mkdir_p || {
18531 as_dirs=
18532 while :; do
18533 case $as_dir in #(
18534 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18535 *) as_qdir=$as_dir;;
18536 esac
18537 as_dirs="'$as_qdir' $as_dirs"
18538 as_dir=`$as_dirname -- "$as_dir" ||
18539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18540 X"$as_dir" : 'X\(//\)[^/]' \| \
18541 X"$as_dir" : 'X\(//\)$' \| \
18542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18543 $as_echo X"$as_dir" |
18544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18545 s//\1/
18548 /^X\(\/\/\)[^/].*/{
18549 s//\1/
18552 /^X\(\/\/\)$/{
18553 s//\1/
18556 /^X\(\/\).*/{
18557 s//\1/
18560 s/.*/./; q'`
18561 test -d "$as_dir" && break
18562 done
18563 test -z "$as_dirs" || eval "mkdir $as_dirs"
18564 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18567 } # as_fn_mkdir_p
18568 if mkdir -p . 2>/dev/null; then
18569 as_mkdir_p='mkdir -p "$as_dir"'
18570 else
18571 test -d ./-p && rmdir ./-p
18572 as_mkdir_p=false
18576 # as_fn_executable_p FILE
18577 # -----------------------
18578 # Test if FILE is an executable regular file.
18579 as_fn_executable_p ()
18581 test -f "$1" && test -x "$1"
18582 } # as_fn_executable_p
18583 as_test_x='test -x'
18584 as_executable_p=as_fn_executable_p
18586 # Sed expression to map a string onto a valid CPP name.
18587 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18589 # Sed expression to map a string onto a valid variable name.
18590 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18593 exec 6>&1
18594 ## ----------------------------------- ##
18595 ## Main body of $CONFIG_STATUS script. ##
18596 ## ----------------------------------- ##
18597 _ASEOF
18598 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18601 # Save the log message, to keep $0 and so on meaningful, and to
18602 # report actual input values of CONFIG_FILES etc. instead of their
18603 # values after options handling.
18604 ac_log="
18605 This file was extended by Wine $as_me 1.7.47, which was
18606 generated by GNU Autoconf 2.69. Invocation command line was
18608 CONFIG_FILES = $CONFIG_FILES
18609 CONFIG_HEADERS = $CONFIG_HEADERS
18610 CONFIG_LINKS = $CONFIG_LINKS
18611 CONFIG_COMMANDS = $CONFIG_COMMANDS
18612 $ $0 $@
18614 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18617 _ACEOF
18619 case $ac_config_files in *"
18620 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18621 esac
18623 case $ac_config_headers in *"
18624 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18625 esac
18628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18629 # Files that config.status was made for.
18630 config_files="$ac_config_files"
18631 config_headers="$ac_config_headers"
18632 config_links="$ac_config_links"
18633 config_commands="$ac_config_commands"
18635 _ACEOF
18637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18638 ac_cs_usage="\
18639 \`$as_me' instantiates files and other configuration actions
18640 from templates according to the current configuration. Unless the files
18641 and actions are specified as TAGs, all are instantiated by default.
18643 Usage: $0 [OPTION]... [TAG]...
18645 -h, --help print this help, then exit
18646 -V, --version print version number and configuration settings, then exit
18647 --config print configuration, then exit
18648 -q, --quiet, --silent
18649 do not print progress messages
18650 -d, --debug don't remove temporary files
18651 --recheck update $as_me by reconfiguring in the same conditions
18652 --file=FILE[:TEMPLATE]
18653 instantiate the configuration file FILE
18654 --header=FILE[:TEMPLATE]
18655 instantiate the configuration header FILE
18657 Configuration files:
18658 $config_files
18660 Configuration headers:
18661 $config_headers
18663 Configuration links:
18664 $config_links
18666 Configuration commands:
18667 $config_commands
18669 Report bugs to <wine-devel@winehq.org>.
18670 Wine home page: <http://www.winehq.org>."
18672 _ACEOF
18673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18674 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18675 ac_cs_version="\\
18676 Wine config.status 1.7.47
18677 configured by $0, generated by GNU Autoconf 2.69,
18678 with options \\"\$ac_cs_config\\"
18680 Copyright (C) 2012 Free Software Foundation, Inc.
18681 This config.status script is free software; the Free Software Foundation
18682 gives unlimited permission to copy, distribute and modify it."
18684 ac_pwd='$ac_pwd'
18685 srcdir='$srcdir'
18686 test -n "\$AWK" || AWK=awk
18687 _ACEOF
18689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18690 # The default lists apply if the user does not specify any file.
18691 ac_need_defaults=:
18692 while test $# != 0
18694 case $1 in
18695 --*=?*)
18696 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18697 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18698 ac_shift=:
18700 --*=)
18701 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18702 ac_optarg=
18703 ac_shift=:
18706 ac_option=$1
18707 ac_optarg=$2
18708 ac_shift=shift
18710 esac
18712 case $ac_option in
18713 # Handling of the options.
18714 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18715 ac_cs_recheck=: ;;
18716 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18717 $as_echo "$ac_cs_version"; exit ;;
18718 --config | --confi | --conf | --con | --co | --c )
18719 $as_echo "$ac_cs_config"; exit ;;
18720 --debug | --debu | --deb | --de | --d | -d )
18721 debug=: ;;
18722 --file | --fil | --fi | --f )
18723 $ac_shift
18724 case $ac_optarg in
18725 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18726 '') as_fn_error $? "missing file argument" ;;
18727 esac
18728 as_fn_append CONFIG_FILES " '$ac_optarg'"
18729 ac_need_defaults=false;;
18730 --header | --heade | --head | --hea )
18731 $ac_shift
18732 case $ac_optarg in
18733 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18734 esac
18735 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18736 ac_need_defaults=false;;
18737 --he | --h)
18738 # Conflict between --help and --header
18739 as_fn_error $? "ambiguous option: \`$1'
18740 Try \`$0 --help' for more information.";;
18741 --help | --hel | -h )
18742 $as_echo "$ac_cs_usage"; exit ;;
18743 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18744 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18745 ac_cs_silent=: ;;
18747 # This is an error.
18748 -*) as_fn_error $? "unrecognized option: \`$1'
18749 Try \`$0 --help' for more information." ;;
18751 *) as_fn_append ac_config_targets " $1"
18752 ac_need_defaults=false ;;
18754 esac
18755 shift
18756 done
18758 ac_configure_extra_args=
18760 if $ac_cs_silent; then
18761 exec 6>/dev/null
18762 ac_configure_extra_args="$ac_configure_extra_args --silent"
18765 _ACEOF
18766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18767 if \$ac_cs_recheck; then
18768 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18769 shift
18770 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18771 CONFIG_SHELL='$SHELL'
18772 export CONFIG_SHELL
18773 exec "\$@"
18776 _ACEOF
18777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18778 exec 5>>config.log
18780 echo
18781 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18782 ## Running $as_me. ##
18783 _ASBOX
18784 $as_echo "$ac_log"
18785 } >&5
18787 _ACEOF
18788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18790 # INIT-COMMANDS
18792 wine_fn_output_makedep ()
18794 as_dir=tools; as_fn_mkdir_p
18795 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18797 wine_fn_output_makefile ()
18799 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18800 `cat $wine_rules_file`
18801 _WINE_EOF
18802 as_fn_error $? "could not create Makefile" "$LINENO" 5
18804 wine_fn_output_gitignore ()
18806 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18807 $GITIGNORE
18808 _WINE_EOF
18809 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18812 _ACEOF
18814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18816 # Handling of arguments.
18817 for ac_config_target in $ac_config_targets
18819 case $ac_config_target in
18820 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18821 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18822 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18823 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18824 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18825 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18826 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18827 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18828 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18829 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18830 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18831 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18832 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18833 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18835 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18836 esac
18837 done
18840 # If the user did not use the arguments to specify the items to instantiate,
18841 # then the envvar interface is used. Set only those that are not.
18842 # We use the long form for the default assignment because of an extremely
18843 # bizarre bug on SunOS 4.1.3.
18844 if $ac_need_defaults; then
18845 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18846 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18847 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18851 # Have a temporary directory for convenience. Make it in the build tree
18852 # simply because there is no reason against having it here, and in addition,
18853 # creating and moving files from /tmp can sometimes cause problems.
18854 # Hook for its removal unless debugging.
18855 # Note that there is a small window in which the directory will not be cleaned:
18856 # after its creation but before its name has been assigned to `$tmp'.
18857 $debug ||
18859 tmp= ac_tmp=
18860 trap 'exit_status=$?
18861 : "${ac_tmp:=$tmp}"
18862 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18864 trap 'as_fn_exit 1' 1 2 13 15
18866 # Create a (secure) tmp directory for tmp files.
18869 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18870 test -d "$tmp"
18871 } ||
18873 tmp=./conf$$-$RANDOM
18874 (umask 077 && mkdir "$tmp")
18875 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18876 ac_tmp=$tmp
18878 # Set up the scripts for CONFIG_FILES section.
18879 # No need to generate them if there are no CONFIG_FILES.
18880 # This happens for instance with `./config.status config.h'.
18881 if test -n "$CONFIG_FILES"; then
18884 ac_cr=`echo X | tr X '\015'`
18885 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18886 # But we know of no other shell where ac_cr would be empty at this
18887 # point, so we can use a bashism as a fallback.
18888 if test "x$ac_cr" = x; then
18889 eval ac_cr=\$\'\\r\'
18891 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18892 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18893 ac_cs_awk_cr='\\r'
18894 else
18895 ac_cs_awk_cr=$ac_cr
18898 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18899 _ACEOF
18903 echo "cat >conf$$subs.awk <<_ACEOF" &&
18904 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18905 echo "_ACEOF"
18906 } >conf$$subs.sh ||
18907 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18908 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18909 ac_delim='%!_!# '
18910 for ac_last_try in false false false false false :; do
18911 . ./conf$$subs.sh ||
18912 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18914 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18915 if test $ac_delim_n = $ac_delim_num; then
18916 break
18917 elif $ac_last_try; then
18918 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18919 else
18920 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18922 done
18923 rm -f conf$$subs.sh
18925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18926 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18927 _ACEOF
18928 sed -n '
18930 s/^/S["/; s/!.*/"]=/
18933 s/^[^!]*!//
18934 :repl
18935 t repl
18936 s/'"$ac_delim"'$//
18937 t delim
18940 s/\(.\{148\}\)..*/\1/
18941 t more1
18942 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18945 b repl
18946 :more1
18947 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18950 s/.\{148\}//
18951 t nl
18952 :delim
18954 s/\(.\{148\}\)..*/\1/
18955 t more2
18956 s/["\\]/\\&/g; s/^/"/; s/$/"/
18959 :more2
18960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18963 s/.\{148\}//
18964 t delim
18965 ' <conf$$subs.awk | sed '
18966 /^[^""]/{
18968 s/\n//
18970 ' >>$CONFIG_STATUS || ac_write_fail=1
18971 rm -f conf$$subs.awk
18972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18973 _ACAWK
18974 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18975 for (key in S) S_is_set[key] = 1
18976 FS = "\a"
18980 line = $ 0
18981 nfields = split(line, field, "@")
18982 substed = 0
18983 len = length(field[1])
18984 for (i = 2; i < nfields; i++) {
18985 key = field[i]
18986 keylen = length(key)
18987 if (S_is_set[key]) {
18988 value = S[key]
18989 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18990 len += length(value) + length(field[++i])
18991 substed = 1
18992 } else
18993 len += 1 + keylen
18996 print line
18999 _ACAWK
19000 _ACEOF
19001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19002 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19003 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19004 else
19006 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19007 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19008 _ACEOF
19010 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19011 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19012 # trailing colons and then remove the whole line if VPATH becomes empty
19013 # (actually we leave an empty line to preserve line numbers).
19014 if test "x$srcdir" = x.; then
19015 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19017 s///
19018 s/^/:/
19019 s/[ ]*$/:/
19020 s/:\$(srcdir):/:/g
19021 s/:\${srcdir}:/:/g
19022 s/:@srcdir@:/:/g
19023 s/^:*//
19024 s/:*$//
19026 s/\(=[ ]*\).*/\1/
19028 s/\n//
19029 s/^[^=]*=[ ]*$//
19033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19034 fi # test -n "$CONFIG_FILES"
19036 # Set up the scripts for CONFIG_HEADERS section.
19037 # No need to generate them if there are no CONFIG_HEADERS.
19038 # This happens for instance with `./config.status Makefile'.
19039 if test -n "$CONFIG_HEADERS"; then
19040 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19041 BEGIN {
19042 _ACEOF
19044 # Transform confdefs.h into an awk script `defines.awk', embedded as
19045 # here-document in config.status, that substitutes the proper values into
19046 # config.h.in to produce config.h.
19048 # Create a delimiter string that does not exist in confdefs.h, to ease
19049 # handling of long lines.
19050 ac_delim='%!_!# '
19051 for ac_last_try in false false :; do
19052 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19053 if test -z "$ac_tt"; then
19054 break
19055 elif $ac_last_try; then
19056 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19057 else
19058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19060 done
19062 # For the awk script, D is an array of macro values keyed by name,
19063 # likewise P contains macro parameters if any. Preserve backslash
19064 # newline sequences.
19066 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19067 sed -n '
19068 s/.\{148\}/&'"$ac_delim"'/g
19069 t rset
19070 :rset
19071 s/^[ ]*#[ ]*define[ ][ ]*/ /
19072 t def
19074 :def
19075 s/\\$//
19076 t bsnl
19077 s/["\\]/\\&/g
19078 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19079 D["\1"]=" \3"/p
19080 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19082 :bsnl
19083 s/["\\]/\\&/g
19084 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19085 D["\1"]=" \3\\\\\\n"\\/p
19086 t cont
19087 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19088 t cont
19090 :cont
19092 s/.\{148\}/&'"$ac_delim"'/g
19093 t clear
19094 :clear
19095 s/\\$//
19096 t bsnlc
19097 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19099 :bsnlc
19100 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19101 b cont
19102 ' <confdefs.h | sed '
19103 s/'"$ac_delim"'/"\\\
19104 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19107 for (key in D) D_is_set[key] = 1
19108 FS = "\a"
19110 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19111 line = \$ 0
19112 split(line, arg, " ")
19113 if (arg[1] == "#") {
19114 defundef = arg[2]
19115 mac1 = arg[3]
19116 } else {
19117 defundef = substr(arg[1], 2)
19118 mac1 = arg[2]
19120 split(mac1, mac2, "(") #)
19121 macro = mac2[1]
19122 prefix = substr(line, 1, index(line, defundef) - 1)
19123 if (D_is_set[macro]) {
19124 # Preserve the white space surrounding the "#".
19125 print prefix "define", macro P[macro] D[macro]
19126 next
19127 } else {
19128 # Replace #undef with comments. This is necessary, for example,
19129 # in the case of _POSIX_SOURCE, which is predefined and required
19130 # on some systems where configure will not decide to define it.
19131 if (defundef == "undef") {
19132 print "/*", prefix defundef, macro, "*/"
19133 next
19137 { print }
19138 _ACAWK
19139 _ACEOF
19140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19141 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19142 fi # test -n "$CONFIG_HEADERS"
19145 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19146 shift
19147 for ac_tag
19149 case $ac_tag in
19150 :[FHLC]) ac_mode=$ac_tag; continue;;
19151 esac
19152 case $ac_mode$ac_tag in
19153 :[FHL]*:*);;
19154 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19155 :[FH]-) ac_tag=-:-;;
19156 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19157 esac
19158 ac_save_IFS=$IFS
19159 IFS=:
19160 set x $ac_tag
19161 IFS=$ac_save_IFS
19162 shift
19163 ac_file=$1
19164 shift
19166 case $ac_mode in
19167 :L) ac_source=$1;;
19168 :[FH])
19169 ac_file_inputs=
19170 for ac_f
19172 case $ac_f in
19173 -) ac_f="$ac_tmp/stdin";;
19174 *) # Look for the file first in the build tree, then in the source tree
19175 # (if the path is not absolute). The absolute path cannot be DOS-style,
19176 # because $ac_f cannot contain `:'.
19177 test -f "$ac_f" ||
19178 case $ac_f in
19179 [\\/$]*) false;;
19180 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19181 esac ||
19182 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19183 esac
19184 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19185 as_fn_append ac_file_inputs " '$ac_f'"
19186 done
19188 # Let's still pretend it is `configure' which instantiates (i.e., don't
19189 # use $as_me), people would be surprised to read:
19190 # /* config.h. Generated by config.status. */
19191 configure_input='Generated from '`
19192 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19193 `' by configure.'
19194 if test x"$ac_file" != x-; then
19195 configure_input="$ac_file. $configure_input"
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19197 $as_echo "$as_me: creating $ac_file" >&6;}
19199 # Neutralize special characters interpreted by sed in replacement strings.
19200 case $configure_input in #(
19201 *\&* | *\|* | *\\* )
19202 ac_sed_conf_input=`$as_echo "$configure_input" |
19203 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19204 *) ac_sed_conf_input=$configure_input;;
19205 esac
19207 case $ac_tag in
19208 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19209 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19210 esac
19212 esac
19214 ac_dir=`$as_dirname -- "$ac_file" ||
19215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19216 X"$ac_file" : 'X\(//\)[^/]' \| \
19217 X"$ac_file" : 'X\(//\)$' \| \
19218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19219 $as_echo X"$ac_file" |
19220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19221 s//\1/
19224 /^X\(\/\/\)[^/].*/{
19225 s//\1/
19228 /^X\(\/\/\)$/{
19229 s//\1/
19232 /^X\(\/\).*/{
19233 s//\1/
19236 s/.*/./; q'`
19237 as_dir="$ac_dir"; as_fn_mkdir_p
19238 ac_builddir=.
19240 case "$ac_dir" in
19241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19243 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19244 # A ".." for each directory in $ac_dir_suffix.
19245 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19246 case $ac_top_builddir_sub in
19247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19249 esac ;;
19250 esac
19251 ac_abs_top_builddir=$ac_pwd
19252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19253 # for backward compatibility:
19254 ac_top_builddir=$ac_top_build_prefix
19256 case $srcdir in
19257 .) # We are building in place.
19258 ac_srcdir=.
19259 ac_top_srcdir=$ac_top_builddir_sub
19260 ac_abs_top_srcdir=$ac_pwd ;;
19261 [\\/]* | ?:[\\/]* ) # Absolute name.
19262 ac_srcdir=$srcdir$ac_dir_suffix;
19263 ac_top_srcdir=$srcdir
19264 ac_abs_top_srcdir=$srcdir ;;
19265 *) # Relative name.
19266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19267 ac_top_srcdir=$ac_top_build_prefix$srcdir
19268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19269 esac
19270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19273 case $ac_mode in
19276 # CONFIG_FILE
19279 _ACEOF
19281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19282 # If the template does not know about datarootdir, expand it.
19283 # FIXME: This hack should be removed a few years after 2.60.
19284 ac_datarootdir_hack=; ac_datarootdir_seen=
19285 ac_sed_dataroot='
19286 /datarootdir/ {
19290 /@datadir@/p
19291 /@docdir@/p
19292 /@infodir@/p
19293 /@localedir@/p
19294 /@mandir@/p'
19295 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19296 *datarootdir*) ac_datarootdir_seen=yes;;
19297 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19299 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19300 _ACEOF
19301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19302 ac_datarootdir_hack='
19303 s&@datadir@&$datadir&g
19304 s&@docdir@&$docdir&g
19305 s&@infodir@&$infodir&g
19306 s&@localedir@&$localedir&g
19307 s&@mandir@&$mandir&g
19308 s&\\\${datarootdir}&$datarootdir&g' ;;
19309 esac
19310 _ACEOF
19312 # Neutralize VPATH when `$srcdir' = `.'.
19313 # Shell code in configure.ac might set extrasub.
19314 # FIXME: do we really want to maintain this feature?
19315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19316 ac_sed_extra="$ac_vpsub
19317 $extrasub
19318 _ACEOF
19319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19321 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19322 s|@configure_input@|$ac_sed_conf_input|;t t
19323 s&@top_builddir@&$ac_top_builddir_sub&;t t
19324 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19325 s&@srcdir@&$ac_srcdir&;t t
19326 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19327 s&@top_srcdir@&$ac_top_srcdir&;t t
19328 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19329 s&@builddir@&$ac_builddir&;t t
19330 s&@abs_builddir@&$ac_abs_builddir&;t t
19331 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19332 $ac_datarootdir_hack
19334 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19335 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19337 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19338 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19339 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19340 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19342 which seems to be undefined. Please make sure it is defined" >&5
19343 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19344 which seems to be undefined. Please make sure it is defined" >&2;}
19346 rm -f "$ac_tmp/stdin"
19347 case $ac_file in
19348 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19349 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19350 esac \
19351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19355 # CONFIG_HEADER
19357 if test x"$ac_file" != x-; then
19359 $as_echo "/* $configure_input */" \
19360 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19361 } >"$ac_tmp/config.h" \
19362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19363 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19365 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19366 else
19367 rm -f "$ac_file"
19368 mv "$ac_tmp/config.h" "$ac_file" \
19369 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19371 else
19372 $as_echo "/* $configure_input */" \
19373 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19374 || as_fn_error $? "could not create -" "$LINENO" 5
19379 # CONFIG_LINK
19382 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19384 else
19385 # Prefer the file from the source tree if names are identical.
19386 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19387 ac_source=$srcdir/$ac_source
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19391 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19393 if test ! -r "$ac_source"; then
19394 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19396 rm -f "$ac_file"
19398 # Try a relative symlink, then a hard link, then a copy.
19399 case $ac_source in
19400 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19401 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19402 esac
19403 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19404 ln "$ac_source" "$ac_file" 2>/dev/null ||
19405 cp -p "$ac_source" "$ac_file" ||
19406 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19409 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19410 $as_echo "$as_me: executing $ac_file commands" >&6;}
19412 esac
19415 case $ac_file$ac_mode in
19416 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19417 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19418 "Makefile":C) wine_fn_output_makefile Makefile ;;
19419 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19421 esac
19422 done # for ac_tag
19425 as_fn_exit 0
19426 _ACEOF
19427 ac_clean_files=$ac_clean_files_save
19429 test $ac_write_fail = 0 ||
19430 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19433 # configure is writing to config.log, and then calls config.status.
19434 # config.status does its own redirection, appending to config.log.
19435 # Unfortunately, on DOS this fails, as config.log is still kept open
19436 # by configure, so config.status won't be able to write to it; its
19437 # output is simply discarded. So we exec the FD to /dev/null,
19438 # effectively closing config.log, so it can be properly (re)opened and
19439 # appended to by config.status. When coming back to configure, we
19440 # need to make the FD available again.
19441 if test "$no_create" != yes; then
19442 ac_cs_success=:
19443 ac_config_status_args=
19444 test "$silent" = yes &&
19445 ac_config_status_args="$ac_config_status_args --quiet"
19446 exec 5>/dev/null
19447 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19448 exec 5>>config.log
19449 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19450 # would make configure fail if this is the last instruction.
19451 $ac_cs_success || as_fn_exit 1
19453 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19455 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19459 if test "$no_create" = "yes"
19460 then
19461 exit 0
19464 ac_save_IFS="$IFS"
19465 if test "x$wine_notices != "x; then
19466 echo >&6
19467 IFS="|"
19468 for msg in $wine_notices; do
19469 IFS="$ac_save_IFS"
19470 if ${msg:+false} :; then :
19472 else
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19474 $as_echo "$as_me: $msg" >&6;}
19476 done
19478 IFS="|"
19479 for msg in $wine_warnings; do
19480 IFS="$ac_save_IFS"
19481 if ${msg:+false} :; then :
19483 else
19484 echo >&2
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19486 $as_echo "$as_me: WARNING: $msg" >&2;}
19488 done
19489 IFS="$ac_save_IFS"
19491 $as_echo "
19492 $as_me: Finished. Do '${ac_make}' to compile Wine.
19493 " >&6