scrrun/tests: Fix tests to depend on current codepage.
[wine/multimedia.git] / configure
blob3d85e03663fc66adb9360e2d391e04764f144f4f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.19.
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.19'
584 PACKAGE_STRING='Wine 1.7.19'
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 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_dxva2
1028 enable_explorerframe
1029 enable_ext_ms_win_gdi_devcaps_l1_1_0
1030 enable_faultrep
1031 enable_fltlib
1032 enable_fntcache
1033 enable_fontsub
1034 enable_fusion
1035 enable_fwpuclnt
1036 enable_gameux
1037 enable_gdi32
1038 enable_gdiplus
1039 enable_glu32
1040 enable_gphoto2_ds
1041 enable_gpkcsp
1042 enable_hal
1043 enable_hhctrl_ocx
1044 enable_hid
1045 enable_hlink
1046 enable_hnetcfg
1047 enable_httpapi
1048 enable_iccvid
1049 enable_icmp
1050 enable_ieframe
1051 enable_imaadp32_acm
1052 enable_imagehlp
1053 enable_imm32
1054 enable_inetcomm
1055 enable_inetcpl_cpl
1056 enable_inetmib1
1057 enable_infosoft
1058 enable_initpki
1059 enable_inkobj
1060 enable_inseng
1061 enable_iphlpapi
1062 enable_itircl
1063 enable_itss
1064 enable_joy_cpl
1065 enable_jscript
1066 enable_jsproxy
1067 enable_kernel32
1068 enable_ktmw32
1069 enable_loadperf
1070 enable_localspl
1071 enable_localui
1072 enable_lz32
1073 enable_mapi32
1074 enable_mapistub
1075 enable_mciavi32
1076 enable_mcicda
1077 enable_mciqtz32
1078 enable_mciseq
1079 enable_mciwave
1080 enable_mgmtapi
1081 enable_midimap
1082 enable_mlang
1083 enable_mmcndmgr
1084 enable_mmdevapi
1085 enable_mountmgr_sys
1086 enable_mpr
1087 enable_mprapi
1088 enable_msacm32_drv
1089 enable_msacm32
1090 enable_msadp32_acm
1091 enable_mscat32
1092 enable_mscms
1093 enable_mscoree
1094 enable_msctf
1095 enable_msdaps
1096 enable_msdmo
1097 enable_msftedit
1098 enable_msg711_acm
1099 enable_msgsm32_acm
1100 enable_mshtml_tlb
1101 enable_mshtml
1102 enable_msi
1103 enable_msident
1104 enable_msimg32
1105 enable_msimsg
1106 enable_msimtf
1107 enable_msisip
1108 enable_msisys_ocx
1109 enable_msls31
1110 enable_msnet32
1111 enable_mspatcha
1112 enable_msrle32
1113 enable_mssign32
1114 enable_mssip32
1115 enable_mstask
1116 enable_msvcirt
1117 enable_msvcm80
1118 enable_msvcm90
1119 enable_msvcp100
1120 enable_msvcp110
1121 enable_msvcp60
1122 enable_msvcp70
1123 enable_msvcp71
1124 enable_msvcp80
1125 enable_msvcp90
1126 enable_msvcr100
1127 enable_msvcr110
1128 enable_msvcr70
1129 enable_msvcr71
1130 enable_msvcr80
1131 enable_msvcr90
1132 enable_msvcrt
1133 enable_msvcrt20
1134 enable_msvcrt40
1135 enable_msvcrtd
1136 enable_msvfw32
1137 enable_msvidc32
1138 enable_mswsock
1139 enable_msxml
1140 enable_msxml2
1141 enable_msxml3
1142 enable_msxml4
1143 enable_msxml6
1144 enable_nddeapi
1145 enable_netapi32
1146 enable_netcfgx
1147 enable_netprofm
1148 enable_newdev
1149 enable_normaliz
1150 enable_npmshtml
1151 enable_ntdll
1152 enable_ntdsapi
1153 enable_ntoskrnl_exe
1154 enable_ntprint
1155 enable_objsel
1156 enable_odbc32
1157 enable_odbccp32
1158 enable_odbccu32
1159 enable_ole32
1160 enable_oleacc
1161 enable_oleaut32
1162 enable_olecli32
1163 enable_oledb32
1164 enable_oledlg
1165 enable_olepro32
1166 enable_olesvr32
1167 enable_olethk32
1168 enable_openal32
1169 enable_opencl
1170 enable_opengl32
1171 enable_pdh
1172 enable_photometadatahandler
1173 enable_pidgen
1174 enable_powrprof
1175 enable_printui
1176 enable_propsys
1177 enable_psapi
1178 enable_pstorec
1179 enable_qcap
1180 enable_qedit
1181 enable_qmgr
1182 enable_qmgrprxy
1183 enable_quartz
1184 enable_query
1185 enable_rasapi32
1186 enable_rasdlg
1187 enable_regapi
1188 enable_resutils
1189 enable_riched20
1190 enable_riched32
1191 enable_rpcrt4
1192 enable_rsabase
1193 enable_rsaenh
1194 enable_rstrtmgr
1195 enable_rtutils
1196 enable_samlib
1197 enable_sane_ds
1198 enable_scarddlg
1199 enable_sccbase
1200 enable_schannel
1201 enable_schedsvc
1202 enable_scrrun
1203 enable_scsiport_sys
1204 enable_secur32
1205 enable_security
1206 enable_sensapi
1207 enable_serialui
1208 enable_setupapi
1209 enable_sfc
1210 enable_sfc_os
1211 enable_shdoclc
1212 enable_shdocvw
1213 enable_shell32
1214 enable_shfolder
1215 enable_shlwapi
1216 enable_slbcsp
1217 enable_slc
1218 enable_snmpapi
1219 enable_softpub
1220 enable_spoolss
1221 enable_stdole2_tlb
1222 enable_stdole32_tlb
1223 enable_sti
1224 enable_svrapi
1225 enable_sxs
1226 enable_t2embed
1227 enable_tapi32
1228 enable_taskschd
1229 enable_traffic
1230 enable_twain_32
1231 enable_unicows
1232 enable_updspapi
1233 enable_url
1234 enable_urlmon
1235 enable_usbd_sys
1236 enable_user32
1237 enable_userenv
1238 enable_usp10
1239 enable_uxtheme
1240 enable_vbscript
1241 enable_vcomp
1242 enable_vcomp100
1243 enable_vcomp90
1244 enable_vdmdbg
1245 enable_version
1246 enable_wbemdisp
1247 enable_wbemprox
1248 enable_webservices
1249 enable_wer
1250 enable_wevtapi
1251 enable_wiaservc
1252 enable_windowscodecs
1253 enable_windowscodecsext
1254 enable_winealsa_drv
1255 enable_winecoreaudio_drv
1256 enable_wined3d
1257 enable_winegstreamer
1258 enable_winejoystick_drv
1259 enable_winemac_drv
1260 enable_winemapi
1261 enable_winemp3_acm
1262 enable_wineoss_drv
1263 enable_wineps_drv
1264 enable_wineqtdecoder
1265 enable_winex11_drv
1266 enable_wing32
1267 enable_winhttp
1268 enable_wininet
1269 enable_winmm
1270 enable_winnls32
1271 enable_winscard
1272 enable_winspool_drv
1273 enable_winsta
1274 enable_wintab32
1275 enable_wintrust
1276 enable_wlanapi
1277 enable_wldap32
1278 enable_wmi
1279 enable_wmiutils
1280 enable_wmp
1281 enable_wmvcore
1282 enable_wnaspi32
1283 enable_ws2_32
1284 enable_wshom_ocx
1285 enable_wsnmp32
1286 enable_wsock32
1287 enable_wtsapi32
1288 enable_wuapi
1289 enable_wuaueng
1290 enable_xapofx1_1
1291 enable_xinput1_1
1292 enable_xinput1_2
1293 enable_xinput1_3
1294 enable_xinput1_4
1295 enable_xinput9_1_0
1296 enable_xmllite
1297 enable_xolehlp
1298 enable_xpsprint
1299 enable_xpssvcs
1300 enable_documentation
1301 enable_fonts
1302 enable_include
1303 enable_libs_port
1304 enable_libs_wine
1305 enable_libs_wpp
1306 enable_loader
1307 enable_arp
1308 enable_aspnet_regiis
1309 enable_attrib
1310 enable_cabarc
1311 enable_cacls
1312 enable_clock
1313 enable_cmd
1314 enable_conhost
1315 enable_control
1316 enable_cscript
1317 enable_dpnsvr
1318 enable_dxdiag
1319 enable_eject
1320 enable_expand
1321 enable_explorer
1322 enable_extrac32
1323 enable_findstr
1324 enable_hh
1325 enable_hostname
1326 enable_icinfo
1327 enable_iexplore
1328 enable_ipconfig
1329 enable_lodctr
1330 enable_mofcomp
1331 enable_mshta
1332 enable_msiexec
1333 enable_net
1334 enable_netsh
1335 enable_netstat
1336 enable_ngen
1337 enable_notepad
1338 enable_oleview
1339 enable_ping
1340 enable_plugplay
1341 enable_presentationfontcache
1342 enable_progman
1343 enable_reg
1344 enable_regasm
1345 enable_regedit
1346 enable_regsvcs
1347 enable_regsvr32
1348 enable_rpcss
1349 enable_rundll32
1350 enable_sc
1351 enable_schtasks
1352 enable_sdbinst
1353 enable_secedit
1354 enable_servicemodelreg
1355 enable_services
1356 enable_spoolsv
1357 enable_start
1358 enable_svchost
1359 enable_taskkill
1360 enable_tasklist
1361 enable_taskmgr
1362 enable_termsv
1363 enable_uninstaller
1364 enable_unlodctr
1365 enable_view
1366 enable_wevtutil
1367 enable_wineboot
1368 enable_winebrowser
1369 enable_winecfg
1370 enable_wineconsole
1371 enable_winedbg
1372 enable_winedevice
1373 enable_winefile
1374 enable_winemenubuilder
1375 enable_winemine
1376 enable_winemsibuilder
1377 enable_winepath
1378 enable_winetest
1379 enable_winhlp32
1380 enable_winver
1381 enable_wmic
1382 enable_wordpad
1383 enable_write
1384 enable_wscript
1385 enable_wusa
1386 enable_xcopy
1387 enable_server
1388 enable_tools
1390 ac_precious_vars='build_alias
1391 host_alias
1392 target_alias
1394 CFLAGS
1395 LDFLAGS
1396 LIBS
1397 CPPFLAGS
1399 CXXFLAGS
1402 XMKMF
1403 XML2_CFLAGS
1404 XML2_LIBS
1405 XSLT_CFLAGS
1406 XSLT_LIBS
1407 DBUS_CFLAGS
1408 DBUS_LIBS
1409 HAL_CFLAGS
1410 HAL_LIBS
1411 GNUTLS_CFLAGS
1412 GNUTLS_LIBS
1413 SANE_CFLAGS
1414 SANE_LIBS
1415 GPHOTO2_CFLAGS
1416 GPHOTO2_LIBS
1417 GPHOTO2_PORT_CFLAGS
1418 GPHOTO2_PORT_LIBS
1419 LCMS2_CFLAGS
1420 LCMS2_LIBS
1421 FREETYPE_CFLAGS
1422 FREETYPE_LIBS
1423 GSTREAMER_CFLAGS
1424 GSTREAMER_LIBS
1425 CAPI20_CFLAGS
1426 CAPI20_LIBS
1427 FONTCONFIG_CFLAGS
1428 FONTCONFIG_LIBS
1429 JPEG_CFLAGS
1430 JPEG_LIBS
1431 PNG_CFLAGS
1432 PNG_LIBS
1433 TIFF_CFLAGS
1434 TIFF_LIBS
1435 MPG123_CFLAGS
1436 MPG123_LIBS'
1439 # Initialize some variables set by options.
1440 ac_init_help=
1441 ac_init_version=false
1442 ac_unrecognized_opts=
1443 ac_unrecognized_sep=
1444 # The variables have the same names as the options, with
1445 # dashes changed to underlines.
1446 cache_file=/dev/null
1447 exec_prefix=NONE
1448 no_create=
1449 no_recursion=
1450 prefix=NONE
1451 program_prefix=NONE
1452 program_suffix=NONE
1453 program_transform_name=s,x,x,
1454 silent=
1455 site=
1456 srcdir=
1457 verbose=
1458 x_includes=NONE
1459 x_libraries=NONE
1461 # Installation directory options.
1462 # These are left unexpanded so users can "make install exec_prefix=/foo"
1463 # and all the variables that are supposed to be based on exec_prefix
1464 # by default will actually change.
1465 # Use braces instead of parens because sh, perl, etc. also accept them.
1466 # (The list follows the same order as the GNU Coding Standards.)
1467 bindir='${exec_prefix}/bin'
1468 sbindir='${exec_prefix}/sbin'
1469 libexecdir='${exec_prefix}/libexec'
1470 datarootdir='${prefix}/share'
1471 datadir='${datarootdir}'
1472 sysconfdir='${prefix}/etc'
1473 sharedstatedir='${prefix}/com'
1474 localstatedir='${prefix}/var'
1475 includedir='${prefix}/include'
1476 oldincludedir='/usr/include'
1477 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1478 infodir='${datarootdir}/info'
1479 htmldir='${docdir}'
1480 dvidir='${docdir}'
1481 pdfdir='${docdir}'
1482 psdir='${docdir}'
1483 libdir='${exec_prefix}/lib'
1484 localedir='${datarootdir}/locale'
1485 mandir='${datarootdir}/man'
1487 ac_prev=
1488 ac_dashdash=
1489 for ac_option
1491 # If the previous option needs an argument, assign it.
1492 if test -n "$ac_prev"; then
1493 eval $ac_prev=\$ac_option
1494 ac_prev=
1495 continue
1498 case $ac_option in
1499 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1500 *=) ac_optarg= ;;
1501 *) ac_optarg=yes ;;
1502 esac
1504 # Accept the important Cygnus configure options, so we can diagnose typos.
1506 case $ac_dashdash$ac_option in
1508 ac_dashdash=yes ;;
1510 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1511 ac_prev=bindir ;;
1512 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1513 bindir=$ac_optarg ;;
1515 -build | --build | --buil | --bui | --bu)
1516 ac_prev=build_alias ;;
1517 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1518 build_alias=$ac_optarg ;;
1520 -cache-file | --cache-file | --cache-fil | --cache-fi \
1521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1522 ac_prev=cache_file ;;
1523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1525 cache_file=$ac_optarg ;;
1527 --config-cache | -C)
1528 cache_file=config.cache ;;
1530 -datadir | --datadir | --datadi | --datad)
1531 ac_prev=datadir ;;
1532 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1533 datadir=$ac_optarg ;;
1535 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1536 | --dataroo | --dataro | --datar)
1537 ac_prev=datarootdir ;;
1538 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1539 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1540 datarootdir=$ac_optarg ;;
1542 -disable-* | --disable-*)
1543 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1544 # Reject names that are not valid shell variable names.
1545 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1546 as_fn_error $? "invalid feature name: $ac_useropt"
1547 ac_useropt_orig=$ac_useropt
1548 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1549 case $ac_user_opts in
1551 "enable_$ac_useropt"
1552 "*) ;;
1553 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1554 ac_unrecognized_sep=', ';;
1555 esac
1556 eval enable_$ac_useropt=no ;;
1558 -docdir | --docdir | --docdi | --doc | --do)
1559 ac_prev=docdir ;;
1560 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1561 docdir=$ac_optarg ;;
1563 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1564 ac_prev=dvidir ;;
1565 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1566 dvidir=$ac_optarg ;;
1568 -enable-* | --enable-*)
1569 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1570 # Reject names that are not valid shell variable names.
1571 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1572 as_fn_error $? "invalid feature name: $ac_useropt"
1573 ac_useropt_orig=$ac_useropt
1574 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1575 case $ac_user_opts in
1577 "enable_$ac_useropt"
1578 "*) ;;
1579 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1580 ac_unrecognized_sep=', ';;
1581 esac
1582 eval enable_$ac_useropt=\$ac_optarg ;;
1584 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1585 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1586 | --exec | --exe | --ex)
1587 ac_prev=exec_prefix ;;
1588 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1589 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1590 | --exec=* | --exe=* | --ex=*)
1591 exec_prefix=$ac_optarg ;;
1593 -gas | --gas | --ga | --g)
1594 # Obsolete; use --with-gas.
1595 with_gas=yes ;;
1597 -help | --help | --hel | --he | -h)
1598 ac_init_help=long ;;
1599 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1600 ac_init_help=recursive ;;
1601 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1602 ac_init_help=short ;;
1604 -host | --host | --hos | --ho)
1605 ac_prev=host_alias ;;
1606 -host=* | --host=* | --hos=* | --ho=*)
1607 host_alias=$ac_optarg ;;
1609 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1610 ac_prev=htmldir ;;
1611 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1612 | --ht=*)
1613 htmldir=$ac_optarg ;;
1615 -includedir | --includedir | --includedi | --included | --include \
1616 | --includ | --inclu | --incl | --inc)
1617 ac_prev=includedir ;;
1618 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1619 | --includ=* | --inclu=* | --incl=* | --inc=*)
1620 includedir=$ac_optarg ;;
1622 -infodir | --infodir | --infodi | --infod | --info | --inf)
1623 ac_prev=infodir ;;
1624 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1625 infodir=$ac_optarg ;;
1627 -libdir | --libdir | --libdi | --libd)
1628 ac_prev=libdir ;;
1629 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1630 libdir=$ac_optarg ;;
1632 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1633 | --libexe | --libex | --libe)
1634 ac_prev=libexecdir ;;
1635 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1636 | --libexe=* | --libex=* | --libe=*)
1637 libexecdir=$ac_optarg ;;
1639 -localedir | --localedir | --localedi | --localed | --locale)
1640 ac_prev=localedir ;;
1641 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1642 localedir=$ac_optarg ;;
1644 -localstatedir | --localstatedir | --localstatedi | --localstated \
1645 | --localstate | --localstat | --localsta | --localst | --locals)
1646 ac_prev=localstatedir ;;
1647 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1648 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1649 localstatedir=$ac_optarg ;;
1651 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1652 ac_prev=mandir ;;
1653 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1654 mandir=$ac_optarg ;;
1656 -nfp | --nfp | --nf)
1657 # Obsolete; use --without-fp.
1658 with_fp=no ;;
1660 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1661 | --no-cr | --no-c | -n)
1662 no_create=yes ;;
1664 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1665 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1666 no_recursion=yes ;;
1668 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1669 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1670 | --oldin | --oldi | --old | --ol | --o)
1671 ac_prev=oldincludedir ;;
1672 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1673 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1674 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1675 oldincludedir=$ac_optarg ;;
1677 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1678 ac_prev=prefix ;;
1679 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1680 prefix=$ac_optarg ;;
1682 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1683 | --program-pre | --program-pr | --program-p)
1684 ac_prev=program_prefix ;;
1685 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1686 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1687 program_prefix=$ac_optarg ;;
1689 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1690 | --program-suf | --program-su | --program-s)
1691 ac_prev=program_suffix ;;
1692 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1693 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1694 program_suffix=$ac_optarg ;;
1696 -program-transform-name | --program-transform-name \
1697 | --program-transform-nam | --program-transform-na \
1698 | --program-transform-n | --program-transform- \
1699 | --program-transform | --program-transfor \
1700 | --program-transfo | --program-transf \
1701 | --program-trans | --program-tran \
1702 | --progr-tra | --program-tr | --program-t)
1703 ac_prev=program_transform_name ;;
1704 -program-transform-name=* | --program-transform-name=* \
1705 | --program-transform-nam=* | --program-transform-na=* \
1706 | --program-transform-n=* | --program-transform-=* \
1707 | --program-transform=* | --program-transfor=* \
1708 | --program-transfo=* | --program-transf=* \
1709 | --program-trans=* | --program-tran=* \
1710 | --progr-tra=* | --program-tr=* | --program-t=*)
1711 program_transform_name=$ac_optarg ;;
1713 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1714 ac_prev=pdfdir ;;
1715 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1716 pdfdir=$ac_optarg ;;
1718 -psdir | --psdir | --psdi | --psd | --ps)
1719 ac_prev=psdir ;;
1720 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1721 psdir=$ac_optarg ;;
1723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1724 | -silent | --silent | --silen | --sile | --sil)
1725 silent=yes ;;
1727 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1728 ac_prev=sbindir ;;
1729 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1730 | --sbi=* | --sb=*)
1731 sbindir=$ac_optarg ;;
1733 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1734 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1735 | --sharedst | --shareds | --shared | --share | --shar \
1736 | --sha | --sh)
1737 ac_prev=sharedstatedir ;;
1738 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1739 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1740 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1741 | --sha=* | --sh=*)
1742 sharedstatedir=$ac_optarg ;;
1744 -site | --site | --sit)
1745 ac_prev=site ;;
1746 -site=* | --site=* | --sit=*)
1747 site=$ac_optarg ;;
1749 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1750 ac_prev=srcdir ;;
1751 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1752 srcdir=$ac_optarg ;;
1754 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1755 | --syscon | --sysco | --sysc | --sys | --sy)
1756 ac_prev=sysconfdir ;;
1757 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1758 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1759 sysconfdir=$ac_optarg ;;
1761 -target | --target | --targe | --targ | --tar | --ta | --t)
1762 ac_prev=target_alias ;;
1763 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1764 target_alias=$ac_optarg ;;
1766 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1767 verbose=yes ;;
1769 -version | --version | --versio | --versi | --vers | -V)
1770 ac_init_version=: ;;
1772 -with-* | --with-*)
1773 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1774 # Reject names that are not valid shell variable names.
1775 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1776 as_fn_error $? "invalid package name: $ac_useropt"
1777 ac_useropt_orig=$ac_useropt
1778 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1779 case $ac_user_opts in
1781 "with_$ac_useropt"
1782 "*) ;;
1783 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1784 ac_unrecognized_sep=', ';;
1785 esac
1786 eval with_$ac_useropt=\$ac_optarg ;;
1788 -without-* | --without-*)
1789 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1790 # Reject names that are not valid shell variable names.
1791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1792 as_fn_error $? "invalid package name: $ac_useropt"
1793 ac_useropt_orig=$ac_useropt
1794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1795 case $ac_user_opts in
1797 "with_$ac_useropt"
1798 "*) ;;
1799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1800 ac_unrecognized_sep=', ';;
1801 esac
1802 eval with_$ac_useropt=no ;;
1804 --x)
1805 # Obsolete; use --with-x.
1806 with_x=yes ;;
1808 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1809 | --x-incl | --x-inc | --x-in | --x-i)
1810 ac_prev=x_includes ;;
1811 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1812 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1813 x_includes=$ac_optarg ;;
1815 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1816 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1817 ac_prev=x_libraries ;;
1818 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1819 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1820 x_libraries=$ac_optarg ;;
1822 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1823 Try \`$0 --help' for more information"
1826 *=*)
1827 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1828 # Reject names that are not valid shell variable names.
1829 case $ac_envvar in #(
1830 '' | [0-9]* | *[!_$as_cr_alnum]* )
1831 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1832 esac
1833 eval $ac_envvar=\$ac_optarg
1834 export $ac_envvar ;;
1837 # FIXME: should be removed in autoconf 3.0.
1838 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1839 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1840 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1841 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1844 esac
1845 done
1847 if test -n "$ac_prev"; then
1848 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1849 as_fn_error $? "missing argument to $ac_option"
1852 if test -n "$ac_unrecognized_opts"; then
1853 case $enable_option_checking in
1854 no) ;;
1855 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1856 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1857 esac
1860 # Check all directory arguments for consistency.
1861 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1862 datadir sysconfdir sharedstatedir localstatedir includedir \
1863 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1864 libdir localedir mandir
1866 eval ac_val=\$$ac_var
1867 # Remove trailing slashes.
1868 case $ac_val in
1869 */ )
1870 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1871 eval $ac_var=\$ac_val;;
1872 esac
1873 # Be sure to have absolute directory names.
1874 case $ac_val in
1875 [\\/$]* | ?:[\\/]* ) continue;;
1876 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1877 esac
1878 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1879 done
1881 # There might be people who depend on the old broken behavior: `$host'
1882 # used to hold the argument of --host etc.
1883 # FIXME: To remove some day.
1884 build=$build_alias
1885 host=$host_alias
1886 target=$target_alias
1888 # FIXME: To remove some day.
1889 if test "x$host_alias" != x; then
1890 if test "x$build_alias" = x; then
1891 cross_compiling=maybe
1892 elif test "x$build_alias" != "x$host_alias"; then
1893 cross_compiling=yes
1897 ac_tool_prefix=
1898 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1900 test "$silent" = yes && exec 6>/dev/null
1903 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1904 ac_ls_di=`ls -di .` &&
1905 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1906 as_fn_error $? "working directory cannot be determined"
1907 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1908 as_fn_error $? "pwd does not report name of working directory"
1911 # Find the source files, if location was not specified.
1912 if test -z "$srcdir"; then
1913 ac_srcdir_defaulted=yes
1914 # Try the directory containing this script, then the parent directory.
1915 ac_confdir=`$as_dirname -- "$as_myself" ||
1916 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1917 X"$as_myself" : 'X\(//\)[^/]' \| \
1918 X"$as_myself" : 'X\(//\)$' \| \
1919 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1920 $as_echo X"$as_myself" |
1921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1922 s//\1/
1925 /^X\(\/\/\)[^/].*/{
1926 s//\1/
1929 /^X\(\/\/\)$/{
1930 s//\1/
1933 /^X\(\/\).*/{
1934 s//\1/
1937 s/.*/./; q'`
1938 srcdir=$ac_confdir
1939 if test ! -r "$srcdir/$ac_unique_file"; then
1940 srcdir=..
1942 else
1943 ac_srcdir_defaulted=no
1945 if test ! -r "$srcdir/$ac_unique_file"; then
1946 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1947 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1949 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1950 ac_abs_confdir=`(
1951 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1952 pwd)`
1953 # When building in place, set srcdir=.
1954 if test "$ac_abs_confdir" = "$ac_pwd"; then
1955 srcdir=.
1957 # Remove unnecessary trailing slashes from srcdir.
1958 # Double slashes in file names in object file debugging info
1959 # mess up M-x gdb in Emacs.
1960 case $srcdir in
1961 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1962 esac
1963 for ac_var in $ac_precious_vars; do
1964 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1965 eval ac_env_${ac_var}_value=\$${ac_var}
1966 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1967 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1968 done
1971 # Report the --help message.
1973 if test "$ac_init_help" = "long"; then
1974 # Omit some internal or obsolete options to make the list less imposing.
1975 # This message is too long to be a string in the A/UX 3.1 sh.
1976 cat <<_ACEOF
1977 \`configure' configures Wine 1.7.19 to adapt to many kinds of systems.
1979 Usage: $0 [OPTION]... [VAR=VALUE]...
1981 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1982 VAR=VALUE. See below for descriptions of some of the useful variables.
1984 Defaults for the options are specified in brackets.
1986 Configuration:
1987 -h, --help display this help and exit
1988 --help=short display options specific to this package
1989 --help=recursive display the short help of all the included packages
1990 -V, --version display version information and exit
1991 -q, --quiet, --silent do not print \`checking ...' messages
1992 --cache-file=FILE cache test results in FILE [disabled]
1993 -C, --config-cache alias for \`--cache-file=config.cache'
1994 -n, --no-create do not create output files
1995 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1997 Installation directories:
1998 --prefix=PREFIX install architecture-independent files in PREFIX
1999 [$ac_default_prefix]
2000 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2001 [PREFIX]
2003 By default, \`make install' will install all the files in
2004 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2005 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2006 for instance \`--prefix=\$HOME'.
2008 For better control, use the options below.
2010 Fine tuning of the installation directories:
2011 --bindir=DIR user executables [EPREFIX/bin]
2012 --sbindir=DIR system admin executables [EPREFIX/sbin]
2013 --libexecdir=DIR program executables [EPREFIX/libexec]
2014 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2015 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2016 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2017 --libdir=DIR object code libraries [EPREFIX/lib]
2018 --includedir=DIR C header files [PREFIX/include]
2019 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2020 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2021 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2022 --infodir=DIR info documentation [DATAROOTDIR/info]
2023 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2024 --mandir=DIR man documentation [DATAROOTDIR/man]
2025 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2026 --htmldir=DIR html documentation [DOCDIR]
2027 --dvidir=DIR dvi documentation [DOCDIR]
2028 --pdfdir=DIR pdf documentation [DOCDIR]
2029 --psdir=DIR ps documentation [DOCDIR]
2030 _ACEOF
2032 cat <<\_ACEOF
2034 X features:
2035 --x-includes=DIR X include files are in DIR
2036 --x-libraries=DIR X library files are in DIR
2038 System types:
2039 --build=BUILD configure for building on BUILD [guessed]
2040 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2041 _ACEOF
2044 if test -n "$ac_init_help"; then
2045 case $ac_init_help in
2046 short | recursive ) echo "Configuration of Wine 1.7.19:";;
2047 esac
2048 cat <<\_ACEOF
2050 Optional Features:
2051 --disable-option-checking ignore unrecognized --enable/--with options
2052 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2053 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2054 --disable-win16 do not include Win16 support
2055 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2056 binaries)
2057 --disable-tests do not build the regression tests
2058 --enable-maintainer-mode
2059 enable maintainer-specific build rules
2060 --disable-largefile omit support for large files
2062 Optional Packages:
2063 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2064 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2065 --without-alsa do not use the Alsa sound support
2066 --without-capi do not use CAPI (ISDN support)
2067 --without-cms do not use CMS (color management support)
2068 --without-coreaudio do not use the CoreAudio sound support
2069 --without-cups do not use CUPS
2070 --without-curses do not use (n)curses
2071 --without-dbus do not use DBus (dynamic device support)
2072 --without-fontconfig do not use fontconfig
2073 --without-freetype do not use the FreeType library
2074 --without-gettext do not use gettext
2075 --with-gettextpo use the GetTextPO library to rebuild po files
2076 --without-gphoto do not use gphoto (Digital Camera support)
2077 --without-glu do not use the GLU library
2078 --without-gnutls do not use GnuTLS (schannel support)
2079 --without-gsm do not use libgsm (GSM 06.10 codec support)
2080 --without-gstreamer do not use GStreamer (codecs support)
2081 --without-hal do not use HAL (dynamic device support)
2082 --without-jpeg do not use JPEG
2083 --without-ldap do not use LDAP
2084 --without-mpg123 do not use the mpg123 library
2085 --without-netapi do not use the Samba NetAPI library
2086 --without-openal do not use OpenAL
2087 --without-opencl do not use OpenCL
2088 --without-opengl do not use OpenGL
2089 --without-osmesa do not use the OSMesa library
2090 --without-oss do not use the OSS sound support
2091 --without-png do not use PNG
2092 --without-pthread do not use the pthread library
2093 --without-sane do not use SANE (scanner support)
2094 --without-tiff do not use TIFF
2095 --without-v4l do not use v4l1 (v4l support)
2096 --without-xcomposite do not use the Xcomposite extension
2097 --without-xcursor do not use the Xcursor extension
2098 --without-xinerama do not use Xinerama (multi-monitor support)
2099 --without-xinput do not use the Xinput extension
2100 --without-xinput2 do not use the Xinput 2 extension
2101 --without-xml do not use XML
2102 --without-xrandr do not use Xrandr (resolution changes)
2103 --without-xrender do not use the Xrender extension
2104 --without-xshape do not use the Xshape extension
2105 --without-xshm do not use XShm (shared memory extension)
2106 --without-xslt do not use XSLT
2107 --without-xxf86vm do not use XFree video mode extension
2108 --without-zlib do not use Zlib (data compression)
2109 --with-wine-tools=DIR use Wine tools from directory DIR
2110 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2111 --with-x use the X Window System
2113 Some influential environment variables:
2114 CC C compiler command
2115 CFLAGS C compiler flags
2116 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2117 nonstandard directory <lib dir>
2118 LIBS libraries to pass to the linker, e.g. -l<library>
2119 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2120 you have headers in a nonstandard directory <include dir>
2121 CXX C++ compiler command
2122 CXXFLAGS C++ compiler flags
2123 CPP C preprocessor
2124 XMKMF Path to xmkmf, Makefile generator for X Window System
2125 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2126 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2127 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2128 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2129 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2130 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2131 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2132 HAL_LIBS Linker flags for hal, overriding pkg-config
2133 GNUTLS_CFLAGS
2134 C compiler flags for gnutls, overriding pkg-config
2135 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2136 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2137 SANE_LIBS Linker flags for libsane, overriding pkg-config
2138 GPHOTO2_CFLAGS
2139 C compiler flags for libgphoto2, overriding pkg-config
2140 GPHOTO2_LIBS
2141 Linker flags for libgphoto2, overriding pkg-config
2142 GPHOTO2_PORT_CFLAGS
2143 C compiler flags for libgphoto2_port, overriding pkg-config
2144 GPHOTO2_PORT_LIBS
2145 Linker flags for libgphoto2_port, overriding pkg-config
2146 LCMS2_CFLAGS
2147 C compiler flags for lcms2, overriding pkg-config
2148 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2149 FREETYPE_CFLAGS
2150 C compiler flags for freetype2, overriding pkg-config
2151 FREETYPE_LIBS
2152 Linker flags for freetype2, overriding pkg-config
2153 GSTREAMER_CFLAGS
2154 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2155 GSTREAMER_LIBS
2156 Linker flags for gstreamer-app-0.10, overriding pkg-config
2157 CAPI20_CFLAGS
2158 C compiler flags for capi20, overriding pkg-config
2159 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2160 FONTCONFIG_CFLAGS
2161 C compiler flags for fontconfig, overriding pkg-config
2162 FONTCONFIG_LIBS
2163 Linker flags for fontconfig, overriding pkg-config
2164 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2165 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2166 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2167 PNG_LIBS Linker flags for libpng, overriding pkg-config
2168 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2169 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2170 MPG123_CFLAGS
2171 C compiler flags for libmpg123, overriding pkg-config
2172 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2174 Use these variables to override the choices made by `configure' or to help
2175 it to find libraries and programs with nonstandard names/locations.
2177 Report bugs to <wine-devel@winehq.org>.
2178 Wine home page: <http://www.winehq.org>.
2179 _ACEOF
2180 ac_status=$?
2183 if test "$ac_init_help" = "recursive"; then
2184 # If there are subdirs, report their specific --help.
2185 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2186 test -d "$ac_dir" ||
2187 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2188 continue
2189 ac_builddir=.
2191 case "$ac_dir" in
2192 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2194 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2195 # A ".." for each directory in $ac_dir_suffix.
2196 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2197 case $ac_top_builddir_sub in
2198 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2199 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2200 esac ;;
2201 esac
2202 ac_abs_top_builddir=$ac_pwd
2203 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2204 # for backward compatibility:
2205 ac_top_builddir=$ac_top_build_prefix
2207 case $srcdir in
2208 .) # We are building in place.
2209 ac_srcdir=.
2210 ac_top_srcdir=$ac_top_builddir_sub
2211 ac_abs_top_srcdir=$ac_pwd ;;
2212 [\\/]* | ?:[\\/]* ) # Absolute name.
2213 ac_srcdir=$srcdir$ac_dir_suffix;
2214 ac_top_srcdir=$srcdir
2215 ac_abs_top_srcdir=$srcdir ;;
2216 *) # Relative name.
2217 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2218 ac_top_srcdir=$ac_top_build_prefix$srcdir
2219 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2220 esac
2221 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2223 cd "$ac_dir" || { ac_status=$?; continue; }
2224 # Check for guested configure.
2225 if test -f "$ac_srcdir/configure.gnu"; then
2226 echo &&
2227 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2228 elif test -f "$ac_srcdir/configure"; then
2229 echo &&
2230 $SHELL "$ac_srcdir/configure" --help=recursive
2231 else
2232 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2233 fi || ac_status=$?
2234 cd "$ac_pwd" || { ac_status=$?; break; }
2235 done
2238 test -n "$ac_init_help" && exit $ac_status
2239 if $ac_init_version; then
2240 cat <<\_ACEOF
2241 Wine configure 1.7.19
2242 generated by GNU Autoconf 2.69
2244 Copyright (C) 2012 Free Software Foundation, Inc.
2245 This configure script is free software; the Free Software Foundation
2246 gives unlimited permission to copy, distribute and modify it.
2247 _ACEOF
2248 exit
2251 ## ------------------------ ##
2252 ## Autoconf initialization. ##
2253 ## ------------------------ ##
2255 # ac_fn_c_try_compile LINENO
2256 # --------------------------
2257 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2258 ac_fn_c_try_compile ()
2260 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2261 rm -f conftest.$ac_objext
2262 if { { ac_try="$ac_compile"
2263 case "(($ac_try" in
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2266 esac
2267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2268 $as_echo "$ac_try_echo"; } >&5
2269 (eval "$ac_compile") 2>conftest.err
2270 ac_status=$?
2271 if test -s conftest.err; then
2272 grep -v '^ *+' conftest.err >conftest.er1
2273 cat conftest.er1 >&5
2274 mv -f conftest.er1 conftest.err
2276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2277 test $ac_status = 0; } && {
2278 test -z "$ac_c_werror_flag" ||
2279 test ! -s conftest.err
2280 } && test -s conftest.$ac_objext; then :
2281 ac_retval=0
2282 else
2283 $as_echo "$as_me: failed program was:" >&5
2284 sed 's/^/| /' conftest.$ac_ext >&5
2286 ac_retval=1
2288 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289 as_fn_set_status $ac_retval
2291 } # ac_fn_c_try_compile
2293 # ac_fn_cxx_try_compile LINENO
2294 # ----------------------------
2295 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2296 ac_fn_cxx_try_compile ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 rm -f conftest.$ac_objext
2300 if { { ac_try="$ac_compile"
2301 case "(($ac_try" in
2302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2303 *) ac_try_echo=$ac_try;;
2304 esac
2305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2306 $as_echo "$ac_try_echo"; } >&5
2307 (eval "$ac_compile") 2>conftest.err
2308 ac_status=$?
2309 if test -s conftest.err; then
2310 grep -v '^ *+' conftest.err >conftest.er1
2311 cat conftest.er1 >&5
2312 mv -f conftest.er1 conftest.err
2314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test $ac_status = 0; } && {
2316 test -z "$ac_cxx_werror_flag" ||
2317 test ! -s conftest.err
2318 } && test -s conftest.$ac_objext; then :
2319 ac_retval=0
2320 else
2321 $as_echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.$ac_ext >&5
2324 ac_retval=1
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_cxx_try_compile
2331 # ac_fn_c_try_link LINENO
2332 # -----------------------
2333 # Try to link conftest.$ac_ext, and return whether this succeeded.
2334 ac_fn_c_try_link ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 rm -f conftest.$ac_objext conftest$ac_exeext
2338 if { { ac_try="$ac_link"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2344 $as_echo "$ac_try_echo"; } >&5
2345 (eval "$ac_link") 2>conftest.err
2346 ac_status=$?
2347 if test -s conftest.err; then
2348 grep -v '^ *+' conftest.err >conftest.er1
2349 cat conftest.er1 >&5
2350 mv -f conftest.er1 conftest.err
2352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test $ac_status = 0; } && {
2354 test -z "$ac_c_werror_flag" ||
2355 test ! -s conftest.err
2356 } && test -s conftest$ac_exeext && {
2357 test "$cross_compiling" = yes ||
2358 test -x conftest$ac_exeext
2359 }; then :
2360 ac_retval=0
2361 else
2362 $as_echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.$ac_ext >&5
2365 ac_retval=1
2367 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2368 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2369 # interfere with the next link command; also delete a directory that is
2370 # left behind by Apple's compiler. We do this before executing the actions.
2371 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2373 as_fn_set_status $ac_retval
2375 } # ac_fn_c_try_link
2377 # ac_fn_c_try_cpp LINENO
2378 # ----------------------
2379 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2380 ac_fn_c_try_cpp ()
2382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2383 if { { ac_try="$ac_cpp conftest.$ac_ext"
2384 case "(($ac_try" in
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2387 esac
2388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2389 $as_echo "$ac_try_echo"; } >&5
2390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2391 ac_status=$?
2392 if test -s conftest.err; then
2393 grep -v '^ *+' conftest.err >conftest.er1
2394 cat conftest.er1 >&5
2395 mv -f conftest.er1 conftest.err
2397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2398 test $ac_status = 0; } > conftest.i && {
2399 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2401 }; then :
2402 ac_retval=0
2403 else
2404 $as_echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2407 ac_retval=1
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status $ac_retval
2412 } # ac_fn_c_try_cpp
2414 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2415 # -------------------------------------------------------
2416 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2417 # the include files in INCLUDES and setting the cache variable VAR
2418 # accordingly.
2419 ac_fn_c_check_header_mongrel ()
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 if eval \${$3+:} false; then :
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2424 $as_echo_n "checking for $2... " >&6; }
2425 if eval \${$3+:} false; then :
2426 $as_echo_n "(cached) " >&6
2428 eval ac_res=\$$3
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2430 $as_echo "$ac_res" >&6; }
2431 else
2432 # Is the header compilable?
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2434 $as_echo_n "checking $2 usability... " >&6; }
2435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2438 #include <$2>
2439 _ACEOF
2440 if ac_fn_c_try_compile "$LINENO"; then :
2441 ac_header_compiler=yes
2442 else
2443 ac_header_compiler=no
2445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2447 $as_echo "$ac_header_compiler" >&6; }
2449 # Is the header present?
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2451 $as_echo_n "checking $2 presence... " >&6; }
2452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453 /* end confdefs.h. */
2454 #include <$2>
2455 _ACEOF
2456 if ac_fn_c_try_cpp "$LINENO"; then :
2457 ac_header_preproc=yes
2458 else
2459 ac_header_preproc=no
2461 rm -f conftest.err conftest.i conftest.$ac_ext
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2463 $as_echo "$ac_header_preproc" >&6; }
2465 # So? What about this header?
2466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2467 yes:no: )
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2469 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2471 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2473 no:yes:* )
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2475 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2477 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2479 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2481 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2483 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2484 ( $as_echo "## ------------------------------------ ##
2485 ## Report this to wine-devel@winehq.org ##
2486 ## ------------------------------------ ##"
2487 ) | sed "s/^/$as_me: WARNING: /" >&2
2489 esac
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2491 $as_echo_n "checking for $2... " >&6; }
2492 if eval \${$3+:} false; then :
2493 $as_echo_n "(cached) " >&6
2494 else
2495 eval "$3=\$ac_header_compiler"
2497 eval ac_res=\$$3
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2499 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503 } # ac_fn_c_check_header_mongrel
2505 # ac_fn_c_try_run LINENO
2506 # ----------------------
2507 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2508 # that executables *can* be run.
2509 ac_fn_c_try_run ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 if { { ac_try="$ac_link"
2513 case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516 esac
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link") 2>&5
2520 ac_status=$?
2521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2522 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2523 { { case "(($ac_try" in
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2526 esac
2527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 $as_echo "$ac_try_echo"; } >&5
2529 (eval "$ac_try") 2>&5
2530 ac_status=$?
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; }; }; then :
2533 ac_retval=0
2534 else
2535 $as_echo "$as_me: program exited with status $ac_status" >&5
2536 $as_echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.$ac_ext >&5
2539 ac_retval=$ac_status
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_run
2547 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2548 # -------------------------------------------------------
2549 # Tests whether HEADER exists and can be compiled using the include files in
2550 # INCLUDES, setting the cache variable VAR accordingly.
2551 ac_fn_c_check_header_compile ()
2553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2555 $as_echo_n "checking for $2... " >&6; }
2556 if eval \${$3+:} false; then :
2557 $as_echo_n "(cached) " >&6
2558 else
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2562 #include <$2>
2563 _ACEOF
2564 if ac_fn_c_try_compile "$LINENO"; then :
2565 eval "$3=yes"
2566 else
2567 eval "$3=no"
2569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2571 eval ac_res=\$$3
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2573 $as_echo "$ac_res" >&6; }
2574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 } # ac_fn_c_check_header_compile
2578 # ac_fn_c_check_func LINENO FUNC VAR
2579 # ----------------------------------
2580 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2581 ac_fn_c_check_func ()
2583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2585 $as_echo_n "checking for $2... " >&6; }
2586 if eval \${$3+:} false; then :
2587 $as_echo_n "(cached) " >&6
2588 else
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2593 #define $2 innocuous_$2
2595 /* System header to define __stub macros and hopefully few prototypes,
2596 which can conflict with char $2 (); below.
2597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2598 <limits.h> exists even on freestanding compilers. */
2600 #ifdef __STDC__
2601 # include <limits.h>
2602 #else
2603 # include <assert.h>
2604 #endif
2606 #undef $2
2608 /* Override any GCC internal prototype to avoid an error.
2609 Use char because int might match the return type of a GCC
2610 builtin and then its argument prototype would still apply. */
2611 #ifdef __cplusplus
2612 extern "C"
2613 #endif
2614 char $2 ();
2615 /* The GNU C library defines this for functions which it implements
2616 to always fail with ENOSYS. Some functions are actually named
2617 something starting with __ and the normal name is an alias. */
2618 #if defined __stub_$2 || defined __stub___$2
2619 choke me
2620 #endif
2623 main ()
2625 return $2 ();
2627 return 0;
2629 _ACEOF
2630 if ac_fn_c_try_link "$LINENO"; then :
2631 eval "$3=yes"
2632 else
2633 eval "$3=no"
2635 rm -f core conftest.err conftest.$ac_objext \
2636 conftest$ac_exeext conftest.$ac_ext
2638 eval ac_res=\$$3
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2640 $as_echo "$ac_res" >&6; }
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 } # ac_fn_c_check_func
2645 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2646 # ----------------------------------------------------
2647 # Tries to find if the field MEMBER exists in type AGGR, after including
2648 # INCLUDES, setting cache variable VAR accordingly.
2649 ac_fn_c_check_member ()
2651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2653 $as_echo_n "checking for $2.$3... " >&6; }
2654 if eval \${$4+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2661 main ()
2663 static $2 ac_aggr;
2664 if (ac_aggr.$3)
2665 return 0;
2667 return 0;
2669 _ACEOF
2670 if ac_fn_c_try_compile "$LINENO"; then :
2671 eval "$4=yes"
2672 else
2673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2674 /* end confdefs.h. */
2677 main ()
2679 static $2 ac_aggr;
2680 if (sizeof ac_aggr.$3)
2681 return 0;
2683 return 0;
2685 _ACEOF
2686 if ac_fn_c_try_compile "$LINENO"; then :
2687 eval "$4=yes"
2688 else
2689 eval "$4=no"
2691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 eval ac_res=\$$4
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2697 $as_echo "$ac_res" >&6; }
2698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2700 } # ac_fn_c_check_member
2702 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2703 # -------------------------------------------
2704 # Tests whether TYPE exists after having included INCLUDES, setting cache
2705 # variable VAR accordingly.
2706 ac_fn_c_check_type ()
2708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2710 $as_echo_n "checking for $2... " >&6; }
2711 if eval \${$3+:} false; then :
2712 $as_echo_n "(cached) " >&6
2713 else
2714 eval "$3=no"
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2719 main ()
2721 if (sizeof ($2))
2722 return 0;
2724 return 0;
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2732 main ()
2734 if (sizeof (($2)))
2735 return 0;
2737 return 0;
2739 _ACEOF
2740 if ac_fn_c_try_compile "$LINENO"; then :
2742 else
2743 eval "$3=yes"
2745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2749 eval ac_res=\$$3
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2751 $as_echo "$ac_res" >&6; }
2752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2754 } # ac_fn_c_check_type
2755 cat >config.log <<_ACEOF
2756 This file contains any messages produced by compilers while
2757 running configure, to aid debugging if configure makes a mistake.
2759 It was created by Wine $as_me 1.7.19, which was
2760 generated by GNU Autoconf 2.69. Invocation command line was
2762 $ $0 $@
2764 _ACEOF
2765 exec 5>>config.log
2767 cat <<_ASUNAME
2768 ## --------- ##
2769 ## Platform. ##
2770 ## --------- ##
2772 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2773 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2774 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2775 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2776 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2778 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2779 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2781 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2782 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2783 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2784 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2785 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2786 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2787 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2789 _ASUNAME
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 $as_echo "PATH: $as_dir"
2797 done
2798 IFS=$as_save_IFS
2800 } >&5
2802 cat >&5 <<_ACEOF
2805 ## ----------- ##
2806 ## Core tests. ##
2807 ## ----------- ##
2809 _ACEOF
2812 # Keep a trace of the command line.
2813 # Strip out --no-create and --no-recursion so they do not pile up.
2814 # Strip out --silent because we don't want to record it for future runs.
2815 # Also quote any args containing shell meta-characters.
2816 # Make two passes to allow for proper duplicate-argument suppression.
2817 ac_configure_args=
2818 ac_configure_args0=
2819 ac_configure_args1=
2820 ac_must_keep_next=false
2821 for ac_pass in 1 2
2823 for ac_arg
2825 case $ac_arg in
2826 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2827 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2828 | -silent | --silent | --silen | --sile | --sil)
2829 continue ;;
2830 *\'*)
2831 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2832 esac
2833 case $ac_pass in
2834 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2836 as_fn_append ac_configure_args1 " '$ac_arg'"
2837 if test $ac_must_keep_next = true; then
2838 ac_must_keep_next=false # Got value, back to normal.
2839 else
2840 case $ac_arg in
2841 *=* | --config-cache | -C | -disable-* | --disable-* \
2842 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2843 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2844 | -with-* | --with-* | -without-* | --without-* | --x)
2845 case "$ac_configure_args0 " in
2846 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2847 esac
2849 -* ) ac_must_keep_next=true ;;
2850 esac
2852 as_fn_append ac_configure_args " '$ac_arg'"
2854 esac
2855 done
2856 done
2857 { ac_configure_args0=; unset ac_configure_args0;}
2858 { ac_configure_args1=; unset ac_configure_args1;}
2860 # When interrupted or exit'd, cleanup temporary files, and complete
2861 # config.log. We remove comments because anyway the quotes in there
2862 # would cause problems or look ugly.
2863 # WARNING: Use '\'' to represent an apostrophe within the trap.
2864 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2865 trap 'exit_status=$?
2866 # Save into config.log some information that might help in debugging.
2868 echo
2870 $as_echo "## ---------------- ##
2871 ## Cache variables. ##
2872 ## ---------------- ##"
2873 echo
2874 # The following way of writing the cache mishandles newlines in values,
2876 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2877 eval ac_val=\$$ac_var
2878 case $ac_val in #(
2879 *${as_nl}*)
2880 case $ac_var in #(
2881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2882 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2883 esac
2884 case $ac_var in #(
2885 _ | IFS | as_nl) ;; #(
2886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2887 *) { eval $ac_var=; unset $ac_var;} ;;
2888 esac ;;
2889 esac
2890 done
2891 (set) 2>&1 |
2892 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2893 *${as_nl}ac_space=\ *)
2894 sed -n \
2895 "s/'\''/'\''\\\\'\'''\''/g;
2896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2897 ;; #(
2899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2901 esac |
2902 sort
2904 echo
2906 $as_echo "## ----------------- ##
2907 ## Output variables. ##
2908 ## ----------------- ##"
2909 echo
2910 for ac_var in $ac_subst_vars
2912 eval ac_val=\$$ac_var
2913 case $ac_val in
2914 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2915 esac
2916 $as_echo "$ac_var='\''$ac_val'\''"
2917 done | sort
2918 echo
2920 if test -n "$ac_subst_files"; then
2921 $as_echo "## ------------------- ##
2922 ## File substitutions. ##
2923 ## ------------------- ##"
2924 echo
2925 for ac_var in $ac_subst_files
2927 eval ac_val=\$$ac_var
2928 case $ac_val in
2929 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2930 esac
2931 $as_echo "$ac_var='\''$ac_val'\''"
2932 done | sort
2933 echo
2936 if test -s confdefs.h; then
2937 $as_echo "## ----------- ##
2938 ## confdefs.h. ##
2939 ## ----------- ##"
2940 echo
2941 cat confdefs.h
2942 echo
2944 test "$ac_signal" != 0 &&
2945 $as_echo "$as_me: caught signal $ac_signal"
2946 $as_echo "$as_me: exit $exit_status"
2947 } >&5
2948 rm -f core *.core core.conftest.* &&
2949 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2950 exit $exit_status
2952 for ac_signal in 1 2 13 15; do
2953 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2954 done
2955 ac_signal=0
2957 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2958 rm -f -r conftest* confdefs.h
2960 $as_echo "/* confdefs.h */" > confdefs.h
2962 # Predefined preprocessor variables.
2964 cat >>confdefs.h <<_ACEOF
2965 #define PACKAGE_NAME "$PACKAGE_NAME"
2966 _ACEOF
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2970 _ACEOF
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_STRING "$PACKAGE_STRING"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_URL "$PACKAGE_URL"
2986 _ACEOF
2989 # Let the site file select an alternate cache file if it wants to.
2990 # Prefer an explicitly selected file to automatically selected ones.
2991 ac_site_file1=NONE
2992 ac_site_file2=NONE
2993 if test -n "$CONFIG_SITE"; then
2994 # We do not want a PATH search for config.site.
2995 case $CONFIG_SITE in #((
2996 -*) ac_site_file1=./$CONFIG_SITE;;
2997 */*) ac_site_file1=$CONFIG_SITE;;
2998 *) ac_site_file1=./$CONFIG_SITE;;
2999 esac
3000 elif test "x$prefix" != xNONE; then
3001 ac_site_file1=$prefix/share/config.site
3002 ac_site_file2=$prefix/etc/config.site
3003 else
3004 ac_site_file1=$ac_default_prefix/share/config.site
3005 ac_site_file2=$ac_default_prefix/etc/config.site
3007 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3009 test "x$ac_site_file" = xNONE && continue
3010 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3012 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3013 sed 's/^/| /' "$ac_site_file" >&5
3014 . "$ac_site_file" \
3015 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error $? "failed to load site script $ac_site_file
3018 See \`config.log' for more details" "$LINENO" 5; }
3020 done
3022 if test -r "$cache_file"; then
3023 # Some versions of bash will fail to source /dev/null (special files
3024 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3025 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3027 $as_echo "$as_me: loading cache $cache_file" >&6;}
3028 case $cache_file in
3029 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3030 *) . "./$cache_file";;
3031 esac
3033 else
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3035 $as_echo "$as_me: creating cache $cache_file" >&6;}
3036 >$cache_file
3039 # Check that the precious variables saved in the cache have kept the same
3040 # value.
3041 ac_cache_corrupted=false
3042 for ac_var in $ac_precious_vars; do
3043 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3044 eval ac_new_set=\$ac_env_${ac_var}_set
3045 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3046 eval ac_new_val=\$ac_env_${ac_var}_value
3047 case $ac_old_set,$ac_new_set in
3048 set,)
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3050 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3051 ac_cache_corrupted=: ;;
3052 ,set)
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3054 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3055 ac_cache_corrupted=: ;;
3056 ,);;
3058 if test "x$ac_old_val" != "x$ac_new_val"; then
3059 # differences in whitespace do not lead to failure.
3060 ac_old_val_w=`echo x $ac_old_val`
3061 ac_new_val_w=`echo x $ac_new_val`
3062 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3064 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3065 ac_cache_corrupted=:
3066 else
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3068 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3069 eval $ac_var=\$ac_old_val
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3072 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3074 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3075 fi;;
3076 esac
3077 # Pass precious variables to config.status.
3078 if test "$ac_new_set" = set; then
3079 case $ac_new_val in
3080 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3081 *) ac_arg=$ac_var=$ac_new_val ;;
3082 esac
3083 case " $ac_configure_args " in
3084 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3085 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3086 esac
3088 done
3089 if $ac_cache_corrupted; then
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3093 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3094 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3096 ## -------------------- ##
3097 ## Main body of script. ##
3098 ## -------------------- ##
3100 ac_ext=c
3101 ac_cpp='$CPP $CPPFLAGS'
3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3108 ac_config_headers="$ac_config_headers include/config.h"
3110 ac_aux_dir=
3111 for ac_dir in tools "$srcdir"/tools; do
3112 if test -f "$ac_dir/install-sh"; then
3113 ac_aux_dir=$ac_dir
3114 ac_install_sh="$ac_aux_dir/install-sh -c"
3115 break
3116 elif test -f "$ac_dir/install.sh"; then
3117 ac_aux_dir=$ac_dir
3118 ac_install_sh="$ac_aux_dir/install.sh -c"
3119 break
3120 elif test -f "$ac_dir/shtool"; then
3121 ac_aux_dir=$ac_dir
3122 ac_install_sh="$ac_aux_dir/shtool install -c"
3123 break
3125 done
3126 if test -z "$ac_aux_dir"; then
3127 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3130 # These three variables are undocumented and unsupported,
3131 # and are intended to be withdrawn in a future Autoconf release.
3132 # They can cause serious problems if a builder's source tree is in a directory
3133 # whose full name contains unusual characters.
3134 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3135 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3136 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3140 libwine_version="1.0"
3144 # Check whether --enable-win16 was given.
3145 if test "${enable_win16+set}" = set; then :
3146 enableval=$enable_win16;
3149 # Check whether --enable-win64 was given.
3150 if test "${enable_win64+set}" = set; then :
3151 enableval=$enable_win64;
3154 # Check whether --enable-tests was given.
3155 if test "${enable_tests+set}" = set; then :
3156 enableval=$enable_tests;
3159 # Check whether --enable-maintainer-mode was given.
3160 if test "${enable_maintainer_mode+set}" = set; then :
3161 enableval=$enable_maintainer_mode;
3166 # Check whether --with-alsa was given.
3167 if test "${with_alsa+set}" = set; then :
3168 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3172 # Check whether --with-capi was given.
3173 if test "${with_capi+set}" = set; then :
3174 withval=$with_capi;
3178 # Check whether --with-cms was given.
3179 if test "${with_cms+set}" = set; then :
3180 withval=$with_cms;
3184 # Check whether --with-coreaudio was given.
3185 if test "${with_coreaudio+set}" = set; then :
3186 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3190 # Check whether --with-cups was given.
3191 if test "${with_cups+set}" = set; then :
3192 withval=$with_cups;
3196 # Check whether --with-curses was given.
3197 if test "${with_curses+set}" = set; then :
3198 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3202 # Check whether --with-dbus was given.
3203 if test "${with_dbus+set}" = set; then :
3204 withval=$with_dbus;
3208 # Check whether --with-fontconfig was given.
3209 if test "${with_fontconfig+set}" = set; then :
3210 withval=$with_fontconfig;
3214 # Check whether --with-freetype was given.
3215 if test "${with_freetype+set}" = set; then :
3216 withval=$with_freetype;
3220 # Check whether --with-gettext was given.
3221 if test "${with_gettext+set}" = set; then :
3222 withval=$with_gettext;
3226 # Check whether --with-gettextpo was given.
3227 if test "${with_gettextpo+set}" = set; then :
3228 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3232 # Check whether --with-gphoto was given.
3233 if test "${with_gphoto+set}" = set; then :
3234 withval=$with_gphoto;
3238 # Check whether --with-glu was given.
3239 if test "${with_glu+set}" = set; then :
3240 withval=$with_glu;
3244 # Check whether --with-gnutls was given.
3245 if test "${with_gnutls+set}" = set; then :
3246 withval=$with_gnutls;
3250 # Check whether --with-gsm was given.
3251 if test "${with_gsm+set}" = set; then :
3252 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3256 # Check whether --with-gstreamer was given.
3257 if test "${with_gstreamer+set}" = set; then :
3258 withval=$with_gstreamer;
3262 # Check whether --with-hal was given.
3263 if test "${with_hal+set}" = set; then :
3264 withval=$with_hal;
3268 # Check whether --with-jpeg was given.
3269 if test "${with_jpeg+set}" = set; then :
3270 withval=$with_jpeg;
3274 # Check whether --with-ldap was given.
3275 if test "${with_ldap+set}" = set; then :
3276 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3280 # Check whether --with-mpg123 was given.
3281 if test "${with_mpg123+set}" = set; then :
3282 withval=$with_mpg123;
3286 # Check whether --with-netapi was given.
3287 if test "${with_netapi+set}" = set; then :
3288 withval=$with_netapi;
3292 # Check whether --with-openal was given.
3293 if test "${with_openal+set}" = set; then :
3294 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3298 # Check whether --with-opencl was given.
3299 if test "${with_opencl+set}" = set; then :
3300 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3304 # Check whether --with-opengl was given.
3305 if test "${with_opengl+set}" = set; then :
3306 withval=$with_opengl;
3310 # Check whether --with-osmesa was given.
3311 if test "${with_osmesa+set}" = set; then :
3312 withval=$with_osmesa;
3316 # Check whether --with-oss was given.
3317 if test "${with_oss+set}" = set; then :
3318 withval=$with_oss;
3322 # Check whether --with-png was given.
3323 if test "${with_png+set}" = set; then :
3324 withval=$with_png;
3328 # Check whether --with-pthread was given.
3329 if test "${with_pthread+set}" = set; then :
3330 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3334 # Check whether --with-sane was given.
3335 if test "${with_sane+set}" = set; then :
3336 withval=$with_sane;
3340 # Check whether --with-tiff was given.
3341 if test "${with_tiff+set}" = set; then :
3342 withval=$with_tiff;
3346 # Check whether --with-v4l was given.
3347 if test "${with_v4l+set}" = set; then :
3348 withval=$with_v4l;
3352 # Check whether --with-xcomposite was given.
3353 if test "${with_xcomposite+set}" = set; then :
3354 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3358 # Check whether --with-xcursor was given.
3359 if test "${with_xcursor+set}" = set; then :
3360 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3364 # Check whether --with-xinerama was given.
3365 if test "${with_xinerama+set}" = set; then :
3366 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3370 # Check whether --with-xinput was given.
3371 if test "${with_xinput+set}" = set; then :
3372 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3376 # Check whether --with-xinput2 was given.
3377 if test "${with_xinput2+set}" = set; then :
3378 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3382 # Check whether --with-xml was given.
3383 if test "${with_xml+set}" = set; then :
3384 withval=$with_xml;
3388 # Check whether --with-xrandr was given.
3389 if test "${with_xrandr+set}" = set; then :
3390 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3394 # Check whether --with-xrender was given.
3395 if test "${with_xrender+set}" = set; then :
3396 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3400 # Check whether --with-xshape was given.
3401 if test "${with_xshape+set}" = set; then :
3402 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3406 # Check whether --with-xshm was given.
3407 if test "${with_xshm+set}" = set; then :
3408 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3412 # Check whether --with-xslt was given.
3413 if test "${with_xslt+set}" = set; then :
3414 withval=$with_xslt;
3418 # Check whether --with-xxf86vm was given.
3419 if test "${with_xxf86vm+set}" = set; then :
3420 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
3424 # Check whether --with-zlib was given.
3425 if test "${with_zlib+set}" = set; then :
3426 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3431 # Check whether --with-wine-tools was given.
3432 if test "${with_wine_tools+set}" = set; then :
3433 withval=$with_wine_tools;
3437 # Check whether --with-wine64 was given.
3438 if test "${with_wine64+set}" = set; then :
3439 withval=$with_wine64;
3443 # Make sure we can run config.sub.
3444 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3445 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3448 $as_echo_n "checking build system type... " >&6; }
3449 if ${ac_cv_build+:} false; then :
3450 $as_echo_n "(cached) " >&6
3451 else
3452 ac_build_alias=$build_alias
3453 test "x$ac_build_alias" = x &&
3454 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3455 test "x$ac_build_alias" = x &&
3456 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3457 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3458 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3462 $as_echo "$ac_cv_build" >&6; }
3463 case $ac_cv_build in
3464 *-*-*) ;;
3465 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3466 esac
3467 build=$ac_cv_build
3468 ac_save_IFS=$IFS; IFS='-'
3469 set x $ac_cv_build
3470 shift
3471 build_cpu=$1
3472 build_vendor=$2
3473 shift; shift
3474 # Remember, the first character of IFS is used to create $*,
3475 # except with old shells:
3476 build_os=$*
3477 IFS=$ac_save_IFS
3478 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3482 $as_echo_n "checking host system type... " >&6; }
3483 if ${ac_cv_host+:} false; then :
3484 $as_echo_n "(cached) " >&6
3485 else
3486 if test "x$host_alias" = x; then
3487 ac_cv_host=$ac_cv_build
3488 else
3489 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3490 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3495 $as_echo "$ac_cv_host" >&6; }
3496 case $ac_cv_host in
3497 *-*-*) ;;
3498 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3499 esac
3500 host=$ac_cv_host
3501 ac_save_IFS=$IFS; IFS='-'
3502 set x $ac_cv_host
3503 shift
3504 host_cpu=$1
3505 host_vendor=$2
3506 shift; shift
3507 # Remember, the first character of IFS is used to create $*,
3508 # except with old shells:
3509 host_os=$*
3510 IFS=$ac_save_IFS
3511 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3515 case "$srcdir" in
3516 .) ;;
3517 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3518 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3519 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3520 fi ;;
3521 esac
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3526 set x ${MAKE-make}
3527 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3528 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 cat >conftest.make <<\_ACEOF
3532 SHELL = /bin/sh
3533 all:
3534 @echo '@@@%%%=$(MAKE)=@@@%%%'
3535 _ACEOF
3536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3538 *@@@%%%=?*=@@@%%%*)
3539 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 eval ac_cv_prog_make_${ac_make}_set=no;;
3542 esac
3543 rm -f conftest.make
3545 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3548 SET_MAKE=
3549 else
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3551 $as_echo "no" >&6; }
3552 SET_MAKE="MAKE=${MAKE-make}"
3555 ac_ext=c
3556 ac_cpp='$CPP $CPPFLAGS'
3557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3562 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_CC+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC="$CC" # Let the user override the test.
3570 else
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 for as_dir in $PATH
3574 IFS=$as_save_IFS
3575 test -z "$as_dir" && as_dir=.
3576 for ac_exec_ext in '' $ac_executable_extensions; do
3577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 break 2
3582 done
3583 done
3584 IFS=$as_save_IFS
3588 CC=$ac_cv_prog_CC
3589 if test -n "$CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591 $as_echo "$CC" >&6; }
3592 else
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3599 if test -z "$ac_cv_prog_CC"; then
3600 ac_ct_CC=$CC
3601 # Extract the first word of "gcc", so it can be a program name with args.
3602 set dummy gcc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 if test -n "$ac_ct_CC"; then
3609 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_CC="gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 break 2
3622 done
3623 done
3624 IFS=$as_save_IFS
3628 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3629 if test -n "$ac_ct_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3631 $as_echo "$ac_ct_CC" >&6; }
3632 else
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3637 if test "x$ac_ct_CC" = x; then
3638 CC=""
3639 else
3640 case $cross_compiling:$ac_tool_warned in
3641 yes:)
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644 ac_tool_warned=yes ;;
3645 esac
3646 CC=$ac_ct_CC
3648 else
3649 CC="$ac_cv_prog_CC"
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3655 set dummy ${ac_tool_prefix}cc; ac_word=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC="$CC" # Let the user override the test.
3663 else
3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 for as_dir in $PATH
3667 IFS=$as_save_IFS
3668 test -z "$as_dir" && as_dir=.
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC="${ac_tool_prefix}cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3675 done
3676 done
3677 IFS=$as_save_IFS
3681 CC=$ac_cv_prog_CC
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3685 else
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 # Extract the first word of "cc", so it can be a program name with args.
3695 set dummy cc; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700 else
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC="$CC" # Let the user override the test.
3703 else
3704 ac_prog_rejected=no
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 for as_dir in $PATH
3708 IFS=$as_save_IFS
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3713 ac_prog_rejected=yes
3714 continue
3716 ac_cv_prog_CC="cc"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 break 2
3720 done
3721 done
3722 IFS=$as_save_IFS
3724 if test $ac_prog_rejected = yes; then
3725 # We found a bogon in the path, so make sure we never use it.
3726 set dummy $ac_cv_prog_CC
3727 shift
3728 if test $# != 0; then
3729 # We chose a different compiler from the bogus one.
3730 # However, it has the same basename, so the bogon will be chosen
3731 # first if we set CC to just the basename; use the full file name.
3732 shift
3733 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3738 CC=$ac_cv_prog_CC
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3742 else
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 for ac_prog in cl.exe
3753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3754 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false; then :
3758 $as_echo_n "(cached) " >&6
3759 else
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC="$CC" # Let the user override the test.
3762 else
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH
3766 IFS=$as_save_IFS
3767 test -z "$as_dir" && as_dir=.
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 break 2
3774 done
3775 done
3776 IFS=$as_save_IFS
3780 CC=$ac_cv_prog_CC
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3784 else
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$CC" && break
3791 done
3793 if test -z "$CC"; then
3794 ac_ct_CC=$CC
3795 for ac_prog in cl.exe
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy $ac_prog; ac_word=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_ac_ct_CC="$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3818 done
3819 done
3820 IFS=$as_save_IFS
3824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$ac_ct_CC" && break
3835 done
3837 if test "x$ac_ct_CC" = x; then
3838 CC=""
3839 else
3840 case $cross_compiling:$ac_tool_warned in
3841 yes:)
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned=yes ;;
3845 esac
3846 CC=$ac_ct_CC
3853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 as_fn_error $? "no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details" "$LINENO" 5; }
3858 # Provide some information about the compiler.
3859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3860 set X $ac_compile
3861 ac_compiler=$2
3862 for ac_option in --version -v -V -qversion; do
3863 { { ac_try="$ac_compiler $ac_option >&5"
3864 case "(($ac_try" in
3865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3867 esac
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3871 ac_status=$?
3872 if test -s conftest.err; then
3873 sed '10a\
3874 ... rest of stderr output deleted ...
3875 10q' conftest.err >conftest.er1
3876 cat conftest.er1 >&5
3878 rm -f conftest.er1 conftest.err
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }
3881 done
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3887 main ()
3891 return 0;
3893 _ACEOF
3894 ac_clean_files_save=$ac_clean_files
3895 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3896 # Try to create an executable without -o first, disregard a.out.
3897 # It will help us diagnose broken compilers, and finding out an intuition
3898 # of exeext.
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3900 $as_echo_n "checking whether the C compiler works... " >&6; }
3901 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3903 # The possible output files:
3904 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3906 ac_rmfiles=
3907 for ac_file in $ac_files
3909 case $ac_file in
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3911 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3912 esac
3913 done
3914 rm -f $ac_rmfiles
3916 if { { ac_try="$ac_link_default"
3917 case "(($ac_try" in
3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3920 esac
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_link_default") 2>&5
3924 ac_status=$?
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3928 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3929 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3930 # so that the user can short-circuit this test for compilers unknown to
3931 # Autoconf.
3932 for ac_file in $ac_files ''
3934 test -f "$ac_file" || continue
3935 case $ac_file in
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3938 [ab].out )
3939 # We found the default executable, but exeext='' is most
3940 # certainly right.
3941 break;;
3942 *.* )
3943 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3944 then :; else
3945 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3947 # We set ac_cv_exeext here because the later test for it is not
3948 # safe: cross compilers may not add the suffix if given an `-o'
3949 # argument, so we may need to know it at that point already.
3950 # Even if this section looks crufty: it has the advantage of
3951 # actually working.
3952 break;;
3954 break;;
3955 esac
3956 done
3957 test "$ac_cv_exeext" = no && ac_cv_exeext=
3959 else
3960 ac_file=''
3962 if test -z "$ac_file"; then :
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3965 $as_echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.$ac_ext >&5
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 as_fn_error 77 "C compiler cannot create executables
3971 See \`config.log' for more details" "$LINENO" 5; }
3972 else
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977 $as_echo_n "checking for C compiler default output file name... " >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3979 $as_echo "$ac_file" >&6; }
3980 ac_exeext=$ac_cv_exeext
3982 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3983 ac_clean_files=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3985 $as_echo_n "checking for suffix of executables... " >&6; }
3986 if { { ac_try="$ac_link"
3987 case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3990 esac
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3994 ac_status=$?
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; then :
3997 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3998 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3999 # work properly (i.e., refer to `conftest.exe'), while it won't with
4000 # `rm'.
4001 for ac_file in conftest.exe conftest conftest.*; do
4002 test -f "$ac_file" || continue
4003 case $ac_file in
4004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4005 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4006 break;;
4007 * ) break;;
4008 esac
4009 done
4010 else
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 rm -f conftest conftest$ac_cv_exeext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4018 $as_echo "$ac_cv_exeext" >&6; }
4020 rm -f conftest.$ac_ext
4021 EXEEXT=$ac_cv_exeext
4022 ac_exeext=$EXEEXT
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4025 #include <stdio.h>
4027 main ()
4029 FILE *f = fopen ("conftest.out", "w");
4030 return ferror (f) || fclose (f) != 0;
4033 return 0;
4035 _ACEOF
4036 ac_clean_files="$ac_clean_files conftest.out"
4037 # Check that the compiler produces executables we can run. If not, either
4038 # the compiler is broken, or we cross compile.
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4040 $as_echo_n "checking whether we are cross compiling... " >&6; }
4041 if test "$cross_compiling" != yes; then
4042 { { ac_try="$ac_link"
4043 case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4046 esac
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4050 ac_status=$?
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }
4053 if { ac_try='./conftest$ac_cv_exeext'
4054 { { case "(($ac_try" in
4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4057 esac
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4061 ac_status=$?
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; }; then
4064 cross_compiling=no
4065 else
4066 if test "$cross_compiling" = maybe; then
4067 cross_compiling=yes
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $? "cannot run C compiled programs.
4072 If you meant to cross compile, use \`--host'.
4073 See \`config.log' for more details" "$LINENO" 5; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4078 $as_echo "$cross_compiling" >&6; }
4080 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4081 ac_clean_files=$ac_clean_files_save
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if ${ac_cv_objext+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error $? "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details" "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if ${ac_cv_c_compiler_gnu+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if ${ac_cv_prog_cc_g+:} false; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if ${ac_cv_prog_cc_c89+:} false; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 struct stat;
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4264 char **p;
4265 int i;
4267 return p[i];
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4271 char *s;
4272 va_list v;
4273 va_start (v,p);
4274 s = g (p, va_arg (v,int));
4275 va_end (v);
4276 return s;
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4290 #define FOO(x) 'x'
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 int argc;
4298 char **argv;
4300 main ()
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 return 0;
4306 _ACEOF
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4316 done
4317 rm -f conftest.$ac_ext
4318 CC=$ac_save_CC
4321 # AC_CACHE_VAL
4322 case "x$ac_cv_prog_cc_c89" in
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4326 xno)
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4333 esac
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4338 ac_ext=c
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344 ac_ext=cpp
4345 ac_cpp='$CXXCPP $CPPFLAGS'
4346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4349 if test -z "$CXX"; then
4350 if test -n "$CCC"; then
4351 CXX=$CCC
4352 else
4353 if test -n "$ac_tool_prefix"; then
4354 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if ${ac_cv_prog_CXX+:} false; then :
4361 $as_echo_n "(cached) " >&6
4362 else
4363 if test -n "$CXX"; then
4364 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4365 else
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4369 IFS=$as_save_IFS
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375 break 2
4377 done
4378 done
4379 IFS=$as_save_IFS
4383 CXX=$ac_cv_prog_CXX
4384 if test -n "$CXX"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4386 $as_echo "$CXX" >&6; }
4387 else
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4393 test -n "$CXX" && break
4394 done
4396 if test -z "$CXX"; then
4397 ac_ct_CXX=$CXX
4398 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 # Extract the first word of "$ac_prog", so it can be a program name with args.
4401 set dummy $ac_prog; ac_word=$2
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4403 $as_echo_n "checking for $ac_word... " >&6; }
4404 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 if test -n "$ac_ct_CXX"; then
4408 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4409 else
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH
4413 IFS=$as_save_IFS
4414 test -z "$as_dir" && as_dir=.
4415 for ac_exec_ext in '' $ac_executable_extensions; do
4416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4417 ac_cv_prog_ac_ct_CXX="$ac_prog"
4418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 break 2
4421 done
4422 done
4423 IFS=$as_save_IFS
4427 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4428 if test -n "$ac_ct_CXX"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4430 $as_echo "$ac_ct_CXX" >&6; }
4431 else
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 test -n "$ac_ct_CXX" && break
4438 done
4440 if test "x$ac_ct_CXX" = x; then
4441 CXX="g++"
4442 else
4443 case $cross_compiling:$ac_tool_warned in
4444 yes:)
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4447 ac_tool_warned=yes ;;
4448 esac
4449 CXX=$ac_ct_CXX
4455 # Provide some information about the compiler.
4456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4457 set X $ac_compile
4458 ac_compiler=$2
4459 for ac_option in --version -v -V -qversion; do
4460 { { ac_try="$ac_compiler $ac_option >&5"
4461 case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4464 esac
4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4468 ac_status=$?
4469 if test -s conftest.err; then
4470 sed '10a\
4471 ... rest of stderr output deleted ...
4472 10q' conftest.err >conftest.er1
4473 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }
4478 done
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4481 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4482 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4489 main ()
4491 #ifndef __GNUC__
4492 choke me
4493 #endif
4496 return 0;
4498 _ACEOF
4499 if ac_fn_cxx_try_compile "$LINENO"; then :
4500 ac_compiler_gnu=yes
4501 else
4502 ac_compiler_gnu=no
4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4509 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4510 if test $ac_compiler_gnu = yes; then
4511 GXX=yes
4512 else
4513 GXX=
4515 ac_test_CXXFLAGS=${CXXFLAGS+set}
4516 ac_save_CXXFLAGS=$CXXFLAGS
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4518 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4519 if ${ac_cv_prog_cxx_g+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4523 ac_cxx_werror_flag=yes
4524 ac_cv_prog_cxx_g=no
4525 CXXFLAGS="-g"
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4534 return 0;
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538 ac_cv_prog_cxx_g=yes
4539 else
4540 CXXFLAGS=""
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4545 main ()
4549 return 0;
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 else
4555 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4556 CXXFLAGS="-g"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_cv_prog_cxx_g=yes
4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4579 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4580 if test "$ac_test_CXXFLAGS" = set; then
4581 CXXFLAGS=$ac_save_CXXFLAGS
4582 elif test $ac_cv_prog_cxx_g = yes; then
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-g -O2"
4585 else
4586 CXXFLAGS="-g"
4588 else
4589 if test "$GXX" = yes; then
4590 CXXFLAGS="-O2"
4591 else
4592 CXXFLAGS=
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4603 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CPPBIN+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$CPPBIN"; then
4610 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 CPPBIN=$ac_cv_prog_CPPBIN
4630 if test -n "$CPPBIN"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4632 $as_echo "$CPPBIN" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4640 if test -z "$ac_cv_prog_CPPBIN"; then
4641 ac_ct_CPPBIN=$CPPBIN
4642 # Extract the first word of "cpp", so it can be a program name with args.
4643 set dummy cpp; ac_word=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4647 $as_echo_n "(cached) " >&6
4648 else
4649 if test -n "$ac_ct_CPPBIN"; then
4650 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4651 else
4652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH
4655 IFS=$as_save_IFS
4656 test -z "$as_dir" && as_dir=.
4657 for ac_exec_ext in '' $ac_executable_extensions; do
4658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4659 ac_cv_prog_ac_ct_CPPBIN="cpp"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 break 2
4663 done
4664 done
4665 IFS=$as_save_IFS
4669 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4670 if test -n "$ac_ct_CPPBIN"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4672 $as_echo "$ac_ct_CPPBIN" >&6; }
4673 else
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4678 if test "x$ac_ct_CPPBIN" = x; then
4679 CPPBIN="cpp"
4680 else
4681 case $cross_compiling:$ac_tool_warned in
4682 yes:)
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4685 ac_tool_warned=yes ;;
4686 esac
4687 CPPBIN=$ac_ct_CPPBIN
4689 else
4690 CPPBIN="$ac_cv_prog_CPPBIN"
4694 cat >>confdefs.h <<_ACEOF
4695 #define EXEEXT "$ac_exeext"
4696 _ACEOF
4699 case $host in
4700 *-darwin*)
4701 if test "x$enable_win64" = "xyes"
4702 then
4703 CC="$CC -m64"
4704 CXX="$CXX -m64"
4705 host_cpu="x86_64"
4706 notice_platform="64-bit "
4707 TARGETFLAGS="-m64"
4709 else
4710 CC="$CC -m32"
4711 CXX="$CXX -m32"
4712 host_cpu="i386"
4713 notice_platform="32-bit "
4714 TARGETFLAGS="-m32"
4716 enable_win16=${enable_win16:-yes}
4718 with_fontconfig=${with_fontconfig:-no}
4720 x86_64*)
4721 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4722 then
4723 CC="$CC -m32"
4724 CXX="$CXX -m32"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4726 $as_echo_n "checking whether $CC works... " >&6; }
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4732 main ()
4736 return 0;
4738 _ACEOF
4739 if ac_fn_c_try_link "$LINENO"; then :
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4741 $as_echo "yes" >&6; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4745 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4747 rm -f core conftest.err conftest.$ac_objext \
4748 conftest$ac_exeext conftest.$ac_ext
4749 host_cpu="i386"
4750 notice_platform="32-bit "
4751 TARGETFLAGS="-m32"
4753 enable_win16=${enable_win16:-yes}
4754 else
4755 if test "x${GCC}" = "xyes"
4756 then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4758 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4761 #include <stdarg.h>
4763 main ()
4765 void func(__builtin_ms_va_list *args);
4767 return 0;
4769 _ACEOF
4770 if ac_fn_c_try_compile "$LINENO"; then :
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4772 $as_echo "yes" >&6; }
4773 else
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4776 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4780 TARGETFLAGS="-m64"
4784 arm*)
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4786 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 int ac_test(int i) { return i; }
4791 main ()
4793 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4795 return 0;
4797 _ACEOF
4798 if ac_fn_c_try_link "$LINENO"; then :
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4800 $as_echo "yes" >&6; }
4801 else
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4806 rm -f core conftest.err conftest.$ac_objext \
4807 conftest$ac_exeext conftest.$ac_ext
4808 CFLAGS="$CFLAGS -marm"
4809 TARGETFLAGS="-marm"
4812 *-mingw32*|*-cygwin*)
4813 enable_win16=${enable_win16:-no}
4814 CFLAGS="$CFLAGS -D_WIN32"
4816 i[3456789]86*)
4817 enable_win16=${enable_win16:-yes}
4819 esac
4821 enable_win16=${enable_win16:-no}
4822 enable_win64=${enable_win64:-no}
4824 enable_winetest=${enable_winetest:-$enable_tests}
4826 if test -n "$with_wine64"
4827 then
4828 if test "x$enable_win64" = "xyes"
4829 then
4830 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4831 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4833 enable_fonts=${enable_fonts:-no}
4834 enable_server=${enable_server:-no}
4835 elif test "x$enable_win64" = "xyes"
4836 then
4837 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4841 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4842 if ${wine_cv_toolsdir+:} false; then :
4843 $as_echo_n "(cached) " >&6
4844 else
4845 wine_cv_toolsdir="$with_wine_tools"
4846 if test -z "$with_wine_tools"; then
4847 if test "$cross_compiling" = "yes"; then
4848 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4849 elif test -n "$with_wine64"; then
4850 wine_cv_toolsdir="$with_wine64"
4853 if test -z "$wine_cv_toolsdir"; then
4854 wine_makedep=tools/makedep
4855 wine_cv_toolsdir="\$(top_builddir)"
4856 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4857 wine_makedep=$wine_cv_toolsdir/tools/makedep
4858 case "$wine_cv_toolsdir" in
4859 /*) ;;
4860 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4861 esac
4862 enable_tools=${enable_tools:-no}
4863 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4864 else
4865 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4869 $as_echo "$wine_cv_toolsdir" >&6; }
4870 TOOLSDIR=$wine_cv_toolsdir
4872 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4873 then
4874 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4878 for ac_prog in flex
4880 # Extract the first word of "$ac_prog", so it can be a program name with args.
4881 set dummy $ac_prog; ac_word=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if ${ac_cv_prog_FLEX+:} false; then :
4885 $as_echo_n "(cached) " >&6
4886 else
4887 if test -n "$FLEX"; then
4888 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4889 else
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 for as_dir in $PATH
4893 IFS=$as_save_IFS
4894 test -z "$as_dir" && as_dir=.
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4897 ac_cv_prog_FLEX="$ac_prog"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 break 2
4901 done
4902 done
4903 IFS=$as_save_IFS
4907 FLEX=$ac_cv_prog_FLEX
4908 if test -n "$FLEX"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4910 $as_echo "$FLEX" >&6; }
4911 else
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4917 test -n "$FLEX" && break
4918 done
4919 test -n "$FLEX" || FLEX="none"
4921 if test "$FLEX" = "none"
4922 then
4923 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4926 $as_echo_n "checking whether flex is recent enough... " >&6; }
4927 cat >conftest.l <<EOF
4928 %top{
4929 #include "prediluvian.h"
4933 if $FLEX -t conftest.l >/dev/null 2>&5
4934 then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4937 else
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4943 for ac_prog in bison
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy $ac_prog; ac_word=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if ${ac_cv_prog_BISON+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 if test -n "$BISON"; then
4953 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 test -z "$as_dir" && as_dir=.
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_BISON="$ac_prog"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 break 2
4966 done
4967 done
4968 IFS=$as_save_IFS
4972 BISON=$ac_cv_prog_BISON
4973 if test -n "$BISON"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4975 $as_echo "$BISON" >&6; }
4976 else
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 test -n "$BISON" && break
4983 done
4984 test -n "$BISON" || BISON="none"
4986 if test "$BISON" = "none"
4987 then
4988 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4991 if test -n "$ac_tool_prefix"; then
4992 for ac_prog in ar gar
4994 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4995 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_AR+:} false; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 if test -n "$AR"; then
5002 ac_cv_prog_AR="$AR" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 AR=$ac_cv_prog_AR
5022 if test -n "$AR"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5024 $as_echo "$AR" >&6; }
5025 else
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5031 test -n "$AR" && break
5032 done
5034 if test -z "$AR"; then
5035 ac_ct_AR=$AR
5036 for ac_prog in ar gar
5038 # Extract the first word of "$ac_prog", so it can be a program name with args.
5039 set dummy $ac_prog; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5043 $as_echo_n "(cached) " >&6
5044 else
5045 if test -n "$ac_ct_AR"; then
5046 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5047 else
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH
5051 IFS=$as_save_IFS
5052 test -z "$as_dir" && as_dir=.
5053 for ac_exec_ext in '' $ac_executable_extensions; do
5054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_ac_ct_AR="$ac_prog"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 break 2
5059 done
5060 done
5061 IFS=$as_save_IFS
5065 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5066 if test -n "$ac_ct_AR"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5068 $as_echo "$ac_ct_AR" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 test -n "$ac_ct_AR" && break
5076 done
5078 if test "x$ac_ct_AR" = x; then
5079 AR="ar"
5080 else
5081 case $cross_compiling:$ac_tool_warned in
5082 yes:)
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned=yes ;;
5086 esac
5087 AR=$ac_ct_AR
5091 if test -n "$ac_tool_prefix"; then
5092 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5093 set dummy ${ac_tool_prefix}strip; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_STRIP+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$STRIP"; then
5100 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 STRIP=$ac_cv_prog_STRIP
5120 if test -n "$STRIP"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5122 $as_echo "$STRIP" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5130 if test -z "$ac_cv_prog_STRIP"; then
5131 ac_ct_STRIP=$STRIP
5132 # Extract the first word of "strip", so it can be a program name with args.
5133 set dummy strip; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$ac_ct_STRIP"; then
5140 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_ac_ct_STRIP="strip"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5160 if test -n "$ac_ct_STRIP"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5162 $as_echo "$ac_ct_STRIP" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5168 if test "x$ac_ct_STRIP" = x; then
5169 STRIP="strip"
5170 else
5171 case $cross_compiling:$ac_tool_warned in
5172 yes:)
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5175 ac_tool_warned=yes ;;
5176 esac
5177 STRIP=$ac_ct_STRIP
5179 else
5180 STRIP="$ac_cv_prog_STRIP"
5183 ARFLAGS=rc
5185 if test -n "$ac_tool_prefix"; then
5186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5187 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5189 $as_echo_n "checking for $ac_word... " >&6; }
5190 if ${ac_cv_prog_RANLIB+:} false; then :
5191 $as_echo_n "(cached) " >&6
5192 else
5193 if test -n "$RANLIB"; then
5194 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5195 else
5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 for as_dir in $PATH
5199 IFS=$as_save_IFS
5200 test -z "$as_dir" && as_dir=.
5201 for ac_exec_ext in '' $ac_executable_extensions; do
5202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5203 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 break 2
5207 done
5208 done
5209 IFS=$as_save_IFS
5213 RANLIB=$ac_cv_prog_RANLIB
5214 if test -n "$RANLIB"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5216 $as_echo "$RANLIB" >&6; }
5217 else
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5224 if test -z "$ac_cv_prog_RANLIB"; then
5225 ac_ct_RANLIB=$RANLIB
5226 # Extract the first word of "ranlib", so it can be a program name with args.
5227 set dummy ranlib; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5231 $as_echo_n "(cached) " >&6
5232 else
5233 if test -n "$ac_ct_RANLIB"; then
5234 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5239 IFS=$as_save_IFS
5240 test -z "$as_dir" && as_dir=.
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243 ac_cv_prog_ac_ct_RANLIB="ranlib"
5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 break 2
5247 done
5248 done
5249 IFS=$as_save_IFS
5253 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5254 if test -n "$ac_ct_RANLIB"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5256 $as_echo "$ac_ct_RANLIB" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5262 if test "x$ac_ct_RANLIB" = x; then
5263 RANLIB=":"
5264 else
5265 case $cross_compiling:$ac_tool_warned in
5266 yes:)
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5269 ac_tool_warned=yes ;;
5270 esac
5271 RANLIB=$ac_ct_RANLIB
5273 else
5274 RANLIB="$ac_cv_prog_RANLIB"
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5278 $as_echo_n "checking whether ln -s works... " >&6; }
5279 LN_S=$as_ln_s
5280 if test "$LN_S" = "ln -s"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5282 $as_echo "yes" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5285 $as_echo "no, using $LN_S" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5289 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5290 if ${ac_cv_path_GREP+:} false; then :
5291 $as_echo_n "(cached) " >&6
5292 else
5293 if test -z "$GREP"; then
5294 ac_path_GREP_found=false
5295 # Loop through the user's path and test for each of PROGNAME-LIST
5296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5299 IFS=$as_save_IFS
5300 test -z "$as_dir" && as_dir=.
5301 for ac_prog in grep ggrep; do
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5304 as_fn_executable_p "$ac_path_GREP" || continue
5305 # Check for GNU ac_path_GREP and select it if it is found.
5306 # Check for GNU $ac_path_GREP
5307 case `"$ac_path_GREP" --version 2>&1` in
5308 *GNU*)
5309 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5311 ac_count=0
5312 $as_echo_n 0123456789 >"conftest.in"
5313 while :
5315 cat "conftest.in" "conftest.in" >"conftest.tmp"
5316 mv "conftest.tmp" "conftest.in"
5317 cp "conftest.in" "conftest.nl"
5318 $as_echo 'GREP' >> "conftest.nl"
5319 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5321 as_fn_arith $ac_count + 1 && ac_count=$as_val
5322 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5323 # Best one so far, save it but keep looking for a better one
5324 ac_cv_path_GREP="$ac_path_GREP"
5325 ac_path_GREP_max=$ac_count
5327 # 10*(2^10) chars as input seems more than enough
5328 test $ac_count -gt 10 && break
5329 done
5330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5331 esac
5333 $ac_path_GREP_found && break 3
5334 done
5335 done
5336 done
5337 IFS=$as_save_IFS
5338 if test -z "$ac_cv_path_GREP"; then
5339 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5341 else
5342 ac_cv_path_GREP=$GREP
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5347 $as_echo "$ac_cv_path_GREP" >&6; }
5348 GREP="$ac_cv_path_GREP"
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5352 $as_echo_n "checking for egrep... " >&6; }
5353 if ${ac_cv_path_EGREP+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5357 then ac_cv_path_EGREP="$GREP -E"
5358 else
5359 if test -z "$EGREP"; then
5360 ac_path_EGREP_found=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in egrep; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5370 as_fn_executable_p "$ac_path_EGREP" || continue
5371 # Check for GNU ac_path_EGREP and select it if it is found.
5372 # Check for GNU $ac_path_EGREP
5373 case `"$ac_path_EGREP" --version 2>&1` in
5374 *GNU*)
5375 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5377 ac_count=0
5378 $as_echo_n 0123456789 >"conftest.in"
5379 while :
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo 'EGREP' >> "conftest.nl"
5385 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5387 as_fn_arith $ac_count + 1 && ac_count=$as_val
5388 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_EGREP="$ac_path_EGREP"
5391 ac_path_EGREP_max=$ac_count
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5395 done
5396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5397 esac
5399 $ac_path_EGREP_found && break 3
5400 done
5401 done
5402 done
5403 IFS=$as_save_IFS
5404 if test -z "$ac_cv_path_EGREP"; then
5405 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5407 else
5408 ac_cv_path_EGREP=$EGREP
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5414 $as_echo "$ac_cv_path_EGREP" >&6; }
5415 EGREP="$ac_cv_path_EGREP"
5418 # Extract the first word of "ldconfig", so it can be a program name with args.
5419 set dummy ldconfig; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_path_LDCONFIG+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 case $LDCONFIG in
5426 [\\/]* | ?:[\\/]*)
5427 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431 for as_dir in /sbin /usr/sbin $PATH
5433 IFS=$as_save_IFS
5434 test -z "$as_dir" && as_dir=.
5435 for ac_exec_ext in '' $ac_executable_extensions; do
5436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5437 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439 break 2
5441 done
5442 done
5443 IFS=$as_save_IFS
5445 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5447 esac
5449 LDCONFIG=$ac_cv_path_LDCONFIG
5450 if test -n "$LDCONFIG"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5452 $as_echo "$LDCONFIG" >&6; }
5453 else
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5459 for ac_prog in msgfmt
5461 # Extract the first word of "$ac_prog", so it can be a program name with args.
5462 set dummy $ac_prog; ac_word=$2
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5464 $as_echo_n "checking for $ac_word... " >&6; }
5465 if ${ac_cv_prog_MSGFMT+:} false; then :
5466 $as_echo_n "(cached) " >&6
5467 else
5468 if test -n "$MSGFMT"; then
5469 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5474 IFS=$as_save_IFS
5475 test -z "$as_dir" && as_dir=.
5476 for ac_exec_ext in '' $ac_executable_extensions; do
5477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5478 ac_cv_prog_MSGFMT="$ac_prog"
5479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 break 2
5482 done
5483 done
5484 IFS=$as_save_IFS
5488 MSGFMT=$ac_cv_prog_MSGFMT
5489 if test -n "$MSGFMT"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5491 $as_echo "$MSGFMT" >&6; }
5492 else
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 test -n "$MSGFMT" && break
5499 done
5500 test -n "$MSGFMT" || MSGFMT="false"
5502 if ${ac_tool_prefix+:} false; then :
5503 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5504 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5508 $as_echo_n "(cached) " >&6
5509 else
5510 if test -n "$PKG_CONFIG"; then
5511 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5512 else
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5514 for as_dir in $PATH
5516 IFS=$as_save_IFS
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 break 2
5524 done
5525 done
5526 IFS=$as_save_IFS
5530 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5531 if test -n "$PKG_CONFIG"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5533 $as_echo "$PKG_CONFIG" >&6; }
5534 else
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5541 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5542 if test "x$cross_compiling" = xyes; then :
5544 else
5545 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5546 # Extract the first word of "pkg-config", so it can be a program name with args.
5547 set dummy pkg-config; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -n "$PKG_CONFIG"; then
5554 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_PKG_CONFIG="pkg-config"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 break 2
5567 done
5568 done
5569 IFS=$as_save_IFS
5573 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5574 if test -n "$PKG_CONFIG"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5576 $as_echo "$PKG_CONFIG" >&6; }
5577 else
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5584 else
5585 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5588 if test "x$enable_maintainer_mode" != "xyes"
5589 then
5590 FONTFORGE=""
5591 RSVG=""
5592 CONVERT=""
5593 ICOTOOL=""
5594 else
5595 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5596 for ac_prog in fontforge
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy $ac_prog; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 $as_echo_n "checking for $ac_word... " >&6; }
5602 if ${ac_cv_prog_FONTFORGE+:} false; then :
5603 $as_echo_n "(cached) " >&6
5604 else
5605 if test -n "$FONTFORGE"; then
5606 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_FONTFORGE="$ac_prog"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 break 2
5619 done
5620 done
5621 IFS=$as_save_IFS
5625 FONTFORGE=$ac_cv_prog_FONTFORGE
5626 if test -n "$FONTFORGE"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5628 $as_echo "$FONTFORGE" >&6; }
5629 else
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }
5635 test -n "$FONTFORGE" && break
5636 done
5637 test -n "$FONTFORGE" || FONTFORGE="false"
5639 for ac_prog in rsvg
5641 # Extract the first word of "$ac_prog", so it can be a program name with args.
5642 set dummy $ac_prog; ac_word=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_RSVG+:} false; then :
5646 $as_echo_n "(cached) " >&6
5647 else
5648 if test -n "$RSVG"; then
5649 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_RSVG="$ac_prog"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 RSVG=$ac_cv_prog_RSVG
5669 if test -n "$RSVG"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5671 $as_echo "$RSVG" >&6; }
5672 else
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5678 test -n "$RSVG" && break
5679 done
5680 test -n "$RSVG" || RSVG="false"
5682 for ac_prog in convert
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy $ac_prog; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_CONVERT+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if test -n "$CONVERT"; then
5692 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5693 else
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695 for as_dir in $PATH
5697 IFS=$as_save_IFS
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_CONVERT="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 break 2
5705 done
5706 done
5707 IFS=$as_save_IFS
5711 CONVERT=$ac_cv_prog_CONVERT
5712 if test -n "$CONVERT"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5714 $as_echo "$CONVERT" >&6; }
5715 else
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$CONVERT" && break
5722 done
5723 test -n "$CONVERT" || CONVERT="false"
5725 for ac_prog in icotool
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ICOTOOL+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$ICOTOOL"; then
5735 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ICOTOOL="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 ICOTOOL=$ac_cv_prog_ICOTOOL
5755 if test -n "$ICOTOOL"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5757 $as_echo "$ICOTOOL" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$ICOTOOL" && break
5765 done
5766 test -n "$ICOTOOL" || ICOTOOL="false"
5768 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5769 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5771 if test "$CONVERT" = false
5772 then
5773 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5774 else
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5776 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5777 convert_version=`convert --version | head -n1`
5778 if test "x$convert_version" != "x"
5779 then
5780 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5781 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5782 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5783 then
5784 CONVERT=false
5787 if test "$CONVERT" = false
5788 then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5790 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5791 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5792 else
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5794 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5798 if test "$ICOTOOL" = false
5799 then
5800 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5801 else
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5803 $as_echo_n "checking for recent enough icotool... " >&6; }
5804 icotool_version=`icotool --version | head -n1`
5805 if test "x$icotool_version" != "x"
5806 then
5807 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5808 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5809 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5810 then
5811 ICOTOOL=false
5812 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5815 if test "$ICOTOOL" = false
5816 then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5818 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5819 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5822 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5826 with_gettext=yes
5827 with_gettextpo=yes
5828 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5831 test "x$with_gettext" != xno || MSGFMT=false
5832 if test "$MSGFMT" != "false"
5833 then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5835 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5836 cat >conftest.po <<EOF
5837 # comment
5838 msgctxt "ctxt"
5839 msgid "id"
5840 msgstr "str"
5842 if $MSGFMT -o /dev/null conftest.po 2>&5
5843 then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5845 $as_echo "yes" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5849 MSGFMT=false
5852 if test "$MSGFMT" = false; then :
5853 case "x$with_gettext" in
5854 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5855 xno) ;;
5856 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5857 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5858 esac
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5863 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5864 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 ac_check_lib_save_LIBS=$LIBS
5868 LIBS="-li386 $LIBS"
5869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5870 /* end confdefs.h. */
5872 /* Override any GCC internal prototype to avoid an error.
5873 Use char because int might match the return type of a GCC
5874 builtin and then its argument prototype would still apply. */
5875 #ifdef __cplusplus
5876 extern "C"
5877 #endif
5878 char i386_set_ldt ();
5880 main ()
5882 return i386_set_ldt ();
5884 return 0;
5886 _ACEOF
5887 if ac_fn_c_try_link "$LINENO"; then :
5888 ac_cv_lib_i386_i386_set_ldt=yes
5889 else
5890 ac_cv_lib_i386_i386_set_ldt=no
5892 rm -f core conftest.err conftest.$ac_objext \
5893 conftest$ac_exeext conftest.$ac_ext
5894 LIBS=$ac_check_lib_save_LIBS
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5897 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5898 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5899 cat >>confdefs.h <<_ACEOF
5900 #define HAVE_LIBI386 1
5901 _ACEOF
5903 LIBS="-li386 $LIBS"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5908 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5909 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 ac_check_lib_save_LIBS=$LIBS
5913 LIBS="-lossaudio $LIBS"
5914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5917 /* Override any GCC internal prototype to avoid an error.
5918 Use char because int might match the return type of a GCC
5919 builtin and then its argument prototype would still apply. */
5920 #ifdef __cplusplus
5921 extern "C"
5922 #endif
5923 char _oss_ioctl ();
5925 main ()
5927 return _oss_ioctl ();
5929 return 0;
5931 _ACEOF
5932 if ac_fn_c_try_link "$LINENO"; then :
5933 ac_cv_lib_ossaudio__oss_ioctl=yes
5934 else
5935 ac_cv_lib_ossaudio__oss_ioctl=no
5937 rm -f core conftest.err conftest.$ac_objext \
5938 conftest$ac_exeext conftest.$ac_ext
5939 LIBS=$ac_check_lib_save_LIBS
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5942 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5943 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5944 cat >>confdefs.h <<_ACEOF
5945 #define HAVE_LIBOSSAUDIO 1
5946 _ACEOF
5948 LIBS="-lossaudio $LIBS"
5953 OPENGL_LIBS=""
5957 # Check whether --enable-largefile was given.
5958 if test "${enable_largefile+set}" = set; then :
5959 enableval=$enable_largefile;
5962 if test "$enable_largefile" != no; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5965 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5966 if ${ac_cv_sys_largefile_CC+:} false; then :
5967 $as_echo_n "(cached) " >&6
5968 else
5969 ac_cv_sys_largefile_CC=no
5970 if test "$GCC" != yes; then
5971 ac_save_CC=$CC
5972 while :; do
5973 # IRIX 6.2 and later do not support large files by default,
5974 # so use the C compiler's -n32 option if that helps.
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5977 #include <sys/types.h>
5978 /* Check that off_t can represent 2**63 - 1 correctly.
5979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5980 since some C++ compilers masquerading as C compilers
5981 incorrectly reject 9223372036854775807. */
5982 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5984 && LARGE_OFF_T % 2147483647 == 1)
5985 ? 1 : -1];
5987 main ()
5991 return 0;
5993 _ACEOF
5994 if ac_fn_c_try_compile "$LINENO"; then :
5995 break
5997 rm -f core conftest.err conftest.$ac_objext
5998 CC="$CC -n32"
5999 if ac_fn_c_try_compile "$LINENO"; then :
6000 ac_cv_sys_largefile_CC=' -n32'; break
6002 rm -f core conftest.err conftest.$ac_objext
6003 break
6004 done
6005 CC=$ac_save_CC
6006 rm -f conftest.$ac_ext
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6010 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6011 if test "$ac_cv_sys_largefile_CC" != no; then
6012 CC=$CC$ac_cv_sys_largefile_CC
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6016 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6017 if ${ac_cv_sys_file_offset_bits+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 while :; do
6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 /* Check that off_t can represent 2**63 - 1 correctly.
6025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6026 since some C++ compilers masquerading as C compilers
6027 incorrectly reject 9223372036854775807. */
6028 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6030 && LARGE_OFF_T % 2147483647 == 1)
6031 ? 1 : -1];
6033 main ()
6037 return 0;
6039 _ACEOF
6040 if ac_fn_c_try_compile "$LINENO"; then :
6041 ac_cv_sys_file_offset_bits=no; break
6043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6045 /* end confdefs.h. */
6046 #define _FILE_OFFSET_BITS 64
6047 #include <sys/types.h>
6048 /* Check that off_t can represent 2**63 - 1 correctly.
6049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6050 since some C++ compilers masquerading as C compilers
6051 incorrectly reject 9223372036854775807. */
6052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6054 && LARGE_OFF_T % 2147483647 == 1)
6055 ? 1 : -1];
6057 main ()
6061 return 0;
6063 _ACEOF
6064 if ac_fn_c_try_compile "$LINENO"; then :
6065 ac_cv_sys_file_offset_bits=64; break
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6068 ac_cv_sys_file_offset_bits=unknown
6069 break
6070 done
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6073 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6074 case $ac_cv_sys_file_offset_bits in #(
6075 no | unknown) ;;
6077 cat >>confdefs.h <<_ACEOF
6078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6079 _ACEOF
6081 esac
6082 rm -rf conftest*
6083 if test $ac_cv_sys_file_offset_bits = unknown; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6085 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6086 if ${ac_cv_sys_large_files+:} false; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 while :; do
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6092 #include <sys/types.h>
6093 /* Check that off_t can represent 2**63 - 1 correctly.
6094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6095 since some C++ compilers masquerading as C compilers
6096 incorrectly reject 9223372036854775807. */
6097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6099 && LARGE_OFF_T % 2147483647 == 1)
6100 ? 1 : -1];
6102 main ()
6106 return 0;
6108 _ACEOF
6109 if ac_fn_c_try_compile "$LINENO"; then :
6110 ac_cv_sys_large_files=no; break
6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #define _LARGE_FILES 1
6116 #include <sys/types.h>
6117 /* Check that off_t can represent 2**63 - 1 correctly.
6118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6119 since some C++ compilers masquerading as C compilers
6120 incorrectly reject 9223372036854775807. */
6121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6123 && LARGE_OFF_T % 2147483647 == 1)
6124 ? 1 : -1];
6126 main ()
6130 return 0;
6132 _ACEOF
6133 if ac_fn_c_try_compile "$LINENO"; then :
6134 ac_cv_sys_large_files=1; break
6136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6137 ac_cv_sys_large_files=unknown
6138 break
6139 done
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6142 $as_echo "$ac_cv_sys_large_files" >&6; }
6143 case $ac_cv_sys_large_files in #(
6144 no | unknown) ;;
6146 cat >>confdefs.h <<_ACEOF
6147 #define _LARGE_FILES $ac_cv_sys_large_files
6148 _ACEOF
6150 esac
6151 rm -rf conftest*
6158 ac_ext=c
6159 ac_cpp='$CPP $CPPFLAGS'
6160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6165 # On Suns, sometimes $CPP names a directory.
6166 if test -n "$CPP" && test -d "$CPP"; then
6167 CPP=
6169 if test -z "$CPP"; then
6170 if ${ac_cv_prog_CPP+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 # Double quotes because CPP needs to be expanded
6174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6176 ac_preproc_ok=false
6177 for ac_c_preproc_warn_flag in '' yes
6179 # Use a header file that comes with gcc, so configuring glibc
6180 # with a fresh cross-compiler works.
6181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6182 # <limits.h> exists even on freestanding compilers.
6183 # On the NeXT, cc -E runs the code through the compiler's parser,
6184 # not just through cpp. "Syntax error" is here to catch this case.
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6187 #ifdef __STDC__
6188 # include <limits.h>
6189 #else
6190 # include <assert.h>
6191 #endif
6192 Syntax error
6193 _ACEOF
6194 if ac_fn_c_try_cpp "$LINENO"; then :
6196 else
6197 # Broken: fails on valid input.
6198 continue
6200 rm -f conftest.err conftest.i conftest.$ac_ext
6202 # OK, works on sane cases. Now check whether nonexistent headers
6203 # can be detected and how.
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6206 #include <ac_nonexistent.h>
6207 _ACEOF
6208 if ac_fn_c_try_cpp "$LINENO"; then :
6209 # Broken: success on invalid input.
6210 continue
6211 else
6212 # Passes both tests.
6213 ac_preproc_ok=:
6214 break
6216 rm -f conftest.err conftest.i conftest.$ac_ext
6218 done
6219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6220 rm -f conftest.i conftest.err conftest.$ac_ext
6221 if $ac_preproc_ok; then :
6222 break
6225 done
6226 ac_cv_prog_CPP=$CPP
6229 CPP=$ac_cv_prog_CPP
6230 else
6231 ac_cv_prog_CPP=$CPP
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6234 $as_echo "$CPP" >&6; }
6235 ac_preproc_ok=false
6236 for ac_c_preproc_warn_flag in '' yes
6238 # Use a header file that comes with gcc, so configuring glibc
6239 # with a fresh cross-compiler works.
6240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6241 # <limits.h> exists even on freestanding compilers.
6242 # On the NeXT, cc -E runs the code through the compiler's parser,
6243 # not just through cpp. "Syntax error" is here to catch this case.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #ifdef __STDC__
6247 # include <limits.h>
6248 #else
6249 # include <assert.h>
6250 #endif
6251 Syntax error
6252 _ACEOF
6253 if ac_fn_c_try_cpp "$LINENO"; then :
6255 else
6256 # Broken: fails on valid input.
6257 continue
6259 rm -f conftest.err conftest.i conftest.$ac_ext
6261 # OK, works on sane cases. Now check whether nonexistent headers
6262 # can be detected and how.
6263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6265 #include <ac_nonexistent.h>
6266 _ACEOF
6267 if ac_fn_c_try_cpp "$LINENO"; then :
6268 # Broken: success on invalid input.
6269 continue
6270 else
6271 # Passes both tests.
6272 ac_preproc_ok=:
6273 break
6275 rm -f conftest.err conftest.i conftest.$ac_ext
6277 done
6278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6279 rm -f conftest.i conftest.err conftest.$ac_ext
6280 if $ac_preproc_ok; then :
6282 else
6283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6285 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6286 See \`config.log' for more details" "$LINENO" 5; }
6289 ac_ext=c
6290 ac_cpp='$CPP $CPPFLAGS'
6291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6297 $as_echo_n "checking for ANSI C header files... " >&6; }
6298 if ${ac_cv_header_stdc+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6302 /* end confdefs.h. */
6303 #include <stdlib.h>
6304 #include <stdarg.h>
6305 #include <string.h>
6306 #include <float.h>
6309 main ()
6313 return 0;
6315 _ACEOF
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317 ac_cv_header_stdc=yes
6318 else
6319 ac_cv_header_stdc=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6323 if test $ac_cv_header_stdc = yes; then
6324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6326 /* end confdefs.h. */
6327 #include <string.h>
6329 _ACEOF
6330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6331 $EGREP "memchr" >/dev/null 2>&1; then :
6333 else
6334 ac_cv_header_stdc=no
6336 rm -f conftest*
6340 if test $ac_cv_header_stdc = yes; then
6341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <stdlib.h>
6346 _ACEOF
6347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6348 $EGREP "free" >/dev/null 2>&1; then :
6350 else
6351 ac_cv_header_stdc=no
6353 rm -f conftest*
6357 if test $ac_cv_header_stdc = yes; then
6358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6359 if test "$cross_compiling" = yes; then :
6361 else
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #include <ctype.h>
6365 #include <stdlib.h>
6366 #if ((' ' & 0x0FF) == 0x020)
6367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6369 #else
6370 # define ISLOWER(c) \
6371 (('a' <= (c) && (c) <= 'i') \
6372 || ('j' <= (c) && (c) <= 'r') \
6373 || ('s' <= (c) && (c) <= 'z'))
6374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6375 #endif
6377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6379 main ()
6381 int i;
6382 for (i = 0; i < 256; i++)
6383 if (XOR (islower (i), ISLOWER (i))
6384 || toupper (i) != TOUPPER (i))
6385 return 2;
6386 return 0;
6388 _ACEOF
6389 if ac_fn_c_try_run "$LINENO"; then :
6391 else
6392 ac_cv_header_stdc=no
6394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6395 conftest.$ac_objext conftest.beam conftest.$ac_ext
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6401 $as_echo "$ac_cv_header_stdc" >&6; }
6402 if test $ac_cv_header_stdc = yes; then
6404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6409 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6410 inttypes.h stdint.h unistd.h
6411 do :
6412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6416 cat >>confdefs.h <<_ACEOF
6417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6418 _ACEOF
6422 done
6425 for ac_header in \
6426 AL/al.h \
6427 ApplicationServices/ApplicationServices.h \
6428 AudioToolbox/AudioConverter.h \
6429 AudioUnit/AudioUnit.h \
6430 AudioUnit/AudioComponent.h \
6431 CL/cl.h \
6432 Carbon/Carbon.h \
6433 CoreAudio/CoreAudio.h \
6434 CoreServices/CoreServices.h \
6435 DiskArbitration/DiskArbitration.h \
6436 IOKit/IOKitLib.h \
6437 IOKit/hid/IOHIDLib.h \
6438 OpenAL/al.h \
6439 OpenCL/opencl.h \
6440 QuickTime/ImageCompression.h \
6441 Security/Security.h \
6442 alias.h \
6443 alsa/asoundlib.h \
6444 arpa/inet.h \
6445 arpa/nameser.h \
6446 asm/types.h \
6447 asm/user.h \
6448 curses.h \
6449 direct.h \
6450 dirent.h \
6451 dlfcn.h \
6452 elf.h \
6453 float.h \
6454 fnmatch.h \
6455 getopt.h \
6456 gettext-po.h \
6457 grp.h \
6458 gsm.h \
6459 gsm/gsm.h \
6460 ieeefp.h \
6461 inet/mib2.h \
6462 io.h \
6463 kstat.h \
6464 lber.h \
6465 ldap.h \
6466 libproc.h \
6467 link.h \
6468 linux/cdrom.h \
6469 linux/compiler.h \
6470 linux/filter.h \
6471 linux/hdreg.h \
6472 linux/input.h \
6473 linux/ioctl.h \
6474 linux/joystick.h \
6475 linux/major.h \
6476 linux/param.h \
6477 linux/serial.h \
6478 linux/types.h \
6479 linux/ucdrom.h \
6480 lwp.h \
6481 mach-o/nlist.h \
6482 mach-o/loader.h \
6483 mach/mach.h \
6484 mach/machine.h \
6485 machine/cpu.h \
6486 machine/limits.h \
6487 machine/sysarch.h \
6488 mntent.h \
6489 ncurses.h \
6490 netdb.h \
6491 netinet/in.h \
6492 netinet/in_systm.h \
6493 netinet/tcp.h \
6494 netinet/tcp_fsm.h \
6495 poll.h \
6496 port.h \
6497 process.h \
6498 pthread.h \
6499 pwd.h \
6500 sched.h \
6501 scsi/scsi.h \
6502 scsi/scsi_ioctl.h \
6503 scsi/sg.h \
6504 stdbool.h \
6505 stdint.h \
6506 stropts.h \
6507 sys/asoundlib.h \
6508 sys/attr.h \
6509 sys/cdio.h \
6510 sys/elf32.h \
6511 sys/epoll.h \
6512 sys/event.h \
6513 sys/exec_elf.h \
6514 sys/filio.h \
6515 sys/inotify.h \
6516 sys/ioctl.h \
6517 sys/ipc.h \
6518 sys/limits.h \
6519 sys/link.h \
6520 sys/mman.h \
6521 sys/modem.h \
6522 sys/msg.h \
6523 sys/mtio.h \
6524 sys/param.h \
6525 sys/poll.h \
6526 sys/prctl.h \
6527 sys/protosw.h \
6528 sys/ptrace.h \
6529 sys/queue.h \
6530 sys/resource.h \
6531 sys/scsiio.h \
6532 sys/shm.h \
6533 sys/signal.h \
6534 sys/socket.h \
6535 sys/socketvar.h \
6536 sys/sockio.h \
6537 sys/statvfs.h \
6538 sys/strtio.h \
6539 sys/syscall.h \
6540 sys/tihdr.h \
6541 sys/time.h \
6542 sys/timeout.h \
6543 sys/times.h \
6544 sys/uio.h \
6545 sys/user.h \
6546 sys/utsname.h \
6547 sys/vm86.h \
6548 sys/wait.h \
6549 syscall.h \
6550 termios.h \
6551 unistd.h \
6552 utime.h \
6553 valgrind/memcheck.h \
6554 valgrind/valgrind.h \
6555 zlib.h
6557 do :
6558 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6559 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6560 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6561 cat >>confdefs.h <<_ACEOF
6562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6563 _ACEOF
6567 done
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6570 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6571 if ${ac_cv_header_stat_broken+:} false; then :
6572 $as_echo_n "(cached) " >&6
6573 else
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <sys/types.h>
6577 #include <sys/stat.h>
6579 #if defined S_ISBLK && defined S_IFDIR
6580 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6581 #endif
6583 #if defined S_ISBLK && defined S_IFCHR
6584 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6585 #endif
6587 #if defined S_ISLNK && defined S_IFREG
6588 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6589 #endif
6591 #if defined S_ISSOCK && defined S_IFREG
6592 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6593 #endif
6595 _ACEOF
6596 if ac_fn_c_try_compile "$LINENO"; then :
6597 ac_cv_header_stat_broken=no
6598 else
6599 ac_cv_header_stat_broken=yes
6601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6604 $as_echo "$ac_cv_header_stat_broken" >&6; }
6605 if test $ac_cv_header_stat_broken = yes; then
6607 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6613 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6614 do :
6615 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6616 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6617 #ifdef HAVE_SYS_PARAM_H
6618 # include <sys/param.h>
6619 #endif
6621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6622 cat >>confdefs.h <<_ACEOF
6623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6624 _ACEOF
6628 done
6631 for ac_header in \
6632 netinet/ip.h \
6633 net/if.h \
6634 net/if_arp.h \
6635 net/if_dl.h \
6636 net/if_types.h \
6637 net/route.h \
6638 netinet/if_ether.h \
6639 netinet/if_inarp.h \
6640 netinet/in_pcb.h \
6641 netinet/ip_icmp.h \
6642 netinet/ip_var.h \
6643 netinet/udp.h \
6644 netipx/ipx.h \
6645 sys/un.h \
6647 do :
6648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6650 #ifdef HAVE_SYS_SOCKET_H
6651 # include <sys/socket.h>
6652 #endif
6653 #ifdef HAVE_SYS_SOCKETVAR_H
6654 # include <sys/socketvar.h>
6655 #endif
6656 #ifdef HAVE_NET_ROUTE_H
6657 # include <net/route.h>
6658 #endif
6659 #ifdef HAVE_NETINET_IN_H
6660 # include <netinet/in.h>
6661 #endif
6662 #ifdef HAVE_NETINET_IN_SYSTM_H
6663 # include <netinet/in_systm.h>
6664 #endif
6665 #ifdef HAVE_NET_IF_H
6666 # include <net/if.h>
6667 #endif
6668 #ifdef HAVE_NETINET_IP_H
6669 # include <netinet/ip.h>
6670 #endif
6672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6673 cat >>confdefs.h <<_ACEOF
6674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6675 _ACEOF
6679 done
6682 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6683 do :
6684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6686 #ifdef HAVE_ALIAS_H
6687 # include <alias.h>
6688 #endif
6689 #ifdef HAVE_SYS_SOCKET_H
6690 # include <sys/socket.h>
6691 #endif
6692 #ifdef HAVE_SYS_SOCKETVAR_H
6693 # include <sys/socketvar.h>
6694 #endif
6695 #ifdef HAVE_SYS_TIMEOUT_H
6696 # include <sys/timeout.h>
6697 #endif
6698 #ifdef HAVE_NETINET_IN_H
6699 # include <netinet/in.h>
6700 #endif
6701 #ifdef HAVE_NETINET_IN_SYSTM_H
6702 # include <netinet/in_systm.h>
6703 #endif
6704 #ifdef HAVE_NETINET_IP_H
6705 # include <netinet/ip.h>
6706 #endif
6707 #ifdef HAVE_NETINET_IP_VAR_H
6708 # include <netinet/ip_var.h>
6709 #endif
6710 #ifdef HAVE_NETINET_IP_ICMP_H
6711 # include <netinet/ip_icmp.h>
6712 #endif
6713 #ifdef HAVE_NETINET_UDP_H
6714 # include <netinet/udp.h>
6715 #endif
6716 #ifdef HAVE_NETINET_TCP_H
6717 # include <netinet/tcp.h>
6718 #endif
6719 #ifdef HAVE_NETINET_TCP_TIMER_H
6720 #include <netinet/tcp_timer.h>
6721 #endif
6723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6724 cat >>confdefs.h <<_ACEOF
6725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6726 _ACEOF
6730 done
6733 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6734 do :
6735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6736 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6737 #ifdef HAVE_ASM_TYPES_H
6738 # include <asm/types.h>
6739 #endif
6740 #ifdef HAVE_SYS_SOCKET_H
6741 # include <sys/socket.h>
6742 #endif
6743 #ifdef HAVE_LINUX_TYPES_H
6744 # include <linux/types.h>
6745 #endif
6747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6748 cat >>confdefs.h <<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 _ACEOF
6754 done
6757 for ac_header in mach-o/dyld_images.h
6758 do :
6759 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6760 # include <stdbool.h>
6761 #endif
6762 #ifdef HAVE_STDINT_H
6763 # include <stdint.h>
6764 #endif
6766 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6767 cat >>confdefs.h <<_ACEOF
6768 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6769 _ACEOF
6773 done
6776 for ac_header in resolv.h
6777 do :
6778 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6779 #ifdef HAVE_SYS_SOCKET_H
6780 # include <sys/socket.h>
6781 #endif
6782 #ifdef HAVE_NETINET_IN_H
6783 # include <netinet/in.h>
6784 #endif
6785 #ifdef HAVE_ARPA_NAMESER_H
6786 # include <arpa/nameser.h>
6787 #endif
6789 if test "x$ac_cv_header_resolv_h" = xyes; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define HAVE_RESOLV_H 1
6792 _ACEOF
6796 done
6799 for ac_header in ifaddrs.h
6800 do :
6801 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6803 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6804 cat >>confdefs.h <<_ACEOF
6805 #define HAVE_IFADDRS_H 1
6806 _ACEOF
6810 done
6813 for ac_header in ucontext.h
6814 do :
6815 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6817 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6818 cat >>confdefs.h <<_ACEOF
6819 #define HAVE_UCONTEXT_H 1
6820 _ACEOF
6824 done
6827 for ac_header in sys/thr.h
6828 do :
6829 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6830 #ifdef HAVE_UCONTEXT_H
6831 #include <ucontext.h>
6832 #endif
6834 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_SYS_THR_H 1
6837 _ACEOF
6841 done
6844 for ac_header in pthread_np.h
6845 do :
6846 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6847 #include <pthread.h>
6848 #endif
6850 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6851 cat >>confdefs.h <<_ACEOF
6852 #define HAVE_PTHREAD_NP_H 1
6853 _ACEOF
6857 done
6860 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6861 do :
6862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6863 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6864 #include <sys/time.h>
6865 #endif
6866 #include <sys/types.h>
6867 #ifdef HAVE_ASM_TYPES_H
6868 #include <asm/types.h>
6869 #endif
6871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6872 cat >>confdefs.h <<_ACEOF
6873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6874 _ACEOF
6878 done
6881 for ac_header in libprocstat.h
6882 do :
6883 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6884 #include <sys/param.h>
6885 #endif
6886 #ifdef HAVE_SYS_QUEUE_H
6887 #include <sys/queue.h>
6888 #endif
6889 #ifdef HAVE_SYS_SOCKET_H
6890 #include <sys/socket.h>
6891 #endif
6893 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6894 cat >>confdefs.h <<_ACEOF
6895 #define HAVE_LIBPROCSTAT_H 1
6896 _ACEOF
6900 done
6904 dlldir="\${libdir}/wine"
6906 DLLPREFIX=""
6908 DLLFLAGS="-D_REENTRANT"
6910 LDRPATH_INSTALL=""
6912 LDRPATH_LOCAL=""
6914 LIBEXT="so"
6915 DLLEXT=".so"
6916 IMPLIBEXT="def"
6917 STATIC_IMPLIBEXT="def.a"
6918 # Extract the first word of "ldd", so it can be a program name with args.
6919 set dummy ldd; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_path_LDD+:} false; then :
6923 $as_echo_n "(cached) " >&6
6924 else
6925 case $LDD in
6926 [\\/]* | ?:[\\/]*)
6927 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 as_dummy="/sbin:/usr/sbin:$PATH"
6932 for as_dir in $as_dummy
6934 IFS=$as_save_IFS
6935 test -z "$as_dir" && as_dir=.
6936 for ac_exec_ext in '' $ac_executable_extensions; do
6937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940 break 2
6942 done
6943 done
6944 IFS=$as_save_IFS
6946 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6948 esac
6950 LDD=$ac_cv_path_LDD
6951 if test -n "$LDD"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6953 $as_echo "$LDD" >&6; }
6954 else
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6960 if test -n "$ac_tool_prefix"; then
6961 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6962 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_prog_READELF+:} false; then :
6966 $as_echo_n "(cached) " >&6
6967 else
6968 if test -n "$READELF"; then
6969 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6970 else
6971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 for as_dir in $PATH
6974 IFS=$as_save_IFS
6975 test -z "$as_dir" && as_dir=.
6976 for ac_exec_ext in '' $ac_executable_extensions; do
6977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6978 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 break 2
6982 done
6983 done
6984 IFS=$as_save_IFS
6988 READELF=$ac_cv_prog_READELF
6989 if test -n "$READELF"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6991 $as_echo "$READELF" >&6; }
6992 else
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 if test -z "$ac_cv_prog_READELF"; then
7000 ac_ct_READELF=$READELF
7001 # Extract the first word of "readelf", so it can be a program name with args.
7002 set dummy readelf; ac_word=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7006 $as_echo_n "(cached) " >&6
7007 else
7008 if test -n "$ac_ct_READELF"; then
7009 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7010 else
7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 for as_dir in $PATH
7014 IFS=$as_save_IFS
7015 test -z "$as_dir" && as_dir=.
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018 ac_cv_prog_ac_ct_READELF="readelf"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 break 2
7022 done
7023 done
7024 IFS=$as_save_IFS
7028 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7029 if test -n "$ac_ct_READELF"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7031 $as_echo "$ac_ct_READELF" >&6; }
7032 else
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7037 if test "x$ac_ct_READELF" = x; then
7038 READELF="true"
7039 else
7040 case $cross_compiling:$ac_tool_warned in
7041 yes:)
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7044 ac_tool_warned=yes ;;
7045 esac
7046 READELF=$ac_ct_READELF
7048 else
7049 READELF="$ac_cv_prog_READELF"
7052 wine_rules_file=conf$$rules.make
7053 rm -f $wine_rules_file
7054 ALL_POT_FILES=""
7055 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7056 ALL_TEST_RESOURCES=""
7059 wine_fn_append_file ()
7061 as_fn_append $1 " \\$as_nl $2"
7064 wine_fn_ignore_file ()
7066 case "$1" in
7067 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7068 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7069 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7070 esac
7073 wine_fn_append_rule ()
7075 $as_echo "$1" >>$wine_rules_file
7078 wine_fn_has_flag ()
7080 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7083 wine_fn_depend_rules ()
7085 wine_fn_append_rule \
7086 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7087 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7088 depend: $ac_dir/depend
7089 .PHONY: $ac_dir/depend
7090 $ac_dir/depend: \$(MAKEDEP) dummy
7091 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7094 wine_fn_pot_rules ()
7096 test "x$with_gettextpo" = xyes || return
7098 if wine_fn_has_flag mc
7099 then
7100 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7101 wine_fn_append_rule \
7102 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7103 @cd $ac_dir && \$(MAKE) msg.pot
7104 $ac_dir/msg.pot: tools/wmc include"
7106 if wine_fn_has_flag po
7107 then
7108 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7109 wine_fn_append_rule \
7110 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7111 @cd $ac_dir && \$(MAKE) rsrc.pot
7112 $ac_dir/rsrc.pot: tools/wrc include"
7116 wine_fn_all_rules ()
7118 wine_fn_depend_rules
7119 wine_fn_append_rule \
7120 "all: $ac_dir
7121 .PHONY: $ac_dir
7122 $ac_dir: $ac_dir/Makefile dummy
7123 @cd $ac_dir && \$(MAKE)"
7126 wine_fn_install_rules ()
7128 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7130 wine_fn_append_rule \
7131 ".PHONY: $ac_dir/install $ac_dir/uninstall
7132 $ac_dir/install:: $ac_dir
7133 @cd $ac_dir && \$(MAKE) install
7134 $ac_dir/uninstall:: $ac_dir/Makefile
7135 @cd $ac_dir && \$(MAKE) uninstall
7136 install:: $ac_dir/install
7137 __uninstall__: $ac_dir/uninstall"
7139 if wine_fn_has_flag install-lib
7140 then
7141 wine_fn_append_rule \
7142 ".PHONY: $ac_dir/install-lib
7143 $ac_dir/install-lib:: $ac_dir
7144 @cd $ac_dir && \$(MAKE) install-lib
7145 install-lib:: $ac_dir/install-lib"
7148 if wine_fn_has_flag install-dev
7149 then
7150 wine_fn_append_rule \
7151 ".PHONY: $ac_dir/install-dev
7152 $ac_dir/install-dev:: $ac_dir
7153 @cd $ac_dir && \$(MAKE) install-dev
7154 install-dev:: $ac_dir/install-dev"
7158 wine_fn_clean_rules ()
7160 ac_clean=$@
7161 ac_extraclean="$ac_dir/Makefile"
7162 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7163 case $ac_dir in
7164 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7165 esac
7167 if wine_fn_has_flag clean
7168 then
7169 wine_fn_append_rule \
7170 "__clean__: $ac_dir/clean
7171 .PHONY: $ac_dir/clean
7172 $ac_dir/clean: $ac_dir/Makefile
7173 @cd $ac_dir && \$(MAKE) clean
7174 \$(RM) $ac_extraclean"
7175 else
7176 wine_fn_append_rule \
7177 "__clean__: $ac_dir/clean
7178 .PHONY: $ac_dir/clean
7179 $ac_dir/clean: dummy
7180 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7184 wine_fn_disabled_rules ()
7186 ac_clean=$@
7187 ac_extraclean="$ac_dir/Makefile"
7188 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7190 wine_fn_append_rule \
7191 "__clean__: $ac_dir/clean
7192 .PHONY: $ac_dir/clean
7193 $ac_dir/clean: dummy
7194 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7197 wine_fn_config_makefile ()
7199 ac_dir=$1
7200 ac_enable=$2
7201 ac_flags=$3
7203 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7204 wine_fn_disabled_rules; return
7206 wine_fn_all_rules
7207 wine_fn_install_rules
7208 wine_fn_clean_rules
7211 wine_fn_config_lib ()
7213 ac_name=$1
7214 ac_flags=$2
7215 ac_dir=dlls/$ac_name
7216 ac_deps="include"
7218 if test "x$enable_tools" = xno; then :
7220 else
7221 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7223 wine_fn_all_rules
7224 wine_fn_clean_rules
7226 wine_fn_append_rule \
7227 ".PHONY: $ac_dir/install $ac_dir/uninstall
7228 $ac_dir/install:: $ac_dir
7229 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7230 $ac_dir/uninstall::
7231 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7232 install install-dev:: $ac_dir/install
7233 __uninstall__: $ac_dir/uninstall
7234 __builddeps__: $ac_dir
7235 $ac_dir: $ac_deps"
7238 wine_fn_config_dll ()
7240 ac_name=$1
7241 ac_dir=dlls/$ac_name
7242 ac_enable=$2
7243 ac_flags=$3
7244 ac_implib=${4:-$ac_name}
7245 ac_file=$ac_dir/lib$ac_implib
7246 ac_dll=$ac_name
7247 ac_deps="include"
7248 ac_implibflags=""
7250 if test "x$enable_tools" = xno; then :
7252 else
7253 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7255 case $ac_name in
7256 *16) ac_implibflags=" -m16" ;;
7257 *.*) ;;
7258 *) ac_dll=$ac_dll.dll ;;
7259 esac
7261 ac_clean=
7262 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7263 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7264 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7265 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7267 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7268 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7269 then
7270 wine_fn_depend_rules
7271 wine_fn_clean_rules $ac_clean
7272 else
7273 wine_fn_disabled_rules $ac_clean
7274 return
7276 else
7277 wine_fn_all_rules
7278 wine_fn_clean_rules $ac_clean
7279 wine_fn_append_rule \
7280 "$ac_dir: __builddeps__
7281 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7282 @cd $ac_dir && \$(MAKE) \$@
7283 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7284 install install-lib:: $ac_dir/install-lib
7285 __uninstall__: $ac_dir/uninstall"
7286 if test -n "$DLLEXT"
7287 then
7288 wine_fn_append_rule \
7289 "$ac_dir/install-lib:: $ac_dir
7290 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7291 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7292 $ac_dir/uninstall::
7293 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7294 else
7295 wine_fn_append_rule \
7296 "$ac_dir/install-lib:: $ac_dir
7297 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7298 $ac_dir/uninstall::
7299 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7302 wine_fn_pot_rules
7305 if wine_fn_has_flag staticimplib
7306 then
7307 wine_fn_append_rule \
7308 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7309 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7310 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7311 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7312 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7313 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7314 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7315 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7316 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7317 $ac_dir/uninstall::
7318 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7319 install install-dev:: $ac_dir/install-dev
7320 __uninstall__: $ac_dir/uninstall"
7322 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7323 then
7324 wine_fn_append_rule \
7325 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7326 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7327 $ac_dir/uninstall::
7328 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7331 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7332 then
7333 wine_fn_append_rule \
7334 "__builddeps__: $ac_file.cross.a
7335 $ac_file.cross.a: $ac_dir/Makefile dummy
7336 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7339 elif wine_fn_has_flag implib
7340 then
7341 wine_fn_append_rule \
7342 "__builddeps__: $ac_file.$IMPLIBEXT
7343 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7344 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7345 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7346 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7347 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7348 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7349 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7350 $ac_dir/uninstall::
7351 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7352 install install-dev:: $ac_dir/install-dev
7353 __uninstall__: $ac_dir/uninstall"
7354 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7355 then
7356 wine_fn_append_rule \
7357 "__builddeps__: $ac_file.cross.a
7358 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7362 if test "$ac_name" != "$ac_implib"
7363 then
7364 wine_fn_append_rule \
7365 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7366 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7367 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7368 clean::
7369 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7370 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 then
7373 wine_fn_append_rule \
7374 "__builddeps__: dlls/lib$ac_implib.cross.a
7375 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7376 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7377 clean::
7378 \$(RM) dlls/lib$ac_implib.cross.a"
7379 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7385 wine_fn_config_program ()
7387 ac_name=$1
7388 ac_dir=programs/$ac_name
7389 ac_enable=$2
7390 ac_flags=$3
7391 ac_program=$ac_name
7393 case $ac_name in
7394 *.*) ;;
7395 *) ac_program=$ac_program.exe ;;
7396 esac
7398 ac_clean=
7399 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7401 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7402 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7404 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7405 wine_fn_disabled_rules $ac_clean; return
7408 wine_fn_all_rules
7409 wine_fn_clean_rules $ac_clean
7410 wine_fn_append_rule "$ac_dir: __builddeps__"
7411 wine_fn_pot_rules
7413 wine_fn_has_flag install || return
7414 wine_fn_append_rule \
7415 ".PHONY: $ac_dir/install $ac_dir/uninstall
7416 install install-lib:: $ac_dir/install
7417 __uninstall__: $ac_dir/uninstall"
7419 if test -n "$DLLEXT"
7420 then
7421 wine_fn_append_rule \
7422 "$ac_dir/install:: $ac_dir
7423 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7424 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7425 $ac_dir/uninstall::
7426 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7428 if test -z "$with_wine64" && wine_fn_has_flag installbin
7429 then
7430 wine_fn_append_rule \
7431 "$ac_dir/install:: __tooldeps__
7432 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7433 $ac_dir/uninstall::
7434 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7436 else
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7440 $ac_dir/uninstall::
7441 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7444 if test -z "$with_wine64" && wine_fn_has_flag manpage
7445 then
7446 wine_fn_append_rule \
7447 "$ac_dir/install:: $ac_dir
7448 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7449 $ac_dir/uninstall::
7450 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7454 wine_fn_config_test ()
7456 ac_dir=$1
7457 ac_name=$2
7458 ac_flags=$3
7460 ac_clean=
7461 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7462 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7464 if test "x$enable_tests" = xno; then :
7465 wine_fn_disabled_rules $ac_clean; return
7468 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7469 wine_fn_all_rules
7470 wine_fn_clean_rules $ac_clean
7472 wine_fn_append_rule \
7473 "$ac_dir: programs/winetest/Makefile __builddeps__
7474 programs/winetest: $ac_dir
7475 check test: $ac_dir/test
7476 .PHONY: $ac_dir/test
7477 $ac_dir/test: dummy
7478 @cd $ac_dir && \$(MAKE) test
7479 testclean::
7480 \$(RM) $ac_dir/*.ok"
7482 if test -n "$CROSSTARGET"
7483 then
7484 wine_fn_append_rule \
7485 "crosstest: $ac_dir/crosstest
7486 .PHONY: $ac_dir/crosstest
7487 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7488 @cd $ac_dir && \$(MAKE) crosstest"
7492 wine_fn_config_tool ()
7494 ac_dir=$1
7495 ac_flags=$2
7496 if test "x$enable_tools" = xno; then :
7497 return
7500 wine_fn_all_rules
7501 wine_fn_install_rules
7502 wine_fn_clean_rules
7504 wine_fn_append_rule "__tooldeps__: $ac_dir"
7505 wine_fn_append_rule "$ac_dir: libs/port"
7506 case $ac_dir in
7507 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7508 esac
7511 wine_fn_config_symlink ()
7513 ac_linkdir=
7514 if test "x$1" = "x-d"
7515 then
7516 ac_linkdir=$2
7517 shift; shift
7519 ac_links=$@
7520 wine_fn_append_rule \
7521 "$ac_links:
7522 @./config.status \$@
7523 distclean::
7524 \$(RM) $ac_links"
7525 for f in $ac_links; do wine_fn_ignore_file $f; done
7526 test -n "$ac_linkdir" || return
7527 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7530 wine_binary="wine"
7531 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7532 loader_programs="$wine_binary wine-installed"
7533 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7535 LOADER_RULES="
7536 install install-lib:: wine-installed
7537 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7539 uninstall::
7540 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7544 case $host_os in
7545 cygwin*|mingw32*)
7546 if test -n "$ac_tool_prefix"; then
7547 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7548 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if ${ac_cv_prog_DLLTOOL+:} false; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$DLLTOOL"; then
7555 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7564 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 DLLTOOL=$ac_cv_prog_DLLTOOL
7575 if test -n "$DLLTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7577 $as_echo "$DLLTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7585 if test -z "$ac_cv_prog_DLLTOOL"; then
7586 ac_ct_DLLTOOL=$DLLTOOL
7587 # Extract the first word of "dlltool", so it can be a program name with args.
7588 set dummy dlltool; ac_word=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7592 $as_echo_n "(cached) " >&6
7593 else
7594 if test -n "$ac_ct_DLLTOOL"; then
7595 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7596 else
7597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 for as_dir in $PATH
7600 IFS=$as_save_IFS
7601 test -z "$as_dir" && as_dir=.
7602 for ac_exec_ext in '' $ac_executable_extensions; do
7603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 break 2
7608 done
7609 done
7610 IFS=$as_save_IFS
7614 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7617 $as_echo "$ac_ct_DLLTOOL" >&6; }
7618 else
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7623 if test "x$ac_ct_DLLTOOL" = x; then
7624 DLLTOOL="false"
7625 else
7626 case $cross_compiling:$ac_tool_warned in
7627 yes:)
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7630 ac_tool_warned=yes ;;
7631 esac
7632 DLLTOOL=$ac_ct_DLLTOOL
7634 else
7635 DLLTOOL="$ac_cv_prog_DLLTOOL"
7638 LIBEXT="dll"
7639 DLLEXT=""
7640 IMPLIBEXT="a"
7641 STATIC_IMPLIBEXT="a"
7642 enable_iphlpapi=${enable_iphlpapi:-no}
7643 enable_kernel32=${enable_kernel32:-no}
7644 enable_msvcrt=${enable_msvcrt:-no}
7645 enable_ntdll=${enable_ntdll:-no}
7646 enable_ws2_32=${enable_ws2_32:-no}
7647 enable_loader=${enable_loader:-no}
7648 enable_server=${enable_server:-no}
7649 with_x=${with_x:-no}
7650 with_pthread=${with_pthread:-no}
7652 crtlibs=""
7653 case $host_os in
7654 mingw32*)
7655 crtlibs="-lmsvcrt"
7656 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7658 esac
7660 libwine_targets="libwine.dll libwine.a"
7661 LIBWINE_RULES="
7662 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7664 all: libwine.dll libwine.a
7666 libwine.a: \$(srcdir)/wine.def
7667 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7669 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7670 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7672 install install-lib:: libwine.dll
7673 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7675 install install-dev:: libwine.a
7676 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7678 uninstall::
7679 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7684 darwin*|macosx*)
7685 LIBEXT="dylib"
7686 DLLFLAGS="$DLLFLAGS -fPIC"
7687 LIBWINE_LDFLAGS="-multiply_defined suppress"
7688 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7689 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7690 COREFOUNDATION_LIBS="-framework CoreFoundation"
7692 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7694 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7696 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7698 CORESERVICES_LIBS="-framework CoreServices"
7700 APPKIT_LIBS="-framework AppKit"
7702 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7703 case $host_os in
7704 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7705 esac
7706 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7707 then
7708 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7711 if test "$ac_cv_header_Security_Security_h" = "yes"
7712 then
7713 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7715 ac_save_LIBS="$LIBS"
7716 LIBS="$LIBS $SECURITY_LIBS"
7717 for ac_func in SSLCopyPeerCertificates
7718 do :
7719 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7720 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7721 cat >>confdefs.h <<_ACEOF
7722 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7723 _ACEOF
7726 done
7728 LIBS="$ac_save_LIBS"
7729 with_gnutls=${with_gnutls:-no}
7731 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7732 then
7733 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7734 then
7735 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7737 else
7738 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7741 ac_save_LIBS="$LIBS"
7742 LIBS="$LIBS $COREAUDIO_LIBS"
7743 for ac_func in AUGraphAddNode
7744 do :
7745 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7746 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7747 cat >>confdefs.h <<_ACEOF
7748 #define HAVE_AUGRAPHADDNODE 1
7749 _ACEOF
7752 done
7754 LIBS="$ac_save_LIBS"
7756 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7757 then
7758 OPENAL_LIBS="-framework OpenAL"
7761 cat >>confdefs.h <<_ACEOF
7762 #define HAVE_OPENAL 1
7763 _ACEOF
7765 ac_cv_lib_openal=yes
7767 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7768 then
7769 OPENCL_LIBS="-framework OpenCL"
7771 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7773 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7774 then
7775 ac_save_LIBS="$LIBS"
7776 LIBS="$LIBS $IOKIT_LIBS"
7777 for ac_func in IOHIDManagerCreate
7778 do :
7779 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7780 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_IOHIDMANAGERCREATE 1
7783 _ACEOF
7786 done
7788 LIBS="$ac_save_LIBS"
7790 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7791 then
7792 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7794 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7795 else
7796 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7798 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7799 then
7800 CARBON_LIBS="-framework Carbon"
7804 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7805 then
7806 ac_save_LIBS="$LIBS"
7807 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7808 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7809 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7810 enable_winemac_drv=${enable_winemac_drv:-yes}
7813 LIBS="$ac_save_LIBS"
7816 if test "x$enable_win16" = "xyes"
7817 then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7819 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7820 if test "$cross_compiling" = yes; then :
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7822 $as_echo "cross-compiling, assuming yes" >&6; }
7823 else
7824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7825 /* end confdefs.h. */
7826 asm(".text\n"
7827 "bad:\tnop;nop\n"
7828 "good:\tnop;nop\n\t"
7829 ".globl _testfunc\n"
7830 "_testfunc:\tcallw good");
7831 extern void testfunc();
7833 main ()
7835 unsigned short *p = (unsigned short *)testfunc;
7836 return p[0] != 0xe866 || p[1] != 0xfffa
7838 return 0;
7840 _ACEOF
7841 if ac_fn_c_try_run "$LINENO"; then :
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7843 $as_echo "yes" >&6; }
7844 else
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846 $as_echo "no" >&6; }
7847 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
7849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7850 conftest.$ac_objext conftest.beam conftest.$ac_ext
7855 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7856 LIBWINE_RULES="
7857 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7859 all: libwine.dylib
7861 libwine.$libwine_version.dylib: \$(OBJS)
7862 \$(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 \$@
7864 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7865 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7867 libwine.dylib: libwine.$libwine_soversion.dylib
7868 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7870 install install-lib:: libwine.$libwine_version.dylib
7871 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7872 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7874 install install-dev::
7875 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7877 uninstall::
7878 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7882 as_fn_append LOADER_RULES "
7883 $wine_binary: main.o wine_info.plist
7884 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7886 wine-installed: main.o wine_info.plist
7887 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7891 linux-android*)
7892 DLLFLAGS="$DLLFLAGS -fPIC"
7893 DLLPREFIX="lib"
7894 LDEXECFLAGS=""
7895 dlldir="\${libdir}"
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7897 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7898 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 ac_wine_try_cflags_saved=$CFLAGS
7902 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904 /* end confdefs.h. */
7905 int main(int argc, char **argv) { return 0; }
7906 _ACEOF
7907 if ac_fn_c_try_link "$LINENO"; then :
7908 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7909 else
7910 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7912 rm -f core conftest.err conftest.$ac_objext \
7913 conftest$ac_exeext conftest.$ac_ext
7914 CFLAGS=$ac_wine_try_cflags_saved
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7917 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7918 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7919 LDEXECFLAGS="-Wl,--export-dynamic"
7921 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7923 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7924 if eval \${$as_ac_var+:} false; then :
7925 $as_echo_n "(cached) " >&6
7926 else
7927 ac_wine_try_cflags_saved=$CFLAGS
7928 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7931 int main(int argc, char **argv) { return 0; }
7932 _ACEOF
7933 if ac_fn_c_try_link "$LINENO"; then :
7934 eval "$as_ac_var=yes"
7935 else
7936 eval "$as_ac_var=no"
7938 rm -f core conftest.err conftest.$ac_objext \
7939 conftest$ac_exeext conftest.$ac_ext
7940 CFLAGS=$ac_wine_try_cflags_saved
7942 eval ac_res=\$$as_ac_var
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7944 $as_echo "$ac_res" >&6; }
7945 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7946 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7947 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7948 else
7949 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7951 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7952 if eval \${$as_ac_var+:} false; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 ac_wine_try_cflags_saved=$CFLAGS
7956 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 int main(int argc, char **argv) { return 0; }
7960 _ACEOF
7961 if ac_fn_c_try_link "$LINENO"; then :
7962 eval "$as_ac_var=yes"
7963 else
7964 eval "$as_ac_var=no"
7966 rm -f core conftest.err conftest.$ac_objext \
7967 conftest$ac_exeext conftest.$ac_ext
7968 CFLAGS=$ac_wine_try_cflags_saved
7970 eval ac_res=\$$as_ac_var
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7972 $as_echo "$ac_res" >&6; }
7973 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7974 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7975 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7980 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7981 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 ac_wine_try_cflags_saved=$CFLAGS
7985 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
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___enable_new_dtags=yes
7992 else
7993 ac_cv_cflags__Wl___enable_new_dtags=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___enable_new_dtags" >&5
8000 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8001 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8002 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8005 case $host_cpu in
8006 *i[3456789]86* | x86_64)
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8008 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8009 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 ac_wine_try_cflags_saved=$CFLAGS
8013 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8015 /* end confdefs.h. */
8016 int main(int argc, char **argv) { return 0; }
8017 _ACEOF
8018 if ac_fn_c_try_link "$LINENO"; then :
8019 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8020 else
8021 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8023 rm -f core conftest.err conftest.$ac_objext \
8024 conftest$ac_exeext conftest.$ac_ext
8025 CFLAGS=$ac_wine_try_cflags_saved
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8028 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8029 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8030 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8033 esac
8035 libwine_targets="libwine.so"
8036 LIBWINE_RULES="
8037 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8039 all: libwine.so
8041 libwine.so: \$(OBJS)
8042 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8044 install install-lib:: libwine.so
8045 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8047 uninstall::
8048 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8052 as_fn_append LOADER_RULES "
8053 $wine_binary: main.o
8054 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8056 wine-installed: main.o
8057 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8062 DLLFLAGS="$DLLFLAGS -fPIC"
8063 LDEXECFLAGS=""
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8065 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8066 if ${ac_cv_c_dll_gnuelf+:} false; then :
8067 $as_echo_n "(cached) " >&6
8068 else
8069 ac_wine_try_cflags_saved=$CFLAGS
8070 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8072 /* end confdefs.h. */
8073 void myfunc() {}
8074 _ACEOF
8075 if ac_fn_c_try_link "$LINENO"; then :
8076 ac_cv_c_dll_gnuelf="yes"
8077 else
8078 ac_cv_c_dll_gnuelf="no"
8080 rm -f core conftest.err conftest.$ac_objext \
8081 conftest$ac_exeext conftest.$ac_ext
8082 CFLAGS=$ac_wine_try_cflags_saved
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8085 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8086 if test "$ac_cv_c_dll_gnuelf" = "yes"
8087 then
8088 LDSHARED="\$(CC) -shared"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8090 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8091 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8092 $as_echo_n "(cached) " >&6
8093 else
8094 ac_wine_try_cflags_saved=$CFLAGS
8095 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097 /* end confdefs.h. */
8098 int main(int argc, char **argv) { return 0; }
8099 _ACEOF
8100 if ac_fn_c_try_link "$LINENO"; then :
8101 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8102 else
8103 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8105 rm -f core conftest.err conftest.$ac_objext \
8106 conftest$ac_exeext conftest.$ac_ext
8107 CFLAGS=$ac_wine_try_cflags_saved
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8110 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8111 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8112 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8113 else
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8115 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8116 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 ac_wine_try_cflags_saved=$CFLAGS
8120 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122 /* end confdefs.h. */
8123 int main(int argc, char **argv) { return 0; }
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8127 else
8128 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 CFLAGS=$ac_wine_try_cflags_saved
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8135 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8136 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8137 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8141 echo '{ global: *; };' >conftest.map
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8143 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8144 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 ac_wine_try_cflags_saved=$CFLAGS
8148 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 int main(int argc, char **argv) { return 0; }
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8155 else
8156 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 CFLAGS=$ac_wine_try_cflags_saved
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8163 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8164 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8165 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8167 rm -f conftest.map
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8170 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8171 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 ac_wine_try_cflags_saved=$CFLAGS
8175 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8178 int main(int argc, char **argv) { return 0; }
8179 _ACEOF
8180 if ac_fn_c_try_link "$LINENO"; then :
8181 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8182 else
8183 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8185 rm -f core conftest.err conftest.$ac_objext \
8186 conftest$ac_exeext conftest.$ac_ext
8187 CFLAGS=$ac_wine_try_cflags_saved
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8190 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8191 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8192 LDEXECFLAGS="-Wl,--export-dynamic"
8195 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8197 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8198 if eval \${$as_ac_var+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8201 ac_wine_try_cflags_saved=$CFLAGS
8202 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 int main(int argc, char **argv) { return 0; }
8206 _ACEOF
8207 if ac_fn_c_try_link "$LINENO"; then :
8208 eval "$as_ac_var=yes"
8209 else
8210 eval "$as_ac_var=no"
8212 rm -f core conftest.err conftest.$ac_objext \
8213 conftest$ac_exeext conftest.$ac_ext
8214 CFLAGS=$ac_wine_try_cflags_saved
8216 eval ac_res=\$$as_ac_var
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8218 $as_echo "$ac_res" >&6; }
8219 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8220 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8221 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8222 else
8223 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8226 if eval \${$as_ac_var+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 eval "$as_ac_var=yes"
8237 else
8238 eval "$as_ac_var=no"
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 eval ac_res=\$$as_ac_var
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8246 $as_echo "$ac_res" >&6; }
8247 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8248 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8249 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8254 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8255 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8256 $as_echo_n "(cached) " >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8262 int main(int argc, char **argv) { return 0; }
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 ac_cv_cflags__Wl___enable_new_dtags=yes
8266 else
8267 ac_cv_cflags__Wl___enable_new_dtags=no
8269 rm -f core conftest.err conftest.$ac_objext \
8270 conftest$ac_exeext conftest.$ac_ext
8271 CFLAGS=$ac_wine_try_cflags_saved
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8274 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8275 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8276 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8279 case $host_cpu in
8280 *i[3456789]86* | x86_64)
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8282 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8283 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8294 else
8295 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8302 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8303 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8304 case $host_os in
8305 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8306 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8307 esac
8310 # Extract the first word of "prelink", so it can be a program name with args.
8311 set dummy prelink; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313 $as_echo_n "checking for $ac_word... " >&6; }
8314 if ${ac_cv_path_PRELINK+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 case $PRELINK in
8318 [\\/]* | ?:[\\/]*)
8319 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 for as_dir in /sbin /usr/sbin $PATH
8325 IFS=$as_save_IFS
8326 test -z "$as_dir" && as_dir=.
8327 for ac_exec_ext in '' $ac_executable_extensions; do
8328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8329 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8331 break 2
8333 done
8334 done
8335 IFS=$as_save_IFS
8337 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8339 esac
8341 PRELINK=$ac_cv_path_PRELINK
8342 if test -n "$PRELINK"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8344 $as_echo "$PRELINK" >&6; }
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8351 if test "x$PRELINK" = xfalse
8352 then
8353 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8356 esac
8358 else
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8360 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8361 if ${ac_cv_c_dll_unixware+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_wine_try_cflags_saved=$CFLAGS
8365 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 void myfunc() {}
8369 _ACEOF
8370 if ac_fn_c_try_link "$LINENO"; then :
8371 ac_cv_c_dll_unixware="yes"
8372 else
8373 ac_cv_c_dll_unixware="no"
8375 rm -f core conftest.err conftest.$ac_objext \
8376 conftest$ac_exeext conftest.$ac_ext
8377 CFLAGS=$ac_wine_try_cflags_saved
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8380 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8381 if test "$ac_cv_c_dll_unixware" = "yes"
8382 then
8383 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8386 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8387 LIBWINE_RULES="
8388 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8390 all: libwine.so
8392 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8393 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8395 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8396 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8398 libwine.so: libwine.so.$libwine_soversion
8399 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8401 install install-lib:: libwine.so.$libwine_version
8402 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8403 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8405 install install-dev::
8406 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8408 uninstall::
8409 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8413 as_fn_append LOADER_RULES "
8414 $wine_binary: main.o
8415 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8417 wine-installed: main.o
8418 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8421 esac
8423 as_fn_append LIBWINE_RULES "
8424 EXTRA_TARGETS = $libwine_targets
8427 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8428 enable_winemac_drv=${enable_winemac_drv:-no}
8430 CROSSTARGET=""
8432 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8433 then
8434 case "$host_cpu" in
8435 i[3456789]86*)
8436 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
8437 mingw32-gcc" ;;
8438 x86_64)
8439 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 " ;;
8441 ac_prefix_list="" ;;
8442 esac
8443 for ac_prog in $ac_prefix_list
8445 # Extract the first word of "$ac_prog", so it can be a program name with args.
8446 set dummy $ac_prog; ac_word=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448 $as_echo_n "checking for $ac_word... " >&6; }
8449 if ${ac_cv_prog_CROSSCC+:} false; then :
8450 $as_echo_n "(cached) " >&6
8451 else
8452 if test -n "$CROSSCC"; then
8453 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8454 else
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8456 for as_dir in $PATH
8458 IFS=$as_save_IFS
8459 test -z "$as_dir" && as_dir=.
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8462 ac_cv_prog_CROSSCC="$ac_prog"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8464 break 2
8466 done
8467 done
8468 IFS=$as_save_IFS
8472 CROSSCC=$ac_cv_prog_CROSSCC
8473 if test -n "$CROSSCC"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8475 $as_echo "$CROSSCC" >&6; }
8476 else
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478 $as_echo "no" >&6; }
8482 test -n "$CROSSCC" && break
8483 done
8484 test -n "$CROSSCC" || CROSSCC="false"
8486 if test "$CROSSCC" != "false"
8487 then
8488 ac_save_CC="$CC"
8489 CC="$CROSSCC"
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8491 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8496 main ()
8500 return 0;
8502 _ACEOF
8503 if ac_fn_c_try_compile "$LINENO"; then :
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8505 $as_echo "yes" >&6; }
8506 set x $CROSSCC
8507 shift
8508 while test $# -ge 1
8510 case "$1" in
8511 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8512 esac
8513 shift
8514 done
8515 else
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8517 $as_echo "no" >&6; }
8519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8520 CC="$ac_save_CC"
8525 if test "$ac_cv_header_pthread_h" = "yes"
8526 then
8527 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8528 if test "x$ac_cv_func_pthread_create" = xyes; then :
8530 else
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8532 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8533 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8534 $as_echo_n "(cached) " >&6
8535 else
8536 ac_check_lib_save_LIBS=$LIBS
8537 LIBS="-lpthread $LIBS"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8541 /* Override any GCC internal prototype to avoid an error.
8542 Use char because int might match the return type of a GCC
8543 builtin and then its argument prototype would still apply. */
8544 #ifdef __cplusplus
8545 extern "C"
8546 #endif
8547 char pthread_create ();
8549 main ()
8551 return pthread_create ();
8553 return 0;
8555 _ACEOF
8556 if ac_fn_c_try_link "$LINENO"; then :
8557 ac_cv_lib_pthread_pthread_create=yes
8558 else
8559 ac_cv_lib_pthread_pthread_create=no
8561 rm -f core conftest.err conftest.$ac_objext \
8562 conftest$ac_exeext conftest.$ac_ext
8563 LIBS=$ac_check_lib_save_LIBS
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8566 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8567 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8568 PTHREAD_LIBS="-lpthread"
8575 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8576 case "x$with_pthread" in
8577 xno) ;;
8578 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8579 Wine cannot support threads without libpthread.
8580 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8581 esac
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8586 $as_echo_n "checking for X... " >&6; }
8589 # Check whether --with-x was given.
8590 if test "${with_x+set}" = set; then :
8591 withval=$with_x;
8594 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8595 if test "x$with_x" = xno; then
8596 # The user explicitly disabled X.
8597 have_x=disabled
8598 else
8599 case $x_includes,$x_libraries in #(
8600 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8601 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 # One or both of the vars are not set, and there is no cached value.
8605 ac_x_includes=no ac_x_libraries=no
8606 rm -f -r conftest.dir
8607 if mkdir conftest.dir; then
8608 cd conftest.dir
8609 cat >Imakefile <<'_ACEOF'
8610 incroot:
8611 @echo incroot='${INCROOT}'
8612 usrlibdir:
8613 @echo usrlibdir='${USRLIBDIR}'
8614 libdir:
8615 @echo libdir='${LIBDIR}'
8616 _ACEOF
8617 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8618 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8619 for ac_var in incroot usrlibdir libdir; do
8620 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8621 done
8622 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8623 for ac_extension in a so sl dylib la dll; do
8624 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8625 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8626 ac_im_usrlibdir=$ac_im_libdir; break
8628 done
8629 # Screen out bogus values from the imake configuration. They are
8630 # bogus both because they are the default anyway, and because
8631 # using them would break gcc on systems where it needs fixed includes.
8632 case $ac_im_incroot in
8633 /usr/include) ac_x_includes= ;;
8634 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8635 esac
8636 case $ac_im_usrlibdir in
8637 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8638 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8639 esac
8641 cd ..
8642 rm -f -r conftest.dir
8645 # Standard set of common directories for X headers.
8646 # Check X11 before X11Rn because it is often a symlink to the current release.
8647 ac_x_header_dirs='
8648 /usr/X11/include
8649 /usr/X11R7/include
8650 /usr/X11R6/include
8651 /usr/X11R5/include
8652 /usr/X11R4/include
8654 /usr/include/X11
8655 /usr/include/X11R7
8656 /usr/include/X11R6
8657 /usr/include/X11R5
8658 /usr/include/X11R4
8660 /usr/local/X11/include
8661 /usr/local/X11R7/include
8662 /usr/local/X11R6/include
8663 /usr/local/X11R5/include
8664 /usr/local/X11R4/include
8666 /usr/local/include/X11
8667 /usr/local/include/X11R7
8668 /usr/local/include/X11R6
8669 /usr/local/include/X11R5
8670 /usr/local/include/X11R4
8672 /usr/X386/include
8673 /usr/x386/include
8674 /usr/XFree86/include/X11
8676 /usr/include
8677 /usr/local/include
8678 /usr/unsupported/include
8679 /usr/athena/include
8680 /usr/local/x11r5/include
8681 /usr/lpp/Xamples/include
8683 /usr/openwin/include
8684 /usr/openwin/share/include'
8686 if test "$ac_x_includes" = no; then
8687 # Guess where to find include files, by looking for Xlib.h.
8688 # First, try using that file with no special directory specified.
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 #include <X11/Xlib.h>
8692 _ACEOF
8693 if ac_fn_c_try_cpp "$LINENO"; then :
8694 # We can compile using X headers with no special include directory.
8695 ac_x_includes=
8696 else
8697 for ac_dir in $ac_x_header_dirs; do
8698 if test -r "$ac_dir/X11/Xlib.h"; then
8699 ac_x_includes=$ac_dir
8700 break
8702 done
8704 rm -f conftest.err conftest.i conftest.$ac_ext
8705 fi # $ac_x_includes = no
8707 if test "$ac_x_libraries" = no; then
8708 # Check for the libraries.
8709 # See if we find them without any special options.
8710 # Don't add to $LIBS permanently.
8711 ac_save_LIBS=$LIBS
8712 LIBS="-lX11 $LIBS"
8713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8714 /* end confdefs.h. */
8715 #include <X11/Xlib.h>
8717 main ()
8719 XrmInitialize ()
8721 return 0;
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 LIBS=$ac_save_LIBS
8726 # We can link X programs with no special library path.
8727 ac_x_libraries=
8728 else
8729 LIBS=$ac_save_LIBS
8730 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8732 # Don't even attempt the hair of trying to link an X program!
8733 for ac_extension in a so sl dylib la dll; do
8734 if test -r "$ac_dir/libX11.$ac_extension"; then
8735 ac_x_libraries=$ac_dir
8736 break 2
8738 done
8739 done
8741 rm -f core conftest.err conftest.$ac_objext \
8742 conftest$ac_exeext conftest.$ac_ext
8743 fi # $ac_x_libraries = no
8745 case $ac_x_includes,$ac_x_libraries in #(
8746 no,* | *,no | *\'*)
8747 # Didn't find X, or a directory has "'" in its name.
8748 ac_cv_have_x="have_x=no";; #(
8750 # Record where we found X for the cache.
8751 ac_cv_have_x="have_x=yes\
8752 ac_x_includes='$ac_x_includes'\
8753 ac_x_libraries='$ac_x_libraries'"
8754 esac
8756 ;; #(
8757 *) have_x=yes;;
8758 esac
8759 eval "$ac_cv_have_x"
8760 fi # $with_x != no
8762 if test "$have_x" != yes; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8764 $as_echo "$have_x" >&6; }
8765 no_x=yes
8766 else
8767 # If each of the values was on the command line, it overrides each guess.
8768 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8769 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8770 # Update the cache value to reflect the command line values.
8771 ac_cv_have_x="have_x=yes\
8772 ac_x_includes='$x_includes'\
8773 ac_x_libraries='$x_libraries'"
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8775 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8778 if test "$no_x" = yes; then
8779 # Not all programs may use this symbol, but it does not hurt to define it.
8781 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8783 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8784 else
8785 if test -n "$x_includes"; then
8786 X_CFLAGS="$X_CFLAGS -I$x_includes"
8789 # It would also be nice to do this for all -L options, not just this one.
8790 if test -n "$x_libraries"; then
8791 X_LIBS="$X_LIBS -L$x_libraries"
8792 # For Solaris; some versions of Sun CC require a space after -R and
8793 # others require no space. Words are not sufficient . . . .
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8795 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8796 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8797 ac_xsave_c_werror_flag=$ac_c_werror_flag
8798 ac_c_werror_flag=yes
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8803 main ()
8807 return 0;
8809 _ACEOF
8810 if ac_fn_c_try_link "$LINENO"; then :
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8813 X_LIBS="$X_LIBS -R$x_libraries"
8814 else
8815 LIBS="$ac_xsave_LIBS -R $x_libraries"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8820 main ()
8824 return 0;
8826 _ACEOF
8827 if ac_fn_c_try_link "$LINENO"; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8829 $as_echo "yes" >&6; }
8830 X_LIBS="$X_LIBS -R $x_libraries"
8831 else
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8833 $as_echo "neither works" >&6; }
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8838 rm -f core conftest.err conftest.$ac_objext \
8839 conftest$ac_exeext conftest.$ac_ext
8840 ac_c_werror_flag=$ac_xsave_c_werror_flag
8841 LIBS=$ac_xsave_LIBS
8844 # Check for system-dependent libraries X programs must link with.
8845 # Do this before checking for the system-independent R6 libraries
8846 # (-lICE), since we may need -lsocket or whatever for X linking.
8848 if test "$ISC" = yes; then
8849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8850 else
8851 # Martyn Johnson says this is needed for Ultrix, if the X
8852 # libraries were built with DECnet support. And Karl Berry says
8853 # the Alpha needs dnet_stub (dnet does not exist).
8854 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8858 /* Override any GCC internal prototype to avoid an error.
8859 Use char because int might match the return type of a GCC
8860 builtin and then its argument prototype would still apply. */
8861 #ifdef __cplusplus
8862 extern "C"
8863 #endif
8864 char XOpenDisplay ();
8866 main ()
8868 return XOpenDisplay ();
8870 return 0;
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8877 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8878 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 ac_check_lib_save_LIBS=$LIBS
8882 LIBS="-ldnet $LIBS"
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8886 /* Override any GCC internal prototype to avoid an error.
8887 Use char because int might match the return type of a GCC
8888 builtin and then its argument prototype would still apply. */
8889 #ifdef __cplusplus
8890 extern "C"
8891 #endif
8892 char dnet_ntoa ();
8894 main ()
8896 return dnet_ntoa ();
8898 return 0;
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 ac_cv_lib_dnet_dnet_ntoa=yes
8903 else
8904 ac_cv_lib_dnet_dnet_ntoa=no
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 LIBS=$ac_check_lib_save_LIBS
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8911 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8912 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8913 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8916 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8918 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8919 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8920 $as_echo_n "(cached) " >&6
8921 else
8922 ac_check_lib_save_LIBS=$LIBS
8923 LIBS="-ldnet_stub $LIBS"
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8927 /* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
8930 #ifdef __cplusplus
8931 extern "C"
8932 #endif
8933 char dnet_ntoa ();
8935 main ()
8937 return dnet_ntoa ();
8939 return 0;
8941 _ACEOF
8942 if ac_fn_c_try_link "$LINENO"; then :
8943 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8944 else
8945 ac_cv_lib_dnet_stub_dnet_ntoa=no
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 LIBS=$ac_check_lib_save_LIBS
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8952 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8953 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8954 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8959 rm -f core conftest.err conftest.$ac_objext \
8960 conftest$ac_exeext conftest.$ac_ext
8961 LIBS="$ac_xsave_LIBS"
8963 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8964 # to get the SysV transport functions.
8965 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8966 # needs -lnsl.
8967 # The nsl library prevents programs from opening the X display
8968 # on Irix 5.2, according to T.E. Dickey.
8969 # The functions gethostbyname, getservbyname, and inet_addr are
8970 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8971 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8972 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8976 if test $ac_cv_func_gethostbyname = no; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8978 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8979 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8980 $as_echo_n "(cached) " >&6
8981 else
8982 ac_check_lib_save_LIBS=$LIBS
8983 LIBS="-lnsl $LIBS"
8984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985 /* end confdefs.h. */
8987 /* Override any GCC internal prototype to avoid an error.
8988 Use char because int might match the return type of a GCC
8989 builtin and then its argument prototype would still apply. */
8990 #ifdef __cplusplus
8991 extern "C"
8992 #endif
8993 char gethostbyname ();
8995 main ()
8997 return gethostbyname ();
8999 return 0;
9001 _ACEOF
9002 if ac_fn_c_try_link "$LINENO"; then :
9003 ac_cv_lib_nsl_gethostbyname=yes
9004 else
9005 ac_cv_lib_nsl_gethostbyname=no
9007 rm -f core conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_lib_save_LIBS
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9012 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9013 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9014 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9017 if test $ac_cv_lib_nsl_gethostbyname = no; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9019 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9020 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9021 $as_echo_n "(cached) " >&6
9022 else
9023 ac_check_lib_save_LIBS=$LIBS
9024 LIBS="-lbsd $LIBS"
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9028 /* Override any GCC internal prototype to avoid an error.
9029 Use char because int might match the return type of a GCC
9030 builtin and then its argument prototype would still apply. */
9031 #ifdef __cplusplus
9032 extern "C"
9033 #endif
9034 char gethostbyname ();
9036 main ()
9038 return gethostbyname ();
9040 return 0;
9042 _ACEOF
9043 if ac_fn_c_try_link "$LINENO"; then :
9044 ac_cv_lib_bsd_gethostbyname=yes
9045 else
9046 ac_cv_lib_bsd_gethostbyname=no
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9050 LIBS=$ac_check_lib_save_LIBS
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9053 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9054 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9055 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9061 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9062 # socket/setsockopt and other routines are undefined under SCO ODT
9063 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9064 # on later versions), says Simon Leinen: it contains gethostby*
9065 # variants that don't use the name server (or something). -lsocket
9066 # must be given before -lnsl if both are needed. We assume that
9067 # if connect needs -lnsl, so does gethostbyname.
9068 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9069 if test "x$ac_cv_func_connect" = xyes; then :
9073 if test $ac_cv_func_connect = no; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9075 $as_echo_n "checking for connect in -lsocket... " >&6; }
9076 if ${ac_cv_lib_socket_connect+:} false; then :
9077 $as_echo_n "(cached) " >&6
9078 else
9079 ac_check_lib_save_LIBS=$LIBS
9080 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9084 /* Override any GCC internal prototype to avoid an error.
9085 Use char because int might match the return type of a GCC
9086 builtin and then its argument prototype would still apply. */
9087 #ifdef __cplusplus
9088 extern "C"
9089 #endif
9090 char connect ();
9092 main ()
9094 return connect ();
9096 return 0;
9098 _ACEOF
9099 if ac_fn_c_try_link "$LINENO"; then :
9100 ac_cv_lib_socket_connect=yes
9101 else
9102 ac_cv_lib_socket_connect=no
9104 rm -f core conftest.err conftest.$ac_objext \
9105 conftest$ac_exeext conftest.$ac_ext
9106 LIBS=$ac_check_lib_save_LIBS
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9109 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9110 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9111 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9116 # Guillermo Gomez says -lposix is necessary on A/UX.
9117 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9118 if test "x$ac_cv_func_remove" = xyes; then :
9122 if test $ac_cv_func_remove = no; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9124 $as_echo_n "checking for remove in -lposix... " >&6; }
9125 if ${ac_cv_lib_posix_remove+:} false; then :
9126 $as_echo_n "(cached) " >&6
9127 else
9128 ac_check_lib_save_LIBS=$LIBS
9129 LIBS="-lposix $LIBS"
9130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9133 /* Override any GCC internal prototype to avoid an error.
9134 Use char because int might match the return type of a GCC
9135 builtin and then its argument prototype would still apply. */
9136 #ifdef __cplusplus
9137 extern "C"
9138 #endif
9139 char remove ();
9141 main ()
9143 return remove ();
9145 return 0;
9147 _ACEOF
9148 if ac_fn_c_try_link "$LINENO"; then :
9149 ac_cv_lib_posix_remove=yes
9150 else
9151 ac_cv_lib_posix_remove=no
9153 rm -f core conftest.err conftest.$ac_objext \
9154 conftest$ac_exeext conftest.$ac_ext
9155 LIBS=$ac_check_lib_save_LIBS
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9158 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9159 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9165 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9166 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9167 if test "x$ac_cv_func_shmat" = xyes; then :
9171 if test $ac_cv_func_shmat = no; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9173 $as_echo_n "checking for shmat in -lipc... " >&6; }
9174 if ${ac_cv_lib_ipc_shmat+:} false; then :
9175 $as_echo_n "(cached) " >&6
9176 else
9177 ac_check_lib_save_LIBS=$LIBS
9178 LIBS="-lipc $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9185 #ifdef __cplusplus
9186 extern "C"
9187 #endif
9188 char shmat ();
9190 main ()
9192 return shmat ();
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 ac_cv_lib_ipc_shmat=yes
9199 else
9200 ac_cv_lib_ipc_shmat=no
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9207 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9208 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9209 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9215 # Check for libraries that X11R6 Xt/Xaw programs need.
9216 ac_save_LDFLAGS=$LDFLAGS
9217 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9218 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9219 # check for ICE first), but we must link in the order -lSM -lICE or
9220 # we get undefined symbols. So assume we have SM if we have ICE.
9221 # These have to be linked with before -lX11, unlike the other
9222 # libraries we check for below, so use a different variable.
9223 # John Interrante, Karl Berry
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9225 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9226 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_lib_save_LIBS=$LIBS
9230 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char IceConnectionNumber ();
9242 main ()
9244 return IceConnectionNumber ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 ac_cv_lib_ICE_IceConnectionNumber=yes
9251 else
9252 ac_cv_lib_ICE_IceConnectionNumber=no
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_lib_save_LIBS
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9259 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9260 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9261 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9264 LDFLAGS=$ac_save_LDFLAGS
9269 if test "$have_x" = "yes"
9270 then
9271 ac_save_CPPFLAGS="$CPPFLAGS"
9272 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9275 $as_echo_n "checking for -lX11... " >&6; }
9276 if ${ac_cv_lib_soname_X11+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_check_soname_save_LIBS=$LIBS
9280 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char XCreateWindow ();
9292 main ()
9294 return XCreateWindow ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 case "$LIBEXT" in
9301 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9302 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'` ;;
9303 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9304 if ${ac_cv_lib_soname_X11:+false} :; then :
9305 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9306 fi ;;
9307 esac
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_soname_save_LIBS
9313 if ${ac_cv_lib_soname_X11:+false} :; then :
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9315 $as_echo "not found" >&6; }
9317 else
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9319 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9321 cat >>confdefs.h <<_ACEOF
9322 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9323 _ACEOF
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9328 $as_echo_n "checking for -lXext... " >&6; }
9329 if ${ac_cv_lib_soname_Xext+:} false; then :
9330 $as_echo_n "(cached) " >&6
9331 else
9332 ac_check_soname_save_LIBS=$LIBS
9333 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h. */
9337 /* Override any GCC internal prototype to avoid an error.
9338 Use char because int might match the return type of a GCC
9339 builtin and then its argument prototype would still apply. */
9340 #ifdef __cplusplus
9341 extern "C"
9342 #endif
9343 char XextCreateExtension ();
9345 main ()
9347 return XextCreateExtension ();
9349 return 0;
9351 _ACEOF
9352 if ac_fn_c_try_link "$LINENO"; then :
9353 case "$LIBEXT" in
9354 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9355 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'` ;;
9356 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9357 if ${ac_cv_lib_soname_Xext:+false} :; then :
9358 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9359 fi ;;
9360 esac
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_soname_save_LIBS
9366 if ${ac_cv_lib_soname_Xext:+false} :; then :
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9368 $as_echo "not found" >&6; }
9370 else
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9372 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9374 cat >>confdefs.h <<_ACEOF
9375 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9376 _ACEOF
9378 X_LIBS="$X_LIBS -lXext"
9380 X_LIBS="$X_LIBS -lX11"
9382 for ac_header in X11/Xlib.h \
9383 X11/XKBlib.h \
9384 X11/Xutil.h \
9385 X11/Xcursor/Xcursor.h \
9386 X11/extensions/shape.h \
9387 X11/extensions/XInput.h \
9388 X11/extensions/XInput2.h \
9389 X11/extensions/XShm.h \
9390 X11/extensions/Xcomposite.h \
9391 X11/extensions/Xinerama.h \
9392 X11/extensions/Xrandr.h \
9393 X11/extensions/Xrender.h \
9394 X11/extensions/xf86vmode.h \
9395 X11/extensions/xf86vmproto.h
9396 do :
9397 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9398 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9399 # include <X11/Xlib.h>
9400 #endif
9401 #ifdef HAVE_X11_XUTIL_H
9402 # include <X11/Xutil.h>
9403 #endif
9405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9406 cat >>confdefs.h <<_ACEOF
9407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9408 _ACEOF
9412 done
9415 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9416 then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9418 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9419 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_check_lib_save_LIBS=$LIBS
9423 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char XkbQueryExtension ();
9435 main ()
9437 return XkbQueryExtension ();
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_lib_X11_XkbQueryExtension=yes
9444 else
9445 ac_cv_lib_X11_XkbQueryExtension=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LIBS=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9452 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9453 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9455 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9461 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9462 then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9464 $as_echo_n "checking for -lXcursor... " >&6; }
9465 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_soname_save_LIBS=$LIBS
9469 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char XcursorImageLoadCursor ();
9481 main ()
9483 return XcursorImageLoadCursor ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 case "$LIBEXT" in
9490 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9491 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'` ;;
9492 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9493 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9494 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9495 fi ;;
9496 esac
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 LIBS=$ac_check_soname_save_LIBS
9502 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9504 $as_echo "not found" >&6; }
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9508 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9510 cat >>confdefs.h <<_ACEOF
9511 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9512 _ACEOF
9517 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9518 case "x$with_xcursor" in
9519 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9520 xno) ;;
9521 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9522 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9523 esac
9526 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9527 then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9529 $as_echo_n "checking for -lXi... " >&6; }
9530 if ${ac_cv_lib_soname_Xi+:} false; then :
9531 $as_echo_n "(cached) " >&6
9532 else
9533 ac_check_soname_save_LIBS=$LIBS
9534 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9541 #ifdef __cplusplus
9542 extern "C"
9543 #endif
9544 char XOpenDevice ();
9546 main ()
9548 return XOpenDevice ();
9550 return 0;
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"; then :
9554 case "$LIBEXT" in
9555 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9556 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'` ;;
9557 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9558 if ${ac_cv_lib_soname_Xi:+false} :; then :
9559 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9560 fi ;;
9561 esac
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_soname_save_LIBS
9567 if ${ac_cv_lib_soname_Xi:+false} :; then :
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9569 $as_echo "not found" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9573 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9575 cat >>confdefs.h <<_ACEOF
9576 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9577 _ACEOF
9582 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9583 case "x$with_xinput" in
9584 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9585 xno) ;;
9586 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9587 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9588 esac
9591 if test "x$ac_cv_lib_soname_Xi" != x
9592 then
9593 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9594 case "x$with_xinput2" in
9595 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9596 xno) ;;
9597 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9598 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9599 esac
9603 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9604 then
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9606 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9607 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 ac_check_lib_save_LIBS=$LIBS
9611 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9618 #ifdef __cplusplus
9619 extern "C"
9620 #endif
9621 char XShmQueryExtension ();
9623 main ()
9625 return XShmQueryExtension ();
9627 return 0;
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 ac_cv_lib_Xext_XShmQueryExtension=yes
9632 else
9633 ac_cv_lib_Xext_XShmQueryExtension=no
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 LIBS=$ac_check_lib_save_LIBS
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9640 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9641 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9643 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9648 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9649 case "x$with_xshm" in
9650 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9651 xno) ;;
9652 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9653 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9654 esac
9657 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9658 then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9660 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9661 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9662 $as_echo_n "(cached) " >&6
9663 else
9664 ac_check_lib_save_LIBS=$LIBS
9665 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9669 /* Override any GCC internal prototype to avoid an error.
9670 Use char because int might match the return type of a GCC
9671 builtin and then its argument prototype would still apply. */
9672 #ifdef __cplusplus
9673 extern "C"
9674 #endif
9675 char XShapeQueryExtension ();
9677 main ()
9679 return XShapeQueryExtension ();
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685 ac_cv_lib_Xext_XShapeQueryExtension=yes
9686 else
9687 ac_cv_lib_Xext_XShapeQueryExtension=no
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_lib_save_LIBS
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9694 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9695 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9697 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9702 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9703 case "x$with_xshape" in
9704 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9705 xno) ;;
9706 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9707 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9708 esac
9711 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9712 then
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9714 $as_echo_n "checking for -lXxf86vm... " >&6; }
9715 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_check_soname_save_LIBS=$LIBS
9719 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9723 /* Override any GCC internal prototype to avoid an error.
9724 Use char because int might match the return type of a GCC
9725 builtin and then its argument prototype would still apply. */
9726 #ifdef __cplusplus
9727 extern "C"
9728 #endif
9729 char XF86VidModeQueryExtension ();
9731 main ()
9733 return XF86VidModeQueryExtension ();
9735 return 0;
9737 _ACEOF
9738 if ac_fn_c_try_link "$LINENO"; then :
9739 case "$LIBEXT" in
9740 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9741 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'` ;;
9742 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9743 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9744 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9745 fi ;;
9746 esac
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_soname_save_LIBS
9752 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9754 $as_echo "not found" >&6; }
9756 else
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9758 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9760 cat >>confdefs.h <<_ACEOF
9761 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9762 _ACEOF
9767 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9768 case "x$with_xxf86vm" in
9769 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9770 xno) ;;
9771 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9772 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9773 esac
9776 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9777 then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9779 $as_echo_n "checking for -lXrender... " >&6; }
9780 if ${ac_cv_lib_soname_Xrender+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 ac_check_soname_save_LIBS=$LIBS
9784 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9791 #ifdef __cplusplus
9792 extern "C"
9793 #endif
9794 char XRenderQueryExtension ();
9796 main ()
9798 return XRenderQueryExtension ();
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 case "$LIBEXT" in
9805 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9806 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'` ;;
9807 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9808 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9809 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9810 fi ;;
9811 esac
9813 rm -f core conftest.err conftest.$ac_objext \
9814 conftest$ac_exeext conftest.$ac_ext
9815 LIBS=$ac_check_soname_save_LIBS
9817 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9819 $as_echo "not found" >&6; }
9821 else
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9823 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9825 cat >>confdefs.h <<_ACEOF
9826 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9827 _ACEOF
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9830 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9831 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_check_lib_save_LIBS=$LIBS
9835 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9842 #ifdef __cplusplus
9843 extern "C"
9844 #endif
9845 char XRenderSetPictureTransform ();
9847 main ()
9849 return XRenderSetPictureTransform ();
9851 return 0;
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9856 else
9857 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_lib_save_LIBS
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9864 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9865 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9867 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9872 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9873 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9874 $as_echo_n "(cached) " >&6
9875 else
9876 ac_check_lib_save_LIBS=$LIBS
9877 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9884 #ifdef __cplusplus
9885 extern "C"
9886 #endif
9887 char XRenderCreateLinearGradient ();
9889 main ()
9891 return XRenderCreateLinearGradient ();
9893 return 0;
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9898 else
9899 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9906 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9907 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9909 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9916 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9917 case "x$with_xrender" in
9918 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9919 xno) ;;
9920 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9921 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9922 esac
9925 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9926 then
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 #include <X11/Xlib.h>
9930 #include <X11/extensions/Xrandr.h>
9932 main ()
9934 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9936 return 0;
9938 _ACEOF
9939 if ac_fn_c_try_compile "$LINENO"; then :
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9941 $as_echo_n "checking for -lXrandr... " >&6; }
9942 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9943 $as_echo_n "(cached) " >&6
9944 else
9945 ac_check_soname_save_LIBS=$LIBS
9946 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9950 /* Override any GCC internal prototype to avoid an error.
9951 Use char because int might match the return type of a GCC
9952 builtin and then its argument prototype would still apply. */
9953 #ifdef __cplusplus
9954 extern "C"
9955 #endif
9956 char XRRQueryExtension ();
9958 main ()
9960 return XRRQueryExtension ();
9962 return 0;
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 case "$LIBEXT" in
9967 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9968 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'` ;;
9969 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9970 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9971 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9972 fi ;;
9973 esac
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LIBS=$ac_check_soname_save_LIBS
9979 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9981 $as_echo "not found" >&6; }
9983 else
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9985 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9987 cat >>confdefs.h <<_ACEOF
9988 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9989 _ACEOF
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9993 #include <X11/Xlib.h>
9994 #include <X11/extensions/Xrandr.h>
9996 main ()
9998 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10000 return 0;
10002 _ACEOF
10003 if ac_fn_c_try_compile "$LINENO"; then :
10005 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10013 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10014 case "x$with_xrandr" in
10015 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10016 xno) ;;
10017 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10018 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10019 esac
10022 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10023 then
10024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10026 #include <X11/Xlib.h>
10027 #include <X11/extensions/Xinerama.h>
10029 main ()
10031 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10033 return 0;
10035 _ACEOF
10036 if ac_fn_c_try_compile "$LINENO"; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10038 $as_echo_n "checking for -lXinerama... " >&6; }
10039 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_check_soname_save_LIBS=$LIBS
10043 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 #ifdef __cplusplus
10051 extern "C"
10052 #endif
10053 char XineramaQueryScreens ();
10055 main ()
10057 return XineramaQueryScreens ();
10059 return 0;
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 case "$LIBEXT" in
10064 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10065 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'` ;;
10066 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10067 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10068 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10069 fi ;;
10070 esac
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 LIBS=$ac_check_soname_save_LIBS
10076 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10078 $as_echo "not found" >&6; }
10080 else
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10082 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10084 cat >>confdefs.h <<_ACEOF
10085 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10086 _ACEOF
10091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10093 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10094 case "x$with_xinerama" in
10095 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10096 xno) ;;
10097 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10098 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10099 esac
10102 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10103 then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10105 $as_echo_n "checking for -lXcomposite... " >&6; }
10106 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_soname_save_LIBS=$LIBS
10110 LIBS="-lXcomposite $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 XCompositeRedirectWindow ();
10122 main ()
10124 return XCompositeRedirectWindow ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 case "$LIBEXT" in
10131 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10135 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$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_Xcomposite:+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_Xcomposite" >&5
10149 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10153 _ACEOF
10158 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10159 case "x$with_xcomposite" in
10160 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10161 xno) ;;
10162 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10163 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10164 esac
10167 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10168 #include <X11/Xlib.h>
10169 #endif
10171 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10173 cat >>confdefs.h <<_ACEOF
10174 #define HAVE_XICCALLBACK_CALLBACK 1
10175 _ACEOF
10179 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10180 #include <X11/Xlib.h>
10181 #endif
10183 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10185 cat >>confdefs.h <<_ACEOF
10186 #define HAVE_XEVENT_XCOOKIE 1
10187 _ACEOF
10194 opengl_msg=""
10195 if test "x$with_opengl" != "xno"
10196 then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10198 $as_echo_n "checking for -lGL... " >&6; }
10199 if ${ac_cv_lib_soname_GL+:} false; then :
10200 $as_echo_n "(cached) " >&6
10201 else
10202 ac_check_soname_save_LIBS=$LIBS
10203 LIBS="-lGL $X_LIBS -lm $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 glXCreateContext ();
10215 main ()
10217 return glXCreateContext ();
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 case "$LIBEXT" in
10224 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10225 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'` ;;
10226 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10227 if ${ac_cv_lib_soname_GL:+false} :; then :
10228 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10229 fi ;;
10230 esac
10232 rm -f core conftest.err conftest.$ac_objext \
10233 conftest$ac_exeext conftest.$ac_ext
10234 LIBS=$ac_check_soname_save_LIBS
10236 if ${ac_cv_lib_soname_GL:+false} :; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10238 $as_echo "not found" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10240 $as_echo_n "checking for -lGL... " >&6; }
10241 if ${ac_cv_lib_soname_GL+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_check_soname_save_LIBS=$LIBS
10245 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"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 #ifdef __cplusplus
10253 extern "C"
10254 #endif
10255 char glXCreateContext ();
10257 main ()
10259 return glXCreateContext ();
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 case "$LIBEXT" in
10266 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10267 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'` ;;
10268 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10269 if ${ac_cv_lib_soname_GL:+false} :; then :
10270 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10271 fi ;;
10272 esac
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_soname_save_LIBS
10278 if ${ac_cv_lib_soname_GL:+false} :; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10280 $as_echo "not found" >&6; }
10281 if test -f /usr/X11R6/lib/libGL.a
10282 then
10283 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10284 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10285 else
10286 opengl_msg="No OpenGL library found on this system."
10288 else
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10290 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10292 cat >>confdefs.h <<_ACEOF
10293 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10294 _ACEOF
10296 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"
10298 else
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10300 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10302 cat >>confdefs.h <<_ACEOF
10303 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10304 _ACEOF
10306 OPENGL_LIBS="-lGL"
10308 if test "x$with_glu" != "xno"
10309 then
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10311 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10312 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_check_lib_save_LIBS=$LIBS
10316 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 char gluLookAt ();
10328 main ()
10330 return gluLookAt ();
10332 return 0;
10334 _ACEOF
10335 if ac_fn_c_try_link "$LINENO"; then :
10336 ac_cv_lib_GLU_gluLookAt=yes
10337 else
10338 ac_cv_lib_GLU_gluLookAt=no
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_lib_save_LIBS
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10345 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10346 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10350 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10351 case "x$with_glu" in
10352 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10353 xno) ;;
10354 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10355 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10356 esac
10360 if test "x$with_osmesa" != "xno"
10361 then
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10363 $as_echo_n "checking for -lOSMesa... " >&6; }
10364 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_check_soname_save_LIBS=$LIBS
10368 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10375 #ifdef __cplusplus
10376 extern "C"
10377 #endif
10378 char glAccum ();
10380 main ()
10382 return glAccum ();
10384 return 0;
10386 _ACEOF
10387 if ac_fn_c_try_link "$LINENO"; then :
10388 case "$LIBEXT" in
10389 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10390 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'` ;;
10391 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10392 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10393 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10394 fi ;;
10395 esac
10397 rm -f core conftest.err conftest.$ac_objext \
10398 conftest$ac_exeext conftest.$ac_ext
10399 LIBS=$ac_check_soname_save_LIBS
10401 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10403 $as_echo "not found" >&6; }
10405 else
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10407 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10409 cat >>confdefs.h <<_ACEOF
10410 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10411 _ACEOF
10415 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10416 case "x$with_osmesa" in
10417 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10418 xno) ;;
10419 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10420 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10421 esac
10425 if test -n "$opengl_msg"; then :
10426 case "x$with_opengl" in
10427 x) as_fn_append wine_warnings "|$opengl_msg
10428 OpenGL and Direct3D won't be supported." ;;
10429 xno) ;;
10430 *) as_fn_error $? "$opengl_msg
10431 OpenGL and Direct3D won't be supported.
10432 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10433 esac
10436 CPPFLAGS="$ac_save_CPPFLAGS"
10437 else
10438 X_CFLAGS=""
10439 X_LIBS=""
10440 enable_winex11_drv=${enable_winex11_drv:-no}
10442 if test "x$X_LIBS" = "x"; then :
10443 case "x$with_x" in
10444 xno) ;;
10445 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10446 without X support, which probably isn't what you want. You will need
10447 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10448 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10449 esac
10452 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10454 if test "$ac_cv_header_CL_cl_h" = "yes"
10455 then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10457 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10458 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_check_lib_save_LIBS=$LIBS
10462 LIBS="-lOpenCL $LIBS"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10469 #ifdef __cplusplus
10470 extern "C"
10471 #endif
10472 char clGetPlatformInfo ();
10474 main ()
10476 return clGetPlatformInfo ();
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10483 else
10484 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LIBS=$ac_check_lib_save_LIBS
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10491 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10492 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10493 OPENCL_LIBS="-lOpenCL"
10498 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10499 case "x$with_opencl" in
10500 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10501 xno) ;;
10502 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10503 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10504 esac
10506 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10509 if test "x$with_xml" != "xno"
10510 then
10511 if ${XML2_CFLAGS:+false} :; then :
10512 if ${PKG_CONFIG+:} false; then :
10513 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10516 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10517 if ${XML2_LIBS:+false} :; then :
10518 if ${PKG_CONFIG+:} false; then :
10519 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10522 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10523 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10524 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10525 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10526 ac_save_CPPFLAGS=$CPPFLAGS
10527 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10528 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10529 do :
10530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10531 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10532 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10533 cat >>confdefs.h <<_ACEOF
10534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10535 _ACEOF
10539 done
10541 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"
10542 then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10544 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10545 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lxml2 $XML2_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char xmlParseMemory ();
10561 main ()
10563 return xmlParseMemory ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_lib_xml2_xmlParseMemory=yes
10570 else
10571 ac_cv_lib_xml2_xmlParseMemory=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10578 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10579 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10581 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10583 else
10584 XML2_LIBS=""
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10588 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10589 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10590 $as_echo_n "(cached) " >&6
10591 else
10592 ac_check_lib_save_LIBS=$LIBS
10593 LIBS="-lxml2 $XML2_LIBS $LIBS"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10597 /* Override any GCC internal prototype to avoid an error.
10598 Use char because int might match the return type of a GCC
10599 builtin and then its argument prototype would still apply. */
10600 #ifdef __cplusplus
10601 extern "C"
10602 #endif
10603 char xmlReadMemory ();
10605 main ()
10607 return xmlReadMemory ();
10609 return 0;
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_lib_xml2_xmlReadMemory=yes
10614 else
10615 ac_cv_lib_xml2_xmlReadMemory=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 LIBS=$ac_check_lib_save_LIBS
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10622 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10623 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10625 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10630 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10631 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_check_lib_save_LIBS=$LIBS
10635 LIBS="-lxml2 $XML2_LIBS $LIBS"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 char xmlNewDocPI ();
10647 main ()
10649 return xmlNewDocPI ();
10651 return 0;
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 ac_cv_lib_xml2_xmlNewDocPI=yes
10656 else
10657 ac_cv_lib_xml2_xmlNewDocPI=no
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 LIBS=$ac_check_lib_save_LIBS
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10664 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10665 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10667 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10672 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10673 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10674 $as_echo_n "(cached) " >&6
10675 else
10676 ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-lxml2 $XML2_LIBS $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char xmlSchemaSetParserStructuredErrors ();
10689 main ()
10691 return xmlSchemaSetParserStructuredErrors ();
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10698 else
10699 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10701 rm -f core conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10706 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10707 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10709 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10714 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10715 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10716 $as_echo_n "(cached) " >&6
10717 else
10718 ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-lxml2 $XML2_LIBS $LIBS"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10726 #ifdef __cplusplus
10727 extern "C"
10728 #endif
10729 char xmlSchemaSetValidStructuredErrors ();
10731 main ()
10733 return xmlSchemaSetValidStructuredErrors ();
10735 return 0;
10737 _ACEOF
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10740 else
10741 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_lib_save_LIBS
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10748 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10749 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10751 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10756 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10757 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10758 $as_echo_n "(cached) " >&6
10759 else
10760 ac_check_lib_save_LIBS=$LIBS
10761 LIBS="-lxml2 $XML2_LIBS $LIBS"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10765 /* Override any GCC internal prototype to avoid an error.
10766 Use char because int might match the return type of a GCC
10767 builtin and then its argument prototype would still apply. */
10768 #ifdef __cplusplus
10769 extern "C"
10770 #endif
10771 char xmlFirstElementChild ();
10773 main ()
10775 return xmlFirstElementChild ();
10777 return 0;
10779 _ACEOF
10780 if ac_fn_c_try_link "$LINENO"; then :
10781 ac_cv_lib_xml2_xmlFirstElementChild=yes
10782 else
10783 ac_cv_lib_xml2_xmlFirstElementChild=no
10785 rm -f core conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_lib_save_LIBS
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10790 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10791 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10793 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10797 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10799 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10801 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10805 else
10806 XML2_CFLAGS=""
10807 XML2_LIBS=""
10809 CPPFLAGS=$ac_save_CPPFLAGS
10810 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10811 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10814 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10815 case "x$with_xml" in
10816 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10817 xno) ;;
10818 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10819 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10820 esac
10823 if test "x$with_xslt" != "xno"
10824 then
10825 if ${XSLT_CFLAGS:+false} :; then :
10826 if ${PKG_CONFIG+:} false; then :
10827 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10830 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10831 if ${XSLT_LIBS:+false} :; then :
10832 if ${PKG_CONFIG+:} false; then :
10833 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10836 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10837 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10838 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10839 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10840 ac_save_CPPFLAGS=$CPPFLAGS
10841 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10842 for ac_header in libxslt/pattern.h libxslt/transform.h
10843 do :
10844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10846 # include <libxslt/pattern.h>
10847 #endif
10849 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10850 cat >>confdefs.h <<_ACEOF
10851 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10852 _ACEOF
10856 done
10858 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10859 then
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10861 $as_echo_n "checking for -lxslt... " >&6; }
10862 if ${ac_cv_lib_soname_xslt+:} false; then :
10863 $as_echo_n "(cached) " >&6
10864 else
10865 ac_check_soname_save_LIBS=$LIBS
10866 LIBS="-lxslt $XSLT_LIBS $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char xsltCompilePattern ();
10878 main ()
10880 return xsltCompilePattern ();
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 case "$LIBEXT" in
10887 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10888 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'` ;;
10889 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10890 if ${ac_cv_lib_soname_xslt:+false} :; then :
10891 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10892 fi ;;
10893 esac
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_soname_save_LIBS
10899 if ${ac_cv_lib_soname_xslt:+false} :; then :
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10901 $as_echo "not found" >&6; }
10903 else
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10905 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10907 cat >>confdefs.h <<_ACEOF
10908 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10909 _ACEOF
10913 else
10914 XSLT_CFLAGS=""
10916 CPPFLAGS=$ac_save_CPPFLAGS
10917 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10918 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10921 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10922 case "x$with_xslt" in
10923 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10924 xno) ;;
10925 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10926 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10927 esac
10930 if test "x$with_dbus" != "xno"
10931 then
10932 if ${DBUS_CFLAGS:+false} :; then :
10933 if ${PKG_CONFIG+:} false; then :
10934 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10938 if ${DBUS_LIBS:+false} :; then :
10939 if ${PKG_CONFIG+:} false; then :
10940 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10945 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10946 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10947 ac_save_CPPFLAGS=$CPPFLAGS
10948 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10949 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10950 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10952 $as_echo_n "checking for -ldbus-1... " >&6; }
10953 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10954 $as_echo_n "(cached) " >&6
10955 else
10956 ac_check_soname_save_LIBS=$LIBS
10957 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10964 #ifdef __cplusplus
10965 extern "C"
10966 #endif
10967 char dbus_connection_close ();
10969 main ()
10971 return dbus_connection_close ();
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 case "$LIBEXT" in
10978 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10979 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'` ;;
10980 *) 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'`
10981 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10982 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10983 fi ;;
10984 esac
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_soname_save_LIBS
10990 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10992 $as_echo "not found" >&6; }
10993 DBUS_CFLAGS=""
10994 else
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10996 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10998 cat >>confdefs.h <<_ACEOF
10999 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11000 _ACEOF
11004 else
11005 DBUS_CFLAGS=""
11009 CPPFLAGS=$ac_save_CPPFLAGS
11010 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11011 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11014 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11015 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11016 case "x$with_dbus" in
11017 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11018 xno) ;;
11019 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11020 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11021 esac
11024 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11025 then
11026 if ${HAL_CFLAGS:+false} :; then :
11027 if ${PKG_CONFIG+:} false; then :
11028 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11032 if ${HAL_LIBS:+false} :; then :
11033 if ${PKG_CONFIG+:} false; then :
11034 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11038 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11039 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11040 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11041 ac_save_CPPFLAGS=$CPPFLAGS
11042 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11043 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11044 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11046 $as_echo_n "checking for -lhal... " >&6; }
11047 if ${ac_cv_lib_soname_hal+:} false; then :
11048 $as_echo_n "(cached) " >&6
11049 else
11050 ac_check_soname_save_LIBS=$LIBS
11051 LIBS="-lhal $HAL_LIBS $LIBS"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11058 #ifdef __cplusplus
11059 extern "C"
11060 #endif
11061 char libhal_ctx_new ();
11063 main ()
11065 return libhal_ctx_new ();
11067 return 0;
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"; then :
11071 case "$LIBEXT" in
11072 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11073 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'` ;;
11074 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11075 if ${ac_cv_lib_soname_hal:+false} :; then :
11076 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11077 fi ;;
11078 esac
11080 rm -f core conftest.err conftest.$ac_objext \
11081 conftest$ac_exeext conftest.$ac_ext
11082 LIBS=$ac_check_soname_save_LIBS
11084 if ${ac_cv_lib_soname_hal:+false} :; then :
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11086 $as_echo "not found" >&6; }
11087 HAL_CFLAGS=""
11088 else
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11090 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11092 cat >>confdefs.h <<_ACEOF
11093 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11094 _ACEOF
11098 else
11099 HAL_CFLAGS=""
11103 CPPFLAGS=$ac_save_CPPFLAGS
11104 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11105 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11107 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11108 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11109 case "x$with_hal" in
11110 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11111 xno) ;;
11112 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11113 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11114 esac
11118 if test "x$with_gnutls" != "xno"
11119 then
11120 if ${GNUTLS_CFLAGS:+false} :; then :
11121 if ${PKG_CONFIG+:} false; then :
11122 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11126 if ${GNUTLS_LIBS:+false} :; then :
11127 if ${PKG_CONFIG+:} false; then :
11128 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11133 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11134 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11135 ac_save_CPPFLAGS=$CPPFLAGS
11136 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11137 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11138 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11141 #include <gnutls/gnutls.h>
11142 #include <gnutls/crypto.h>
11144 main ()
11146 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11148 return 0;
11150 _ACEOF
11151 if ac_fn_c_try_compile "$LINENO"; then :
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11153 $as_echo_n "checking for -lgnutls... " >&6; }
11154 if ${ac_cv_lib_soname_gnutls+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_soname_save_LIBS=$LIBS
11158 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char gnutls_global_init ();
11170 main ()
11172 return gnutls_global_init ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 case "$LIBEXT" in
11179 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11180 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11181 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11182 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11183 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11184 fi ;;
11185 esac
11187 rm -f core conftest.err conftest.$ac_objext \
11188 conftest$ac_exeext conftest.$ac_ext
11189 LIBS=$ac_check_soname_save_LIBS
11191 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11193 $as_echo "not found" >&6; }
11194 GNUTLS_CFLAGS=""
11195 else
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11197 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11199 cat >>confdefs.h <<_ACEOF
11200 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11201 _ACEOF
11206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11207 else
11208 GNUTLS_CFLAGS=""
11212 CPPFLAGS=$ac_save_CPPFLAGS
11213 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11214 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11217 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11218 case "x$with_gnutls" in
11219 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11220 xno) ;;
11221 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11222 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11223 esac
11226 CURSES_LIBS=""
11227 if test "$ac_cv_header_ncurses_h" = "yes"
11228 then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11230 $as_echo_n "checking for -lncurses... " >&6; }
11231 if ${ac_cv_lib_soname_ncurses+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_soname_save_LIBS=$LIBS
11235 LIBS="-lncurses $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char waddch ();
11247 main ()
11249 return waddch ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 case "$LIBEXT" in
11256 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11257 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11258 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11259 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11260 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11261 fi ;;
11262 esac
11264 rm -f core conftest.err conftest.$ac_objext \
11265 conftest$ac_exeext conftest.$ac_ext
11266 LIBS=$ac_check_soname_save_LIBS
11268 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11270 $as_echo "not found" >&6; }
11272 else
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11274 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11276 cat >>confdefs.h <<_ACEOF
11277 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11278 _ACEOF
11280 CURSES_LIBS="-lncurses"
11282 elif test "$ac_cv_header_curses_h" = "yes"
11283 then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11285 $as_echo_n "checking for -lcurses... " >&6; }
11286 if ${ac_cv_lib_soname_curses+:} false; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_soname_save_LIBS=$LIBS
11290 LIBS="-lcurses $LIBS"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char waddch ();
11302 main ()
11304 return waddch ();
11306 return 0;
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 case "$LIBEXT" in
11311 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11312 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'` ;;
11313 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11314 if ${ac_cv_lib_soname_curses:+false} :; then :
11315 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11316 fi ;;
11317 esac
11319 rm -f core conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_soname_save_LIBS
11323 if ${ac_cv_lib_soname_curses:+false} :; then :
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11325 $as_echo "not found" >&6; }
11327 else
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11329 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11331 cat >>confdefs.h <<_ACEOF
11332 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11333 _ACEOF
11335 CURSES_LIBS="-lcurses"
11338 ac_save_LIBS="$LIBS"
11339 LIBS="$LIBS $CURSES_LIBS"
11340 for ac_func in mousemask
11341 do :
11342 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11343 if test "x$ac_cv_func_mousemask" = xyes; then :
11344 cat >>confdefs.h <<_ACEOF
11345 #define HAVE_MOUSEMASK 1
11346 _ACEOF
11349 done
11351 LIBS="$ac_save_LIBS"
11352 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11353 case "x$with_curses" in
11354 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11355 xno) ;;
11356 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11357 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11358 esac
11361 if test "x$with_sane" != "xno"
11362 then
11363 if ${SANE_CFLAGS:+false} :; then :
11364 if ${PKG_CONFIG+:} false; then :
11365 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11368 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11369 if ${SANE_LIBS:+false} :; then :
11370 if ${PKG_CONFIG+:} false; then :
11371 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11374 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11376 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11378 ac_save_CPPFLAGS=$CPPFLAGS
11379 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11380 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11381 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11383 $as_echo_n "checking for -lsane... " >&6; }
11384 if ${ac_cv_lib_soname_sane+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lsane $SANE_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char sane_init ();
11400 main ()
11402 return sane_init ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 case "$LIBEXT" in
11409 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if ${ac_cv_lib_soname_sane:+false} :; then :
11413 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11414 fi ;;
11415 esac
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if ${ac_cv_lib_soname_sane:+false} :; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11424 SANE_CFLAGS=""
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11427 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11431 _ACEOF
11435 else
11436 SANE_CFLAGS=""
11440 CPPFLAGS=$ac_save_CPPFLAGS
11441 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11446 case "x$with_sane" in
11447 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11448 xno) ;;
11449 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11450 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11451 esac
11454 if test "x$with_v4l" != "xno"
11455 then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11457 $as_echo_n "checking for -lv4l1... " >&6; }
11458 if ${ac_cv_lib_soname_v4l1+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_soname_save_LIBS=$LIBS
11462 LIBS="-lv4l1 $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char v4l1_open ();
11474 main ()
11476 return v4l1_open ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 case "$LIBEXT" in
11483 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11486 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11487 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 fi ;;
11489 esac
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11499 else
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11501 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11503 cat >>confdefs.h <<_ACEOF
11504 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11505 _ACEOF
11510 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11511 case "x$with_v4l" in
11512 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11513 xno) ;;
11514 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11515 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11516 esac
11519 if test "x$with_gphoto" != "xno"
11520 then
11521 if ${GPHOTO2_CFLAGS:+false} :; then :
11522 if ${PKG_CONFIG+:} false; then :
11523 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11526 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11527 if ${GPHOTO2_LIBS:+false} :; then :
11528 if ${PKG_CONFIG+:} false; then :
11529 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11532 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11533 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11534 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11535 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11536 ac_save_CPPFLAGS=$CPPFLAGS
11537 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11538 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11541 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11542 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11543 $as_echo_n "(cached) " >&6
11544 else
11545 ac_check_lib_save_LIBS=$LIBS
11546 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11553 #ifdef __cplusplus
11554 extern "C"
11555 #endif
11556 char gp_camera_new ();
11558 main ()
11560 return gp_camera_new ();
11562 return 0;
11564 _ACEOF
11565 if ac_fn_c_try_link "$LINENO"; then :
11566 ac_cv_lib_gphoto2_gp_camera_new=yes
11567 else
11568 ac_cv_lib_gphoto2_gp_camera_new=no
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11575 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11578 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11580 else
11581 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11584 else
11585 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11589 CPPFLAGS=$ac_save_CPPFLAGS
11590 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11591 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11593 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11594 if ${PKG_CONFIG+:} false; then :
11595 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11599 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11600 if ${PKG_CONFIG+:} false; then :
11601 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11605 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11608 ac_save_CPPFLAGS=$CPPFLAGS
11609 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11610 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11611 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11613 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11614 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11625 #ifdef __cplusplus
11626 extern "C"
11627 #endif
11628 char gp_port_info_list_new ();
11630 main ()
11632 return gp_port_info_list_new ();
11634 return 0;
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"; then :
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11639 else
11640 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11642 rm -f core conftest.err conftest.$ac_objext \
11643 conftest$ac_exeext conftest.$ac_ext
11644 LIBS=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11647 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11648 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11650 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11652 else
11653 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11656 else
11657 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11661 CPPFLAGS=$ac_save_CPPFLAGS
11662 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11667 case "x$with_gphoto" in
11668 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11669 xno) ;;
11670 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11671 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11672 esac
11674 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11675 case "x$with_gphoto" in
11676 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11677 xno) ;;
11678 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11679 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11680 esac
11684 if test "$ac_cv_header_resolv_h" = "yes"
11685 then
11686 ac_save_LIBS="$LIBS"
11687 for lib in '' -lresolv
11689 LIBS="$lib $ac_save_LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11692 #ifdef HAVE_NETINET_IN_H
11693 #include <netinet/in.h>
11694 #endif
11695 #include <resolv.h>
11697 main ()
11699 res_query("foo",ns_c_in,0,0,0);
11701 return 0;
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"; then :
11706 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11708 RESOLV_LIBS="$lib"
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 if test "${RESOLV_LIBS+set}" = set; then
11714 break
11716 done
11717 LIBS="$ac_save_LIBS"
11720 if test "x$with_lcms2" != "xno"
11721 then
11722 if ${LCMS2_CFLAGS:+false} :; then :
11723 if ${PKG_CONFIG+:} false; then :
11724 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11728 if ${LCMS2_LIBS:+false} :; then :
11729 if ${PKG_CONFIG+:} false; then :
11730 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11734 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11735 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11736 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11737 ac_save_CPPFLAGS=$CPPFLAGS
11738 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11739 for ac_header in lcms2.h
11740 do :
11741 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11742 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11743 cat >>confdefs.h <<_ACEOF
11744 #define HAVE_LCMS2_H 1
11745 _ACEOF
11749 done
11751 if test "$ac_cv_header_lcms2_h" = "yes"
11752 then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11754 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11755 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_lib_save_LIBS=$LIBS
11759 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char cmsOpenProfileFromFile ();
11771 main ()
11773 return cmsOpenProfileFromFile ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11780 else
11781 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11788 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11789 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11791 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11793 else
11794 LCMS2_LIBS=""
11797 else
11798 LCMS2_CFLAGS=""
11799 LCMS2_LIBS=""
11801 CPPFLAGS=$ac_save_CPPFLAGS
11802 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11803 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11806 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11807 case "x$with_cms" in
11808 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11809 xno) ;;
11810 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11811 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11812 esac
11815 if test "x$with_freetype" != "xno"
11816 then
11817 if ${FREETYPE_CFLAGS:+false} :; then :
11818 if ${PKG_CONFIG+:} false; then :
11819 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11822 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11823 if ${FREETYPE_LIBS:+false} :; then :
11824 if ${PKG_CONFIG+:} false; then :
11825 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11828 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11829 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11830 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11831 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11832 ac_save_CPPFLAGS=$CPPFLAGS
11833 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11834 for ac_header in ft2build.h
11835 do :
11836 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11837 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11838 cat >>confdefs.h <<_ACEOF
11839 #define HAVE_FT2BUILD_H 1
11840 _ACEOF
11844 done
11846 if test "$ac_cv_header_ft2build_h" = "yes"
11847 then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11849 $as_echo_n "checking for -lfreetype... " >&6; }
11850 if ${ac_cv_lib_soname_freetype+:} false; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 ac_check_soname_save_LIBS=$LIBS
11854 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11861 #ifdef __cplusplus
11862 extern "C"
11863 #endif
11864 char FT_Init_FreeType ();
11866 main ()
11868 return FT_Init_FreeType ();
11870 return 0;
11872 _ACEOF
11873 if ac_fn_c_try_link "$LINENO"; then :
11874 case "$LIBEXT" in
11875 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11876 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'` ;;
11877 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11878 if ${ac_cv_lib_soname_freetype:+false} :; then :
11879 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11880 fi ;;
11881 esac
11883 rm -f core conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 LIBS=$ac_check_soname_save_LIBS
11887 if ${ac_cv_lib_soname_freetype:+false} :; then :
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11889 $as_echo "not found" >&6; }
11890 FREETYPE_LIBS=""
11891 else
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11893 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11895 cat >>confdefs.h <<_ACEOF
11896 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11897 _ACEOF
11900 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11902 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11903 #include FT_MODULE_H
11905 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11907 cat >>confdefs.h <<_ACEOF
11908 #define HAVE_FT_TRUETYPEENGINETYPE 1
11909 _ACEOF
11915 else
11916 FREETYPE_CFLAGS=""
11917 FREETYPE_LIBS=""
11919 CPPFLAGS=$ac_save_CPPFLAGS
11920 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "x$ac_cv_lib_soname_freetype" = x; then :
11925 case "x$with_freetype" in
11926 xno) ;;
11927 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11928 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11929 esac
11931 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11934 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11935 if ${ac_cv_c_ppdev+:} false; then :
11936 $as_echo_n "(cached) " >&6
11937 else
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 #ifdef HAVE_SYS_IOCTL_H
11941 # include <sys/ioctl.h>
11942 #endif
11943 #include <linux/ppdev.h>
11945 main ()
11947 ioctl (1,PPCLAIM,0)
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_compile "$LINENO"; then :
11953 ac_cv_c_ppdev="yes"
11954 else
11955 ac_cv_c_ppdev="no"
11957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11960 $as_echo "$ac_cv_c_ppdev" >&6; }
11961 if test "$ac_cv_c_ppdev" = "yes"
11962 then
11964 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11968 ac_wine_check_funcs_save_LIBS="$LIBS"
11969 LIBS="$LIBS $PTHREAD_LIBS"
11970 for ac_func in \
11971 pthread_attr_get_np \
11972 pthread_getattr_np \
11973 pthread_getthreadid_np \
11974 pthread_get_stackaddr_np \
11975 pthread_get_stacksize_np
11976 do :
11977 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11978 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11979 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11980 cat >>confdefs.h <<_ACEOF
11981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11982 _ACEOF
11985 done
11987 LIBS="$ac_wine_check_funcs_save_LIBS"
11989 if test "$ac_cv_header_zlib_h" = "yes"
11990 then
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11992 $as_echo_n "checking for inflate in -lz... " >&6; }
11993 if ${ac_cv_lib_z_inflate+:} false; then :
11994 $as_echo_n "(cached) " >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lz $LIBS"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12001 /* Override any GCC internal prototype to avoid an error.
12002 Use char because int might match the return type of a GCC
12003 builtin and then its argument prototype would still apply. */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char inflate ();
12009 main ()
12011 return inflate ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017 ac_cv_lib_z_inflate=yes
12018 else
12019 ac_cv_lib_z_inflate=no
12021 rm -f core conftest.err conftest.$ac_objext \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12026 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12027 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12029 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12031 Z_LIBS="-lz"
12036 if test "x$Z_LIBS" = "x"; then :
12037 case "x$with_zlib" in
12038 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12041 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12042 esac
12045 if test "x$enable_tools" != xno
12046 then
12047 if test "$ac_cv_header_gettext_po_h" = "yes"
12048 then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12050 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12051 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_lib_save_LIBS=$LIBS
12055 LIBS="-lgettextpo $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char po_message_msgctxt ();
12067 main ()
12069 return po_message_msgctxt ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12076 else
12077 ac_cv_lib_gettextpo_po_message_msgctxt=no
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_lib_save_LIBS
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12084 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12085 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12087 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12089 GETTEXTPO_LIBS="-lgettextpo"
12094 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12095 case "x$with_gettextpo" in
12096 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12097 xno) ;;
12098 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12099 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12100 esac
12104 if test "x$with_gstreamer" != "xno"
12105 then
12106 if ${GSTREAMER_CFLAGS:+false} :; then :
12107 if ${PKG_CONFIG+:} false; then :
12108 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12112 if ${GSTREAMER_LIBS:+false} :; then :
12113 if ${PKG_CONFIG+:} false; then :
12114 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12119 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12121 ac_save_CPPFLAGS=$CPPFLAGS
12122 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12123 ac_gst_incl=""
12124 for i in $GSTREAMER_CFLAGS
12126 case "$i" in
12127 -I*) ac_gst_incl="$ac_gst_incl $i";;
12128 esac
12129 done
12130 GSTREAMER_CFLAGS=$ac_gst_incl
12131 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12132 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12133 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12134 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12135 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12137 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12140 #include <gst/app/gstappsink.h>
12142 main ()
12144 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_compile "$LINENO"; then :
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151 $as_echo "yes" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12153 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12154 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_lib_save_LIBS=$LIBS
12158 LIBS="-lgstreamer-0.10 $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char gst_pad_get_caps_reffed ();
12170 main ()
12172 return gst_pad_get_caps_reffed ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12179 else
12180 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12187 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12188 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12190 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12191 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 ac_check_lib_save_LIBS=$LIBS
12195 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197 /* end confdefs.h. */
12199 /* Override any GCC internal prototype to avoid an error.
12200 Use char because int might match the return type of a GCC
12201 builtin and then its argument prototype would still apply. */
12202 #ifdef __cplusplus
12203 extern "C"
12204 #endif
12205 char gst_app_buffer_new ();
12207 main ()
12209 return gst_app_buffer_new ();
12211 return 0;
12213 _ACEOF
12214 if ac_fn_c_try_link "$LINENO"; then :
12215 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12216 else
12217 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12219 rm -f core conftest.err conftest.$ac_objext \
12220 conftest$ac_exeext conftest.$ac_ext
12221 LIBS=$ac_check_lib_save_LIBS
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12224 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12225 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233 $as_echo "no" >&6; }
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12239 else
12240 GSTREAMER_CFLAGS=""
12244 CPPFLAGS=$ac_save_CPPFLAGS
12245 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12246 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12249 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12250 case "x$with_gstreamer" in
12251 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12252 xno) ;;
12253 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12254 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12255 esac
12257 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12259 ALSA_LIBS=""
12261 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12262 then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12264 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12265 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12266 $as_echo_n "(cached) " >&6
12267 else
12268 ac_check_lib_save_LIBS=$LIBS
12269 LIBS="-lasound $LIBS"
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12273 /* Override any GCC internal prototype to avoid an error.
12274 Use char because int might match the return type of a GCC
12275 builtin and then its argument prototype would still apply. */
12276 #ifdef __cplusplus
12277 extern "C"
12278 #endif
12279 char snd_pcm_hw_params_get_access_mask ();
12281 main ()
12283 return snd_pcm_hw_params_get_access_mask ();
12285 return 0;
12287 _ACEOF
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12290 else
12291 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 LIBS=$ac_check_lib_save_LIBS
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12298 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12299 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12302 #ifdef HAVE_ALSA_ASOUNDLIB_H
12303 #include <alsa/asoundlib.h>
12304 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12305 #include <sys/asoundlib.h>
12306 #endif
12308 main ()
12310 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12316 ALSA_LIBS="-lasound"
12318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12323 if test "x$with_oss" != xno
12324 then
12325 ac_save_CPPFLAGS="$CPPFLAGS"
12326 if test -f /etc/oss.conf
12327 then
12328 . /etc/oss.conf
12330 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12331 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12332 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12333 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12334 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12336 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12338 cat >>confdefs.h <<_ACEOF
12339 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12340 _ACEOF
12342 OSS4_CFLAGS="$ac_oss_incl"
12349 CPPFLAGS="$ac_save_CPPFLAGS"
12350 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12351 then
12352 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12356 if test "x$with_capi" != "xno"
12357 then
12358 if ${CAPI20_CFLAGS:+false} :; then :
12359 if ${PKG_CONFIG+:} false; then :
12360 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12364 if ${CAPI20_LIBS:+false} :; then :
12365 if ${PKG_CONFIG+:} false; then :
12366 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12371 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12372 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12373 ac_save_CPPFLAGS=$CPPFLAGS
12374 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12375 for ac_header in capi20.h linux/capi.h
12376 do :
12377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12381 cat >>confdefs.h <<_ACEOF
12382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12383 _ACEOF
12387 done
12389 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12392 $as_echo_n "checking for -lcapi20... " >&6; }
12393 if ${ac_cv_lib_soname_capi20+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_soname_save_LIBS=$LIBS
12397 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char capi20_register ();
12409 main ()
12411 return capi20_register ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 case "$LIBEXT" in
12418 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12419 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'` ;;
12420 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12421 if ${ac_cv_lib_soname_capi20:+false} :; then :
12422 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12423 fi ;;
12424 esac
12426 rm -f core conftest.err conftest.$ac_objext \
12427 conftest$ac_exeext conftest.$ac_ext
12428 LIBS=$ac_check_soname_save_LIBS
12430 if ${ac_cv_lib_soname_capi20:+false} :; then :
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12432 $as_echo "not found" >&6; }
12434 else
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12436 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12438 cat >>confdefs.h <<_ACEOF
12439 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12440 _ACEOF
12445 CPPFLAGS=$ac_save_CPPFLAGS
12446 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12447 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12450 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12451 case "x$with_capi" in
12452 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12453 xno) ;;
12454 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12455 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12456 esac
12459 CUPS_CFLAGS=""
12461 if test "x$with_cups" != "xno"
12462 then
12463 ac_save_CPPFLAGS="$CPPFLAGS"
12464 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12465 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12466 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12467 for ac_header in cups/cups.h
12468 do :
12469 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12470 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define HAVE_CUPS_CUPS_H 1
12473 _ACEOF
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12475 $as_echo_n "checking for -lcups... " >&6; }
12476 if ${ac_cv_lib_soname_cups+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_check_soname_save_LIBS=$LIBS
12480 LIBS="-lcups $ac_cups_libs $LIBS"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12487 #ifdef __cplusplus
12488 extern "C"
12489 #endif
12490 char cupsGetDefault ();
12492 main ()
12494 return cupsGetDefault ();
12496 return 0;
12498 _ACEOF
12499 if ac_fn_c_try_link "$LINENO"; then :
12500 case "$LIBEXT" in
12501 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12502 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'` ;;
12503 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12504 if ${ac_cv_lib_soname_cups:+false} :; then :
12505 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12506 fi ;;
12507 esac
12509 rm -f core conftest.err conftest.$ac_objext \
12510 conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_soname_save_LIBS
12513 if ${ac_cv_lib_soname_cups:+false} :; then :
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12515 $as_echo "not found" >&6; }
12517 else
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12519 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12521 cat >>confdefs.h <<_ACEOF
12522 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12523 _ACEOF
12525 CUPS_CFLAGS="$ac_cups_cflags"
12529 done
12531 CPPFLAGS="$ac_save_CPPFLAGS"
12533 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12534 case "x$with_cups" in
12535 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12536 xno) ;;
12537 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12538 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12539 esac
12542 if test "x$with_fontconfig" != "xno"
12543 then
12544 if ${FONTCONFIG_CFLAGS:+false} :; then :
12545 if ${PKG_CONFIG+:} false; then :
12546 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12549 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12550 if ${FONTCONFIG_LIBS:+false} :; then :
12551 if ${PKG_CONFIG+:} false; then :
12552 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12555 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12557 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12558 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12559 ac_save_CPPFLAGS=$CPPFLAGS
12560 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12561 for ac_header in fontconfig/fontconfig.h
12562 do :
12563 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12564 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12565 cat >>confdefs.h <<_ACEOF
12566 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12567 _ACEOF
12571 done
12573 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12574 then
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12576 $as_echo_n "checking for -lfontconfig... " >&6; }
12577 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12578 $as_echo_n "(cached) " >&6
12579 else
12580 ac_check_soname_save_LIBS=$LIBS
12581 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 /* Override any GCC internal prototype to avoid an error.
12586 Use char because int might match the return type of a GCC
12587 builtin and then its argument prototype would still apply. */
12588 #ifdef __cplusplus
12589 extern "C"
12590 #endif
12591 char FcInit ();
12593 main ()
12595 return FcInit ();
12597 return 0;
12599 _ACEOF
12600 if ac_fn_c_try_link "$LINENO"; then :
12601 case "$LIBEXT" in
12602 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12603 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'` ;;
12604 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12605 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12606 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12607 fi ;;
12608 esac
12610 rm -f core conftest.err conftest.$ac_objext \
12611 conftest$ac_exeext conftest.$ac_ext
12612 LIBS=$ac_check_soname_save_LIBS
12614 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12616 $as_echo "not found" >&6; }
12617 FONTCONFIG_CFLAGS=""
12618 else
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12620 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12622 cat >>confdefs.h <<_ACEOF
12623 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12624 _ACEOF
12628 else
12629 FONTCONFIG_CFLAGS=""
12631 CPPFLAGS=$ac_save_CPPFLAGS
12632 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12633 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12636 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12637 case "x$with_fontconfig" in
12638 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12639 xno) ;;
12640 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12641 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12642 esac
12645 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12646 then
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12648 $as_echo_n "checking for -lgsm... " >&6; }
12649 if ${ac_cv_lib_soname_gsm+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_soname_save_LIBS=$LIBS
12653 LIBS="-lgsm $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char gsm_create ();
12665 main ()
12667 return gsm_create ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 case "$LIBEXT" in
12674 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12675 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'` ;;
12676 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12677 if ${ac_cv_lib_soname_gsm:+false} :; then :
12678 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12679 fi ;;
12680 esac
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_gsm:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12690 else
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12692 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12694 cat >>confdefs.h <<_ACEOF
12695 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12696 _ACEOF
12701 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12702 case "x$with_gsm" in
12703 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12704 xno) ;;
12705 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12706 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12707 esac
12710 if test "x$with_jpeg" != "xno"
12711 then
12712 if ${JPEG_CFLAGS:+false} :; then :
12713 if ${PKG_CONFIG+:} false; then :
12714 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12718 if ${JPEG_LIBS:+false} :; then :
12719 if ${PKG_CONFIG+:} false; then :
12720 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12725 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12727 ac_save_CPPFLAGS=$CPPFLAGS
12728 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12729 for ac_header in jpeglib.h
12730 do :
12731 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12733 cat >>confdefs.h <<_ACEOF
12734 #define HAVE_JPEGLIB_H 1
12735 _ACEOF
12739 done
12741 if test "$ac_cv_header_jpeglib_h" = "yes"
12742 then
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12744 $as_echo_n "checking for -ljpeg... " >&6; }
12745 if ${ac_cv_lib_soname_jpeg+:} false; then :
12746 $as_echo_n "(cached) " >&6
12747 else
12748 ac_check_soname_save_LIBS=$LIBS
12749 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 /* Override any GCC internal prototype to avoid an error.
12754 Use char because int might match the return type of a GCC
12755 builtin and then its argument prototype would still apply. */
12756 #ifdef __cplusplus
12757 extern "C"
12758 #endif
12759 char jpeg_start_decompress ();
12761 main ()
12763 return jpeg_start_decompress ();
12765 return 0;
12767 _ACEOF
12768 if ac_fn_c_try_link "$LINENO"; then :
12769 case "$LIBEXT" in
12770 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12771 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'` ;;
12772 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12773 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12774 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12775 fi ;;
12776 esac
12778 rm -f core conftest.err conftest.$ac_objext \
12779 conftest$ac_exeext conftest.$ac_ext
12780 LIBS=$ac_check_soname_save_LIBS
12782 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12784 $as_echo "not found" >&6; }
12785 JPEG_CFLAGS=""
12786 else
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12788 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12790 cat >>confdefs.h <<_ACEOF
12791 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12792 _ACEOF
12796 else
12797 JPEG_CFLAGS=""
12799 CPPFLAGS=$ac_save_CPPFLAGS
12800 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12801 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12804 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12805 case "x$with_jpeg" in
12806 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12807 xno) ;;
12808 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12809 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12810 esac
12813 if test "x$with_png" != "xno"
12814 then
12815 if ${PNG_CFLAGS:+false} :; then :
12816 if ${PKG_CONFIG+:} false; then :
12817 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12820 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12821 if ${PNG_LIBS:+false} :; then :
12822 if ${PKG_CONFIG+:} false; then :
12823 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12826 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12828 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12829 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12830 ac_save_CPPFLAGS=$CPPFLAGS
12831 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12832 for ac_header in png.h
12833 do :
12834 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12835 if test "x$ac_cv_header_png_h" = xyes; then :
12836 cat >>confdefs.h <<_ACEOF
12837 #define HAVE_PNG_H 1
12838 _ACEOF
12842 done
12844 if test "$ac_cv_header_png_h" = "yes"
12845 then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12847 $as_echo_n "checking for -lpng... " >&6; }
12848 if ${ac_cv_lib_soname_png+:} false; then :
12849 $as_echo_n "(cached) " >&6
12850 else
12851 ac_check_soname_save_LIBS=$LIBS
12852 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12859 #ifdef __cplusplus
12860 extern "C"
12861 #endif
12862 char png_create_read_struct ();
12864 main ()
12866 return png_create_read_struct ();
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 case "$LIBEXT" in
12873 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12874 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'` ;;
12875 *) 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'`
12876 if ${ac_cv_lib_soname_png:+false} :; then :
12877 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12878 fi ;;
12879 esac
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_soname_save_LIBS
12885 if ${ac_cv_lib_soname_png:+false} :; then :
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12887 $as_echo "not found" >&6; }
12888 PNG_CFLAGS=""
12889 else
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12891 $as_echo "$ac_cv_lib_soname_png" >&6; }
12893 cat >>confdefs.h <<_ACEOF
12894 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12895 _ACEOF
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12899 #include <png.h>
12901 main ()
12903 typeof(png_set_expand_gray_1_2_4_to_8) *p
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_compile "$LINENO"; then :
12910 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12915 else
12916 PNG_CFLAGS=""
12918 CPPFLAGS=$ac_save_CPPFLAGS
12919 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12920 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12923 if test "x$ac_cv_lib_soname_png" = "x"; then :
12924 case "x$with_png" in
12925 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12926 xno) ;;
12927 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12928 This is an error since --with-png was requested." "$LINENO" 5 ;;
12929 esac
12932 if test "x$with_tiff" != "xno"
12933 then
12934 if ${TIFF_CFLAGS:+false} :; then :
12935 if ${PKG_CONFIG+:} false; then :
12936 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12940 if ${TIFF_LIBS:+false} :; then :
12941 if ${PKG_CONFIG+:} false; then :
12942 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12947 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12948 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12949 ac_save_CPPFLAGS=$CPPFLAGS
12950 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12951 for ac_header in tiffio.h
12952 do :
12953 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12954 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12955 cat >>confdefs.h <<_ACEOF
12956 #define HAVE_TIFFIO_H 1
12957 _ACEOF
12961 done
12963 if test "$ac_cv_header_tiffio_h" = "yes"
12964 then
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12966 $as_echo_n "checking for -ltiff... " >&6; }
12967 if ${ac_cv_lib_soname_tiff+:} false; then :
12968 $as_echo_n "(cached) " >&6
12969 else
12970 ac_check_soname_save_LIBS=$LIBS
12971 LIBS="-ltiff $TIFF_LIBS $LIBS"
12972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12973 /* end confdefs.h. */
12975 /* Override any GCC internal prototype to avoid an error.
12976 Use char because int might match the return type of a GCC
12977 builtin and then its argument prototype would still apply. */
12978 #ifdef __cplusplus
12979 extern "C"
12980 #endif
12981 char TIFFClientOpen ();
12983 main ()
12985 return TIFFClientOpen ();
12987 return 0;
12989 _ACEOF
12990 if ac_fn_c_try_link "$LINENO"; then :
12991 case "$LIBEXT" in
12992 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12993 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'` ;;
12994 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12995 if ${ac_cv_lib_soname_tiff:+false} :; then :
12996 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12997 fi ;;
12998 esac
13000 rm -f core conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LIBS=$ac_check_soname_save_LIBS
13004 if ${ac_cv_lib_soname_tiff:+false} :; then :
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13006 $as_echo "not found" >&6; }
13008 else
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13010 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13012 cat >>confdefs.h <<_ACEOF
13013 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13014 _ACEOF
13019 CPPFLAGS=$ac_save_CPPFLAGS
13020 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13021 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13024 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13025 case "x$with_tiff" in
13026 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13027 xno) ;;
13028 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13029 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13030 esac
13033 if test "x$with_mpg123" != "xno"
13034 then
13035 if ${MPG123_CFLAGS:+false} :; then :
13036 if ${PKG_CONFIG+:} false; then :
13037 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13041 if ${MPG123_LIBS:+false} :; then :
13042 if ${PKG_CONFIG+:} false; then :
13043 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13047 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13048 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13049 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13050 ac_save_CPPFLAGS=$CPPFLAGS
13051 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13052 for ac_header in mpg123.h
13053 do :
13054 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13055 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13056 cat >>confdefs.h <<_ACEOF
13057 #define HAVE_MPG123_H 1
13058 _ACEOF
13062 done
13064 if test "$ac_cv_header_mpg123_h" = "yes"
13065 then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13067 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13068 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char mpg123_feed ();
13084 main ()
13086 return mpg123_feed ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 ac_cv_lib_mpg123_mpg123_feed=yes
13093 else
13094 ac_cv_lib_mpg123_mpg123_feed=no
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13101 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13102 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13104 else
13105 MPG123_LIBS=""
13108 else
13109 MPG123_CFLAGS=""
13110 MPG123_LIBS=""
13112 CPPFLAGS=$ac_save_CPPFLAGS
13113 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13114 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13117 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13118 case "x$with_mpg123" in
13119 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13120 xno) ;;
13121 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13122 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13123 esac
13125 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}
13127 if test "$ac_cv_header_AL_al_h" = "yes"
13128 then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13130 $as_echo_n "checking for -lopenal... " >&6; }
13131 if ${ac_cv_lib_soname_openal+:} false; then :
13132 $as_echo_n "(cached) " >&6
13133 else
13134 ac_check_soname_save_LIBS=$LIBS
13135 LIBS="-lopenal $LIBS"
13136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13142 #ifdef __cplusplus
13143 extern "C"
13144 #endif
13145 char alGetSource3i ();
13147 main ()
13149 return alGetSource3i ();
13151 return 0;
13153 _ACEOF
13154 if ac_fn_c_try_link "$LINENO"; then :
13155 case "$LIBEXT" in
13156 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13157 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'` ;;
13158 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13159 if ${ac_cv_lib_soname_openal:+false} :; then :
13160 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13161 fi ;;
13162 esac
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13166 LIBS=$ac_check_soname_save_LIBS
13168 if ${ac_cv_lib_soname_openal:+false} :; then :
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13170 $as_echo "not found" >&6; }
13172 else
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13174 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13176 cat >>confdefs.h <<_ACEOF
13177 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13178 _ACEOF
13180 OPENAL_LIBS="-lopenal"
13182 ac_cv_lib_openal=yes
13184 cat >>confdefs.h <<_ACEOF
13185 #define HAVE_OPENAL 1
13186 _ACEOF
13190 if test "x$ac_cv_lib_openal" != xyes; then :
13191 case "x$with_openal" in
13192 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13193 xno) ;;
13194 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13195 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13196 esac
13198 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13200 if test "$ac_cv_header_kstat_h" = "yes"
13201 then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13203 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13204 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 ac_check_lib_save_LIBS=$LIBS
13208 LIBS="-lkstat $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 char kstat_open ();
13220 main ()
13222 return kstat_open ();
13224 return 0;
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_lib_kstat_kstat_open=yes
13229 else
13230 ac_cv_lib_kstat_kstat_open=no
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13237 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13238 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13240 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13242 KSTAT_LIBS="-lkstat"
13248 if test "$ac_cv_header_libprocstat_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13251 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13252 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_lib_save_LIBS=$LIBS
13256 LIBS="-lprocstat $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char procstat_open_sysctl ();
13268 main ()
13270 return procstat_open_sysctl ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 ac_cv_lib_procstat_procstat_open_sysctl=yes
13277 else
13278 ac_cv_lib_procstat_procstat_open_sysctl=no
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_lib_save_LIBS
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13285 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13286 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13288 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13290 PROCSTAT_LIBS="-lprocstat"
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13297 $as_echo_n "checking for -lodbc... " >&6; }
13298 if ${ac_cv_lib_soname_odbc+:} false; then :
13299 $as_echo_n "(cached) " >&6
13300 else
13301 ac_check_soname_save_LIBS=$LIBS
13302 LIBS="-lodbc $LIBS"
13303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13306 /* Override any GCC internal prototype to avoid an error.
13307 Use char because int might match the return type of a GCC
13308 builtin and then its argument prototype would still apply. */
13309 #ifdef __cplusplus
13310 extern "C"
13311 #endif
13312 char SQLConnect ();
13314 main ()
13316 return SQLConnect ();
13318 return 0;
13320 _ACEOF
13321 if ac_fn_c_try_link "$LINENO"; then :
13322 case "$LIBEXT" in
13323 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13324 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'` ;;
13325 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13326 if ${ac_cv_lib_soname_odbc:+false} :; then :
13327 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13328 fi ;;
13329 esac
13331 rm -f core conftest.err conftest.$ac_objext \
13332 conftest$ac_exeext conftest.$ac_ext
13333 LIBS=$ac_check_soname_save_LIBS
13335 if ${ac_cv_lib_soname_odbc:+false} :; then :
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13337 $as_echo "not found" >&6; }
13338 cat >>confdefs.h <<_ACEOF
13339 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13340 _ACEOF
13342 else
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13344 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13346 cat >>confdefs.h <<_ACEOF
13347 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13348 _ACEOF
13353 if test "x$with_netapi" != "xno"
13354 then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13356 $as_echo_n "checking for -lnetapi... " >&6; }
13357 if ${ac_cv_lib_soname_netapi+:} false; then :
13358 $as_echo_n "(cached) " >&6
13359 else
13360 ac_check_soname_save_LIBS=$LIBS
13361 LIBS="-lnetapi $LIBS"
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 #ifdef __cplusplus
13369 extern "C"
13370 #endif
13371 char libnetapi_init ();
13373 main ()
13375 return libnetapi_init ();
13377 return 0;
13379 _ACEOF
13380 if ac_fn_c_try_link "$LINENO"; then :
13381 case "$LIBEXT" in
13382 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13383 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'` ;;
13384 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13385 if ${ac_cv_lib_soname_netapi:+false} :; then :
13386 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13387 fi ;;
13388 esac
13390 rm -f core conftest.err conftest.$ac_objext \
13391 conftest$ac_exeext conftest.$ac_ext
13392 LIBS=$ac_check_soname_save_LIBS
13394 if ${ac_cv_lib_soname_netapi:+false} :; then :
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13396 $as_echo "not found" >&6; }
13397 cat >>confdefs.h <<_ACEOF
13398 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13399 _ACEOF
13401 else
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13403 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13405 cat >>confdefs.h <<_ACEOF
13406 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13407 _ACEOF
13413 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13414 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13415 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13416 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13418 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13419 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13420 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13421 then
13422 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13426 EXTRACFLAGS=""
13428 if test "x${GCC}" = "xyes"
13429 then
13430 EXTRACFLAGS="-Wall -pipe"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13433 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13434 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 if test "$cross_compiling" = yes; then :
13438 ac_cv_c_gcc_strength_bug="yes"
13439 else
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13442 int L[4] = {0,1,2,3};
13444 main ()
13446 static int Array[3];
13447 unsigned int B = 3;
13448 int i;
13449 for(i=0; i<B; i++) Array[i] = i - 3;
13450 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13451 L[i] = 4;
13452 return (Array[1] != -2 || L[2] != 3)
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_run "$LINENO"; then :
13458 ac_cv_c_gcc_strength_bug="no"
13459 else
13460 ac_cv_c_gcc_strength_bug="yes"
13462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13463 conftest.$ac_objext conftest.beam conftest.$ac_ext
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13468 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13469 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13470 then
13471 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13475 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13476 if ${ac_cv_cflags__fno_builtin+:} false; then :
13477 $as_echo_n "(cached) " >&6
13478 else
13479 ac_wine_try_cflags_saved=$CFLAGS
13480 CFLAGS="$CFLAGS -fno-builtin"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13482 /* end confdefs.h. */
13483 int main(int argc, char **argv) { return 0; }
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"; then :
13486 ac_cv_cflags__fno_builtin=yes
13487 else
13488 ac_cv_cflags__fno_builtin=no
13490 rm -f core conftest.err conftest.$ac_objext \
13491 conftest$ac_exeext conftest.$ac_ext
13492 CFLAGS=$ac_wine_try_cflags_saved
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13495 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13496 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13497 BUILTINFLAG="-fno-builtin"
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13501 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13502 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13503 $as_echo_n "(cached) " >&6
13504 else
13505 ac_wine_try_cflags_saved=$CFLAGS
13506 CFLAGS="$CFLAGS -fno-strict-aliasing"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13509 int main(int argc, char **argv) { return 0; }
13510 _ACEOF
13511 if ac_fn_c_try_link "$LINENO"; then :
13512 ac_cv_cflags__fno_strict_aliasing=yes
13513 else
13514 ac_cv_cflags__fno_strict_aliasing=no
13516 rm -f core conftest.err conftest.$ac_objext \
13517 conftest$ac_exeext conftest.$ac_ext
13518 CFLAGS=$ac_wine_try_cflags_saved
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13521 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13522 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13523 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13525 saved_CFLAGS=$CFLAGS
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13527 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13528 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_wine_try_cflags_saved=$CFLAGS
13532 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13535 int main(int argc, char **argv) { return 0; }
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 ac_cv_cflags__Werror_unknown_warning_option=yes
13539 else
13540 ac_cv_cflags__Werror_unknown_warning_option=no
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 CFLAGS=$ac_wine_try_cflags_saved
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13547 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13548 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13549 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13552 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13553 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13554 $as_echo_n "(cached) " >&6
13555 else
13556 ac_wine_try_cflags_saved=$CFLAGS
13557 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13560 int main(int argc, char **argv) { return 0; }
13561 _ACEOF
13562 if ac_fn_c_try_link "$LINENO"; then :
13563 ac_cv_cflags__Wdeclaration_after_statement=yes
13564 else
13565 ac_cv_cflags__Wdeclaration_after_statement=no
13567 rm -f core conftest.err conftest.$ac_objext \
13568 conftest$ac_exeext conftest.$ac_ext
13569 CFLAGS=$ac_wine_try_cflags_saved
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13572 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13573 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13574 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13577 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13578 if ${ac_cv_cflags__Wempty_body+:} false; then :
13579 $as_echo_n "(cached) " >&6
13580 else
13581 ac_wine_try_cflags_saved=$CFLAGS
13582 CFLAGS="$CFLAGS -Wempty-body"
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 int main(int argc, char **argv) { return 0; }
13586 _ACEOF
13587 if ac_fn_c_try_link "$LINENO"; then :
13588 ac_cv_cflags__Wempty_body=yes
13589 else
13590 ac_cv_cflags__Wempty_body=no
13592 rm -f core conftest.err conftest.$ac_objext \
13593 conftest$ac_exeext conftest.$ac_ext
13594 CFLAGS=$ac_wine_try_cflags_saved
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13597 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13598 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13599 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13602 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13603 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13604 $as_echo_n "(cached) " >&6
13605 else
13606 ac_wine_try_cflags_saved=$CFLAGS
13607 CFLAGS="$CFLAGS -Wignored-qualifiers"
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 int main(int argc, char **argv) { return 0; }
13611 _ACEOF
13612 if ac_fn_c_try_link "$LINENO"; then :
13613 ac_cv_cflags__Wignored_qualifiers=yes
13614 else
13615 ac_cv_cflags__Wignored_qualifiers=no
13617 rm -f core conftest.err conftest.$ac_objext \
13618 conftest$ac_exeext conftest.$ac_ext
13619 CFLAGS=$ac_wine_try_cflags_saved
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13622 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13623 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13624 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13627 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13628 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_wine_try_cflags_saved=$CFLAGS
13632 CFLAGS="$CFLAGS -Wstrict-prototypes"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 int main(int argc, char **argv) { return 0; }
13636 _ACEOF
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 ac_cv_cflags__Wstrict_prototypes=yes
13639 else
13640 ac_cv_cflags__Wstrict_prototypes=no
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 CFLAGS=$ac_wine_try_cflags_saved
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13647 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13648 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13649 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13652 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13653 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13654 $as_echo_n "(cached) " >&6
13655 else
13656 ac_wine_try_cflags_saved=$CFLAGS
13657 CFLAGS="$CFLAGS -Wtype-limits"
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 int main(int argc, char **argv) { return 0; }
13661 _ACEOF
13662 if ac_fn_c_try_link "$LINENO"; then :
13663 ac_cv_cflags__Wtype_limits=yes
13664 else
13665 ac_cv_cflags__Wtype_limits=no
13667 rm -f core conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext conftest.$ac_ext
13669 CFLAGS=$ac_wine_try_cflags_saved
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13672 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13673 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13674 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13677 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13678 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13679 $as_echo_n "(cached) " >&6
13680 else
13681 ac_wine_try_cflags_saved=$CFLAGS
13682 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 int main(int argc, char **argv) { return 0; }
13686 _ACEOF
13687 if ac_fn_c_try_link "$LINENO"; then :
13688 ac_cv_cflags__Wunused_but_set_parameter=yes
13689 else
13690 ac_cv_cflags__Wunused_but_set_parameter=no
13692 rm -f core conftest.err conftest.$ac_objext \
13693 conftest$ac_exeext conftest.$ac_ext
13694 CFLAGS=$ac_wine_try_cflags_saved
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13697 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13698 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13699 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13702 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13703 if ${ac_cv_cflags__Wvla+:} false; then :
13704 $as_echo_n "(cached) " >&6
13705 else
13706 ac_wine_try_cflags_saved=$CFLAGS
13707 CFLAGS="$CFLAGS -Wvla"
13708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13710 int main(int argc, char **argv) { return 0; }
13711 _ACEOF
13712 if ac_fn_c_try_link "$LINENO"; then :
13713 ac_cv_cflags__Wvla=yes
13714 else
13715 ac_cv_cflags__Wvla=no
13717 rm -f core conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 CFLAGS=$ac_wine_try_cflags_saved
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13722 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13723 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13724 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13727 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13728 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 ac_wine_try_cflags_saved=$CFLAGS
13732 CFLAGS="$CFLAGS -Wwrite-strings"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13735 int main(int argc, char **argv) { return 0; }
13736 _ACEOF
13737 if ac_fn_c_try_link "$LINENO"; then :
13738 ac_cv_cflags__Wwrite_strings=yes
13739 else
13740 ac_cv_cflags__Wwrite_strings=no
13742 rm -f core conftest.err conftest.$ac_objext \
13743 conftest$ac_exeext conftest.$ac_ext
13744 CFLAGS=$ac_wine_try_cflags_saved
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13747 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13748 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13749 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13753 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13754 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13755 $as_echo_n "(cached) " >&6
13756 else
13757 ac_wine_try_cflags_saved=$CFLAGS
13758 CFLAGS="$CFLAGS -Wpointer-arith"
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 int main(int argc, char **argv) { return 0; }
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 ac_cv_cflags__Wpointer_arith=yes
13765 else
13766 ac_cv_cflags__Wpointer_arith=no
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13773 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13774 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13775 saved_string_h_CFLAGS=$CFLAGS
13776 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13778 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13779 if ${ac_cv_c_string_h_warnings+:} false; then :
13780 $as_echo_n "(cached) " >&6
13781 else
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 #include <string.h>
13786 main ()
13790 return 0;
13792 _ACEOF
13793 if ac_fn_c_try_compile "$LINENO"; then :
13794 ac_cv_c_string_h_warnings=no
13795 else
13796 ac_cv_c_string_h_warnings=yes
13798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13801 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13802 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13803 CFLAGS=$saved_string_h_CFLAGS
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13807 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13808 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_wine_try_cflags_saved=$CFLAGS
13812 CFLAGS="$CFLAGS -Wlogical-op"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13815 int main(int argc, char **argv) { return 0; }
13816 _ACEOF
13817 if ac_fn_c_try_link "$LINENO"; then :
13818 ac_cv_cflags__Wlogical_op=yes
13819 else
13820 ac_cv_cflags__Wlogical_op=no
13822 rm -f core conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13824 CFLAGS=$ac_wine_try_cflags_saved
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13827 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13828 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13829 saved_string_h_CFLAGS=$CFLAGS
13830 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13832 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13833 if ${ac_cv_c_logicalop_noisy+:} false; then :
13834 $as_echo_n "(cached) " >&6
13835 else
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 #include <string.h>
13839 char*f(const char *h,char n) {return strchr(h,n);}
13841 main ()
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_compile "$LINENO"; then :
13849 ac_cv_c_logicalop_noisy=no
13850 else
13851 ac_cv_c_logicalop_noisy=yes
13853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13856 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13857 CFLAGS=$saved_string_h_CFLAGS
13858 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13861 CFLAGS=$saved_CFLAGS
13863 for ac_flag in $CFLAGS; do
13864 case $ac_flag in
13865 -g) case $host_os in
13866 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13867 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13868 if ${ac_cv_cflags__gstabsp+:} false; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 ac_wine_try_cflags_saved=$CFLAGS
13872 CFLAGS="$CFLAGS -gstabs+"
13873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13874 /* end confdefs.h. */
13875 int main(int argc, char **argv) { return 0; }
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"; then :
13878 ac_cv_cflags__gstabsp=yes
13879 else
13880 ac_cv_cflags__gstabsp=no
13882 rm -f core conftest.err conftest.$ac_objext \
13883 conftest$ac_exeext conftest.$ac_ext
13884 CFLAGS=$ac_wine_try_cflags_saved
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13887 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13888 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13889 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13890 fi ;;
13891 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13892 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13893 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 ac_wine_try_cflags_saved=$CFLAGS
13897 CFLAGS="$CFLAGS -gdwarf-2"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13900 int main(int argc, char **argv) { return 0; }
13901 _ACEOF
13902 if ac_fn_c_try_link "$LINENO"; then :
13903 ac_cv_cflags__gdwarf_2=yes
13904 else
13905 ac_cv_cflags__gdwarf_2=no
13907 rm -f core conftest.err conftest.$ac_objext \
13908 conftest$ac_exeext conftest.$ac_ext
13909 CFLAGS=$ac_wine_try_cflags_saved
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13912 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13913 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13914 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13917 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13918 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 ac_wine_try_cflags_saved=$CFLAGS
13922 CFLAGS="$CFLAGS -gstrict-dwarf"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13925 int main(int argc, char **argv) { return 0; }
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 ac_cv_cflags__gstrict_dwarf=yes
13929 else
13930 ac_cv_cflags__gstrict_dwarf=no
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 CFLAGS=$ac_wine_try_cflags_saved
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13937 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13938 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13939 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13940 fi ;;
13941 esac ;;
13942 esac
13943 done
13945 case $host_cpu in
13946 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13947 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13948 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_wine_try_cflags_saved=$CFLAGS
13952 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13955 int main(int argc, char **argv) { return 0; }
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"; then :
13958 ac_cv_cflags__fno_omit_frame_pointer=yes
13959 else
13960 ac_cv_cflags__fno_omit_frame_pointer=no
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 CFLAGS=$ac_wine_try_cflags_saved
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13967 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13968 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13969 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13970 fi ;;
13971 esac
13973 case $host in
13974 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13975 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13976 if ${ac_cv_cflags__Wno_format+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_wine_try_cflags_saved=$CFLAGS
13980 CFLAGS="$CFLAGS -Wno-format"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13983 int main(int argc, char **argv) { return 0; }
13984 _ACEOF
13985 if ac_fn_c_try_link "$LINENO"; then :
13986 ac_cv_cflags__Wno_format=yes
13987 else
13988 ac_cv_cflags__Wno_format=no
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 CFLAGS=$ac_wine_try_cflags_saved
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13995 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13996 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13997 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13998 fi ;;
13999 esac
14001 if test "x$enable_maintainer_mode" = "xyes"
14002 then
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14004 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14005 if ${ac_cv_cflags__Werror+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -Werror"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__Werror=yes
14016 else
14017 ac_cv_cflags__Werror=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14024 $as_echo "$ac_cv_cflags__Werror" >&6; }
14025 if test "x$ac_cv_cflags__Werror" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14030 saved_CFLAGS="$CFLAGS"
14031 CFLAGS="$CFLAGS -Werror"
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14033 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14034 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14041 main ()
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_compile "$LINENO"; then :
14049 ac_cv_have_ms_hook_prologue="yes"
14050 else
14051 ac_cv_have_ms_hook_prologue="no"
14053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14056 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14057 CFLAGS="$saved_CFLAGS"
14058 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14059 then
14061 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14063 else
14064 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14071 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14072 if ${ac_cv_c_fortify_enabled+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 #include <string.h>
14079 main ()
14081 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14082 #error Fortify enabled
14083 #endif
14085 return 0;
14087 _ACEOF
14088 if ac_fn_c_try_compile "$LINENO"; then :
14089 ac_cv_c_fortify_enabled=no
14090 else
14091 ac_cv_c_fortify_enabled=yes
14093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14096 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14097 if test "$ac_cv_c_fortify_enabled" = yes
14098 then
14099 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14104 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14105 if ${ac_cv_c_extern_prefix+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 extern int ac_test;
14112 main ()
14114 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_c_extern_prefix="yes"
14121 else
14122 ac_cv_c_extern_prefix="no"
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14128 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14130 case $host_cpu in
14131 *i[3456789]86*)
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14133 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14134 if ${ac_cv_c_stdcall_suffix+:} false; then :
14135 $as_echo_n "(cached) " >&6
14136 else
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #ifndef _MSC_VER
14140 #define __stdcall __attribute__((__stdcall__))
14141 #endif
14142 int __stdcall ac_test(int i) { return i; }
14144 main ()
14146 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_c_stdcall_suffix="yes"
14153 else
14154 ac_cv_c_stdcall_suffix="no"
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14160 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14161 *) ac_cv_c_stdcall_suffix="no" ;;
14162 esac
14165 if test "$ac_cv_c_extern_prefix" = "yes"
14166 then
14167 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14169 asm_name_prefix="_"
14170 else
14171 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14173 asm_name_prefix=""
14177 if test "$ac_cv_c_stdcall_suffix" = "yes"
14178 then
14179 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14181 else
14182 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14188 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14189 if ${ac_cv_asm_func_def+:} false; then :
14190 $as_echo_n "(cached) " >&6
14191 else
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14196 main ()
14198 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 ac_cv_asm_func_def=".def"
14205 else
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14210 main ()
14212 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 ac_cv_asm_func_def=".type @function"
14219 else
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14224 main ()
14226 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"; then :
14232 ac_cv_asm_func_def=".type 2"
14233 else
14234 ac_cv_asm_func_def="unknown"
14236 rm -f core conftest.err conftest.$ac_objext \
14237 conftest$ac_exeext conftest.$ac_ext
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14246 $as_echo "$ac_cv_asm_func_def" >&6; }
14249 case "$ac_cv_asm_func_def" in
14250 ".def")
14251 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14253 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14254 ".type @function")
14255 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14257 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14258 ".type 2")
14259 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14261 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14263 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14265 asm_func_header="" ;;
14266 esac
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14269 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14270 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 asm(".text\n\t.long 0");
14277 main ()
14281 return 0;
14283 _ACEOF
14284 if ac_fn_c_try_compile "$LINENO"; then :
14285 ac_cv_c_asm_outside_funcs="yes"
14286 else
14287 ac_cv_c_asm_outside_funcs="no"
14289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14292 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14295 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14296 if ${ac_cv_c_dot_previous+:} false; then :
14297 $as_echo_n "(cached) " >&6
14298 else
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14303 main ()
14305 asm(".text\nac_test:\t.long 0\n\t.previous");
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 ac_cv_c_dot_previous="yes"
14312 else
14313 ac_cv_c_dot_previous="no"
14315 rm -f core conftest.err conftest.$ac_objext \
14316 conftest$ac_exeext conftest.$ac_ext
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14319 $as_echo "$ac_cv_c_dot_previous" >&6; }
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14322 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14323 if ${ac_cv_c_cfi_support+:} false; then :
14324 $as_echo_n "(cached) " >&6
14325 else
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14328 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14330 main ()
14334 return 0;
14336 _ACEOF
14337 if ac_fn_c_try_compile "$LINENO"; then :
14338 ac_cv_c_cfi_support="yes"
14339 else
14340 ac_cv_c_cfi_support="no"
14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14345 $as_echo "$ac_cv_c_cfi_support" >&6; }
14347 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14348 asm_func_trailer=""
14349 if test "$ac_cv_c_dot_previous" = "yes"
14350 then
14351 asm_func_trailer="\\n\\t.previous"
14353 if test "$ac_cv_c_cfi_support" = "yes"
14354 then
14355 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14356 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14358 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14360 UNWINDFLAGS=-fasynchronous-unwind-tables
14362 else
14363 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14367 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14370 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14371 then
14372 cat >>confdefs.h <<_ACEOF
14373 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14374 _ACEOF
14376 else
14377 cat >>confdefs.h <<_ACEOF
14378 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14379 _ACEOF
14383 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14386 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14390 case $build_os in
14391 cygwin*|mingw32*) TOOLSEXT=".exe"
14393 esac
14395 case $host_os in
14396 linux*)
14397 case $host_cpu in
14398 *i[3456789]86*|x86_64*)
14399 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14400 loader_programs="$loader_programs $wine_binary-preloader"
14401 as_fn_append LOADER_RULES "
14402 $wine_binary-preloader: preloader.o
14403 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14405 install install-lib:: $wine_binary-preloader
14406 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14408 uninstall::
14409 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14411 preloader_EXTRADEFS = $BUILTINFLAG
14412 " ;;
14413 esac
14415 esac
14416 as_fn_append LOADER_RULES "
14417 PROGRAMS = $loader_programs
14421 ac_save_CFLAGS="$CFLAGS"
14422 CFLAGS="$CFLAGS $BUILTINFLAG"
14423 for ac_func in \
14424 __res_get_state \
14425 __res_getservers \
14426 _finite \
14427 _isnan \
14428 _pclose \
14429 _popen \
14430 _snprintf \
14431 _spawnvp \
14432 _strdup \
14433 _stricmp \
14434 _strnicmp \
14435 _strtoi64 \
14436 _strtoui64 \
14437 _vsnprintf \
14438 asctime_r \
14439 chsize \
14440 dlopen \
14441 epoll_create \
14442 ffs \
14443 fnmatch \
14444 fork \
14445 fpclass \
14446 fstatfs \
14447 fstatvfs \
14448 ftruncate \
14449 futimens \
14450 futimes \
14451 futimesat \
14452 getattrlist \
14453 getdirentries \
14454 getopt_long_only \
14455 getpwuid \
14456 gettimeofday \
14457 getuid \
14458 if_nameindex \
14459 kqueue \
14460 lstat \
14461 memmove \
14462 mmap \
14463 pclose \
14464 pipe2 \
14465 poll \
14466 popen \
14467 port_create \
14468 prctl \
14469 pread \
14470 proc_pidinfo \
14471 pwrite \
14472 readdir \
14473 readlink \
14474 sched_yield \
14475 select \
14476 setproctitle \
14477 setrlimit \
14478 settimeofday \
14479 sigaltstack \
14480 sigprocmask \
14481 snprintf \
14482 statfs \
14483 statvfs \
14484 strcasecmp \
14485 strdup \
14486 strerror \
14487 strncasecmp \
14488 strtold \
14489 strtoll \
14490 strtoull \
14491 symlink \
14492 tcdrain \
14493 thr_kill2 \
14494 timegm \
14495 usleep \
14496 vsnprintf
14498 do :
14499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14502 cat >>confdefs.h <<_ACEOF
14503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14504 _ACEOF
14507 done
14509 CFLAGS="$ac_save_CFLAGS"
14511 if test "$ac_cv_func_dlopen" = no
14512 then
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14514 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14515 if ${ac_cv_lib_dl_dlopen+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 ac_check_lib_save_LIBS=$LIBS
14519 LIBS="-ldl $LIBS"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14523 /* Override any GCC internal prototype to avoid an error.
14524 Use char because int might match the return type of a GCC
14525 builtin and then its argument prototype would still apply. */
14526 #ifdef __cplusplus
14527 extern "C"
14528 #endif
14529 char dlopen ();
14531 main ()
14533 return dlopen ();
14535 return 0;
14537 _ACEOF
14538 if ac_fn_c_try_link "$LINENO"; then :
14539 ac_cv_lib_dl_dlopen=yes
14540 else
14541 ac_cv_lib_dl_dlopen=no
14543 rm -f core conftest.err conftest.$ac_objext \
14544 conftest$ac_exeext conftest.$ac_ext
14545 LIBS=$ac_check_lib_save_LIBS
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14548 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14549 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14550 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14551 DL_LIBS="-ldl"
14556 ac_wine_check_funcs_save_LIBS="$LIBS"
14557 LIBS="$LIBS $DL_LIBS"
14558 for ac_func in dladdr
14559 do :
14560 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14561 if test "x$ac_cv_func_dladdr" = xyes; then :
14562 cat >>confdefs.h <<_ACEOF
14563 #define HAVE_DLADDR 1
14564 _ACEOF
14567 done
14569 LIBS="$ac_wine_check_funcs_save_LIBS"
14571 if test "$ac_cv_func_poll" = no
14572 then
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14574 $as_echo_n "checking for poll in -lpoll... " >&6; }
14575 if ${ac_cv_lib_poll_poll+:} false; then :
14576 $as_echo_n "(cached) " >&6
14577 else
14578 ac_check_lib_save_LIBS=$LIBS
14579 LIBS="-lpoll $LIBS"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14583 /* Override any GCC internal prototype to avoid an error.
14584 Use char because int might match the return type of a GCC
14585 builtin and then its argument prototype would still apply. */
14586 #ifdef __cplusplus
14587 extern "C"
14588 #endif
14589 char poll ();
14591 main ()
14593 return poll ();
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_lib_poll_poll=yes
14600 else
14601 ac_cv_lib_poll_poll=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 LIBS=$ac_check_lib_save_LIBS
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14608 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14609 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14610 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14611 POLL_LIBS="-lpoll"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14618 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14619 if ${ac_cv_search_gethostbyname+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_func_search_save_LIBS=$LIBS
14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 #ifdef __cplusplus
14630 extern "C"
14631 #endif
14632 char gethostbyname ();
14634 main ()
14636 return gethostbyname ();
14638 return 0;
14640 _ACEOF
14641 for ac_lib in '' nsl; do
14642 if test -z "$ac_lib"; then
14643 ac_res="none required"
14644 else
14645 ac_res=-l$ac_lib
14646 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 ac_cv_search_gethostbyname=$ac_res
14651 rm -f core conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext
14653 if ${ac_cv_search_gethostbyname+:} false; then :
14654 break
14656 done
14657 if ${ac_cv_search_gethostbyname+:} false; then :
14659 else
14660 ac_cv_search_gethostbyname=no
14662 rm conftest.$ac_ext
14663 LIBS=$ac_func_search_save_LIBS
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14666 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14667 ac_res=$ac_cv_search_gethostbyname
14668 if test "$ac_res" != no; then :
14669 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14675 $as_echo_n "checking for library containing connect... " >&6; }
14676 if ${ac_cv_search_connect+:} false; then :
14677 $as_echo_n "(cached) " >&6
14678 else
14679 ac_func_search_save_LIBS=$LIBS
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14683 /* Override any GCC internal prototype to avoid an error.
14684 Use char because int might match the return type of a GCC
14685 builtin and then its argument prototype would still apply. */
14686 #ifdef __cplusplus
14687 extern "C"
14688 #endif
14689 char connect ();
14691 main ()
14693 return connect ();
14695 return 0;
14697 _ACEOF
14698 for ac_lib in '' socket; do
14699 if test -z "$ac_lib"; then
14700 ac_res="none required"
14701 else
14702 ac_res=-l$ac_lib
14703 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_search_connect=$ac_res
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext
14710 if ${ac_cv_search_connect+:} false; then :
14711 break
14713 done
14714 if ${ac_cv_search_connect+:} false; then :
14716 else
14717 ac_cv_search_connect=no
14719 rm conftest.$ac_ext
14720 LIBS=$ac_func_search_save_LIBS
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14723 $as_echo "$ac_cv_search_connect" >&6; }
14724 ac_res=$ac_cv_search_connect
14725 if test "$ac_res" != no; then :
14726 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14732 $as_echo_n "checking for library containing inet_aton... " >&6; }
14733 if ${ac_cv_search_inet_aton+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 ac_func_search_save_LIBS=$LIBS
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14743 #ifdef __cplusplus
14744 extern "C"
14745 #endif
14746 char inet_aton ();
14748 main ()
14750 return inet_aton ();
14752 return 0;
14754 _ACEOF
14755 for ac_lib in '' resolv; do
14756 if test -z "$ac_lib"; then
14757 ac_res="none required"
14758 else
14759 ac_res=-l$ac_lib
14760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_search_inet_aton=$ac_res
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext
14767 if ${ac_cv_search_inet_aton+:} false; then :
14768 break
14770 done
14771 if ${ac_cv_search_inet_aton+:} false; then :
14773 else
14774 ac_cv_search_inet_aton=no
14776 rm conftest.$ac_ext
14777 LIBS=$ac_func_search_save_LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14780 $as_echo "$ac_cv_search_inet_aton" >&6; }
14781 ac_res=$ac_cv_search_inet_aton
14782 if test "$ac_res" != no; then :
14783 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14788 for ac_func in \
14789 getaddrinfo \
14790 getnameinfo \
14791 getnetbyname \
14792 getprotobyname \
14793 getprotobynumber \
14794 getservbyport \
14795 inet_addr \
14796 inet_network \
14797 inet_ntop \
14798 inet_pton \
14799 sendmsg \
14800 socketpair \
14802 do :
14803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14806 cat >>confdefs.h <<_ACEOF
14807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14808 _ACEOF
14811 done
14814 ac_save_LIBS=$LIBS
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14816 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14817 if ${ac_cv_search_clock_gettime+:} false; then :
14818 $as_echo_n "(cached) " >&6
14819 else
14820 ac_func_search_save_LIBS=$LIBS
14821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 /* Override any GCC internal prototype to avoid an error.
14825 Use char because int might match the return type of a GCC
14826 builtin and then its argument prototype would still apply. */
14827 #ifdef __cplusplus
14828 extern "C"
14829 #endif
14830 char clock_gettime ();
14832 main ()
14834 return clock_gettime ();
14836 return 0;
14838 _ACEOF
14839 for ac_lib in '' rt; do
14840 if test -z "$ac_lib"; then
14841 ac_res="none required"
14842 else
14843 ac_res=-l$ac_lib
14844 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14846 if ac_fn_c_try_link "$LINENO"; then :
14847 ac_cv_search_clock_gettime=$ac_res
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext
14851 if ${ac_cv_search_clock_gettime+:} false; then :
14852 break
14854 done
14855 if ${ac_cv_search_clock_gettime+:} false; then :
14857 else
14858 ac_cv_search_clock_gettime=no
14860 rm conftest.$ac_ext
14861 LIBS=$ac_func_search_save_LIBS
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14864 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14865 ac_res=$ac_cv_search_clock_gettime
14866 if test "$ac_res" != no; then :
14867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14869 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14871 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14875 LIBS=$ac_save_LIBS
14877 LDAP_LIBS=""
14879 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14880 then
14881 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14883 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14885 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14886 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 ac_check_lib_save_LIBS=$LIBS
14890 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14897 #ifdef __cplusplus
14898 extern "C"
14899 #endif
14900 char ldap_initialize ();
14902 main ()
14904 return ldap_initialize ();
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_lib_ldap_r_ldap_initialize=yes
14911 else
14912 ac_cv_lib_ldap_r_ldap_initialize=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_lib_save_LIBS
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14919 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14920 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14922 $as_echo_n "checking for ber_init in -llber... " >&6; }
14923 if ${ac_cv_lib_lber_ber_init+:} false; then :
14924 $as_echo_n "(cached) " >&6
14925 else
14926 ac_check_lib_save_LIBS=$LIBS
14927 LIBS="-llber $PTHREAD_LIBS $LIBS"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 #ifdef __cplusplus
14935 extern "C"
14936 #endif
14937 char ber_init ();
14939 main ()
14941 return ber_init ();
14943 return 0;
14945 _ACEOF
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_lib_lber_ber_init=yes
14948 else
14949 ac_cv_lib_lber_ber_init=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 LIBS=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14956 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14957 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14959 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14961 LDAP_LIBS="-lldap_r -llber"
14968 ac_wine_check_funcs_save_LIBS="$LIBS"
14969 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14970 for ac_func in \
14971 ldap_count_references \
14972 ldap_first_reference \
14973 ldap_next_reference \
14974 ldap_parse_reference \
14975 ldap_parse_sort_control \
14976 ldap_parse_sortresponse_control \
14977 ldap_parse_vlv_control \
14978 ldap_parse_vlvresponse_control
14979 do :
14980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14982 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14983 cat >>confdefs.h <<_ACEOF
14984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14985 _ACEOF
14988 done
14990 LIBS="$ac_wine_check_funcs_save_LIBS"
14992 if test "x$LDAP_LIBS" = "x"; then :
14993 case "x$with_ldap" in
14994 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14995 xno) ;;
14996 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14997 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14998 esac
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15002 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15003 if ${wine_cv_one_arg_mkdir+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <sys/stat.h>
15010 main ()
15012 mkdir("foo");
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_compile "$LINENO"; then :
15018 wine_cv_one_arg_mkdir=yes
15019 else
15020 wine_cv_one_arg_mkdir=no
15022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15025 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15026 if test "$wine_cv_one_arg_mkdir" = "yes"
15027 then
15029 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15034 $as_echo_n "checking for sched_setaffinity... " >&6; }
15035 if ${wine_cv_have_sched_setaffinity+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15039 /* end confdefs.h. */
15040 #define _GNU_SOURCE
15041 #include <sched.h>
15043 main ()
15045 sched_setaffinity(0, 0, 0);
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 wine_cv_have_sched_setaffinity=yes
15052 else
15053 wine_cv_have_sched_setaffinity=no
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15059 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15060 if test "$wine_cv_have_sched_setaffinity" = "yes"
15061 then
15063 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15068 $as_echo_n "checking for fallocate... " >&6; }
15069 if ${wine_cv_have_fallocate+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #define _GNU_SOURCE
15075 #include <fcntl.h>
15077 main ()
15079 fallocate(-1, 0, 0, 0);
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 wine_cv_have_fallocate=yes
15086 else
15087 wine_cv_have_fallocate=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15093 $as_echo "$wine_cv_have_fallocate" >&6; }
15094 if test "$wine_cv_have_fallocate" = "yes"
15095 then
15097 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15103 $as_echo_n "checking for inline... " >&6; }
15104 if ${ac_cv_c_inline+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 ac_cv_c_inline=no
15108 for ac_kw in inline __inline__ __inline; do
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 #ifndef __cplusplus
15112 typedef int foo_t;
15113 static $ac_kw foo_t static_foo () {return 0; }
15114 $ac_kw foo_t foo () {return 0; }
15115 #endif
15117 _ACEOF
15118 if ac_fn_c_try_compile "$LINENO"; then :
15119 ac_cv_c_inline=$ac_kw
15121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15122 test "$ac_cv_c_inline" != no && break
15123 done
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15127 $as_echo "$ac_cv_c_inline" >&6; }
15129 case $ac_cv_c_inline in
15130 inline | yes) ;;
15132 case $ac_cv_c_inline in
15133 no) ac_val=;;
15134 *) ac_val=$ac_cv_c_inline;;
15135 esac
15136 cat >>confdefs.h <<_ACEOF
15137 #ifndef __cplusplus
15138 #define inline $ac_val
15139 #endif
15140 _ACEOF
15142 esac
15144 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15145 if test "x$ac_cv_type_mode_t" = xyes; then :
15147 cat >>confdefs.h <<_ACEOF
15148 #define HAVE_MODE_T 1
15149 _ACEOF
15153 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15154 if test "x$ac_cv_type_off_t" = xyes; then :
15156 cat >>confdefs.h <<_ACEOF
15157 #define HAVE_OFF_T 1
15158 _ACEOF
15162 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15163 if test "x$ac_cv_type_pid_t" = xyes; then :
15165 cat >>confdefs.h <<_ACEOF
15166 #define HAVE_PID_T 1
15167 _ACEOF
15171 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15172 if test "x$ac_cv_type_size_t" = xyes; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define HAVE_SIZE_T 1
15176 _ACEOF
15180 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15181 if test "x$ac_cv_type_ssize_t" = xyes; then :
15183 cat >>confdefs.h <<_ACEOF
15184 #define HAVE_SSIZE_T 1
15185 _ACEOF
15189 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15190 if test "x$ac_cv_type_long_long" = xyes; then :
15192 cat >>confdefs.h <<_ACEOF
15193 #define HAVE_LONG_LONG 1
15194 _ACEOF
15198 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15199 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15201 cat >>confdefs.h <<_ACEOF
15202 #define HAVE_FSBLKCNT_T 1
15203 _ACEOF
15207 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15208 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15210 cat >>confdefs.h <<_ACEOF
15211 #define HAVE_FSFILCNT_T 1
15212 _ACEOF
15217 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15218 #include <signal.h>
15220 if test "x$ac_cv_type_sigset_t" = xyes; then :
15222 cat >>confdefs.h <<_ACEOF
15223 #define HAVE_SIGSET_T 1
15224 _ACEOF
15229 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15231 if test "x$ac_cv_type_request_sense" = xyes; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define HAVE_REQUEST_SENSE 1
15235 _ACEOF
15241 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15242 #ifdef HAVE_SYS_SOCKET_H
15243 #include <sys/socket.h>
15244 #endif
15245 #ifdef HAVE_SYS_SOCKETVAR_H
15246 #include <sys/socketvar.h>
15247 #endif
15248 #ifdef HAVE_NET_ROUTE_H
15249 #include <net/route.h>
15250 #endif
15251 #ifdef HAVE_NETINET_IN_H
15252 #include <netinet/in.h>
15253 #endif
15254 #ifdef HAVE_NETINET_IN_SYSTM_H
15255 #include <netinet/in_systm.h>
15256 #endif
15257 #ifdef HAVE_NETINET_IP_H
15258 #include <netinet/ip.h>
15259 #endif
15260 #ifdef HAVE_NETINET_IN_PCB_H
15261 #include <netinet/in_pcb.h>
15262 #endif
15264 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15266 cat >>confdefs.h <<_ACEOF
15267 #define HAVE_STRUCT_XINPGEN 1
15268 _ACEOF
15274 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15275 #include <link.h>
15276 #endif
15277 #ifdef HAVE_SYS_LINK_H
15278 #include <sys/link.h>
15279 #endif
15281 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15283 cat >>confdefs.h <<_ACEOF
15284 #define HAVE_STRUCT_R_DEBUG 1
15285 _ACEOF
15289 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15290 #include <link.h>
15291 #endif
15292 #ifdef HAVE_SYS_LINK_H
15293 #include <sys/link.h>
15294 #endif
15296 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define HAVE_STRUCT_LINK_MAP 1
15300 _ACEOF
15306 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15307 #include <linux/input.h>
15308 #endif
15310 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15312 cat >>confdefs.h <<_ACEOF
15313 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15314 _ACEOF
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15321 $as_echo_n "checking for sigaddset... " >&6; }
15322 if ${wine_cv_have_sigaddset+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <signal.h>
15329 main ()
15331 sigset_t set; sigaddset(&set,SIGTERM);
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_link "$LINENO"; then :
15337 wine_cv_have_sigaddset=yes
15338 else
15339 wine_cv_have_sigaddset=no
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15345 $as_echo "$wine_cv_have_sigaddset" >&6; }
15346 if test "$wine_cv_have_sigaddset" = "yes"
15347 then
15349 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15355 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15356 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15357 $as_echo_n "(cached) " >&6
15358 else
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15361 #include <netdb.h>
15363 main ()
15366 char *name=0;
15367 struct hostent he;
15368 struct hostent *result;
15369 char *buf=0;
15370 int bufsize=0;
15371 int errnr;
15372 char *addr=0;
15373 int addrlen=0;
15374 int addrtype=0;
15375 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15376 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15379 return 0;
15381 _ACEOF
15382 if ac_fn_c_try_link "$LINENO"; then :
15383 wine_cv_linux_gethostbyname_r_6=yes
15384 else
15385 wine_cv_linux_gethostbyname_r_6=no
15388 rm -f core conftest.err conftest.$ac_objext \
15389 conftest$ac_exeext conftest.$ac_ext
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15393 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15394 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15395 then
15397 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15401 if test "$ac_cv_header_linux_joystick_h" = "yes"
15402 then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15404 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15405 if ${wine_cv_linux_joystick_22_api+:} false; then :
15406 $as_echo_n "(cached) " >&6
15407 else
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 #include <sys/ioctl.h>
15412 #include <sys/types.h>
15413 #include <linux/joystick.h>
15415 struct js_event blub;
15416 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15417 #error "no 2.2 header"
15418 #endif
15421 main ()
15423 /*empty*/
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_compile "$LINENO"; then :
15429 wine_cv_linux_joystick_22_api=yes
15430 else
15431 wine_cv_linux_joystick_22_api=no
15433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15437 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15438 if test "$wine_cv_linux_joystick_22_api" = "yes"
15439 then
15441 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15447 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15448 #ifdef HAVE_SYS_PARAM_H
15449 # include <sys/param.h>
15450 #endif
15451 #ifdef HAVE_SYS_MOUNT_H
15452 # include <sys/mount.h>
15453 #endif
15454 #ifdef HAVE_SYS_VFS_H
15455 # include <sys/vfs.h>
15456 #endif
15457 #ifdef HAVE_SYS_STATFS_H
15458 # include <sys/statfs.h>
15459 #endif
15461 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15463 cat >>confdefs.h <<_ACEOF
15464 #define HAVE_STRUCT_STATFS_F_BFREE 1
15465 _ACEOF
15469 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15470 #ifdef HAVE_SYS_PARAM_H
15471 # include <sys/param.h>
15472 #endif
15473 #ifdef HAVE_SYS_MOUNT_H
15474 # include <sys/mount.h>
15475 #endif
15476 #ifdef HAVE_SYS_VFS_H
15477 # include <sys/vfs.h>
15478 #endif
15479 #ifdef HAVE_SYS_STATFS_H
15480 # include <sys/statfs.h>
15481 #endif
15483 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15487 _ACEOF
15491 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15492 #ifdef HAVE_SYS_PARAM_H
15493 # include <sys/param.h>
15494 #endif
15495 #ifdef HAVE_SYS_MOUNT_H
15496 # include <sys/mount.h>
15497 #endif
15498 #ifdef HAVE_SYS_VFS_H
15499 # include <sys/vfs.h>
15500 #endif
15501 #ifdef HAVE_SYS_STATFS_H
15502 # include <sys/statfs.h>
15503 #endif
15505 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15507 cat >>confdefs.h <<_ACEOF
15508 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15509 _ACEOF
15513 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15514 #ifdef HAVE_SYS_PARAM_H
15515 # include <sys/param.h>
15516 #endif
15517 #ifdef HAVE_SYS_MOUNT_H
15518 # include <sys/mount.h>
15519 #endif
15520 #ifdef HAVE_SYS_VFS_H
15521 # include <sys/vfs.h>
15522 #endif
15523 #ifdef HAVE_SYS_STATFS_H
15524 # include <sys/statfs.h>
15525 #endif
15527 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15529 cat >>confdefs.h <<_ACEOF
15530 #define HAVE_STRUCT_STATFS_F_FFREE 1
15531 _ACEOF
15535 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_PARAM_H
15537 # include <sys/param.h>
15538 #endif
15539 #ifdef HAVE_SYS_MOUNT_H
15540 # include <sys/mount.h>
15541 #endif
15542 #ifdef HAVE_SYS_VFS_H
15543 # include <sys/vfs.h>
15544 #endif
15545 #ifdef HAVE_SYS_STATFS_H
15546 # include <sys/statfs.h>
15547 #endif
15549 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15553 _ACEOF
15557 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15558 #ifdef HAVE_SYS_PARAM_H
15559 # include <sys/param.h>
15560 #endif
15561 #ifdef HAVE_SYS_MOUNT_H
15562 # include <sys/mount.h>
15563 #endif
15564 #ifdef HAVE_SYS_VFS_H
15565 # include <sys/vfs.h>
15566 #endif
15567 #ifdef HAVE_SYS_STATFS_H
15568 # include <sys/statfs.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15575 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15582 #include <sys/statvfs.h>
15583 #endif
15585 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15587 cat >>confdefs.h <<_ACEOF
15588 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15589 _ACEOF
15595 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15596 #include <dirent.h>
15597 #endif
15599 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15601 cat >>confdefs.h <<_ACEOF
15602 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15603 _ACEOF
15609 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15610 #ifdef HAVE_SYS_SOCKET_H
15611 # include <sys/socket.h>
15612 #endif
15613 #ifdef HAVE_SYS_UN_H
15614 # include <sys/un.h>
15615 #endif
15617 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15621 _ACEOF
15625 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_SOCKET_H
15627 # include <sys/socket.h>
15628 #endif
15629 #ifdef HAVE_SYS_UN_H
15630 # include <sys/un.h>
15631 #endif
15633 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15635 cat >>confdefs.h <<_ACEOF
15636 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15637 _ACEOF
15641 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15642 #ifdef HAVE_SYS_SOCKET_H
15643 # include <sys/socket.h>
15644 #endif
15645 #ifdef HAVE_SYS_UN_H
15646 # include <sys/un.h>
15647 #endif
15649 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15651 cat >>confdefs.h <<_ACEOF
15652 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15653 _ACEOF
15659 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15660 #ifdef HAVE_SCSI_SG_H
15661 #include <scsi/sg.h>
15662 #endif
15664 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15666 cat >>confdefs.h <<_ACEOF
15667 #define HAVE_SCSIREQ_T_CMD 1
15668 _ACEOF
15672 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>
15673 #ifdef HAVE_SCSI_SG_H
15674 #include <scsi/sg.h>
15675 #endif
15677 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15679 cat >>confdefs.h <<_ACEOF
15680 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15681 _ACEOF
15687 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15689 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15691 cat >>confdefs.h <<_ACEOF
15692 #define HAVE_SIGINFO_T_SI_FD 1
15693 _ACEOF
15699 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15700 #ifdef HAVE_SYS_MTIO_H
15701 #include <sys/mtio.h>
15702 #endif
15704 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15708 _ACEOF
15712 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15713 #ifdef HAVE_SYS_MTIO_H
15714 #include <sys/mtio.h>
15715 #endif
15717 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15719 cat >>confdefs.h <<_ACEOF
15720 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15721 _ACEOF
15725 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15726 #ifdef HAVE_SYS_MTIO_H
15727 #include <sys/mtio.h>
15728 #endif
15730 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15732 cat >>confdefs.h <<_ACEOF
15733 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15734 _ACEOF
15740 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15741 #include <getopt.h>
15742 #endif
15744 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_OPTION_NAME 1
15748 _ACEOF
15754 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15755 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15764 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_STAT_ST_MTIM 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15773 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15777 _ACEOF
15781 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15782 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_STRUCT_STAT_ST_CTIM 1
15786 _ACEOF
15790 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15791 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15795 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15800 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_STRUCT_STAT_ST_ATIM 1
15804 _ACEOF
15808 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15809 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15813 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15818 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15822 _ACEOF
15826 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15827 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15831 _ACEOF
15835 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15836 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15840 _ACEOF
15844 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15845 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15849 _ACEOF
15853 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15854 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15858 _ACEOF
15864 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
15865 #include <sys/types.h>
15866 #endif
15867 #ifdef HAVE_NETINET_IN_H
15868 #include <netinet/in.h>
15869 #endif
15871 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15875 _ACEOF
15881 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15882 #include <resolv.h>
15883 #endif
15885 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT___RES_STATE 1
15889 _ACEOF
15895 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
15896 #include <resolv.h>
15897 #endif
15899 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15903 _ACEOF
15909 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15910 #include <sys/types.h>
15911 #endif
15912 #ifdef HAVE_NETINET_IN_H
15913 # include <netinet/in.h>
15914 #endif
15915 #ifdef HAVE_ARPA_NAMESER_H
15916 # include <arpa/nameser.h>
15917 #endif
15919 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15921 cat >>confdefs.h <<_ACEOF
15922 #define HAVE_NS_MSG__MSG_PTR 1
15923 _ACEOF
15929 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15930 #include <sys/types.h>
15931 #endif
15932 #ifdef HAVE_NETINET_IP_H
15933 #include <netinet/ip.h>
15934 #endif
15935 #ifdef HAVE_NETINET_IP_ICMP_H
15936 #include <netinet/ip_icmp.h>
15937 #endif
15938 #ifdef HAVE_NETINET_ICMP_VAR_H
15939 #include <netinet/icmp_var.h>
15940 #endif
15942 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15946 _ACEOF
15952 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15953 #include <sys/types.h>
15954 #endif
15955 #ifdef HAVE_ALIAS_H
15956 #include <alias.h>
15957 #endif
15958 #ifdef HAVE_SYS_SOCKET_H
15959 #include <sys/socket.h>
15960 #endif
15961 #ifdef HAVE_SYS_SOCKETVAR_H
15962 #include <sys/socketvar.h>
15963 #endif
15964 #ifdef HAVE_SYS_TIMEOUT_H
15965 #include <sys/timeout.h>
15966 #endif
15967 #ifdef HAVE_NETINET_IN_H
15968 #include <netinet/in.h>
15969 #endif
15970 #ifdef HAVE_NETINET_IN_SYSTM_H
15971 #include <netinet/in_systm.h>
15972 #endif
15973 #ifdef HAVE_NETINET_IP_H
15974 #include <netinet/ip.h>
15975 #endif
15976 #ifdef HAVE_NETINET_IP_VAR_H
15977 #include <netinet/ip_var.h>
15978 #endif
15979 #ifdef HAVE_NETINET_IP_ICMP_H
15980 #include <netinet/ip_icmp.h>
15981 #endif
15982 #ifdef HAVE_NETINET_ICMP_VAR_H
15983 #include <netinet/icmp_var.h>
15984 #endif
15986 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15990 _ACEOF
15996 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15997 #include <sys/types.h>
15998 #endif
15999 #ifdef HAVE_SYS_SOCKETVAR_H
16000 #include <sys/socketvar.h>
16001 #endif
16002 #ifdef HAVE_NETINET_IN_H
16003 #include <netinet/in.h>
16004 #endif
16005 #ifdef HAVE_NETINET_IP_VAR_H
16006 #include <netinet/ip_var.h>
16007 #endif
16009 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16013 _ACEOF
16019 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
16020 #include <netinet/ip_var.h>
16021 #endif
16023 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16027 _ACEOF
16033 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16034 #include <sys/types.h>
16035 #endif
16036 #ifdef HAVE_SYS_SOCKETVAR_H
16037 #include <sys/socketvar.h>
16038 #endif
16039 #ifdef HAVE_NETINET_IN_H
16040 #include <netinet/in.h>
16041 #endif
16042 #ifdef HAVE_NETINET_TCP_H
16043 #include <netinet/tcp.h>
16044 #endif
16045 #ifdef HAVE_NETINET_TCP_VAR_H
16046 #include <netinet/tcp_var.h>
16047 #endif
16049 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16053 _ACEOF
16059 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
16060 #include <netinet/tcp_var.h>
16061 #endif
16063 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16067 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16074 #include <sys/types.h>
16075 #endif
16076 #ifdef HAVE_NETINET_IN_H
16077 #include <netinet/in.h>
16078 #endif
16079 #ifdef HAVE_NETINET_IP_VAR_H
16080 #include <netinet/ip_var.h>
16081 #endif
16082 #ifdef HAVE_NETINET_UDP_H
16083 #include <netinet/udp.h>
16084 #endif
16085 #ifdef HAVE_NETINET_UDP_VAR_H
16086 #include <netinet/udp_var.h>
16087 #endif
16089 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16093 _ACEOF
16099 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16100 #include <sys/types.h>
16101 #endif
16102 #ifdef HAVE_NET_IF_H
16103 # include <net/if.h>
16104 #endif
16106 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16108 cat >>confdefs.h <<_ACEOF
16109 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16110 _ACEOF
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16117 $as_echo_n "checking for timezone variable... " >&6; }
16118 if ${ac_cv_have_timezone+:} false; then :
16119 $as_echo_n "(cached) " >&6
16120 else
16121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16123 #include <time.h>
16125 main ()
16127 timezone = 1
16129 return 0;
16131 _ACEOF
16132 if ac_fn_c_try_link "$LINENO"; then :
16133 ac_cv_have_timezone="yes"
16134 else
16135 ac_cv_have_timezone="no"
16137 rm -f core conftest.err conftest.$ac_objext \
16138 conftest$ac_exeext conftest.$ac_ext
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16141 $as_echo "$ac_cv_have_timezone" >&6; }
16142 if test "$ac_cv_have_timezone" = "yes"
16143 then
16145 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16149 $as_echo_n "checking for daylight variable... " >&6; }
16150 if ${ac_cv_have_daylight+:} false; then :
16151 $as_echo_n "(cached) " >&6
16152 else
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16155 #include <time.h>
16157 main ()
16159 daylight = 1
16161 return 0;
16163 _ACEOF
16164 if ac_fn_c_try_link "$LINENO"; then :
16165 ac_cv_have_daylight="yes"
16166 else
16167 ac_cv_have_daylight="no"
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16173 $as_echo "$ac_cv_have_daylight" >&6; }
16174 if test "$ac_cv_have_daylight" = "yes"
16175 then
16177 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16181 ac_save_LIBS="$LIBS"
16182 LIBS="$LIBS -lm"
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16184 $as_echo_n "checking for isfinite... " >&6; }
16185 if ${ac_cv_have_isfinite+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #define _GNU_SOURCE
16191 #include <math.h>
16193 main ()
16195 float f = 0.0; return isfinite(f)
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_link "$LINENO"; then :
16201 ac_cv_have_isfinite="yes"
16202 else
16203 ac_cv_have_isfinite="no"
16205 rm -f core conftest.err conftest.$ac_objext \
16206 conftest$ac_exeext conftest.$ac_ext
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16209 $as_echo "$ac_cv_have_isfinite" >&6; }
16210 if test "$ac_cv_have_isfinite" = "yes"
16211 then
16213 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16217 ac_save_LIBS="$LIBS"
16218 LIBS="$LIBS -lm"
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16220 $as_echo_n "checking for isinf... " >&6; }
16221 if ${ac_cv_have_isinf+:} false; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 #include <math.h>
16228 main ()
16230 float f = 0.0; return isinf(f)
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"; then :
16236 ac_cv_have_isinf="yes"
16237 else
16238 ac_cv_have_isinf="no"
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16244 $as_echo "$ac_cv_have_isinf" >&6; }
16245 if test "$ac_cv_have_isinf" = "yes"
16246 then
16248 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16253 $as_echo_n "checking for isnan... " >&6; }
16254 if ${ac_cv_have_isnan+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16259 #include <math.h>
16261 main ()
16263 float f = 0.0; return isnan(f)
16265 return 0;
16267 _ACEOF
16268 if ac_fn_c_try_link "$LINENO"; then :
16269 ac_cv_have_isnan="yes"
16270 else
16271 ac_cv_have_isnan="no"
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16277 $as_echo "$ac_cv_have_isnan" >&6; }
16278 if test "$ac_cv_have_isnan" = "yes"
16279 then
16281 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16284 LIBS="$ac_save_LIBS"
16287 case $host_cpu in
16288 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16289 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16290 if ${ac_cv_cpp_def___i386__+:} false; then :
16291 $as_echo_n "(cached) " >&6
16292 else
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16295 #ifndef __i386__
16297 #endif
16298 _ACEOF
16299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16300 $EGREP "yes" >/dev/null 2>&1; then :
16301 ac_cv_cpp_def___i386__=yes
16302 else
16303 ac_cv_cpp_def___i386__=no
16305 rm -f conftest*
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16309 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16310 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16311 CFLAGS="$CFLAGS -D__i386__"
16312 LINTFLAGS="$LINTFLAGS -D__i386__"
16313 fi ;;
16314 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16315 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16316 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 #ifndef __x86_64__
16323 #endif
16324 _ACEOF
16325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16326 $EGREP "yes" >/dev/null 2>&1; then :
16327 ac_cv_cpp_def___x86_64__=yes
16328 else
16329 ac_cv_cpp_def___x86_64__=no
16331 rm -f conftest*
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16335 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16336 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16337 CFLAGS="$CFLAGS -D__x86_64__"
16338 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16339 fi ;;
16340 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16341 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16342 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #ifndef __sparc64__
16349 #endif
16350 _ACEOF
16351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16352 $EGREP "yes" >/dev/null 2>&1; then :
16353 ac_cv_cpp_def___sparc64__=yes
16354 else
16355 ac_cv_cpp_def___sparc64__=no
16357 rm -f conftest*
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16361 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16362 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16363 CFLAGS="$CFLAGS -D__sparc64__"
16364 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16365 fi ;;
16366 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16367 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16368 if ${ac_cv_cpp_def___sparc__+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16373 #ifndef __sparc__
16375 #endif
16376 _ACEOF
16377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16378 $EGREP "yes" >/dev/null 2>&1; then :
16379 ac_cv_cpp_def___sparc__=yes
16380 else
16381 ac_cv_cpp_def___sparc__=no
16383 rm -f conftest*
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16387 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16388 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16389 CFLAGS="$CFLAGS -D__sparc__"
16390 LINTFLAGS="$LINTFLAGS -D__sparc__"
16391 fi ;;
16392 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16393 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16394 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16395 $as_echo_n "(cached) " >&6
16396 else
16397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 /* end confdefs.h. */
16399 #ifndef __powerpc64__
16401 #endif
16402 _ACEOF
16403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16404 $EGREP "yes" >/dev/null 2>&1; then :
16405 ac_cv_cpp_def___powerpc64__=yes
16406 else
16407 ac_cv_cpp_def___powerpc64__=no
16409 rm -f conftest*
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16413 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16414 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16415 CFLAGS="$CFLAGS -D__powerpc64__"
16416 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16417 fi ;;
16418 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16419 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16420 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16421 $as_echo_n "(cached) " >&6
16422 else
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16425 #ifndef __powerpc__
16427 #endif
16428 _ACEOF
16429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16430 $EGREP "yes" >/dev/null 2>&1; then :
16431 ac_cv_cpp_def___powerpc__=yes
16432 else
16433 ac_cv_cpp_def___powerpc__=no
16435 rm -f conftest*
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16439 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16440 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16441 CFLAGS="$CFLAGS -D__powerpc__"
16442 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16443 fi ;;
16444 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16445 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16446 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16447 $as_echo_n "(cached) " >&6
16448 else
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #ifndef __aarch64__
16453 #endif
16454 _ACEOF
16455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16456 $EGREP "yes" >/dev/null 2>&1; then :
16457 ac_cv_cpp_def___aarch64__=yes
16458 else
16459 ac_cv_cpp_def___aarch64__=no
16461 rm -f conftest*
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16465 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16466 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16467 CFLAGS="$CFLAGS -D__aarch64__"
16468 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16469 fi ;;
16470 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16471 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16472 if ${ac_cv_cpp_def___arm__+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16476 /* end confdefs.h. */
16477 #ifndef __arm__
16479 #endif
16480 _ACEOF
16481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16482 $EGREP "yes" >/dev/null 2>&1; then :
16483 ac_cv_cpp_def___arm__=yes
16484 else
16485 ac_cv_cpp_def___arm__=no
16487 rm -f conftest*
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16491 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16492 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16493 CFLAGS="$CFLAGS -D__arm__"
16494 LINTFLAGS="$LINTFLAGS -D__arm__"
16495 fi ;;
16496 esac
16498 case $host_vendor in
16499 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16500 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16501 if ${ac_cv_cpp_def___sun__+:} false; then :
16502 $as_echo_n "(cached) " >&6
16503 else
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16506 #ifndef __sun__
16508 #endif
16509 _ACEOF
16510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16511 $EGREP "yes" >/dev/null 2>&1; then :
16512 ac_cv_cpp_def___sun__=yes
16513 else
16514 ac_cv_cpp_def___sun__=no
16516 rm -f conftest*
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16520 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16521 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16522 CFLAGS="$CFLAGS -D__sun__"
16523 LINTFLAGS="$LINTFLAGS -D__sun__"
16524 fi ;;
16525 esac
16531 ac_config_commands="$ac_config_commands include/stamp-h"
16533 $as_echo_n "creating Makefile rules..." >&6
16535 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16536 SOCKET_LIBS = $SOCKET_LIBS
16537 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16538 IOKIT_LIBS = $IOKIT_LIBS
16539 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16540 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16541 CORESERVICES_LIBS = $CORESERVICES_LIBS
16542 APPKIT_LIBS = $APPKIT_LIBS
16543 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16544 SECURITY_LIBS = $SECURITY_LIBS
16545 COREAUDIO_LIBS = $COREAUDIO_LIBS
16546 OPENAL_LIBS = $OPENAL_LIBS
16547 OPENCL_LIBS = $OPENCL_LIBS
16548 QUICKTIME_LIBS = $QUICKTIME_LIBS
16549 CARBON_LIBS = $CARBON_LIBS
16550 PTHREAD_LIBS = $PTHREAD_LIBS
16551 X_CFLAGS = $X_CFLAGS
16552 X_PRE_LIBS = $X_PRE_LIBS
16553 X_LIBS = $X_LIBS
16554 X_EXTRA_LIBS = $X_EXTRA_LIBS
16555 XML2_CFLAGS = $XML2_CFLAGS
16556 XML2_LIBS = $XML2_LIBS
16557 XSLT_CFLAGS = $XSLT_CFLAGS
16558 XSLT_LIBS = $XSLT_LIBS
16559 DBUS_CFLAGS = $DBUS_CFLAGS
16560 DBUS_LIBS = $DBUS_LIBS
16561 HAL_CFLAGS = $HAL_CFLAGS
16562 HAL_LIBS = $HAL_LIBS
16563 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16564 GNUTLS_LIBS = $GNUTLS_LIBS
16565 SANE_CFLAGS = $SANE_CFLAGS
16566 SANE_LIBS = $SANE_LIBS
16567 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16568 GPHOTO2_LIBS = $GPHOTO2_LIBS
16569 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16570 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16571 RESOLV_LIBS = $RESOLV_LIBS
16572 LCMS2_CFLAGS = $LCMS2_CFLAGS
16573 LCMS2_LIBS = $LCMS2_LIBS
16574 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16575 FREETYPE_LIBS = $FREETYPE_LIBS
16576 Z_LIBS = $Z_LIBS
16577 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16578 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16579 GSTREAMER_LIBS = $GSTREAMER_LIBS
16580 ALSA_LIBS = $ALSA_LIBS
16581 OSS4_CFLAGS = $OSS4_CFLAGS
16582 CAPI20_CFLAGS = $CAPI20_CFLAGS
16583 CAPI20_LIBS = $CAPI20_LIBS
16584 CUPS_CFLAGS = $CUPS_CFLAGS
16585 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16586 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16587 JPEG_CFLAGS = $JPEG_CFLAGS
16588 JPEG_LIBS = $JPEG_LIBS
16589 PNG_CFLAGS = $PNG_CFLAGS
16590 PNG_LIBS = $PNG_LIBS
16591 TIFF_CFLAGS = $TIFF_CFLAGS
16592 TIFF_LIBS = $TIFF_LIBS
16593 MPG123_CFLAGS = $MPG123_CFLAGS
16594 MPG123_LIBS = $MPG123_LIBS
16595 KSTAT_LIBS = $KSTAT_LIBS
16596 PROCSTAT_LIBS = $PROCSTAT_LIBS
16597 DL_LIBS = $DL_LIBS
16598 POLL_LIBS = $POLL_LIBS
16599 RT_LIBS = $RT_LIBS
16600 LDAP_LIBS = $LDAP_LIBS
16605 wine_fn_append_rule "
16606 # Rules automatically generated by configure
16608 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16610 .INIT: Makefile
16611 .MAKEFILEDEPS:
16612 all: Makefile
16613 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16614 @./config.status Make.tmp Makefile"
16616 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16617 .gitignore: config.status
16618 @./config.status .gitignore"
16620 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16621 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16623 if test "x$enable_fonts" != xno; then
16624 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16625 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16626 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16627 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16628 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16630 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16631 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16632 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16633 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16634 ac_config_links="$ac_config_links wine:tools/winewrapper"
16635 wine_fn_config_symlink wine
16636 if test "x$enable_win64" != xno; then
16637 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16638 wine_fn_config_symlink wine64
16641 wine_fn_config_dll acledit enable_acledit
16642 wine_fn_config_dll aclui enable_aclui implib
16643 wine_fn_config_dll activeds enable_activeds implib
16644 wine_fn_config_dll actxprxy enable_actxprxy clean
16645 wine_fn_config_lib adsiid
16646 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16647 wine_fn_config_test dlls/advapi32/tests advapi32_test
16648 wine_fn_config_dll advpack enable_advpack implib
16649 wine_fn_config_test dlls/advpack/tests advpack_test
16650 wine_fn_config_dll amstream enable_amstream clean
16651 wine_fn_config_test dlls/amstream/tests amstream_test
16652 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16653 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16654 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16655 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16656 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16657 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16658 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16659 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16660 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16661 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16662 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16663 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16664 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16665 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16666 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16667 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16668 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16669 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16670 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16671 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16672 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16673 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16674 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16675 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16676 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16677 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16678 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16679 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16680 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16681 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16682 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16683 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16684 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16685 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16686 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16688 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16689 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16690 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16691 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16693 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16694 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16695 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16696 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16697 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16698 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16699 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16700 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16701 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16702 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16703 wine_fn_config_dll apphelp enable_apphelp
16704 wine_fn_config_test dlls/apphelp/tests apphelp_test
16705 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16706 wine_fn_config_dll atl enable_atl clean,implib
16707 wine_fn_config_test dlls/atl/tests atl_test
16708 wine_fn_config_dll atl100 enable_atl100 implib
16709 wine_fn_config_test dlls/atl100/tests atl100_test
16710 wine_fn_config_dll atl110 enable_atl110
16711 wine_fn_config_dll atl80 enable_atl80 implib
16712 wine_fn_config_test dlls/atl80/tests atl80_test
16713 wine_fn_config_dll atl90 enable_atl90
16714 wine_fn_config_dll authz enable_authz
16715 wine_fn_config_dll avicap32 enable_avicap32 implib
16716 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16717 wine_fn_config_test dlls/avifil32/tests avifil32_test
16718 wine_fn_config_dll avifile.dll16 enable_win16
16719 wine_fn_config_dll avrt enable_avrt implib
16720 wine_fn_config_dll bcrypt enable_bcrypt
16721 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16722 wine_fn_config_dll browseui enable_browseui clean,po
16723 wine_fn_config_test dlls/browseui/tests browseui_test
16724 wine_fn_config_dll cabinet enable_cabinet implib
16725 wine_fn_config_test dlls/cabinet/tests cabinet_test
16726 wine_fn_config_dll capi2032 enable_capi2032 implib
16727 wine_fn_config_dll cards enable_cards implib
16728 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16729 wine_fn_config_dll clusapi enable_clusapi implib
16730 wine_fn_config_dll comcat enable_comcat
16731 wine_fn_config_test dlls/comcat/tests comcat_test
16732 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16733 wine_fn_config_test dlls/comctl32/tests comctl32_test
16734 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16735 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16736 wine_fn_config_dll comm.drv16 enable_win16
16737 wine_fn_config_dll commdlg.dll16 enable_win16
16738 wine_fn_config_dll compobj.dll16 enable_win16
16739 wine_fn_config_dll compstui enable_compstui implib
16740 wine_fn_config_dll comsvcs enable_comsvcs implib
16741 wine_fn_config_dll credui enable_credui implib,po
16742 wine_fn_config_test dlls/credui/tests credui_test
16743 wine_fn_config_dll crtdll enable_crtdll implib
16744 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16745 wine_fn_config_test dlls/crypt32/tests crypt32_test
16746 wine_fn_config_dll cryptdlg enable_cryptdlg po
16747 wine_fn_config_dll cryptdll enable_cryptdll implib
16748 wine_fn_config_dll cryptnet enable_cryptnet implib
16749 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16750 wine_fn_config_dll cryptui enable_cryptui implib,po
16751 wine_fn_config_test dlls/cryptui/tests cryptui_test
16752 wine_fn_config_dll ctapi32 enable_ctapi32
16753 wine_fn_config_dll ctl3d.dll16 enable_win16
16754 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16755 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16756 wine_fn_config_dll d2d1 enable_d2d1 implib
16757 wine_fn_config_dll d3d10 enable_d3d10 implib
16758 wine_fn_config_test dlls/d3d10/tests d3d10_test
16759 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16760 wine_fn_config_dll d3d10core enable_d3d10core implib
16761 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16762 wine_fn_config_dll d3d11 enable_d3d11
16763 wine_fn_config_dll d3d8 enable_d3d8 implib
16764 wine_fn_config_test dlls/d3d8/tests d3d8_test
16765 wine_fn_config_dll d3d9 enable_d3d9 implib
16766 wine_fn_config_test dlls/d3d9/tests d3d9_test
16767 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16768 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16769 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16770 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16771 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16772 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16773 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16774 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16775 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16776 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16777 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16778 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16779 wine_fn_config_dll d3dim enable_d3dim implib
16780 wine_fn_config_dll d3drm enable_d3drm implib
16781 wine_fn_config_test dlls/d3drm/tests d3drm_test
16782 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16783 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16784 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16785 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16786 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16787 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16788 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16789 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16790 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16791 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16792 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16793 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16794 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16795 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16796 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16797 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16798 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16799 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16800 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16801 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16802 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16803 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16804 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16805 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16806 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16807 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16808 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16809 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16810 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16811 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16812 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16813 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16814 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16815 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16816 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16817 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16818 wine_fn_config_dll dbgeng enable_dbgeng implib
16819 wine_fn_config_dll dbghelp enable_dbghelp implib
16820 wine_fn_config_dll dciman32 enable_dciman32 implib
16821 wine_fn_config_dll ddeml.dll16 enable_win16
16822 wine_fn_config_dll ddraw enable_ddraw clean,implib
16823 wine_fn_config_test dlls/ddraw/tests ddraw_test
16824 wine_fn_config_dll ddrawex enable_ddrawex clean
16825 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16826 wine_fn_config_dll devenum enable_devenum clean,po
16827 wine_fn_config_test dlls/devenum/tests devenum_test
16828 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16829 wine_fn_config_dll difxapi enable_difxapi
16830 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16831 wine_fn_config_test dlls/dinput/tests dinput_test
16832 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16833 wine_fn_config_test dlls/dinput8/tests dinput8_test
16834 wine_fn_config_dll dispdib.dll16 enable_win16
16835 wine_fn_config_dll dispex enable_dispex clean
16836 wine_fn_config_test dlls/dispex/tests dispex_test
16837 wine_fn_config_dll display.drv16 enable_win16
16838 wine_fn_config_dll dmband enable_dmband clean
16839 wine_fn_config_test dlls/dmband/tests dmband_test
16840 wine_fn_config_dll dmcompos enable_dmcompos clean
16841 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16842 wine_fn_config_dll dmime enable_dmime clean
16843 wine_fn_config_test dlls/dmime/tests dmime_test
16844 wine_fn_config_dll dmloader enable_dmloader clean
16845 wine_fn_config_test dlls/dmloader/tests dmloader_test
16846 wine_fn_config_dll dmscript enable_dmscript clean
16847 wine_fn_config_test dlls/dmscript/tests dmscript_test
16848 wine_fn_config_dll dmstyle enable_dmstyle clean
16849 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16850 wine_fn_config_dll dmsynth enable_dmsynth clean
16851 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16852 wine_fn_config_dll dmusic enable_dmusic clean
16853 wine_fn_config_test dlls/dmusic/tests dmusic_test
16854 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16855 wine_fn_config_dll dnsapi enable_dnsapi implib
16856 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16857 wine_fn_config_dll dplay enable_dplay implib
16858 wine_fn_config_dll dplayx enable_dplayx clean,implib
16859 wine_fn_config_test dlls/dplayx/tests dplayx_test
16860 wine_fn_config_dll dpnaddr enable_dpnaddr
16861 wine_fn_config_dll dpnet enable_dpnet clean,implib
16862 wine_fn_config_test dlls/dpnet/tests dpnet_test
16863 wine_fn_config_dll dpnhpast enable_dpnhpast
16864 wine_fn_config_dll dpnlobby enable_dpnlobby
16865 wine_fn_config_dll dpwsockx enable_dpwsockx
16866 wine_fn_config_dll drmclien enable_drmclien
16867 wine_fn_config_dll dsound enable_dsound clean,implib
16868 wine_fn_config_test dlls/dsound/tests dsound_test
16869 wine_fn_config_dll dssenh enable_dssenh
16870 wine_fn_config_test dlls/dssenh/tests dssenh_test
16871 wine_fn_config_dll dswave enable_dswave clean
16872 wine_fn_config_test dlls/dswave/tests dswave_test
16873 wine_fn_config_dll dwmapi enable_dwmapi implib
16874 wine_fn_config_dll dwrite enable_dwrite implib
16875 wine_fn_config_test dlls/dwrite/tests dwrite_test
16876 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16877 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16878 wine_fn_config_lib dxerr8
16879 wine_fn_config_lib dxerr9
16880 wine_fn_config_dll dxgi enable_dxgi implib
16881 wine_fn_config_test dlls/dxgi/tests dxgi_test
16882 wine_fn_config_lib dxguid
16883 wine_fn_config_dll dxva2 enable_dxva2
16884 wine_fn_config_dll explorerframe enable_explorerframe clean
16885 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16886 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16887 wine_fn_config_dll faultrep enable_faultrep implib
16888 wine_fn_config_test dlls/faultrep/tests faultrep_test
16889 wine_fn_config_dll fltlib enable_fltlib
16890 wine_fn_config_dll fntcache enable_fntcache
16891 wine_fn_config_dll fontsub enable_fontsub
16892 wine_fn_config_dll fusion enable_fusion
16893 wine_fn_config_test dlls/fusion/tests fusion_test
16894 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16895 wine_fn_config_dll gameux enable_gameux clean
16896 wine_fn_config_test dlls/gameux/tests gameux_test
16897 wine_fn_config_dll gdi.exe16 enable_win16
16898 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16899 wine_fn_config_test dlls/gdi32/tests gdi32_test
16900 wine_fn_config_dll gdiplus enable_gdiplus implib
16901 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16902 wine_fn_config_dll glu32 enable_glu32 implib
16903 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16904 wine_fn_config_dll gpkcsp enable_gpkcsp
16905 wine_fn_config_dll hal enable_hal
16906 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16907 wine_fn_config_dll hid enable_hid implib
16908 wine_fn_config_dll hlink enable_hlink clean,implib
16909 wine_fn_config_test dlls/hlink/tests hlink_test
16910 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16911 wine_fn_config_dll httpapi enable_httpapi
16912 wine_fn_config_dll iccvid enable_iccvid po
16913 wine_fn_config_dll icmp enable_icmp
16914 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16915 wine_fn_config_test dlls/ieframe/tests ieframe_test
16916 wine_fn_config_dll ifsmgr.vxd enable_win16
16917 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16918 wine_fn_config_dll imagehlp enable_imagehlp implib
16919 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16920 wine_fn_config_dll imm.dll16 enable_win16
16921 wine_fn_config_dll imm32 enable_imm32 implib
16922 wine_fn_config_test dlls/imm32/tests imm32_test
16923 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16924 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16925 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16926 wine_fn_config_dll inetmib1 enable_inetmib1
16927 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16928 wine_fn_config_dll infosoft enable_infosoft clean
16929 wine_fn_config_test dlls/infosoft/tests infosoft_test
16930 wine_fn_config_dll initpki enable_initpki
16931 wine_fn_config_dll inkobj enable_inkobj
16932 wine_fn_config_dll inseng enable_inseng clean
16933 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16934 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16935 wine_fn_config_dll itircl enable_itircl
16936 wine_fn_config_dll itss enable_itss clean
16937 wine_fn_config_test dlls/itss/tests itss_test
16938 wine_fn_config_dll joy.cpl enable_joy_cpl po
16939 wine_fn_config_dll jscript enable_jscript clean,po
16940 wine_fn_config_test dlls/jscript/tests jscript_test
16941 wine_fn_config_dll jsproxy enable_jsproxy implib
16942 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16943 wine_fn_config_test dlls/kernel32/tests kernel32_test
16944 wine_fn_config_dll keyboard.drv16 enable_win16
16945 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16946 wine_fn_config_dll ktmw32 enable_ktmw32
16947 wine_fn_config_dll loadperf enable_loadperf implib
16948 wine_fn_config_dll localspl enable_localspl po
16949 wine_fn_config_test dlls/localspl/tests localspl_test
16950 wine_fn_config_dll localui enable_localui po
16951 wine_fn_config_test dlls/localui/tests localui_test
16952 wine_fn_config_dll lz32 enable_lz32 implib
16953 wine_fn_config_test dlls/lz32/tests lz32_test
16954 wine_fn_config_dll lzexpand.dll16 enable_win16
16955 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16956 wine_fn_config_test dlls/mapi32/tests mapi32_test
16957 wine_fn_config_dll mapistub enable_mapistub
16958 wine_fn_config_dll mciavi32 enable_mciavi32
16959 wine_fn_config_dll mcicda enable_mcicda
16960 wine_fn_config_dll mciqtz32 enable_mciqtz32
16961 wine_fn_config_dll mciseq enable_mciseq
16962 wine_fn_config_dll mciwave enable_mciwave
16963 wine_fn_config_dll mgmtapi enable_mgmtapi
16964 wine_fn_config_dll midimap enable_midimap
16965 wine_fn_config_dll mlang enable_mlang clean,implib
16966 wine_fn_config_test dlls/mlang/tests mlang_test
16967 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16968 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16969 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16970 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16971 wine_fn_config_dll mmdevldr.vxd enable_win16
16972 wine_fn_config_dll mmsystem.dll16 enable_win16
16973 wine_fn_config_dll monodebg.vxd enable_win16
16974 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16975 wine_fn_config_dll mouse.drv16 enable_win16
16976 wine_fn_config_dll mpr enable_mpr implib,po
16977 wine_fn_config_test dlls/mpr/tests mpr_test
16978 wine_fn_config_dll mprapi enable_mprapi implib
16979 wine_fn_config_dll msacm.dll16 enable_win16
16980 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16981 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16982 wine_fn_config_test dlls/msacm32/tests msacm32_test
16983 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16984 wine_fn_config_dll mscat32 enable_mscat32
16985 wine_fn_config_dll mscms enable_mscms implib
16986 wine_fn_config_test dlls/mscms/tests mscms_test
16987 wine_fn_config_dll mscoree enable_mscoree clean
16988 wine_fn_config_test dlls/mscoree/tests mscoree_test
16989 wine_fn_config_dll msctf enable_msctf clean
16990 wine_fn_config_test dlls/msctf/tests msctf_test
16991 wine_fn_config_dll msdaps enable_msdaps clean
16992 wine_fn_config_dll msdmo enable_msdmo implib
16993 wine_fn_config_dll msftedit enable_msftedit
16994 wine_fn_config_dll msg711.acm enable_msg711_acm
16995 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16996 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16997 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16998 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16999 wine_fn_config_dll msi enable_msi clean,implib,po
17000 wine_fn_config_test dlls/msi/tests msi_test
17001 wine_fn_config_dll msident enable_msident clean
17002 wine_fn_config_dll msimg32 enable_msimg32 implib
17003 wine_fn_config_dll msimsg enable_msimsg
17004 wine_fn_config_dll msimtf enable_msimtf clean
17005 wine_fn_config_dll msisip enable_msisip
17006 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17007 wine_fn_config_dll msls31 enable_msls31
17008 wine_fn_config_dll msnet32 enable_msnet32
17009 wine_fn_config_dll mspatcha enable_mspatcha
17010 wine_fn_config_dll msrle32 enable_msrle32 po
17011 wine_fn_config_test dlls/msrle32/tests msrle32_test
17012 wine_fn_config_dll mssign32 enable_mssign32
17013 wine_fn_config_dll mssip32 enable_mssip32
17014 wine_fn_config_dll mstask enable_mstask clean
17015 wine_fn_config_test dlls/mstask/tests mstask_test
17016 wine_fn_config_dll msvcirt enable_msvcirt
17017 wine_fn_config_dll msvcm80 enable_msvcm80
17018 wine_fn_config_dll msvcm90 enable_msvcm90
17019 wine_fn_config_dll msvcp100 enable_msvcp100
17020 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17021 wine_fn_config_dll msvcp110 enable_msvcp110
17022 wine_fn_config_dll msvcp60 enable_msvcp60
17023 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17024 wine_fn_config_dll msvcp70 enable_msvcp70
17025 wine_fn_config_dll msvcp71 enable_msvcp71
17026 wine_fn_config_dll msvcp80 enable_msvcp80
17027 wine_fn_config_dll msvcp90 enable_msvcp90
17028 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17029 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17030 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17031 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17032 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17033 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17034 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17035 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17036 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17037 wine_fn_config_dll msvcrt enable_msvcrt implib
17038 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17039 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17040 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17041 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17042 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17043 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17044 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17045 wine_fn_config_dll msvidc32 enable_msvidc32 po
17046 wine_fn_config_dll msvideo.dll16 enable_win16
17047 wine_fn_config_dll mswsock enable_mswsock implib
17048 wine_fn_config_dll msxml enable_msxml clean
17049 wine_fn_config_dll msxml2 enable_msxml2 clean
17050 wine_fn_config_dll msxml3 enable_msxml3 clean
17051 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17052 wine_fn_config_dll msxml4 enable_msxml4 clean
17053 wine_fn_config_dll msxml6 enable_msxml6 clean
17054 wine_fn_config_dll nddeapi enable_nddeapi implib
17055 wine_fn_config_dll netapi32 enable_netapi32 implib
17056 wine_fn_config_test dlls/netapi32/tests netapi32_test
17057 wine_fn_config_dll netcfgx enable_netcfgx clean
17058 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17059 wine_fn_config_dll netprofm enable_netprofm clean
17060 wine_fn_config_test dlls/netprofm/tests netprofm_test
17061 wine_fn_config_dll newdev enable_newdev implib
17062 wine_fn_config_dll normaliz enable_normaliz implib
17063 wine_fn_config_dll npmshtml enable_npmshtml
17064 wine_fn_config_dll ntdll enable_ntdll implib
17065 wine_fn_config_test dlls/ntdll/tests ntdll_test
17066 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17067 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17068 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17069 wine_fn_config_dll ntprint enable_ntprint
17070 wine_fn_config_test dlls/ntprint/tests ntprint_test
17071 wine_fn_config_dll objsel enable_objsel clean
17072 wine_fn_config_dll odbc32 enable_odbc32 implib
17073 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17074 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17075 wine_fn_config_dll odbccu32 enable_odbccu32
17076 wine_fn_config_dll ole2.dll16 enable_win16
17077 wine_fn_config_dll ole2conv.dll16 enable_win16
17078 wine_fn_config_dll ole2disp.dll16 enable_win16
17079 wine_fn_config_dll ole2nls.dll16 enable_win16
17080 wine_fn_config_dll ole2prox.dll16 enable_win16
17081 wine_fn_config_dll ole2thk.dll16 enable_win16
17082 wine_fn_config_dll ole32 enable_ole32 clean,implib
17083 wine_fn_config_test dlls/ole32/tests ole32_test
17084 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17085 wine_fn_config_test dlls/oleacc/tests oleacc_test
17086 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17087 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17088 wine_fn_config_dll olecli.dll16 enable_win16
17089 wine_fn_config_dll olecli32 enable_olecli32 implib
17090 wine_fn_config_dll oledb32 enable_oledb32 clean
17091 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17092 wine_fn_config_dll oledlg enable_oledlg implib,po
17093 wine_fn_config_dll olepro32 enable_olepro32 implib
17094 wine_fn_config_dll olesvr.dll16 enable_win16
17095 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17096 wine_fn_config_dll olethk32 enable_olethk32
17097 wine_fn_config_dll openal32 enable_openal32
17098 wine_fn_config_dll opencl enable_opencl
17099 wine_fn_config_dll opengl32 enable_opengl32 implib
17100 wine_fn_config_test dlls/opengl32/tests opengl32_test
17101 wine_fn_config_dll pdh enable_pdh implib
17102 wine_fn_config_test dlls/pdh/tests pdh_test
17103 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17104 wine_fn_config_dll pidgen enable_pidgen
17105 wine_fn_config_dll powrprof enable_powrprof implib
17106 wine_fn_config_dll printui enable_printui
17107 wine_fn_config_dll propsys enable_propsys clean,implib
17108 wine_fn_config_test dlls/propsys/tests propsys_test
17109 wine_fn_config_dll psapi enable_psapi implib
17110 wine_fn_config_test dlls/psapi/tests psapi_test
17111 wine_fn_config_dll pstorec enable_pstorec clean
17112 wine_fn_config_dll qcap enable_qcap
17113 wine_fn_config_test dlls/qcap/tests qcap_test
17114 wine_fn_config_dll qedit enable_qedit clean
17115 wine_fn_config_test dlls/qedit/tests qedit_test
17116 wine_fn_config_dll qmgr enable_qmgr clean
17117 wine_fn_config_test dlls/qmgr/tests qmgr_test
17118 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17119 wine_fn_config_dll quartz enable_quartz clean,implib
17120 wine_fn_config_test dlls/quartz/tests quartz_test clean
17121 wine_fn_config_dll query enable_query
17122 wine_fn_config_dll rasapi16.dll16 enable_win16
17123 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17124 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17125 wine_fn_config_dll rasdlg enable_rasdlg implib
17126 wine_fn_config_dll regapi enable_regapi
17127 wine_fn_config_dll resutils enable_resutils implib
17128 wine_fn_config_dll riched20 enable_riched20 implib
17129 wine_fn_config_test dlls/riched20/tests riched20_test
17130 wine_fn_config_dll riched32 enable_riched32
17131 wine_fn_config_test dlls/riched32/tests riched32_test
17132 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17133 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17134 wine_fn_config_dll rsabase enable_rsabase
17135 wine_fn_config_dll rsaenh enable_rsaenh implib
17136 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17137 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17138 wine_fn_config_dll rtutils enable_rtutils implib
17139 wine_fn_config_dll samlib enable_samlib
17140 wine_fn_config_dll sane.ds enable_sane_ds po
17141 wine_fn_config_dll scarddlg enable_scarddlg
17142 wine_fn_config_dll sccbase enable_sccbase
17143 wine_fn_config_dll schannel enable_schannel
17144 wine_fn_config_test dlls/schannel/tests schannel_test
17145 wine_fn_config_dll schedsvc enable_schedsvc clean
17146 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17147 wine_fn_config_dll scrrun enable_scrrun clean
17148 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17149 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17150 wine_fn_config_dll secur32 enable_secur32 implib
17151 wine_fn_config_test dlls/secur32/tests secur32_test
17152 wine_fn_config_dll security enable_security
17153 wine_fn_config_dll sensapi enable_sensapi implib
17154 wine_fn_config_dll serialui enable_serialui implib,po
17155 wine_fn_config_test dlls/serialui/tests serialui_test
17156 wine_fn_config_dll setupapi enable_setupapi implib,po
17157 wine_fn_config_test dlls/setupapi/tests setupapi_test
17158 wine_fn_config_dll setupx.dll16 enable_win16
17159 wine_fn_config_dll sfc enable_sfc implib
17160 wine_fn_config_dll sfc_os enable_sfc_os implib
17161 wine_fn_config_dll shdoclc enable_shdoclc po
17162 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17163 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17164 wine_fn_config_dll shell.dll16 enable_win16
17165 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17166 wine_fn_config_test dlls/shell32/tests shell32_test
17167 wine_fn_config_dll shfolder enable_shfolder implib
17168 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17169 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17170 wine_fn_config_dll slbcsp enable_slbcsp
17171 wine_fn_config_dll slc enable_slc implib
17172 wine_fn_config_dll snmpapi enable_snmpapi implib
17173 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17174 wine_fn_config_dll softpub enable_softpub
17175 wine_fn_config_dll sound.drv16 enable_win16
17176 wine_fn_config_dll spoolss enable_spoolss implib
17177 wine_fn_config_test dlls/spoolss/tests spoolss_test
17178 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17179 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17180 wine_fn_config_dll sti enable_sti clean,implib
17181 wine_fn_config_test dlls/sti/tests sti_test
17182 wine_fn_config_dll storage.dll16 enable_win16
17183 wine_fn_config_dll stress.dll16 enable_win16
17184 wine_fn_config_lib strmbase
17185 wine_fn_config_lib strmiids
17186 wine_fn_config_dll svrapi enable_svrapi
17187 wine_fn_config_dll sxs enable_sxs implib
17188 wine_fn_config_test dlls/sxs/tests sxs_test
17189 wine_fn_config_dll system.drv16 enable_win16
17190 wine_fn_config_dll t2embed enable_t2embed
17191 wine_fn_config_dll tapi32 enable_tapi32 implib
17192 wine_fn_config_dll taskschd enable_taskschd clean
17193 wine_fn_config_test dlls/taskschd/tests taskschd_test
17194 wine_fn_config_dll toolhelp.dll16 enable_win16
17195 wine_fn_config_dll traffic enable_traffic
17196 wine_fn_config_dll twain.dll16 enable_win16
17197 wine_fn_config_dll twain_32 enable_twain_32
17198 wine_fn_config_test dlls/twain_32/tests twain_32_test
17199 wine_fn_config_dll typelib.dll16 enable_win16
17200 wine_fn_config_dll unicows enable_unicows implib
17201 wine_fn_config_dll updspapi enable_updspapi
17202 wine_fn_config_dll url enable_url implib
17203 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17204 wine_fn_config_test dlls/urlmon/tests urlmon_test
17205 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17206 wine_fn_config_dll user.exe16 enable_win16
17207 wine_fn_config_dll user32 enable_user32 clean,implib,po
17208 wine_fn_config_test dlls/user32/tests user32_test
17209 wine_fn_config_dll userenv enable_userenv implib
17210 wine_fn_config_test dlls/userenv/tests userenv_test
17211 wine_fn_config_dll usp10 enable_usp10 implib
17212 wine_fn_config_test dlls/usp10/tests usp10_test
17213 wine_fn_config_lib uuid
17214 wine_fn_config_dll uxtheme enable_uxtheme implib
17215 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17216 wine_fn_config_dll vbscript enable_vbscript clean
17217 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17218 wine_fn_config_dll vcomp enable_vcomp
17219 wine_fn_config_dll vcomp100 enable_vcomp100
17220 wine_fn_config_dll vcomp90 enable_vcomp90
17221 wine_fn_config_dll vdhcp.vxd enable_win16
17222 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17223 wine_fn_config_dll ver.dll16 enable_win16
17224 wine_fn_config_dll version enable_version implib
17225 wine_fn_config_test dlls/version/tests version_test
17226 wine_fn_config_dll vmm.vxd enable_win16
17227 wine_fn_config_dll vnbt.vxd enable_win16
17228 wine_fn_config_dll vnetbios.vxd enable_win16
17229 wine_fn_config_dll vtdapi.vxd enable_win16
17230 wine_fn_config_dll vwin32.vxd enable_win16
17231 wine_fn_config_dll w32skrnl enable_win16
17232 wine_fn_config_dll w32sys.dll16 enable_win16
17233 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17234 wine_fn_config_dll wbemprox enable_wbemprox clean
17235 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17236 wine_fn_config_dll webservices enable_webservices implib
17237 wine_fn_config_dll wer enable_wer implib
17238 wine_fn_config_test dlls/wer/tests wer_test
17239 wine_fn_config_dll wevtapi enable_wevtapi
17240 wine_fn_config_dll wiaservc enable_wiaservc clean
17241 wine_fn_config_dll win32s16.dll16 enable_win16
17242 wine_fn_config_dll win87em.dll16 enable_win16
17243 wine_fn_config_dll winaspi.dll16 enable_win16
17244 wine_fn_config_dll windebug.dll16 enable_win16
17245 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17246 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17247 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17248 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17249 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17250 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17251 wine_fn_config_lib winecrt0
17252 wine_fn_config_dll wined3d enable_wined3d implib
17253 wine_fn_config_dll winegstreamer enable_winegstreamer
17254 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17255 wine_fn_config_dll winemac.drv enable_winemac_drv
17256 wine_fn_config_dll winemapi enable_winemapi
17257 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17258 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17259 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17260 wine_fn_config_dll wineps16.drv16 enable_win16
17261 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17262 wine_fn_config_dll winex11.drv enable_winex11_drv
17263 wine_fn_config_dll wing.dll16 enable_win16
17264 wine_fn_config_dll wing32 enable_wing32
17265 wine_fn_config_dll winhttp enable_winhttp clean,implib
17266 wine_fn_config_test dlls/winhttp/tests winhttp_test
17267 wine_fn_config_dll wininet enable_wininet implib,po
17268 wine_fn_config_test dlls/wininet/tests wininet_test
17269 wine_fn_config_dll winmm enable_winmm implib,po
17270 wine_fn_config_test dlls/winmm/tests winmm_test
17271 wine_fn_config_dll winnls.dll16 enable_win16
17272 wine_fn_config_dll winnls32 enable_winnls32 implib
17273 wine_fn_config_dll winscard enable_winscard implib
17274 wine_fn_config_dll winsock.dll16 enable_win16
17275 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17276 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17277 wine_fn_config_dll winsta enable_winsta
17278 wine_fn_config_dll wintab.dll16 enable_win16
17279 wine_fn_config_dll wintab32 enable_wintab32 implib
17280 wine_fn_config_test dlls/wintab32/tests wintab32_test
17281 wine_fn_config_dll wintrust enable_wintrust implib
17282 wine_fn_config_test dlls/wintrust/tests wintrust_test
17283 wine_fn_config_dll wlanapi enable_wlanapi
17284 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17285 wine_fn_config_test dlls/wldap32/tests wldap32_test
17286 wine_fn_config_dll wmi enable_wmi
17287 wine_fn_config_dll wmiutils enable_wmiutils clean
17288 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17289 wine_fn_config_dll wmp enable_wmp clean
17290 wine_fn_config_test dlls/wmp/tests wmp_test
17291 wine_fn_config_dll wmvcore enable_wmvcore
17292 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17293 wine_fn_config_dll wow32 enable_win16 implib
17294 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17295 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17296 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17297 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17298 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17299 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17300 wine_fn_config_dll wsock32 enable_wsock32 implib
17301 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17302 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17303 wine_fn_config_dll wuapi enable_wuapi clean
17304 wine_fn_config_dll wuaueng enable_wuaueng
17305 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17306 wine_fn_config_dll xinput1_1 enable_xinput1_1
17307 wine_fn_config_dll xinput1_2 enable_xinput1_2
17308 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17309 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17310 wine_fn_config_dll xinput1_4 enable_xinput1_4
17311 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17312 wine_fn_config_dll xmllite enable_xmllite implib
17313 wine_fn_config_test dlls/xmllite/tests xmllite_test
17314 wine_fn_config_dll xolehlp enable_xolehlp
17315 wine_fn_config_dll xpsprint enable_xpsprint
17316 wine_fn_config_dll xpssvcs enable_xpssvcs
17317 wine_fn_config_makefile documentation enable_documentation clean
17318 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17319 wine_fn_config_makefile include enable_include clean,install-dev
17320 wine_fn_config_makefile libs/port enable_libs_port
17321 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17322 wine_fn_config_makefile libs/wpp enable_libs_wpp
17323 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17324 wine_fn_config_program arp enable_arp install
17325 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17326 wine_fn_config_program attrib enable_attrib install,po
17327 wine_fn_config_program cabarc enable_cabarc install
17328 wine_fn_config_program cacls enable_cacls install
17329 wine_fn_config_program clock enable_clock install,po
17330 wine_fn_config_program cmd enable_cmd install,po
17331 wine_fn_config_test programs/cmd/tests cmd.exe_test
17332 wine_fn_config_program conhost enable_conhost install
17333 wine_fn_config_program control enable_control install
17334 wine_fn_config_program cscript enable_cscript install
17335 wine_fn_config_program dpnsvr enable_dpnsvr install
17336 wine_fn_config_program dxdiag enable_dxdiag install,po
17337 wine_fn_config_program eject enable_eject install
17338 wine_fn_config_program expand enable_expand install
17339 wine_fn_config_program explorer enable_explorer install,po
17340 wine_fn_config_program extrac32 enable_extrac32 install
17341 wine_fn_config_program findstr enable_findstr install
17342 wine_fn_config_program hh enable_hh install
17343 wine_fn_config_program hostname enable_hostname install,po
17344 wine_fn_config_program icinfo enable_icinfo install
17345 wine_fn_config_program iexplore enable_iexplore install
17346 wine_fn_config_program ipconfig enable_ipconfig install,po
17347 wine_fn_config_program lodctr enable_lodctr install
17348 wine_fn_config_program mofcomp enable_mofcomp install
17349 wine_fn_config_program mshta enable_mshta install
17350 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17351 wine_fn_config_program net enable_net install,po
17352 wine_fn_config_program netsh enable_netsh install
17353 wine_fn_config_program netstat enable_netstat install,po
17354 wine_fn_config_program ngen enable_ngen install
17355 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17356 wine_fn_config_program oleview enable_oleview install,po
17357 wine_fn_config_program ping enable_ping install
17358 wine_fn_config_program plugplay enable_plugplay install
17359 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17360 wine_fn_config_program progman enable_progman install,po
17361 wine_fn_config_program reg enable_reg install,po
17362 wine_fn_config_program regasm enable_regasm install
17363 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17364 wine_fn_config_test programs/regedit/tests regedit.exe_test
17365 wine_fn_config_program regsvcs enable_regsvcs install
17366 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17367 wine_fn_config_program rpcss enable_rpcss clean,install
17368 wine_fn_config_program rundll.exe16 enable_win16 install
17369 wine_fn_config_program rundll32 enable_rundll32 install
17370 wine_fn_config_program sc enable_sc install
17371 wine_fn_config_program schtasks enable_schtasks install
17372 wine_fn_config_program sdbinst enable_sdbinst install
17373 wine_fn_config_program secedit enable_secedit install
17374 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17375 wine_fn_config_program services enable_services clean,install
17376 wine_fn_config_test programs/services/tests services.exe_test
17377 wine_fn_config_program spoolsv enable_spoolsv install
17378 wine_fn_config_program start enable_start install,po
17379 wine_fn_config_program svchost enable_svchost install
17380 wine_fn_config_program taskkill enable_taskkill install,po
17381 wine_fn_config_program tasklist enable_tasklist install
17382 wine_fn_config_program taskmgr enable_taskmgr install,po
17383 wine_fn_config_program termsv enable_termsv install
17384 wine_fn_config_program uninstaller enable_uninstaller install,po
17385 wine_fn_config_program unlodctr enable_unlodctr install
17386 wine_fn_config_program view enable_view install,po
17387 wine_fn_config_program wevtutil enable_wevtutil install
17388 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17389 wine_fn_config_program winebrowser enable_winebrowser install
17390 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17391 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17392 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17393 wine_fn_config_program winedevice enable_winedevice install
17394 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17395 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17396 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17397 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17398 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17399 wine_fn_config_program winetest enable_winetest clean
17400 wine_fn_config_program winevdm enable_win16 install
17401 wine_fn_config_program winhelp.exe16 enable_win16 install
17402 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17403 wine_fn_config_program winoldap.mod16 enable_win16 install
17404 wine_fn_config_program winver enable_winver install
17405 wine_fn_config_program wmic enable_wmic install,po
17406 wine_fn_config_program wordpad enable_wordpad install,po
17407 wine_fn_config_program write enable_write install,po
17408 wine_fn_config_program wscript enable_wscript clean,install
17409 wine_fn_config_test programs/wscript/tests wscript.exe_test
17410 wine_fn_config_program wusa enable_wusa install
17411 wine_fn_config_program xcopy enable_xcopy install,po
17412 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17413 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17414 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17415 wine_fn_config_tool tools/sfnt2fon clean
17416 wine_fn_config_tool tools/widl clean,install-dev,manpage
17417 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17418 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17419 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17420 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17421 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17423 LINGUAS="\
17424 ar \
17425 bg \
17426 ca \
17427 cs \
17428 da \
17429 de \
17430 el \
17431 en \
17432 en_US \
17433 eo \
17434 es \
17435 fa \
17436 fi \
17437 fr \
17438 he \
17439 hi \
17440 hr \
17441 hu \
17442 it \
17443 ja \
17444 ko \
17445 lt \
17446 ml \
17447 nb_NO \
17448 nl \
17449 or \
17450 pa \
17451 pl \
17452 pt_BR \
17453 pt_PT \
17454 rm \
17455 ro \
17456 ru \
17457 sk \
17458 sl \
17459 sr_RS@cyrillic \
17460 sr_RS@latin \
17461 sv \
17462 te \
17463 th \
17464 tr \
17465 uk \
17466 wa \
17467 zh_CN \
17468 zh_TW"
17473 wine_fn_ignore_file ".gitignore"
17474 wine_fn_ignore_file "Makefile"
17475 wine_fn_ignore_file "TAGS"
17476 wine_fn_ignore_file "tags"
17477 wine_fn_ignore_file "autom4te.cache"
17478 wine_fn_ignore_file "config.cache"
17479 wine_fn_ignore_file "config.log"
17480 wine_fn_ignore_file "config.status"
17481 wine_fn_ignore_file "configure.lineno"
17482 wine_fn_ignore_file "include/config.h"
17483 wine_fn_ignore_file "include/stamp-h"
17484 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17486 if test "x$enable_tools" != xno
17487 then
17488 wine_fn_ignore_file "tools/makedep$ac_exeext"
17489 ac_config_commands="$ac_config_commands tools/makedep"
17493 ac_config_commands="$ac_config_commands Makefile"
17496 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17500 if test "x$enable_maintainer_mode" = xyes
17501 then
17502 wine_fn_append_rule "configure: configure.ac aclocal.m4
17503 autoconf --warnings=all
17504 include/config.h.in: include/stamp-h.in
17505 include/stamp-h.in: configure.ac aclocal.m4
17506 autoheader --warnings=all
17507 @echo timestamp > \$@"
17510 if test "x$with_gettextpo" = xyes
17511 then
17512 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17513 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17514 \$(LINGUAS:%=po/%.po): po/wine.pot
17515 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17516 po/wine.pot: \$(ALL_POT_FILES)
17517 msgcat -o \$@ \$(ALL_POT_FILES)"
17520 if test "$MSGFMT" != false
17521 then
17522 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17523 clean::
17524 \$(RM) \$(LINGUAS:%=po/%.mo)"
17526 posrc="po"
17527 test "$srcdir" = . || posrc="$srcdir/po"
17528 for i in $LINGUAS
17530 wine_fn_ignore_file "po/$i.mo"
17531 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17532 \$(MSGFMT) -o \$@ $posrc/$i.po"
17533 done
17534 else
17535 LINGUAS=
17538 if test "x$enable_tools" != xno
17539 then
17540 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17541 @./config.status tools/makedep
17542 Makefile: tools/makedep$ac_exeext
17543 distclean:: clean
17544 \$(RM) tools/makedep$ac_exeext"
17545 else
17546 wine_fn_append_rule "\$(MAKEDEP):
17547 @echo \"You need to run make in $TOOLSDIR first\" && false"
17550 if test -n "$with_wine64"
17551 then
17552 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17553 fonts server tools:
17554 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17555 $with_wine64/loader/wine:
17556 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17557 $with_wine64/loader/wine-preloader:
17558 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17559 clean::
17560 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17561 else
17562 as_fn_append LOADER_RULES "
17563 all: wine.inf
17565 install install-lib:: wine.inf install-man-pages
17566 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17567 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17569 uninstall::
17570 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17574 if test "$srcdir" = .
17575 then
17576 ac_config_commands="$ac_config_commands .gitignore"
17580 $as_echo " done" >&6
17581 cat >confcache <<\_ACEOF
17582 # This file is a shell script that caches the results of configure
17583 # tests run on this system so they can be shared between configure
17584 # scripts and configure runs, see configure's option --config-cache.
17585 # It is not useful on other systems. If it contains results you don't
17586 # want to keep, you may remove or edit it.
17588 # config.status only pays attention to the cache file if you give it
17589 # the --recheck option to rerun configure.
17591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17593 # following values.
17595 _ACEOF
17597 # The following way of writing the cache mishandles newlines in values,
17598 # but we know of no workaround that is simple, portable, and efficient.
17599 # So, we kill variables containing newlines.
17600 # Ultrix sh set writes to stderr and can't be redirected directly,
17601 # and sets the high bit in the cache file unless we assign to the vars.
17603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17604 eval ac_val=\$$ac_var
17605 case $ac_val in #(
17606 *${as_nl}*)
17607 case $ac_var in #(
17608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17610 esac
17611 case $ac_var in #(
17612 _ | IFS | as_nl) ;; #(
17613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17614 *) { eval $ac_var=; unset $ac_var;} ;;
17615 esac ;;
17616 esac
17617 done
17619 (set) 2>&1 |
17620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17621 *${as_nl}ac_space=\ *)
17622 # `set' does not quote correctly, so add quotes: double-quote
17623 # substitution turns \\\\ into \\, and sed turns \\ into \.
17624 sed -n \
17625 "s/'/'\\\\''/g;
17626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17627 ;; #(
17629 # `set' quotes correctly as required by POSIX, so do not add quotes.
17630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17632 esac |
17633 sort
17635 sed '
17636 /^ac_cv_env_/b end
17637 t clear
17638 :clear
17639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17640 t end
17641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17642 :end' >>confcache
17643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17644 if test -w "$cache_file"; then
17645 if test "x$cache_file" != "x/dev/null"; then
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17647 $as_echo "$as_me: updating cache $cache_file" >&6;}
17648 if test ! -f "$cache_file" || test -h "$cache_file"; then
17649 cat confcache >"$cache_file"
17650 else
17651 case $cache_file in #(
17652 */* | ?:*)
17653 mv -f confcache "$cache_file"$$ &&
17654 mv -f "$cache_file"$$ "$cache_file" ;; #(
17656 mv -f confcache "$cache_file" ;;
17657 esac
17660 else
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17662 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17665 rm -f confcache
17667 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17668 # Let make expand exec_prefix.
17669 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17671 DEFS=-DHAVE_CONFIG_H
17673 ac_libobjs=
17674 ac_ltlibobjs=
17676 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17677 # 1. Remove the extension, and $U if already installed.
17678 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17679 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17680 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17681 # will be set to the directory where LIBOBJS objects are built.
17682 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17683 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17684 done
17685 LIBOBJS=$ac_libobjs
17687 LTLIBOBJS=$ac_ltlibobjs
17691 : "${CONFIG_STATUS=./config.status}"
17692 ac_write_fail=0
17693 ac_clean_files_save=$ac_clean_files
17694 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17697 as_write_fail=0
17698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17699 #! $SHELL
17700 # Generated by $as_me.
17701 # Run this file to recreate the current configuration.
17702 # Compiler output produced by configure, useful for debugging
17703 # configure, is in config.log if it exists.
17705 debug=false
17706 ac_cs_recheck=false
17707 ac_cs_silent=false
17709 SHELL=\${CONFIG_SHELL-$SHELL}
17710 export SHELL
17711 _ASEOF
17712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17713 ## -------------------- ##
17714 ## M4sh Initialization. ##
17715 ## -------------------- ##
17717 # Be more Bourne compatible
17718 DUALCASE=1; export DUALCASE # for MKS sh
17719 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17720 emulate sh
17721 NULLCMD=:
17722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17723 # is contrary to our usage. Disable this feature.
17724 alias -g '${1+"$@"}'='"$@"'
17725 setopt NO_GLOB_SUBST
17726 else
17727 case `(set -o) 2>/dev/null` in #(
17728 *posix*) :
17729 set -o posix ;; #(
17730 *) :
17732 esac
17736 as_nl='
17738 export as_nl
17739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17740 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17743 # Prefer a ksh shell builtin over an external printf program on Solaris,
17744 # but without wasting forks for bash or zsh.
17745 if test -z "$BASH_VERSION$ZSH_VERSION" \
17746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17747 as_echo='print -r --'
17748 as_echo_n='print -rn --'
17749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17750 as_echo='printf %s\n'
17751 as_echo_n='printf %s'
17752 else
17753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17754 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17755 as_echo_n='/usr/ucb/echo -n'
17756 else
17757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17758 as_echo_n_body='eval
17759 arg=$1;
17760 case $arg in #(
17761 *"$as_nl"*)
17762 expr "X$arg" : "X\\(.*\\)$as_nl";
17763 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17764 esac;
17765 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17767 export as_echo_n_body
17768 as_echo_n='sh -c $as_echo_n_body as_echo'
17770 export as_echo_body
17771 as_echo='sh -c $as_echo_body as_echo'
17774 # The user is always right.
17775 if test "${PATH_SEPARATOR+set}" != set; then
17776 PATH_SEPARATOR=:
17777 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17778 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17779 PATH_SEPARATOR=';'
17784 # IFS
17785 # We need space, tab and new line, in precisely that order. Quoting is
17786 # there to prevent editors from complaining about space-tab.
17787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17788 # splitting by setting IFS to empty value.)
17789 IFS=" "" $as_nl"
17791 # Find who we are. Look in the path if we contain no directory separator.
17792 as_myself=
17793 case $0 in #((
17794 *[\\/]* ) as_myself=$0 ;;
17795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17796 for as_dir in $PATH
17798 IFS=$as_save_IFS
17799 test -z "$as_dir" && as_dir=.
17800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17801 done
17802 IFS=$as_save_IFS
17805 esac
17806 # We did not find ourselves, most probably we were run as `sh COMMAND'
17807 # in which case we are not to be found in the path.
17808 if test "x$as_myself" = x; then
17809 as_myself=$0
17811 if test ! -f "$as_myself"; then
17812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17813 exit 1
17816 # Unset variables that we do not need and which cause bugs (e.g. in
17817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17818 # suppresses any "Segmentation fault" message there. '((' could
17819 # trigger a bug in pdksh 5.2.14.
17820 for as_var in BASH_ENV ENV MAIL MAILPATH
17821 do eval test x\${$as_var+set} = xset \
17822 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17823 done
17824 PS1='$ '
17825 PS2='> '
17826 PS4='+ '
17828 # NLS nuisances.
17829 LC_ALL=C
17830 export LC_ALL
17831 LANGUAGE=C
17832 export LANGUAGE
17834 # CDPATH.
17835 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17839 # ----------------------------------------
17840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17842 # script with STATUS, using 1 if that was 0.
17843 as_fn_error ()
17845 as_status=$1; test $as_status -eq 0 && as_status=1
17846 if test "$4"; then
17847 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17850 $as_echo "$as_me: error: $2" >&2
17851 as_fn_exit $as_status
17852 } # as_fn_error
17855 # as_fn_set_status STATUS
17856 # -----------------------
17857 # Set $? to STATUS, without forking.
17858 as_fn_set_status ()
17860 return $1
17861 } # as_fn_set_status
17863 # as_fn_exit STATUS
17864 # -----------------
17865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17866 as_fn_exit ()
17868 set +e
17869 as_fn_set_status $1
17870 exit $1
17871 } # as_fn_exit
17873 # as_fn_unset VAR
17874 # ---------------
17875 # Portably unset VAR.
17876 as_fn_unset ()
17878 { eval $1=; unset $1;}
17880 as_unset=as_fn_unset
17881 # as_fn_append VAR VALUE
17882 # ----------------------
17883 # Append the text in VALUE to the end of the definition contained in VAR. Take
17884 # advantage of any shell optimizations that allow amortized linear growth over
17885 # repeated appends, instead of the typical quadratic growth present in naive
17886 # implementations.
17887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17888 eval 'as_fn_append ()
17890 eval $1+=\$2
17892 else
17893 as_fn_append ()
17895 eval $1=\$$1\$2
17897 fi # as_fn_append
17899 # as_fn_arith ARG...
17900 # ------------------
17901 # Perform arithmetic evaluation on the ARGs, and store the result in the
17902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17903 # must be portable across $(()) and expr.
17904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17905 eval 'as_fn_arith ()
17907 as_val=$(( $* ))
17909 else
17910 as_fn_arith ()
17912 as_val=`expr "$@" || test $? -eq 1`
17914 fi # as_fn_arith
17917 if expr a : '\(a\)' >/dev/null 2>&1 &&
17918 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17919 as_expr=expr
17920 else
17921 as_expr=false
17924 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17925 as_basename=basename
17926 else
17927 as_basename=false
17930 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17931 as_dirname=dirname
17932 else
17933 as_dirname=false
17936 as_me=`$as_basename -- "$0" ||
17937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17938 X"$0" : 'X\(//\)$' \| \
17939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17940 $as_echo X/"$0" |
17941 sed '/^.*\/\([^/][^/]*\)\/*$/{
17942 s//\1/
17945 /^X\/\(\/\/\)$/{
17946 s//\1/
17949 /^X\/\(\/\).*/{
17950 s//\1/
17953 s/.*/./; q'`
17955 # Avoid depending upon Character Ranges.
17956 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17957 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17958 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17959 as_cr_digits='0123456789'
17960 as_cr_alnum=$as_cr_Letters$as_cr_digits
17962 ECHO_C= ECHO_N= ECHO_T=
17963 case `echo -n x` in #(((((
17964 -n*)
17965 case `echo 'xy\c'` in
17966 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17967 xy) ECHO_C='\c';;
17968 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17969 ECHO_T=' ';;
17970 esac;;
17972 ECHO_N='-n';;
17973 esac
17975 rm -f conf$$ conf$$.exe conf$$.file
17976 if test -d conf$$.dir; then
17977 rm -f conf$$.dir/conf$$.file
17978 else
17979 rm -f conf$$.dir
17980 mkdir conf$$.dir 2>/dev/null
17982 if (echo >conf$$.file) 2>/dev/null; then
17983 if ln -s conf$$.file conf$$ 2>/dev/null; then
17984 as_ln_s='ln -s'
17985 # ... but there are two gotchas:
17986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17988 # In both cases, we have to default to `cp -pR'.
17989 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17990 as_ln_s='cp -pR'
17991 elif ln conf$$.file conf$$ 2>/dev/null; then
17992 as_ln_s=ln
17993 else
17994 as_ln_s='cp -pR'
17996 else
17997 as_ln_s='cp -pR'
17999 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18000 rmdir conf$$.dir 2>/dev/null
18003 # as_fn_mkdir_p
18004 # -------------
18005 # Create "$as_dir" as a directory, including parents if necessary.
18006 as_fn_mkdir_p ()
18009 case $as_dir in #(
18010 -*) as_dir=./$as_dir;;
18011 esac
18012 test -d "$as_dir" || eval $as_mkdir_p || {
18013 as_dirs=
18014 while :; do
18015 case $as_dir in #(
18016 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18017 *) as_qdir=$as_dir;;
18018 esac
18019 as_dirs="'$as_qdir' $as_dirs"
18020 as_dir=`$as_dirname -- "$as_dir" ||
18021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18022 X"$as_dir" : 'X\(//\)[^/]' \| \
18023 X"$as_dir" : 'X\(//\)$' \| \
18024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18025 $as_echo X"$as_dir" |
18026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18027 s//\1/
18030 /^X\(\/\/\)[^/].*/{
18031 s//\1/
18034 /^X\(\/\/\)$/{
18035 s//\1/
18038 /^X\(\/\).*/{
18039 s//\1/
18042 s/.*/./; q'`
18043 test -d "$as_dir" && break
18044 done
18045 test -z "$as_dirs" || eval "mkdir $as_dirs"
18046 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18049 } # as_fn_mkdir_p
18050 if mkdir -p . 2>/dev/null; then
18051 as_mkdir_p='mkdir -p "$as_dir"'
18052 else
18053 test -d ./-p && rmdir ./-p
18054 as_mkdir_p=false
18058 # as_fn_executable_p FILE
18059 # -----------------------
18060 # Test if FILE is an executable regular file.
18061 as_fn_executable_p ()
18063 test -f "$1" && test -x "$1"
18064 } # as_fn_executable_p
18065 as_test_x='test -x'
18066 as_executable_p=as_fn_executable_p
18068 # Sed expression to map a string onto a valid CPP name.
18069 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18071 # Sed expression to map a string onto a valid variable name.
18072 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18075 exec 6>&1
18076 ## ----------------------------------- ##
18077 ## Main body of $CONFIG_STATUS script. ##
18078 ## ----------------------------------- ##
18079 _ASEOF
18080 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18083 # Save the log message, to keep $0 and so on meaningful, and to
18084 # report actual input values of CONFIG_FILES etc. instead of their
18085 # values after options handling.
18086 ac_log="
18087 This file was extended by Wine $as_me 1.7.19, which was
18088 generated by GNU Autoconf 2.69. Invocation command line was
18090 CONFIG_FILES = $CONFIG_FILES
18091 CONFIG_HEADERS = $CONFIG_HEADERS
18092 CONFIG_LINKS = $CONFIG_LINKS
18093 CONFIG_COMMANDS = $CONFIG_COMMANDS
18094 $ $0 $@
18096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18099 _ACEOF
18101 case $ac_config_files in *"
18102 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18103 esac
18105 case $ac_config_headers in *"
18106 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18107 esac
18110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18111 # Files that config.status was made for.
18112 config_files="$ac_config_files"
18113 config_headers="$ac_config_headers"
18114 config_links="$ac_config_links"
18115 config_commands="$ac_config_commands"
18117 _ACEOF
18119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18120 ac_cs_usage="\
18121 \`$as_me' instantiates files and other configuration actions
18122 from templates according to the current configuration. Unless the files
18123 and actions are specified as TAGs, all are instantiated by default.
18125 Usage: $0 [OPTION]... [TAG]...
18127 -h, --help print this help, then exit
18128 -V, --version print version number and configuration settings, then exit
18129 --config print configuration, then exit
18130 -q, --quiet, --silent
18131 do not print progress messages
18132 -d, --debug don't remove temporary files
18133 --recheck update $as_me by reconfiguring in the same conditions
18134 --file=FILE[:TEMPLATE]
18135 instantiate the configuration file FILE
18136 --header=FILE[:TEMPLATE]
18137 instantiate the configuration header FILE
18139 Configuration files:
18140 $config_files
18142 Configuration headers:
18143 $config_headers
18145 Configuration links:
18146 $config_links
18148 Configuration commands:
18149 $config_commands
18151 Report bugs to <wine-devel@winehq.org>.
18152 Wine home page: <http://www.winehq.org>."
18154 _ACEOF
18155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18157 ac_cs_version="\\
18158 Wine config.status 1.7.19
18159 configured by $0, generated by GNU Autoconf 2.69,
18160 with options \\"\$ac_cs_config\\"
18162 Copyright (C) 2012 Free Software Foundation, Inc.
18163 This config.status script is free software; the Free Software Foundation
18164 gives unlimited permission to copy, distribute and modify it."
18166 ac_pwd='$ac_pwd'
18167 srcdir='$srcdir'
18168 test -n "\$AWK" || AWK=awk
18169 _ACEOF
18171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18172 # The default lists apply if the user does not specify any file.
18173 ac_need_defaults=:
18174 while test $# != 0
18176 case $1 in
18177 --*=?*)
18178 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18179 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18180 ac_shift=:
18182 --*=)
18183 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18184 ac_optarg=
18185 ac_shift=:
18188 ac_option=$1
18189 ac_optarg=$2
18190 ac_shift=shift
18192 esac
18194 case $ac_option in
18195 # Handling of the options.
18196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18197 ac_cs_recheck=: ;;
18198 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18199 $as_echo "$ac_cs_version"; exit ;;
18200 --config | --confi | --conf | --con | --co | --c )
18201 $as_echo "$ac_cs_config"; exit ;;
18202 --debug | --debu | --deb | --de | --d | -d )
18203 debug=: ;;
18204 --file | --fil | --fi | --f )
18205 $ac_shift
18206 case $ac_optarg in
18207 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18208 '') as_fn_error $? "missing file argument" ;;
18209 esac
18210 as_fn_append CONFIG_FILES " '$ac_optarg'"
18211 ac_need_defaults=false;;
18212 --header | --heade | --head | --hea )
18213 $ac_shift
18214 case $ac_optarg in
18215 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18216 esac
18217 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18218 ac_need_defaults=false;;
18219 --he | --h)
18220 # Conflict between --help and --header
18221 as_fn_error $? "ambiguous option: \`$1'
18222 Try \`$0 --help' for more information.";;
18223 --help | --hel | -h )
18224 $as_echo "$ac_cs_usage"; exit ;;
18225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18226 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18227 ac_cs_silent=: ;;
18229 # This is an error.
18230 -*) as_fn_error $? "unrecognized option: \`$1'
18231 Try \`$0 --help' for more information." ;;
18233 *) as_fn_append ac_config_targets " $1"
18234 ac_need_defaults=false ;;
18236 esac
18237 shift
18238 done
18240 ac_configure_extra_args=
18242 if $ac_cs_silent; then
18243 exec 6>/dev/null
18244 ac_configure_extra_args="$ac_configure_extra_args --silent"
18247 _ACEOF
18248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18249 if \$ac_cs_recheck; then
18250 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18251 shift
18252 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18253 CONFIG_SHELL='$SHELL'
18254 export CONFIG_SHELL
18255 exec "\$@"
18258 _ACEOF
18259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18260 exec 5>>config.log
18262 echo
18263 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18264 ## Running $as_me. ##
18265 _ASBOX
18266 $as_echo "$ac_log"
18267 } >&5
18269 _ACEOF
18270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18272 # INIT-COMMANDS
18274 wine_fn_output_makedep ()
18276 as_dir=tools; as_fn_mkdir_p
18277 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18279 wine_fn_output_makefile ()
18281 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18282 `cat $wine_rules_file`
18283 _WINE_EOF
18284 as_fn_error $? "could not create Makefile" "$LINENO" 5
18286 wine_fn_output_gitignore ()
18288 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18289 $GITIGNORE
18290 _WINE_EOF
18291 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18294 _ACEOF
18296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18298 # Handling of arguments.
18299 for ac_config_target in $ac_config_targets
18301 case $ac_config_target in
18302 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18303 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18304 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18305 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18306 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18307 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18308 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18309 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18310 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18311 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18312 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18313 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18314 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18315 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18317 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18318 esac
18319 done
18322 # If the user did not use the arguments to specify the items to instantiate,
18323 # then the envvar interface is used. Set only those that are not.
18324 # We use the long form for the default assignment because of an extremely
18325 # bizarre bug on SunOS 4.1.3.
18326 if $ac_need_defaults; then
18327 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18328 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18329 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18330 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18333 # Have a temporary directory for convenience. Make it in the build tree
18334 # simply because there is no reason against having it here, and in addition,
18335 # creating and moving files from /tmp can sometimes cause problems.
18336 # Hook for its removal unless debugging.
18337 # Note that there is a small window in which the directory will not be cleaned:
18338 # after its creation but before its name has been assigned to `$tmp'.
18339 $debug ||
18341 tmp= ac_tmp=
18342 trap 'exit_status=$?
18343 : "${ac_tmp:=$tmp}"
18344 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18346 trap 'as_fn_exit 1' 1 2 13 15
18348 # Create a (secure) tmp directory for tmp files.
18351 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18352 test -d "$tmp"
18353 } ||
18355 tmp=./conf$$-$RANDOM
18356 (umask 077 && mkdir "$tmp")
18357 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18358 ac_tmp=$tmp
18360 # Set up the scripts for CONFIG_FILES section.
18361 # No need to generate them if there are no CONFIG_FILES.
18362 # This happens for instance with `./config.status config.h'.
18363 if test -n "$CONFIG_FILES"; then
18366 ac_cr=`echo X | tr X '\015'`
18367 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18368 # But we know of no other shell where ac_cr would be empty at this
18369 # point, so we can use a bashism as a fallback.
18370 if test "x$ac_cr" = x; then
18371 eval ac_cr=\$\'\\r\'
18373 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18374 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18375 ac_cs_awk_cr='\\r'
18376 else
18377 ac_cs_awk_cr=$ac_cr
18380 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18381 _ACEOF
18385 echo "cat >conf$$subs.awk <<_ACEOF" &&
18386 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18387 echo "_ACEOF"
18388 } >conf$$subs.sh ||
18389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18390 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18391 ac_delim='%!_!# '
18392 for ac_last_try in false false false false false :; do
18393 . ./conf$$subs.sh ||
18394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18396 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18397 if test $ac_delim_n = $ac_delim_num; then
18398 break
18399 elif $ac_last_try; then
18400 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18401 else
18402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18404 done
18405 rm -f conf$$subs.sh
18407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18408 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18409 _ACEOF
18410 sed -n '
18412 s/^/S["/; s/!.*/"]=/
18415 s/^[^!]*!//
18416 :repl
18417 t repl
18418 s/'"$ac_delim"'$//
18419 t delim
18422 s/\(.\{148\}\)..*/\1/
18423 t more1
18424 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18427 b repl
18428 :more1
18429 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18432 s/.\{148\}//
18433 t nl
18434 :delim
18436 s/\(.\{148\}\)..*/\1/
18437 t more2
18438 s/["\\]/\\&/g; s/^/"/; s/$/"/
18441 :more2
18442 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18445 s/.\{148\}//
18446 t delim
18447 ' <conf$$subs.awk | sed '
18448 /^[^""]/{
18450 s/\n//
18452 ' >>$CONFIG_STATUS || ac_write_fail=1
18453 rm -f conf$$subs.awk
18454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18455 _ACAWK
18456 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18457 for (key in S) S_is_set[key] = 1
18458 FS = "\a"
18462 line = $ 0
18463 nfields = split(line, field, "@")
18464 substed = 0
18465 len = length(field[1])
18466 for (i = 2; i < nfields; i++) {
18467 key = field[i]
18468 keylen = length(key)
18469 if (S_is_set[key]) {
18470 value = S[key]
18471 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18472 len += length(value) + length(field[++i])
18473 substed = 1
18474 } else
18475 len += 1 + keylen
18478 print line
18481 _ACAWK
18482 _ACEOF
18483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18484 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18485 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18486 else
18488 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18489 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18490 _ACEOF
18492 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18493 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18494 # trailing colons and then remove the whole line if VPATH becomes empty
18495 # (actually we leave an empty line to preserve line numbers).
18496 if test "x$srcdir" = x.; then
18497 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18499 s///
18500 s/^/:/
18501 s/[ ]*$/:/
18502 s/:\$(srcdir):/:/g
18503 s/:\${srcdir}:/:/g
18504 s/:@srcdir@:/:/g
18505 s/^:*//
18506 s/:*$//
18508 s/\(=[ ]*\).*/\1/
18510 s/\n//
18511 s/^[^=]*=[ ]*$//
18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18516 fi # test -n "$CONFIG_FILES"
18518 # Set up the scripts for CONFIG_HEADERS section.
18519 # No need to generate them if there are no CONFIG_HEADERS.
18520 # This happens for instance with `./config.status Makefile'.
18521 if test -n "$CONFIG_HEADERS"; then
18522 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18523 BEGIN {
18524 _ACEOF
18526 # Transform confdefs.h into an awk script `defines.awk', embedded as
18527 # here-document in config.status, that substitutes the proper values into
18528 # config.h.in to produce config.h.
18530 # Create a delimiter string that does not exist in confdefs.h, to ease
18531 # handling of long lines.
18532 ac_delim='%!_!# '
18533 for ac_last_try in false false :; do
18534 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18535 if test -z "$ac_tt"; then
18536 break
18537 elif $ac_last_try; then
18538 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18539 else
18540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18542 done
18544 # For the awk script, D is an array of macro values keyed by name,
18545 # likewise P contains macro parameters if any. Preserve backslash
18546 # newline sequences.
18548 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18549 sed -n '
18550 s/.\{148\}/&'"$ac_delim"'/g
18551 t rset
18552 :rset
18553 s/^[ ]*#[ ]*define[ ][ ]*/ /
18554 t def
18556 :def
18557 s/\\$//
18558 t bsnl
18559 s/["\\]/\\&/g
18560 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18561 D["\1"]=" \3"/p
18562 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18564 :bsnl
18565 s/["\\]/\\&/g
18566 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18567 D["\1"]=" \3\\\\\\n"\\/p
18568 t cont
18569 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18570 t cont
18572 :cont
18574 s/.\{148\}/&'"$ac_delim"'/g
18575 t clear
18576 :clear
18577 s/\\$//
18578 t bsnlc
18579 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18581 :bsnlc
18582 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18583 b cont
18584 ' <confdefs.h | sed '
18585 s/'"$ac_delim"'/"\\\
18586 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18589 for (key in D) D_is_set[key] = 1
18590 FS = "\a"
18592 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18593 line = \$ 0
18594 split(line, arg, " ")
18595 if (arg[1] == "#") {
18596 defundef = arg[2]
18597 mac1 = arg[3]
18598 } else {
18599 defundef = substr(arg[1], 2)
18600 mac1 = arg[2]
18602 split(mac1, mac2, "(") #)
18603 macro = mac2[1]
18604 prefix = substr(line, 1, index(line, defundef) - 1)
18605 if (D_is_set[macro]) {
18606 # Preserve the white space surrounding the "#".
18607 print prefix "define", macro P[macro] D[macro]
18608 next
18609 } else {
18610 # Replace #undef with comments. This is necessary, for example,
18611 # in the case of _POSIX_SOURCE, which is predefined and required
18612 # on some systems where configure will not decide to define it.
18613 if (defundef == "undef") {
18614 print "/*", prefix defundef, macro, "*/"
18615 next
18619 { print }
18620 _ACAWK
18621 _ACEOF
18622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18623 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18624 fi # test -n "$CONFIG_HEADERS"
18627 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18628 shift
18629 for ac_tag
18631 case $ac_tag in
18632 :[FHLC]) ac_mode=$ac_tag; continue;;
18633 esac
18634 case $ac_mode$ac_tag in
18635 :[FHL]*:*);;
18636 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18637 :[FH]-) ac_tag=-:-;;
18638 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18639 esac
18640 ac_save_IFS=$IFS
18641 IFS=:
18642 set x $ac_tag
18643 IFS=$ac_save_IFS
18644 shift
18645 ac_file=$1
18646 shift
18648 case $ac_mode in
18649 :L) ac_source=$1;;
18650 :[FH])
18651 ac_file_inputs=
18652 for ac_f
18654 case $ac_f in
18655 -) ac_f="$ac_tmp/stdin";;
18656 *) # Look for the file first in the build tree, then in the source tree
18657 # (if the path is not absolute). The absolute path cannot be DOS-style,
18658 # because $ac_f cannot contain `:'.
18659 test -f "$ac_f" ||
18660 case $ac_f in
18661 [\\/$]*) false;;
18662 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18663 esac ||
18664 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18665 esac
18666 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18667 as_fn_append ac_file_inputs " '$ac_f'"
18668 done
18670 # Let's still pretend it is `configure' which instantiates (i.e., don't
18671 # use $as_me), people would be surprised to read:
18672 # /* config.h. Generated by config.status. */
18673 configure_input='Generated from '`
18674 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18675 `' by configure.'
18676 if test x"$ac_file" != x-; then
18677 configure_input="$ac_file. $configure_input"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18679 $as_echo "$as_me: creating $ac_file" >&6;}
18681 # Neutralize special characters interpreted by sed in replacement strings.
18682 case $configure_input in #(
18683 *\&* | *\|* | *\\* )
18684 ac_sed_conf_input=`$as_echo "$configure_input" |
18685 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18686 *) ac_sed_conf_input=$configure_input;;
18687 esac
18689 case $ac_tag in
18690 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18692 esac
18694 esac
18696 ac_dir=`$as_dirname -- "$ac_file" ||
18697 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18698 X"$ac_file" : 'X\(//\)[^/]' \| \
18699 X"$ac_file" : 'X\(//\)$' \| \
18700 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18701 $as_echo X"$ac_file" |
18702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18703 s//\1/
18706 /^X\(\/\/\)[^/].*/{
18707 s//\1/
18710 /^X\(\/\/\)$/{
18711 s//\1/
18714 /^X\(\/\).*/{
18715 s//\1/
18718 s/.*/./; q'`
18719 as_dir="$ac_dir"; as_fn_mkdir_p
18720 ac_builddir=.
18722 case "$ac_dir" in
18723 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18725 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18726 # A ".." for each directory in $ac_dir_suffix.
18727 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18728 case $ac_top_builddir_sub in
18729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18731 esac ;;
18732 esac
18733 ac_abs_top_builddir=$ac_pwd
18734 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18735 # for backward compatibility:
18736 ac_top_builddir=$ac_top_build_prefix
18738 case $srcdir in
18739 .) # We are building in place.
18740 ac_srcdir=.
18741 ac_top_srcdir=$ac_top_builddir_sub
18742 ac_abs_top_srcdir=$ac_pwd ;;
18743 [\\/]* | ?:[\\/]* ) # Absolute name.
18744 ac_srcdir=$srcdir$ac_dir_suffix;
18745 ac_top_srcdir=$srcdir
18746 ac_abs_top_srcdir=$srcdir ;;
18747 *) # Relative name.
18748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18749 ac_top_srcdir=$ac_top_build_prefix$srcdir
18750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18751 esac
18752 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18755 case $ac_mode in
18758 # CONFIG_FILE
18761 _ACEOF
18763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18764 # If the template does not know about datarootdir, expand it.
18765 # FIXME: This hack should be removed a few years after 2.60.
18766 ac_datarootdir_hack=; ac_datarootdir_seen=
18767 ac_sed_dataroot='
18768 /datarootdir/ {
18772 /@datadir@/p
18773 /@docdir@/p
18774 /@infodir@/p
18775 /@localedir@/p
18776 /@mandir@/p'
18777 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18778 *datarootdir*) ac_datarootdir_seen=yes;;
18779 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18781 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18782 _ACEOF
18783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18784 ac_datarootdir_hack='
18785 s&@datadir@&$datadir&g
18786 s&@docdir@&$docdir&g
18787 s&@infodir@&$infodir&g
18788 s&@localedir@&$localedir&g
18789 s&@mandir@&$mandir&g
18790 s&\\\${datarootdir}&$datarootdir&g' ;;
18791 esac
18792 _ACEOF
18794 # Neutralize VPATH when `$srcdir' = `.'.
18795 # Shell code in configure.ac might set extrasub.
18796 # FIXME: do we really want to maintain this feature?
18797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18798 ac_sed_extra="$ac_vpsub
18799 $extrasub
18800 _ACEOF
18801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18804 s|@configure_input@|$ac_sed_conf_input|;t t
18805 s&@top_builddir@&$ac_top_builddir_sub&;t t
18806 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18807 s&@srcdir@&$ac_srcdir&;t t
18808 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18809 s&@top_srcdir@&$ac_top_srcdir&;t t
18810 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18811 s&@builddir@&$ac_builddir&;t t
18812 s&@abs_builddir@&$ac_abs_builddir&;t t
18813 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18814 $ac_datarootdir_hack
18816 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18817 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18819 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18820 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18821 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18822 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18824 which seems to be undefined. Please make sure it is defined" >&5
18825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18826 which seems to be undefined. Please make sure it is defined" >&2;}
18828 rm -f "$ac_tmp/stdin"
18829 case $ac_file in
18830 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18831 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18832 esac \
18833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18837 # CONFIG_HEADER
18839 if test x"$ac_file" != x-; then
18841 $as_echo "/* $configure_input */" \
18842 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18843 } >"$ac_tmp/config.h" \
18844 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18845 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18847 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18848 else
18849 rm -f "$ac_file"
18850 mv "$ac_tmp/config.h" "$ac_file" \
18851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18853 else
18854 $as_echo "/* $configure_input */" \
18855 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18856 || as_fn_error $? "could not create -" "$LINENO" 5
18861 # CONFIG_LINK
18864 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18866 else
18867 # Prefer the file from the source tree if names are identical.
18868 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18869 ac_source=$srcdir/$ac_source
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18873 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18875 if test ! -r "$ac_source"; then
18876 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18878 rm -f "$ac_file"
18880 # Try a relative symlink, then a hard link, then a copy.
18881 case $ac_source in
18882 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18883 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18884 esac
18885 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18886 ln "$ac_source" "$ac_file" 2>/dev/null ||
18887 cp -p "$ac_source" "$ac_file" ||
18888 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18891 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18892 $as_echo "$as_me: executing $ac_file commands" >&6;}
18894 esac
18897 case $ac_file$ac_mode in
18898 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18899 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18900 "Makefile":C) wine_fn_output_makefile Makefile ;;
18901 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18903 esac
18904 done # for ac_tag
18907 as_fn_exit 0
18908 _ACEOF
18909 ac_clean_files=$ac_clean_files_save
18911 test $ac_write_fail = 0 ||
18912 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18915 # configure is writing to config.log, and then calls config.status.
18916 # config.status does its own redirection, appending to config.log.
18917 # Unfortunately, on DOS this fails, as config.log is still kept open
18918 # by configure, so config.status won't be able to write to it; its
18919 # output is simply discarded. So we exec the FD to /dev/null,
18920 # effectively closing config.log, so it can be properly (re)opened and
18921 # appended to by config.status. When coming back to configure, we
18922 # need to make the FD available again.
18923 if test "$no_create" != yes; then
18924 ac_cs_success=:
18925 ac_config_status_args=
18926 test "$silent" = yes &&
18927 ac_config_status_args="$ac_config_status_args --quiet"
18928 exec 5>/dev/null
18929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18930 exec 5>>config.log
18931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18932 # would make configure fail if this is the last instruction.
18933 $ac_cs_success || as_fn_exit 1
18935 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18937 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18941 if test "$no_create" = "yes"
18942 then
18943 exit 0
18946 ac_save_IFS="$IFS"
18947 if test "x$wine_notices != "x; then
18948 echo >&6
18949 IFS="|"
18950 for msg in $wine_notices; do
18951 IFS="$ac_save_IFS"
18952 if ${msg:+false} :; then :
18954 else
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18956 $as_echo "$as_me: $msg" >&6;}
18958 done
18960 IFS="|"
18961 for msg in $wine_warnings; do
18962 IFS="$ac_save_IFS"
18963 if ${msg:+false} :; then :
18965 else
18966 echo >&2
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18968 $as_echo "$as_me: WARNING: $msg" >&2;}
18970 done
18971 IFS="$ac_save_IFS"
18973 $as_echo "
18974 $as_me: Finished. Do '${ac_make}' to compile Wine.
18975 " >&6