kernel32: Fix incorrect lastpart in GetFullPathNameA with DBCS.
[wine.git] / configure
blob2228ce3ed47e382c24f9838d79e956c1936cbafd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.28.
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.28'
584 PACKAGE_STRING='Wine 1.7.28'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr70
1134 enable_msvcr71
1135 enable_msvcr80
1136 enable_msvcr90
1137 enable_msvcrt
1138 enable_msvcrt20
1139 enable_msvcrt40
1140 enable_msvcrtd
1141 enable_msvfw32
1142 enable_msvidc32
1143 enable_mswsock
1144 enable_msxml
1145 enable_msxml2
1146 enable_msxml3
1147 enable_msxml4
1148 enable_msxml6
1149 enable_nddeapi
1150 enable_netapi32
1151 enable_netcfgx
1152 enable_netprofm
1153 enable_newdev
1154 enable_normaliz
1155 enable_npmshtml
1156 enable_npptools
1157 enable_ntdll
1158 enable_ntdsapi
1159 enable_ntoskrnl_exe
1160 enable_ntprint
1161 enable_objsel
1162 enable_odbc32
1163 enable_odbccp32
1164 enable_odbccu32
1165 enable_ole32
1166 enable_oleacc
1167 enable_oleaut32
1168 enable_olecli32
1169 enable_oledb32
1170 enable_oledlg
1171 enable_olepro32
1172 enable_olesvr32
1173 enable_olethk32
1174 enable_openal32
1175 enable_opencl
1176 enable_opengl32
1177 enable_packager
1178 enable_pdh
1179 enable_photometadatahandler
1180 enable_pidgen
1181 enable_powrprof
1182 enable_printui
1183 enable_propsys
1184 enable_psapi
1185 enable_pstorec
1186 enable_qcap
1187 enable_qedit
1188 enable_qmgr
1189 enable_qmgrprxy
1190 enable_quartz
1191 enable_query
1192 enable_rasapi32
1193 enable_rasdlg
1194 enable_regapi
1195 enable_resutils
1196 enable_riched20
1197 enable_riched32
1198 enable_rpcrt4
1199 enable_rsabase
1200 enable_rsaenh
1201 enable_rstrtmgr
1202 enable_rtutils
1203 enable_samlib
1204 enable_sane_ds
1205 enable_scarddlg
1206 enable_sccbase
1207 enable_schannel
1208 enable_schedsvc
1209 enable_scrrun
1210 enable_scsiport_sys
1211 enable_secur32
1212 enable_security
1213 enable_sensapi
1214 enable_serialui
1215 enable_setupapi
1216 enable_sfc
1217 enable_sfc_os
1218 enable_shdoclc
1219 enable_shdocvw
1220 enable_shell32
1221 enable_shfolder
1222 enable_shlwapi
1223 enable_slbcsp
1224 enable_slc
1225 enable_snmpapi
1226 enable_softpub
1227 enable_spoolss
1228 enable_stdole2_tlb
1229 enable_stdole32_tlb
1230 enable_sti
1231 enable_svrapi
1232 enable_sxs
1233 enable_t2embed
1234 enable_tapi32
1235 enable_taskschd
1236 enable_traffic
1237 enable_twain_32
1238 enable_unicows
1239 enable_updspapi
1240 enable_url
1241 enable_urlmon
1242 enable_usbd_sys
1243 enable_user32
1244 enable_userenv
1245 enable_usp10
1246 enable_uxtheme
1247 enable_vbscript
1248 enable_vcomp
1249 enable_vcomp100
1250 enable_vcomp90
1251 enable_vdmdbg
1252 enable_version
1253 enable_wbemdisp
1254 enable_wbemprox
1255 enable_webservices
1256 enable_wer
1257 enable_wevtapi
1258 enable_wiaservc
1259 enable_windowscodecs
1260 enable_windowscodecsext
1261 enable_winealsa_drv
1262 enable_winecoreaudio_drv
1263 enable_wined3d
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1266 enable_winemac_drv
1267 enable_winemapi
1268 enable_winemp3_acm
1269 enable_wineoss_drv
1270 enable_wineps_drv
1271 enable_wineqtdecoder
1272 enable_winex11_drv
1273 enable_wing32
1274 enable_winhttp
1275 enable_wininet
1276 enable_winmm
1277 enable_winnls32
1278 enable_winscard
1279 enable_winspool_drv
1280 enable_winsta
1281 enable_wintab32
1282 enable_wintrust
1283 enable_wlanapi
1284 enable_wldap32
1285 enable_wmi
1286 enable_wmiutils
1287 enable_wmp
1288 enable_wmvcore
1289 enable_wnaspi32
1290 enable_wpcap
1291 enable_ws2_32
1292 enable_wshom_ocx
1293 enable_wsnmp32
1294 enable_wsock32
1295 enable_wtsapi32
1296 enable_wuapi
1297 enable_wuaueng
1298 enable_xapofx1_1
1299 enable_xinput1_1
1300 enable_xinput1_2
1301 enable_xinput1_3
1302 enable_xinput1_4
1303 enable_xinput9_1_0
1304 enable_xmllite
1305 enable_xolehlp
1306 enable_xpsprint
1307 enable_xpssvcs
1308 enable_documentation
1309 enable_fonts
1310 enable_include
1311 enable_libs_port
1312 enable_libs_wine
1313 enable_libs_wpp
1314 enable_loader
1315 enable_arp
1316 enable_aspnet_regiis
1317 enable_attrib
1318 enable_cabarc
1319 enable_cacls
1320 enable_clock
1321 enable_cmd
1322 enable_conhost
1323 enable_control
1324 enable_cscript
1325 enable_dpnsvr
1326 enable_dxdiag
1327 enable_eject
1328 enable_expand
1329 enable_explorer
1330 enable_extrac32
1331 enable_findstr
1332 enable_hh
1333 enable_hostname
1334 enable_icinfo
1335 enable_iexplore
1336 enable_ipconfig
1337 enable_lodctr
1338 enable_mofcomp
1339 enable_mshta
1340 enable_msiexec
1341 enable_net
1342 enable_netsh
1343 enable_netstat
1344 enable_ngen
1345 enable_notepad
1346 enable_oleview
1347 enable_ping
1348 enable_plugplay
1349 enable_presentationfontcache
1350 enable_progman
1351 enable_reg
1352 enable_regasm
1353 enable_regedit
1354 enable_regsvcs
1355 enable_regsvr32
1356 enable_rpcss
1357 enable_rundll32
1358 enable_sc
1359 enable_schtasks
1360 enable_sdbinst
1361 enable_secedit
1362 enable_servicemodelreg
1363 enable_services
1364 enable_spoolsv
1365 enable_start
1366 enable_svchost
1367 enable_systeminfo
1368 enable_taskkill
1369 enable_tasklist
1370 enable_taskmgr
1371 enable_termsv
1372 enable_uninstaller
1373 enable_unlodctr
1374 enable_view
1375 enable_wevtutil
1376 enable_wineboot
1377 enable_winebrowser
1378 enable_winecfg
1379 enable_wineconsole
1380 enable_winedbg
1381 enable_winedevice
1382 enable_winefile
1383 enable_winemenubuilder
1384 enable_winemine
1385 enable_winemsibuilder
1386 enable_winepath
1387 enable_winetest
1388 enable_winhlp32
1389 enable_winver
1390 enable_wmic
1391 enable_wordpad
1392 enable_write
1393 enable_wscript
1394 enable_wusa
1395 enable_xcopy
1396 enable_server
1397 enable_tools
1399 ac_precious_vars='build_alias
1400 host_alias
1401 target_alias
1403 CFLAGS
1404 LDFLAGS
1405 LIBS
1406 CPPFLAGS
1408 CXXFLAGS
1411 XMKMF
1412 XML2_CFLAGS
1413 XML2_LIBS
1414 XSLT_CFLAGS
1415 XSLT_LIBS
1416 DBUS_CFLAGS
1417 DBUS_LIBS
1418 HAL_CFLAGS
1419 HAL_LIBS
1420 GNUTLS_CFLAGS
1421 GNUTLS_LIBS
1422 SANE_CFLAGS
1423 SANE_LIBS
1424 GPHOTO2_CFLAGS
1425 GPHOTO2_LIBS
1426 GPHOTO2_PORT_CFLAGS
1427 GPHOTO2_PORT_LIBS
1428 LCMS2_CFLAGS
1429 LCMS2_LIBS
1430 FREETYPE_CFLAGS
1431 FREETYPE_LIBS
1432 GSTREAMER_CFLAGS
1433 GSTREAMER_LIBS
1434 CAPI20_CFLAGS
1435 CAPI20_LIBS
1436 FONTCONFIG_CFLAGS
1437 FONTCONFIG_LIBS
1438 JPEG_CFLAGS
1439 JPEG_LIBS
1440 PNG_CFLAGS
1441 PNG_LIBS
1442 TIFF_CFLAGS
1443 TIFF_LIBS
1444 MPG123_CFLAGS
1445 MPG123_LIBS'
1448 # Initialize some variables set by options.
1449 ac_init_help=
1450 ac_init_version=false
1451 ac_unrecognized_opts=
1452 ac_unrecognized_sep=
1453 # The variables have the same names as the options, with
1454 # dashes changed to underlines.
1455 cache_file=/dev/null
1456 exec_prefix=NONE
1457 no_create=
1458 no_recursion=
1459 prefix=NONE
1460 program_prefix=NONE
1461 program_suffix=NONE
1462 program_transform_name=s,x,x,
1463 silent=
1464 site=
1465 srcdir=
1466 verbose=
1467 x_includes=NONE
1468 x_libraries=NONE
1470 # Installation directory options.
1471 # These are left unexpanded so users can "make install exec_prefix=/foo"
1472 # and all the variables that are supposed to be based on exec_prefix
1473 # by default will actually change.
1474 # Use braces instead of parens because sh, perl, etc. also accept them.
1475 # (The list follows the same order as the GNU Coding Standards.)
1476 bindir='${exec_prefix}/bin'
1477 sbindir='${exec_prefix}/sbin'
1478 libexecdir='${exec_prefix}/libexec'
1479 datarootdir='${prefix}/share'
1480 datadir='${datarootdir}'
1481 sysconfdir='${prefix}/etc'
1482 sharedstatedir='${prefix}/com'
1483 localstatedir='${prefix}/var'
1484 includedir='${prefix}/include'
1485 oldincludedir='/usr/include'
1486 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1487 infodir='${datarootdir}/info'
1488 htmldir='${docdir}'
1489 dvidir='${docdir}'
1490 pdfdir='${docdir}'
1491 psdir='${docdir}'
1492 libdir='${exec_prefix}/lib'
1493 localedir='${datarootdir}/locale'
1494 mandir='${datarootdir}/man'
1496 ac_prev=
1497 ac_dashdash=
1498 for ac_option
1500 # If the previous option needs an argument, assign it.
1501 if test -n "$ac_prev"; then
1502 eval $ac_prev=\$ac_option
1503 ac_prev=
1504 continue
1507 case $ac_option in
1508 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1509 *=) ac_optarg= ;;
1510 *) ac_optarg=yes ;;
1511 esac
1513 # Accept the important Cygnus configure options, so we can diagnose typos.
1515 case $ac_dashdash$ac_option in
1517 ac_dashdash=yes ;;
1519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1520 ac_prev=bindir ;;
1521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1522 bindir=$ac_optarg ;;
1524 -build | --build | --buil | --bui | --bu)
1525 ac_prev=build_alias ;;
1526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1527 build_alias=$ac_optarg ;;
1529 -cache-file | --cache-file | --cache-fil | --cache-fi \
1530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1531 ac_prev=cache_file ;;
1532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1534 cache_file=$ac_optarg ;;
1536 --config-cache | -C)
1537 cache_file=config.cache ;;
1539 -datadir | --datadir | --datadi | --datad)
1540 ac_prev=datadir ;;
1541 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1542 datadir=$ac_optarg ;;
1544 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1545 | --dataroo | --dataro | --datar)
1546 ac_prev=datarootdir ;;
1547 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1548 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1549 datarootdir=$ac_optarg ;;
1551 -disable-* | --disable-*)
1552 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1553 # Reject names that are not valid shell variable names.
1554 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1555 as_fn_error $? "invalid feature name: $ac_useropt"
1556 ac_useropt_orig=$ac_useropt
1557 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558 case $ac_user_opts in
1560 "enable_$ac_useropt"
1561 "*) ;;
1562 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1563 ac_unrecognized_sep=', ';;
1564 esac
1565 eval enable_$ac_useropt=no ;;
1567 -docdir | --docdir | --docdi | --doc | --do)
1568 ac_prev=docdir ;;
1569 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1570 docdir=$ac_optarg ;;
1572 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1573 ac_prev=dvidir ;;
1574 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1575 dvidir=$ac_optarg ;;
1577 -enable-* | --enable-*)
1578 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1581 as_fn_error $? "invalid feature name: $ac_useropt"
1582 ac_useropt_orig=$ac_useropt
1583 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_$ac_useropt"
1587 "*) ;;
1588 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1589 ac_unrecognized_sep=', ';;
1590 esac
1591 eval enable_$ac_useropt=\$ac_optarg ;;
1593 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1594 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1595 | --exec | --exe | --ex)
1596 ac_prev=exec_prefix ;;
1597 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1598 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1599 | --exec=* | --exe=* | --ex=*)
1600 exec_prefix=$ac_optarg ;;
1602 -gas | --gas | --ga | --g)
1603 # Obsolete; use --with-gas.
1604 with_gas=yes ;;
1606 -help | --help | --hel | --he | -h)
1607 ac_init_help=long ;;
1608 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1609 ac_init_help=recursive ;;
1610 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1611 ac_init_help=short ;;
1613 -host | --host | --hos | --ho)
1614 ac_prev=host_alias ;;
1615 -host=* | --host=* | --hos=* | --ho=*)
1616 host_alias=$ac_optarg ;;
1618 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1619 ac_prev=htmldir ;;
1620 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1621 | --ht=*)
1622 htmldir=$ac_optarg ;;
1624 -includedir | --includedir | --includedi | --included | --include \
1625 | --includ | --inclu | --incl | --inc)
1626 ac_prev=includedir ;;
1627 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1628 | --includ=* | --inclu=* | --incl=* | --inc=*)
1629 includedir=$ac_optarg ;;
1631 -infodir | --infodir | --infodi | --infod | --info | --inf)
1632 ac_prev=infodir ;;
1633 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1634 infodir=$ac_optarg ;;
1636 -libdir | --libdir | --libdi | --libd)
1637 ac_prev=libdir ;;
1638 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1639 libdir=$ac_optarg ;;
1641 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1642 | --libexe | --libex | --libe)
1643 ac_prev=libexecdir ;;
1644 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1645 | --libexe=* | --libex=* | --libe=*)
1646 libexecdir=$ac_optarg ;;
1648 -localedir | --localedir | --localedi | --localed | --locale)
1649 ac_prev=localedir ;;
1650 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1651 localedir=$ac_optarg ;;
1653 -localstatedir | --localstatedir | --localstatedi | --localstated \
1654 | --localstate | --localstat | --localsta | --localst | --locals)
1655 ac_prev=localstatedir ;;
1656 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1657 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1658 localstatedir=$ac_optarg ;;
1660 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1661 ac_prev=mandir ;;
1662 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1663 mandir=$ac_optarg ;;
1665 -nfp | --nfp | --nf)
1666 # Obsolete; use --without-fp.
1667 with_fp=no ;;
1669 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1670 | --no-cr | --no-c | -n)
1671 no_create=yes ;;
1673 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1674 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1675 no_recursion=yes ;;
1677 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1678 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1679 | --oldin | --oldi | --old | --ol | --o)
1680 ac_prev=oldincludedir ;;
1681 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1682 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1683 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1684 oldincludedir=$ac_optarg ;;
1686 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1687 ac_prev=prefix ;;
1688 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1689 prefix=$ac_optarg ;;
1691 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1692 | --program-pre | --program-pr | --program-p)
1693 ac_prev=program_prefix ;;
1694 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1695 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1696 program_prefix=$ac_optarg ;;
1698 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1699 | --program-suf | --program-su | --program-s)
1700 ac_prev=program_suffix ;;
1701 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1702 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1703 program_suffix=$ac_optarg ;;
1705 -program-transform-name | --program-transform-name \
1706 | --program-transform-nam | --program-transform-na \
1707 | --program-transform-n | --program-transform- \
1708 | --program-transform | --program-transfor \
1709 | --program-transfo | --program-transf \
1710 | --program-trans | --program-tran \
1711 | --progr-tra | --program-tr | --program-t)
1712 ac_prev=program_transform_name ;;
1713 -program-transform-name=* | --program-transform-name=* \
1714 | --program-transform-nam=* | --program-transform-na=* \
1715 | --program-transform-n=* | --program-transform-=* \
1716 | --program-transform=* | --program-transfor=* \
1717 | --program-transfo=* | --program-transf=* \
1718 | --program-trans=* | --program-tran=* \
1719 | --progr-tra=* | --program-tr=* | --program-t=*)
1720 program_transform_name=$ac_optarg ;;
1722 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1723 ac_prev=pdfdir ;;
1724 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1725 pdfdir=$ac_optarg ;;
1727 -psdir | --psdir | --psdi | --psd | --ps)
1728 ac_prev=psdir ;;
1729 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1730 psdir=$ac_optarg ;;
1732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1733 | -silent | --silent | --silen | --sile | --sil)
1734 silent=yes ;;
1736 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1737 ac_prev=sbindir ;;
1738 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1739 | --sbi=* | --sb=*)
1740 sbindir=$ac_optarg ;;
1742 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1743 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1744 | --sharedst | --shareds | --shared | --share | --shar \
1745 | --sha | --sh)
1746 ac_prev=sharedstatedir ;;
1747 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1748 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1749 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1750 | --sha=* | --sh=*)
1751 sharedstatedir=$ac_optarg ;;
1753 -site | --site | --sit)
1754 ac_prev=site ;;
1755 -site=* | --site=* | --sit=*)
1756 site=$ac_optarg ;;
1758 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1759 ac_prev=srcdir ;;
1760 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1761 srcdir=$ac_optarg ;;
1763 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1764 | --syscon | --sysco | --sysc | --sys | --sy)
1765 ac_prev=sysconfdir ;;
1766 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1767 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1768 sysconfdir=$ac_optarg ;;
1770 -target | --target | --targe | --targ | --tar | --ta | --t)
1771 ac_prev=target_alias ;;
1772 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1773 target_alias=$ac_optarg ;;
1775 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1776 verbose=yes ;;
1778 -version | --version | --versio | --versi | --vers | -V)
1779 ac_init_version=: ;;
1781 -with-* | --with-*)
1782 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1783 # Reject names that are not valid shell variable names.
1784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1785 as_fn_error $? "invalid package name: $ac_useropt"
1786 ac_useropt_orig=$ac_useropt
1787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1788 case $ac_user_opts in
1790 "with_$ac_useropt"
1791 "*) ;;
1792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1793 ac_unrecognized_sep=', ';;
1794 esac
1795 eval with_$ac_useropt=\$ac_optarg ;;
1797 -without-* | --without-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid package name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "with_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval with_$ac_useropt=no ;;
1813 --x)
1814 # Obsolete; use --with-x.
1815 with_x=yes ;;
1817 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1818 | --x-incl | --x-inc | --x-in | --x-i)
1819 ac_prev=x_includes ;;
1820 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1821 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1822 x_includes=$ac_optarg ;;
1824 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1825 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1826 ac_prev=x_libraries ;;
1827 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1828 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1829 x_libraries=$ac_optarg ;;
1831 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1832 Try \`$0 --help' for more information"
1835 *=*)
1836 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1837 # Reject names that are not valid shell variable names.
1838 case $ac_envvar in #(
1839 '' | [0-9]* | *[!_$as_cr_alnum]* )
1840 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1841 esac
1842 eval $ac_envvar=\$ac_optarg
1843 export $ac_envvar ;;
1846 # FIXME: should be removed in autoconf 3.0.
1847 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1848 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1849 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1850 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853 esac
1854 done
1856 if test -n "$ac_prev"; then
1857 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1858 as_fn_error $? "missing argument to $ac_option"
1861 if test -n "$ac_unrecognized_opts"; then
1862 case $enable_option_checking in
1863 no) ;;
1864 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1865 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1866 esac
1869 # Check all directory arguments for consistency.
1870 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1871 datadir sysconfdir sharedstatedir localstatedir includedir \
1872 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1873 libdir localedir mandir
1875 eval ac_val=\$$ac_var
1876 # Remove trailing slashes.
1877 case $ac_val in
1878 */ )
1879 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1880 eval $ac_var=\$ac_val;;
1881 esac
1882 # Be sure to have absolute directory names.
1883 case $ac_val in
1884 [\\/$]* | ?:[\\/]* ) continue;;
1885 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1886 esac
1887 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1888 done
1890 # There might be people who depend on the old broken behavior: `$host'
1891 # used to hold the argument of --host etc.
1892 # FIXME: To remove some day.
1893 build=$build_alias
1894 host=$host_alias
1895 target=$target_alias
1897 # FIXME: To remove some day.
1898 if test "x$host_alias" != x; then
1899 if test "x$build_alias" = x; then
1900 cross_compiling=maybe
1901 elif test "x$build_alias" != "x$host_alias"; then
1902 cross_compiling=yes
1906 ac_tool_prefix=
1907 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1909 test "$silent" = yes && exec 6>/dev/null
1912 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1913 ac_ls_di=`ls -di .` &&
1914 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1915 as_fn_error $? "working directory cannot be determined"
1916 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1917 as_fn_error $? "pwd does not report name of working directory"
1920 # Find the source files, if location was not specified.
1921 if test -z "$srcdir"; then
1922 ac_srcdir_defaulted=yes
1923 # Try the directory containing this script, then the parent directory.
1924 ac_confdir=`$as_dirname -- "$as_myself" ||
1925 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1926 X"$as_myself" : 'X\(//\)[^/]' \| \
1927 X"$as_myself" : 'X\(//\)$' \| \
1928 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1929 $as_echo X"$as_myself" |
1930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1931 s//\1/
1934 /^X\(\/\/\)[^/].*/{
1935 s//\1/
1938 /^X\(\/\/\)$/{
1939 s//\1/
1942 /^X\(\/\).*/{
1943 s//\1/
1946 s/.*/./; q'`
1947 srcdir=$ac_confdir
1948 if test ! -r "$srcdir/$ac_unique_file"; then
1949 srcdir=..
1951 else
1952 ac_srcdir_defaulted=no
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1955 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1956 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1958 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1959 ac_abs_confdir=`(
1960 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1961 pwd)`
1962 # When building in place, set srcdir=.
1963 if test "$ac_abs_confdir" = "$ac_pwd"; then
1964 srcdir=.
1966 # Remove unnecessary trailing slashes from srcdir.
1967 # Double slashes in file names in object file debugging info
1968 # mess up M-x gdb in Emacs.
1969 case $srcdir in
1970 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1971 esac
1972 for ac_var in $ac_precious_vars; do
1973 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1974 eval ac_env_${ac_var}_value=\$${ac_var}
1975 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1976 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1977 done
1980 # Report the --help message.
1982 if test "$ac_init_help" = "long"; then
1983 # Omit some internal or obsolete options to make the list less imposing.
1984 # This message is too long to be a string in the A/UX 3.1 sh.
1985 cat <<_ACEOF
1986 \`configure' configures Wine 1.7.28 to adapt to many kinds of systems.
1988 Usage: $0 [OPTION]... [VAR=VALUE]...
1990 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1991 VAR=VALUE. See below for descriptions of some of the useful variables.
1993 Defaults for the options are specified in brackets.
1995 Configuration:
1996 -h, --help display this help and exit
1997 --help=short display options specific to this package
1998 --help=recursive display the short help of all the included packages
1999 -V, --version display version information and exit
2000 -q, --quiet, --silent do not print \`checking ...' messages
2001 --cache-file=FILE cache test results in FILE [disabled]
2002 -C, --config-cache alias for \`--cache-file=config.cache'
2003 -n, --no-create do not create output files
2004 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2006 Installation directories:
2007 --prefix=PREFIX install architecture-independent files in PREFIX
2008 [$ac_default_prefix]
2009 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2010 [PREFIX]
2012 By default, \`make install' will install all the files in
2013 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2014 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2015 for instance \`--prefix=\$HOME'.
2017 For better control, use the options below.
2019 Fine tuning of the installation directories:
2020 --bindir=DIR user executables [EPREFIX/bin]
2021 --sbindir=DIR system admin executables [EPREFIX/sbin]
2022 --libexecdir=DIR program executables [EPREFIX/libexec]
2023 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2024 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2025 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2026 --libdir=DIR object code libraries [EPREFIX/lib]
2027 --includedir=DIR C header files [PREFIX/include]
2028 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2029 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2030 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2031 --infodir=DIR info documentation [DATAROOTDIR/info]
2032 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2033 --mandir=DIR man documentation [DATAROOTDIR/man]
2034 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2035 --htmldir=DIR html documentation [DOCDIR]
2036 --dvidir=DIR dvi documentation [DOCDIR]
2037 --pdfdir=DIR pdf documentation [DOCDIR]
2038 --psdir=DIR ps documentation [DOCDIR]
2039 _ACEOF
2041 cat <<\_ACEOF
2043 X features:
2044 --x-includes=DIR X include files are in DIR
2045 --x-libraries=DIR X library files are in DIR
2047 System types:
2048 --build=BUILD configure for building on BUILD [guessed]
2049 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2050 _ACEOF
2053 if test -n "$ac_init_help"; then
2054 case $ac_init_help in
2055 short | recursive ) echo "Configuration of Wine 1.7.28:";;
2056 esac
2057 cat <<\_ACEOF
2059 Optional Features:
2060 --disable-option-checking ignore unrecognized --enable/--with options
2061 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2062 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2063 --disable-win16 do not include Win16 support
2064 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2065 binaries)
2066 --disable-tests do not build the regression tests
2067 --enable-maintainer-mode
2068 enable maintainer-specific build rules
2069 --disable-largefile omit support for large files
2071 Optional Packages:
2072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2074 --without-alsa do not use the Alsa sound support
2075 --without-capi do not use CAPI (ISDN support)
2076 --without-cms do not use CMS (color management support)
2077 --without-coreaudio do not use the CoreAudio sound support
2078 --without-cups do not use CUPS
2079 --without-curses do not use (n)curses
2080 --without-dbus do not use DBus (dynamic device support)
2081 --without-fontconfig do not use fontconfig
2082 --without-freetype do not use the FreeType library
2083 --without-gettext do not use gettext
2084 --with-gettextpo use the GetTextPO library to rebuild po files
2085 --without-gphoto do not use gphoto (Digital Camera support)
2086 --without-glu do not use the GLU library
2087 --without-gnutls do not use GnuTLS (schannel support)
2088 --without-gsm do not use libgsm (GSM 06.10 codec support)
2089 --without-gstreamer do not use GStreamer (codecs support)
2090 --without-hal do not use HAL (dynamic device support)
2091 --without-jpeg do not use JPEG
2092 --without-ldap do not use LDAP
2093 --without-mpg123 do not use the mpg123 library
2094 --without-netapi do not use the Samba NetAPI library
2095 --without-openal do not use OpenAL
2096 --without-opencl do not use OpenCL
2097 --without-opengl do not use OpenGL
2098 --without-osmesa do not use the OSMesa library
2099 --without-oss do not use the OSS sound support
2100 --without-pcap do not use the Packet Capture library
2101 --without-png do not use PNG
2102 --without-pthread do not use the pthread library
2103 --without-sane do not use SANE (scanner support)
2104 --without-tiff do not use TIFF
2105 --without-v4l do not use v4l1 (v4l support)
2106 --without-xcomposite do not use the Xcomposite extension
2107 --without-xcursor do not use the Xcursor extension
2108 --without-xinerama do not use Xinerama (multi-monitor support)
2109 --without-xinput do not use the Xinput extension
2110 --without-xinput2 do not use the Xinput 2 extension
2111 --without-xml do not use XML
2112 --without-xrandr do not use Xrandr (resolution changes)
2113 --without-xrender do not use the Xrender extension
2114 --without-xshape do not use the Xshape extension
2115 --without-xshm do not use XShm (shared memory extension)
2116 --without-xslt do not use XSLT
2117 --without-xxf86vm do not use XFree video mode extension
2118 --without-zlib do not use Zlib (data compression)
2119 --with-wine-tools=DIR use Wine tools from directory DIR
2120 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2121 --with-x use the X Window System
2123 Some influential environment variables:
2124 CC C compiler command
2125 CFLAGS C compiler flags
2126 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2127 nonstandard directory <lib dir>
2128 LIBS libraries to pass to the linker, e.g. -l<library>
2129 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2130 you have headers in a nonstandard directory <include dir>
2131 CXX C++ compiler command
2132 CXXFLAGS C++ compiler flags
2133 CPP C preprocessor
2134 XMKMF Path to xmkmf, Makefile generator for X Window System
2135 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2136 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2137 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2138 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2139 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2140 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2141 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2142 HAL_LIBS Linker flags for hal, overriding pkg-config
2143 GNUTLS_CFLAGS
2144 C compiler flags for gnutls, overriding pkg-config
2145 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2146 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2147 SANE_LIBS Linker flags for libsane, overriding pkg-config
2148 GPHOTO2_CFLAGS
2149 C compiler flags for libgphoto2, overriding pkg-config
2150 GPHOTO2_LIBS
2151 Linker flags for libgphoto2, overriding pkg-config
2152 GPHOTO2_PORT_CFLAGS
2153 C compiler flags for libgphoto2_port, overriding pkg-config
2154 GPHOTO2_PORT_LIBS
2155 Linker flags for libgphoto2_port, overriding pkg-config
2156 LCMS2_CFLAGS
2157 C compiler flags for lcms2, overriding pkg-config
2158 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2159 FREETYPE_CFLAGS
2160 C compiler flags for freetype2, overriding pkg-config
2161 FREETYPE_LIBS
2162 Linker flags for freetype2, overriding pkg-config
2163 GSTREAMER_CFLAGS
2164 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2165 GSTREAMER_LIBS
2166 Linker flags for gstreamer-app-0.10, overriding pkg-config
2167 CAPI20_CFLAGS
2168 C compiler flags for capi20, overriding pkg-config
2169 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2170 FONTCONFIG_CFLAGS
2171 C compiler flags for fontconfig, overriding pkg-config
2172 FONTCONFIG_LIBS
2173 Linker flags for fontconfig, overriding pkg-config
2174 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2175 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2176 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2177 PNG_LIBS Linker flags for libpng, overriding pkg-config
2178 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2179 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2180 MPG123_CFLAGS
2181 C compiler flags for libmpg123, overriding pkg-config
2182 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2184 Use these variables to override the choices made by `configure' or to help
2185 it to find libraries and programs with nonstandard names/locations.
2187 Report bugs to <wine-devel@winehq.org>.
2188 Wine home page: <http://www.winehq.org>.
2189 _ACEOF
2190 ac_status=$?
2193 if test "$ac_init_help" = "recursive"; then
2194 # If there are subdirs, report their specific --help.
2195 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2196 test -d "$ac_dir" ||
2197 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2198 continue
2199 ac_builddir=.
2201 case "$ac_dir" in
2202 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2204 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2205 # A ".." for each directory in $ac_dir_suffix.
2206 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2207 case $ac_top_builddir_sub in
2208 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2209 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2210 esac ;;
2211 esac
2212 ac_abs_top_builddir=$ac_pwd
2213 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2214 # for backward compatibility:
2215 ac_top_builddir=$ac_top_build_prefix
2217 case $srcdir in
2218 .) # We are building in place.
2219 ac_srcdir=.
2220 ac_top_srcdir=$ac_top_builddir_sub
2221 ac_abs_top_srcdir=$ac_pwd ;;
2222 [\\/]* | ?:[\\/]* ) # Absolute name.
2223 ac_srcdir=$srcdir$ac_dir_suffix;
2224 ac_top_srcdir=$srcdir
2225 ac_abs_top_srcdir=$srcdir ;;
2226 *) # Relative name.
2227 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2228 ac_top_srcdir=$ac_top_build_prefix$srcdir
2229 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2230 esac
2231 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2233 cd "$ac_dir" || { ac_status=$?; continue; }
2234 # Check for guested configure.
2235 if test -f "$ac_srcdir/configure.gnu"; then
2236 echo &&
2237 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2238 elif test -f "$ac_srcdir/configure"; then
2239 echo &&
2240 $SHELL "$ac_srcdir/configure" --help=recursive
2241 else
2242 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2243 fi || ac_status=$?
2244 cd "$ac_pwd" || { ac_status=$?; break; }
2245 done
2248 test -n "$ac_init_help" && exit $ac_status
2249 if $ac_init_version; then
2250 cat <<\_ACEOF
2251 Wine configure 1.7.28
2252 generated by GNU Autoconf 2.69
2254 Copyright (C) 2012 Free Software Foundation, Inc.
2255 This configure script is free software; the Free Software Foundation
2256 gives unlimited permission to copy, distribute and modify it.
2257 _ACEOF
2258 exit
2261 ## ------------------------ ##
2262 ## Autoconf initialization. ##
2263 ## ------------------------ ##
2265 # ac_fn_c_try_compile LINENO
2266 # --------------------------
2267 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2268 ac_fn_c_try_compile ()
2270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2271 rm -f conftest.$ac_objext
2272 if { { ac_try="$ac_compile"
2273 case "(($ac_try" in
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2276 esac
2277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278 $as_echo "$ac_try_echo"; } >&5
2279 (eval "$ac_compile") 2>conftest.err
2280 ac_status=$?
2281 if test -s conftest.err; then
2282 grep -v '^ *+' conftest.err >conftest.er1
2283 cat conftest.er1 >&5
2284 mv -f conftest.er1 conftest.err
2286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2287 test $ac_status = 0; } && {
2288 test -z "$ac_c_werror_flag" ||
2289 test ! -s conftest.err
2290 } && test -s conftest.$ac_objext; then :
2291 ac_retval=0
2292 else
2293 $as_echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.$ac_ext >&5
2296 ac_retval=1
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299 as_fn_set_status $ac_retval
2301 } # ac_fn_c_try_compile
2303 # ac_fn_cxx_try_compile LINENO
2304 # ----------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_cxx_try_compile ()
2308 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309 rm -f conftest.$ac_objext
2310 if { { ac_try="$ac_compile"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2318 ac_status=$?
2319 if test -s conftest.err; then
2320 grep -v '^ *+' conftest.err >conftest.er1
2321 cat conftest.er1 >&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_cxx_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.$ac_objext; then :
2329 ac_retval=0
2330 else
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2334 ac_retval=1
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status $ac_retval
2339 } # ac_fn_cxx_try_compile
2341 # ac_fn_c_try_link LINENO
2342 # -----------------------
2343 # Try to link conftest.$ac_ext, and return whether this succeeded.
2344 ac_fn_c_try_link ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 rm -f conftest.$ac_objext conftest$ac_exeext
2348 if { { ac_try="$ac_link"
2349 case "(($ac_try" in
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2352 esac
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_link") 2>conftest.err
2356 ac_status=$?
2357 if test -s conftest.err; then
2358 grep -v '^ *+' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_c_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest$ac_exeext && {
2367 test "$cross_compiling" = yes ||
2368 test -x conftest$ac_exeext
2369 }; then :
2370 ac_retval=0
2371 else
2372 $as_echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2375 ac_retval=1
2377 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2378 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2379 # interfere with the next link command; also delete a directory that is
2380 # left behind by Apple's compiler. We do this before executing the actions.
2381 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2385 } # ac_fn_c_try_link
2387 # ac_fn_c_try_cpp LINENO
2388 # ----------------------
2389 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2390 ac_fn_c_try_cpp ()
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 if { { ac_try="$ac_cpp conftest.$ac_ext"
2394 case "(($ac_try" in
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2397 esac
2398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2401 ac_status=$?
2402 if test -s conftest.err; then
2403 grep -v '^ *+' conftest.err >conftest.er1
2404 cat conftest.er1 >&5
2405 mv -f conftest.er1 conftest.err
2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 test $ac_status = 0; } > conftest.i && {
2409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2410 test ! -s conftest.err
2411 }; then :
2412 ac_retval=0
2413 else
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2417 ac_retval=1
2419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2420 as_fn_set_status $ac_retval
2422 } # ac_fn_c_try_cpp
2424 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2425 # -------------------------------------------------------
2426 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2427 # the include files in INCLUDES and setting the cache variable VAR
2428 # accordingly.
2429 ac_fn_c_check_header_mongrel ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if eval \${$3+:} false; then :
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if eval \${$3+:} false; then :
2436 $as_echo_n "(cached) " >&6
2438 eval ac_res=\$$3
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440 $as_echo "$ac_res" >&6; }
2441 else
2442 # Is the header compilable?
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2444 $as_echo_n "checking $2 usability... " >&6; }
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2448 #include <$2>
2449 _ACEOF
2450 if ac_fn_c_try_compile "$LINENO"; then :
2451 ac_header_compiler=yes
2452 else
2453 ac_header_compiler=no
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2457 $as_echo "$ac_header_compiler" >&6; }
2459 # Is the header present?
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2461 $as_echo_n "checking $2 presence... " >&6; }
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 #include <$2>
2465 _ACEOF
2466 if ac_fn_c_try_cpp "$LINENO"; then :
2467 ac_header_preproc=yes
2468 else
2469 ac_header_preproc=no
2471 rm -f conftest.err conftest.i conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2473 $as_echo "$ac_header_preproc" >&6; }
2475 # So? What about this header?
2476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2477 yes:no: )
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2479 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2483 no:yes:* )
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2485 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2487 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2489 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2491 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2493 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 ( $as_echo "## ------------------------------------ ##
2495 ## Report this to wine-devel@winehq.org ##
2496 ## ------------------------------------ ##"
2497 ) | sed "s/^/$as_me: WARNING: /" >&2
2499 esac
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501 $as_echo_n "checking for $2... " >&6; }
2502 if eval \${$3+:} false; then :
2503 $as_echo_n "(cached) " >&6
2504 else
2505 eval "$3=\$ac_header_compiler"
2507 eval ac_res=\$$3
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 } # ac_fn_c_check_header_mongrel
2515 # ac_fn_c_try_run LINENO
2516 # ----------------------
2517 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2518 # that executables *can* be run.
2519 ac_fn_c_try_run ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 if { { ac_try="$ac_link"
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_link") 2>&5
2530 ac_status=$?
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2533 { { case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_try") 2>&5
2540 ac_status=$?
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; }; then :
2543 ac_retval=0
2544 else
2545 $as_echo "$as_me: program exited with status $ac_status" >&5
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 ac_retval=$ac_status
2551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_try_run
2557 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2558 # -------------------------------------------------------
2559 # Tests whether HEADER exists and can be compiled using the include files in
2560 # INCLUDES, setting the cache variable VAR accordingly.
2561 ac_fn_c_check_header_compile ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2565 $as_echo_n "checking for $2... " >&6; }
2566 if eval \${$3+:} false; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2572 #include <$2>
2573 _ACEOF
2574 if ac_fn_c_try_compile "$LINENO"; then :
2575 eval "$3=yes"
2576 else
2577 eval "$3=no"
2579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581 eval ac_res=\$$3
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2583 $as_echo "$ac_res" >&6; }
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 } # ac_fn_c_check_header_compile
2588 # ac_fn_c_check_func LINENO FUNC VAR
2589 # ----------------------------------
2590 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2591 ac_fn_c_check_func ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \${$3+:} false; then :
2597 $as_echo_n "(cached) " >&6
2598 else
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2601 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2603 #define $2 innocuous_$2
2605 /* System header to define __stub macros and hopefully few prototypes,
2606 which can conflict with char $2 (); below.
2607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2608 <limits.h> exists even on freestanding compilers. */
2610 #ifdef __STDC__
2611 # include <limits.h>
2612 #else
2613 # include <assert.h>
2614 #endif
2616 #undef $2
2618 /* Override any GCC internal prototype to avoid an error.
2619 Use char because int might match the return type of a GCC
2620 builtin and then its argument prototype would still apply. */
2621 #ifdef __cplusplus
2622 extern "C"
2623 #endif
2624 char $2 ();
2625 /* The GNU C library defines this for functions which it implements
2626 to always fail with ENOSYS. Some functions are actually named
2627 something starting with __ and the normal name is an alias. */
2628 #if defined __stub_$2 || defined __stub___$2
2629 choke me
2630 #endif
2633 main ()
2635 return $2 ();
2637 return 0;
2639 _ACEOF
2640 if ac_fn_c_try_link "$LINENO"; then :
2641 eval "$3=yes"
2642 else
2643 eval "$3=no"
2645 rm -f core conftest.err conftest.$ac_objext \
2646 conftest$ac_exeext conftest.$ac_ext
2648 eval ac_res=\$$3
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 } # ac_fn_c_check_func
2655 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2656 # ----------------------------------------------------
2657 # Tries to find if the field MEMBER exists in type AGGR, after including
2658 # INCLUDES, setting cache variable VAR accordingly.
2659 ac_fn_c_check_member ()
2661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2663 $as_echo_n "checking for $2.$3... " >&6; }
2664 if eval \${$4+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2671 main ()
2673 static $2 ac_aggr;
2674 if (ac_aggr.$3)
2675 return 0;
2677 return 0;
2679 _ACEOF
2680 if ac_fn_c_try_compile "$LINENO"; then :
2681 eval "$4=yes"
2682 else
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2689 static $2 ac_aggr;
2690 if (sizeof ac_aggr.$3)
2691 return 0;
2693 return 0;
2695 _ACEOF
2696 if ac_fn_c_try_compile "$LINENO"; then :
2697 eval "$4=yes"
2698 else
2699 eval "$4=no"
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 eval ac_res=\$$4
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_member
2712 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2713 # -------------------------------------------
2714 # Tests whether TYPE exists after having included INCLUDES, setting cache
2715 # variable VAR accordingly.
2716 ac_fn_c_check_type ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \${$3+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 eval "$3=no"
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 main ()
2731 if (sizeof ($2))
2732 return 0;
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2742 main ()
2744 if (sizeof (($2)))
2745 return 0;
2747 return 0;
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2752 else
2753 eval "$3=yes"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 eval ac_res=\$$3
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2761 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_type
2765 cat >config.log <<_ACEOF
2766 This file contains any messages produced by compilers while
2767 running configure, to aid debugging if configure makes a mistake.
2769 It was created by Wine $as_me 1.7.28, which was
2770 generated by GNU Autoconf 2.69. Invocation command line was
2772 $ $0 $@
2774 _ACEOF
2775 exec 5>>config.log
2777 cat <<_ASUNAME
2778 ## --------- ##
2779 ## Platform. ##
2780 ## --------- ##
2782 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2783 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2784 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2785 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2786 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2788 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2789 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2791 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2792 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2793 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2794 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2795 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2796 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2797 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2799 _ASUNAME
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 $as_echo "PATH: $as_dir"
2807 done
2808 IFS=$as_save_IFS
2810 } >&5
2812 cat >&5 <<_ACEOF
2815 ## ----------- ##
2816 ## Core tests. ##
2817 ## ----------- ##
2819 _ACEOF
2822 # Keep a trace of the command line.
2823 # Strip out --no-create and --no-recursion so they do not pile up.
2824 # Strip out --silent because we don't want to record it for future runs.
2825 # Also quote any args containing shell meta-characters.
2826 # Make two passes to allow for proper duplicate-argument suppression.
2827 ac_configure_args=
2828 ac_configure_args0=
2829 ac_configure_args1=
2830 ac_must_keep_next=false
2831 for ac_pass in 1 2
2833 for ac_arg
2835 case $ac_arg in
2836 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2838 | -silent | --silent | --silen | --sile | --sil)
2839 continue ;;
2840 *\'*)
2841 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2842 esac
2843 case $ac_pass in
2844 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2846 as_fn_append ac_configure_args1 " '$ac_arg'"
2847 if test $ac_must_keep_next = true; then
2848 ac_must_keep_next=false # Got value, back to normal.
2849 else
2850 case $ac_arg in
2851 *=* | --config-cache | -C | -disable-* | --disable-* \
2852 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2853 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2854 | -with-* | --with-* | -without-* | --without-* | --x)
2855 case "$ac_configure_args0 " in
2856 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2857 esac
2859 -* ) ac_must_keep_next=true ;;
2860 esac
2862 as_fn_append ac_configure_args " '$ac_arg'"
2864 esac
2865 done
2866 done
2867 { ac_configure_args0=; unset ac_configure_args0;}
2868 { ac_configure_args1=; unset ac_configure_args1;}
2870 # When interrupted or exit'd, cleanup temporary files, and complete
2871 # config.log. We remove comments because anyway the quotes in there
2872 # would cause problems or look ugly.
2873 # WARNING: Use '\'' to represent an apostrophe within the trap.
2874 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2875 trap 'exit_status=$?
2876 # Save into config.log some information that might help in debugging.
2878 echo
2880 $as_echo "## ---------------- ##
2881 ## Cache variables. ##
2882 ## ---------------- ##"
2883 echo
2884 # The following way of writing the cache mishandles newlines in values,
2886 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2887 eval ac_val=\$$ac_var
2888 case $ac_val in #(
2889 *${as_nl}*)
2890 case $ac_var in #(
2891 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2893 esac
2894 case $ac_var in #(
2895 _ | IFS | as_nl) ;; #(
2896 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2897 *) { eval $ac_var=; unset $ac_var;} ;;
2898 esac ;;
2899 esac
2900 done
2901 (set) 2>&1 |
2902 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2903 *${as_nl}ac_space=\ *)
2904 sed -n \
2905 "s/'\''/'\''\\\\'\'''\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2907 ;; #(
2909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2911 esac |
2912 sort
2914 echo
2916 $as_echo "## ----------------- ##
2917 ## Output variables. ##
2918 ## ----------------- ##"
2919 echo
2920 for ac_var in $ac_subst_vars
2922 eval ac_val=\$$ac_var
2923 case $ac_val in
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 esac
2926 $as_echo "$ac_var='\''$ac_val'\''"
2927 done | sort
2928 echo
2930 if test -n "$ac_subst_files"; then
2931 $as_echo "## ------------------- ##
2932 ## File substitutions. ##
2933 ## ------------------- ##"
2934 echo
2935 for ac_var in $ac_subst_files
2937 eval ac_val=\$$ac_var
2938 case $ac_val in
2939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2940 esac
2941 $as_echo "$ac_var='\''$ac_val'\''"
2942 done | sort
2943 echo
2946 if test -s confdefs.h; then
2947 $as_echo "## ----------- ##
2948 ## confdefs.h. ##
2949 ## ----------- ##"
2950 echo
2951 cat confdefs.h
2952 echo
2954 test "$ac_signal" != 0 &&
2955 $as_echo "$as_me: caught signal $ac_signal"
2956 $as_echo "$as_me: exit $exit_status"
2957 } >&5
2958 rm -f core *.core core.conftest.* &&
2959 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2960 exit $exit_status
2962 for ac_signal in 1 2 13 15; do
2963 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2964 done
2965 ac_signal=0
2967 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2968 rm -f -r conftest* confdefs.h
2970 $as_echo "/* confdefs.h */" > confdefs.h
2972 # Predefined preprocessor variables.
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_NAME "$PACKAGE_NAME"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2980 _ACEOF
2982 cat >>confdefs.h <<_ACEOF
2983 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2984 _ACEOF
2986 cat >>confdefs.h <<_ACEOF
2987 #define PACKAGE_STRING "$PACKAGE_STRING"
2988 _ACEOF
2990 cat >>confdefs.h <<_ACEOF
2991 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2992 _ACEOF
2994 cat >>confdefs.h <<_ACEOF
2995 #define PACKAGE_URL "$PACKAGE_URL"
2996 _ACEOF
2999 # Let the site file select an alternate cache file if it wants to.
3000 # Prefer an explicitly selected file to automatically selected ones.
3001 ac_site_file1=NONE
3002 ac_site_file2=NONE
3003 if test -n "$CONFIG_SITE"; then
3004 # We do not want a PATH search for config.site.
3005 case $CONFIG_SITE in #((
3006 -*) ac_site_file1=./$CONFIG_SITE;;
3007 */*) ac_site_file1=$CONFIG_SITE;;
3008 *) ac_site_file1=./$CONFIG_SITE;;
3009 esac
3010 elif test "x$prefix" != xNONE; then
3011 ac_site_file1=$prefix/share/config.site
3012 ac_site_file2=$prefix/etc/config.site
3013 else
3014 ac_site_file1=$ac_default_prefix/share/config.site
3015 ac_site_file2=$ac_default_prefix/etc/config.site
3017 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3019 test "x$ac_site_file" = xNONE && continue
3020 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3022 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3023 sed 's/^/| /' "$ac_site_file" >&5
3024 . "$ac_site_file" \
3025 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error $? "failed to load site script $ac_site_file
3028 See \`config.log' for more details" "$LINENO" 5; }
3030 done
3032 if test -r "$cache_file"; then
3033 # Some versions of bash will fail to source /dev/null (special files
3034 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3035 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3037 $as_echo "$as_me: loading cache $cache_file" >&6;}
3038 case $cache_file in
3039 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3040 *) . "./$cache_file";;
3041 esac
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3045 $as_echo "$as_me: creating cache $cache_file" >&6;}
3046 >$cache_file
3049 # Check that the precious variables saved in the cache have kept the same
3050 # value.
3051 ac_cache_corrupted=false
3052 for ac_var in $ac_precious_vars; do
3053 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3054 eval ac_new_set=\$ac_env_${ac_var}_set
3055 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3056 eval ac_new_val=\$ac_env_${ac_var}_value
3057 case $ac_old_set,$ac_new_set in
3058 set,)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3061 ac_cache_corrupted=: ;;
3062 ,set)
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3064 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3065 ac_cache_corrupted=: ;;
3066 ,);;
3068 if test "x$ac_old_val" != "x$ac_new_val"; then
3069 # differences in whitespace do not lead to failure.
3070 ac_old_val_w=`echo x $ac_old_val`
3071 ac_new_val_w=`echo x $ac_new_val`
3072 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3074 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3075 ac_cache_corrupted=:
3076 else
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3078 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3079 eval $ac_var=\$ac_old_val
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3082 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3084 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3085 fi;;
3086 esac
3087 # Pass precious variables to config.status.
3088 if test "$ac_new_set" = set; then
3089 case $ac_new_val in
3090 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 *) ac_arg=$ac_var=$ac_new_val ;;
3092 esac
3093 case " $ac_configure_args " in
3094 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3095 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3096 esac
3098 done
3099 if $ac_cache_corrupted; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3103 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3104 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3106 ## -------------------- ##
3107 ## Main body of script. ##
3108 ## -------------------- ##
3110 ac_ext=c
3111 ac_cpp='$CPP $CPPFLAGS'
3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3118 ac_config_headers="$ac_config_headers include/config.h"
3120 ac_aux_dir=
3121 for ac_dir in tools "$srcdir"/tools; do
3122 if test -f "$ac_dir/install-sh"; then
3123 ac_aux_dir=$ac_dir
3124 ac_install_sh="$ac_aux_dir/install-sh -c"
3125 break
3126 elif test -f "$ac_dir/install.sh"; then
3127 ac_aux_dir=$ac_dir
3128 ac_install_sh="$ac_aux_dir/install.sh -c"
3129 break
3130 elif test -f "$ac_dir/shtool"; then
3131 ac_aux_dir=$ac_dir
3132 ac_install_sh="$ac_aux_dir/shtool install -c"
3133 break
3135 done
3136 if test -z "$ac_aux_dir"; then
3137 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3140 # These three variables are undocumented and unsupported,
3141 # and are intended to be withdrawn in a future Autoconf release.
3142 # They can cause serious problems if a builder's source tree is in a directory
3143 # whose full name contains unusual characters.
3144 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3145 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3146 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3150 libwine_version="1.0"
3154 # Check whether --enable-win16 was given.
3155 if test "${enable_win16+set}" = set; then :
3156 enableval=$enable_win16;
3159 # Check whether --enable-win64 was given.
3160 if test "${enable_win64+set}" = set; then :
3161 enableval=$enable_win64;
3164 # Check whether --enable-tests was given.
3165 if test "${enable_tests+set}" = set; then :
3166 enableval=$enable_tests;
3169 # Check whether --enable-maintainer-mode was given.
3170 if test "${enable_maintainer_mode+set}" = set; then :
3171 enableval=$enable_maintainer_mode;
3176 # Check whether --with-alsa was given.
3177 if test "${with_alsa+set}" = set; then :
3178 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3182 # Check whether --with-capi was given.
3183 if test "${with_capi+set}" = set; then :
3184 withval=$with_capi;
3188 # Check whether --with-cms was given.
3189 if test "${with_cms+set}" = set; then :
3190 withval=$with_cms;
3194 # Check whether --with-coreaudio was given.
3195 if test "${with_coreaudio+set}" = set; then :
3196 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3200 # Check whether --with-cups was given.
3201 if test "${with_cups+set}" = set; then :
3202 withval=$with_cups;
3206 # Check whether --with-curses was given.
3207 if test "${with_curses+set}" = set; then :
3208 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3212 # Check whether --with-dbus was given.
3213 if test "${with_dbus+set}" = set; then :
3214 withval=$with_dbus;
3218 # Check whether --with-fontconfig was given.
3219 if test "${with_fontconfig+set}" = set; then :
3220 withval=$with_fontconfig;
3224 # Check whether --with-freetype was given.
3225 if test "${with_freetype+set}" = set; then :
3226 withval=$with_freetype;
3230 # Check whether --with-gettext was given.
3231 if test "${with_gettext+set}" = set; then :
3232 withval=$with_gettext;
3236 # Check whether --with-gettextpo was given.
3237 if test "${with_gettextpo+set}" = set; then :
3238 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3242 # Check whether --with-gphoto was given.
3243 if test "${with_gphoto+set}" = set; then :
3244 withval=$with_gphoto;
3248 # Check whether --with-glu was given.
3249 if test "${with_glu+set}" = set; then :
3250 withval=$with_glu;
3254 # Check whether --with-gnutls was given.
3255 if test "${with_gnutls+set}" = set; then :
3256 withval=$with_gnutls;
3260 # Check whether --with-gsm was given.
3261 if test "${with_gsm+set}" = set; then :
3262 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3266 # Check whether --with-gstreamer was given.
3267 if test "${with_gstreamer+set}" = set; then :
3268 withval=$with_gstreamer;
3272 # Check whether --with-hal was given.
3273 if test "${with_hal+set}" = set; then :
3274 withval=$with_hal;
3278 # Check whether --with-jpeg was given.
3279 if test "${with_jpeg+set}" = set; then :
3280 withval=$with_jpeg;
3284 # Check whether --with-ldap was given.
3285 if test "${with_ldap+set}" = set; then :
3286 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3290 # Check whether --with-mpg123 was given.
3291 if test "${with_mpg123+set}" = set; then :
3292 withval=$with_mpg123;
3296 # Check whether --with-netapi was given.
3297 if test "${with_netapi+set}" = set; then :
3298 withval=$with_netapi;
3302 # Check whether --with-openal was given.
3303 if test "${with_openal+set}" = set; then :
3304 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3308 # Check whether --with-opencl was given.
3309 if test "${with_opencl+set}" = set; then :
3310 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3314 # Check whether --with-opengl was given.
3315 if test "${with_opengl+set}" = set; then :
3316 withval=$with_opengl;
3320 # Check whether --with-osmesa was given.
3321 if test "${with_osmesa+set}" = set; then :
3322 withval=$with_osmesa;
3326 # Check whether --with-oss was given.
3327 if test "${with_oss+set}" = set; then :
3328 withval=$with_oss;
3332 # Check whether --with-pcap was given.
3333 if test "${with_pcap+set}" = set; then :
3334 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3338 # Check whether --with-png was given.
3339 if test "${with_png+set}" = set; then :
3340 withval=$with_png;
3344 # Check whether --with-pthread was given.
3345 if test "${with_pthread+set}" = set; then :
3346 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3350 # Check whether --with-sane was given.
3351 if test "${with_sane+set}" = set; then :
3352 withval=$with_sane;
3356 # Check whether --with-tiff was given.
3357 if test "${with_tiff+set}" = set; then :
3358 withval=$with_tiff;
3362 # Check whether --with-v4l was given.
3363 if test "${with_v4l+set}" = set; then :
3364 withval=$with_v4l;
3368 # Check whether --with-xcomposite was given.
3369 if test "${with_xcomposite+set}" = set; then :
3370 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3374 # Check whether --with-xcursor was given.
3375 if test "${with_xcursor+set}" = set; then :
3376 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3380 # Check whether --with-xinerama was given.
3381 if test "${with_xinerama+set}" = set; then :
3382 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3386 # Check whether --with-xinput was given.
3387 if test "${with_xinput+set}" = set; then :
3388 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3392 # Check whether --with-xinput2 was given.
3393 if test "${with_xinput2+set}" = set; then :
3394 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3398 # Check whether --with-xml was given.
3399 if test "${with_xml+set}" = set; then :
3400 withval=$with_xml;
3404 # Check whether --with-xrandr was given.
3405 if test "${with_xrandr+set}" = set; then :
3406 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3410 # Check whether --with-xrender was given.
3411 if test "${with_xrender+set}" = set; then :
3412 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3416 # Check whether --with-xshape was given.
3417 if test "${with_xshape+set}" = set; then :
3418 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3422 # Check whether --with-xshm was given.
3423 if test "${with_xshm+set}" = set; then :
3424 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3428 # Check whether --with-xslt was given.
3429 if test "${with_xslt+set}" = set; then :
3430 withval=$with_xslt;
3434 # Check whether --with-xxf86vm was given.
3435 if test "${with_xxf86vm+set}" = set; then :
3436 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
3440 # Check whether --with-zlib was given.
3441 if test "${with_zlib+set}" = set; then :
3442 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3447 # Check whether --with-wine-tools was given.
3448 if test "${with_wine_tools+set}" = set; then :
3449 withval=$with_wine_tools;
3453 # Check whether --with-wine64 was given.
3454 if test "${with_wine64+set}" = set; then :
3455 withval=$with_wine64;
3459 # Make sure we can run config.sub.
3460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3461 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3464 $as_echo_n "checking build system type... " >&6; }
3465 if ${ac_cv_build+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 ac_build_alias=$build_alias
3469 test "x$ac_build_alias" = x &&
3470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3471 test "x$ac_build_alias" = x &&
3472 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3473 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3474 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3478 $as_echo "$ac_cv_build" >&6; }
3479 case $ac_cv_build in
3480 *-*-*) ;;
3481 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3482 esac
3483 build=$ac_cv_build
3484 ac_save_IFS=$IFS; IFS='-'
3485 set x $ac_cv_build
3486 shift
3487 build_cpu=$1
3488 build_vendor=$2
3489 shift; shift
3490 # Remember, the first character of IFS is used to create $*,
3491 # except with old shells:
3492 build_os=$*
3493 IFS=$ac_save_IFS
3494 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3498 $as_echo_n "checking host system type... " >&6; }
3499 if ${ac_cv_host+:} false; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 if test "x$host_alias" = x; then
3503 ac_cv_host=$ac_cv_build
3504 else
3505 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3506 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3511 $as_echo "$ac_cv_host" >&6; }
3512 case $ac_cv_host in
3513 *-*-*) ;;
3514 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3515 esac
3516 host=$ac_cv_host
3517 ac_save_IFS=$IFS; IFS='-'
3518 set x $ac_cv_host
3519 shift
3520 host_cpu=$1
3521 host_vendor=$2
3522 shift; shift
3523 # Remember, the first character of IFS is used to create $*,
3524 # except with old shells:
3525 host_os=$*
3526 IFS=$ac_save_IFS
3527 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3531 case "$srcdir" in
3532 .) ;;
3533 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3534 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3535 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3536 fi ;;
3537 esac
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3541 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3542 set x ${MAKE-make}
3543 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3544 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 cat >conftest.make <<\_ACEOF
3548 SHELL = /bin/sh
3549 all:
3550 @echo '@@@%%%=$(MAKE)=@@@%%%'
3551 _ACEOF
3552 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3553 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3554 *@@@%%%=?*=@@@%%%*)
3555 eval ac_cv_prog_make_${ac_make}_set=yes;;
3557 eval ac_cv_prog_make_${ac_make}_set=no;;
3558 esac
3559 rm -f conftest.make
3561 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3564 SET_MAKE=
3565 else
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 SET_MAKE="MAKE=${MAKE-make}"
3571 ac_ext=c
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 CC=$ac_cv_prog_CC
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3616 ac_ct_CC=$CC
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x; then
3654 CC=""
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3661 esac
3662 CC=$ac_ct_CC
3664 else
3665 CC="$ac_cv_prog_CC"
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 CC=$ac_cv_prog_CC
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 ac_prog_rejected=no
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3730 continue
3732 ac_cv_prog_CC="cc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3743 shift
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3748 shift
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3807 done
3809 if test -z "$CC"; then
3810 ac_ct_CC=$CC
3811 for ac_prog in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3851 done
3853 if test "x$ac_ct_CC" = x; then
3854 CC=""
3855 else
3856 case $cross_compiling:$ac_tool_warned in
3857 yes:)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3861 esac
3862 CC=$ac_ct_CC
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error $? "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details" "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 set X $ac_compile
3877 ac_compiler=$2
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 ac_status=$?
3888 if test -s conftest.err; then
3889 sed '10a\
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3894 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3897 done
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3903 main ()
3907 return 0;
3909 _ACEOF
3910 ac_clean_files_save=$ac_clean_files
3911 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3912 # Try to create an executable without -o first, disregard a.out.
3913 # It will help us diagnose broken compilers, and finding out an intuition
3914 # of exeext.
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3916 $as_echo_n "checking whether the C compiler works... " >&6; }
3917 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919 # The possible output files:
3920 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922 ac_rmfiles=
3923 for ac_file in $ac_files
3925 case $ac_file in
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3927 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3928 esac
3929 done
3930 rm -f $ac_rmfiles
3932 if { { ac_try="$ac_link_default"
3933 case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_link_default") 2>&5
3940 ac_status=$?
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; then :
3943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3946 # so that the user can short-circuit this test for compilers unknown to
3947 # Autoconf.
3948 for ac_file in $ac_files ''
3950 test -f "$ac_file" || continue
3951 case $ac_file in
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954 [ab].out )
3955 # We found the default executable, but exeext='' is most
3956 # certainly right.
3957 break;;
3958 *.* )
3959 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3960 then :; else
3961 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 # We set ac_cv_exeext here because the later test for it is not
3964 # safe: cross compilers may not add the suffix if given an `-o'
3965 # argument, so we may need to know it at that point already.
3966 # Even if this section looks crufty: it has the advantage of
3967 # actually working.
3968 break;;
3970 break;;
3971 esac
3972 done
3973 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975 else
3976 ac_file=''
3978 if test -z "$ac_file"; then :
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3981 $as_echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error 77 "C compiler cannot create executables
3987 See \`config.log' for more details" "$LINENO" 5; }
3988 else
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993 $as_echo_n "checking for C compiler default output file name... " >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995 $as_echo "$ac_file" >&6; }
3996 ac_exeext=$ac_cv_exeext
3998 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3999 ac_clean_files=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try="$ac_link"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4014 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4016 # `rm'.
4017 for ac_file in conftest.exe conftest conftest.*; do
4018 test -f "$ac_file" || continue
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022 break;;
4023 * ) break;;
4024 esac
4025 done
4026 else
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 rm -f conftest conftest$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4036 rm -f conftest.$ac_ext
4037 EXEEXT=$ac_cv_exeext
4038 ac_exeext=$EXEEXT
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4041 #include <stdio.h>
4043 main ()
4045 FILE *f = fopen ("conftest.out", "w");
4046 return ferror (f) || fclose (f) != 0;
4049 return 0;
4051 _ACEOF
4052 ac_clean_files="$ac_clean_files conftest.out"
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 if test "$cross_compiling" != yes; then
4058 { { ac_try="$ac_link"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }
4069 if { ac_try='./conftest$ac_cv_exeext'
4070 { { case "(($ac_try" in
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4073 esac
4074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4075 $as_echo "$ac_try_echo"; } >&5
4076 (eval "$ac_try") 2>&5
4077 ac_status=$?
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 test $ac_status = 0; }; }; then
4080 cross_compiling=no
4081 else
4082 if test "$cross_compiling" = maybe; then
4083 cross_compiling=yes
4084 else
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $? "cannot run C compiled programs.
4088 If you meant to cross compile, use \`--host'.
4089 See \`config.log' for more details" "$LINENO" 5; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4094 $as_echo "$cross_compiling" >&6; }
4096 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4097 ac_clean_files=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4099 $as_echo_n "checking for suffix of object files... " >&6; }
4100 if ${ac_cv_objext+:} false; then :
4101 $as_echo_n "(cached) " >&6
4102 else
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4107 main ()
4111 return 0;
4113 _ACEOF
4114 rm -f conftest.o conftest.obj
4115 if { { ac_try="$ac_compile"
4116 case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_compile") 2>&5
4123 ac_status=$?
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; then :
4126 for ac_file in conftest.o conftest.obj conftest.*; do
4127 test -f "$ac_file" || continue;
4128 case $ac_file in
4129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4130 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4131 break;;
4132 esac
4133 done
4134 else
4135 $as_echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot compute suffix of object files: cannot compile
4141 See \`config.log' for more details" "$LINENO" 5; }
4143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4146 $as_echo "$ac_cv_objext" >&6; }
4147 OBJEXT=$ac_cv_objext
4148 ac_objext=$OBJEXT
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4150 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4151 if ${ac_cv_c_compiler_gnu+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4160 #ifndef __GNUC__
4161 choke me
4162 #endif
4165 return 0;
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 ac_compiler_gnu=yes
4170 else
4171 ac_compiler_gnu=no
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4178 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4179 if test $ac_compiler_gnu = yes; then
4180 GCC=yes
4181 else
4182 GCC=
4184 ac_test_CFLAGS=${CFLAGS+set}
4185 ac_save_CFLAGS=$CFLAGS
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4187 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4188 if ${ac_cv_prog_cc_g+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 ac_save_c_werror_flag=$ac_c_werror_flag
4192 ac_c_werror_flag=yes
4193 ac_cv_prog_cc_g=no
4194 CFLAGS="-g"
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 ac_cv_prog_cc_g=yes
4208 else
4209 CFLAGS=""
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 :
4223 else
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4225 CFLAGS="-g"
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_g=yes
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248 $as_echo "$ac_cv_prog_cc_g" >&6; }
4249 if test "$ac_test_CFLAGS" = set; then
4250 CFLAGS=$ac_save_CFLAGS
4251 elif test $ac_cv_prog_cc_g = yes; then
4252 if test "$GCC" = yes; then
4253 CFLAGS="-g -O2"
4254 else
4255 CFLAGS="-g"
4257 else
4258 if test "$GCC" = yes; then
4259 CFLAGS="-O2"
4260 else
4261 CFLAGS=
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4265 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4266 if ${ac_cv_prog_cc_c89+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 ac_cv_prog_cc_c89=no
4270 ac_save_CC=$CC
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273 #include <stdarg.h>
4274 #include <stdio.h>
4275 struct stat;
4276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4277 struct buf { int x; };
4278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4279 static char *e (p, i)
4280 char **p;
4281 int i;
4283 return p[i];
4285 static char *f (char * (*g) (char **, int), char **p, ...)
4287 char *s;
4288 va_list v;
4289 va_start (v,p);
4290 s = g (p, va_arg (v,int));
4291 va_end (v);
4292 return s;
4295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4296 function prototypes and stuff, but not '\xHH' hex character constants.
4297 These don't provoke an error unfortunately, instead are silently treated
4298 as 'x'. The following induces an error, until -std is added to get
4299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4300 array size at least. It's necessary to write '\x00'==0 to get something
4301 that's true only with -std. */
4302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4304 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4305 inside strings and character constants. */
4306 #define FOO(x) 'x'
4307 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4309 int test (int i, double x);
4310 struct s1 {int (*f) (int a);};
4311 struct s2 {int (*f) (double a);};
4312 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4313 int argc;
4314 char **argv;
4316 main ()
4318 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4320 return 0;
4322 _ACEOF
4323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4326 CC="$ac_save_CC $ac_arg"
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_prog_cc_c89=$ac_arg
4330 rm -f core conftest.err conftest.$ac_objext
4331 test "x$ac_cv_prog_cc_c89" != "xno" && break
4332 done
4333 rm -f conftest.$ac_ext
4334 CC=$ac_save_CC
4337 # AC_CACHE_VAL
4338 case "x$ac_cv_prog_cc_c89" in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4341 $as_echo "none needed" >&6; } ;;
4342 xno)
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4344 $as_echo "unsupported" >&6; } ;;
4346 CC="$CC $ac_cv_prog_cc_c89"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4348 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4349 esac
4350 if test "x$ac_cv_prog_cc_c89" != xno; then :
4354 ac_ext=c
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4360 ac_ext=cpp
4361 ac_cpp='$CXXCPP $CPPFLAGS'
4362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4365 if test -z "$CXX"; then
4366 if test -n "$CCC"; then
4367 CXX=$CCC
4368 else
4369 if test -n "$ac_tool_prefix"; then
4370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CXX+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CXX"; then
4380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 CXX=$ac_cv_prog_CXX
4400 if test -n "$CXX"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4402 $as_echo "$CXX" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$CXX" && break
4410 done
4412 if test -z "$CXX"; then
4413 ac_ct_CXX=$CXX
4414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4416 # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy $ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4421 $as_echo_n "(cached) " >&6
4422 else
4423 if test -n "$ac_ct_CXX"; then
4424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4425 else
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 for as_dir in $PATH
4429 IFS=$as_save_IFS
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 break 2
4437 done
4438 done
4439 IFS=$as_save_IFS
4443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4444 if test -n "$ac_ct_CXX"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4446 $as_echo "$ac_ct_CXX" >&6; }
4447 else
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$ac_ct_CXX" && break
4454 done
4456 if test "x$ac_ct_CXX" = x; then
4457 CXX="g++"
4458 else
4459 case $cross_compiling:$ac_tool_warned in
4460 yes:)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned=yes ;;
4464 esac
4465 CXX=$ac_ct_CXX
4471 # Provide some information about the compiler.
4472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4473 set X $ac_compile
4474 ac_compiler=$2
4475 for ac_option in --version -v -V -qversion; do
4476 { { ac_try="$ac_compiler $ac_option >&5"
4477 case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480 esac
4481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4484 ac_status=$?
4485 if test -s conftest.err; then
4486 sed '10a\
4487 ... rest of stderr output deleted ...
4488 10q' conftest.err >conftest.er1
4489 cat conftest.er1 >&5
4491 rm -f conftest.er1 conftest.err
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }
4494 done
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4497 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4498 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4507 #ifndef __GNUC__
4508 choke me
4509 #endif
4512 return 0;
4514 _ACEOF
4515 if ac_fn_cxx_try_compile "$LINENO"; then :
4516 ac_compiler_gnu=yes
4517 else
4518 ac_compiler_gnu=no
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4526 if test $ac_compiler_gnu = yes; then
4527 GXX=yes
4528 else
4529 GXX=
4531 ac_test_CXXFLAGS=${CXXFLAGS+set}
4532 ac_save_CXXFLAGS=$CXXFLAGS
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4534 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4535 if ${ac_cv_prog_cxx_g+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4539 ac_cxx_werror_flag=yes
4540 ac_cv_prog_cxx_g=no
4541 CXXFLAGS="-g"
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_cv_prog_cxx_g=yes
4555 else
4556 CXXFLAGS=""
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 :
4570 else
4571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4572 CXXFLAGS="-g"
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_cxx_try_compile "$LINENO"; then :
4585 ac_cv_prog_cxx_g=yes
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4595 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4596 if test "$ac_test_CXXFLAGS" = set; then
4597 CXXFLAGS=$ac_save_CXXFLAGS
4598 elif test $ac_cv_prog_cxx_g = yes; then
4599 if test "$GXX" = yes; then
4600 CXXFLAGS="-g -O2"
4601 else
4602 CXXFLAGS="-g"
4604 else
4605 if test "$GXX" = yes; then
4606 CXXFLAGS="-O2"
4607 else
4608 CXXFLAGS=
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4619 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_CPPBIN+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 if test -n "$CPPBIN"; then
4626 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631 IFS=$as_save_IFS
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 break 2
4639 done
4640 done
4641 IFS=$as_save_IFS
4645 CPPBIN=$ac_cv_prog_CPPBIN
4646 if test -n "$CPPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4648 $as_echo "$CPPBIN" >&6; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4656 if test -z "$ac_cv_prog_CPPBIN"; then
4657 ac_ct_CPPBIN=$CPPBIN
4658 # Extract the first word of "cpp", so it can be a program name with args.
4659 set dummy cpp; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$ac_ct_CPPBIN"; then
4666 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CPPBIN="cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4686 if test -n "$ac_ct_CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4688 $as_echo "$ac_ct_CPPBIN" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4694 if test "x$ac_ct_CPPBIN" = x; then
4695 CPPBIN="cpp"
4696 else
4697 case $cross_compiling:$ac_tool_warned in
4698 yes:)
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned=yes ;;
4702 esac
4703 CPPBIN=$ac_ct_CPPBIN
4705 else
4706 CPPBIN="$ac_cv_prog_CPPBIN"
4710 cat >>confdefs.h <<_ACEOF
4711 #define EXEEXT "$ac_exeext"
4712 _ACEOF
4715 case $host in
4716 *-darwin*)
4717 if test "x$enable_win64" = "xyes"
4718 then
4719 CC="$CC -m64"
4720 CXX="$CXX -m64"
4721 host_cpu="x86_64"
4722 notice_platform="64-bit "
4723 TARGETFLAGS="-m64"
4725 else
4726 CC="$CC -m32"
4727 CXX="$CXX -m32"
4728 host_cpu="i386"
4729 notice_platform="32-bit "
4730 TARGETFLAGS="-m32"
4732 enable_win16=${enable_win16:-yes}
4734 with_fontconfig=${with_fontconfig:-no}
4736 x86_64*)
4737 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4738 then
4739 CC="$CC -m32"
4740 CXX="$CXX -m32"
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4742 $as_echo_n "checking whether $CC works... " >&6; }
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 if ac_fn_c_try_link "$LINENO"; then :
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4758 else
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4763 rm -f core conftest.err conftest.$ac_objext \
4764 conftest$ac_exeext conftest.$ac_ext
4765 host_cpu="i386"
4766 notice_platform="32-bit "
4767 TARGETFLAGS="-m32"
4769 enable_win16=${enable_win16:-yes}
4770 else
4771 if test "x${GCC}" = "xyes"
4772 then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4774 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4777 #include <stdarg.h>
4779 main ()
4781 void func(__builtin_ms_va_list *args);
4783 return 0;
4785 _ACEOF
4786 if ac_fn_c_try_compile "$LINENO"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4788 $as_echo "yes" >&6; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4792 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 TARGETFLAGS="-m64"
4800 arm*)
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4802 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 int ac_test(int i) { return i; }
4807 main ()
4809 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4811 return 0;
4813 _ACEOF
4814 if ac_fn_c_try_link "$LINENO"; then :
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4822 rm -f core conftest.err conftest.$ac_objext \
4823 conftest$ac_exeext conftest.$ac_ext
4824 CFLAGS="$CFLAGS -marm"
4825 TARGETFLAGS="-marm"
4828 *-mingw32*|*-cygwin*)
4829 enable_win16=${enable_win16:-no}
4830 CFLAGS="$CFLAGS -D_WIN32"
4832 i[3456789]86*)
4833 enable_win16=${enable_win16:-yes}
4835 esac
4837 enable_win16=${enable_win16:-no}
4838 enable_win64=${enable_win64:-no}
4840 enable_winetest=${enable_winetest:-$enable_tests}
4842 if test -n "$with_wine64"
4843 then
4844 if test "x$enable_win64" = "xyes"
4845 then
4846 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4849 enable_fonts=${enable_fonts:-no}
4850 enable_server=${enable_server:-no}
4851 elif test "x$enable_win64" = "xyes"
4852 then
4853 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4857 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4858 if ${wine_cv_toolsdir+:} false; then :
4859 $as_echo_n "(cached) " >&6
4860 else
4861 wine_cv_toolsdir="$with_wine_tools"
4862 if test -z "$with_wine_tools"; then
4863 if test "$cross_compiling" = "yes"; then
4864 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4865 elif test -n "$with_wine64"; then
4866 wine_cv_toolsdir="$with_wine64"
4869 if test -z "$wine_cv_toolsdir"; then
4870 wine_makedep=tools/makedep
4871 wine_cv_toolsdir="\$(top_builddir)"
4872 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4873 wine_makedep=$wine_cv_toolsdir/tools/makedep
4874 case "$wine_cv_toolsdir" in
4875 /*) ;;
4876 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4877 esac
4878 enable_tools=${enable_tools:-no}
4879 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4880 else
4881 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4885 $as_echo "$wine_cv_toolsdir" >&6; }
4886 TOOLSDIR=$wine_cv_toolsdir
4888 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4889 then
4890 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4894 for ac_prog in flex
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy $ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_FLEX+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$FLEX"; then
4904 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_FLEX="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 FLEX=$ac_cv_prog_FLEX
4924 if test -n "$FLEX"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4926 $as_echo "$FLEX" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$FLEX" && break
4934 done
4935 test -n "$FLEX" || FLEX="none"
4937 if test "$FLEX" = "none"
4938 then
4939 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4942 $as_echo_n "checking whether flex is recent enough... " >&6; }
4943 cat >conftest.l <<EOF
4944 %top{
4945 #include "prediluvian.h"
4949 if $FLEX -t conftest.l >/dev/null 2>&5
4950 then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4952 $as_echo "yes" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4956 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4959 for ac_prog in bison
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy $ac_prog; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_BISON+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 if test -n "$BISON"; then
4969 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_BISON="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 break 2
4982 done
4983 done
4984 IFS=$as_save_IFS
4988 BISON=$ac_cv_prog_BISON
4989 if test -n "$BISON"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4991 $as_echo "$BISON" >&6; }
4992 else
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$BISON" && break
4999 done
5000 test -n "$BISON" || BISON="none"
5002 if test "$BISON" = "none"
5003 then
5004 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5007 if test -n "$ac_tool_prefix"; then
5008 for ac_prog in ar gar
5010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_AR+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR="$AR" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 AR=$ac_cv_prog_AR
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$AR" && break
5048 done
5050 if test -z "$AR"; then
5051 ac_ct_AR=$AR
5052 for ac_prog in ar gar
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy $ac_prog; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AR"; then
5062 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_ac_ct_AR="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5082 if test -n "$ac_ct_AR"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5084 $as_echo "$ac_ct_AR" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$ac_ct_AR" && break
5092 done
5094 if test "x$ac_ct_AR" = x; then
5095 AR="ar"
5096 else
5097 case $cross_compiling:$ac_tool_warned in
5098 yes:)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned=yes ;;
5102 esac
5103 AR=$ac_ct_AR
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}strip; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_STRIP+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$STRIP"; then
5116 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 STRIP=$ac_cv_prog_STRIP
5136 if test -n "$STRIP"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5138 $as_echo "$STRIP" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5146 if test -z "$ac_cv_prog_STRIP"; then
5147 ac_ct_STRIP=$STRIP
5148 # Extract the first word of "strip", so it can be a program name with args.
5149 set dummy strip; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$ac_ct_STRIP"; then
5156 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_STRIP="strip"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5176 if test -n "$ac_ct_STRIP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5178 $as_echo "$ac_ct_STRIP" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5184 if test "x$ac_ct_STRIP" = x; then
5185 STRIP="strip"
5186 else
5187 case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned=yes ;;
5192 esac
5193 STRIP=$ac_ct_STRIP
5195 else
5196 STRIP="$ac_cv_prog_STRIP"
5199 ARFLAGS=rc
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_RANLIB+:} false; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 if test -n "$RANLIB"; then
5210 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 RANLIB=$ac_cv_prog_RANLIB
5230 if test -n "$RANLIB"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5232 $as_echo "$RANLIB" >&6; }
5233 else
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_RANLIB"; then
5241 ac_ct_RANLIB=$RANLIB
5242 # Extract the first word of "ranlib", so it can be a program name with args.
5243 set dummy ranlib; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5247 $as_echo_n "(cached) " >&6
5248 else
5249 if test -n "$ac_ct_RANLIB"; then
5250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_RANLIB="ranlib"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5270 if test -n "$ac_ct_RANLIB"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5272 $as_echo "$ac_ct_RANLIB" >&6; }
5273 else
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_RANLIB" = x; then
5279 RANLIB=":"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287 RANLIB=$ac_ct_RANLIB
5289 else
5290 RANLIB="$ac_cv_prog_RANLIB"
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 $as_echo_n "checking whether ln -s works... " >&6; }
5295 LN_S=$as_ln_s
5296 if test "$LN_S" = "ln -s"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 $as_echo "yes" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 $as_echo "no, using $LN_S" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5306 if ${ac_cv_path_GREP+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -z "$GREP"; then
5310 ac_path_GREP_found=false
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_prog in grep ggrep; do
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5320 as_fn_executable_p "$ac_path_GREP" || continue
5321 # Check for GNU ac_path_GREP and select it if it is found.
5322 # Check for GNU $ac_path_GREP
5323 case `"$ac_path_GREP" --version 2>&1` in
5324 *GNU*)
5325 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5327 ac_count=0
5328 $as_echo_n 0123456789 >"conftest.in"
5329 while :
5331 cat "conftest.in" "conftest.in" >"conftest.tmp"
5332 mv "conftest.tmp" "conftest.in"
5333 cp "conftest.in" "conftest.nl"
5334 $as_echo 'GREP' >> "conftest.nl"
5335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5337 as_fn_arith $ac_count + 1 && ac_count=$as_val
5338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5339 # Best one so far, save it but keep looking for a better one
5340 ac_cv_path_GREP="$ac_path_GREP"
5341 ac_path_GREP_max=$ac_count
5343 # 10*(2^10) chars as input seems more than enough
5344 test $ac_count -gt 10 && break
5345 done
5346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5347 esac
5349 $ac_path_GREP_found && break 3
5350 done
5351 done
5352 done
5353 IFS=$as_save_IFS
5354 if test -z "$ac_cv_path_GREP"; then
5355 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357 else
5358 ac_cv_path_GREP=$GREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5363 $as_echo "$ac_cv_path_GREP" >&6; }
5364 GREP="$ac_cv_path_GREP"
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5368 $as_echo_n "checking for egrep... " >&6; }
5369 if ${ac_cv_path_EGREP+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5373 then ac_cv_path_EGREP="$GREP -E"
5374 else
5375 if test -z "$EGREP"; then
5376 ac_path_EGREP_found=false
5377 # Loop through the user's path and test for each of PROGNAME-LIST
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_prog in egrep; do
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5386 as_fn_executable_p "$ac_path_EGREP" || continue
5387 # Check for GNU ac_path_EGREP and select it if it is found.
5388 # Check for GNU $ac_path_EGREP
5389 case `"$ac_path_EGREP" --version 2>&1` in
5390 *GNU*)
5391 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5393 ac_count=0
5394 $as_echo_n 0123456789 >"conftest.in"
5395 while :
5397 cat "conftest.in" "conftest.in" >"conftest.tmp"
5398 mv "conftest.tmp" "conftest.in"
5399 cp "conftest.in" "conftest.nl"
5400 $as_echo 'EGREP' >> "conftest.nl"
5401 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5403 as_fn_arith $ac_count + 1 && ac_count=$as_val
5404 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5405 # Best one so far, save it but keep looking for a better one
5406 ac_cv_path_EGREP="$ac_path_EGREP"
5407 ac_path_EGREP_max=$ac_count
5409 # 10*(2^10) chars as input seems more than enough
5410 test $ac_count -gt 10 && break
5411 done
5412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5413 esac
5415 $ac_path_EGREP_found && break 3
5416 done
5417 done
5418 done
5419 IFS=$as_save_IFS
5420 if test -z "$ac_cv_path_EGREP"; then
5421 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5423 else
5424 ac_cv_path_EGREP=$EGREP
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5430 $as_echo "$ac_cv_path_EGREP" >&6; }
5431 EGREP="$ac_cv_path_EGREP"
5434 # Extract the first word of "ldconfig", so it can be a program name with args.
5435 set dummy ldconfig; ac_word=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_path_LDCONFIG+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 case $LDCONFIG in
5442 [\\/]* | ?:[\\/]*)
5443 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in /sbin /usr/sbin $PATH
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5457 done
5458 done
5459 IFS=$as_save_IFS
5461 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5463 esac
5465 LDCONFIG=$ac_cv_path_LDCONFIG
5466 if test -n "$LDCONFIG"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5468 $as_echo "$LDCONFIG" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5475 for ac_prog in msgfmt
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_MSGFMT+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$MSGFMT"; then
5485 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_MSGFMT="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 MSGFMT=$ac_cv_prog_MSGFMT
5505 if test -n "$MSGFMT"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5507 $as_echo "$MSGFMT" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$MSGFMT" && break
5515 done
5516 test -n "$MSGFMT" || MSGFMT="false"
5518 if ${ac_tool_prefix+:} false; then :
5519 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5520 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$PKG_CONFIG"; then
5527 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5547 if test -n "$PKG_CONFIG"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5549 $as_echo "$PKG_CONFIG" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5558 if test "x$cross_compiling" = xyes; then :
5560 else
5561 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5562 # Extract the first word of "pkg-config", so it can be a program name with args.
5563 set dummy pkg-config; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$PKG_CONFIG"; then
5570 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_PKG_CONFIG="pkg-config"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5590 if test -n "$PKG_CONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5592 $as_echo "$PKG_CONFIG" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 else
5601 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5604 if test "x$enable_maintainer_mode" != "xyes"
5605 then
5606 FONTFORGE=""
5607 RSVG=""
5608 CONVERT=""
5609 ICOTOOL=""
5610 else
5611 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5612 for ac_prog in fontforge
5614 # Extract the first word of "$ac_prog", so it can be a program name with args.
5615 set dummy $ac_prog; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_FONTFORGE+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -n "$FONTFORGE"; then
5622 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5627 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_FONTFORGE="$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 break 2
5635 done
5636 done
5637 IFS=$as_save_IFS
5641 FONTFORGE=$ac_cv_prog_FONTFORGE
5642 if test -n "$FONTFORGE"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5644 $as_echo "$FONTFORGE" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$FONTFORGE" && break
5652 done
5653 test -n "$FONTFORGE" || FONTFORGE="false"
5655 for ac_prog in rsvg
5657 # Extract the first word of "$ac_prog", so it can be a program name with args.
5658 set dummy $ac_prog; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RSVG+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$RSVG"; then
5665 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RSVG="$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 RSVG=$ac_cv_prog_RSVG
5685 if test -n "$RSVG"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5687 $as_echo "$RSVG" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$RSVG" && break
5695 done
5696 test -n "$RSVG" || RSVG="false"
5698 for ac_prog in convert
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy $ac_prog; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_CONVERT+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if test -n "$CONVERT"; then
5708 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_CONVERT="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5727 CONVERT=$ac_cv_prog_CONVERT
5728 if test -n "$CONVERT"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5730 $as_echo "$CONVERT" >&6; }
5731 else
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$CONVERT" && break
5738 done
5739 test -n "$CONVERT" || CONVERT="false"
5741 for ac_prog in icotool
5743 # Extract the first word of "$ac_prog", so it can be a program name with args.
5744 set dummy $ac_prog; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_ICOTOOL+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 if test -n "$ICOTOOL"; then
5751 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5756 IFS=$as_save_IFS
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_ICOTOOL="$ac_prog"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 break 2
5764 done
5765 done
5766 IFS=$as_save_IFS
5770 ICOTOOL=$ac_cv_prog_ICOTOOL
5771 if test -n "$ICOTOOL"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5773 $as_echo "$ICOTOOL" >&6; }
5774 else
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5780 test -n "$ICOTOOL" && break
5781 done
5782 test -n "$ICOTOOL" || ICOTOOL="false"
5784 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5785 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5787 if test "$CONVERT" = false
5788 then
5789 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5792 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5793 convert_version=`convert --version | head -n1`
5794 if test "x$convert_version" != "x"
5795 then
5796 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5797 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5798 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5799 then
5800 CONVERT=false
5803 if test "$CONVERT" = false
5804 then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5807 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5810 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5814 if test "$ICOTOOL" = false
5815 then
5816 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5819 $as_echo_n "checking for recent enough icotool... " >&6; }
5820 icotool_version=`icotool --version | head -n1`
5821 if test "x$icotool_version" != "x"
5822 then
5823 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5824 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5825 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5826 then
5827 ICOTOOL=false
5828 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5831 if test "$ICOTOOL" = false
5832 then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5835 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5838 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5842 with_gettext=yes
5843 with_gettextpo=yes
5844 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5847 test "x$with_gettext" != xno || MSGFMT=false
5848 if test "$MSGFMT" != "false"
5849 then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5851 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5852 cat >conftest.po <<EOF
5853 # comment
5854 msgctxt "ctxt"
5855 msgid "id"
5856 msgstr "str"
5858 if $MSGFMT -o /dev/null conftest.po 2>&5
5859 then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5861 $as_echo "yes" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5865 MSGFMT=false
5868 if test "$MSGFMT" = false; then :
5869 case "x$with_gettext" in
5870 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5871 xno) ;;
5872 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5873 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5874 esac
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5879 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5880 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 ac_check_lib_save_LIBS=$LIBS
5884 LIBS="-li386 $LIBS"
5885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 /* Override any GCC internal prototype to avoid an error.
5889 Use char because int might match the return type of a GCC
5890 builtin and then its argument prototype would still apply. */
5891 #ifdef __cplusplus
5892 extern "C"
5893 #endif
5894 char i386_set_ldt ();
5896 main ()
5898 return i386_set_ldt ();
5900 return 0;
5902 _ACEOF
5903 if ac_fn_c_try_link "$LINENO"; then :
5904 ac_cv_lib_i386_i386_set_ldt=yes
5905 else
5906 ac_cv_lib_i386_i386_set_ldt=no
5908 rm -f core conftest.err conftest.$ac_objext \
5909 conftest$ac_exeext conftest.$ac_ext
5910 LIBS=$ac_check_lib_save_LIBS
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5913 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5914 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5915 cat >>confdefs.h <<_ACEOF
5916 #define HAVE_LIBI386 1
5917 _ACEOF
5919 LIBS="-li386 $LIBS"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5924 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5925 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5926 $as_echo_n "(cached) " >&6
5927 else
5928 ac_check_lib_save_LIBS=$LIBS
5929 LIBS="-lossaudio $LIBS"
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5933 /* Override any GCC internal prototype to avoid an error.
5934 Use char because int might match the return type of a GCC
5935 builtin and then its argument prototype would still apply. */
5936 #ifdef __cplusplus
5937 extern "C"
5938 #endif
5939 char _oss_ioctl ();
5941 main ()
5943 return _oss_ioctl ();
5945 return 0;
5947 _ACEOF
5948 if ac_fn_c_try_link "$LINENO"; then :
5949 ac_cv_lib_ossaudio__oss_ioctl=yes
5950 else
5951 ac_cv_lib_ossaudio__oss_ioctl=no
5953 rm -f core conftest.err conftest.$ac_objext \
5954 conftest$ac_exeext conftest.$ac_ext
5955 LIBS=$ac_check_lib_save_LIBS
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5958 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5959 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5960 cat >>confdefs.h <<_ACEOF
5961 #define HAVE_LIBOSSAUDIO 1
5962 _ACEOF
5964 LIBS="-lossaudio $LIBS"
5969 OPENGL_LIBS=""
5973 # Check whether --enable-largefile was given.
5974 if test "${enable_largefile+set}" = set; then :
5975 enableval=$enable_largefile;
5978 if test "$enable_largefile" != no; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5981 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5982 if ${ac_cv_sys_largefile_CC+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 ac_cv_sys_largefile_CC=no
5986 if test "$GCC" != yes; then
5987 ac_save_CC=$CC
5988 while :; do
5989 # IRIX 6.2 and later do not support large files by default,
5990 # so use the C compiler's -n32 option if that helps.
5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993 #include <sys/types.h>
5994 /* Check that off_t can represent 2**63 - 1 correctly.
5995 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5996 since some C++ compilers masquerading as C compilers
5997 incorrectly reject 9223372036854775807. */
5998 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5999 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6000 && LARGE_OFF_T % 2147483647 == 1)
6001 ? 1 : -1];
6003 main ()
6007 return 0;
6009 _ACEOF
6010 if ac_fn_c_try_compile "$LINENO"; then :
6011 break
6013 rm -f core conftest.err conftest.$ac_objext
6014 CC="$CC -n32"
6015 if ac_fn_c_try_compile "$LINENO"; then :
6016 ac_cv_sys_largefile_CC=' -n32'; break
6018 rm -f core conftest.err conftest.$ac_objext
6019 break
6020 done
6021 CC=$ac_save_CC
6022 rm -f conftest.$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6026 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6027 if test "$ac_cv_sys_largefile_CC" != no; then
6028 CC=$CC$ac_cv_sys_largefile_CC
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6032 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6033 if ${ac_cv_sys_file_offset_bits+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 while :; do
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 /* Check that off_t can represent 2**63 - 1 correctly.
6041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6042 since some C++ compilers masquerading as C compilers
6043 incorrectly reject 9223372036854775807. */
6044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6046 && LARGE_OFF_T % 2147483647 == 1)
6047 ? 1 : -1];
6049 main ()
6053 return 0;
6055 _ACEOF
6056 if ac_fn_c_try_compile "$LINENO"; then :
6057 ac_cv_sys_file_offset_bits=no; break
6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #define _FILE_OFFSET_BITS 64
6063 #include <sys/types.h>
6064 /* Check that off_t can represent 2**63 - 1 correctly.
6065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6066 since some C++ compilers masquerading as C compilers
6067 incorrectly reject 9223372036854775807. */
6068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6070 && LARGE_OFF_T % 2147483647 == 1)
6071 ? 1 : -1];
6073 main ()
6077 return 0;
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081 ac_cv_sys_file_offset_bits=64; break
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 ac_cv_sys_file_offset_bits=unknown
6085 break
6086 done
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6089 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6090 case $ac_cv_sys_file_offset_bits in #(
6091 no | unknown) ;;
6093 cat >>confdefs.h <<_ACEOF
6094 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6095 _ACEOF
6097 esac
6098 rm -rf conftest*
6099 if test $ac_cv_sys_file_offset_bits = unknown; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6101 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6102 if ${ac_cv_sys_large_files+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 while :; do
6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6109 /* Check that off_t can represent 2**63 - 1 correctly.
6110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6111 since some C++ compilers masquerading as C compilers
6112 incorrectly reject 9223372036854775807. */
6113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6115 && LARGE_OFF_T % 2147483647 == 1)
6116 ? 1 : -1];
6118 main ()
6122 return 0;
6124 _ACEOF
6125 if ac_fn_c_try_compile "$LINENO"; then :
6126 ac_cv_sys_large_files=no; break
6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #define _LARGE_FILES 1
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6140 ? 1 : -1];
6142 main ()
6146 return 0;
6148 _ACEOF
6149 if ac_fn_c_try_compile "$LINENO"; then :
6150 ac_cv_sys_large_files=1; break
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 ac_cv_sys_large_files=unknown
6154 break
6155 done
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6158 $as_echo "$ac_cv_sys_large_files" >&6; }
6159 case $ac_cv_sys_large_files in #(
6160 no | unknown) ;;
6162 cat >>confdefs.h <<_ACEOF
6163 #define _LARGE_FILES $ac_cv_sys_large_files
6164 _ACEOF
6166 esac
6167 rm -rf conftest*
6174 ac_ext=c
6175 ac_cpp='$CPP $CPPFLAGS'
6176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6181 # On Suns, sometimes $CPP names a directory.
6182 if test -n "$CPP" && test -d "$CPP"; then
6183 CPP=
6185 if test -z "$CPP"; then
6186 if ${ac_cv_prog_CPP+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 # Double quotes because CPP needs to be expanded
6190 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6192 ac_preproc_ok=false
6193 for ac_c_preproc_warn_flag in '' yes
6195 # Use a header file that comes with gcc, so configuring glibc
6196 # with a fresh cross-compiler works.
6197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198 # <limits.h> exists even on freestanding compilers.
6199 # On the NeXT, cc -E runs the code through the compiler's parser,
6200 # not just through cpp. "Syntax error" is here to catch this case.
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #ifdef __STDC__
6204 # include <limits.h>
6205 #else
6206 # include <assert.h>
6207 #endif
6208 Syntax error
6209 _ACEOF
6210 if ac_fn_c_try_cpp "$LINENO"; then :
6212 else
6213 # Broken: fails on valid input.
6214 continue
6216 rm -f conftest.err conftest.i conftest.$ac_ext
6218 # OK, works on sane cases. Now check whether nonexistent headers
6219 # can be detected and how.
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <ac_nonexistent.h>
6223 _ACEOF
6224 if ac_fn_c_try_cpp "$LINENO"; then :
6225 # Broken: success on invalid input.
6226 continue
6227 else
6228 # Passes both tests.
6229 ac_preproc_ok=:
6230 break
6232 rm -f conftest.err conftest.i conftest.$ac_ext
6234 done
6235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6236 rm -f conftest.i conftest.err conftest.$ac_ext
6237 if $ac_preproc_ok; then :
6238 break
6241 done
6242 ac_cv_prog_CPP=$CPP
6245 CPP=$ac_cv_prog_CPP
6246 else
6247 ac_cv_prog_CPP=$CPP
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6250 $as_echo "$CPP" >&6; }
6251 ac_preproc_ok=false
6252 for ac_c_preproc_warn_flag in '' yes
6254 # Use a header file that comes with gcc, so configuring glibc
6255 # with a fresh cross-compiler works.
6256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6257 # <limits.h> exists even on freestanding compilers.
6258 # On the NeXT, cc -E runs the code through the compiler's parser,
6259 # not just through cpp. "Syntax error" is here to catch this case.
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #ifdef __STDC__
6263 # include <limits.h>
6264 #else
6265 # include <assert.h>
6266 #endif
6267 Syntax error
6268 _ACEOF
6269 if ac_fn_c_try_cpp "$LINENO"; then :
6271 else
6272 # Broken: fails on valid input.
6273 continue
6275 rm -f conftest.err conftest.i conftest.$ac_ext
6277 # OK, works on sane cases. Now check whether nonexistent headers
6278 # can be detected and how.
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #include <ac_nonexistent.h>
6282 _ACEOF
6283 if ac_fn_c_try_cpp "$LINENO"; then :
6284 # Broken: success on invalid input.
6285 continue
6286 else
6287 # Passes both tests.
6288 ac_preproc_ok=:
6289 break
6291 rm -f conftest.err conftest.i conftest.$ac_ext
6293 done
6294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6295 rm -f conftest.i conftest.err conftest.$ac_ext
6296 if $ac_preproc_ok; then :
6298 else
6299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6301 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6302 See \`config.log' for more details" "$LINENO" 5; }
6305 ac_ext=c
6306 ac_cpp='$CPP $CPPFLAGS'
6307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6313 $as_echo_n "checking for ANSI C header files... " >&6; }
6314 if ${ac_cv_header_stdc+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #include <stdlib.h>
6320 #include <stdarg.h>
6321 #include <string.h>
6322 #include <float.h>
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_header_stdc=yes
6334 else
6335 ac_cv_header_stdc=no
6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6339 if test $ac_cv_header_stdc = yes; then
6340 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <string.h>
6345 _ACEOF
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "memchr" >/dev/null 2>&1; then :
6349 else
6350 ac_cv_header_stdc=no
6352 rm -f conftest*
6356 if test $ac_cv_header_stdc = yes; then
6357 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <stdlib.h>
6362 _ACEOF
6363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6364 $EGREP "free" >/dev/null 2>&1; then :
6366 else
6367 ac_cv_header_stdc=no
6369 rm -f conftest*
6373 if test $ac_cv_header_stdc = yes; then
6374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6375 if test "$cross_compiling" = yes; then :
6377 else
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #include <ctype.h>
6381 #include <stdlib.h>
6382 #if ((' ' & 0x0FF) == 0x020)
6383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6385 #else
6386 # define ISLOWER(c) \
6387 (('a' <= (c) && (c) <= 'i') \
6388 || ('j' <= (c) && (c) <= 'r') \
6389 || ('s' <= (c) && (c) <= 'z'))
6390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6391 #endif
6393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6395 main ()
6397 int i;
6398 for (i = 0; i < 256; i++)
6399 if (XOR (islower (i), ISLOWER (i))
6400 || toupper (i) != TOUPPER (i))
6401 return 2;
6402 return 0;
6404 _ACEOF
6405 if ac_fn_c_try_run "$LINENO"; then :
6407 else
6408 ac_cv_header_stdc=no
6410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6411 conftest.$ac_objext conftest.beam conftest.$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6417 $as_echo "$ac_cv_header_stdc" >&6; }
6418 if test $ac_cv_header_stdc = yes; then
6420 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6425 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6426 inttypes.h stdint.h unistd.h
6427 do :
6428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6431 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6432 cat >>confdefs.h <<_ACEOF
6433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6434 _ACEOF
6438 done
6441 for ac_header in \
6442 AL/al.h \
6443 ApplicationServices/ApplicationServices.h \
6444 AudioToolbox/AudioConverter.h \
6445 AudioUnit/AudioUnit.h \
6446 AudioUnit/AudioComponent.h \
6447 CL/cl.h \
6448 Carbon/Carbon.h \
6449 CoreAudio/CoreAudio.h \
6450 CoreServices/CoreServices.h \
6451 DiskArbitration/DiskArbitration.h \
6452 IOKit/IOKitLib.h \
6453 IOKit/hid/IOHIDLib.h \
6454 OpenAL/al.h \
6455 OpenCL/opencl.h \
6456 QuickTime/ImageCompression.h \
6457 Security/Security.h \
6458 alias.h \
6459 alsa/asoundlib.h \
6460 arpa/inet.h \
6461 arpa/nameser.h \
6462 asm/types.h \
6463 asm/user.h \
6464 curses.h \
6465 direct.h \
6466 dirent.h \
6467 dlfcn.h \
6468 elf.h \
6469 float.h \
6470 fnmatch.h \
6471 getopt.h \
6472 gettext-po.h \
6473 grp.h \
6474 gsm.h \
6475 gsm/gsm.h \
6476 ieeefp.h \
6477 inet/mib2.h \
6478 io.h \
6479 kstat.h \
6480 lber.h \
6481 ldap.h \
6482 libproc.h \
6483 link.h \
6484 linux/cdrom.h \
6485 linux/compiler.h \
6486 linux/filter.h \
6487 linux/hdreg.h \
6488 linux/input.h \
6489 linux/ioctl.h \
6490 linux/joystick.h \
6491 linux/major.h \
6492 linux/param.h \
6493 linux/serial.h \
6494 linux/types.h \
6495 linux/ucdrom.h \
6496 lwp.h \
6497 mach-o/nlist.h \
6498 mach-o/loader.h \
6499 mach/mach.h \
6500 mach/machine.h \
6501 machine/cpu.h \
6502 machine/limits.h \
6503 machine/sysarch.h \
6504 mntent.h \
6505 ncurses.h \
6506 netdb.h \
6507 netinet/in.h \
6508 netinet/in_systm.h \
6509 netinet/tcp.h \
6510 netinet/tcp_fsm.h \
6511 pcap/pcap.h \
6512 poll.h \
6513 port.h \
6514 process.h \
6515 pthread.h \
6516 pwd.h \
6517 sched.h \
6518 scsi/scsi.h \
6519 scsi/scsi_ioctl.h \
6520 scsi/sg.h \
6521 stdbool.h \
6522 stdint.h \
6523 stropts.h \
6524 sys/asoundlib.h \
6525 sys/attr.h \
6526 sys/cdio.h \
6527 sys/elf32.h \
6528 sys/epoll.h \
6529 sys/event.h \
6530 sys/exec_elf.h \
6531 sys/filio.h \
6532 sys/inotify.h \
6533 sys/ioctl.h \
6534 sys/ipc.h \
6535 sys/limits.h \
6536 sys/link.h \
6537 sys/mman.h \
6538 sys/modem.h \
6539 sys/msg.h \
6540 sys/mtio.h \
6541 sys/param.h \
6542 sys/poll.h \
6543 sys/prctl.h \
6544 sys/protosw.h \
6545 sys/ptrace.h \
6546 sys/queue.h \
6547 sys/resource.h \
6548 sys/scsiio.h \
6549 sys/shm.h \
6550 sys/signal.h \
6551 sys/socket.h \
6552 sys/socketvar.h \
6553 sys/sockio.h \
6554 sys/statvfs.h \
6555 sys/strtio.h \
6556 sys/syscall.h \
6557 sys/tihdr.h \
6558 sys/time.h \
6559 sys/timeout.h \
6560 sys/times.h \
6561 sys/uio.h \
6562 sys/user.h \
6563 sys/utsname.h \
6564 sys/vm86.h \
6565 sys/wait.h \
6566 syscall.h \
6567 termios.h \
6568 unistd.h \
6569 utime.h \
6570 valgrind/memcheck.h \
6571 valgrind/valgrind.h \
6572 zlib.h
6574 do :
6575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6578 cat >>confdefs.h <<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 _ACEOF
6584 done
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6587 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6588 if ${ac_cv_header_stat_broken+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6594 #include <sys/stat.h>
6596 #if defined S_ISBLK && defined S_IFDIR
6597 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6598 #endif
6600 #if defined S_ISBLK && defined S_IFCHR
6601 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6602 #endif
6604 #if defined S_ISLNK && defined S_IFREG
6605 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6606 #endif
6608 #if defined S_ISSOCK && defined S_IFREG
6609 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6610 #endif
6612 _ACEOF
6613 if ac_fn_c_try_compile "$LINENO"; then :
6614 ac_cv_header_stat_broken=no
6615 else
6616 ac_cv_header_stat_broken=yes
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6621 $as_echo "$ac_cv_header_stat_broken" >&6; }
6622 if test $ac_cv_header_stat_broken = yes; then
6624 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6630 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6631 do :
6632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_PARAM_H
6635 # include <sys/param.h>
6636 #endif
6638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6639 cat >>confdefs.h <<_ACEOF
6640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 _ACEOF
6645 done
6648 for ac_header in \
6649 netinet/ip.h \
6650 net/if.h \
6651 net/if_arp.h \
6652 net/if_dl.h \
6653 net/if_types.h \
6654 net/route.h \
6655 netinet/if_ether.h \
6656 netinet/if_inarp.h \
6657 netinet/in_pcb.h \
6658 netinet/ip_icmp.h \
6659 netinet/ip_var.h \
6660 netinet/udp.h \
6661 netipx/ipx.h \
6662 sys/un.h \
6664 do :
6665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6667 #ifdef HAVE_SYS_SOCKET_H
6668 # include <sys/socket.h>
6669 #endif
6670 #ifdef HAVE_SYS_SOCKETVAR_H
6671 # include <sys/socketvar.h>
6672 #endif
6673 #ifdef HAVE_NET_ROUTE_H
6674 # include <net/route.h>
6675 #endif
6676 #ifdef HAVE_NETINET_IN_H
6677 # include <netinet/in.h>
6678 #endif
6679 #ifdef HAVE_NETINET_IN_SYSTM_H
6680 # include <netinet/in_systm.h>
6681 #endif
6682 #ifdef HAVE_NET_IF_H
6683 # include <net/if.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IP_H
6686 # include <netinet/ip.h>
6687 #endif
6689 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6690 cat >>confdefs.h <<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6692 _ACEOF
6696 done
6699 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6700 do :
6701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6703 #ifdef HAVE_ALIAS_H
6704 # include <alias.h>
6705 #endif
6706 #ifdef HAVE_SYS_SOCKET_H
6707 # include <sys/socket.h>
6708 #endif
6709 #ifdef HAVE_SYS_SOCKETVAR_H
6710 # include <sys/socketvar.h>
6711 #endif
6712 #ifdef HAVE_SYS_TIMEOUT_H
6713 # include <sys/timeout.h>
6714 #endif
6715 #ifdef HAVE_NETINET_IN_H
6716 # include <netinet/in.h>
6717 #endif
6718 #ifdef HAVE_NETINET_IN_SYSTM_H
6719 # include <netinet/in_systm.h>
6720 #endif
6721 #ifdef HAVE_NETINET_IP_H
6722 # include <netinet/ip.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IP_VAR_H
6725 # include <netinet/ip_var.h>
6726 #endif
6727 #ifdef HAVE_NETINET_IP_ICMP_H
6728 # include <netinet/ip_icmp.h>
6729 #endif
6730 #ifdef HAVE_NETINET_UDP_H
6731 # include <netinet/udp.h>
6732 #endif
6733 #ifdef HAVE_NETINET_TCP_H
6734 # include <netinet/tcp.h>
6735 #endif
6736 #ifdef HAVE_NETINET_TCP_TIMER_H
6737 #include <netinet/tcp_timer.h>
6738 #endif
6740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6741 cat >>confdefs.h <<_ACEOF
6742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6743 _ACEOF
6747 done
6750 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6751 do :
6752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_ASM_TYPES_H
6755 # include <asm/types.h>
6756 #endif
6757 #ifdef HAVE_SYS_SOCKET_H
6758 # include <sys/socket.h>
6759 #endif
6760 #ifdef HAVE_LINUX_TYPES_H
6761 # include <linux/types.h>
6762 #endif
6764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6767 _ACEOF
6771 done
6774 for ac_header in mach-o/dyld_images.h
6775 do :
6776 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6777 # include <stdbool.h>
6778 #endif
6779 #ifdef HAVE_STDINT_H
6780 # include <stdint.h>
6781 #endif
6783 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6786 _ACEOF
6790 done
6793 for ac_header in resolv.h
6794 do :
6795 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6796 #ifdef HAVE_SYS_SOCKET_H
6797 # include <sys/socket.h>
6798 #endif
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6801 #endif
6802 #ifdef HAVE_ARPA_NAMESER_H
6803 # include <arpa/nameser.h>
6804 #endif
6806 if test "x$ac_cv_header_resolv_h" = xyes; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_RESOLV_H 1
6809 _ACEOF
6813 done
6816 for ac_header in ifaddrs.h
6817 do :
6818 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6820 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6821 cat >>confdefs.h <<_ACEOF
6822 #define HAVE_IFADDRS_H 1
6823 _ACEOF
6827 done
6830 for ac_header in sys/ucontext.h
6831 do :
6832 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6834 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_SYS_UCONTEXT_H 1
6837 _ACEOF
6841 done
6844 for ac_header in sys/thr.h
6845 do :
6846 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6847 #ifdef HAVE_SYS_UCONTEXT_H
6848 #include <sys/ucontext.h>
6849 #endif
6851 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_SYS_THR_H 1
6854 _ACEOF
6858 done
6861 for ac_header in pthread_np.h
6862 do :
6863 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6864 #include <pthread.h>
6865 #endif
6867 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define HAVE_PTHREAD_NP_H 1
6870 _ACEOF
6874 done
6877 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6881 #include <sys/time.h>
6882 #endif
6883 #include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 #include <asm/types.h>
6886 #endif
6888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 _ACEOF
6895 done
6898 for ac_header in libprocstat.h
6899 do :
6900 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6901 #include <sys/param.h>
6902 #endif
6903 #ifdef HAVE_SYS_QUEUE_H
6904 #include <sys/queue.h>
6905 #endif
6906 #ifdef HAVE_SYS_SOCKET_H
6907 #include <sys/socket.h>
6908 #endif
6910 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6911 cat >>confdefs.h <<_ACEOF
6912 #define HAVE_LIBPROCSTAT_H 1
6913 _ACEOF
6917 done
6921 dlldir="\${libdir}/wine"
6923 DLLPREFIX=""
6925 DLLFLAGS="-D_REENTRANT"
6927 LDRPATH_INSTALL=""
6929 LDRPATH_LOCAL=""
6931 LIBEXT="so"
6932 DLLEXT=".so"
6933 IMPLIBEXT="def"
6934 STATIC_IMPLIBEXT="def.a"
6935 # Extract the first word of "ldd", so it can be a program name with args.
6936 set dummy ldd; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_LDD+:} false; then :
6940 $as_echo_n "(cached) " >&6
6941 else
6942 case $LDD in
6943 [\\/]* | ?:[\\/]*)
6944 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 as_dummy="/sbin:/usr/sbin:$PATH"
6949 for as_dir in $as_dummy
6951 IFS=$as_save_IFS
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 break 2
6959 done
6960 done
6961 IFS=$as_save_IFS
6963 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6965 esac
6967 LDD=$ac_cv_path_LDD
6968 if test -n "$LDD"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6970 $as_echo "$LDD" >&6; }
6971 else
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6979 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_READELF+:} false; then :
6983 $as_echo_n "(cached) " >&6
6984 else
6985 if test -n "$READELF"; then
6986 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6987 else
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 for as_dir in $PATH
6991 IFS=$as_save_IFS
6992 test -z "$as_dir" && as_dir=.
6993 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 break 2
6999 done
7000 done
7001 IFS=$as_save_IFS
7005 READELF=$ac_cv_prog_READELF
7006 if test -n "$READELF"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7008 $as_echo "$READELF" >&6; }
7009 else
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7016 if test -z "$ac_cv_prog_READELF"; then
7017 ac_ct_READELF=$READELF
7018 # Extract the first word of "readelf", so it can be a program name with args.
7019 set dummy readelf; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7025 if test -n "$ac_ct_READELF"; then
7026 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7027 else
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH
7031 IFS=$as_save_IFS
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_READELF="readelf"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 break 2
7039 done
7040 done
7041 IFS=$as_save_IFS
7045 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7046 if test -n "$ac_ct_READELF"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7048 $as_echo "$ac_ct_READELF" >&6; }
7049 else
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7054 if test "x$ac_ct_READELF" = x; then
7055 READELF="true"
7056 else
7057 case $cross_compiling:$ac_tool_warned in
7058 yes:)
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7061 ac_tool_warned=yes ;;
7062 esac
7063 READELF=$ac_ct_READELF
7065 else
7066 READELF="$ac_cv_prog_READELF"
7069 wine_rules_file=conf$$rules.make
7070 rm -f $wine_rules_file
7071 ALL_POT_FILES=""
7072 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7073 ALL_TEST_RESOURCES=""
7076 wine_fn_append_file ()
7078 as_fn_append $1 " \\$as_nl $2"
7081 wine_fn_ignore_file ()
7083 case "$1" in
7084 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7085 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7086 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7087 esac
7090 wine_fn_append_rule ()
7092 $as_echo "$1" >>$wine_rules_file
7095 wine_fn_has_flag ()
7097 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7100 wine_fn_depend_rules ()
7102 wine_fn_append_rule \
7103 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7105 depend: $ac_dir/depend
7106 .PHONY: $ac_dir/depend
7107 $ac_dir/depend: \$(MAKEDEP) dummy
7108 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7111 wine_fn_pot_rules ()
7113 test "x$with_gettextpo" = xyes || return
7115 if wine_fn_has_flag mc
7116 then
7117 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) msg.pot
7121 $ac_dir/msg.pot: tools/wmc include"
7123 if wine_fn_has_flag po
7124 then
7125 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7126 wine_fn_append_rule \
7127 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7128 @cd $ac_dir && \$(MAKE) rsrc.pot
7129 $ac_dir/rsrc.pot: tools/wrc include"
7133 wine_fn_all_rules ()
7135 wine_fn_depend_rules
7136 wine_fn_append_rule \
7137 "all: $ac_dir
7138 .PHONY: $ac_dir
7139 $ac_dir: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE)"
7143 wine_fn_install_rules ()
7145 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install $ac_dir/uninstall
7149 $ac_dir/install:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install
7151 $ac_dir/uninstall:: $ac_dir/Makefile
7152 @cd $ac_dir && \$(MAKE) uninstall
7153 install:: $ac_dir/install
7154 __uninstall__: $ac_dir/uninstall"
7156 if wine_fn_has_flag install-lib
7157 then
7158 wine_fn_append_rule \
7159 ".PHONY: $ac_dir/install-lib
7160 $ac_dir/install-lib:: $ac_dir
7161 @cd $ac_dir && \$(MAKE) install-lib
7162 install-lib:: $ac_dir/install-lib"
7165 if wine_fn_has_flag install-dev
7166 then
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-dev
7169 $ac_dir/install-dev:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-dev
7171 install-dev:: $ac_dir/install-dev"
7175 wine_fn_clean_rules ()
7177 ac_clean=$@
7178 ac_extraclean="$ac_dir/Makefile"
7179 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7180 case $ac_dir in
7181 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7182 esac
7184 if wine_fn_has_flag clean
7185 then
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: $ac_dir/Makefile
7190 @cd $ac_dir && \$(MAKE) clean
7191 \$(RM) $ac_extraclean"
7192 else
7193 wine_fn_append_rule \
7194 "__clean__: $ac_dir/clean
7195 .PHONY: $ac_dir/clean
7196 $ac_dir/clean: dummy
7197 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7201 wine_fn_disabled_rules ()
7203 ac_clean=$@
7204 ac_extraclean="$ac_dir/Makefile"
7205 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: dummy
7211 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7214 wine_fn_config_makefile ()
7216 ac_dir=$1
7217 ac_enable=$2
7218 ac_flags=$3
7220 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7221 wine_fn_disabled_rules; return
7223 wine_fn_all_rules
7224 wine_fn_install_rules
7225 wine_fn_clean_rules
7228 wine_fn_config_lib ()
7230 ac_name=$1
7231 ac_flags=$2
7232 ac_dir=dlls/$ac_name
7233 ac_deps="include"
7235 if test "x$enable_tools" = xno; then :
7237 else
7238 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7240 wine_fn_all_rules
7241 wine_fn_clean_rules
7243 wine_fn_append_rule \
7244 ".PHONY: $ac_dir/install $ac_dir/uninstall
7245 $ac_dir/install:: $ac_dir
7246 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7247 $ac_dir/uninstall::
7248 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 install install-dev:: $ac_dir/install
7250 __uninstall__: $ac_dir/uninstall
7251 __builddeps__: $ac_dir
7252 $ac_dir: $ac_deps"
7255 wine_fn_config_dll ()
7257 ac_name=$1
7258 ac_dir=dlls/$ac_name
7259 ac_enable=$2
7260 ac_flags=$3
7261 ac_implib=${4:-$ac_name}
7262 ac_file=$ac_dir/lib$ac_implib
7263 ac_dll=$ac_name
7264 ac_deps="include"
7265 ac_implibflags=""
7267 if test "x$enable_tools" = xno; then :
7269 else
7270 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7272 case $ac_name in
7273 *16) ac_implibflags=" -m16" ;;
7274 *.*) ;;
7275 *) ac_dll=$ac_dll.dll ;;
7276 esac
7278 ac_clean=
7279 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7280 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7281 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7282 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7284 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7285 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7286 then
7287 wine_fn_depend_rules
7288 wine_fn_clean_rules $ac_clean
7289 else
7290 wine_fn_disabled_rules $ac_clean
7291 return
7293 else
7294 wine_fn_all_rules
7295 wine_fn_clean_rules $ac_clean
7296 wine_fn_append_rule \
7297 "$ac_dir: __builddeps__
7298 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) \$@
7300 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7301 install install-lib:: $ac_dir/install-lib
7302 __uninstall__: $ac_dir/uninstall"
7303 if test -n "$DLLEXT"
7304 then
7305 wine_fn_append_rule \
7306 "$ac_dir/install-lib:: $ac_dir
7307 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7308 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7309 $ac_dir/uninstall::
7310 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7311 else
7312 wine_fn_append_rule \
7313 "$ac_dir/install-lib:: $ac_dir
7314 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7315 $ac_dir/uninstall::
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7319 wine_fn_pot_rules
7322 if wine_fn_has_flag staticimplib
7323 then
7324 wine_fn_append_rule \
7325 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7326 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7327 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7328 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7329 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7330 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7331 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7332 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7333 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7334 $ac_dir/uninstall::
7335 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 install install-dev:: $ac_dir/install-dev
7337 __uninstall__: $ac_dir/uninstall"
7339 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7340 then
7341 wine_fn_append_rule \
7342 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7343 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7344 $ac_dir/uninstall::
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7348 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7349 then
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.cross.a
7352 $ac_file.cross.a: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7356 elif wine_fn_has_flag implib
7357 then
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.$IMPLIBEXT
7360 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7365 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7366 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7367 $ac_dir/uninstall::
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 install install-dev:: $ac_dir/install-dev
7370 __uninstall__: $ac_dir/uninstall"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 then
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7376 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7379 if test "$ac_name" != "$ac_implib"
7380 then
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7383 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7385 clean::
7386 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7387 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7388 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7389 then
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.cross.a
7392 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7394 clean::
7395 \$(RM) dlls/lib$ac_implib.cross.a"
7396 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7402 wine_fn_config_program ()
7404 ac_name=$1
7405 ac_dir=programs/$ac_name
7406 ac_enable=$2
7407 ac_flags=$3
7408 ac_program=$ac_name
7410 case $ac_name in
7411 *.*) ;;
7412 *) ac_program=$ac_program.exe ;;
7413 esac
7415 ac_clean=
7416 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7417 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7418 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7419 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7421 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7422 wine_fn_disabled_rules $ac_clean; return
7425 wine_fn_all_rules
7426 wine_fn_clean_rules $ac_clean
7427 wine_fn_append_rule "$ac_dir: __builddeps__"
7428 wine_fn_pot_rules
7430 wine_fn_has_flag install || return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7437 then
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7442 $ac_dir/uninstall::
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag installbin
7446 then
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: __tooldeps__
7449 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7450 $ac_dir/uninstall::
7451 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7453 else
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7457 $ac_dir/uninstall::
7458 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag manpage
7462 then
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7471 wine_fn_config_test ()
7473 ac_dir=$1
7474 ac_name=$2
7475 ac_flags=$3
7477 ac_clean=
7478 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7479 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7481 if test "x$enable_tests" = xno; then :
7482 wine_fn_disabled_rules $ac_clean; return
7485 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7486 wine_fn_all_rules
7487 wine_fn_clean_rules $ac_clean
7489 wine_fn_append_rule \
7490 "$ac_dir: programs/winetest/Makefile __builddeps__
7491 programs/winetest: $ac_dir
7492 check test: $ac_dir/test
7493 .PHONY: $ac_dir/test
7494 $ac_dir/test: dummy
7495 @cd $ac_dir && \$(MAKE) test
7496 testclean::
7497 \$(RM) $ac_dir/*.ok"
7499 if test -n "$CROSSTARGET"
7500 then
7501 wine_fn_append_rule \
7502 "crosstest: $ac_dir/crosstest
7503 .PHONY: $ac_dir/crosstest
7504 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7505 @cd $ac_dir && \$(MAKE) crosstest"
7509 wine_fn_config_tool ()
7511 ac_dir=$1
7512 ac_flags=$2
7513 if test "x$enable_tools" = xno; then :
7514 return
7517 wine_fn_all_rules
7518 wine_fn_install_rules
7519 wine_fn_clean_rules
7521 wine_fn_append_rule "__tooldeps__: $ac_dir"
7522 wine_fn_append_rule "$ac_dir: libs/port"
7523 case $ac_dir in
7524 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7525 esac
7528 wine_fn_config_symlink ()
7530 ac_linkdir=
7531 if test "x$1" = "x-d"
7532 then
7533 ac_linkdir=$2
7534 shift; shift
7536 ac_links=$@
7537 wine_fn_append_rule \
7538 "$ac_links:
7539 @./config.status \$@
7540 distclean::
7541 \$(RM) $ac_links"
7542 for f in $ac_links; do wine_fn_ignore_file $f; done
7543 test -n "$ac_linkdir" || return
7544 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7547 wine_binary="wine"
7548 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7549 loader_programs="$wine_binary wine-installed"
7550 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7552 LOADER_RULES="
7553 all: wine.inf
7555 install install-lib:: wine-installed
7556 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7558 uninstall::
7559 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7563 case $host_os in
7564 cygwin*|mingw32*)
7565 if test -n "$ac_tool_prefix"; then
7566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7567 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_DLLTOOL+:} false; then :
7571 $as_echo_n "(cached) " >&6
7572 else
7573 if test -n "$DLLTOOL"; then
7574 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579 IFS=$as_save_IFS
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 break 2
7587 done
7588 done
7589 IFS=$as_save_IFS
7593 DLLTOOL=$ac_cv_prog_DLLTOOL
7594 if test -n "$DLLTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7596 $as_echo "$DLLTOOL" >&6; }
7597 else
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7604 if test -z "$ac_cv_prog_DLLTOOL"; then
7605 ac_ct_DLLTOOL=$DLLTOOL
7606 # Extract the first word of "dlltool", so it can be a program name with args.
7607 set dummy dlltool; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7611 $as_echo_n "(cached) " >&6
7612 else
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7615 else
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 for as_dir in $PATH
7619 IFS=$as_save_IFS
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625 break 2
7627 done
7628 done
7629 IFS=$as_save_IFS
7633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7636 $as_echo "$ac_ct_DLLTOOL" >&6; }
7637 else
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7642 if test "x$ac_ct_DLLTOOL" = x; then
7643 DLLTOOL="false"
7644 else
7645 case $cross_compiling:$ac_tool_warned in
7646 yes:)
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649 ac_tool_warned=yes ;;
7650 esac
7651 DLLTOOL=$ac_ct_DLLTOOL
7653 else
7654 DLLTOOL="$ac_cv_prog_DLLTOOL"
7657 LIBEXT="dll"
7658 DLLEXT=""
7659 IMPLIBEXT="a"
7660 STATIC_IMPLIBEXT="a"
7661 enable_iphlpapi=${enable_iphlpapi:-no}
7662 enable_kernel32=${enable_kernel32:-no}
7663 enable_msvcrt=${enable_msvcrt:-no}
7664 enable_ntdll=${enable_ntdll:-no}
7665 enable_ws2_32=${enable_ws2_32:-no}
7666 enable_loader=${enable_loader:-no}
7667 enable_server=${enable_server:-no}
7668 with_x=${with_x:-no}
7669 with_pthread=${with_pthread:-no}
7671 crtlibs=""
7672 case $host_os in
7673 mingw32*)
7674 crtlibs="-lmsvcrt"
7675 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7677 esac
7679 libwine_targets="libwine.dll libwine.a"
7680 LIBWINE_RULES="
7681 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7697 uninstall::
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7703 darwin*|macosx*)
7704 LIBEXT="dylib"
7705 DLLFLAGS="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS="-multiply_defined suppress"
7707 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATION_LIBS="-framework CoreFoundation"
7711 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7717 CORESERVICES_LIBS="-framework CoreServices"
7719 APPKIT_LIBS="-framework AppKit"
7721 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7722 case $host_os in
7723 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7724 esac
7725 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7726 then
7727 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7730 if test "$ac_cv_header_Security_Security_h" = "yes"
7731 then
7732 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7734 ac_save_LIBS="$LIBS"
7735 LIBS="$LIBS $SECURITY_LIBS"
7736 for ac_func in SSLCopyPeerCertificates
7737 do :
7738 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7739 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7740 cat >>confdefs.h <<_ACEOF
7741 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7742 _ACEOF
7745 done
7747 LIBS="$ac_save_LIBS"
7748 with_gnutls=${with_gnutls:-no}
7750 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7751 then
7752 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7753 then
7754 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7756 else
7757 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7760 ac_save_LIBS="$LIBS"
7761 LIBS="$LIBS $COREAUDIO_LIBS"
7762 for ac_func in AUGraphAddNode
7763 do :
7764 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7765 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7766 cat >>confdefs.h <<_ACEOF
7767 #define HAVE_AUGRAPHADDNODE 1
7768 _ACEOF
7771 done
7773 LIBS="$ac_save_LIBS"
7775 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7776 then
7777 OPENAL_LIBS="-framework OpenAL"
7780 cat >>confdefs.h <<_ACEOF
7781 #define HAVE_OPENAL 1
7782 _ACEOF
7784 ac_cv_lib_openal=yes
7786 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7787 then
7788 OPENCL_LIBS="-framework OpenCL"
7790 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7792 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7793 then
7794 ac_save_LIBS="$LIBS"
7795 LIBS="$LIBS $IOKIT_LIBS"
7796 for ac_func in IOHIDManagerCreate
7797 do :
7798 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7799 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_IOHIDMANAGERCREATE 1
7802 _ACEOF
7805 done
7807 LIBS="$ac_save_LIBS"
7809 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7810 then
7811 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7813 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7814 else
7815 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7817 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7818 then
7819 CARBON_LIBS="-framework Carbon"
7823 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7824 then
7825 ac_save_LIBS="$LIBS"
7826 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7827 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7828 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7829 enable_winemac_drv=${enable_winemac_drv:-yes}
7832 LIBS="$ac_save_LIBS"
7835 if test "x$enable_win16" = "xyes"
7836 then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7838 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7839 if test "$cross_compiling" = yes; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7841 $as_echo "cross-compiling, assuming yes" >&6; }
7842 else
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7845 asm(".text\n"
7846 "bad:\tnop;nop\n"
7847 "good:\tnop;nop\n\t"
7848 ".globl _testfunc\n"
7849 "_testfunc:\tcallw good");
7850 extern void testfunc();
7852 main ()
7854 unsigned short *p = (unsigned short *)testfunc;
7855 return p[0] != 0xe866 || p[1] != 0xfffa
7857 return 0;
7859 _ACEOF
7860 if ac_fn_c_try_run "$LINENO"; then :
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7862 $as_echo "yes" >&6; }
7863 else
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7866 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
7868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7869 conftest.$ac_objext conftest.beam conftest.$ac_ext
7874 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7875 LIBWINE_RULES="
7876 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7878 all: libwine.dylib
7880 libwine.$libwine_version.dylib: \$(OBJS)
7881 \$(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 \$@
7883 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7884 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7886 libwine.dylib: libwine.$libwine_soversion.dylib
7887 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7889 install install-lib:: libwine.$libwine_version.dylib
7890 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7891 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7893 install install-dev::
7894 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7896 uninstall::
7897 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7901 as_fn_append LOADER_RULES "
7902 $wine_binary: main.o wine_info.plist
7903 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7905 wine-installed: main.o wine_info.plist
7906 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7910 linux-android*)
7911 DLLFLAGS="$DLLFLAGS -fPIC"
7912 DLLPREFIX="lib"
7913 LDEXECFLAGS=""
7914 dlldir="\${libdir}"
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7916 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7917 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 ac_wine_try_cflags_saved=$CFLAGS
7921 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 int main(int argc, char **argv) { return 0; }
7925 _ACEOF
7926 if ac_fn_c_try_link "$LINENO"; then :
7927 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7928 else
7929 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7931 rm -f core conftest.err conftest.$ac_objext \
7932 conftest$ac_exeext conftest.$ac_ext
7933 CFLAGS=$ac_wine_try_cflags_saved
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7936 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7937 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7938 LDEXECFLAGS="-Wl,--export-dynamic"
7940 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7942 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7943 if eval \${$as_ac_var+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 ac_wine_try_cflags_saved=$CFLAGS
7947 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 int main(int argc, char **argv) { return 0; }
7951 _ACEOF
7952 if ac_fn_c_try_link "$LINENO"; then :
7953 eval "$as_ac_var=yes"
7954 else
7955 eval "$as_ac_var=no"
7957 rm -f core conftest.err conftest.$ac_objext \
7958 conftest$ac_exeext conftest.$ac_ext
7959 CFLAGS=$ac_wine_try_cflags_saved
7961 eval ac_res=\$$as_ac_var
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7963 $as_echo "$ac_res" >&6; }
7964 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7965 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7966 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7967 else
7968 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7970 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7971 if eval \${$as_ac_var+:} false; then :
7972 $as_echo_n "(cached) " >&6
7973 else
7974 ac_wine_try_cflags_saved=$CFLAGS
7975 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 int main(int argc, char **argv) { return 0; }
7979 _ACEOF
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 eval "$as_ac_var=yes"
7982 else
7983 eval "$as_ac_var=no"
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 CFLAGS=$ac_wine_try_cflags_saved
7989 eval ac_res=\$$as_ac_var
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7991 $as_echo "$ac_res" >&6; }
7992 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7993 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7994 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7999 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8000 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 ac_wine_try_cflags_saved=$CFLAGS
8004 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8006 /* end confdefs.h. */
8007 int main(int argc, char **argv) { return 0; }
8008 _ACEOF
8009 if ac_fn_c_try_link "$LINENO"; then :
8010 ac_cv_cflags__Wl___enable_new_dtags=yes
8011 else
8012 ac_cv_cflags__Wl___enable_new_dtags=no
8014 rm -f core conftest.err conftest.$ac_objext \
8015 conftest$ac_exeext conftest.$ac_ext
8016 CFLAGS=$ac_wine_try_cflags_saved
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8019 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8020 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8021 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8024 case $host_cpu in
8025 *i[3456789]86* | x86_64)
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8028 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 ac_wine_try_cflags_saved=$CFLAGS
8032 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8036 _ACEOF
8037 if ac_fn_c_try_link "$LINENO"; then :
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8039 else
8040 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8042 rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 CFLAGS=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8047 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8048 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8049 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8052 esac
8054 libwine_targets="libwine.so"
8055 LIBWINE_RULES="
8056 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8058 all: libwine.so
8060 libwine.so: \$(OBJS)
8061 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8063 install install-lib:: libwine.so
8064 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8066 uninstall::
8067 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8071 as_fn_append LOADER_RULES "
8072 $wine_binary: main.o
8073 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8075 wine-installed: main.o
8076 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8081 DLLFLAGS="$DLLFLAGS -fPIC"
8082 LDEXECFLAGS=""
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8084 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8085 if ${ac_cv_c_dll_gnuelf+:} false; then :
8086 $as_echo_n "(cached) " >&6
8087 else
8088 ac_wine_try_cflags_saved=$CFLAGS
8089 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8092 void myfunc() {}
8093 _ACEOF
8094 if ac_fn_c_try_link "$LINENO"; then :
8095 ac_cv_c_dll_gnuelf="yes"
8096 else
8097 ac_cv_c_dll_gnuelf="no"
8099 rm -f core conftest.err conftest.$ac_objext \
8100 conftest$ac_exeext conftest.$ac_ext
8101 CFLAGS=$ac_wine_try_cflags_saved
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8104 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8105 if test "$ac_cv_c_dll_gnuelf" = "yes"
8106 then
8107 LDSHARED="\$(CC) -shared"
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8109 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8110 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 ac_wine_try_cflags_saved=$CFLAGS
8114 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8117 int main(int argc, char **argv) { return 0; }
8118 _ACEOF
8119 if ac_fn_c_try_link "$LINENO"; then :
8120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8121 else
8122 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8124 rm -f core conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 CFLAGS=$ac_wine_try_cflags_saved
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8129 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8130 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8131 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8132 else
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8134 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8135 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8136 $as_echo_n "(cached) " >&6
8137 else
8138 ac_wine_try_cflags_saved=$CFLAGS
8139 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8142 int main(int argc, char **argv) { return 0; }
8143 _ACEOF
8144 if ac_fn_c_try_link "$LINENO"; then :
8145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8146 else
8147 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8149 rm -f core conftest.err conftest.$ac_objext \
8150 conftest$ac_exeext conftest.$ac_ext
8151 CFLAGS=$ac_wine_try_cflags_saved
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8154 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8155 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8156 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8160 echo '{ global: *; };' >conftest.map
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8162 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8163 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 ac_wine_try_cflags_saved=$CFLAGS
8167 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8171 _ACEOF
8172 if ac_fn_c_try_link "$LINENO"; then :
8173 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8174 else
8175 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8177 rm -f core conftest.err conftest.$ac_objext \
8178 conftest$ac_exeext conftest.$ac_ext
8179 CFLAGS=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8182 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8183 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8184 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8186 rm -f conftest.map
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8189 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8190 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 ac_wine_try_cflags_saved=$CFLAGS
8194 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8196 /* end confdefs.h. */
8197 int main(int argc, char **argv) { return 0; }
8198 _ACEOF
8199 if ac_fn_c_try_link "$LINENO"; then :
8200 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8201 else
8202 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8204 rm -f core conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 CFLAGS=$ac_wine_try_cflags_saved
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8209 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8210 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8211 LDEXECFLAGS="-Wl,--export-dynamic"
8214 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8216 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8217 if eval \${$as_ac_var+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 ac_wine_try_cflags_saved=$CFLAGS
8221 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8225 _ACEOF
8226 if ac_fn_c_try_link "$LINENO"; then :
8227 eval "$as_ac_var=yes"
8228 else
8229 eval "$as_ac_var=no"
8231 rm -f core conftest.err conftest.$ac_objext \
8232 conftest$ac_exeext conftest.$ac_ext
8233 CFLAGS=$ac_wine_try_cflags_saved
8235 eval ac_res=\$$as_ac_var
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8237 $as_echo "$ac_res" >&6; }
8238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8239 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8240 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8241 else
8242 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8245 if eval \${$as_ac_var+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 ac_wine_try_cflags_saved=$CFLAGS
8249 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 eval "$as_ac_var=yes"
8256 else
8257 eval "$as_ac_var=no"
8259 rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 CFLAGS=$ac_wine_try_cflags_saved
8263 eval ac_res=\$$as_ac_var
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8265 $as_echo "$ac_res" >&6; }
8266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8267 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8268 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8273 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8274 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 ac_wine_try_cflags_saved=$CFLAGS
8278 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 int main(int argc, char **argv) { return 0; }
8282 _ACEOF
8283 if ac_fn_c_try_link "$LINENO"; then :
8284 ac_cv_cflags__Wl___enable_new_dtags=yes
8285 else
8286 ac_cv_cflags__Wl___enable_new_dtags=no
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 CFLAGS=$ac_wine_try_cflags_saved
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8293 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8294 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8295 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8298 case $host_cpu in
8299 *i[3456789]86* | x86_64)
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8301 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8302 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 ac_wine_try_cflags_saved=$CFLAGS
8306 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8310 _ACEOF
8311 if ac_fn_c_try_link "$LINENO"; then :
8312 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8313 else
8314 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8316 rm -f core conftest.err conftest.$ac_objext \
8317 conftest$ac_exeext conftest.$ac_ext
8318 CFLAGS=$ac_wine_try_cflags_saved
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8321 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8322 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8323 case $host_os in
8324 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8325 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8326 esac
8329 # Extract the first word of "prelink", so it can be a program name with args.
8330 set dummy prelink; ac_word=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 $as_echo_n "checking for $ac_word... " >&6; }
8333 if ${ac_cv_path_PRELINK+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $PRELINK in
8337 [\\/]* | ?:[\\/]*)
8338 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in /sbin /usr/sbin $PATH
8344 IFS=$as_save_IFS
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350 break 2
8352 done
8353 done
8354 IFS=$as_save_IFS
8356 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8358 esac
8360 PRELINK=$ac_cv_path_PRELINK
8361 if test -n "$PRELINK"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8363 $as_echo "$PRELINK" >&6; }
8364 else
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8370 if test "x$PRELINK" = xfalse
8371 then
8372 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8375 esac
8377 else
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8379 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8380 if ${ac_cv_c_dll_unixware+:} false; then :
8381 $as_echo_n "(cached) " >&6
8382 else
8383 ac_wine_try_cflags_saved=$CFLAGS
8384 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h. */
8387 void myfunc() {}
8388 _ACEOF
8389 if ac_fn_c_try_link "$LINENO"; then :
8390 ac_cv_c_dll_unixware="yes"
8391 else
8392 ac_cv_c_dll_unixware="no"
8394 rm -f core conftest.err conftest.$ac_objext \
8395 conftest$ac_exeext conftest.$ac_ext
8396 CFLAGS=$ac_wine_try_cflags_saved
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8399 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8400 if test "$ac_cv_c_dll_unixware" = "yes"
8401 then
8402 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8405 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8406 LIBWINE_RULES="
8407 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8409 all: libwine.so
8411 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8412 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8414 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8415 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8417 libwine.so: libwine.so.$libwine_soversion
8418 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8420 install install-lib:: libwine.so.$libwine_version
8421 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8422 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8424 install install-dev::
8425 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8427 uninstall::
8428 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8432 as_fn_append LOADER_RULES "
8433 $wine_binary: main.o
8434 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8436 wine-installed: main.o
8437 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8440 esac
8442 as_fn_append LIBWINE_RULES "
8443 EXTRA_TARGETS = $libwine_targets
8446 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8447 enable_winemac_drv=${enable_winemac_drv:-no}
8449 CROSSTARGET=""
8451 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8452 then
8453 case "$host_cpu" in
8454 i[3456789]86*)
8455 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
8456 mingw32-gcc" ;;
8457 x86_64)
8458 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 " ;;
8460 ac_prefix_list="" ;;
8461 esac
8462 for ac_prog in $ac_prefix_list
8464 # Extract the first word of "$ac_prog", so it can be a program name with args.
8465 set dummy $ac_prog; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_CROSSCC+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 if test -n "$CROSSCC"; then
8472 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8473 else
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 for as_dir in $PATH
8477 IFS=$as_save_IFS
8478 test -z "$as_dir" && as_dir=.
8479 for ac_exec_ext in '' $ac_executable_extensions; do
8480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8481 ac_cv_prog_CROSSCC="$ac_prog"
8482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8483 break 2
8485 done
8486 done
8487 IFS=$as_save_IFS
8491 CROSSCC=$ac_cv_prog_CROSSCC
8492 if test -n "$CROSSCC"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8494 $as_echo "$CROSSCC" >&6; }
8495 else
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8501 test -n "$CROSSCC" && break
8502 done
8503 test -n "$CROSSCC" || CROSSCC="false"
8505 if test "$CROSSCC" != "false"
8506 then
8507 ac_save_CC="$CC"
8508 CC="$CROSSCC"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8510 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8519 return 0;
8521 _ACEOF
8522 if ac_fn_c_try_compile "$LINENO"; then :
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8524 $as_echo "yes" >&6; }
8525 set x $CROSSCC
8526 shift
8527 while test $# -ge 1
8529 case "$1" in
8530 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8531 esac
8532 shift
8533 done
8534 else
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8536 $as_echo "no" >&6; }
8538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8539 CC="$ac_save_CC"
8544 if test "$ac_cv_header_pthread_h" = "yes"
8545 then
8546 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8547 if test "x$ac_cv_func_pthread_create" = xyes; then :
8549 else
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8551 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8552 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_check_lib_save_LIBS=$LIBS
8556 LIBS="-lpthread $LIBS"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8560 /* Override any GCC internal prototype to avoid an error.
8561 Use char because int might match the return type of a GCC
8562 builtin and then its argument prototype would still apply. */
8563 #ifdef __cplusplus
8564 extern "C"
8565 #endif
8566 char pthread_create ();
8568 main ()
8570 return pthread_create ();
8572 return 0;
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 ac_cv_lib_pthread_pthread_create=yes
8577 else
8578 ac_cv_lib_pthread_pthread_create=no
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 LIBS=$ac_check_lib_save_LIBS
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8585 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8586 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8587 PTHREAD_LIBS="-lpthread"
8594 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8595 case "x$with_pthread" in
8596 xno) ;;
8597 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8598 Wine cannot support threads without libpthread.
8599 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8600 esac
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8605 $as_echo_n "checking for X... " >&6; }
8608 # Check whether --with-x was given.
8609 if test "${with_x+set}" = set; then :
8610 withval=$with_x;
8613 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8614 if test "x$with_x" = xno; then
8615 # The user explicitly disabled X.
8616 have_x=disabled
8617 else
8618 case $x_includes,$x_libraries in #(
8619 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8620 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8621 $as_echo_n "(cached) " >&6
8622 else
8623 # One or both of the vars are not set, and there is no cached value.
8624 ac_x_includes=no ac_x_libraries=no
8625 rm -f -r conftest.dir
8626 if mkdir conftest.dir; then
8627 cd conftest.dir
8628 cat >Imakefile <<'_ACEOF'
8629 incroot:
8630 @echo incroot='${INCROOT}'
8631 usrlibdir:
8632 @echo usrlibdir='${USRLIBDIR}'
8633 libdir:
8634 @echo libdir='${LIBDIR}'
8635 _ACEOF
8636 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8638 for ac_var in incroot usrlibdir libdir; do
8639 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8640 done
8641 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8642 for ac_extension in a so sl dylib la dll; do
8643 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8644 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8645 ac_im_usrlibdir=$ac_im_libdir; break
8647 done
8648 # Screen out bogus values from the imake configuration. They are
8649 # bogus both because they are the default anyway, and because
8650 # using them would break gcc on systems where it needs fixed includes.
8651 case $ac_im_incroot in
8652 /usr/include) ac_x_includes= ;;
8653 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8654 esac
8655 case $ac_im_usrlibdir in
8656 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8657 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8658 esac
8660 cd ..
8661 rm -f -r conftest.dir
8664 # Standard set of common directories for X headers.
8665 # Check X11 before X11Rn because it is often a symlink to the current release.
8666 ac_x_header_dirs='
8667 /usr/X11/include
8668 /usr/X11R7/include
8669 /usr/X11R6/include
8670 /usr/X11R5/include
8671 /usr/X11R4/include
8673 /usr/include/X11
8674 /usr/include/X11R7
8675 /usr/include/X11R6
8676 /usr/include/X11R5
8677 /usr/include/X11R4
8679 /usr/local/X11/include
8680 /usr/local/X11R7/include
8681 /usr/local/X11R6/include
8682 /usr/local/X11R5/include
8683 /usr/local/X11R4/include
8685 /usr/local/include/X11
8686 /usr/local/include/X11R7
8687 /usr/local/include/X11R6
8688 /usr/local/include/X11R5
8689 /usr/local/include/X11R4
8691 /usr/X386/include
8692 /usr/x386/include
8693 /usr/XFree86/include/X11
8695 /usr/include
8696 /usr/local/include
8697 /usr/unsupported/include
8698 /usr/athena/include
8699 /usr/local/x11r5/include
8700 /usr/lpp/Xamples/include
8702 /usr/openwin/include
8703 /usr/openwin/share/include'
8705 if test "$ac_x_includes" = no; then
8706 # Guess where to find include files, by looking for Xlib.h.
8707 # First, try using that file with no special directory specified.
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 #include <X11/Xlib.h>
8711 _ACEOF
8712 if ac_fn_c_try_cpp "$LINENO"; then :
8713 # We can compile using X headers with no special include directory.
8714 ac_x_includes=
8715 else
8716 for ac_dir in $ac_x_header_dirs; do
8717 if test -r "$ac_dir/X11/Xlib.h"; then
8718 ac_x_includes=$ac_dir
8719 break
8721 done
8723 rm -f conftest.err conftest.i conftest.$ac_ext
8724 fi # $ac_x_includes = no
8726 if test "$ac_x_libraries" = no; then
8727 # Check for the libraries.
8728 # See if we find them without any special options.
8729 # Don't add to $LIBS permanently.
8730 ac_save_LIBS=$LIBS
8731 LIBS="-lX11 $LIBS"
8732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h. */
8734 #include <X11/Xlib.h>
8736 main ()
8738 XrmInitialize ()
8740 return 0;
8742 _ACEOF
8743 if ac_fn_c_try_link "$LINENO"; then :
8744 LIBS=$ac_save_LIBS
8745 # We can link X programs with no special library path.
8746 ac_x_libraries=
8747 else
8748 LIBS=$ac_save_LIBS
8749 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8751 # Don't even attempt the hair of trying to link an X program!
8752 for ac_extension in a so sl dylib la dll; do
8753 if test -r "$ac_dir/libX11.$ac_extension"; then
8754 ac_x_libraries=$ac_dir
8755 break 2
8757 done
8758 done
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 fi # $ac_x_libraries = no
8764 case $ac_x_includes,$ac_x_libraries in #(
8765 no,* | *,no | *\'*)
8766 # Didn't find X, or a directory has "'" in its name.
8767 ac_cv_have_x="have_x=no";; #(
8769 # Record where we found X for the cache.
8770 ac_cv_have_x="have_x=yes\
8771 ac_x_includes='$ac_x_includes'\
8772 ac_x_libraries='$ac_x_libraries'"
8773 esac
8775 ;; #(
8776 *) have_x=yes;;
8777 esac
8778 eval "$ac_cv_have_x"
8779 fi # $with_x != no
8781 if test "$have_x" != yes; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8783 $as_echo "$have_x" >&6; }
8784 no_x=yes
8785 else
8786 # If each of the values was on the command line, it overrides each guess.
8787 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8788 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8789 # Update the cache value to reflect the command line values.
8790 ac_cv_have_x="have_x=yes\
8791 ac_x_includes='$x_includes'\
8792 ac_x_libraries='$x_libraries'"
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8794 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8797 if test "$no_x" = yes; then
8798 # Not all programs may use this symbol, but it does not hurt to define it.
8800 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8802 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8803 else
8804 if test -n "$x_includes"; then
8805 X_CFLAGS="$X_CFLAGS -I$x_includes"
8808 # It would also be nice to do this for all -L options, not just this one.
8809 if test -n "$x_libraries"; then
8810 X_LIBS="$X_LIBS -L$x_libraries"
8811 # For Solaris; some versions of Sun CC require a space after -R and
8812 # others require no space. Words are not sufficient . . . .
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8814 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8815 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8816 ac_xsave_c_werror_flag=$ac_c_werror_flag
8817 ac_c_werror_flag=yes
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8822 main ()
8826 return 0;
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8832 X_LIBS="$X_LIBS -R$x_libraries"
8833 else
8834 LIBS="$ac_xsave_LIBS -R $x_libraries"
8835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8836 /* end confdefs.h. */
8839 main ()
8843 return 0;
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8848 $as_echo "yes" >&6; }
8849 X_LIBS="$X_LIBS -R $x_libraries"
8850 else
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8852 $as_echo "neither works" >&6; }
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 ac_c_werror_flag=$ac_xsave_c_werror_flag
8860 LIBS=$ac_xsave_LIBS
8863 # Check for system-dependent libraries X programs must link with.
8864 # Do this before checking for the system-independent R6 libraries
8865 # (-lICE), since we may need -lsocket or whatever for X linking.
8867 if test "$ISC" = yes; then
8868 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8869 else
8870 # Martyn Johnson says this is needed for Ultrix, if the X
8871 # libraries were built with DECnet support. And Karl Berry says
8872 # the Alpha needs dnet_stub (dnet does not exist).
8873 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8877 /* Override any GCC internal prototype to avoid an error.
8878 Use char because int might match the return type of a GCC
8879 builtin and then its argument prototype would still apply. */
8880 #ifdef __cplusplus
8881 extern "C"
8882 #endif
8883 char XOpenDisplay ();
8885 main ()
8887 return XOpenDisplay ();
8889 return 0;
8891 _ACEOF
8892 if ac_fn_c_try_link "$LINENO"; then :
8894 else
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8896 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8897 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8898 $as_echo_n "(cached) " >&6
8899 else
8900 ac_check_lib_save_LIBS=$LIBS
8901 LIBS="-ldnet $LIBS"
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8905 /* Override any GCC internal prototype to avoid an error.
8906 Use char because int might match the return type of a GCC
8907 builtin and then its argument prototype would still apply. */
8908 #ifdef __cplusplus
8909 extern "C"
8910 #endif
8911 char dnet_ntoa ();
8913 main ()
8915 return dnet_ntoa ();
8917 return 0;
8919 _ACEOF
8920 if ac_fn_c_try_link "$LINENO"; then :
8921 ac_cv_lib_dnet_dnet_ntoa=yes
8922 else
8923 ac_cv_lib_dnet_dnet_ntoa=no
8925 rm -f core conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8927 LIBS=$ac_check_lib_save_LIBS
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8930 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8931 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8932 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8935 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8937 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8938 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8939 $as_echo_n "(cached) " >&6
8940 else
8941 ac_check_lib_save_LIBS=$LIBS
8942 LIBS="-ldnet_stub $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8949 #ifdef __cplusplus
8950 extern "C"
8951 #endif
8952 char dnet_ntoa ();
8954 main ()
8956 return dnet_ntoa ();
8958 return 0;
8960 _ACEOF
8961 if ac_fn_c_try_link "$LINENO"; then :
8962 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8963 else
8964 ac_cv_lib_dnet_stub_dnet_ntoa=no
8966 rm -f core conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 LIBS=$ac_check_lib_save_LIBS
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8971 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8972 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8973 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8978 rm -f core conftest.err conftest.$ac_objext \
8979 conftest$ac_exeext conftest.$ac_ext
8980 LIBS="$ac_xsave_LIBS"
8982 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8983 # to get the SysV transport functions.
8984 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8985 # needs -lnsl.
8986 # The nsl library prevents programs from opening the X display
8987 # on Irix 5.2, according to T.E. Dickey.
8988 # The functions gethostbyname, getservbyname, and inet_addr are
8989 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8990 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8991 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8995 if test $ac_cv_func_gethostbyname = no; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8997 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8998 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 ac_check_lib_save_LIBS=$LIBS
9002 LIBS="-lnsl $LIBS"
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char gethostbyname ();
9014 main ()
9016 return gethostbyname ();
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 ac_cv_lib_nsl_gethostbyname=yes
9023 else
9024 ac_cv_lib_nsl_gethostbyname=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_lib_save_LIBS
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9031 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9032 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9036 if test $ac_cv_lib_nsl_gethostbyname = no; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9038 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9039 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9040 $as_echo_n "(cached) " >&6
9041 else
9042 ac_check_lib_save_LIBS=$LIBS
9043 LIBS="-lbsd $LIBS"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9050 #ifdef __cplusplus
9051 extern "C"
9052 #endif
9053 char gethostbyname ();
9055 main ()
9057 return gethostbyname ();
9059 return 0;
9061 _ACEOF
9062 if ac_fn_c_try_link "$LINENO"; then :
9063 ac_cv_lib_bsd_gethostbyname=yes
9064 else
9065 ac_cv_lib_bsd_gethostbyname=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 LIBS=$ac_check_lib_save_LIBS
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9072 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9073 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9074 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9080 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9081 # socket/setsockopt and other routines are undefined under SCO ODT
9082 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9083 # on later versions), says Simon Leinen: it contains gethostby*
9084 # variants that don't use the name server (or something). -lsocket
9085 # must be given before -lnsl if both are needed. We assume that
9086 # if connect needs -lnsl, so does gethostbyname.
9087 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9088 if test "x$ac_cv_func_connect" = xyes; then :
9092 if test $ac_cv_func_connect = no; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9094 $as_echo_n "checking for connect in -lsocket... " >&6; }
9095 if ${ac_cv_lib_socket_connect+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_check_lib_save_LIBS=$LIBS
9099 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9106 #ifdef __cplusplus
9107 extern "C"
9108 #endif
9109 char connect ();
9111 main ()
9113 return connect ();
9115 return 0;
9117 _ACEOF
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 ac_cv_lib_socket_connect=yes
9120 else
9121 ac_cv_lib_socket_connect=no
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9125 LIBS=$ac_check_lib_save_LIBS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9128 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9129 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9130 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9135 # Guillermo Gomez says -lposix is necessary on A/UX.
9136 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9137 if test "x$ac_cv_func_remove" = xyes; then :
9141 if test $ac_cv_func_remove = no; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9143 $as_echo_n "checking for remove in -lposix... " >&6; }
9144 if ${ac_cv_lib_posix_remove+:} false; then :
9145 $as_echo_n "(cached) " >&6
9146 else
9147 ac_check_lib_save_LIBS=$LIBS
9148 LIBS="-lposix $LIBS"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9152 /* Override any GCC internal prototype to avoid an error.
9153 Use char because int might match the return type of a GCC
9154 builtin and then its argument prototype would still apply. */
9155 #ifdef __cplusplus
9156 extern "C"
9157 #endif
9158 char remove ();
9160 main ()
9162 return remove ();
9164 return 0;
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 ac_cv_lib_posix_remove=yes
9169 else
9170 ac_cv_lib_posix_remove=no
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 LIBS=$ac_check_lib_save_LIBS
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9177 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9178 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9179 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9184 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9185 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9186 if test "x$ac_cv_func_shmat" = xyes; then :
9190 if test $ac_cv_func_shmat = no; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9192 $as_echo_n "checking for shmat in -lipc... " >&6; }
9193 if ${ac_cv_lib_ipc_shmat+:} false; then :
9194 $as_echo_n "(cached) " >&6
9195 else
9196 ac_check_lib_save_LIBS=$LIBS
9197 LIBS="-lipc $LIBS"
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9204 #ifdef __cplusplus
9205 extern "C"
9206 #endif
9207 char shmat ();
9209 main ()
9211 return shmat ();
9213 return 0;
9215 _ACEOF
9216 if ac_fn_c_try_link "$LINENO"; then :
9217 ac_cv_lib_ipc_shmat=yes
9218 else
9219 ac_cv_lib_ipc_shmat=no
9221 rm -f core conftest.err conftest.$ac_objext \
9222 conftest$ac_exeext conftest.$ac_ext
9223 LIBS=$ac_check_lib_save_LIBS
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9226 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9227 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9234 # Check for libraries that X11R6 Xt/Xaw programs need.
9235 ac_save_LDFLAGS=$LDFLAGS
9236 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9238 # check for ICE first), but we must link in the order -lSM -lICE or
9239 # we get undefined symbols. So assume we have SM if we have ICE.
9240 # These have to be linked with before -lX11, unlike the other
9241 # libraries we check for below, so use a different variable.
9242 # John Interrante, Karl Berry
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9244 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9245 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9246 $as_echo_n "(cached) " >&6
9247 else
9248 ac_check_lib_save_LIBS=$LIBS
9249 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char IceConnectionNumber ();
9261 main ()
9263 return IceConnectionNumber ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9269 ac_cv_lib_ICE_IceConnectionNumber=yes
9270 else
9271 ac_cv_lib_ICE_IceConnectionNumber=no
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_lib_save_LIBS
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9278 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9279 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9280 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9283 LDFLAGS=$ac_save_LDFLAGS
9288 if test "$have_x" = "yes"
9289 then
9290 ac_save_CPPFLAGS="$CPPFLAGS"
9291 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9294 $as_echo_n "checking for -lX11... " >&6; }
9295 if ${ac_cv_lib_soname_X11+:} false; then :
9296 $as_echo_n "(cached) " >&6
9297 else
9298 ac_check_soname_save_LIBS=$LIBS
9299 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9303 /* Override any GCC internal prototype to avoid an error.
9304 Use char because int might match the return type of a GCC
9305 builtin and then its argument prototype would still apply. */
9306 #ifdef __cplusplus
9307 extern "C"
9308 #endif
9309 char XCreateWindow ();
9311 main ()
9313 return XCreateWindow ();
9315 return 0;
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9319 case "$LIBEXT" in
9320 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9321 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'` ;;
9322 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9323 if ${ac_cv_lib_soname_X11:+false} :; then :
9324 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9325 fi ;;
9326 esac
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS=$ac_check_soname_save_LIBS
9332 if ${ac_cv_lib_soname_X11:+false} :; then :
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9334 $as_echo "not found" >&6; }
9336 else
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9338 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9340 cat >>confdefs.h <<_ACEOF
9341 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9342 _ACEOF
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9347 $as_echo_n "checking for -lXext... " >&6; }
9348 if ${ac_cv_lib_soname_Xext+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_check_soname_save_LIBS=$LIBS
9352 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9356 /* Override any GCC internal prototype to avoid an error.
9357 Use char because int might match the return type of a GCC
9358 builtin and then its argument prototype would still apply. */
9359 #ifdef __cplusplus
9360 extern "C"
9361 #endif
9362 char XextCreateExtension ();
9364 main ()
9366 return XextCreateExtension ();
9368 return 0;
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 case "$LIBEXT" in
9373 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9374 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'` ;;
9375 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9376 if ${ac_cv_lib_soname_Xext:+false} :; then :
9377 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9378 fi ;;
9379 esac
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_soname_save_LIBS
9385 if ${ac_cv_lib_soname_Xext:+false} :; then :
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9387 $as_echo "not found" >&6; }
9389 else
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9391 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9393 cat >>confdefs.h <<_ACEOF
9394 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9395 _ACEOF
9397 X_LIBS="$X_LIBS -lXext"
9399 X_LIBS="$X_LIBS -lX11"
9401 for ac_header in X11/Xlib.h \
9402 X11/XKBlib.h \
9403 X11/Xutil.h \
9404 X11/Xcursor/Xcursor.h \
9405 X11/extensions/shape.h \
9406 X11/extensions/XInput.h \
9407 X11/extensions/XInput2.h \
9408 X11/extensions/XShm.h \
9409 X11/extensions/Xcomposite.h \
9410 X11/extensions/Xinerama.h \
9411 X11/extensions/Xrandr.h \
9412 X11/extensions/Xrender.h \
9413 X11/extensions/xf86vmode.h \
9414 X11/extensions/xf86vmproto.h
9415 do :
9416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9417 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9418 # include <X11/Xlib.h>
9419 #endif
9420 #ifdef HAVE_X11_XUTIL_H
9421 # include <X11/Xutil.h>
9422 #endif
9424 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9425 cat >>confdefs.h <<_ACEOF
9426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9427 _ACEOF
9431 done
9434 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9435 then
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9437 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9438 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9449 #ifdef __cplusplus
9450 extern "C"
9451 #endif
9452 char XkbQueryExtension ();
9454 main ()
9456 return XkbQueryExtension ();
9458 return 0;
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_lib_X11_XkbQueryExtension=yes
9463 else
9464 ac_cv_lib_X11_XkbQueryExtension=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 LIBS=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9471 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9472 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9474 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9480 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9481 then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9483 $as_echo_n "checking for -lXcursor... " >&6; }
9484 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_check_soname_save_LIBS=$LIBS
9488 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char XcursorImageLoadCursor ();
9500 main ()
9502 return XcursorImageLoadCursor ();
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 case "$LIBEXT" in
9509 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9510 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'` ;;
9511 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9512 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9513 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9514 fi ;;
9515 esac
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_soname_save_LIBS
9521 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9523 $as_echo "not found" >&6; }
9525 else
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9527 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9529 cat >>confdefs.h <<_ACEOF
9530 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9531 _ACEOF
9536 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9537 case "x$with_xcursor" in
9538 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9539 xno) ;;
9540 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9541 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9542 esac
9545 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9546 then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9548 $as_echo_n "checking for -lXi... " >&6; }
9549 if ${ac_cv_lib_soname_Xi+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_check_soname_save_LIBS=$LIBS
9553 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9560 #ifdef __cplusplus
9561 extern "C"
9562 #endif
9563 char XOpenDevice ();
9565 main ()
9567 return XOpenDevice ();
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9573 case "$LIBEXT" in
9574 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9575 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'` ;;
9576 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9577 if ${ac_cv_lib_soname_Xi:+false} :; then :
9578 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9579 fi ;;
9580 esac
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_soname_save_LIBS
9586 if ${ac_cv_lib_soname_Xi:+false} :; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9588 $as_echo "not found" >&6; }
9590 else
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9592 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9594 cat >>confdefs.h <<_ACEOF
9595 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9596 _ACEOF
9601 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9602 case "x$with_xinput" in
9603 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9604 xno) ;;
9605 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9606 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9607 esac
9610 if test "x$ac_cv_lib_soname_Xi" != x
9611 then
9612 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9613 case "x$with_xinput2" in
9614 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9615 xno) ;;
9616 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9617 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9618 esac
9622 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9623 then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9625 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9626 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9627 $as_echo_n "(cached) " >&6
9628 else
9629 ac_check_lib_save_LIBS=$LIBS
9630 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9637 #ifdef __cplusplus
9638 extern "C"
9639 #endif
9640 char XShmQueryExtension ();
9642 main ()
9644 return XShmQueryExtension ();
9646 return 0;
9648 _ACEOF
9649 if ac_fn_c_try_link "$LINENO"; then :
9650 ac_cv_lib_Xext_XShmQueryExtension=yes
9651 else
9652 ac_cv_lib_Xext_XShmQueryExtension=no
9654 rm -f core conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9656 LIBS=$ac_check_lib_save_LIBS
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9659 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9660 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9662 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9667 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9668 case "x$with_xshm" in
9669 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9670 xno) ;;
9671 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9672 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9673 esac
9676 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9677 then
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9679 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9680 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 ac_check_lib_save_LIBS=$LIBS
9684 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9691 #ifdef __cplusplus
9692 extern "C"
9693 #endif
9694 char XShapeQueryExtension ();
9696 main ()
9698 return XShapeQueryExtension ();
9700 return 0;
9702 _ACEOF
9703 if ac_fn_c_try_link "$LINENO"; then :
9704 ac_cv_lib_Xext_XShapeQueryExtension=yes
9705 else
9706 ac_cv_lib_Xext_XShapeQueryExtension=no
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9713 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9714 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9716 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9721 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9722 case "x$with_xshape" in
9723 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9724 xno) ;;
9725 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9726 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9727 esac
9730 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9731 then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9733 $as_echo_n "checking for -lXxf86vm... " >&6; }
9734 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9735 $as_echo_n "(cached) " >&6
9736 else
9737 ac_check_soname_save_LIBS=$LIBS
9738 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9742 /* Override any GCC internal prototype to avoid an error.
9743 Use char because int might match the return type of a GCC
9744 builtin and then its argument prototype would still apply. */
9745 #ifdef __cplusplus
9746 extern "C"
9747 #endif
9748 char XF86VidModeQueryExtension ();
9750 main ()
9752 return XF86VidModeQueryExtension ();
9754 return 0;
9756 _ACEOF
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 case "$LIBEXT" in
9759 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9760 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'` ;;
9761 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9762 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9763 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9764 fi ;;
9765 esac
9767 rm -f core conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 LIBS=$ac_check_soname_save_LIBS
9771 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9773 $as_echo "not found" >&6; }
9775 else
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9777 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9779 cat >>confdefs.h <<_ACEOF
9780 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9781 _ACEOF
9786 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9787 case "x$with_xxf86vm" in
9788 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9789 xno) ;;
9790 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9791 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9792 esac
9795 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"
9796 then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9798 $as_echo_n "checking for -lXrender... " >&6; }
9799 if ${ac_cv_lib_soname_Xrender+:} false; then :
9800 $as_echo_n "(cached) " >&6
9801 else
9802 ac_check_soname_save_LIBS=$LIBS
9803 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char XRenderQueryExtension ();
9815 main ()
9817 return XRenderQueryExtension ();
9819 return 0;
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"; then :
9823 case "$LIBEXT" in
9824 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9825 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'` ;;
9826 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9827 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9828 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9829 fi ;;
9830 esac
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 LIBS=$ac_check_soname_save_LIBS
9836 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9838 $as_echo "not found" >&6; }
9840 else
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9842 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9844 cat >>confdefs.h <<_ACEOF
9845 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9846 _ACEOF
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9849 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9850 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_check_lib_save_LIBS=$LIBS
9854 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9861 #ifdef __cplusplus
9862 extern "C"
9863 #endif
9864 char XRenderSetPictureTransform ();
9866 main ()
9868 return XRenderSetPictureTransform ();
9870 return 0;
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9875 else
9876 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9883 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9884 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9886 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9891 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9892 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_lib_save_LIBS=$LIBS
9896 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XRenderCreateLinearGradient ();
9908 main ()
9910 return XRenderCreateLinearGradient ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9917 else
9918 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9925 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9926 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9928 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9935 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9936 case "x$with_xrender" in
9937 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9938 xno) ;;
9939 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9940 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9941 esac
9944 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9945 then
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9948 #include <X11/Xlib.h>
9949 #include <X11/extensions/Xrandr.h>
9951 main ()
9953 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9955 return 0;
9957 _ACEOF
9958 if ac_fn_c_try_compile "$LINENO"; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9960 $as_echo_n "checking for -lXrandr... " >&6; }
9961 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_check_soname_save_LIBS=$LIBS
9965 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9972 #ifdef __cplusplus
9973 extern "C"
9974 #endif
9975 char XRRQueryExtension ();
9977 main ()
9979 return XRRQueryExtension ();
9981 return 0;
9983 _ACEOF
9984 if ac_fn_c_try_link "$LINENO"; then :
9985 case "$LIBEXT" in
9986 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9987 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'` ;;
9988 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9989 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9990 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9991 fi ;;
9992 esac
9994 rm -f core conftest.err conftest.$ac_objext \
9995 conftest$ac_exeext conftest.$ac_ext
9996 LIBS=$ac_check_soname_save_LIBS
9998 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10000 $as_echo "not found" >&6; }
10002 else
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10004 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10006 cat >>confdefs.h <<_ACEOF
10007 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10008 _ACEOF
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 #include <X11/Xlib.h>
10013 #include <X11/extensions/Xrandr.h>
10015 main ()
10017 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_compile "$LINENO"; then :
10024 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10032 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10033 case "x$with_xrandr" in
10034 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10035 xno) ;;
10036 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10037 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10038 esac
10041 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10042 then
10043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044 /* end confdefs.h. */
10045 #include <X11/Xlib.h>
10046 #include <X11/extensions/Xinerama.h>
10048 main ()
10050 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10052 return 0;
10054 _ACEOF
10055 if ac_fn_c_try_compile "$LINENO"; then :
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10057 $as_echo_n "checking for -lXinerama... " >&6; }
10058 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10059 $as_echo_n "(cached) " >&6
10060 else
10061 ac_check_soname_save_LIBS=$LIBS
10062 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10066 /* Override any GCC internal prototype to avoid an error.
10067 Use char because int might match the return type of a GCC
10068 builtin and then its argument prototype would still apply. */
10069 #ifdef __cplusplus
10070 extern "C"
10071 #endif
10072 char XineramaQueryScreens ();
10074 main ()
10076 return XineramaQueryScreens ();
10078 return 0;
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 case "$LIBEXT" in
10083 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10084 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'` ;;
10085 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10086 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10087 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10088 fi ;;
10089 esac
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_soname_save_LIBS
10095 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10097 $as_echo "not found" >&6; }
10099 else
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10101 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10103 cat >>confdefs.h <<_ACEOF
10104 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10105 _ACEOF
10110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10112 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10113 case "x$with_xinerama" in
10114 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10115 xno) ;;
10116 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10117 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10118 esac
10121 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10122 then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10124 $as_echo_n "checking for -lXcomposite... " >&6; }
10125 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10126 $as_echo_n "(cached) " >&6
10127 else
10128 ac_check_soname_save_LIBS=$LIBS
10129 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 #ifdef __cplusplus
10137 extern "C"
10138 #endif
10139 char XCompositeRedirectWindow ();
10141 main ()
10143 return XCompositeRedirectWindow ();
10145 return 0;
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149 case "$LIBEXT" in
10150 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10151 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'` ;;
10152 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10153 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10154 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10155 fi ;;
10156 esac
10158 rm -f core conftest.err conftest.$ac_objext \
10159 conftest$ac_exeext conftest.$ac_ext
10160 LIBS=$ac_check_soname_save_LIBS
10162 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10164 $as_echo "not found" >&6; }
10166 else
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10168 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10170 cat >>confdefs.h <<_ACEOF
10171 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10172 _ACEOF
10177 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10178 case "x$with_xcomposite" in
10179 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10180 xno) ;;
10181 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10182 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10183 esac
10186 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10187 #include <X11/Xlib.h>
10188 #endif
10190 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10192 cat >>confdefs.h <<_ACEOF
10193 #define HAVE_XICCALLBACK_CALLBACK 1
10194 _ACEOF
10198 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10199 #include <X11/Xlib.h>
10200 #endif
10202 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10204 cat >>confdefs.h <<_ACEOF
10205 #define HAVE_XEVENT_XCOOKIE 1
10206 _ACEOF
10213 opengl_msg=""
10214 if test "x$with_opengl" != "xno"
10215 then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10217 $as_echo_n "checking for -lGL... " >&6; }
10218 if ${ac_cv_lib_soname_GL+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_check_soname_save_LIBS=$LIBS
10222 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char glXCreateContext ();
10234 main ()
10236 return glXCreateContext ();
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 case "$LIBEXT" in
10243 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10244 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'` ;;
10245 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10246 if ${ac_cv_lib_soname_GL:+false} :; then :
10247 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10248 fi ;;
10249 esac
10251 rm -f core conftest.err conftest.$ac_objext \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_soname_save_LIBS
10255 if ${ac_cv_lib_soname_GL:+false} :; then :
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10257 $as_echo "not found" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10259 $as_echo_n "checking for -lGL... " >&6; }
10260 if ${ac_cv_lib_soname_GL+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_soname_save_LIBS=$LIBS
10264 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"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char glXCreateContext ();
10276 main ()
10278 return glXCreateContext ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 case "$LIBEXT" in
10285 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10286 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'` ;;
10287 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10288 if ${ac_cv_lib_soname_GL:+false} :; then :
10289 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10290 fi ;;
10291 esac
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_soname_save_LIBS
10297 if ${ac_cv_lib_soname_GL:+false} :; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10299 $as_echo "not found" >&6; }
10300 if test -f /usr/X11R6/lib/libGL.a
10301 then
10302 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10303 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10304 else
10305 opengl_msg="No OpenGL library found on this system."
10307 else
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10309 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10311 cat >>confdefs.h <<_ACEOF
10312 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10313 _ACEOF
10315 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"
10317 else
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10319 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10321 cat >>confdefs.h <<_ACEOF
10322 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10323 _ACEOF
10325 OPENGL_LIBS="-lGL"
10327 if test "x$with_glu" != "xno"
10328 then
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10330 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10331 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10339 /* Override any GCC internal prototype to avoid an error.
10340 Use char because int might match the return type of a GCC
10341 builtin and then its argument prototype would still apply. */
10342 #ifdef __cplusplus
10343 extern "C"
10344 #endif
10345 char gluLookAt ();
10347 main ()
10349 return gluLookAt ();
10351 return 0;
10353 _ACEOF
10354 if ac_fn_c_try_link "$LINENO"; then :
10355 ac_cv_lib_GLU_gluLookAt=yes
10356 else
10357 ac_cv_lib_GLU_gluLookAt=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_lib_save_LIBS
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10364 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10365 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10369 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10370 case "x$with_glu" in
10371 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10372 xno) ;;
10373 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10374 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10375 esac
10379 if test "x$with_osmesa" != "xno"
10380 then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10382 $as_echo_n "checking for -lOSMesa... " >&6; }
10383 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10391 /* Override any GCC internal prototype to avoid an error.
10392 Use char because int might match the return type of a GCC
10393 builtin and then its argument prototype would still apply. */
10394 #ifdef __cplusplus
10395 extern "C"
10396 #endif
10397 char glAccum ();
10399 main ()
10401 return glAccum ();
10403 return 0;
10405 _ACEOF
10406 if ac_fn_c_try_link "$LINENO"; then :
10407 case "$LIBEXT" in
10408 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10409 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'` ;;
10410 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10411 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10412 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10413 fi ;;
10414 esac
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 LIBS=$ac_check_soname_save_LIBS
10420 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10422 $as_echo "not found" >&6; }
10424 else
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10426 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10428 cat >>confdefs.h <<_ACEOF
10429 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10430 _ACEOF
10434 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10435 case "x$with_osmesa" in
10436 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10437 xno) ;;
10438 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10439 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10440 esac
10444 if test -n "$opengl_msg"; then :
10445 case "x$with_opengl" in
10446 x) as_fn_append wine_warnings "|$opengl_msg
10447 OpenGL and Direct3D won't be supported." ;;
10448 xno) ;;
10449 *) as_fn_error $? "$opengl_msg
10450 OpenGL and Direct3D won't be supported.
10451 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10452 esac
10455 CPPFLAGS="$ac_save_CPPFLAGS"
10456 else
10457 X_CFLAGS=""
10458 X_LIBS=""
10459 enable_winex11_drv=${enable_winex11_drv:-no}
10461 if test "x$X_LIBS" = "x"; then :
10462 case "x$with_x" in
10463 xno) ;;
10464 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10465 without X support, which probably isn't what you want. You will need
10466 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10467 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10468 esac
10471 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10473 if test "$ac_cv_header_CL_cl_h" = "yes"
10474 then
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10476 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10477 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10478 $as_echo_n "(cached) " >&6
10479 else
10480 ac_check_lib_save_LIBS=$LIBS
10481 LIBS="-lOpenCL $LIBS"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10485 /* Override any GCC internal prototype to avoid an error.
10486 Use char because int might match the return type of a GCC
10487 builtin and then its argument prototype would still apply. */
10488 #ifdef __cplusplus
10489 extern "C"
10490 #endif
10491 char clGetPlatformInfo ();
10493 main ()
10495 return clGetPlatformInfo ();
10497 return 0;
10499 _ACEOF
10500 if ac_fn_c_try_link "$LINENO"; then :
10501 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10502 else
10503 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 LIBS=$ac_check_lib_save_LIBS
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10510 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10511 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10512 OPENCL_LIBS="-lOpenCL"
10517 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10518 case "x$with_opencl" in
10519 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10520 xno) ;;
10521 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10522 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10523 esac
10525 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10527 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10528 then
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10530 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10531 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_check_lib_save_LIBS=$LIBS
10535 LIBS="-lpcap $LIBS"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10542 #ifdef __cplusplus
10543 extern "C"
10544 #endif
10545 char pcap_create ();
10547 main ()
10549 return pcap_create ();
10551 return 0;
10553 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10555 ac_cv_lib_pcap_pcap_create=yes
10556 else
10557 ac_cv_lib_pcap_pcap_create=no
10559 rm -f core conftest.err conftest.$ac_objext \
10560 conftest$ac_exeext conftest.$ac_ext
10561 LIBS=$ac_check_lib_save_LIBS
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10564 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10565 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10566 LIBPCAP="-lpcap"
10571 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10572 case "x$with_pcap" in
10573 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10574 xno) ;;
10575 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10576 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10577 esac
10579 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10582 if test "x$with_xml" != "xno"
10583 then
10584 if ${XML2_CFLAGS:+false} :; then :
10585 if ${PKG_CONFIG+:} false; then :
10586 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10589 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10590 if ${XML2_LIBS:+false} :; then :
10591 if ${PKG_CONFIG+:} false; then :
10592 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10595 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10596 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10597 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10598 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10599 ac_save_CPPFLAGS=$CPPFLAGS
10600 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10601 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10602 do :
10603 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10604 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10606 cat >>confdefs.h <<_ACEOF
10607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10608 _ACEOF
10612 done
10614 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"
10615 then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10617 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10618 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10619 $as_echo_n "(cached) " >&6
10620 else
10621 ac_check_lib_save_LIBS=$LIBS
10622 LIBS="-lxml2 $XML2_LIBS $LIBS"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 char xmlParseMemory ();
10634 main ()
10636 return xmlParseMemory ();
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 ac_cv_lib_xml2_xmlParseMemory=yes
10643 else
10644 ac_cv_lib_xml2_xmlParseMemory=no
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 LIBS=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10651 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10652 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10654 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10656 else
10657 XML2_LIBS=""
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10661 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_check_lib_save_LIBS=$LIBS
10666 LIBS="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char xmlReadMemory ();
10678 main ()
10680 return xmlReadMemory ();
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 ac_cv_lib_xml2_xmlReadMemory=yes
10687 else
10688 ac_cv_lib_xml2_xmlReadMemory=no
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10698 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10703 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char xmlNewDocPI ();
10720 main ()
10722 return xmlNewDocPI ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_lib_xml2_xmlNewDocPI=yes
10729 else
10730 ac_cv_lib_xml2_xmlNewDocPI=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10740 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10745 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10746 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lxml2 $XML2_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char xmlSchemaSetParserStructuredErrors ();
10762 main ()
10764 return xmlSchemaSetParserStructuredErrors ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10771 else
10772 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10779 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10780 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10782 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10787 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10788 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lxml2 $XML2_LIBS $LIBS"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10799 #ifdef __cplusplus
10800 extern "C"
10801 #endif
10802 char xmlSchemaSetValidStructuredErrors ();
10804 main ()
10806 return xmlSchemaSetValidStructuredErrors ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10813 else
10814 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10816 rm -f core conftest.err conftest.$ac_objext \
10817 conftest$ac_exeext conftest.$ac_ext
10818 LIBS=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10821 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10822 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10824 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10829 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10830 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-lxml2 $XML2_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char xmlFirstElementChild ();
10846 main ()
10848 return xmlFirstElementChild ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_xml2_xmlFirstElementChild=yes
10855 else
10856 ac_cv_lib_xml2_xmlFirstElementChild=no
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10863 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10864 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10866 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10870 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10872 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10874 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10878 else
10879 XML2_CFLAGS=""
10880 XML2_LIBS=""
10882 CPPFLAGS=$ac_save_CPPFLAGS
10883 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10884 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10887 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10888 case "x$with_xml" in
10889 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10890 xno) ;;
10891 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10892 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10893 esac
10896 if test "x$with_xslt" != "xno"
10897 then
10898 if ${XSLT_CFLAGS:+false} :; then :
10899 if ${PKG_CONFIG+:} false; then :
10900 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10903 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10904 if ${XSLT_LIBS:+false} :; then :
10905 if ${PKG_CONFIG+:} false; then :
10906 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10909 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10910 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10911 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10912 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10913 ac_save_CPPFLAGS=$CPPFLAGS
10914 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10915 for ac_header in libxslt/pattern.h libxslt/transform.h
10916 do :
10917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10919 # include <libxslt/pattern.h>
10920 #endif
10922 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10923 cat >>confdefs.h <<_ACEOF
10924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10925 _ACEOF
10929 done
10931 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10932 then
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10934 $as_echo_n "checking for -lxslt... " >&6; }
10935 if ${ac_cv_lib_soname_xslt+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_soname_save_LIBS=$LIBS
10939 LIBS="-lxslt $XSLT_LIBS $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char xsltCompilePattern ();
10951 main ()
10953 return xsltCompilePattern ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 case "$LIBEXT" in
10960 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10961 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'` ;;
10962 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10963 if ${ac_cv_lib_soname_xslt:+false} :; then :
10964 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10965 fi ;;
10966 esac
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_soname_save_LIBS
10972 if ${ac_cv_lib_soname_xslt:+false} :; then :
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10974 $as_echo "not found" >&6; }
10976 else
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10978 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10980 cat >>confdefs.h <<_ACEOF
10981 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10982 _ACEOF
10986 else
10987 XSLT_CFLAGS=""
10989 CPPFLAGS=$ac_save_CPPFLAGS
10990 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10991 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10994 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10995 case "x$with_xslt" in
10996 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10997 xno) ;;
10998 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10999 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11000 esac
11003 if test "x$with_dbus" != "xno"
11004 then
11005 if ${DBUS_CFLAGS:+false} :; then :
11006 if ${PKG_CONFIG+:} false; then :
11007 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11011 if ${DBUS_LIBS:+false} :; then :
11012 if ${PKG_CONFIG+:} false; then :
11013 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11018 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11019 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11020 ac_save_CPPFLAGS=$CPPFLAGS
11021 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11022 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11023 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11025 $as_echo_n "checking for -ldbus-1... " >&6; }
11026 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11027 $as_echo_n "(cached) " >&6
11028 else
11029 ac_check_soname_save_LIBS=$LIBS
11030 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char dbus_connection_close ();
11042 main ()
11044 return dbus_connection_close ();
11046 return 0;
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050 case "$LIBEXT" in
11051 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11052 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'` ;;
11053 *) 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'`
11054 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11055 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11056 fi ;;
11057 esac
11059 rm -f core conftest.err conftest.$ac_objext \
11060 conftest$ac_exeext conftest.$ac_ext
11061 LIBS=$ac_check_soname_save_LIBS
11063 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11065 $as_echo "not found" >&6; }
11066 DBUS_CFLAGS=""
11067 else
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11069 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11071 cat >>confdefs.h <<_ACEOF
11072 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11073 _ACEOF
11077 else
11078 DBUS_CFLAGS=""
11082 CPPFLAGS=$ac_save_CPPFLAGS
11083 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11084 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11087 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11088 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11089 case "x$with_dbus" in
11090 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11091 xno) ;;
11092 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11093 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11094 esac
11097 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11098 then
11099 if ${HAL_CFLAGS:+false} :; then :
11100 if ${PKG_CONFIG+:} false; then :
11101 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11105 if ${HAL_LIBS:+false} :; then :
11106 if ${PKG_CONFIG+:} false; then :
11107 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11111 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11112 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11113 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11114 ac_save_CPPFLAGS=$CPPFLAGS
11115 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11116 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11117 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11119 $as_echo_n "checking for -lhal... " >&6; }
11120 if ${ac_cv_lib_soname_hal+:} false; then :
11121 $as_echo_n "(cached) " >&6
11122 else
11123 ac_check_soname_save_LIBS=$LIBS
11124 LIBS="-lhal $HAL_LIBS $LIBS"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char libhal_ctx_new ();
11136 main ()
11138 return libhal_ctx_new ();
11140 return 0;
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11144 case "$LIBEXT" in
11145 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11146 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'` ;;
11147 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11148 if ${ac_cv_lib_soname_hal:+false} :; then :
11149 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11150 fi ;;
11151 esac
11153 rm -f core conftest.err conftest.$ac_objext \
11154 conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_soname_save_LIBS
11157 if ${ac_cv_lib_soname_hal:+false} :; then :
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11159 $as_echo "not found" >&6; }
11160 HAL_CFLAGS=""
11161 else
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11163 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11165 cat >>confdefs.h <<_ACEOF
11166 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11167 _ACEOF
11171 else
11172 HAL_CFLAGS=""
11176 CPPFLAGS=$ac_save_CPPFLAGS
11177 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11178 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11180 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11181 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11182 case "x$with_hal" in
11183 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11184 xno) ;;
11185 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11186 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11187 esac
11191 if test "x$with_gnutls" != "xno"
11192 then
11193 if ${GNUTLS_CFLAGS:+false} :; then :
11194 if ${PKG_CONFIG+:} false; then :
11195 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11199 if ${GNUTLS_LIBS:+false} :; then :
11200 if ${PKG_CONFIG+:} false; then :
11201 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11206 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11207 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11208 ac_save_CPPFLAGS=$CPPFLAGS
11209 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11210 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11211 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11214 #include <gnutls/gnutls.h>
11215 #include <gnutls/crypto.h>
11217 main ()
11219 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11221 return 0;
11223 _ACEOF
11224 if ac_fn_c_try_compile "$LINENO"; then :
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11226 $as_echo_n "checking for -lgnutls... " >&6; }
11227 if ${ac_cv_lib_soname_gnutls+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_soname_save_LIBS=$LIBS
11231 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char gnutls_global_init ();
11243 main ()
11245 return gnutls_global_init ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 case "$LIBEXT" in
11252 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11253 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'` ;;
11254 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11255 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11256 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11257 fi ;;
11258 esac
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_soname_save_LIBS
11264 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11266 $as_echo "not found" >&6; }
11267 GNUTLS_CFLAGS=""
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11270 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11272 cat >>confdefs.h <<_ACEOF
11273 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11274 _ACEOF
11279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11280 else
11281 GNUTLS_CFLAGS=""
11285 CPPFLAGS=$ac_save_CPPFLAGS
11286 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11287 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11290 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11291 case "x$with_gnutls" in
11292 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11293 xno) ;;
11294 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11295 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11296 esac
11299 CURSES_LIBS=""
11300 if test "$ac_cv_header_ncurses_h" = "yes"
11301 then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11303 $as_echo_n "checking for -lncurses... " >&6; }
11304 if ${ac_cv_lib_soname_ncurses+:} false; then :
11305 $as_echo_n "(cached) " >&6
11306 else
11307 ac_check_soname_save_LIBS=$LIBS
11308 LIBS="-lncurses $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char waddch ();
11320 main ()
11322 return waddch ();
11324 return 0;
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 case "$LIBEXT" in
11329 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11330 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11331 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11332 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11333 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11334 fi ;;
11335 esac
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_soname_save_LIBS
11341 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11343 $as_echo "not found" >&6; }
11345 else
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11347 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11349 cat >>confdefs.h <<_ACEOF
11350 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11351 _ACEOF
11353 CURSES_LIBS="-lncurses"
11355 elif test "$ac_cv_header_curses_h" = "yes"
11356 then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11358 $as_echo_n "checking for -lcurses... " >&6; }
11359 if ${ac_cv_lib_soname_curses+:} false; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_soname_save_LIBS=$LIBS
11363 LIBS="-lcurses $LIBS"
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11370 #ifdef __cplusplus
11371 extern "C"
11372 #endif
11373 char waddch ();
11375 main ()
11377 return waddch ();
11379 return 0;
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 case "$LIBEXT" in
11384 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11385 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'` ;;
11386 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11387 if ${ac_cv_lib_soname_curses:+false} :; then :
11388 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11389 fi ;;
11390 esac
11392 rm -f core conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11394 LIBS=$ac_check_soname_save_LIBS
11396 if ${ac_cv_lib_soname_curses:+false} :; then :
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11398 $as_echo "not found" >&6; }
11400 else
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11402 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11404 cat >>confdefs.h <<_ACEOF
11405 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11406 _ACEOF
11408 CURSES_LIBS="-lcurses"
11411 ac_save_LIBS="$LIBS"
11412 LIBS="$LIBS $CURSES_LIBS"
11413 for ac_func in mousemask
11414 do :
11415 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11416 if test "x$ac_cv_func_mousemask" = xyes; then :
11417 cat >>confdefs.h <<_ACEOF
11418 #define HAVE_MOUSEMASK 1
11419 _ACEOF
11422 done
11424 LIBS="$ac_save_LIBS"
11425 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11426 case "x$with_curses" in
11427 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11428 xno) ;;
11429 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11430 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11431 esac
11434 if test "x$with_sane" != "xno"
11435 then
11436 if ${SANE_CFLAGS:+false} :; then :
11437 if ${PKG_CONFIG+:} false; then :
11438 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11441 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11442 if ${SANE_LIBS:+false} :; then :
11443 if ${PKG_CONFIG+:} false; then :
11444 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11447 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11449 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11451 ac_save_CPPFLAGS=$CPPFLAGS
11452 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11453 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11454 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11456 $as_echo_n "checking for -lsane... " >&6; }
11457 if ${ac_cv_lib_soname_sane+:} false; then :
11458 $as_echo_n "(cached) " >&6
11459 else
11460 ac_check_soname_save_LIBS=$LIBS
11461 LIBS="-lsane $SANE_LIBS $LIBS"
11462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11463 /* end confdefs.h. */
11465 /* Override any GCC internal prototype to avoid an error.
11466 Use char because int might match the return type of a GCC
11467 builtin and then its argument prototype would still apply. */
11468 #ifdef __cplusplus
11469 extern "C"
11470 #endif
11471 char sane_init ();
11473 main ()
11475 return sane_init ();
11477 return 0;
11479 _ACEOF
11480 if ac_fn_c_try_link "$LINENO"; then :
11481 case "$LIBEXT" in
11482 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11483 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'` ;;
11484 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11485 if ${ac_cv_lib_soname_sane:+false} :; then :
11486 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11487 fi ;;
11488 esac
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_soname_save_LIBS
11494 if ${ac_cv_lib_soname_sane:+false} :; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11496 $as_echo "not found" >&6; }
11497 SANE_CFLAGS=""
11498 else
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11500 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11502 cat >>confdefs.h <<_ACEOF
11503 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11504 _ACEOF
11508 else
11509 SANE_CFLAGS=""
11513 CPPFLAGS=$ac_save_CPPFLAGS
11514 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11515 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11518 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11519 case "x$with_sane" in
11520 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11521 xno) ;;
11522 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11523 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11524 esac
11527 if test "x$with_v4l" != "xno"
11528 then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11530 $as_echo_n "checking for -lv4l1... " >&6; }
11531 if ${ac_cv_lib_soname_v4l1+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_soname_save_LIBS=$LIBS
11535 LIBS="-lv4l1 $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char v4l1_open ();
11547 main ()
11549 return v4l1_open ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 case "$LIBEXT" in
11556 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11560 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 fi ;;
11562 esac
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11574 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11578 _ACEOF
11583 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11584 case "x$with_v4l" in
11585 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11586 xno) ;;
11587 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11588 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11589 esac
11592 if test "x$with_gphoto" != "xno"
11593 then
11594 if ${GPHOTO2_CFLAGS:+false} :; then :
11595 if ${PKG_CONFIG+:} false; then :
11596 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11599 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11600 if ${GPHOTO2_LIBS:+false} :; then :
11601 if ${PKG_CONFIG+:} false; then :
11602 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11605 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11606 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11609 ac_save_CPPFLAGS=$CPPFLAGS
11610 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11611 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11614 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11615 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_lib_save_LIBS=$LIBS
11619 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char gp_camera_new ();
11631 main ()
11633 return gp_camera_new ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 ac_cv_lib_gphoto2_gp_camera_new=yes
11640 else
11641 ac_cv_lib_gphoto2_gp_camera_new=no
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11648 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11649 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11651 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11653 else
11654 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11657 else
11658 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11662 CPPFLAGS=$ac_save_CPPFLAGS
11663 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11664 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11666 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11667 if ${PKG_CONFIG+:} false; then :
11668 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11671 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11672 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11673 if ${PKG_CONFIG+:} false; then :
11674 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11677 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11678 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11679 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11680 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11681 ac_save_CPPFLAGS=$CPPFLAGS
11682 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11683 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11684 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11686 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11687 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11688 $as_echo_n "(cached) " >&6
11689 else
11690 ac_check_lib_save_LIBS=$LIBS
11691 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char gp_port_info_list_new ();
11703 main ()
11705 return gp_port_info_list_new ();
11707 return 0;
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"; then :
11711 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11712 else
11713 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11715 rm -f core conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_lib_save_LIBS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11720 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11721 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11723 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11725 else
11726 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11729 else
11730 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11734 CPPFLAGS=$ac_save_CPPFLAGS
11735 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11736 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11739 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11740 case "x$with_gphoto" in
11741 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11742 xno) ;;
11743 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11744 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11745 esac
11747 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11748 case "x$with_gphoto" in
11749 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11750 xno) ;;
11751 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11752 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11753 esac
11757 if test "$ac_cv_header_resolv_h" = "yes"
11758 then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11760 $as_echo_n "checking for resolver library... " >&6; }
11761 if ${ac_cv_have_resolv+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_save_LIBS="$LIBS"
11765 for lib in '' -lresolv
11767 LIBS="$lib $ac_save_LIBS"
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11769 /* end confdefs.h. */
11770 #ifdef HAVE_NETINET_IN_H
11771 #include <netinet/in.h>
11772 #endif
11773 #include <resolv.h>
11775 main ()
11777 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11779 return 0;
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 ac_cv_have_resolv=${lib:-"none required"}
11784 else
11785 ac_cv_have_resolv="not found"
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 test "x$ac_cv_have_resolv" = "xnot found" || break
11790 done
11791 LIBS="$ac_save_LIBS"
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11794 $as_echo "$ac_cv_have_resolv" >&6; }
11796 case "$ac_cv_have_resolv" in
11797 "not found") ;;
11798 "none required")
11800 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11803 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11805 RESOLV_LIBS=$ac_cv_have_resolv
11807 esac
11810 if test "x$with_lcms2" != "xno"
11811 then
11812 if ${LCMS2_CFLAGS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11818 if ${LCMS2_LIBS:+false} :; then :
11819 if ${PKG_CONFIG+:} false; then :
11820 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11824 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11825 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11826 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11827 ac_save_CPPFLAGS=$CPPFLAGS
11828 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11829 for ac_header in lcms2.h
11830 do :
11831 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11832 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11833 cat >>confdefs.h <<_ACEOF
11834 #define HAVE_LCMS2_H 1
11835 _ACEOF
11839 done
11841 if test "$ac_cv_header_lcms2_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11844 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11845 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char cmsOpenProfileFromFile ();
11861 main ()
11863 return cmsOpenProfileFromFile ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11870 else
11871 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11873 rm -f core conftest.err conftest.$ac_objext \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11878 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11879 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11881 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11883 else
11884 LCMS2_LIBS=""
11887 else
11888 LCMS2_CFLAGS=""
11889 LCMS2_LIBS=""
11891 CPPFLAGS=$ac_save_CPPFLAGS
11892 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11893 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11896 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11897 case "x$with_cms" in
11898 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11899 xno) ;;
11900 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11901 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11902 esac
11905 if test "x$with_freetype" != "xno"
11906 then
11907 if ${FREETYPE_CFLAGS:+false} :; then :
11908 if ${PKG_CONFIG+:} false; then :
11909 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11912 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11913 if ${FREETYPE_LIBS:+false} :; then :
11914 if ${PKG_CONFIG+:} false; then :
11915 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11918 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11919 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11920 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11921 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11922 ac_save_CPPFLAGS=$CPPFLAGS
11923 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11924 for ac_header in ft2build.h
11925 do :
11926 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11927 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11928 cat >>confdefs.h <<_ACEOF
11929 #define HAVE_FT2BUILD_H 1
11930 _ACEOF
11934 done
11936 if test "$ac_cv_header_ft2build_h" = "yes"
11937 then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11939 $as_echo_n "checking for -lfreetype... " >&6; }
11940 if ${ac_cv_lib_soname_freetype+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 ac_check_soname_save_LIBS=$LIBS
11944 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11946 /* end confdefs.h. */
11948 /* Override any GCC internal prototype to avoid an error.
11949 Use char because int might match the return type of a GCC
11950 builtin and then its argument prototype would still apply. */
11951 #ifdef __cplusplus
11952 extern "C"
11953 #endif
11954 char FT_Init_FreeType ();
11956 main ()
11958 return FT_Init_FreeType ();
11960 return 0;
11962 _ACEOF
11963 if ac_fn_c_try_link "$LINENO"; then :
11964 case "$LIBEXT" in
11965 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11966 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'` ;;
11967 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11968 if ${ac_cv_lib_soname_freetype:+false} :; then :
11969 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11970 fi ;;
11971 esac
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_soname_save_LIBS
11977 if ${ac_cv_lib_soname_freetype:+false} :; then :
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11979 $as_echo "not found" >&6; }
11980 FREETYPE_LIBS=""
11981 else
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11983 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11985 cat >>confdefs.h <<_ACEOF
11986 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11987 _ACEOF
11990 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11992 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11993 #include FT_MODULE_H
11995 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11997 cat >>confdefs.h <<_ACEOF
11998 #define HAVE_FT_TRUETYPEENGINETYPE 1
11999 _ACEOF
12005 else
12006 FREETYPE_CFLAGS=""
12007 FREETYPE_LIBS=""
12009 CPPFLAGS=$ac_save_CPPFLAGS
12010 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12011 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12014 if test "x$ac_cv_lib_soname_freetype" = x; then :
12015 case "x$with_freetype" in
12016 xno) ;;
12017 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12018 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12019 esac
12021 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12024 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12025 if ${ac_cv_c_ppdev+:} false; then :
12026 $as_echo_n "(cached) " >&6
12027 else
12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12030 #ifdef HAVE_SYS_IOCTL_H
12031 # include <sys/ioctl.h>
12032 #endif
12033 #include <linux/ppdev.h>
12035 main ()
12037 ioctl (1,PPCLAIM,0)
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_compile "$LINENO"; then :
12043 ac_cv_c_ppdev="yes"
12044 else
12045 ac_cv_c_ppdev="no"
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12050 $as_echo "$ac_cv_c_ppdev" >&6; }
12051 if test "$ac_cv_c_ppdev" = "yes"
12052 then
12054 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12058 ac_wine_check_funcs_save_LIBS="$LIBS"
12059 LIBS="$LIBS $PTHREAD_LIBS"
12060 for ac_func in \
12061 pthread_attr_get_np \
12062 pthread_getattr_np \
12063 pthread_getthreadid_np \
12064 pthread_get_stackaddr_np \
12065 pthread_get_stacksize_np
12066 do :
12067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12070 cat >>confdefs.h <<_ACEOF
12071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12072 _ACEOF
12075 done
12077 LIBS="$ac_wine_check_funcs_save_LIBS"
12079 if test "$ac_cv_header_zlib_h" = "yes"
12080 then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12082 $as_echo_n "checking for inflate in -lz... " >&6; }
12083 if ${ac_cv_lib_z_inflate+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lz $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char inflate ();
12099 main ()
12101 return inflate ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 ac_cv_lib_z_inflate=yes
12108 else
12109 ac_cv_lib_z_inflate=no
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12116 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12117 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12119 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12121 Z_LIBS="-lz"
12126 if test "x$Z_LIBS" = "x"; then :
12127 case "x$with_zlib" in
12128 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12129 xno) ;;
12130 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12131 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12132 esac
12135 if test "x$enable_tools" != xno
12136 then
12137 if test "$ac_cv_header_gettext_po_h" = "yes"
12138 then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12140 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12141 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-lgettextpo $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char po_message_msgctxt ();
12157 main ()
12159 return po_message_msgctxt ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12166 else
12167 ac_cv_lib_gettextpo_po_message_msgctxt=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12174 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12175 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12177 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12179 GETTEXTPO_LIBS="-lgettextpo"
12184 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12185 case "x$with_gettextpo" in
12186 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12187 xno) ;;
12188 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12189 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12190 esac
12194 if test "x$with_gstreamer" != "xno"
12195 then
12196 if ${GSTREAMER_CFLAGS:+false} :; then :
12197 if ${PKG_CONFIG+:} false; then :
12198 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12202 if ${GSTREAMER_LIBS:+false} :; then :
12203 if ${PKG_CONFIG+:} false; then :
12204 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12209 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12210 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12211 ac_save_CPPFLAGS=$CPPFLAGS
12212 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12213 ac_gst_incl=""
12214 for i in $GSTREAMER_CFLAGS
12216 case "$i" in
12217 -I*) ac_gst_incl="$ac_gst_incl $i";;
12218 esac
12219 done
12220 GSTREAMER_CFLAGS=$ac_gst_incl
12221 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12222 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12224 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12225 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12227 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12230 #include <gst/app/gstappsink.h>
12232 main ()
12234 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_compile "$LINENO"; then :
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12241 $as_echo "yes" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12243 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12244 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_check_lib_save_LIBS=$LIBS
12248 LIBS="-lgstreamer-0.10 $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12255 #ifdef __cplusplus
12256 extern "C"
12257 #endif
12258 char gst_pad_get_caps_reffed ();
12260 main ()
12262 return gst_pad_get_caps_reffed ();
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12269 else
12270 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12272 rm -f core conftest.err conftest.$ac_objext \
12273 conftest$ac_exeext conftest.$ac_ext
12274 LIBS=$ac_check_lib_save_LIBS
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12277 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12278 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12280 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12281 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_lib_save_LIBS=$LIBS
12285 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char gst_app_buffer_new ();
12297 main ()
12299 return gst_app_buffer_new ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12306 else
12307 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 LIBS=$ac_check_lib_save_LIBS
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12314 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12315 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12321 else
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12323 $as_echo "no" >&6; }
12325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12329 else
12330 GSTREAMER_CFLAGS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12335 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12336 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12339 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12340 case "x$with_gstreamer" in
12341 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12342 xno) ;;
12343 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12344 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12345 esac
12347 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12349 ALSA_LIBS=""
12351 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12352 then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12354 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12355 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_check_lib_save_LIBS=$LIBS
12359 LIBS="-lasound $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 #ifdef __cplusplus
12367 extern "C"
12368 #endif
12369 char snd_pcm_hw_params_get_access_mask ();
12371 main ()
12373 return snd_pcm_hw_params_get_access_mask ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"; then :
12379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12380 else
12381 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12383 rm -f core conftest.err conftest.$ac_objext \
12384 conftest$ac_exeext conftest.$ac_ext
12385 LIBS=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12388 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12389 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 #ifdef HAVE_ALSA_ASOUNDLIB_H
12393 #include <alsa/asoundlib.h>
12394 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12395 #include <sys/asoundlib.h>
12396 #endif
12398 main ()
12400 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_compile "$LINENO"; then :
12406 ALSA_LIBS="-lasound"
12408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12413 if test "x$with_oss" != xno
12414 then
12415 ac_save_CPPFLAGS="$CPPFLAGS"
12416 if test -f /etc/oss.conf
12417 then
12418 . /etc/oss.conf
12420 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12421 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12422 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12424 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12426 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12430 _ACEOF
12432 OSS4_CFLAGS="$ac_oss_incl"
12439 CPPFLAGS="$ac_save_CPPFLAGS"
12440 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12441 then
12442 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12446 if test "x$with_capi" != "xno"
12447 then
12448 if ${CAPI20_CFLAGS:+false} :; then :
12449 if ${PKG_CONFIG+:} false; then :
12450 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12454 if ${CAPI20_LIBS:+false} :; then :
12455 if ${PKG_CONFIG+:} false; then :
12456 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12461 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12462 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12463 ac_save_CPPFLAGS=$CPPFLAGS
12464 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12465 for ac_header in capi20.h linux/capi.h
12466 do :
12467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12471 cat >>confdefs.h <<_ACEOF
12472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12473 _ACEOF
12477 done
12479 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12482 $as_echo_n "checking for -lcapi20... " >&6; }
12483 if ${ac_cv_lib_soname_capi20+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_check_soname_save_LIBS=$LIBS
12487 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char capi20_register ();
12499 main ()
12501 return capi20_register ();
12503 return 0;
12505 _ACEOF
12506 if ac_fn_c_try_link "$LINENO"; then :
12507 case "$LIBEXT" in
12508 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12509 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'` ;;
12510 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12511 if ${ac_cv_lib_soname_capi20:+false} :; then :
12512 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12513 fi ;;
12514 esac
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 LIBS=$ac_check_soname_save_LIBS
12520 if ${ac_cv_lib_soname_capi20:+false} :; then :
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12522 $as_echo "not found" >&6; }
12524 else
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12526 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12528 cat >>confdefs.h <<_ACEOF
12529 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12530 _ACEOF
12535 CPPFLAGS=$ac_save_CPPFLAGS
12536 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12537 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12540 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12541 case "x$with_capi" in
12542 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12543 xno) ;;
12544 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12545 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12546 esac
12549 CUPS_CFLAGS=""
12551 if test "x$with_cups" != "xno"
12552 then
12553 ac_save_CPPFLAGS="$CPPFLAGS"
12554 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12555 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12556 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12557 for ac_header in cups/cups.h
12558 do :
12559 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_CUPS_CUPS_H 1
12563 _ACEOF
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12565 $as_echo_n "checking for -lcups... " >&6; }
12566 if ${ac_cv_lib_soname_cups+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_soname_save_LIBS=$LIBS
12570 LIBS="-lcups $ac_cups_libs $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char cupsGetDefault ();
12582 main ()
12584 return cupsGetDefault ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 case "$LIBEXT" in
12591 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_cups:+false} :; then :
12595 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 fi ;;
12597 esac
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_cups:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12607 else
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12609 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12611 cat >>confdefs.h <<_ACEOF
12612 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12613 _ACEOF
12615 CUPS_CFLAGS="$ac_cups_cflags"
12619 done
12621 CPPFLAGS="$ac_save_CPPFLAGS"
12623 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12624 case "x$with_cups" in
12625 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12626 xno) ;;
12627 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12628 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12629 esac
12632 if test "x$with_fontconfig" != "xno"
12633 then
12634 if ${FONTCONFIG_CFLAGS:+false} :; then :
12635 if ${PKG_CONFIG+:} false; then :
12636 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12639 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12640 if ${FONTCONFIG_LIBS:+false} :; then :
12641 if ${PKG_CONFIG+:} false; then :
12642 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12645 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12647 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12648 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12649 ac_save_CPPFLAGS=$CPPFLAGS
12650 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12651 for ac_header in fontconfig/fontconfig.h
12652 do :
12653 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12654 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12655 cat >>confdefs.h <<_ACEOF
12656 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12657 _ACEOF
12661 done
12663 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12664 then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12666 $as_echo_n "checking for -lfontconfig... " >&6; }
12667 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12668 $as_echo_n "(cached) " >&6
12669 else
12670 ac_check_soname_save_LIBS=$LIBS
12671 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char FcInit ();
12683 main ()
12685 return FcInit ();
12687 return 0;
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 case "$LIBEXT" in
12692 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12693 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'` ;;
12694 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12695 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12696 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12697 fi ;;
12698 esac
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_soname_save_LIBS
12704 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12706 $as_echo "not found" >&6; }
12707 FONTCONFIG_CFLAGS=""
12708 else
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12710 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12712 cat >>confdefs.h <<_ACEOF
12713 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12714 _ACEOF
12718 else
12719 FONTCONFIG_CFLAGS=""
12721 CPPFLAGS=$ac_save_CPPFLAGS
12722 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12727 case "x$with_fontconfig" in
12728 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12731 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12732 esac
12735 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12736 then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12738 $as_echo_n "checking for -lgsm... " >&6; }
12739 if ${ac_cv_lib_soname_gsm+:} false; then :
12740 $as_echo_n "(cached) " >&6
12741 else
12742 ac_check_soname_save_LIBS=$LIBS
12743 LIBS="-lgsm $LIBS"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 /* Override any GCC internal prototype to avoid an error.
12748 Use char because int might match the return type of a GCC
12749 builtin and then its argument prototype would still apply. */
12750 #ifdef __cplusplus
12751 extern "C"
12752 #endif
12753 char gsm_create ();
12755 main ()
12757 return gsm_create ();
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_link "$LINENO"; then :
12763 case "$LIBEXT" in
12764 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12765 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'` ;;
12766 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12767 if ${ac_cv_lib_soname_gsm:+false} :; then :
12768 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12769 fi ;;
12770 esac
12772 rm -f core conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_soname_save_LIBS
12776 if ${ac_cv_lib_soname_gsm:+false} :; then :
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12778 $as_echo "not found" >&6; }
12780 else
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12782 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12784 cat >>confdefs.h <<_ACEOF
12785 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12786 _ACEOF
12791 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12792 case "x$with_gsm" in
12793 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12794 xno) ;;
12795 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12796 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12797 esac
12800 if test "x$with_jpeg" != "xno"
12801 then
12802 if ${JPEG_CFLAGS:+false} :; then :
12803 if ${PKG_CONFIG+:} false; then :
12804 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12808 if ${JPEG_LIBS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12815 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12816 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12817 ac_save_CPPFLAGS=$CPPFLAGS
12818 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12819 for ac_header in jpeglib.h
12820 do :
12821 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12822 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12823 cat >>confdefs.h <<_ACEOF
12824 #define HAVE_JPEGLIB_H 1
12825 _ACEOF
12829 done
12831 if test "$ac_cv_header_jpeglib_h" = "yes"
12832 then
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12834 $as_echo_n "checking for -ljpeg... " >&6; }
12835 if ${ac_cv_lib_soname_jpeg+:} false; then :
12836 $as_echo_n "(cached) " >&6
12837 else
12838 ac_check_soname_save_LIBS=$LIBS
12839 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 char jpeg_start_decompress ();
12851 main ()
12853 return jpeg_start_decompress ();
12855 return 0;
12857 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 case "$LIBEXT" in
12860 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12861 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'` ;;
12862 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12863 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12864 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12865 fi ;;
12866 esac
12868 rm -f core conftest.err conftest.$ac_objext \
12869 conftest$ac_exeext conftest.$ac_ext
12870 LIBS=$ac_check_soname_save_LIBS
12872 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12874 $as_echo "not found" >&6; }
12875 JPEG_CFLAGS=""
12876 else
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12878 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12880 cat >>confdefs.h <<_ACEOF
12881 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12882 _ACEOF
12886 else
12887 JPEG_CFLAGS=""
12889 CPPFLAGS=$ac_save_CPPFLAGS
12890 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12891 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12894 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12895 case "x$with_jpeg" in
12896 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12897 xno) ;;
12898 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12899 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12900 esac
12903 if test "x$with_png" != "xno"
12904 then
12905 if ${PNG_CFLAGS:+false} :; then :
12906 if ${PKG_CONFIG+:} false; then :
12907 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12910 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12911 if ${PNG_LIBS:+false} :; then :
12912 if ${PKG_CONFIG+:} false; then :
12913 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12916 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12920 ac_save_CPPFLAGS=$CPPFLAGS
12921 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12922 for ac_header in png.h
12923 do :
12924 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_png_h" = xyes; then :
12926 cat >>confdefs.h <<_ACEOF
12927 #define HAVE_PNG_H 1
12928 _ACEOF
12932 done
12934 if test "$ac_cv_header_png_h" = "yes"
12935 then
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12937 $as_echo_n "checking for -lpng... " >&6; }
12938 if ${ac_cv_lib_soname_png+:} false; then :
12939 $as_echo_n "(cached) " >&6
12940 else
12941 ac_check_soname_save_LIBS=$LIBS
12942 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12949 #ifdef __cplusplus
12950 extern "C"
12951 #endif
12952 char png_create_read_struct ();
12954 main ()
12956 return png_create_read_struct ();
12958 return 0;
12960 _ACEOF
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 case "$LIBEXT" in
12963 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12964 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'` ;;
12965 *) 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'`
12966 if ${ac_cv_lib_soname_png:+false} :; then :
12967 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12968 fi ;;
12969 esac
12971 rm -f core conftest.err conftest.$ac_objext \
12972 conftest$ac_exeext conftest.$ac_ext
12973 LIBS=$ac_check_soname_save_LIBS
12975 if ${ac_cv_lib_soname_png:+false} :; then :
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12977 $as_echo "not found" >&6; }
12978 PNG_CFLAGS=""
12979 else
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12981 $as_echo "$ac_cv_lib_soname_png" >&6; }
12983 cat >>confdefs.h <<_ACEOF
12984 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12985 _ACEOF
12987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12989 #include <png.h>
12991 main ()
12993 typeof(png_set_expand_gray_1_2_4_to_8) *p
12995 return 0;
12997 _ACEOF
12998 if ac_fn_c_try_compile "$LINENO"; then :
13000 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13005 else
13006 PNG_CFLAGS=""
13008 CPPFLAGS=$ac_save_CPPFLAGS
13009 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test "x$ac_cv_lib_soname_png" = "x"; then :
13014 case "x$with_png" in
13015 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13018 This is an error since --with-png was requested." "$LINENO" 5 ;;
13019 esac
13022 if test "x$with_tiff" != "xno"
13023 then
13024 if ${TIFF_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13030 if ${TIFF_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13039 ac_save_CPPFLAGS=$CPPFLAGS
13040 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13041 for ac_header in tiffio.h
13042 do :
13043 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13044 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define HAVE_TIFFIO_H 1
13047 _ACEOF
13051 done
13053 if test "$ac_cv_header_tiffio_h" = "yes"
13054 then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13056 $as_echo_n "checking for -ltiff... " >&6; }
13057 if ${ac_cv_lib_soname_tiff+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_soname_save_LIBS=$LIBS
13061 LIBS="-ltiff $TIFF_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char TIFFClientOpen ();
13073 main ()
13075 return TIFFClientOpen ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 case "$LIBEXT" in
13082 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13083 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'` ;;
13084 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13085 if ${ac_cv_lib_soname_tiff:+false} :; then :
13086 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13087 fi ;;
13088 esac
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_soname_save_LIBS
13094 if ${ac_cv_lib_soname_tiff:+false} :; then :
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13096 $as_echo "not found" >&6; }
13098 else
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13100 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13102 cat >>confdefs.h <<_ACEOF
13103 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13104 _ACEOF
13109 CPPFLAGS=$ac_save_CPPFLAGS
13110 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13115 case "x$with_tiff" in
13116 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13117 xno) ;;
13118 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13119 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13120 esac
13123 if test "x$with_mpg123" != "xno"
13124 then
13125 if ${MPG123_CFLAGS:+false} :; then :
13126 if ${PKG_CONFIG+:} false; then :
13127 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13131 if ${MPG123_LIBS:+false} :; then :
13132 if ${PKG_CONFIG+:} false; then :
13133 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13137 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13138 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13139 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13140 ac_save_CPPFLAGS=$CPPFLAGS
13141 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13142 for ac_header in mpg123.h
13143 do :
13144 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13146 cat >>confdefs.h <<_ACEOF
13147 #define HAVE_MPG123_H 1
13148 _ACEOF
13152 done
13154 if test "$ac_cv_header_mpg123_h" = "yes"
13155 then
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13157 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13158 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13159 $as_echo_n "(cached) " >&6
13160 else
13161 ac_check_lib_save_LIBS=$LIBS
13162 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13166 /* Override any GCC internal prototype to avoid an error.
13167 Use char because int might match the return type of a GCC
13168 builtin and then its argument prototype would still apply. */
13169 #ifdef __cplusplus
13170 extern "C"
13171 #endif
13172 char mpg123_feed ();
13174 main ()
13176 return mpg123_feed ();
13178 return 0;
13180 _ACEOF
13181 if ac_fn_c_try_link "$LINENO"; then :
13182 ac_cv_lib_mpg123_mpg123_feed=yes
13183 else
13184 ac_cv_lib_mpg123_mpg123_feed=no
13186 rm -f core conftest.err conftest.$ac_objext \
13187 conftest$ac_exeext conftest.$ac_ext
13188 LIBS=$ac_check_lib_save_LIBS
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13191 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13192 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13194 else
13195 MPG123_LIBS=""
13198 else
13199 MPG123_CFLAGS=""
13200 MPG123_LIBS=""
13202 CPPFLAGS=$ac_save_CPPFLAGS
13203 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13204 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13207 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13208 case "x$with_mpg123" in
13209 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13210 xno) ;;
13211 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13212 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13213 esac
13215 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}
13217 if test "$ac_cv_header_AL_al_h" = "yes"
13218 then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13220 $as_echo_n "checking for -lopenal... " >&6; }
13221 if ${ac_cv_lib_soname_openal+:} false; then :
13222 $as_echo_n "(cached) " >&6
13223 else
13224 ac_check_soname_save_LIBS=$LIBS
13225 LIBS="-lopenal $LIBS"
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13232 #ifdef __cplusplus
13233 extern "C"
13234 #endif
13235 char alGetSource3i ();
13237 main ()
13239 return alGetSource3i ();
13241 return 0;
13243 _ACEOF
13244 if ac_fn_c_try_link "$LINENO"; then :
13245 case "$LIBEXT" in
13246 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_openal:+false} :; then :
13250 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 fi ;;
13252 esac
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_openal:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13262 else
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13264 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13266 cat >>confdefs.h <<_ACEOF
13267 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13268 _ACEOF
13270 OPENAL_LIBS="-lopenal"
13272 ac_cv_lib_openal=yes
13274 cat >>confdefs.h <<_ACEOF
13275 #define HAVE_OPENAL 1
13276 _ACEOF
13280 if test "x$ac_cv_lib_openal" != xyes; then :
13281 case "x$with_openal" in
13282 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13283 xno) ;;
13284 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13285 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13286 esac
13288 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13290 if test "$ac_cv_header_kstat_h" = "yes"
13291 then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13293 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13294 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_lib_save_LIBS=$LIBS
13298 LIBS="-lkstat $LIBS"
13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 char kstat_open ();
13310 main ()
13312 return kstat_open ();
13314 return 0;
13316 _ACEOF
13317 if ac_fn_c_try_link "$LINENO"; then :
13318 ac_cv_lib_kstat_kstat_open=yes
13319 else
13320 ac_cv_lib_kstat_kstat_open=no
13322 rm -f core conftest.err conftest.$ac_objext \
13323 conftest$ac_exeext conftest.$ac_ext
13324 LIBS=$ac_check_lib_save_LIBS
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13327 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13328 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13330 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13332 KSTAT_LIBS="-lkstat"
13338 if test "$ac_cv_header_libprocstat_h" = "yes"
13339 then
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13341 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13342 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13343 $as_echo_n "(cached) " >&6
13344 else
13345 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-lprocstat $LIBS"
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13353 #ifdef __cplusplus
13354 extern "C"
13355 #endif
13356 char procstat_open_sysctl ();
13358 main ()
13360 return procstat_open_sysctl ();
13362 return 0;
13364 _ACEOF
13365 if ac_fn_c_try_link "$LINENO"; then :
13366 ac_cv_lib_procstat_procstat_open_sysctl=yes
13367 else
13368 ac_cv_lib_procstat_procstat_open_sysctl=no
13370 rm -f core conftest.err conftest.$ac_objext \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13375 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13376 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13378 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13380 PROCSTAT_LIBS="-lprocstat"
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13387 $as_echo_n "checking for -lodbc... " >&6; }
13388 if ${ac_cv_lib_soname_odbc+:} false; then :
13389 $as_echo_n "(cached) " >&6
13390 else
13391 ac_check_soname_save_LIBS=$LIBS
13392 LIBS="-lodbc $LIBS"
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13399 #ifdef __cplusplus
13400 extern "C"
13401 #endif
13402 char SQLConnect ();
13404 main ()
13406 return SQLConnect ();
13408 return 0;
13410 _ACEOF
13411 if ac_fn_c_try_link "$LINENO"; then :
13412 case "$LIBEXT" in
13413 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13414 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'` ;;
13415 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13416 if ${ac_cv_lib_soname_odbc:+false} :; then :
13417 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13418 fi ;;
13419 esac
13421 rm -f core conftest.err conftest.$ac_objext \
13422 conftest$ac_exeext conftest.$ac_ext
13423 LIBS=$ac_check_soname_save_LIBS
13425 if ${ac_cv_lib_soname_odbc:+false} :; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13427 $as_echo "not found" >&6; }
13428 cat >>confdefs.h <<_ACEOF
13429 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13430 _ACEOF
13432 else
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13434 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13436 cat >>confdefs.h <<_ACEOF
13437 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13438 _ACEOF
13443 if test "x$with_netapi" != "xno"
13444 then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13446 $as_echo_n "checking for -lnetapi... " >&6; }
13447 if ${ac_cv_lib_soname_netapi+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 ac_check_soname_save_LIBS=$LIBS
13451 LIBS="-lnetapi $LIBS"
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13458 #ifdef __cplusplus
13459 extern "C"
13460 #endif
13461 char libnetapi_init ();
13463 main ()
13465 return libnetapi_init ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"; then :
13471 case "$LIBEXT" in
13472 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_netapi:+false} :; then :
13476 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_netapi:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13487 cat >>confdefs.h <<_ACEOF
13488 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13489 _ACEOF
13491 else
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13493 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13495 cat >>confdefs.h <<_ACEOF
13496 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13497 _ACEOF
13503 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13504 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13505 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13506 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13508 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13509 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13510 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13511 then
13512 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13516 EXTRACFLAGS=""
13518 if test "x${GCC}" = "xyes"
13519 then
13520 EXTRACFLAGS="-Wall -pipe"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13523 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13524 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 if test "$cross_compiling" = yes; then :
13528 ac_cv_c_gcc_strength_bug="yes"
13529 else
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13532 int L[4] = {0,1,2,3};
13534 main ()
13536 static int Array[3];
13537 unsigned int B = 3;
13538 int i;
13539 for(i=0; i<B; i++) Array[i] = i - 3;
13540 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13541 L[i] = 4;
13542 return (Array[1] != -2 || L[2] != 3)
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_run "$LINENO"; then :
13548 ac_cv_c_gcc_strength_bug="no"
13549 else
13550 ac_cv_c_gcc_strength_bug="yes"
13552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13553 conftest.$ac_objext conftest.beam conftest.$ac_ext
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13558 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13559 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13560 then
13561 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13565 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13566 if ${ac_cv_cflags__fno_builtin+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 ac_wine_try_cflags_saved=$CFLAGS
13570 CFLAGS="$CFLAGS -fno-builtin"
13571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 int main(int argc, char **argv) { return 0; }
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 ac_cv_cflags__fno_builtin=yes
13577 else
13578 ac_cv_cflags__fno_builtin=no
13580 rm -f core conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13582 CFLAGS=$ac_wine_try_cflags_saved
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13585 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13586 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13587 BUILTINFLAG="-fno-builtin"
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13591 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13592 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_wine_try_cflags_saved=$CFLAGS
13596 CFLAGS="$CFLAGS -fno-strict-aliasing"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 int main(int argc, char **argv) { return 0; }
13600 _ACEOF
13601 if ac_fn_c_try_link "$LINENO"; then :
13602 ac_cv_cflags__fno_strict_aliasing=yes
13603 else
13604 ac_cv_cflags__fno_strict_aliasing=no
13606 rm -f core conftest.err conftest.$ac_objext \
13607 conftest$ac_exeext conftest.$ac_ext
13608 CFLAGS=$ac_wine_try_cflags_saved
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13611 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13612 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13613 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13615 saved_CFLAGS=$CFLAGS
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13617 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13618 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13619 $as_echo_n "(cached) " >&6
13620 else
13621 ac_wine_try_cflags_saved=$CFLAGS
13622 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13624 /* end confdefs.h. */
13625 int main(int argc, char **argv) { return 0; }
13626 _ACEOF
13627 if ac_fn_c_try_link "$LINENO"; then :
13628 ac_cv_cflags__Werror_unknown_warning_option=yes
13629 else
13630 ac_cv_cflags__Werror_unknown_warning_option=no
13632 rm -f core conftest.err conftest.$ac_objext \
13633 conftest$ac_exeext conftest.$ac_ext
13634 CFLAGS=$ac_wine_try_cflags_saved
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13637 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13638 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13639 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13642 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13643 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_wine_try_cflags_saved=$CFLAGS
13647 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 int main(int argc, char **argv) { return 0; }
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_cv_cflags__Wdeclaration_after_statement=yes
13654 else
13655 ac_cv_cflags__Wdeclaration_after_statement=no
13657 rm -f core conftest.err conftest.$ac_objext \
13658 conftest$ac_exeext conftest.$ac_ext
13659 CFLAGS=$ac_wine_try_cflags_saved
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13662 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13663 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13664 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13667 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13668 if ${ac_cv_cflags__Wempty_body+:} false; then :
13669 $as_echo_n "(cached) " >&6
13670 else
13671 ac_wine_try_cflags_saved=$CFLAGS
13672 CFLAGS="$CFLAGS -Wempty-body"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 int main(int argc, char **argv) { return 0; }
13676 _ACEOF
13677 if ac_fn_c_try_link "$LINENO"; then :
13678 ac_cv_cflags__Wempty_body=yes
13679 else
13680 ac_cv_cflags__Wempty_body=no
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 CFLAGS=$ac_wine_try_cflags_saved
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13687 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13688 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13689 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13692 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13693 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13694 $as_echo_n "(cached) " >&6
13695 else
13696 ac_wine_try_cflags_saved=$CFLAGS
13697 CFLAGS="$CFLAGS -Wignored-qualifiers"
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13700 int main(int argc, char **argv) { return 0; }
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 ac_cv_cflags__Wignored_qualifiers=yes
13704 else
13705 ac_cv_cflags__Wignored_qualifiers=no
13707 rm -f core conftest.err conftest.$ac_objext \
13708 conftest$ac_exeext conftest.$ac_ext
13709 CFLAGS=$ac_wine_try_cflags_saved
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13712 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13713 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13714 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13717 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13718 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 ac_wine_try_cflags_saved=$CFLAGS
13722 CFLAGS="$CFLAGS -Wstrict-prototypes"
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 ac_cv_cflags__Wstrict_prototypes=yes
13729 else
13730 ac_cv_cflags__Wstrict_prototypes=no
13732 rm -f core conftest.err conftest.$ac_objext \
13733 conftest$ac_exeext conftest.$ac_ext
13734 CFLAGS=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13737 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13738 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13739 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13742 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13743 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_wine_try_cflags_saved=$CFLAGS
13747 CFLAGS="$CFLAGS -Wtype-limits"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13750 int main(int argc, char **argv) { return 0; }
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 ac_cv_cflags__Wtype_limits=yes
13754 else
13755 ac_cv_cflags__Wtype_limits=no
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 CFLAGS=$ac_wine_try_cflags_saved
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13762 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13763 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13764 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13767 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13768 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 ac_wine_try_cflags_saved=$CFLAGS
13772 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778 ac_cv_cflags__Wunused_but_set_parameter=yes
13779 else
13780 ac_cv_cflags__Wunused_but_set_parameter=no
13782 rm -f core conftest.err conftest.$ac_objext \
13783 conftest$ac_exeext conftest.$ac_ext
13784 CFLAGS=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13787 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13788 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13789 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13792 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13793 if ${ac_cv_cflags__Wvla+:} false; then :
13794 $as_echo_n "(cached) " >&6
13795 else
13796 ac_wine_try_cflags_saved=$CFLAGS
13797 CFLAGS="$CFLAGS -Wvla"
13798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13799 /* end confdefs.h. */
13800 int main(int argc, char **argv) { return 0; }
13801 _ACEOF
13802 if ac_fn_c_try_link "$LINENO"; then :
13803 ac_cv_cflags__Wvla=yes
13804 else
13805 ac_cv_cflags__Wvla=no
13807 rm -f core conftest.err conftest.$ac_objext \
13808 conftest$ac_exeext conftest.$ac_ext
13809 CFLAGS=$ac_wine_try_cflags_saved
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13812 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13813 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13814 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13817 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13818 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 ac_wine_try_cflags_saved=$CFLAGS
13822 CFLAGS="$CFLAGS -Wwrite-strings"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13825 int main(int argc, char **argv) { return 0; }
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 ac_cv_cflags__Wwrite_strings=yes
13829 else
13830 ac_cv_cflags__Wwrite_strings=no
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 CFLAGS=$ac_wine_try_cflags_saved
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13837 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13838 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13839 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13843 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13844 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_wine_try_cflags_saved=$CFLAGS
13848 CFLAGS="$CFLAGS -Wpointer-arith"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13851 int main(int argc, char **argv) { return 0; }
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 ac_cv_cflags__Wpointer_arith=yes
13855 else
13856 ac_cv_cflags__Wpointer_arith=no
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 CFLAGS=$ac_wine_try_cflags_saved
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13863 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13864 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13865 saved_string_h_CFLAGS=$CFLAGS
13866 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13868 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13869 if ${ac_cv_c_string_h_warnings+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873 /* end confdefs.h. */
13874 #include <string.h>
13876 main ()
13880 return 0;
13882 _ACEOF
13883 if ac_fn_c_try_compile "$LINENO"; then :
13884 ac_cv_c_string_h_warnings=no
13885 else
13886 ac_cv_c_string_h_warnings=yes
13888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13891 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13892 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13893 CFLAGS=$saved_string_h_CFLAGS
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13897 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13898 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_wine_try_cflags_saved=$CFLAGS
13902 CFLAGS="$CFLAGS -Wlogical-op"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13905 int main(int argc, char **argv) { return 0; }
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"; then :
13908 ac_cv_cflags__Wlogical_op=yes
13909 else
13910 ac_cv_cflags__Wlogical_op=no
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 CFLAGS=$ac_wine_try_cflags_saved
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13917 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13918 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13919 saved_string_h_CFLAGS=$CFLAGS
13920 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13922 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13923 if ${ac_cv_c_logicalop_noisy+:} false; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13928 #include <string.h>
13929 char*f(const char *h,char n) {return strchr(h,n);}
13931 main ()
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_compile "$LINENO"; then :
13939 ac_cv_c_logicalop_noisy=no
13940 else
13941 ac_cv_c_logicalop_noisy=yes
13943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13946 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13947 CFLAGS=$saved_string_h_CFLAGS
13948 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13951 CFLAGS=$saved_CFLAGS
13953 for ac_flag in $CFLAGS; do
13954 case $ac_flag in
13955 -g) case $host_os in
13956 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13957 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13958 if ${ac_cv_cflags__gstabsp+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_wine_try_cflags_saved=$CFLAGS
13962 CFLAGS="$CFLAGS -gstabs+"
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13965 int main(int argc, char **argv) { return 0; }
13966 _ACEOF
13967 if ac_fn_c_try_link "$LINENO"; then :
13968 ac_cv_cflags__gstabsp=yes
13969 else
13970 ac_cv_cflags__gstabsp=no
13972 rm -f core conftest.err conftest.$ac_objext \
13973 conftest$ac_exeext conftest.$ac_ext
13974 CFLAGS=$ac_wine_try_cflags_saved
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13977 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13978 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13979 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13980 fi ;;
13981 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13982 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13983 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13984 $as_echo_n "(cached) " >&6
13985 else
13986 ac_wine_try_cflags_saved=$CFLAGS
13987 CFLAGS="$CFLAGS -gdwarf-2"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13990 int main(int argc, char **argv) { return 0; }
13991 _ACEOF
13992 if ac_fn_c_try_link "$LINENO"; then :
13993 ac_cv_cflags__gdwarf_2=yes
13994 else
13995 ac_cv_cflags__gdwarf_2=no
13997 rm -f core conftest.err conftest.$ac_objext \
13998 conftest$ac_exeext conftest.$ac_ext
13999 CFLAGS=$ac_wine_try_cflags_saved
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14002 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14003 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14004 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14007 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14008 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 ac_wine_try_cflags_saved=$CFLAGS
14012 CFLAGS="$CFLAGS -gstrict-dwarf"
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14015 int main(int argc, char **argv) { return 0; }
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 ac_cv_cflags__gstrict_dwarf=yes
14019 else
14020 ac_cv_cflags__gstrict_dwarf=no
14022 rm -f core conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 CFLAGS=$ac_wine_try_cflags_saved
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14027 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14028 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14029 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14030 fi ;;
14031 esac ;;
14032 esac
14033 done
14035 case $host_cpu in
14036 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14037 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14038 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 ac_wine_try_cflags_saved=$CFLAGS
14042 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14045 int main(int argc, char **argv) { return 0; }
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"; then :
14048 ac_cv_cflags__fno_omit_frame_pointer=yes
14049 else
14050 ac_cv_cflags__fno_omit_frame_pointer=no
14052 rm -f core conftest.err conftest.$ac_objext \
14053 conftest$ac_exeext conftest.$ac_ext
14054 CFLAGS=$ac_wine_try_cflags_saved
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14057 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14058 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14059 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14060 fi ;;
14061 esac
14063 case $host in
14064 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14065 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14066 if ${ac_cv_cflags__Wno_format+:} false; then :
14067 $as_echo_n "(cached) " >&6
14068 else
14069 ac_wine_try_cflags_saved=$CFLAGS
14070 CFLAGS="$CFLAGS -Wno-format"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14073 int main(int argc, char **argv) { return 0; }
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"; then :
14076 ac_cv_cflags__Wno_format=yes
14077 else
14078 ac_cv_cflags__Wno_format=no
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 CFLAGS=$ac_wine_try_cflags_saved
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14085 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14086 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14087 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14088 fi ;;
14089 esac
14091 if test "x$enable_maintainer_mode" = "xyes"
14092 then
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14094 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14095 if ${ac_cv_cflags__Werror+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_wine_try_cflags_saved=$CFLAGS
14099 CFLAGS="$CFLAGS -Werror"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14102 int main(int argc, char **argv) { return 0; }
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 ac_cv_cflags__Werror=yes
14106 else
14107 ac_cv_cflags__Werror=no
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 CFLAGS=$ac_wine_try_cflags_saved
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14114 $as_echo "$ac_cv_cflags__Werror" >&6; }
14115 if test "x$ac_cv_cflags__Werror" = xyes; then :
14116 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14120 saved_CFLAGS="$CFLAGS"
14121 CFLAGS="$CFLAGS -Werror"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14123 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14124 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14128 /* end confdefs.h. */
14129 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14131 main ()
14135 return 0;
14137 _ACEOF
14138 if ac_fn_c_try_compile "$LINENO"; then :
14139 ac_cv_have_ms_hook_prologue="yes"
14140 else
14141 ac_cv_have_ms_hook_prologue="no"
14143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14146 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14147 CFLAGS="$saved_CFLAGS"
14148 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14149 then
14151 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14153 else
14154 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14161 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14162 if ${ac_cv_c_fortify_enabled+:} false; then :
14163 $as_echo_n "(cached) " >&6
14164 else
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 #include <string.h>
14169 main ()
14171 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14172 #error Fortify enabled
14173 #endif
14175 return 0;
14177 _ACEOF
14178 if ac_fn_c_try_compile "$LINENO"; then :
14179 ac_cv_c_fortify_enabled=no
14180 else
14181 ac_cv_c_fortify_enabled=yes
14183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14186 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14187 if test "$ac_cv_c_fortify_enabled" = yes
14188 then
14189 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14194 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14195 if ${ac_cv_c_extern_prefix+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14200 extern int ac_test;
14202 main ()
14204 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14206 return 0;
14208 _ACEOF
14209 if ac_fn_c_try_link "$LINENO"; then :
14210 ac_cv_c_extern_prefix="yes"
14211 else
14212 ac_cv_c_extern_prefix="no"
14214 rm -f core conftest.err conftest.$ac_objext \
14215 conftest$ac_exeext conftest.$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14218 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14220 case $host_cpu in
14221 *i[3456789]86*)
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14223 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14224 if ${ac_cv_c_stdcall_suffix+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14228 /* end confdefs.h. */
14229 #ifndef _MSC_VER
14230 #define __stdcall __attribute__((__stdcall__))
14231 #endif
14232 int __stdcall ac_test(int i) { return i; }
14234 main ()
14236 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_c_stdcall_suffix="yes"
14243 else
14244 ac_cv_c_stdcall_suffix="no"
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14250 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14251 *) ac_cv_c_stdcall_suffix="no" ;;
14252 esac
14255 if test "$ac_cv_c_extern_prefix" = "yes"
14256 then
14257 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14259 asm_name_prefix="_"
14260 else
14261 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14263 asm_name_prefix=""
14267 if test "$ac_cv_c_stdcall_suffix" = "yes"
14268 then
14269 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14271 else
14272 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14278 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14279 if ${ac_cv_asm_func_def+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14286 main ()
14288 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_asm_func_def=".def"
14295 else
14296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14300 main ()
14302 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 ac_cv_asm_func_def=".type @function"
14309 else
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14314 main ()
14316 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"; then :
14322 ac_cv_asm_func_def=".type 2"
14323 else
14324 ac_cv_asm_func_def="unknown"
14326 rm -f core conftest.err conftest.$ac_objext \
14327 conftest$ac_exeext conftest.$ac_ext
14329 rm -f core conftest.err conftest.$ac_objext \
14330 conftest$ac_exeext conftest.$ac_ext
14332 rm -f core conftest.err conftest.$ac_objext \
14333 conftest$ac_exeext conftest.$ac_ext
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14336 $as_echo "$ac_cv_asm_func_def" >&6; }
14339 case "$ac_cv_asm_func_def" in
14340 ".def")
14341 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14343 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14344 ".type @function")
14345 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14347 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14348 ".type 2")
14349 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14351 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14353 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14355 asm_func_header="" ;;
14356 esac
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14359 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14360 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 asm(".text\n\t.long 0");
14367 main ()
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_compile "$LINENO"; then :
14375 ac_cv_c_asm_outside_funcs="yes"
14376 else
14377 ac_cv_c_asm_outside_funcs="no"
14379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14382 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14385 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14386 if ${ac_cv_c_dot_previous+:} false; then :
14387 $as_echo_n "(cached) " >&6
14388 else
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14393 main ()
14395 asm(".text\nac_test:\t.long 0\n\t.previous");
14397 return 0;
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_c_dot_previous="yes"
14402 else
14403 ac_cv_c_dot_previous="no"
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14409 $as_echo "$ac_cv_c_dot_previous" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14412 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14413 if ${ac_cv_c_cfi_support+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14420 main ()
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_compile "$LINENO"; then :
14428 ac_cv_c_cfi_support="yes"
14429 else
14430 ac_cv_c_cfi_support="no"
14432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14435 $as_echo "$ac_cv_c_cfi_support" >&6; }
14437 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14438 asm_func_trailer=""
14439 if test "$ac_cv_c_dot_previous" = "yes"
14440 then
14441 asm_func_trailer="\\n\\t.previous"
14443 if test "$ac_cv_c_cfi_support" = "yes"
14444 then
14445 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14446 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14448 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14450 UNWINDFLAGS=-fasynchronous-unwind-tables
14452 else
14453 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14457 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14460 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14461 then
14462 cat >>confdefs.h <<_ACEOF
14463 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14464 _ACEOF
14466 else
14467 cat >>confdefs.h <<_ACEOF
14468 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14469 _ACEOF
14473 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14476 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14480 case $build_os in
14481 cygwin*|mingw32*) TOOLSEXT=".exe"
14483 esac
14485 case $host_os in
14486 linux*)
14487 case $host_cpu in
14488 *i[3456789]86*|x86_64*)
14489 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14490 loader_programs="$loader_programs $wine_binary-preloader"
14491 as_fn_append LOADER_RULES "
14492 $wine_binary-preloader: preloader.o
14493 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14495 install install-lib:: $wine_binary-preloader
14496 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14498 uninstall::
14499 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14501 preloader_EXTRADEFS = $BUILTINFLAG
14502 " ;;
14503 esac
14505 esac
14506 as_fn_append LOADER_RULES "
14507 PROGRAMS = $loader_programs
14511 ac_save_CFLAGS="$CFLAGS"
14512 CFLAGS="$CFLAGS $BUILTINFLAG"
14513 for ac_func in \
14514 __res_get_state \
14515 __res_getservers \
14516 _finite \
14517 _isnan \
14518 _pclose \
14519 _popen \
14520 _snprintf \
14521 _spawnvp \
14522 _strdup \
14523 _stricmp \
14524 _strnicmp \
14525 _strtoi64 \
14526 _strtoui64 \
14527 _vsnprintf \
14528 asctime_r \
14529 chsize \
14530 dlopen \
14531 epoll_create \
14532 ffs \
14533 fnmatch \
14534 fork \
14535 fpclass \
14536 fstatfs \
14537 fstatvfs \
14538 ftruncate \
14539 futimens \
14540 futimes \
14541 futimesat \
14542 getattrlist \
14543 getdirentries \
14544 getopt_long_only \
14545 getpwuid \
14546 gettimeofday \
14547 getuid \
14548 if_nameindex \
14549 kqueue \
14550 lstat \
14551 memmove \
14552 mmap \
14553 pclose \
14554 pipe2 \
14555 poll \
14556 popen \
14557 port_create \
14558 prctl \
14559 pread \
14560 proc_pidinfo \
14561 pwrite \
14562 readdir \
14563 readlink \
14564 sched_yield \
14565 select \
14566 setproctitle \
14567 setrlimit \
14568 settimeofday \
14569 sigaltstack \
14570 sigprocmask \
14571 snprintf \
14572 statfs \
14573 statvfs \
14574 strcasecmp \
14575 strdup \
14576 strerror \
14577 strncasecmp \
14578 strtold \
14579 strtoll \
14580 strtoull \
14581 symlink \
14582 tcdrain \
14583 thr_kill2 \
14584 timegm \
14585 usleep \
14586 vsnprintf
14588 do :
14589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14592 cat >>confdefs.h <<_ACEOF
14593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14594 _ACEOF
14597 done
14599 CFLAGS="$ac_save_CFLAGS"
14601 if test "$ac_cv_func_dlopen" = no
14602 then
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14604 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14605 if ${ac_cv_lib_dl_dlopen+:} false; then :
14606 $as_echo_n "(cached) " >&6
14607 else
14608 ac_check_lib_save_LIBS=$LIBS
14609 LIBS="-ldl $LIBS"
14610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14613 /* Override any GCC internal prototype to avoid an error.
14614 Use char because int might match the return type of a GCC
14615 builtin and then its argument prototype would still apply. */
14616 #ifdef __cplusplus
14617 extern "C"
14618 #endif
14619 char dlopen ();
14621 main ()
14623 return dlopen ();
14625 return 0;
14627 _ACEOF
14628 if ac_fn_c_try_link "$LINENO"; then :
14629 ac_cv_lib_dl_dlopen=yes
14630 else
14631 ac_cv_lib_dl_dlopen=no
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 LIBS=$ac_check_lib_save_LIBS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14639 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14640 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14641 DL_LIBS="-ldl"
14646 ac_wine_check_funcs_save_LIBS="$LIBS"
14647 LIBS="$LIBS $DL_LIBS"
14648 for ac_func in dladdr
14649 do :
14650 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14651 if test "x$ac_cv_func_dladdr" = xyes; then :
14652 cat >>confdefs.h <<_ACEOF
14653 #define HAVE_DLADDR 1
14654 _ACEOF
14657 done
14659 LIBS="$ac_wine_check_funcs_save_LIBS"
14661 if test "$ac_cv_func_poll" = no
14662 then
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14664 $as_echo_n "checking for poll in -lpoll... " >&6; }
14665 if ${ac_cv_lib_poll_poll+:} false; then :
14666 $as_echo_n "(cached) " >&6
14667 else
14668 ac_check_lib_save_LIBS=$LIBS
14669 LIBS="-lpoll $LIBS"
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14673 /* Override any GCC internal prototype to avoid an error.
14674 Use char because int might match the return type of a GCC
14675 builtin and then its argument prototype would still apply. */
14676 #ifdef __cplusplus
14677 extern "C"
14678 #endif
14679 char poll ();
14681 main ()
14683 return poll ();
14685 return 0;
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"; then :
14689 ac_cv_lib_poll_poll=yes
14690 else
14691 ac_cv_lib_poll_poll=no
14693 rm -f core conftest.err conftest.$ac_objext \
14694 conftest$ac_exeext conftest.$ac_ext
14695 LIBS=$ac_check_lib_save_LIBS
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14698 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14699 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14700 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14701 POLL_LIBS="-lpoll"
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14708 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14709 if ${ac_cv_search_gethostbyname+:} false; then :
14710 $as_echo_n "(cached) " >&6
14711 else
14712 ac_func_search_save_LIBS=$LIBS
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 #ifdef __cplusplus
14720 extern "C"
14721 #endif
14722 char gethostbyname ();
14724 main ()
14726 return gethostbyname ();
14728 return 0;
14730 _ACEOF
14731 for ac_lib in '' nsl; do
14732 if test -z "$ac_lib"; then
14733 ac_res="none required"
14734 else
14735 ac_res=-l$ac_lib
14736 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_search_gethostbyname=$ac_res
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext
14743 if ${ac_cv_search_gethostbyname+:} false; then :
14744 break
14746 done
14747 if ${ac_cv_search_gethostbyname+:} false; then :
14749 else
14750 ac_cv_search_gethostbyname=no
14752 rm conftest.$ac_ext
14753 LIBS=$ac_func_search_save_LIBS
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14756 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14757 ac_res=$ac_cv_search_gethostbyname
14758 if test "$ac_res" != no; then :
14759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14765 $as_echo_n "checking for library containing connect... " >&6; }
14766 if ${ac_cv_search_connect+:} false; then :
14767 $as_echo_n "(cached) " >&6
14768 else
14769 ac_func_search_save_LIBS=$LIBS
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14773 /* Override any GCC internal prototype to avoid an error.
14774 Use char because int might match the return type of a GCC
14775 builtin and then its argument prototype would still apply. */
14776 #ifdef __cplusplus
14777 extern "C"
14778 #endif
14779 char connect ();
14781 main ()
14783 return connect ();
14785 return 0;
14787 _ACEOF
14788 for ac_lib in '' socket; do
14789 if test -z "$ac_lib"; then
14790 ac_res="none required"
14791 else
14792 ac_res=-l$ac_lib
14793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_search_connect=$ac_res
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext
14800 if ${ac_cv_search_connect+:} false; then :
14801 break
14803 done
14804 if ${ac_cv_search_connect+:} false; then :
14806 else
14807 ac_cv_search_connect=no
14809 rm conftest.$ac_ext
14810 LIBS=$ac_func_search_save_LIBS
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14813 $as_echo "$ac_cv_search_connect" >&6; }
14814 ac_res=$ac_cv_search_connect
14815 if test "$ac_res" != no; then :
14816 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14822 $as_echo_n "checking for library containing inet_aton... " >&6; }
14823 if ${ac_cv_search_inet_aton+:} false; then :
14824 $as_echo_n "(cached) " >&6
14825 else
14826 ac_func_search_save_LIBS=$LIBS
14827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14828 /* end confdefs.h. */
14830 /* Override any GCC internal prototype to avoid an error.
14831 Use char because int might match the return type of a GCC
14832 builtin and then its argument prototype would still apply. */
14833 #ifdef __cplusplus
14834 extern "C"
14835 #endif
14836 char inet_aton ();
14838 main ()
14840 return inet_aton ();
14842 return 0;
14844 _ACEOF
14845 for ac_lib in '' resolv; do
14846 if test -z "$ac_lib"; then
14847 ac_res="none required"
14848 else
14849 ac_res=-l$ac_lib
14850 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_search_inet_aton=$ac_res
14855 rm -f core conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext
14857 if ${ac_cv_search_inet_aton+:} false; then :
14858 break
14860 done
14861 if ${ac_cv_search_inet_aton+:} false; then :
14863 else
14864 ac_cv_search_inet_aton=no
14866 rm conftest.$ac_ext
14867 LIBS=$ac_func_search_save_LIBS
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14870 $as_echo "$ac_cv_search_inet_aton" >&6; }
14871 ac_res=$ac_cv_search_inet_aton
14872 if test "$ac_res" != no; then :
14873 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14878 for ac_func in \
14879 getaddrinfo \
14880 getnameinfo \
14881 getnetbyname \
14882 getprotobyname \
14883 getprotobynumber \
14884 getservbyport \
14885 inet_addr \
14886 inet_network \
14887 inet_ntop \
14888 inet_pton \
14889 sendmsg \
14890 socketpair \
14892 do :
14893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14895 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14896 cat >>confdefs.h <<_ACEOF
14897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14898 _ACEOF
14901 done
14904 ac_save_LIBS=$LIBS
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14906 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14907 if ${ac_cv_search_clock_gettime+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 ac_func_search_save_LIBS=$LIBS
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 #ifdef __cplusplus
14918 extern "C"
14919 #endif
14920 char clock_gettime ();
14922 main ()
14924 return clock_gettime ();
14926 return 0;
14928 _ACEOF
14929 for ac_lib in '' rt; do
14930 if test -z "$ac_lib"; then
14931 ac_res="none required"
14932 else
14933 ac_res=-l$ac_lib
14934 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14936 if ac_fn_c_try_link "$LINENO"; then :
14937 ac_cv_search_clock_gettime=$ac_res
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext
14941 if ${ac_cv_search_clock_gettime+:} false; then :
14942 break
14944 done
14945 if ${ac_cv_search_clock_gettime+:} false; then :
14947 else
14948 ac_cv_search_clock_gettime=no
14950 rm conftest.$ac_ext
14951 LIBS=$ac_func_search_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14954 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14955 ac_res=$ac_cv_search_clock_gettime
14956 if test "$ac_res" != no; then :
14957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14959 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14961 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14965 LIBS=$ac_save_LIBS
14967 LDAP_LIBS=""
14969 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14970 then
14971 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14973 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14975 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14976 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 ac_check_lib_save_LIBS=$LIBS
14980 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14984 /* Override any GCC internal prototype to avoid an error.
14985 Use char because int might match the return type of a GCC
14986 builtin and then its argument prototype would still apply. */
14987 #ifdef __cplusplus
14988 extern "C"
14989 #endif
14990 char ldap_initialize ();
14992 main ()
14994 return ldap_initialize ();
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 ac_cv_lib_ldap_r_ldap_initialize=yes
15001 else
15002 ac_cv_lib_ldap_r_ldap_initialize=no
15004 rm -f core conftest.err conftest.$ac_objext \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_check_lib_save_LIBS
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15009 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15010 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15012 $as_echo_n "checking for ber_init in -llber... " >&6; }
15013 if ${ac_cv_lib_lber_ber_init+:} false; then :
15014 $as_echo_n "(cached) " >&6
15015 else
15016 ac_check_lib_save_LIBS=$LIBS
15017 LIBS="-llber $PTHREAD_LIBS $LIBS"
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 #ifdef __cplusplus
15025 extern "C"
15026 #endif
15027 char ber_init ();
15029 main ()
15031 return ber_init ();
15033 return 0;
15035 _ACEOF
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 ac_cv_lib_lber_ber_init=yes
15038 else
15039 ac_cv_lib_lber_ber_init=no
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
15043 LIBS=$ac_check_lib_save_LIBS
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15046 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15047 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15049 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15051 LDAP_LIBS="-lldap_r -llber"
15058 ac_wine_check_funcs_save_LIBS="$LIBS"
15059 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15060 for ac_func in \
15061 ldap_count_references \
15062 ldap_first_reference \
15063 ldap_next_reference \
15064 ldap_parse_reference \
15065 ldap_parse_sort_control \
15066 ldap_parse_sortresponse_control \
15067 ldap_parse_vlv_control \
15068 ldap_parse_vlvresponse_control
15069 do :
15070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15075 _ACEOF
15078 done
15080 LIBS="$ac_wine_check_funcs_save_LIBS"
15082 if test "x$LDAP_LIBS" = "x"; then :
15083 case "x$with_ldap" in
15084 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15085 xno) ;;
15086 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15087 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15088 esac
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15092 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15093 if ${wine_cv_one_arg_mkdir+:} false; then :
15094 $as_echo_n "(cached) " >&6
15095 else
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <sys/stat.h>
15100 main ()
15102 mkdir("foo");
15104 return 0;
15106 _ACEOF
15107 if ac_fn_c_try_compile "$LINENO"; then :
15108 wine_cv_one_arg_mkdir=yes
15109 else
15110 wine_cv_one_arg_mkdir=no
15112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15115 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15116 if test "$wine_cv_one_arg_mkdir" = "yes"
15117 then
15119 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15124 $as_echo_n "checking for sched_setaffinity... " >&6; }
15125 if ${wine_cv_have_sched_setaffinity+:} false; then :
15126 $as_echo_n "(cached) " >&6
15127 else
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 #define _GNU_SOURCE
15131 #include <sched.h>
15133 main ()
15135 sched_setaffinity(0, 0, 0);
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 wine_cv_have_sched_setaffinity=yes
15142 else
15143 wine_cv_have_sched_setaffinity=no
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15149 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15150 if test "$wine_cv_have_sched_setaffinity" = "yes"
15151 then
15153 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15158 $as_echo_n "checking for fallocate... " >&6; }
15159 if ${wine_cv_have_fallocate+:} false; then :
15160 $as_echo_n "(cached) " >&6
15161 else
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164 #define _GNU_SOURCE
15165 #include <fcntl.h>
15167 main ()
15169 fallocate(-1, 0, 0, 0);
15171 return 0;
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 wine_cv_have_fallocate=yes
15176 else
15177 wine_cv_have_fallocate=no
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15183 $as_echo "$wine_cv_have_fallocate" >&6; }
15184 if test "$wine_cv_have_fallocate" = "yes"
15185 then
15187 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15193 $as_echo_n "checking for inline... " >&6; }
15194 if ${ac_cv_c_inline+:} false; then :
15195 $as_echo_n "(cached) " >&6
15196 else
15197 ac_cv_c_inline=no
15198 for ac_kw in inline __inline__ __inline; do
15199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15200 /* end confdefs.h. */
15201 #ifndef __cplusplus
15202 typedef int foo_t;
15203 static $ac_kw foo_t static_foo () {return 0; }
15204 $ac_kw foo_t foo () {return 0; }
15205 #endif
15207 _ACEOF
15208 if ac_fn_c_try_compile "$LINENO"; then :
15209 ac_cv_c_inline=$ac_kw
15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15212 test "$ac_cv_c_inline" != no && break
15213 done
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15217 $as_echo "$ac_cv_c_inline" >&6; }
15219 case $ac_cv_c_inline in
15220 inline | yes) ;;
15222 case $ac_cv_c_inline in
15223 no) ac_val=;;
15224 *) ac_val=$ac_cv_c_inline;;
15225 esac
15226 cat >>confdefs.h <<_ACEOF
15227 #ifndef __cplusplus
15228 #define inline $ac_val
15229 #endif
15230 _ACEOF
15232 esac
15234 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15235 if test "x$ac_cv_type_mode_t" = xyes; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define HAVE_MODE_T 1
15239 _ACEOF
15243 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15244 if test "x$ac_cv_type_off_t" = xyes; then :
15246 cat >>confdefs.h <<_ACEOF
15247 #define HAVE_OFF_T 1
15248 _ACEOF
15252 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15253 if test "x$ac_cv_type_pid_t" = xyes; then :
15255 cat >>confdefs.h <<_ACEOF
15256 #define HAVE_PID_T 1
15257 _ACEOF
15261 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15262 if test "x$ac_cv_type_size_t" = xyes; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define HAVE_SIZE_T 1
15266 _ACEOF
15270 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15271 if test "x$ac_cv_type_ssize_t" = xyes; then :
15273 cat >>confdefs.h <<_ACEOF
15274 #define HAVE_SSIZE_T 1
15275 _ACEOF
15279 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15280 if test "x$ac_cv_type_long_long" = xyes; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define HAVE_LONG_LONG 1
15284 _ACEOF
15288 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15289 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15291 cat >>confdefs.h <<_ACEOF
15292 #define HAVE_FSBLKCNT_T 1
15293 _ACEOF
15297 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15298 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15300 cat >>confdefs.h <<_ACEOF
15301 #define HAVE_FSFILCNT_T 1
15302 _ACEOF
15307 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15308 #include <signal.h>
15310 if test "x$ac_cv_type_sigset_t" = xyes; then :
15312 cat >>confdefs.h <<_ACEOF
15313 #define HAVE_SIGSET_T 1
15314 _ACEOF
15319 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15321 if test "x$ac_cv_type_request_sense" = xyes; then :
15323 cat >>confdefs.h <<_ACEOF
15324 #define HAVE_REQUEST_SENSE 1
15325 _ACEOF
15331 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15332 #ifdef HAVE_SYS_SOCKET_H
15333 #include <sys/socket.h>
15334 #endif
15335 #ifdef HAVE_SYS_SOCKETVAR_H
15336 #include <sys/socketvar.h>
15337 #endif
15338 #ifdef HAVE_NET_ROUTE_H
15339 #include <net/route.h>
15340 #endif
15341 #ifdef HAVE_NETINET_IN_H
15342 #include <netinet/in.h>
15343 #endif
15344 #ifdef HAVE_NETINET_IN_SYSTM_H
15345 #include <netinet/in_systm.h>
15346 #endif
15347 #ifdef HAVE_NETINET_IP_H
15348 #include <netinet/ip.h>
15349 #endif
15350 #ifdef HAVE_NETINET_IN_PCB_H
15351 #include <netinet/in_pcb.h>
15352 #endif
15354 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15356 cat >>confdefs.h <<_ACEOF
15357 #define HAVE_STRUCT_XINPGEN 1
15358 _ACEOF
15364 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15365 #include <link.h>
15366 #endif
15367 #ifdef HAVE_SYS_LINK_H
15368 #include <sys/link.h>
15369 #endif
15371 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15373 cat >>confdefs.h <<_ACEOF
15374 #define HAVE_STRUCT_R_DEBUG 1
15375 _ACEOF
15379 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15380 #include <link.h>
15381 #endif
15382 #ifdef HAVE_SYS_LINK_H
15383 #include <sys/link.h>
15384 #endif
15386 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15388 cat >>confdefs.h <<_ACEOF
15389 #define HAVE_STRUCT_LINK_MAP 1
15390 _ACEOF
15396 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15397 #include <linux/input.h>
15398 #endif
15400 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15402 cat >>confdefs.h <<_ACEOF
15403 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15404 _ACEOF
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15411 $as_echo_n "checking for sigaddset... " >&6; }
15412 if ${wine_cv_have_sigaddset+:} false; then :
15413 $as_echo_n "(cached) " >&6
15414 else
15415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15416 /* end confdefs.h. */
15417 #include <signal.h>
15419 main ()
15421 sigset_t set; sigaddset(&set,SIGTERM);
15423 return 0;
15425 _ACEOF
15426 if ac_fn_c_try_link "$LINENO"; then :
15427 wine_cv_have_sigaddset=yes
15428 else
15429 wine_cv_have_sigaddset=no
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15435 $as_echo "$wine_cv_have_sigaddset" >&6; }
15436 if test "$wine_cv_have_sigaddset" = "yes"
15437 then
15439 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15445 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15446 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15447 $as_echo_n "(cached) " >&6
15448 else
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <netdb.h>
15453 main ()
15456 char *name=0;
15457 struct hostent he;
15458 struct hostent *result;
15459 char *buf=0;
15460 int bufsize=0;
15461 int errnr;
15462 char *addr=0;
15463 int addrlen=0;
15464 int addrtype=0;
15465 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15466 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 wine_cv_linux_gethostbyname_r_6=yes
15474 else
15475 wine_cv_linux_gethostbyname_r_6=no
15478 rm -f core conftest.err conftest.$ac_objext \
15479 conftest$ac_exeext conftest.$ac_ext
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15483 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15484 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15485 then
15487 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15491 if test "$ac_cv_header_linux_joystick_h" = "yes"
15492 then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15494 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15495 if ${wine_cv_linux_joystick_22_api+:} false; then :
15496 $as_echo_n "(cached) " >&6
15497 else
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15501 #include <sys/ioctl.h>
15502 #include <sys/types.h>
15503 #include <linux/joystick.h>
15505 struct js_event blub;
15506 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15507 #error "no 2.2 header"
15508 #endif
15511 main ()
15513 /*empty*/
15515 return 0;
15517 _ACEOF
15518 if ac_fn_c_try_compile "$LINENO"; then :
15519 wine_cv_linux_joystick_22_api=yes
15520 else
15521 wine_cv_linux_joystick_22_api=no
15523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15527 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15528 if test "$wine_cv_linux_joystick_22_api" = "yes"
15529 then
15531 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15537 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15538 #ifdef HAVE_SYS_PARAM_H
15539 # include <sys/param.h>
15540 #endif
15541 #ifdef HAVE_SYS_MOUNT_H
15542 # include <sys/mount.h>
15543 #endif
15544 #ifdef HAVE_SYS_VFS_H
15545 # include <sys/vfs.h>
15546 #endif
15547 #ifdef HAVE_SYS_STATFS_H
15548 # include <sys/statfs.h>
15549 #endif
15551 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15553 cat >>confdefs.h <<_ACEOF
15554 #define HAVE_STRUCT_STATFS_F_BFREE 1
15555 _ACEOF
15559 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15560 #ifdef HAVE_SYS_PARAM_H
15561 # include <sys/param.h>
15562 #endif
15563 #ifdef HAVE_SYS_MOUNT_H
15564 # include <sys/mount.h>
15565 #endif
15566 #ifdef HAVE_SYS_VFS_H
15567 # include <sys/vfs.h>
15568 #endif
15569 #ifdef HAVE_SYS_STATFS_H
15570 # include <sys/statfs.h>
15571 #endif
15573 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15577 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15584 #endif
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15587 #endif
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15590 #endif
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15593 #endif
15595 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15599 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15606 #endif
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15609 #endif
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15612 #endif
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15615 #endif
15617 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_FFREE 1
15621 _ACEOF
15625 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15628 #endif
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15631 #endif
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15634 #endif
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15637 #endif
15639 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15643 _ACEOF
15647 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15650 #endif
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15653 #endif
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15656 #endif
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15665 _ACEOF
15671 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15672 #include <sys/statvfs.h>
15673 #endif
15675 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15679 _ACEOF
15685 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15686 #include <dirent.h>
15687 #endif
15689 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15691 cat >>confdefs.h <<_ACEOF
15692 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15693 _ACEOF
15699 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15700 #ifdef HAVE_SYS_SOCKET_H
15701 # include <sys/socket.h>
15702 #endif
15703 #ifdef HAVE_SYS_UN_H
15704 # include <sys/un.h>
15705 #endif
15707 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15711 _ACEOF
15715 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15716 #ifdef HAVE_SYS_SOCKET_H
15717 # include <sys/socket.h>
15718 #endif
15719 #ifdef HAVE_SYS_UN_H
15720 # include <sys/un.h>
15721 #endif
15723 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15725 cat >>confdefs.h <<_ACEOF
15726 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15727 _ACEOF
15731 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15732 #ifdef HAVE_SYS_SOCKET_H
15733 # include <sys/socket.h>
15734 #endif
15735 #ifdef HAVE_SYS_UN_H
15736 # include <sys/un.h>
15737 #endif
15739 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15741 cat >>confdefs.h <<_ACEOF
15742 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15743 _ACEOF
15749 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15750 #ifdef HAVE_SCSI_SG_H
15751 #include <scsi/sg.h>
15752 #endif
15754 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_SCSIREQ_T_CMD 1
15758 _ACEOF
15762 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>
15763 #ifdef HAVE_SCSI_SG_H
15764 #include <scsi/sg.h>
15765 #endif
15767 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15771 _ACEOF
15777 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15779 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define HAVE_SIGINFO_T_SI_FD 1
15783 _ACEOF
15789 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15790 #ifdef HAVE_SYS_MTIO_H
15791 #include <sys/mtio.h>
15792 #endif
15794 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15798 _ACEOF
15802 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15803 #ifdef HAVE_SYS_MTIO_H
15804 #include <sys/mtio.h>
15805 #endif
15807 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15811 _ACEOF
15815 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15816 #ifdef HAVE_SYS_MTIO_H
15817 #include <sys/mtio.h>
15818 #endif
15820 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15822 cat >>confdefs.h <<_ACEOF
15823 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15824 _ACEOF
15830 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15831 #include <getopt.h>
15832 #endif
15834 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_OPTION_NAME 1
15838 _ACEOF
15844 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15845 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15847 cat >>confdefs.h <<_ACEOF
15848 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15849 _ACEOF
15853 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15854 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_STAT_ST_MTIM 1
15858 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15863 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15867 _ACEOF
15871 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15872 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_STRUCT_STAT_ST_CTIM 1
15876 _ACEOF
15880 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15881 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15885 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15890 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_STRUCT_STAT_ST_ATIM 1
15894 _ACEOF
15898 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15899 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15908 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15912 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15917 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15921 _ACEOF
15925 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15926 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15930 _ACEOF
15934 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15935 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15939 _ACEOF
15943 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15944 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15948 _ACEOF
15954 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
15955 #include <sys/types.h>
15956 #endif
15957 #ifdef HAVE_NETINET_IN_H
15958 #include <netinet/in.h>
15959 #endif
15961 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15965 _ACEOF
15971 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15972 #include <resolv.h>
15973 #endif
15975 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_STRUCT___RES_STATE 1
15979 _ACEOF
15985 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
15986 #include <resolv.h>
15987 #endif
15989 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15991 cat >>confdefs.h <<_ACEOF
15992 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15993 _ACEOF
15999 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16000 #include <sys/types.h>
16001 #endif
16002 #ifdef HAVE_NETINET_IN_H
16003 # include <netinet/in.h>
16004 #endif
16005 #ifdef HAVE_ARPA_NAMESER_H
16006 # include <arpa/nameser.h>
16007 #endif
16009 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_NS_MSG__MSG_PTR 1
16013 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16020 #include <sys/types.h>
16021 #endif
16022 #ifdef HAVE_NETINET_IP_H
16023 #include <netinet/ip.h>
16024 #endif
16025 #ifdef HAVE_NETINET_IP_ICMP_H
16026 #include <netinet/ip_icmp.h>
16027 #endif
16028 #ifdef HAVE_NETINET_ICMP_VAR_H
16029 #include <netinet/icmp_var.h>
16030 #endif
16032 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16034 cat >>confdefs.h <<_ACEOF
16035 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16036 _ACEOF
16042 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16043 #include <sys/types.h>
16044 #endif
16045 #ifdef HAVE_ALIAS_H
16046 #include <alias.h>
16047 #endif
16048 #ifdef HAVE_SYS_SOCKET_H
16049 #include <sys/socket.h>
16050 #endif
16051 #ifdef HAVE_SYS_SOCKETVAR_H
16052 #include <sys/socketvar.h>
16053 #endif
16054 #ifdef HAVE_SYS_TIMEOUT_H
16055 #include <sys/timeout.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IN_H
16058 #include <netinet/in.h>
16059 #endif
16060 #ifdef HAVE_NETINET_IN_SYSTM_H
16061 #include <netinet/in_systm.h>
16062 #endif
16063 #ifdef HAVE_NETINET_IP_H
16064 #include <netinet/ip.h>
16065 #endif
16066 #ifdef HAVE_NETINET_IP_VAR_H
16067 #include <netinet/ip_var.h>
16068 #endif
16069 #ifdef HAVE_NETINET_IP_ICMP_H
16070 #include <netinet/ip_icmp.h>
16071 #endif
16072 #ifdef HAVE_NETINET_ICMP_VAR_H
16073 #include <netinet/icmp_var.h>
16074 #endif
16076 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16080 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16087 #include <sys/types.h>
16088 #endif
16089 #ifdef HAVE_SYS_SOCKETVAR_H
16090 #include <sys/socketvar.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IN_H
16093 #include <netinet/in.h>
16094 #endif
16095 #ifdef HAVE_NETINET_IP_VAR_H
16096 #include <netinet/ip_var.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16103 _ACEOF
16109 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
16110 #include <netinet/ip_var.h>
16111 #endif
16113 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16117 _ACEOF
16123 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16124 #include <sys/types.h>
16125 #endif
16126 #ifdef HAVE_SYS_SOCKETVAR_H
16127 #include <sys/socketvar.h>
16128 #endif
16129 #ifdef HAVE_NETINET_IN_H
16130 #include <netinet/in.h>
16131 #endif
16132 #ifdef HAVE_NETINET_TCP_H
16133 #include <netinet/tcp.h>
16134 #endif
16135 #ifdef HAVE_NETINET_TCP_VAR_H
16136 #include <netinet/tcp_var.h>
16137 #endif
16139 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16143 _ACEOF
16149 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
16150 #include <netinet/tcp_var.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16157 _ACEOF
16163 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16164 #include <sys/types.h>
16165 #endif
16166 #ifdef HAVE_NETINET_IN_H
16167 #include <netinet/in.h>
16168 #endif
16169 #ifdef HAVE_NETINET_IP_VAR_H
16170 #include <netinet/ip_var.h>
16171 #endif
16172 #ifdef HAVE_NETINET_UDP_H
16173 #include <netinet/udp.h>
16174 #endif
16175 #ifdef HAVE_NETINET_UDP_VAR_H
16176 #include <netinet/udp_var.h>
16177 #endif
16179 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16183 _ACEOF
16189 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16190 #include <sys/types.h>
16191 #endif
16192 #ifdef HAVE_NET_IF_H
16193 # include <net/if.h>
16194 #endif
16196 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16200 _ACEOF
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16207 $as_echo_n "checking for timezone variable... " >&6; }
16208 if ${ac_cv_have_timezone+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16213 #include <time.h>
16215 main ()
16217 timezone = 1
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 ac_cv_have_timezone="yes"
16224 else
16225 ac_cv_have_timezone="no"
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16231 $as_echo "$ac_cv_have_timezone" >&6; }
16232 if test "$ac_cv_have_timezone" = "yes"
16233 then
16235 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16239 $as_echo_n "checking for daylight variable... " >&6; }
16240 if ${ac_cv_have_daylight+:} false; then :
16241 $as_echo_n "(cached) " >&6
16242 else
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h. */
16245 #include <time.h>
16247 main ()
16249 daylight = 1
16251 return 0;
16253 _ACEOF
16254 if ac_fn_c_try_link "$LINENO"; then :
16255 ac_cv_have_daylight="yes"
16256 else
16257 ac_cv_have_daylight="no"
16259 rm -f core conftest.err conftest.$ac_objext \
16260 conftest$ac_exeext conftest.$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16263 $as_echo "$ac_cv_have_daylight" >&6; }
16264 if test "$ac_cv_have_daylight" = "yes"
16265 then
16267 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16271 ac_save_LIBS="$LIBS"
16272 LIBS="$LIBS -lm"
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16274 $as_echo_n "checking for isfinite... " >&6; }
16275 if ${ac_cv_have_isfinite+:} false; then :
16276 $as_echo_n "(cached) " >&6
16277 else
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16280 #define _GNU_SOURCE
16281 #include <math.h>
16283 main ()
16285 float f = 0.0; return isfinite(f)
16287 return 0;
16289 _ACEOF
16290 if ac_fn_c_try_link "$LINENO"; then :
16291 ac_cv_have_isfinite="yes"
16292 else
16293 ac_cv_have_isfinite="no"
16295 rm -f core conftest.err conftest.$ac_objext \
16296 conftest$ac_exeext conftest.$ac_ext
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16299 $as_echo "$ac_cv_have_isfinite" >&6; }
16300 if test "$ac_cv_have_isfinite" = "yes"
16301 then
16303 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16307 ac_save_LIBS="$LIBS"
16308 LIBS="$LIBS -lm"
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16310 $as_echo_n "checking for isinf... " >&6; }
16311 if ${ac_cv_have_isinf+:} false; then :
16312 $as_echo_n "(cached) " >&6
16313 else
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16316 #include <math.h>
16318 main ()
16320 float f = 0.0; return isinf(f)
16322 return 0;
16324 _ACEOF
16325 if ac_fn_c_try_link "$LINENO"; then :
16326 ac_cv_have_isinf="yes"
16327 else
16328 ac_cv_have_isinf="no"
16330 rm -f core conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16334 $as_echo "$ac_cv_have_isinf" >&6; }
16335 if test "$ac_cv_have_isinf" = "yes"
16336 then
16338 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16343 $as_echo_n "checking for isnan... " >&6; }
16344 if ${ac_cv_have_isnan+:} false; then :
16345 $as_echo_n "(cached) " >&6
16346 else
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16349 #include <math.h>
16351 main ()
16353 float f = 0.0; return isnan(f)
16355 return 0;
16357 _ACEOF
16358 if ac_fn_c_try_link "$LINENO"; then :
16359 ac_cv_have_isnan="yes"
16360 else
16361 ac_cv_have_isnan="no"
16363 rm -f core conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16367 $as_echo "$ac_cv_have_isnan" >&6; }
16368 if test "$ac_cv_have_isnan" = "yes"
16369 then
16371 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16374 LIBS="$ac_save_LIBS"
16377 case $host_cpu in
16378 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16379 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16380 if ${ac_cv_cpp_def___i386__+:} false; then :
16381 $as_echo_n "(cached) " >&6
16382 else
16383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16384 /* end confdefs.h. */
16385 #ifndef __i386__
16387 #endif
16388 _ACEOF
16389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16390 $EGREP "yes" >/dev/null 2>&1; then :
16391 ac_cv_cpp_def___i386__=yes
16392 else
16393 ac_cv_cpp_def___i386__=no
16395 rm -f conftest*
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16399 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16400 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16401 CFLAGS="$CFLAGS -D__i386__"
16402 LINTFLAGS="$LINTFLAGS -D__i386__"
16403 fi ;;
16404 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16405 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16406 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16407 $as_echo_n "(cached) " >&6
16408 else
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16411 #ifndef __x86_64__
16413 #endif
16414 _ACEOF
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "yes" >/dev/null 2>&1; then :
16417 ac_cv_cpp_def___x86_64__=yes
16418 else
16419 ac_cv_cpp_def___x86_64__=no
16421 rm -f conftest*
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16425 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16426 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16427 CFLAGS="$CFLAGS -D__x86_64__"
16428 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16429 fi ;;
16430 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16431 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16432 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #ifndef __sparc64__
16439 #endif
16440 _ACEOF
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 $EGREP "yes" >/dev/null 2>&1; then :
16443 ac_cv_cpp_def___sparc64__=yes
16444 else
16445 ac_cv_cpp_def___sparc64__=no
16447 rm -f conftest*
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16451 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16452 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16453 CFLAGS="$CFLAGS -D__sparc64__"
16454 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16455 fi ;;
16456 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16457 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16458 if ${ac_cv_cpp_def___sparc__+:} false; then :
16459 $as_echo_n "(cached) " >&6
16460 else
16461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16462 /* end confdefs.h. */
16463 #ifndef __sparc__
16465 #endif
16466 _ACEOF
16467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16468 $EGREP "yes" >/dev/null 2>&1; then :
16469 ac_cv_cpp_def___sparc__=yes
16470 else
16471 ac_cv_cpp_def___sparc__=no
16473 rm -f conftest*
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16477 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16478 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16479 CFLAGS="$CFLAGS -D__sparc__"
16480 LINTFLAGS="$LINTFLAGS -D__sparc__"
16481 fi ;;
16482 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16483 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16484 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16485 $as_echo_n "(cached) " >&6
16486 else
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16489 #ifndef __powerpc64__
16491 #endif
16492 _ACEOF
16493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16494 $EGREP "yes" >/dev/null 2>&1; then :
16495 ac_cv_cpp_def___powerpc64__=yes
16496 else
16497 ac_cv_cpp_def___powerpc64__=no
16499 rm -f conftest*
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16503 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16504 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16505 CFLAGS="$CFLAGS -D__powerpc64__"
16506 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16507 fi ;;
16508 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16509 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16510 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16511 $as_echo_n "(cached) " >&6
16512 else
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16515 #ifndef __powerpc__
16517 #endif
16518 _ACEOF
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 $EGREP "yes" >/dev/null 2>&1; then :
16521 ac_cv_cpp_def___powerpc__=yes
16522 else
16523 ac_cv_cpp_def___powerpc__=no
16525 rm -f conftest*
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16529 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16530 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16531 CFLAGS="$CFLAGS -D__powerpc__"
16532 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16533 fi ;;
16534 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16535 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16536 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16537 $as_echo_n "(cached) " >&6
16538 else
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16541 #ifndef __aarch64__
16543 #endif
16544 _ACEOF
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "yes" >/dev/null 2>&1; then :
16547 ac_cv_cpp_def___aarch64__=yes
16548 else
16549 ac_cv_cpp_def___aarch64__=no
16551 rm -f conftest*
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16555 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16556 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16557 CFLAGS="$CFLAGS -D__aarch64__"
16558 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16559 fi ;;
16560 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16561 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16562 if ${ac_cv_cpp_def___arm__+:} false; then :
16563 $as_echo_n "(cached) " >&6
16564 else
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16567 #ifndef __arm__
16569 #endif
16570 _ACEOF
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16572 $EGREP "yes" >/dev/null 2>&1; then :
16573 ac_cv_cpp_def___arm__=yes
16574 else
16575 ac_cv_cpp_def___arm__=no
16577 rm -f conftest*
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16581 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16582 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16583 CFLAGS="$CFLAGS -D__arm__"
16584 LINTFLAGS="$LINTFLAGS -D__arm__"
16585 fi ;;
16586 esac
16588 case $host_vendor in
16589 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16590 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16591 if ${ac_cv_cpp_def___sun__+:} false; then :
16592 $as_echo_n "(cached) " >&6
16593 else
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16596 #ifndef __sun__
16598 #endif
16599 _ACEOF
16600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16601 $EGREP "yes" >/dev/null 2>&1; then :
16602 ac_cv_cpp_def___sun__=yes
16603 else
16604 ac_cv_cpp_def___sun__=no
16606 rm -f conftest*
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16610 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16611 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16612 CFLAGS="$CFLAGS -D__sun__"
16613 LINTFLAGS="$LINTFLAGS -D__sun__"
16614 fi ;;
16615 esac
16621 ac_config_commands="$ac_config_commands include/stamp-h"
16623 $as_echo_n "creating Makefile rules..." >&6
16625 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16626 SOCKET_LIBS = $SOCKET_LIBS
16627 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16628 IOKIT_LIBS = $IOKIT_LIBS
16629 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16630 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16631 CORESERVICES_LIBS = $CORESERVICES_LIBS
16632 APPKIT_LIBS = $APPKIT_LIBS
16633 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16634 SECURITY_LIBS = $SECURITY_LIBS
16635 COREAUDIO_LIBS = $COREAUDIO_LIBS
16636 OPENAL_LIBS = $OPENAL_LIBS
16637 OPENCL_LIBS = $OPENCL_LIBS
16638 QUICKTIME_LIBS = $QUICKTIME_LIBS
16639 CARBON_LIBS = $CARBON_LIBS
16640 PTHREAD_LIBS = $PTHREAD_LIBS
16641 X_CFLAGS = $X_CFLAGS
16642 X_PRE_LIBS = $X_PRE_LIBS
16643 X_LIBS = $X_LIBS
16644 X_EXTRA_LIBS = $X_EXTRA_LIBS
16645 XML2_CFLAGS = $XML2_CFLAGS
16646 XML2_LIBS = $XML2_LIBS
16647 XSLT_CFLAGS = $XSLT_CFLAGS
16648 XSLT_LIBS = $XSLT_LIBS
16649 DBUS_CFLAGS = $DBUS_CFLAGS
16650 DBUS_LIBS = $DBUS_LIBS
16651 HAL_CFLAGS = $HAL_CFLAGS
16652 HAL_LIBS = $HAL_LIBS
16653 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16654 GNUTLS_LIBS = $GNUTLS_LIBS
16655 SANE_CFLAGS = $SANE_CFLAGS
16656 SANE_LIBS = $SANE_LIBS
16657 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16658 GPHOTO2_LIBS = $GPHOTO2_LIBS
16659 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16660 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16661 RESOLV_LIBS = $RESOLV_LIBS
16662 LCMS2_CFLAGS = $LCMS2_CFLAGS
16663 LCMS2_LIBS = $LCMS2_LIBS
16664 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16665 FREETYPE_LIBS = $FREETYPE_LIBS
16666 Z_LIBS = $Z_LIBS
16667 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16668 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16669 GSTREAMER_LIBS = $GSTREAMER_LIBS
16670 ALSA_LIBS = $ALSA_LIBS
16671 OSS4_CFLAGS = $OSS4_CFLAGS
16672 CAPI20_CFLAGS = $CAPI20_CFLAGS
16673 CAPI20_LIBS = $CAPI20_LIBS
16674 CUPS_CFLAGS = $CUPS_CFLAGS
16675 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16676 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16677 JPEG_CFLAGS = $JPEG_CFLAGS
16678 JPEG_LIBS = $JPEG_LIBS
16679 PNG_CFLAGS = $PNG_CFLAGS
16680 PNG_LIBS = $PNG_LIBS
16681 TIFF_CFLAGS = $TIFF_CFLAGS
16682 TIFF_LIBS = $TIFF_LIBS
16683 MPG123_CFLAGS = $MPG123_CFLAGS
16684 MPG123_LIBS = $MPG123_LIBS
16685 KSTAT_LIBS = $KSTAT_LIBS
16686 PROCSTAT_LIBS = $PROCSTAT_LIBS
16687 DL_LIBS = $DL_LIBS
16688 POLL_LIBS = $POLL_LIBS
16689 RT_LIBS = $RT_LIBS
16690 LDAP_LIBS = $LDAP_LIBS
16695 wine_fn_append_rule "
16696 # Rules automatically generated by configure
16698 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16700 .INIT: Makefile
16701 .MAKEFILEDEPS:
16702 all: Makefile
16703 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16704 @./config.status Make.tmp Makefile"
16706 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16707 .gitignore: config.status
16708 @./config.status .gitignore"
16710 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16711 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16713 if test "x$enable_fonts" != xno; then
16714 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16715 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16716 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16717 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16718 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16720 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16721 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16722 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16723 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16724 ac_config_links="$ac_config_links wine:tools/winewrapper"
16725 wine_fn_config_symlink wine
16726 if test "x$enable_win64" != xno; then
16727 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16728 wine_fn_config_symlink wine64
16731 wine_fn_config_dll acledit enable_acledit
16732 wine_fn_config_dll aclui enable_aclui implib
16733 wine_fn_config_dll activeds enable_activeds implib
16734 wine_fn_config_dll actxprxy enable_actxprxy clean
16735 wine_fn_config_lib adsiid
16736 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16737 wine_fn_config_test dlls/advapi32/tests advapi32_test
16738 wine_fn_config_dll advpack enable_advpack implib
16739 wine_fn_config_test dlls/advpack/tests advpack_test
16740 wine_fn_config_dll amstream enable_amstream clean
16741 wine_fn_config_test dlls/amstream/tests amstream_test
16742 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16743 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16744 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16745 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16746 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16748 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16749 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16750 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16751 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16752 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16753 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16754 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16755 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16756 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16757 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16758 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16759 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16760 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16762 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16766 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16768 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16770 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16783 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16784 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16785 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16786 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16787 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16788 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16789 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16790 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16791 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16792 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16793 wine_fn_config_dll apphelp enable_apphelp
16794 wine_fn_config_test dlls/apphelp/tests apphelp_test
16795 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16796 wine_fn_config_dll atl enable_atl clean,implib
16797 wine_fn_config_test dlls/atl/tests atl_test
16798 wine_fn_config_dll atl100 enable_atl100 clean,implib
16799 wine_fn_config_test dlls/atl100/tests atl100_test
16800 wine_fn_config_dll atl110 enable_atl110 clean
16801 wine_fn_config_dll atl80 enable_atl80 clean,implib
16802 wine_fn_config_test dlls/atl80/tests atl80_test
16803 wine_fn_config_dll atl90 enable_atl90 clean
16804 wine_fn_config_dll authz enable_authz
16805 wine_fn_config_dll avicap32 enable_avicap32 implib
16806 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16807 wine_fn_config_test dlls/avifil32/tests avifil32_test
16808 wine_fn_config_dll avifile.dll16 enable_win16
16809 wine_fn_config_dll avrt enable_avrt implib
16810 wine_fn_config_dll bcrypt enable_bcrypt
16811 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16812 wine_fn_config_dll browseui enable_browseui clean,po
16813 wine_fn_config_test dlls/browseui/tests browseui_test
16814 wine_fn_config_dll cabinet enable_cabinet implib
16815 wine_fn_config_test dlls/cabinet/tests cabinet_test
16816 wine_fn_config_dll capi2032 enable_capi2032 implib
16817 wine_fn_config_dll cards enable_cards implib
16818 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16819 wine_fn_config_dll clusapi enable_clusapi implib
16820 wine_fn_config_dll comcat enable_comcat
16821 wine_fn_config_test dlls/comcat/tests comcat_test
16822 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16823 wine_fn_config_test dlls/comctl32/tests comctl32_test
16824 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16825 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16826 wine_fn_config_dll comm.drv16 enable_win16
16827 wine_fn_config_dll commdlg.dll16 enable_win16
16828 wine_fn_config_dll compobj.dll16 enable_win16
16829 wine_fn_config_dll compstui enable_compstui implib
16830 wine_fn_config_dll comsvcs enable_comsvcs implib
16831 wine_fn_config_dll credui enable_credui implib,po
16832 wine_fn_config_test dlls/credui/tests credui_test
16833 wine_fn_config_dll crtdll enable_crtdll implib
16834 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16835 wine_fn_config_test dlls/crypt32/tests crypt32_test
16836 wine_fn_config_dll cryptdlg enable_cryptdlg po
16837 wine_fn_config_dll cryptdll enable_cryptdll implib
16838 wine_fn_config_dll cryptnet enable_cryptnet implib
16839 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16840 wine_fn_config_dll cryptui enable_cryptui implib,po
16841 wine_fn_config_test dlls/cryptui/tests cryptui_test
16842 wine_fn_config_dll ctapi32 enable_ctapi32
16843 wine_fn_config_dll ctl3d.dll16 enable_win16
16844 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16845 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16846 wine_fn_config_dll d2d1 enable_d2d1 implib
16847 wine_fn_config_test dlls/d2d1/tests d2d1_test
16848 wine_fn_config_dll d3d10 enable_d3d10 implib
16849 wine_fn_config_test dlls/d3d10/tests d3d10_test
16850 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16851 wine_fn_config_dll d3d10core enable_d3d10core implib
16852 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16853 wine_fn_config_dll d3d11 enable_d3d11
16854 wine_fn_config_dll d3d8 enable_d3d8 implib
16855 wine_fn_config_test dlls/d3d8/tests d3d8_test
16856 wine_fn_config_dll d3d9 enable_d3d9 implib
16857 wine_fn_config_test dlls/d3d9/tests d3d9_test
16858 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16859 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16860 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16861 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16862 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16863 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16864 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16865 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16866 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16867 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16868 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16869 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16870 wine_fn_config_dll d3dim enable_d3dim implib
16871 wine_fn_config_dll d3drm enable_d3drm implib
16872 wine_fn_config_test dlls/d3drm/tests d3drm_test
16873 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16874 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16875 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16876 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16877 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16878 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16879 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16880 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16881 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16882 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16883 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16884 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16885 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16886 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16887 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16888 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16889 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16890 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16891 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16892 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16893 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16894 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16895 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16896 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16897 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16898 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16899 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16900 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16901 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16902 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16903 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16904 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16905 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16906 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16907 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16908 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16909 wine_fn_config_dll dbgeng enable_dbgeng implib
16910 wine_fn_config_dll dbghelp enable_dbghelp implib
16911 wine_fn_config_dll dciman32 enable_dciman32 implib
16912 wine_fn_config_dll ddeml.dll16 enable_win16
16913 wine_fn_config_dll ddraw enable_ddraw clean,implib
16914 wine_fn_config_test dlls/ddraw/tests ddraw_test
16915 wine_fn_config_dll ddrawex enable_ddrawex clean
16916 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16917 wine_fn_config_dll devenum enable_devenum clean,po
16918 wine_fn_config_test dlls/devenum/tests devenum_test
16919 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16920 wine_fn_config_dll difxapi enable_difxapi
16921 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16922 wine_fn_config_test dlls/dinput/tests dinput_test
16923 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16924 wine_fn_config_test dlls/dinput8/tests dinput8_test
16925 wine_fn_config_dll dispdib.dll16 enable_win16
16926 wine_fn_config_dll dispex enable_dispex clean
16927 wine_fn_config_test dlls/dispex/tests dispex_test
16928 wine_fn_config_dll display.drv16 enable_win16
16929 wine_fn_config_dll dmband enable_dmband clean
16930 wine_fn_config_test dlls/dmband/tests dmband_test
16931 wine_fn_config_dll dmcompos enable_dmcompos clean
16932 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16933 wine_fn_config_dll dmime enable_dmime clean
16934 wine_fn_config_test dlls/dmime/tests dmime_test
16935 wine_fn_config_dll dmloader enable_dmloader clean
16936 wine_fn_config_test dlls/dmloader/tests dmloader_test
16937 wine_fn_config_dll dmscript enable_dmscript clean
16938 wine_fn_config_test dlls/dmscript/tests dmscript_test
16939 wine_fn_config_dll dmstyle enable_dmstyle clean
16940 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16941 wine_fn_config_dll dmsynth enable_dmsynth clean
16942 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16943 wine_fn_config_dll dmusic enable_dmusic clean
16944 wine_fn_config_test dlls/dmusic/tests dmusic_test
16945 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16946 wine_fn_config_dll dnsapi enable_dnsapi implib
16947 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16948 wine_fn_config_dll dplay enable_dplay implib
16949 wine_fn_config_dll dplayx enable_dplayx clean,implib
16950 wine_fn_config_test dlls/dplayx/tests dplayx_test
16951 wine_fn_config_dll dpnaddr enable_dpnaddr
16952 wine_fn_config_dll dpnet enable_dpnet clean,implib
16953 wine_fn_config_test dlls/dpnet/tests dpnet_test
16954 wine_fn_config_dll dpnhpast enable_dpnhpast
16955 wine_fn_config_dll dpnlobby enable_dpnlobby
16956 wine_fn_config_dll dpvoice enable_dpvoice clean
16957 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16958 wine_fn_config_dll dpwsockx enable_dpwsockx
16959 wine_fn_config_dll drmclien enable_drmclien
16960 wine_fn_config_dll dsound enable_dsound clean,implib
16961 wine_fn_config_test dlls/dsound/tests dsound_test
16962 wine_fn_config_dll dssenh enable_dssenh
16963 wine_fn_config_test dlls/dssenh/tests dssenh_test
16964 wine_fn_config_dll dswave enable_dswave clean
16965 wine_fn_config_test dlls/dswave/tests dswave_test
16966 wine_fn_config_dll dwmapi enable_dwmapi implib
16967 wine_fn_config_dll dwrite enable_dwrite implib
16968 wine_fn_config_test dlls/dwrite/tests dwrite_test
16969 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16970 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16971 wine_fn_config_lib dxerr8
16972 wine_fn_config_lib dxerr9
16973 wine_fn_config_dll dxgi enable_dxgi implib
16974 wine_fn_config_test dlls/dxgi/tests dxgi_test
16975 wine_fn_config_lib dxguid
16976 wine_fn_config_dll dxva2 enable_dxva2
16977 wine_fn_config_dll explorerframe enable_explorerframe clean
16978 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16979 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16980 wine_fn_config_dll faultrep enable_faultrep implib
16981 wine_fn_config_test dlls/faultrep/tests faultrep_test
16982 wine_fn_config_dll fltlib enable_fltlib
16983 wine_fn_config_dll fntcache enable_fntcache
16984 wine_fn_config_dll fontsub enable_fontsub
16985 wine_fn_config_dll fusion enable_fusion
16986 wine_fn_config_test dlls/fusion/tests fusion_test
16987 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16988 wine_fn_config_dll gameux enable_gameux clean
16989 wine_fn_config_test dlls/gameux/tests gameux_test
16990 wine_fn_config_dll gdi.exe16 enable_win16
16991 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16992 wine_fn_config_test dlls/gdi32/tests gdi32_test
16993 wine_fn_config_dll gdiplus enable_gdiplus implib
16994 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16995 wine_fn_config_dll glu32 enable_glu32 implib
16996 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16997 wine_fn_config_dll gpkcsp enable_gpkcsp
16998 wine_fn_config_dll hal enable_hal
16999 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17000 wine_fn_config_dll hid enable_hid implib
17001 wine_fn_config_dll hlink enable_hlink clean,implib
17002 wine_fn_config_test dlls/hlink/tests hlink_test
17003 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17004 wine_fn_config_dll httpapi enable_httpapi
17005 wine_fn_config_dll iccvid enable_iccvid po
17006 wine_fn_config_dll icmp enable_icmp
17007 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17008 wine_fn_config_test dlls/ieframe/tests ieframe_test
17009 wine_fn_config_dll ifsmgr.vxd enable_win16
17010 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17011 wine_fn_config_dll imagehlp enable_imagehlp implib
17012 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17013 wine_fn_config_dll imm.dll16 enable_win16
17014 wine_fn_config_dll imm32 enable_imm32 implib
17015 wine_fn_config_test dlls/imm32/tests imm32_test
17016 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17017 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17018 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17019 wine_fn_config_dll inetmib1 enable_inetmib1
17020 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17021 wine_fn_config_dll infosoft enable_infosoft clean
17022 wine_fn_config_test dlls/infosoft/tests infosoft_test
17023 wine_fn_config_dll initpki enable_initpki
17024 wine_fn_config_dll inkobj enable_inkobj
17025 wine_fn_config_dll inseng enable_inseng clean
17026 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17027 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17028 wine_fn_config_dll itircl enable_itircl
17029 wine_fn_config_dll itss enable_itss clean
17030 wine_fn_config_test dlls/itss/tests itss_test
17031 wine_fn_config_dll joy.cpl enable_joy_cpl po
17032 wine_fn_config_dll jscript enable_jscript clean,po
17033 wine_fn_config_test dlls/jscript/tests jscript_test
17034 wine_fn_config_dll jsproxy enable_jsproxy implib
17035 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17036 wine_fn_config_test dlls/kernel32/tests kernel32_test
17037 wine_fn_config_dll keyboard.drv16 enable_win16
17038 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17039 wine_fn_config_dll ksuser enable_ksuser
17040 wine_fn_config_dll ktmw32 enable_ktmw32
17041 wine_fn_config_dll loadperf enable_loadperf implib
17042 wine_fn_config_dll localspl enable_localspl po
17043 wine_fn_config_test dlls/localspl/tests localspl_test
17044 wine_fn_config_dll localui enable_localui po
17045 wine_fn_config_test dlls/localui/tests localui_test
17046 wine_fn_config_dll lz32 enable_lz32 implib
17047 wine_fn_config_test dlls/lz32/tests lz32_test
17048 wine_fn_config_dll lzexpand.dll16 enable_win16
17049 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17050 wine_fn_config_test dlls/mapi32/tests mapi32_test
17051 wine_fn_config_dll mapistub enable_mapistub
17052 wine_fn_config_dll mciavi32 enable_mciavi32
17053 wine_fn_config_dll mcicda enable_mcicda
17054 wine_fn_config_dll mciqtz32 enable_mciqtz32
17055 wine_fn_config_dll mciseq enable_mciseq
17056 wine_fn_config_dll mciwave enable_mciwave
17057 wine_fn_config_dll mgmtapi enable_mgmtapi
17058 wine_fn_config_dll midimap enable_midimap
17059 wine_fn_config_dll mlang enable_mlang clean,implib
17060 wine_fn_config_test dlls/mlang/tests mlang_test
17061 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17062 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17063 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17064 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17065 wine_fn_config_dll mmdevldr.vxd enable_win16
17066 wine_fn_config_dll mmsystem.dll16 enable_win16
17067 wine_fn_config_dll monodebg.vxd enable_win16
17068 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17069 wine_fn_config_dll mouse.drv16 enable_win16
17070 wine_fn_config_dll mpr enable_mpr implib,po
17071 wine_fn_config_test dlls/mpr/tests mpr_test
17072 wine_fn_config_dll mprapi enable_mprapi implib
17073 wine_fn_config_dll msacm.dll16 enable_win16
17074 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17075 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17076 wine_fn_config_test dlls/msacm32/tests msacm32_test
17077 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17078 wine_fn_config_dll msasn1 enable_msasn1 implib
17079 wine_fn_config_dll mscat32 enable_mscat32
17080 wine_fn_config_dll mscms enable_mscms implib
17081 wine_fn_config_test dlls/mscms/tests mscms_test
17082 wine_fn_config_dll mscoree enable_mscoree clean
17083 wine_fn_config_test dlls/mscoree/tests mscoree_test
17084 wine_fn_config_dll msctf enable_msctf clean
17085 wine_fn_config_test dlls/msctf/tests msctf_test
17086 wine_fn_config_dll msdaps enable_msdaps clean
17087 wine_fn_config_dll msdmo enable_msdmo implib
17088 wine_fn_config_dll msftedit enable_msftedit
17089 wine_fn_config_dll msg711.acm enable_msg711_acm
17090 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17091 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17092 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17093 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17094 wine_fn_config_dll msi enable_msi clean,implib,po
17095 wine_fn_config_test dlls/msi/tests msi_test
17096 wine_fn_config_dll msident enable_msident clean
17097 wine_fn_config_dll msimg32 enable_msimg32 implib
17098 wine_fn_config_dll msimsg enable_msimsg
17099 wine_fn_config_dll msimtf enable_msimtf clean
17100 wine_fn_config_dll msisip enable_msisip
17101 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17102 wine_fn_config_dll msls31 enable_msls31
17103 wine_fn_config_dll msnet32 enable_msnet32
17104 wine_fn_config_dll mspatcha enable_mspatcha
17105 wine_fn_config_dll msrle32 enable_msrle32 po
17106 wine_fn_config_test dlls/msrle32/tests msrle32_test
17107 wine_fn_config_dll mssign32 enable_mssign32
17108 wine_fn_config_dll mssip32 enable_mssip32
17109 wine_fn_config_dll mstask enable_mstask clean
17110 wine_fn_config_test dlls/mstask/tests mstask_test
17111 wine_fn_config_dll msvcirt enable_msvcirt
17112 wine_fn_config_dll msvcm80 enable_msvcm80
17113 wine_fn_config_dll msvcm90 enable_msvcm90
17114 wine_fn_config_dll msvcp100 enable_msvcp100
17115 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17116 wine_fn_config_dll msvcp110 enable_msvcp110
17117 wine_fn_config_dll msvcp60 enable_msvcp60
17118 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17119 wine_fn_config_dll msvcp70 enable_msvcp70
17120 wine_fn_config_dll msvcp71 enable_msvcp71
17121 wine_fn_config_dll msvcp80 enable_msvcp80
17122 wine_fn_config_dll msvcp90 enable_msvcp90
17123 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17124 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17125 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17126 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17127 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17128 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17129 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17130 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17131 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17132 wine_fn_config_dll msvcrt enable_msvcrt implib
17133 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17134 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17135 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17136 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17137 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17138 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17139 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17140 wine_fn_config_dll msvidc32 enable_msvidc32 po
17141 wine_fn_config_dll msvideo.dll16 enable_win16
17142 wine_fn_config_dll mswsock enable_mswsock implib
17143 wine_fn_config_dll msxml enable_msxml clean
17144 wine_fn_config_dll msxml2 enable_msxml2 clean
17145 wine_fn_config_dll msxml3 enable_msxml3 clean
17146 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17147 wine_fn_config_dll msxml4 enable_msxml4 clean
17148 wine_fn_config_dll msxml6 enable_msxml6 clean
17149 wine_fn_config_dll nddeapi enable_nddeapi implib
17150 wine_fn_config_dll netapi32 enable_netapi32 implib
17151 wine_fn_config_test dlls/netapi32/tests netapi32_test
17152 wine_fn_config_dll netcfgx enable_netcfgx clean
17153 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17154 wine_fn_config_dll netprofm enable_netprofm clean
17155 wine_fn_config_test dlls/netprofm/tests netprofm_test
17156 wine_fn_config_dll newdev enable_newdev implib
17157 wine_fn_config_dll normaliz enable_normaliz implib
17158 wine_fn_config_dll npmshtml enable_npmshtml
17159 wine_fn_config_dll npptools enable_npptools
17160 wine_fn_config_dll ntdll enable_ntdll implib
17161 wine_fn_config_test dlls/ntdll/tests ntdll_test
17162 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17163 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17164 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17165 wine_fn_config_dll ntprint enable_ntprint
17166 wine_fn_config_test dlls/ntprint/tests ntprint_test
17167 wine_fn_config_dll objsel enable_objsel clean
17168 wine_fn_config_dll odbc32 enable_odbc32 implib
17169 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17170 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17171 wine_fn_config_dll odbccu32 enable_odbccu32
17172 wine_fn_config_dll ole2.dll16 enable_win16
17173 wine_fn_config_dll ole2conv.dll16 enable_win16
17174 wine_fn_config_dll ole2disp.dll16 enable_win16
17175 wine_fn_config_dll ole2nls.dll16 enable_win16
17176 wine_fn_config_dll ole2prox.dll16 enable_win16
17177 wine_fn_config_dll ole2thk.dll16 enable_win16
17178 wine_fn_config_dll ole32 enable_ole32 clean,implib
17179 wine_fn_config_test dlls/ole32/tests ole32_test
17180 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17181 wine_fn_config_test dlls/oleacc/tests oleacc_test
17182 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17183 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17184 wine_fn_config_dll olecli.dll16 enable_win16
17185 wine_fn_config_dll olecli32 enable_olecli32 implib
17186 wine_fn_config_dll oledb32 enable_oledb32 clean
17187 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17188 wine_fn_config_dll oledlg enable_oledlg implib,po
17189 wine_fn_config_dll olepro32 enable_olepro32 implib
17190 wine_fn_config_dll olesvr.dll16 enable_win16
17191 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17192 wine_fn_config_dll olethk32 enable_olethk32
17193 wine_fn_config_dll openal32 enable_openal32
17194 wine_fn_config_dll opencl enable_opencl
17195 wine_fn_config_dll opengl32 enable_opengl32 implib
17196 wine_fn_config_test dlls/opengl32/tests opengl32_test
17197 wine_fn_config_dll packager enable_packager clean
17198 wine_fn_config_test dlls/packager/tests packager_test
17199 wine_fn_config_dll pdh enable_pdh implib
17200 wine_fn_config_test dlls/pdh/tests pdh_test
17201 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17202 wine_fn_config_dll pidgen enable_pidgen
17203 wine_fn_config_dll powrprof enable_powrprof implib
17204 wine_fn_config_dll printui enable_printui
17205 wine_fn_config_dll propsys enable_propsys clean,implib
17206 wine_fn_config_test dlls/propsys/tests propsys_test
17207 wine_fn_config_dll psapi enable_psapi implib
17208 wine_fn_config_test dlls/psapi/tests psapi_test
17209 wine_fn_config_dll pstorec enable_pstorec clean
17210 wine_fn_config_dll qcap enable_qcap
17211 wine_fn_config_test dlls/qcap/tests qcap_test
17212 wine_fn_config_dll qedit enable_qedit clean
17213 wine_fn_config_test dlls/qedit/tests qedit_test
17214 wine_fn_config_dll qmgr enable_qmgr clean
17215 wine_fn_config_test dlls/qmgr/tests qmgr_test
17216 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17217 wine_fn_config_dll quartz enable_quartz clean,implib
17218 wine_fn_config_test dlls/quartz/tests quartz_test clean
17219 wine_fn_config_dll query enable_query
17220 wine_fn_config_dll rasapi16.dll16 enable_win16
17221 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17222 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17223 wine_fn_config_dll rasdlg enable_rasdlg implib
17224 wine_fn_config_dll regapi enable_regapi
17225 wine_fn_config_dll resutils enable_resutils implib
17226 wine_fn_config_dll riched20 enable_riched20 implib
17227 wine_fn_config_test dlls/riched20/tests riched20_test
17228 wine_fn_config_dll riched32 enable_riched32
17229 wine_fn_config_test dlls/riched32/tests riched32_test
17230 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17231 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17232 wine_fn_config_dll rsabase enable_rsabase
17233 wine_fn_config_dll rsaenh enable_rsaenh implib
17234 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17235 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17236 wine_fn_config_dll rtutils enable_rtutils implib
17237 wine_fn_config_dll samlib enable_samlib
17238 wine_fn_config_dll sane.ds enable_sane_ds po
17239 wine_fn_config_dll scarddlg enable_scarddlg
17240 wine_fn_config_dll sccbase enable_sccbase
17241 wine_fn_config_dll schannel enable_schannel
17242 wine_fn_config_test dlls/schannel/tests schannel_test
17243 wine_fn_config_dll schedsvc enable_schedsvc clean
17244 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17245 wine_fn_config_dll scrrun enable_scrrun clean
17246 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17247 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17248 wine_fn_config_dll secur32 enable_secur32 implib
17249 wine_fn_config_test dlls/secur32/tests secur32_test
17250 wine_fn_config_dll security enable_security
17251 wine_fn_config_dll sensapi enable_sensapi implib
17252 wine_fn_config_dll serialui enable_serialui implib,po
17253 wine_fn_config_test dlls/serialui/tests serialui_test
17254 wine_fn_config_dll setupapi enable_setupapi implib,po
17255 wine_fn_config_test dlls/setupapi/tests setupapi_test
17256 wine_fn_config_dll setupx.dll16 enable_win16
17257 wine_fn_config_dll sfc enable_sfc implib
17258 wine_fn_config_dll sfc_os enable_sfc_os implib
17259 wine_fn_config_dll shdoclc enable_shdoclc po
17260 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17261 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17262 wine_fn_config_dll shell.dll16 enable_win16
17263 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17264 wine_fn_config_test dlls/shell32/tests shell32_test
17265 wine_fn_config_dll shfolder enable_shfolder implib
17266 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17267 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17268 wine_fn_config_dll slbcsp enable_slbcsp
17269 wine_fn_config_dll slc enable_slc implib
17270 wine_fn_config_dll snmpapi enable_snmpapi implib
17271 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17272 wine_fn_config_dll softpub enable_softpub
17273 wine_fn_config_dll sound.drv16 enable_win16
17274 wine_fn_config_dll spoolss enable_spoolss implib
17275 wine_fn_config_test dlls/spoolss/tests spoolss_test
17276 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17277 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17278 wine_fn_config_dll sti enable_sti clean,implib
17279 wine_fn_config_test dlls/sti/tests sti_test
17280 wine_fn_config_dll storage.dll16 enable_win16
17281 wine_fn_config_dll stress.dll16 enable_win16
17282 wine_fn_config_lib strmbase
17283 wine_fn_config_lib strmiids
17284 wine_fn_config_dll svrapi enable_svrapi
17285 wine_fn_config_dll sxs enable_sxs implib
17286 wine_fn_config_test dlls/sxs/tests sxs_test
17287 wine_fn_config_dll system.drv16 enable_win16
17288 wine_fn_config_dll t2embed enable_t2embed
17289 wine_fn_config_dll tapi32 enable_tapi32 implib
17290 wine_fn_config_dll taskschd enable_taskschd clean
17291 wine_fn_config_test dlls/taskschd/tests taskschd_test
17292 wine_fn_config_dll toolhelp.dll16 enable_win16
17293 wine_fn_config_dll traffic enable_traffic
17294 wine_fn_config_dll twain.dll16 enable_win16
17295 wine_fn_config_dll twain_32 enable_twain_32
17296 wine_fn_config_test dlls/twain_32/tests twain_32_test
17297 wine_fn_config_dll typelib.dll16 enable_win16
17298 wine_fn_config_dll unicows enable_unicows implib
17299 wine_fn_config_dll updspapi enable_updspapi
17300 wine_fn_config_dll url enable_url implib
17301 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17302 wine_fn_config_test dlls/urlmon/tests urlmon_test
17303 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17304 wine_fn_config_dll user.exe16 enable_win16
17305 wine_fn_config_dll user32 enable_user32 clean,implib,po
17306 wine_fn_config_test dlls/user32/tests user32_test
17307 wine_fn_config_dll userenv enable_userenv implib
17308 wine_fn_config_test dlls/userenv/tests userenv_test
17309 wine_fn_config_dll usp10 enable_usp10 implib
17310 wine_fn_config_test dlls/usp10/tests usp10_test
17311 wine_fn_config_lib uuid
17312 wine_fn_config_dll uxtheme enable_uxtheme implib
17313 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17314 wine_fn_config_dll vbscript enable_vbscript clean
17315 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17316 wine_fn_config_dll vcomp enable_vcomp
17317 wine_fn_config_dll vcomp100 enable_vcomp100
17318 wine_fn_config_dll vcomp90 enable_vcomp90
17319 wine_fn_config_dll vdhcp.vxd enable_win16
17320 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17321 wine_fn_config_dll ver.dll16 enable_win16
17322 wine_fn_config_dll version enable_version implib
17323 wine_fn_config_test dlls/version/tests version_test
17324 wine_fn_config_dll vmm.vxd enable_win16
17325 wine_fn_config_dll vnbt.vxd enable_win16
17326 wine_fn_config_dll vnetbios.vxd enable_win16
17327 wine_fn_config_dll vtdapi.vxd enable_win16
17328 wine_fn_config_dll vwin32.vxd enable_win16
17329 wine_fn_config_dll w32skrnl enable_win16
17330 wine_fn_config_dll w32sys.dll16 enable_win16
17331 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17332 wine_fn_config_dll wbemprox enable_wbemprox clean
17333 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17334 wine_fn_config_dll webservices enable_webservices implib
17335 wine_fn_config_dll wer enable_wer implib
17336 wine_fn_config_test dlls/wer/tests wer_test
17337 wine_fn_config_dll wevtapi enable_wevtapi
17338 wine_fn_config_dll wiaservc enable_wiaservc clean
17339 wine_fn_config_dll win32s16.dll16 enable_win16
17340 wine_fn_config_dll win87em.dll16 enable_win16
17341 wine_fn_config_dll winaspi.dll16 enable_win16
17342 wine_fn_config_dll windebug.dll16 enable_win16
17343 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17344 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17345 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17346 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17347 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17348 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17349 wine_fn_config_lib winecrt0
17350 wine_fn_config_dll wined3d enable_wined3d implib
17351 wine_fn_config_dll winegstreamer enable_winegstreamer
17352 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17353 wine_fn_config_dll winemac.drv enable_winemac_drv
17354 wine_fn_config_dll winemapi enable_winemapi
17355 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17356 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17357 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17358 wine_fn_config_dll wineps16.drv16 enable_win16
17359 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17360 wine_fn_config_dll winex11.drv enable_winex11_drv
17361 wine_fn_config_dll wing.dll16 enable_win16
17362 wine_fn_config_dll wing32 enable_wing32
17363 wine_fn_config_dll winhttp enable_winhttp clean,implib
17364 wine_fn_config_test dlls/winhttp/tests winhttp_test
17365 wine_fn_config_dll wininet enable_wininet implib,po
17366 wine_fn_config_test dlls/wininet/tests wininet_test
17367 wine_fn_config_dll winmm enable_winmm implib,po
17368 wine_fn_config_test dlls/winmm/tests winmm_test
17369 wine_fn_config_dll winnls.dll16 enable_win16
17370 wine_fn_config_dll winnls32 enable_winnls32 implib
17371 wine_fn_config_dll winscard enable_winscard implib
17372 wine_fn_config_dll winsock.dll16 enable_win16
17373 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17374 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17375 wine_fn_config_dll winsta enable_winsta
17376 wine_fn_config_dll wintab.dll16 enable_win16
17377 wine_fn_config_dll wintab32 enable_wintab32 implib
17378 wine_fn_config_test dlls/wintab32/tests wintab32_test
17379 wine_fn_config_dll wintrust enable_wintrust implib
17380 wine_fn_config_test dlls/wintrust/tests wintrust_test
17381 wine_fn_config_dll wlanapi enable_wlanapi
17382 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17383 wine_fn_config_test dlls/wldap32/tests wldap32_test
17384 wine_fn_config_dll wmi enable_wmi
17385 wine_fn_config_dll wmiutils enable_wmiutils clean
17386 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17387 wine_fn_config_dll wmp enable_wmp clean
17388 wine_fn_config_test dlls/wmp/tests wmp_test
17389 wine_fn_config_dll wmvcore enable_wmvcore
17390 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17391 wine_fn_config_dll wow32 enable_win16 implib
17392 wine_fn_config_dll wpcap enable_wpcap
17393 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17394 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17395 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17396 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17397 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17398 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17399 wine_fn_config_dll wsock32 enable_wsock32 implib
17400 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17401 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17402 wine_fn_config_dll wuapi enable_wuapi clean
17403 wine_fn_config_dll wuaueng enable_wuaueng
17404 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17405 wine_fn_config_dll xinput1_1 enable_xinput1_1
17406 wine_fn_config_dll xinput1_2 enable_xinput1_2
17407 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17408 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17409 wine_fn_config_dll xinput1_4 enable_xinput1_4
17410 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17411 wine_fn_config_dll xmllite enable_xmllite implib
17412 wine_fn_config_test dlls/xmllite/tests xmllite_test
17413 wine_fn_config_dll xolehlp enable_xolehlp
17414 wine_fn_config_dll xpsprint enable_xpsprint
17415 wine_fn_config_dll xpssvcs enable_xpssvcs
17416 wine_fn_config_makefile documentation enable_documentation clean
17417 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17418 wine_fn_config_makefile include enable_include clean,install-dev
17419 wine_fn_config_makefile libs/port enable_libs_port
17420 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17421 wine_fn_config_makefile libs/wpp enable_libs_wpp
17422 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17423 wine_fn_config_program arp enable_arp install
17424 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17425 wine_fn_config_program attrib enable_attrib install,po
17426 wine_fn_config_program cabarc enable_cabarc install
17427 wine_fn_config_program cacls enable_cacls install
17428 wine_fn_config_program clock enable_clock install,po
17429 wine_fn_config_program cmd enable_cmd install,po
17430 wine_fn_config_test programs/cmd/tests cmd.exe_test
17431 wine_fn_config_program conhost enable_conhost install
17432 wine_fn_config_program control enable_control install
17433 wine_fn_config_program cscript enable_cscript clean,install
17434 wine_fn_config_program dpnsvr enable_dpnsvr install
17435 wine_fn_config_program dxdiag enable_dxdiag install,po
17436 wine_fn_config_program eject enable_eject install
17437 wine_fn_config_program expand enable_expand install
17438 wine_fn_config_program explorer enable_explorer install,po
17439 wine_fn_config_program extrac32 enable_extrac32 install
17440 wine_fn_config_program findstr enable_findstr install
17441 wine_fn_config_program hh enable_hh install
17442 wine_fn_config_program hostname enable_hostname install,po
17443 wine_fn_config_program icinfo enable_icinfo install
17444 wine_fn_config_program iexplore enable_iexplore install
17445 wine_fn_config_program ipconfig enable_ipconfig install,po
17446 wine_fn_config_program lodctr enable_lodctr install
17447 wine_fn_config_program mofcomp enable_mofcomp install
17448 wine_fn_config_program mshta enable_mshta install
17449 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17450 wine_fn_config_program net enable_net install,po
17451 wine_fn_config_program netsh enable_netsh install
17452 wine_fn_config_program netstat enable_netstat install,po
17453 wine_fn_config_program ngen enable_ngen install
17454 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17455 wine_fn_config_program oleview enable_oleview install,po
17456 wine_fn_config_program ping enable_ping install
17457 wine_fn_config_program plugplay enable_plugplay install
17458 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17459 wine_fn_config_program progman enable_progman install,po
17460 wine_fn_config_program reg enable_reg install,po
17461 wine_fn_config_test programs/reg/tests reg.exe_test
17462 wine_fn_config_program regasm enable_regasm install
17463 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17464 wine_fn_config_test programs/regedit/tests regedit.exe_test
17465 wine_fn_config_program regsvcs enable_regsvcs install
17466 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17467 wine_fn_config_program rpcss enable_rpcss clean,install
17468 wine_fn_config_program rundll.exe16 enable_win16 install
17469 wine_fn_config_program rundll32 enable_rundll32 install
17470 wine_fn_config_program sc enable_sc install
17471 wine_fn_config_program schtasks enable_schtasks install
17472 wine_fn_config_program sdbinst enable_sdbinst install
17473 wine_fn_config_program secedit enable_secedit install
17474 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17475 wine_fn_config_program services enable_services clean,install
17476 wine_fn_config_test programs/services/tests services.exe_test
17477 wine_fn_config_program spoolsv enable_spoolsv install
17478 wine_fn_config_program start enable_start install,po
17479 wine_fn_config_program svchost enable_svchost install
17480 wine_fn_config_program systeminfo enable_systeminfo install
17481 wine_fn_config_program taskkill enable_taskkill install,po
17482 wine_fn_config_program tasklist enable_tasklist install
17483 wine_fn_config_program taskmgr enable_taskmgr install,po
17484 wine_fn_config_program termsv enable_termsv install
17485 wine_fn_config_program uninstaller enable_uninstaller install,po
17486 wine_fn_config_program unlodctr enable_unlodctr install
17487 wine_fn_config_program view enable_view install,po
17488 wine_fn_config_program wevtutil enable_wevtutil install
17489 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17490 wine_fn_config_program winebrowser enable_winebrowser install
17491 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17492 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17493 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17494 wine_fn_config_program winedevice enable_winedevice install
17495 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17496 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17497 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17498 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17499 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17500 wine_fn_config_program winetest enable_winetest clean
17501 wine_fn_config_program winevdm enable_win16 install
17502 wine_fn_config_program winhelp.exe16 enable_win16 install
17503 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17504 wine_fn_config_program winoldap.mod16 enable_win16 install
17505 wine_fn_config_program winver enable_winver install
17506 wine_fn_config_program wmic enable_wmic install,po
17507 wine_fn_config_program wordpad enable_wordpad install,po
17508 wine_fn_config_program write enable_write install,po
17509 wine_fn_config_program wscript enable_wscript clean,install
17510 wine_fn_config_test programs/wscript/tests wscript.exe_test
17511 wine_fn_config_program wusa enable_wusa install
17512 wine_fn_config_program xcopy enable_xcopy install,po
17513 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17514 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17515 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17516 wine_fn_config_tool tools/sfnt2fon clean
17517 wine_fn_config_tool tools/widl clean,install-dev,manpage
17518 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17519 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17520 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17521 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17522 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17524 LINGUAS="\
17525 ar \
17526 bg \
17527 ca \
17528 cs \
17529 da \
17530 de \
17531 el \
17532 en \
17533 en_US \
17534 eo \
17535 es \
17536 fa \
17537 fi \
17538 fr \
17539 he \
17540 hi \
17541 hr \
17542 hu \
17543 it \
17544 ja \
17545 ko \
17546 lt \
17547 ml \
17548 nb_NO \
17549 nl \
17550 or \
17551 pa \
17552 pl \
17553 pt_BR \
17554 pt_PT \
17555 rm \
17556 ro \
17557 ru \
17558 sk \
17559 sl \
17560 sr_RS@cyrillic \
17561 sr_RS@latin \
17562 sv \
17563 te \
17564 th \
17565 tr \
17566 uk \
17567 wa \
17568 zh_CN \
17569 zh_TW"
17574 wine_fn_ignore_file ".gitignore"
17575 wine_fn_ignore_file "Makefile"
17576 wine_fn_ignore_file "TAGS"
17577 wine_fn_ignore_file "tags"
17578 wine_fn_ignore_file "autom4te.cache"
17579 wine_fn_ignore_file "config.cache"
17580 wine_fn_ignore_file "config.log"
17581 wine_fn_ignore_file "config.status"
17582 wine_fn_ignore_file "configure.lineno"
17583 wine_fn_ignore_file "include/config.h"
17584 wine_fn_ignore_file "include/stamp-h"
17585 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17587 if test "x$enable_tools" != xno
17588 then
17589 wine_fn_ignore_file "tools/makedep$ac_exeext"
17590 ac_config_commands="$ac_config_commands tools/makedep"
17594 ac_config_commands="$ac_config_commands Makefile"
17597 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17601 if test "x$enable_maintainer_mode" = xyes
17602 then
17603 wine_fn_append_rule "configure: configure.ac aclocal.m4
17604 autoconf --warnings=all
17605 include/config.h.in: include/stamp-h.in
17606 include/stamp-h.in: configure.ac aclocal.m4
17607 autoheader --warnings=all
17608 @echo timestamp > \$@"
17611 if test "x$with_gettextpo" = xyes
17612 then
17613 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17614 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17615 \$(LINGUAS:%=po/%.po): po/wine.pot
17616 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17617 po/wine.pot: \$(ALL_POT_FILES)
17618 msgcat -o \$@ \$(ALL_POT_FILES)"
17621 if test "$MSGFMT" != false
17622 then
17623 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17624 clean::
17625 \$(RM) \$(LINGUAS:%=po/%.mo)"
17627 posrc="po"
17628 test "$srcdir" = . || posrc="$srcdir/po"
17629 for i in $LINGUAS
17631 wine_fn_ignore_file "po/$i.mo"
17632 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17633 \$(MSGFMT) -o \$@ $posrc/$i.po"
17634 done
17635 else
17636 LINGUAS=
17639 if test "x$enable_tools" != xno
17640 then
17641 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17642 @./config.status tools/makedep
17643 Makefile: tools/makedep$ac_exeext
17644 distclean:: clean
17645 \$(RM) tools/makedep$ac_exeext"
17646 else
17647 wine_fn_append_rule "\$(MAKEDEP):
17648 @echo \"You need to run make in $TOOLSDIR first\" && false"
17651 if test -n "$with_wine64"
17652 then
17653 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17654 fonts server tools:
17655 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17656 $with_wine64/loader/wine:
17657 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17658 $with_wine64/loader/wine-preloader:
17659 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17660 clean::
17661 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17662 else
17663 as_fn_append LOADER_RULES "
17664 install install-lib:: wine.inf install-man-pages
17665 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17666 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17668 uninstall::
17669 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17673 if test "$srcdir" = .
17674 then
17675 ac_config_commands="$ac_config_commands .gitignore"
17679 $as_echo " done" >&6
17680 cat >confcache <<\_ACEOF
17681 # This file is a shell script that caches the results of configure
17682 # tests run on this system so they can be shared between configure
17683 # scripts and configure runs, see configure's option --config-cache.
17684 # It is not useful on other systems. If it contains results you don't
17685 # want to keep, you may remove or edit it.
17687 # config.status only pays attention to the cache file if you give it
17688 # the --recheck option to rerun configure.
17690 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17691 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17692 # following values.
17694 _ACEOF
17696 # The following way of writing the cache mishandles newlines in values,
17697 # but we know of no workaround that is simple, portable, and efficient.
17698 # So, we kill variables containing newlines.
17699 # Ultrix sh set writes to stderr and can't be redirected directly,
17700 # and sets the high bit in the cache file unless we assign to the vars.
17702 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17703 eval ac_val=\$$ac_var
17704 case $ac_val in #(
17705 *${as_nl}*)
17706 case $ac_var in #(
17707 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17708 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17709 esac
17710 case $ac_var in #(
17711 _ | IFS | as_nl) ;; #(
17712 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17713 *) { eval $ac_var=; unset $ac_var;} ;;
17714 esac ;;
17715 esac
17716 done
17718 (set) 2>&1 |
17719 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17720 *${as_nl}ac_space=\ *)
17721 # `set' does not quote correctly, so add quotes: double-quote
17722 # substitution turns \\\\ into \\, and sed turns \\ into \.
17723 sed -n \
17724 "s/'/'\\\\''/g;
17725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17726 ;; #(
17728 # `set' quotes correctly as required by POSIX, so do not add quotes.
17729 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17731 esac |
17732 sort
17734 sed '
17735 /^ac_cv_env_/b end
17736 t clear
17737 :clear
17738 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17739 t end
17740 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17741 :end' >>confcache
17742 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17743 if test -w "$cache_file"; then
17744 if test "x$cache_file" != "x/dev/null"; then
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17746 $as_echo "$as_me: updating cache $cache_file" >&6;}
17747 if test ! -f "$cache_file" || test -h "$cache_file"; then
17748 cat confcache >"$cache_file"
17749 else
17750 case $cache_file in #(
17751 */* | ?:*)
17752 mv -f confcache "$cache_file"$$ &&
17753 mv -f "$cache_file"$$ "$cache_file" ;; #(
17755 mv -f confcache "$cache_file" ;;
17756 esac
17759 else
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17761 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17764 rm -f confcache
17766 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17767 # Let make expand exec_prefix.
17768 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17770 DEFS=-DHAVE_CONFIG_H
17772 ac_libobjs=
17773 ac_ltlibobjs=
17775 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17776 # 1. Remove the extension, and $U if already installed.
17777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17778 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17780 # will be set to the directory where LIBOBJS objects are built.
17781 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17782 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17783 done
17784 LIBOBJS=$ac_libobjs
17786 LTLIBOBJS=$ac_ltlibobjs
17790 : "${CONFIG_STATUS=./config.status}"
17791 ac_write_fail=0
17792 ac_clean_files_save=$ac_clean_files
17793 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17795 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17796 as_write_fail=0
17797 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17798 #! $SHELL
17799 # Generated by $as_me.
17800 # Run this file to recreate the current configuration.
17801 # Compiler output produced by configure, useful for debugging
17802 # configure, is in config.log if it exists.
17804 debug=false
17805 ac_cs_recheck=false
17806 ac_cs_silent=false
17808 SHELL=\${CONFIG_SHELL-$SHELL}
17809 export SHELL
17810 _ASEOF
17811 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17812 ## -------------------- ##
17813 ## M4sh Initialization. ##
17814 ## -------------------- ##
17816 # Be more Bourne compatible
17817 DUALCASE=1; export DUALCASE # for MKS sh
17818 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17819 emulate sh
17820 NULLCMD=:
17821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17822 # is contrary to our usage. Disable this feature.
17823 alias -g '${1+"$@"}'='"$@"'
17824 setopt NO_GLOB_SUBST
17825 else
17826 case `(set -o) 2>/dev/null` in #(
17827 *posix*) :
17828 set -o posix ;; #(
17829 *) :
17831 esac
17835 as_nl='
17837 export as_nl
17838 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17839 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17842 # Prefer a ksh shell builtin over an external printf program on Solaris,
17843 # but without wasting forks for bash or zsh.
17844 if test -z "$BASH_VERSION$ZSH_VERSION" \
17845 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17846 as_echo='print -r --'
17847 as_echo_n='print -rn --'
17848 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17849 as_echo='printf %s\n'
17850 as_echo_n='printf %s'
17851 else
17852 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17853 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17854 as_echo_n='/usr/ucb/echo -n'
17855 else
17856 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17857 as_echo_n_body='eval
17858 arg=$1;
17859 case $arg in #(
17860 *"$as_nl"*)
17861 expr "X$arg" : "X\\(.*\\)$as_nl";
17862 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17863 esac;
17864 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17866 export as_echo_n_body
17867 as_echo_n='sh -c $as_echo_n_body as_echo'
17869 export as_echo_body
17870 as_echo='sh -c $as_echo_body as_echo'
17873 # The user is always right.
17874 if test "${PATH_SEPARATOR+set}" != set; then
17875 PATH_SEPARATOR=:
17876 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17877 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17878 PATH_SEPARATOR=';'
17883 # IFS
17884 # We need space, tab and new line, in precisely that order. Quoting is
17885 # there to prevent editors from complaining about space-tab.
17886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17887 # splitting by setting IFS to empty value.)
17888 IFS=" "" $as_nl"
17890 # Find who we are. Look in the path if we contain no directory separator.
17891 as_myself=
17892 case $0 in #((
17893 *[\\/]* ) as_myself=$0 ;;
17894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17895 for as_dir in $PATH
17897 IFS=$as_save_IFS
17898 test -z "$as_dir" && as_dir=.
17899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17900 done
17901 IFS=$as_save_IFS
17904 esac
17905 # We did not find ourselves, most probably we were run as `sh COMMAND'
17906 # in which case we are not to be found in the path.
17907 if test "x$as_myself" = x; then
17908 as_myself=$0
17910 if test ! -f "$as_myself"; then
17911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17912 exit 1
17915 # Unset variables that we do not need and which cause bugs (e.g. in
17916 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17917 # suppresses any "Segmentation fault" message there. '((' could
17918 # trigger a bug in pdksh 5.2.14.
17919 for as_var in BASH_ENV ENV MAIL MAILPATH
17920 do eval test x\${$as_var+set} = xset \
17921 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17922 done
17923 PS1='$ '
17924 PS2='> '
17925 PS4='+ '
17927 # NLS nuisances.
17928 LC_ALL=C
17929 export LC_ALL
17930 LANGUAGE=C
17931 export LANGUAGE
17933 # CDPATH.
17934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17937 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17938 # ----------------------------------------
17939 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17940 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17941 # script with STATUS, using 1 if that was 0.
17942 as_fn_error ()
17944 as_status=$1; test $as_status -eq 0 && as_status=1
17945 if test "$4"; then
17946 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17947 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17949 $as_echo "$as_me: error: $2" >&2
17950 as_fn_exit $as_status
17951 } # as_fn_error
17954 # as_fn_set_status STATUS
17955 # -----------------------
17956 # Set $? to STATUS, without forking.
17957 as_fn_set_status ()
17959 return $1
17960 } # as_fn_set_status
17962 # as_fn_exit STATUS
17963 # -----------------
17964 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17965 as_fn_exit ()
17967 set +e
17968 as_fn_set_status $1
17969 exit $1
17970 } # as_fn_exit
17972 # as_fn_unset VAR
17973 # ---------------
17974 # Portably unset VAR.
17975 as_fn_unset ()
17977 { eval $1=; unset $1;}
17979 as_unset=as_fn_unset
17980 # as_fn_append VAR VALUE
17981 # ----------------------
17982 # Append the text in VALUE to the end of the definition contained in VAR. Take
17983 # advantage of any shell optimizations that allow amortized linear growth over
17984 # repeated appends, instead of the typical quadratic growth present in naive
17985 # implementations.
17986 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17987 eval 'as_fn_append ()
17989 eval $1+=\$2
17991 else
17992 as_fn_append ()
17994 eval $1=\$$1\$2
17996 fi # as_fn_append
17998 # as_fn_arith ARG...
17999 # ------------------
18000 # Perform arithmetic evaluation on the ARGs, and store the result in the
18001 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18002 # must be portable across $(()) and expr.
18003 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18004 eval 'as_fn_arith ()
18006 as_val=$(( $* ))
18008 else
18009 as_fn_arith ()
18011 as_val=`expr "$@" || test $? -eq 1`
18013 fi # as_fn_arith
18016 if expr a : '\(a\)' >/dev/null 2>&1 &&
18017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18018 as_expr=expr
18019 else
18020 as_expr=false
18023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18024 as_basename=basename
18025 else
18026 as_basename=false
18029 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18030 as_dirname=dirname
18031 else
18032 as_dirname=false
18035 as_me=`$as_basename -- "$0" ||
18036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18037 X"$0" : 'X\(//\)$' \| \
18038 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18039 $as_echo X/"$0" |
18040 sed '/^.*\/\([^/][^/]*\)\/*$/{
18041 s//\1/
18044 /^X\/\(\/\/\)$/{
18045 s//\1/
18048 /^X\/\(\/\).*/{
18049 s//\1/
18052 s/.*/./; q'`
18054 # Avoid depending upon Character Ranges.
18055 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18056 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18057 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18058 as_cr_digits='0123456789'
18059 as_cr_alnum=$as_cr_Letters$as_cr_digits
18061 ECHO_C= ECHO_N= ECHO_T=
18062 case `echo -n x` in #(((((
18063 -n*)
18064 case `echo 'xy\c'` in
18065 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18066 xy) ECHO_C='\c';;
18067 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18068 ECHO_T=' ';;
18069 esac;;
18071 ECHO_N='-n';;
18072 esac
18074 rm -f conf$$ conf$$.exe conf$$.file
18075 if test -d conf$$.dir; then
18076 rm -f conf$$.dir/conf$$.file
18077 else
18078 rm -f conf$$.dir
18079 mkdir conf$$.dir 2>/dev/null
18081 if (echo >conf$$.file) 2>/dev/null; then
18082 if ln -s conf$$.file conf$$ 2>/dev/null; then
18083 as_ln_s='ln -s'
18084 # ... but there are two gotchas:
18085 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18086 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18087 # In both cases, we have to default to `cp -pR'.
18088 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18089 as_ln_s='cp -pR'
18090 elif ln conf$$.file conf$$ 2>/dev/null; then
18091 as_ln_s=ln
18092 else
18093 as_ln_s='cp -pR'
18095 else
18096 as_ln_s='cp -pR'
18098 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18099 rmdir conf$$.dir 2>/dev/null
18102 # as_fn_mkdir_p
18103 # -------------
18104 # Create "$as_dir" as a directory, including parents if necessary.
18105 as_fn_mkdir_p ()
18108 case $as_dir in #(
18109 -*) as_dir=./$as_dir;;
18110 esac
18111 test -d "$as_dir" || eval $as_mkdir_p || {
18112 as_dirs=
18113 while :; do
18114 case $as_dir in #(
18115 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18116 *) as_qdir=$as_dir;;
18117 esac
18118 as_dirs="'$as_qdir' $as_dirs"
18119 as_dir=`$as_dirname -- "$as_dir" ||
18120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18121 X"$as_dir" : 'X\(//\)[^/]' \| \
18122 X"$as_dir" : 'X\(//\)$' \| \
18123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18124 $as_echo X"$as_dir" |
18125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18126 s//\1/
18129 /^X\(\/\/\)[^/].*/{
18130 s//\1/
18133 /^X\(\/\/\)$/{
18134 s//\1/
18137 /^X\(\/\).*/{
18138 s//\1/
18141 s/.*/./; q'`
18142 test -d "$as_dir" && break
18143 done
18144 test -z "$as_dirs" || eval "mkdir $as_dirs"
18145 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18148 } # as_fn_mkdir_p
18149 if mkdir -p . 2>/dev/null; then
18150 as_mkdir_p='mkdir -p "$as_dir"'
18151 else
18152 test -d ./-p && rmdir ./-p
18153 as_mkdir_p=false
18157 # as_fn_executable_p FILE
18158 # -----------------------
18159 # Test if FILE is an executable regular file.
18160 as_fn_executable_p ()
18162 test -f "$1" && test -x "$1"
18163 } # as_fn_executable_p
18164 as_test_x='test -x'
18165 as_executable_p=as_fn_executable_p
18167 # Sed expression to map a string onto a valid CPP name.
18168 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18170 # Sed expression to map a string onto a valid variable name.
18171 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18174 exec 6>&1
18175 ## ----------------------------------- ##
18176 ## Main body of $CONFIG_STATUS script. ##
18177 ## ----------------------------------- ##
18178 _ASEOF
18179 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18182 # Save the log message, to keep $0 and so on meaningful, and to
18183 # report actual input values of CONFIG_FILES etc. instead of their
18184 # values after options handling.
18185 ac_log="
18186 This file was extended by Wine $as_me 1.7.28, which was
18187 generated by GNU Autoconf 2.69. Invocation command line was
18189 CONFIG_FILES = $CONFIG_FILES
18190 CONFIG_HEADERS = $CONFIG_HEADERS
18191 CONFIG_LINKS = $CONFIG_LINKS
18192 CONFIG_COMMANDS = $CONFIG_COMMANDS
18193 $ $0 $@
18195 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18198 _ACEOF
18200 case $ac_config_files in *"
18201 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18202 esac
18204 case $ac_config_headers in *"
18205 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18206 esac
18209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18210 # Files that config.status was made for.
18211 config_files="$ac_config_files"
18212 config_headers="$ac_config_headers"
18213 config_links="$ac_config_links"
18214 config_commands="$ac_config_commands"
18216 _ACEOF
18218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18219 ac_cs_usage="\
18220 \`$as_me' instantiates files and other configuration actions
18221 from templates according to the current configuration. Unless the files
18222 and actions are specified as TAGs, all are instantiated by default.
18224 Usage: $0 [OPTION]... [TAG]...
18226 -h, --help print this help, then exit
18227 -V, --version print version number and configuration settings, then exit
18228 --config print configuration, then exit
18229 -q, --quiet, --silent
18230 do not print progress messages
18231 -d, --debug don't remove temporary files
18232 --recheck update $as_me by reconfiguring in the same conditions
18233 --file=FILE[:TEMPLATE]
18234 instantiate the configuration file FILE
18235 --header=FILE[:TEMPLATE]
18236 instantiate the configuration header FILE
18238 Configuration files:
18239 $config_files
18241 Configuration headers:
18242 $config_headers
18244 Configuration links:
18245 $config_links
18247 Configuration commands:
18248 $config_commands
18250 Report bugs to <wine-devel@winehq.org>.
18251 Wine home page: <http://www.winehq.org>."
18253 _ACEOF
18254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18255 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18256 ac_cs_version="\\
18257 Wine config.status 1.7.28
18258 configured by $0, generated by GNU Autoconf 2.69,
18259 with options \\"\$ac_cs_config\\"
18261 Copyright (C) 2012 Free Software Foundation, Inc.
18262 This config.status script is free software; the Free Software Foundation
18263 gives unlimited permission to copy, distribute and modify it."
18265 ac_pwd='$ac_pwd'
18266 srcdir='$srcdir'
18267 test -n "\$AWK" || AWK=awk
18268 _ACEOF
18270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18271 # The default lists apply if the user does not specify any file.
18272 ac_need_defaults=:
18273 while test $# != 0
18275 case $1 in
18276 --*=?*)
18277 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18278 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18279 ac_shift=:
18281 --*=)
18282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18283 ac_optarg=
18284 ac_shift=:
18287 ac_option=$1
18288 ac_optarg=$2
18289 ac_shift=shift
18291 esac
18293 case $ac_option in
18294 # Handling of the options.
18295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18296 ac_cs_recheck=: ;;
18297 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18298 $as_echo "$ac_cs_version"; exit ;;
18299 --config | --confi | --conf | --con | --co | --c )
18300 $as_echo "$ac_cs_config"; exit ;;
18301 --debug | --debu | --deb | --de | --d | -d )
18302 debug=: ;;
18303 --file | --fil | --fi | --f )
18304 $ac_shift
18305 case $ac_optarg in
18306 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18307 '') as_fn_error $? "missing file argument" ;;
18308 esac
18309 as_fn_append CONFIG_FILES " '$ac_optarg'"
18310 ac_need_defaults=false;;
18311 --header | --heade | --head | --hea )
18312 $ac_shift
18313 case $ac_optarg in
18314 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18315 esac
18316 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18317 ac_need_defaults=false;;
18318 --he | --h)
18319 # Conflict between --help and --header
18320 as_fn_error $? "ambiguous option: \`$1'
18321 Try \`$0 --help' for more information.";;
18322 --help | --hel | -h )
18323 $as_echo "$ac_cs_usage"; exit ;;
18324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18325 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18326 ac_cs_silent=: ;;
18328 # This is an error.
18329 -*) as_fn_error $? "unrecognized option: \`$1'
18330 Try \`$0 --help' for more information." ;;
18332 *) as_fn_append ac_config_targets " $1"
18333 ac_need_defaults=false ;;
18335 esac
18336 shift
18337 done
18339 ac_configure_extra_args=
18341 if $ac_cs_silent; then
18342 exec 6>/dev/null
18343 ac_configure_extra_args="$ac_configure_extra_args --silent"
18346 _ACEOF
18347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18348 if \$ac_cs_recheck; then
18349 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18350 shift
18351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18352 CONFIG_SHELL='$SHELL'
18353 export CONFIG_SHELL
18354 exec "\$@"
18357 _ACEOF
18358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18359 exec 5>>config.log
18361 echo
18362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18363 ## Running $as_me. ##
18364 _ASBOX
18365 $as_echo "$ac_log"
18366 } >&5
18368 _ACEOF
18369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18371 # INIT-COMMANDS
18373 wine_fn_output_makedep ()
18375 as_dir=tools; as_fn_mkdir_p
18376 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18378 wine_fn_output_makefile ()
18380 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18381 `cat $wine_rules_file`
18382 _WINE_EOF
18383 as_fn_error $? "could not create Makefile" "$LINENO" 5
18385 wine_fn_output_gitignore ()
18387 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18388 $GITIGNORE
18389 _WINE_EOF
18390 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18393 _ACEOF
18395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18397 # Handling of arguments.
18398 for ac_config_target in $ac_config_targets
18400 case $ac_config_target in
18401 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18402 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18403 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18404 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18405 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18406 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18407 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18408 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18409 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18410 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18411 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18412 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18413 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18414 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18416 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18417 esac
18418 done
18421 # If the user did not use the arguments to specify the items to instantiate,
18422 # then the envvar interface is used. Set only those that are not.
18423 # We use the long form for the default assignment because of an extremely
18424 # bizarre bug on SunOS 4.1.3.
18425 if $ac_need_defaults; then
18426 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18427 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18428 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18429 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18432 # Have a temporary directory for convenience. Make it in the build tree
18433 # simply because there is no reason against having it here, and in addition,
18434 # creating and moving files from /tmp can sometimes cause problems.
18435 # Hook for its removal unless debugging.
18436 # Note that there is a small window in which the directory will not be cleaned:
18437 # after its creation but before its name has been assigned to `$tmp'.
18438 $debug ||
18440 tmp= ac_tmp=
18441 trap 'exit_status=$?
18442 : "${ac_tmp:=$tmp}"
18443 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18445 trap 'as_fn_exit 1' 1 2 13 15
18447 # Create a (secure) tmp directory for tmp files.
18450 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18451 test -d "$tmp"
18452 } ||
18454 tmp=./conf$$-$RANDOM
18455 (umask 077 && mkdir "$tmp")
18456 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18457 ac_tmp=$tmp
18459 # Set up the scripts for CONFIG_FILES section.
18460 # No need to generate them if there are no CONFIG_FILES.
18461 # This happens for instance with `./config.status config.h'.
18462 if test -n "$CONFIG_FILES"; then
18465 ac_cr=`echo X | tr X '\015'`
18466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18467 # But we know of no other shell where ac_cr would be empty at this
18468 # point, so we can use a bashism as a fallback.
18469 if test "x$ac_cr" = x; then
18470 eval ac_cr=\$\'\\r\'
18472 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18474 ac_cs_awk_cr='\\r'
18475 else
18476 ac_cs_awk_cr=$ac_cr
18479 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18480 _ACEOF
18484 echo "cat >conf$$subs.awk <<_ACEOF" &&
18485 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18486 echo "_ACEOF"
18487 } >conf$$subs.sh ||
18488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18489 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18490 ac_delim='%!_!# '
18491 for ac_last_try in false false false false false :; do
18492 . ./conf$$subs.sh ||
18493 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18495 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18496 if test $ac_delim_n = $ac_delim_num; then
18497 break
18498 elif $ac_last_try; then
18499 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18500 else
18501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18503 done
18504 rm -f conf$$subs.sh
18506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18507 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18508 _ACEOF
18509 sed -n '
18511 s/^/S["/; s/!.*/"]=/
18514 s/^[^!]*!//
18515 :repl
18516 t repl
18517 s/'"$ac_delim"'$//
18518 t delim
18521 s/\(.\{148\}\)..*/\1/
18522 t more1
18523 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18526 b repl
18527 :more1
18528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18531 s/.\{148\}//
18532 t nl
18533 :delim
18535 s/\(.\{148\}\)..*/\1/
18536 t more2
18537 s/["\\]/\\&/g; s/^/"/; s/$/"/
18540 :more2
18541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18544 s/.\{148\}//
18545 t delim
18546 ' <conf$$subs.awk | sed '
18547 /^[^""]/{
18549 s/\n//
18551 ' >>$CONFIG_STATUS || ac_write_fail=1
18552 rm -f conf$$subs.awk
18553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18554 _ACAWK
18555 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18556 for (key in S) S_is_set[key] = 1
18557 FS = "\a"
18561 line = $ 0
18562 nfields = split(line, field, "@")
18563 substed = 0
18564 len = length(field[1])
18565 for (i = 2; i < nfields; i++) {
18566 key = field[i]
18567 keylen = length(key)
18568 if (S_is_set[key]) {
18569 value = S[key]
18570 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18571 len += length(value) + length(field[++i])
18572 substed = 1
18573 } else
18574 len += 1 + keylen
18577 print line
18580 _ACAWK
18581 _ACEOF
18582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18583 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18584 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18585 else
18587 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18588 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18589 _ACEOF
18591 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18592 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18593 # trailing colons and then remove the whole line if VPATH becomes empty
18594 # (actually we leave an empty line to preserve line numbers).
18595 if test "x$srcdir" = x.; then
18596 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18598 s///
18599 s/^/:/
18600 s/[ ]*$/:/
18601 s/:\$(srcdir):/:/g
18602 s/:\${srcdir}:/:/g
18603 s/:@srcdir@:/:/g
18604 s/^:*//
18605 s/:*$//
18607 s/\(=[ ]*\).*/\1/
18609 s/\n//
18610 s/^[^=]*=[ ]*$//
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18615 fi # test -n "$CONFIG_FILES"
18617 # Set up the scripts for CONFIG_HEADERS section.
18618 # No need to generate them if there are no CONFIG_HEADERS.
18619 # This happens for instance with `./config.status Makefile'.
18620 if test -n "$CONFIG_HEADERS"; then
18621 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18622 BEGIN {
18623 _ACEOF
18625 # Transform confdefs.h into an awk script `defines.awk', embedded as
18626 # here-document in config.status, that substitutes the proper values into
18627 # config.h.in to produce config.h.
18629 # Create a delimiter string that does not exist in confdefs.h, to ease
18630 # handling of long lines.
18631 ac_delim='%!_!# '
18632 for ac_last_try in false false :; do
18633 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18634 if test -z "$ac_tt"; then
18635 break
18636 elif $ac_last_try; then
18637 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18638 else
18639 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18641 done
18643 # For the awk script, D is an array of macro values keyed by name,
18644 # likewise P contains macro parameters if any. Preserve backslash
18645 # newline sequences.
18647 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18648 sed -n '
18649 s/.\{148\}/&'"$ac_delim"'/g
18650 t rset
18651 :rset
18652 s/^[ ]*#[ ]*define[ ][ ]*/ /
18653 t def
18655 :def
18656 s/\\$//
18657 t bsnl
18658 s/["\\]/\\&/g
18659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18660 D["\1"]=" \3"/p
18661 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18663 :bsnl
18664 s/["\\]/\\&/g
18665 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18666 D["\1"]=" \3\\\\\\n"\\/p
18667 t cont
18668 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18669 t cont
18671 :cont
18673 s/.\{148\}/&'"$ac_delim"'/g
18674 t clear
18675 :clear
18676 s/\\$//
18677 t bsnlc
18678 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18680 :bsnlc
18681 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18682 b cont
18683 ' <confdefs.h | sed '
18684 s/'"$ac_delim"'/"\\\
18685 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18688 for (key in D) D_is_set[key] = 1
18689 FS = "\a"
18691 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18692 line = \$ 0
18693 split(line, arg, " ")
18694 if (arg[1] == "#") {
18695 defundef = arg[2]
18696 mac1 = arg[3]
18697 } else {
18698 defundef = substr(arg[1], 2)
18699 mac1 = arg[2]
18701 split(mac1, mac2, "(") #)
18702 macro = mac2[1]
18703 prefix = substr(line, 1, index(line, defundef) - 1)
18704 if (D_is_set[macro]) {
18705 # Preserve the white space surrounding the "#".
18706 print prefix "define", macro P[macro] D[macro]
18707 next
18708 } else {
18709 # Replace #undef with comments. This is necessary, for example,
18710 # in the case of _POSIX_SOURCE, which is predefined and required
18711 # on some systems where configure will not decide to define it.
18712 if (defundef == "undef") {
18713 print "/*", prefix defundef, macro, "*/"
18714 next
18718 { print }
18719 _ACAWK
18720 _ACEOF
18721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18722 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18723 fi # test -n "$CONFIG_HEADERS"
18726 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18727 shift
18728 for ac_tag
18730 case $ac_tag in
18731 :[FHLC]) ac_mode=$ac_tag; continue;;
18732 esac
18733 case $ac_mode$ac_tag in
18734 :[FHL]*:*);;
18735 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18736 :[FH]-) ac_tag=-:-;;
18737 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18738 esac
18739 ac_save_IFS=$IFS
18740 IFS=:
18741 set x $ac_tag
18742 IFS=$ac_save_IFS
18743 shift
18744 ac_file=$1
18745 shift
18747 case $ac_mode in
18748 :L) ac_source=$1;;
18749 :[FH])
18750 ac_file_inputs=
18751 for ac_f
18753 case $ac_f in
18754 -) ac_f="$ac_tmp/stdin";;
18755 *) # Look for the file first in the build tree, then in the source tree
18756 # (if the path is not absolute). The absolute path cannot be DOS-style,
18757 # because $ac_f cannot contain `:'.
18758 test -f "$ac_f" ||
18759 case $ac_f in
18760 [\\/$]*) false;;
18761 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18762 esac ||
18763 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18764 esac
18765 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18766 as_fn_append ac_file_inputs " '$ac_f'"
18767 done
18769 # Let's still pretend it is `configure' which instantiates (i.e., don't
18770 # use $as_me), people would be surprised to read:
18771 # /* config.h. Generated by config.status. */
18772 configure_input='Generated from '`
18773 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18774 `' by configure.'
18775 if test x"$ac_file" != x-; then
18776 configure_input="$ac_file. $configure_input"
18777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18778 $as_echo "$as_me: creating $ac_file" >&6;}
18780 # Neutralize special characters interpreted by sed in replacement strings.
18781 case $configure_input in #(
18782 *\&* | *\|* | *\\* )
18783 ac_sed_conf_input=`$as_echo "$configure_input" |
18784 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18785 *) ac_sed_conf_input=$configure_input;;
18786 esac
18788 case $ac_tag in
18789 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18791 esac
18793 esac
18795 ac_dir=`$as_dirname -- "$ac_file" ||
18796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18797 X"$ac_file" : 'X\(//\)[^/]' \| \
18798 X"$ac_file" : 'X\(//\)$' \| \
18799 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18800 $as_echo X"$ac_file" |
18801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18802 s//\1/
18805 /^X\(\/\/\)[^/].*/{
18806 s//\1/
18809 /^X\(\/\/\)$/{
18810 s//\1/
18813 /^X\(\/\).*/{
18814 s//\1/
18817 s/.*/./; q'`
18818 as_dir="$ac_dir"; as_fn_mkdir_p
18819 ac_builddir=.
18821 case "$ac_dir" in
18822 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18824 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18825 # A ".." for each directory in $ac_dir_suffix.
18826 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18827 case $ac_top_builddir_sub in
18828 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18829 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18830 esac ;;
18831 esac
18832 ac_abs_top_builddir=$ac_pwd
18833 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18834 # for backward compatibility:
18835 ac_top_builddir=$ac_top_build_prefix
18837 case $srcdir in
18838 .) # We are building in place.
18839 ac_srcdir=.
18840 ac_top_srcdir=$ac_top_builddir_sub
18841 ac_abs_top_srcdir=$ac_pwd ;;
18842 [\\/]* | ?:[\\/]* ) # Absolute name.
18843 ac_srcdir=$srcdir$ac_dir_suffix;
18844 ac_top_srcdir=$srcdir
18845 ac_abs_top_srcdir=$srcdir ;;
18846 *) # Relative name.
18847 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18848 ac_top_srcdir=$ac_top_build_prefix$srcdir
18849 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18850 esac
18851 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18854 case $ac_mode in
18857 # CONFIG_FILE
18860 _ACEOF
18862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18863 # If the template does not know about datarootdir, expand it.
18864 # FIXME: This hack should be removed a few years after 2.60.
18865 ac_datarootdir_hack=; ac_datarootdir_seen=
18866 ac_sed_dataroot='
18867 /datarootdir/ {
18871 /@datadir@/p
18872 /@docdir@/p
18873 /@infodir@/p
18874 /@localedir@/p
18875 /@mandir@/p'
18876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18877 *datarootdir*) ac_datarootdir_seen=yes;;
18878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18881 _ACEOF
18882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18883 ac_datarootdir_hack='
18884 s&@datadir@&$datadir&g
18885 s&@docdir@&$docdir&g
18886 s&@infodir@&$infodir&g
18887 s&@localedir@&$localedir&g
18888 s&@mandir@&$mandir&g
18889 s&\\\${datarootdir}&$datarootdir&g' ;;
18890 esac
18891 _ACEOF
18893 # Neutralize VPATH when `$srcdir' = `.'.
18894 # Shell code in configure.ac might set extrasub.
18895 # FIXME: do we really want to maintain this feature?
18896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18897 ac_sed_extra="$ac_vpsub
18898 $extrasub
18899 _ACEOF
18900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18903 s|@configure_input@|$ac_sed_conf_input|;t t
18904 s&@top_builddir@&$ac_top_builddir_sub&;t t
18905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18906 s&@srcdir@&$ac_srcdir&;t t
18907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18908 s&@top_srcdir@&$ac_top_srcdir&;t t
18909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18910 s&@builddir@&$ac_builddir&;t t
18911 s&@abs_builddir@&$ac_abs_builddir&;t t
18912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18913 $ac_datarootdir_hack
18915 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18916 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18918 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18919 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18920 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18921 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18923 which seems to be undefined. Please make sure it is defined" >&5
18924 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18925 which seems to be undefined. Please make sure it is defined" >&2;}
18927 rm -f "$ac_tmp/stdin"
18928 case $ac_file in
18929 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18930 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18931 esac \
18932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18936 # CONFIG_HEADER
18938 if test x"$ac_file" != x-; then
18940 $as_echo "/* $configure_input */" \
18941 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18942 } >"$ac_tmp/config.h" \
18943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18944 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18946 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18947 else
18948 rm -f "$ac_file"
18949 mv "$ac_tmp/config.h" "$ac_file" \
18950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18952 else
18953 $as_echo "/* $configure_input */" \
18954 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18955 || as_fn_error $? "could not create -" "$LINENO" 5
18960 # CONFIG_LINK
18963 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18965 else
18966 # Prefer the file from the source tree if names are identical.
18967 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18968 ac_source=$srcdir/$ac_source
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18972 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18974 if test ! -r "$ac_source"; then
18975 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18977 rm -f "$ac_file"
18979 # Try a relative symlink, then a hard link, then a copy.
18980 case $ac_source in
18981 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18982 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18983 esac
18984 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18985 ln "$ac_source" "$ac_file" 2>/dev/null ||
18986 cp -p "$ac_source" "$ac_file" ||
18987 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18990 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18991 $as_echo "$as_me: executing $ac_file commands" >&6;}
18993 esac
18996 case $ac_file$ac_mode in
18997 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18998 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18999 "Makefile":C) wine_fn_output_makefile Makefile ;;
19000 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19002 esac
19003 done # for ac_tag
19006 as_fn_exit 0
19007 _ACEOF
19008 ac_clean_files=$ac_clean_files_save
19010 test $ac_write_fail = 0 ||
19011 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19014 # configure is writing to config.log, and then calls config.status.
19015 # config.status does its own redirection, appending to config.log.
19016 # Unfortunately, on DOS this fails, as config.log is still kept open
19017 # by configure, so config.status won't be able to write to it; its
19018 # output is simply discarded. So we exec the FD to /dev/null,
19019 # effectively closing config.log, so it can be properly (re)opened and
19020 # appended to by config.status. When coming back to configure, we
19021 # need to make the FD available again.
19022 if test "$no_create" != yes; then
19023 ac_cs_success=:
19024 ac_config_status_args=
19025 test "$silent" = yes &&
19026 ac_config_status_args="$ac_config_status_args --quiet"
19027 exec 5>/dev/null
19028 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19029 exec 5>>config.log
19030 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19031 # would make configure fail if this is the last instruction.
19032 $ac_cs_success || as_fn_exit 1
19034 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19036 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19040 if test "$no_create" = "yes"
19041 then
19042 exit 0
19045 ac_save_IFS="$IFS"
19046 if test "x$wine_notices != "x; then
19047 echo >&6
19048 IFS="|"
19049 for msg in $wine_notices; do
19050 IFS="$ac_save_IFS"
19051 if ${msg:+false} :; then :
19053 else
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19055 $as_echo "$as_me: $msg" >&6;}
19057 done
19059 IFS="|"
19060 for msg in $wine_warnings; do
19061 IFS="$ac_save_IFS"
19062 if ${msg:+false} :; then :
19064 else
19065 echo >&2
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19067 $as_echo "$as_me: WARNING: $msg" >&2;}
19069 done
19070 IFS="$ac_save_IFS"
19072 $as_echo "
19073 $as_me: Finished. Do '${ac_make}' to compile Wine.
19074 " >&6