dwrite: Implement GetScriptProperties().
[wine.git] / configure
blob4279f6113c05194374b8c69c85963d6b1b27f0c9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.27.
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.27'
584 PACKAGE_STRING='Wine 1.7.27'
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_ktmw32
1072 enable_loadperf
1073 enable_localspl
1074 enable_localui
1075 enable_lz32
1076 enable_mapi32
1077 enable_mapistub
1078 enable_mciavi32
1079 enable_mcicda
1080 enable_mciqtz32
1081 enable_mciseq
1082 enable_mciwave
1083 enable_mgmtapi
1084 enable_midimap
1085 enable_mlang
1086 enable_mmcndmgr
1087 enable_mmdevapi
1088 enable_mountmgr_sys
1089 enable_mpr
1090 enable_mprapi
1091 enable_msacm32_drv
1092 enable_msacm32
1093 enable_msadp32_acm
1094 enable_msasn1
1095 enable_mscat32
1096 enable_mscms
1097 enable_mscoree
1098 enable_msctf
1099 enable_msdaps
1100 enable_msdmo
1101 enable_msftedit
1102 enable_msg711_acm
1103 enable_msgsm32_acm
1104 enable_mshtml_tlb
1105 enable_mshtml
1106 enable_msi
1107 enable_msident
1108 enable_msimg32
1109 enable_msimsg
1110 enable_msimtf
1111 enable_msisip
1112 enable_msisys_ocx
1113 enable_msls31
1114 enable_msnet32
1115 enable_mspatcha
1116 enable_msrle32
1117 enable_mssign32
1118 enable_mssip32
1119 enable_mstask
1120 enable_msvcirt
1121 enable_msvcm80
1122 enable_msvcm90
1123 enable_msvcp100
1124 enable_msvcp110
1125 enable_msvcp60
1126 enable_msvcp70
1127 enable_msvcp71
1128 enable_msvcp80
1129 enable_msvcp90
1130 enable_msvcr100
1131 enable_msvcr110
1132 enable_msvcr70
1133 enable_msvcr71
1134 enable_msvcr80
1135 enable_msvcr90
1136 enable_msvcrt
1137 enable_msvcrt20
1138 enable_msvcrt40
1139 enable_msvcrtd
1140 enable_msvfw32
1141 enable_msvidc32
1142 enable_mswsock
1143 enable_msxml
1144 enable_msxml2
1145 enable_msxml3
1146 enable_msxml4
1147 enable_msxml6
1148 enable_nddeapi
1149 enable_netapi32
1150 enable_netcfgx
1151 enable_netprofm
1152 enable_newdev
1153 enable_normaliz
1154 enable_npmshtml
1155 enable_npptools
1156 enable_ntdll
1157 enable_ntdsapi
1158 enable_ntoskrnl_exe
1159 enable_ntprint
1160 enable_objsel
1161 enable_odbc32
1162 enable_odbccp32
1163 enable_odbccu32
1164 enable_ole32
1165 enable_oleacc
1166 enable_oleaut32
1167 enable_olecli32
1168 enable_oledb32
1169 enable_oledlg
1170 enable_olepro32
1171 enable_olesvr32
1172 enable_olethk32
1173 enable_openal32
1174 enable_opencl
1175 enable_opengl32
1176 enable_packager
1177 enable_pdh
1178 enable_photometadatahandler
1179 enable_pidgen
1180 enable_powrprof
1181 enable_printui
1182 enable_propsys
1183 enable_psapi
1184 enable_pstorec
1185 enable_qcap
1186 enable_qedit
1187 enable_qmgr
1188 enable_qmgrprxy
1189 enable_quartz
1190 enable_query
1191 enable_rasapi32
1192 enable_rasdlg
1193 enable_regapi
1194 enable_resutils
1195 enable_riched20
1196 enable_riched32
1197 enable_rpcrt4
1198 enable_rsabase
1199 enable_rsaenh
1200 enable_rstrtmgr
1201 enable_rtutils
1202 enable_samlib
1203 enable_sane_ds
1204 enable_scarddlg
1205 enable_sccbase
1206 enable_schannel
1207 enable_schedsvc
1208 enable_scrrun
1209 enable_scsiport_sys
1210 enable_secur32
1211 enable_security
1212 enable_sensapi
1213 enable_serialui
1214 enable_setupapi
1215 enable_sfc
1216 enable_sfc_os
1217 enable_shdoclc
1218 enable_shdocvw
1219 enable_shell32
1220 enable_shfolder
1221 enable_shlwapi
1222 enable_slbcsp
1223 enable_slc
1224 enable_snmpapi
1225 enable_softpub
1226 enable_spoolss
1227 enable_stdole2_tlb
1228 enable_stdole32_tlb
1229 enable_sti
1230 enable_svrapi
1231 enable_sxs
1232 enable_t2embed
1233 enable_tapi32
1234 enable_taskschd
1235 enable_traffic
1236 enable_twain_32
1237 enable_unicows
1238 enable_updspapi
1239 enable_url
1240 enable_urlmon
1241 enable_usbd_sys
1242 enable_user32
1243 enable_userenv
1244 enable_usp10
1245 enable_uxtheme
1246 enable_vbscript
1247 enable_vcomp
1248 enable_vcomp100
1249 enable_vcomp90
1250 enable_vdmdbg
1251 enable_version
1252 enable_wbemdisp
1253 enable_wbemprox
1254 enable_webservices
1255 enable_wer
1256 enable_wevtapi
1257 enable_wiaservc
1258 enable_windowscodecs
1259 enable_windowscodecsext
1260 enable_winealsa_drv
1261 enable_winecoreaudio_drv
1262 enable_wined3d
1263 enable_winegstreamer
1264 enable_winejoystick_drv
1265 enable_winemac_drv
1266 enable_winemapi
1267 enable_winemp3_acm
1268 enable_wineoss_drv
1269 enable_wineps_drv
1270 enable_wineqtdecoder
1271 enable_winex11_drv
1272 enable_wing32
1273 enable_winhttp
1274 enable_wininet
1275 enable_winmm
1276 enable_winnls32
1277 enable_winscard
1278 enable_winspool_drv
1279 enable_winsta
1280 enable_wintab32
1281 enable_wintrust
1282 enable_wlanapi
1283 enable_wldap32
1284 enable_wmi
1285 enable_wmiutils
1286 enable_wmp
1287 enable_wmvcore
1288 enable_wnaspi32
1289 enable_wpcap
1290 enable_ws2_32
1291 enable_wshom_ocx
1292 enable_wsnmp32
1293 enable_wsock32
1294 enable_wtsapi32
1295 enable_wuapi
1296 enable_wuaueng
1297 enable_xapofx1_1
1298 enable_xinput1_1
1299 enable_xinput1_2
1300 enable_xinput1_3
1301 enable_xinput1_4
1302 enable_xinput9_1_0
1303 enable_xmllite
1304 enable_xolehlp
1305 enable_xpsprint
1306 enable_xpssvcs
1307 enable_documentation
1308 enable_fonts
1309 enable_include
1310 enable_libs_port
1311 enable_libs_wine
1312 enable_libs_wpp
1313 enable_loader
1314 enable_arp
1315 enable_aspnet_regiis
1316 enable_attrib
1317 enable_cabarc
1318 enable_cacls
1319 enable_clock
1320 enable_cmd
1321 enable_conhost
1322 enable_control
1323 enable_cscript
1324 enable_dpnsvr
1325 enable_dxdiag
1326 enable_eject
1327 enable_expand
1328 enable_explorer
1329 enable_extrac32
1330 enable_findstr
1331 enable_hh
1332 enable_hostname
1333 enable_icinfo
1334 enable_iexplore
1335 enable_ipconfig
1336 enable_lodctr
1337 enable_mofcomp
1338 enable_mshta
1339 enable_msiexec
1340 enable_net
1341 enable_netsh
1342 enable_netstat
1343 enable_ngen
1344 enable_notepad
1345 enable_oleview
1346 enable_ping
1347 enable_plugplay
1348 enable_presentationfontcache
1349 enable_progman
1350 enable_reg
1351 enable_regasm
1352 enable_regedit
1353 enable_regsvcs
1354 enable_regsvr32
1355 enable_rpcss
1356 enable_rundll32
1357 enable_sc
1358 enable_schtasks
1359 enable_sdbinst
1360 enable_secedit
1361 enable_servicemodelreg
1362 enable_services
1363 enable_spoolsv
1364 enable_start
1365 enable_svchost
1366 enable_taskkill
1367 enable_tasklist
1368 enable_taskmgr
1369 enable_termsv
1370 enable_uninstaller
1371 enable_unlodctr
1372 enable_view
1373 enable_wevtutil
1374 enable_wineboot
1375 enable_winebrowser
1376 enable_winecfg
1377 enable_wineconsole
1378 enable_winedbg
1379 enable_winedevice
1380 enable_winefile
1381 enable_winemenubuilder
1382 enable_winemine
1383 enable_winemsibuilder
1384 enable_winepath
1385 enable_winetest
1386 enable_winhlp32
1387 enable_winver
1388 enable_wmic
1389 enable_wordpad
1390 enable_write
1391 enable_wscript
1392 enable_wusa
1393 enable_xcopy
1394 enable_server
1395 enable_tools
1397 ac_precious_vars='build_alias
1398 host_alias
1399 target_alias
1401 CFLAGS
1402 LDFLAGS
1403 LIBS
1404 CPPFLAGS
1406 CXXFLAGS
1409 XMKMF
1410 XML2_CFLAGS
1411 XML2_LIBS
1412 XSLT_CFLAGS
1413 XSLT_LIBS
1414 DBUS_CFLAGS
1415 DBUS_LIBS
1416 HAL_CFLAGS
1417 HAL_LIBS
1418 GNUTLS_CFLAGS
1419 GNUTLS_LIBS
1420 SANE_CFLAGS
1421 SANE_LIBS
1422 GPHOTO2_CFLAGS
1423 GPHOTO2_LIBS
1424 GPHOTO2_PORT_CFLAGS
1425 GPHOTO2_PORT_LIBS
1426 LCMS2_CFLAGS
1427 LCMS2_LIBS
1428 FREETYPE_CFLAGS
1429 FREETYPE_LIBS
1430 GSTREAMER_CFLAGS
1431 GSTREAMER_LIBS
1432 CAPI20_CFLAGS
1433 CAPI20_LIBS
1434 FONTCONFIG_CFLAGS
1435 FONTCONFIG_LIBS
1436 JPEG_CFLAGS
1437 JPEG_LIBS
1438 PNG_CFLAGS
1439 PNG_LIBS
1440 TIFF_CFLAGS
1441 TIFF_LIBS
1442 MPG123_CFLAGS
1443 MPG123_LIBS'
1446 # Initialize some variables set by options.
1447 ac_init_help=
1448 ac_init_version=false
1449 ac_unrecognized_opts=
1450 ac_unrecognized_sep=
1451 # The variables have the same names as the options, with
1452 # dashes changed to underlines.
1453 cache_file=/dev/null
1454 exec_prefix=NONE
1455 no_create=
1456 no_recursion=
1457 prefix=NONE
1458 program_prefix=NONE
1459 program_suffix=NONE
1460 program_transform_name=s,x,x,
1461 silent=
1462 site=
1463 srcdir=
1464 verbose=
1465 x_includes=NONE
1466 x_libraries=NONE
1468 # Installation directory options.
1469 # These are left unexpanded so users can "make install exec_prefix=/foo"
1470 # and all the variables that are supposed to be based on exec_prefix
1471 # by default will actually change.
1472 # Use braces instead of parens because sh, perl, etc. also accept them.
1473 # (The list follows the same order as the GNU Coding Standards.)
1474 bindir='${exec_prefix}/bin'
1475 sbindir='${exec_prefix}/sbin'
1476 libexecdir='${exec_prefix}/libexec'
1477 datarootdir='${prefix}/share'
1478 datadir='${datarootdir}'
1479 sysconfdir='${prefix}/etc'
1480 sharedstatedir='${prefix}/com'
1481 localstatedir='${prefix}/var'
1482 includedir='${prefix}/include'
1483 oldincludedir='/usr/include'
1484 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1485 infodir='${datarootdir}/info'
1486 htmldir='${docdir}'
1487 dvidir='${docdir}'
1488 pdfdir='${docdir}'
1489 psdir='${docdir}'
1490 libdir='${exec_prefix}/lib'
1491 localedir='${datarootdir}/locale'
1492 mandir='${datarootdir}/man'
1494 ac_prev=
1495 ac_dashdash=
1496 for ac_option
1498 # If the previous option needs an argument, assign it.
1499 if test -n "$ac_prev"; then
1500 eval $ac_prev=\$ac_option
1501 ac_prev=
1502 continue
1505 case $ac_option in
1506 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1507 *=) ac_optarg= ;;
1508 *) ac_optarg=yes ;;
1509 esac
1511 # Accept the important Cygnus configure options, so we can diagnose typos.
1513 case $ac_dashdash$ac_option in
1515 ac_dashdash=yes ;;
1517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1518 ac_prev=bindir ;;
1519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1520 bindir=$ac_optarg ;;
1522 -build | --build | --buil | --bui | --bu)
1523 ac_prev=build_alias ;;
1524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1525 build_alias=$ac_optarg ;;
1527 -cache-file | --cache-file | --cache-fil | --cache-fi \
1528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1529 ac_prev=cache_file ;;
1530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1532 cache_file=$ac_optarg ;;
1534 --config-cache | -C)
1535 cache_file=config.cache ;;
1537 -datadir | --datadir | --datadi | --datad)
1538 ac_prev=datadir ;;
1539 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1540 datadir=$ac_optarg ;;
1542 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1543 | --dataroo | --dataro | --datar)
1544 ac_prev=datarootdir ;;
1545 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1546 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1547 datarootdir=$ac_optarg ;;
1549 -disable-* | --disable-*)
1550 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1551 # Reject names that are not valid shell variable names.
1552 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1553 as_fn_error $? "invalid feature name: $ac_useropt"
1554 ac_useropt_orig=$ac_useropt
1555 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1556 case $ac_user_opts in
1558 "enable_$ac_useropt"
1559 "*) ;;
1560 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1561 ac_unrecognized_sep=', ';;
1562 esac
1563 eval enable_$ac_useropt=no ;;
1565 -docdir | --docdir | --docdi | --doc | --do)
1566 ac_prev=docdir ;;
1567 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1568 docdir=$ac_optarg ;;
1570 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1571 ac_prev=dvidir ;;
1572 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1573 dvidir=$ac_optarg ;;
1575 -enable-* | --enable-*)
1576 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1577 # Reject names that are not valid shell variable names.
1578 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1579 as_fn_error $? "invalid feature name: $ac_useropt"
1580 ac_useropt_orig=$ac_useropt
1581 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1582 case $ac_user_opts in
1584 "enable_$ac_useropt"
1585 "*) ;;
1586 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1587 ac_unrecognized_sep=', ';;
1588 esac
1589 eval enable_$ac_useropt=\$ac_optarg ;;
1591 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1592 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1593 | --exec | --exe | --ex)
1594 ac_prev=exec_prefix ;;
1595 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1596 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1597 | --exec=* | --exe=* | --ex=*)
1598 exec_prefix=$ac_optarg ;;
1600 -gas | --gas | --ga | --g)
1601 # Obsolete; use --with-gas.
1602 with_gas=yes ;;
1604 -help | --help | --hel | --he | -h)
1605 ac_init_help=long ;;
1606 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1607 ac_init_help=recursive ;;
1608 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1609 ac_init_help=short ;;
1611 -host | --host | --hos | --ho)
1612 ac_prev=host_alias ;;
1613 -host=* | --host=* | --hos=* | --ho=*)
1614 host_alias=$ac_optarg ;;
1616 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1617 ac_prev=htmldir ;;
1618 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1619 | --ht=*)
1620 htmldir=$ac_optarg ;;
1622 -includedir | --includedir | --includedi | --included | --include \
1623 | --includ | --inclu | --incl | --inc)
1624 ac_prev=includedir ;;
1625 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1626 | --includ=* | --inclu=* | --incl=* | --inc=*)
1627 includedir=$ac_optarg ;;
1629 -infodir | --infodir | --infodi | --infod | --info | --inf)
1630 ac_prev=infodir ;;
1631 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1632 infodir=$ac_optarg ;;
1634 -libdir | --libdir | --libdi | --libd)
1635 ac_prev=libdir ;;
1636 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1637 libdir=$ac_optarg ;;
1639 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1640 | --libexe | --libex | --libe)
1641 ac_prev=libexecdir ;;
1642 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1643 | --libexe=* | --libex=* | --libe=*)
1644 libexecdir=$ac_optarg ;;
1646 -localedir | --localedir | --localedi | --localed | --locale)
1647 ac_prev=localedir ;;
1648 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1649 localedir=$ac_optarg ;;
1651 -localstatedir | --localstatedir | --localstatedi | --localstated \
1652 | --localstate | --localstat | --localsta | --localst | --locals)
1653 ac_prev=localstatedir ;;
1654 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1655 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1656 localstatedir=$ac_optarg ;;
1658 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1659 ac_prev=mandir ;;
1660 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1661 mandir=$ac_optarg ;;
1663 -nfp | --nfp | --nf)
1664 # Obsolete; use --without-fp.
1665 with_fp=no ;;
1667 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1668 | --no-cr | --no-c | -n)
1669 no_create=yes ;;
1671 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1672 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1673 no_recursion=yes ;;
1675 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1676 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1677 | --oldin | --oldi | --old | --ol | --o)
1678 ac_prev=oldincludedir ;;
1679 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1680 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1681 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1682 oldincludedir=$ac_optarg ;;
1684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1685 ac_prev=prefix ;;
1686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1687 prefix=$ac_optarg ;;
1689 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1690 | --program-pre | --program-pr | --program-p)
1691 ac_prev=program_prefix ;;
1692 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1693 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1694 program_prefix=$ac_optarg ;;
1696 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1697 | --program-suf | --program-su | --program-s)
1698 ac_prev=program_suffix ;;
1699 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1700 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1701 program_suffix=$ac_optarg ;;
1703 -program-transform-name | --program-transform-name \
1704 | --program-transform-nam | --program-transform-na \
1705 | --program-transform-n | --program-transform- \
1706 | --program-transform | --program-transfor \
1707 | --program-transfo | --program-transf \
1708 | --program-trans | --program-tran \
1709 | --progr-tra | --program-tr | --program-t)
1710 ac_prev=program_transform_name ;;
1711 -program-transform-name=* | --program-transform-name=* \
1712 | --program-transform-nam=* | --program-transform-na=* \
1713 | --program-transform-n=* | --program-transform-=* \
1714 | --program-transform=* | --program-transfor=* \
1715 | --program-transfo=* | --program-transf=* \
1716 | --program-trans=* | --program-tran=* \
1717 | --progr-tra=* | --program-tr=* | --program-t=*)
1718 program_transform_name=$ac_optarg ;;
1720 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1721 ac_prev=pdfdir ;;
1722 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1723 pdfdir=$ac_optarg ;;
1725 -psdir | --psdir | --psdi | --psd | --ps)
1726 ac_prev=psdir ;;
1727 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1728 psdir=$ac_optarg ;;
1730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1731 | -silent | --silent | --silen | --sile | --sil)
1732 silent=yes ;;
1734 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1735 ac_prev=sbindir ;;
1736 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1737 | --sbi=* | --sb=*)
1738 sbindir=$ac_optarg ;;
1740 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1741 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1742 | --sharedst | --shareds | --shared | --share | --shar \
1743 | --sha | --sh)
1744 ac_prev=sharedstatedir ;;
1745 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1746 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1747 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1748 | --sha=* | --sh=*)
1749 sharedstatedir=$ac_optarg ;;
1751 -site | --site | --sit)
1752 ac_prev=site ;;
1753 -site=* | --site=* | --sit=*)
1754 site=$ac_optarg ;;
1756 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1757 ac_prev=srcdir ;;
1758 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1759 srcdir=$ac_optarg ;;
1761 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1762 | --syscon | --sysco | --sysc | --sys | --sy)
1763 ac_prev=sysconfdir ;;
1764 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1765 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1766 sysconfdir=$ac_optarg ;;
1768 -target | --target | --targe | --targ | --tar | --ta | --t)
1769 ac_prev=target_alias ;;
1770 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1771 target_alias=$ac_optarg ;;
1773 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1774 verbose=yes ;;
1776 -version | --version | --versio | --versi | --vers | -V)
1777 ac_init_version=: ;;
1779 -with-* | --with-*)
1780 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1781 # Reject names that are not valid shell variable names.
1782 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1783 as_fn_error $? "invalid package name: $ac_useropt"
1784 ac_useropt_orig=$ac_useropt
1785 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1786 case $ac_user_opts in
1788 "with_$ac_useropt"
1789 "*) ;;
1790 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1791 ac_unrecognized_sep=', ';;
1792 esac
1793 eval with_$ac_useropt=\$ac_optarg ;;
1795 -without-* | --without-*)
1796 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1797 # Reject names that are not valid shell variable names.
1798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1799 as_fn_error $? "invalid package name: $ac_useropt"
1800 ac_useropt_orig=$ac_useropt
1801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1802 case $ac_user_opts in
1804 "with_$ac_useropt"
1805 "*) ;;
1806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1807 ac_unrecognized_sep=', ';;
1808 esac
1809 eval with_$ac_useropt=no ;;
1811 --x)
1812 # Obsolete; use --with-x.
1813 with_x=yes ;;
1815 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1816 | --x-incl | --x-inc | --x-in | --x-i)
1817 ac_prev=x_includes ;;
1818 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1819 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1820 x_includes=$ac_optarg ;;
1822 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1823 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1824 ac_prev=x_libraries ;;
1825 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1826 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1827 x_libraries=$ac_optarg ;;
1829 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1830 Try \`$0 --help' for more information"
1833 *=*)
1834 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1835 # Reject names that are not valid shell variable names.
1836 case $ac_envvar in #(
1837 '' | [0-9]* | *[!_$as_cr_alnum]* )
1838 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1839 esac
1840 eval $ac_envvar=\$ac_optarg
1841 export $ac_envvar ;;
1844 # FIXME: should be removed in autoconf 3.0.
1845 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1846 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1847 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1848 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1851 esac
1852 done
1854 if test -n "$ac_prev"; then
1855 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1856 as_fn_error $? "missing argument to $ac_option"
1859 if test -n "$ac_unrecognized_opts"; then
1860 case $enable_option_checking in
1861 no) ;;
1862 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1863 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1864 esac
1867 # Check all directory arguments for consistency.
1868 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1869 datadir sysconfdir sharedstatedir localstatedir includedir \
1870 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1871 libdir localedir mandir
1873 eval ac_val=\$$ac_var
1874 # Remove trailing slashes.
1875 case $ac_val in
1876 */ )
1877 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1878 eval $ac_var=\$ac_val;;
1879 esac
1880 # Be sure to have absolute directory names.
1881 case $ac_val in
1882 [\\/$]* | ?:[\\/]* ) continue;;
1883 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1884 esac
1885 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1886 done
1888 # There might be people who depend on the old broken behavior: `$host'
1889 # used to hold the argument of --host etc.
1890 # FIXME: To remove some day.
1891 build=$build_alias
1892 host=$host_alias
1893 target=$target_alias
1895 # FIXME: To remove some day.
1896 if test "x$host_alias" != x; then
1897 if test "x$build_alias" = x; then
1898 cross_compiling=maybe
1899 elif test "x$build_alias" != "x$host_alias"; then
1900 cross_compiling=yes
1904 ac_tool_prefix=
1905 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1907 test "$silent" = yes && exec 6>/dev/null
1910 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1911 ac_ls_di=`ls -di .` &&
1912 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1913 as_fn_error $? "working directory cannot be determined"
1914 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1915 as_fn_error $? "pwd does not report name of working directory"
1918 # Find the source files, if location was not specified.
1919 if test -z "$srcdir"; then
1920 ac_srcdir_defaulted=yes
1921 # Try the directory containing this script, then the parent directory.
1922 ac_confdir=`$as_dirname -- "$as_myself" ||
1923 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1924 X"$as_myself" : 'X\(//\)[^/]' \| \
1925 X"$as_myself" : 'X\(//\)$' \| \
1926 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1927 $as_echo X"$as_myself" |
1928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1929 s//\1/
1932 /^X\(\/\/\)[^/].*/{
1933 s//\1/
1936 /^X\(\/\/\)$/{
1937 s//\1/
1940 /^X\(\/\).*/{
1941 s//\1/
1944 s/.*/./; q'`
1945 srcdir=$ac_confdir
1946 if test ! -r "$srcdir/$ac_unique_file"; then
1947 srcdir=..
1949 else
1950 ac_srcdir_defaulted=no
1952 if test ! -r "$srcdir/$ac_unique_file"; then
1953 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1954 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1956 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1957 ac_abs_confdir=`(
1958 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1959 pwd)`
1960 # When building in place, set srcdir=.
1961 if test "$ac_abs_confdir" = "$ac_pwd"; then
1962 srcdir=.
1964 # Remove unnecessary trailing slashes from srcdir.
1965 # Double slashes in file names in object file debugging info
1966 # mess up M-x gdb in Emacs.
1967 case $srcdir in
1968 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1969 esac
1970 for ac_var in $ac_precious_vars; do
1971 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1972 eval ac_env_${ac_var}_value=\$${ac_var}
1973 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1974 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1975 done
1978 # Report the --help message.
1980 if test "$ac_init_help" = "long"; then
1981 # Omit some internal or obsolete options to make the list less imposing.
1982 # This message is too long to be a string in the A/UX 3.1 sh.
1983 cat <<_ACEOF
1984 \`configure' configures Wine 1.7.27 to adapt to many kinds of systems.
1986 Usage: $0 [OPTION]... [VAR=VALUE]...
1988 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1989 VAR=VALUE. See below for descriptions of some of the useful variables.
1991 Defaults for the options are specified in brackets.
1993 Configuration:
1994 -h, --help display this help and exit
1995 --help=short display options specific to this package
1996 --help=recursive display the short help of all the included packages
1997 -V, --version display version information and exit
1998 -q, --quiet, --silent do not print \`checking ...' messages
1999 --cache-file=FILE cache test results in FILE [disabled]
2000 -C, --config-cache alias for \`--cache-file=config.cache'
2001 -n, --no-create do not create output files
2002 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2004 Installation directories:
2005 --prefix=PREFIX install architecture-independent files in PREFIX
2006 [$ac_default_prefix]
2007 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2008 [PREFIX]
2010 By default, \`make install' will install all the files in
2011 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2012 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2013 for instance \`--prefix=\$HOME'.
2015 For better control, use the options below.
2017 Fine tuning of the installation directories:
2018 --bindir=DIR user executables [EPREFIX/bin]
2019 --sbindir=DIR system admin executables [EPREFIX/sbin]
2020 --libexecdir=DIR program executables [EPREFIX/libexec]
2021 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2022 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2023 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2024 --libdir=DIR object code libraries [EPREFIX/lib]
2025 --includedir=DIR C header files [PREFIX/include]
2026 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2027 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2028 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2029 --infodir=DIR info documentation [DATAROOTDIR/info]
2030 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2031 --mandir=DIR man documentation [DATAROOTDIR/man]
2032 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2033 --htmldir=DIR html documentation [DOCDIR]
2034 --dvidir=DIR dvi documentation [DOCDIR]
2035 --pdfdir=DIR pdf documentation [DOCDIR]
2036 --psdir=DIR ps documentation [DOCDIR]
2037 _ACEOF
2039 cat <<\_ACEOF
2041 X features:
2042 --x-includes=DIR X include files are in DIR
2043 --x-libraries=DIR X library files are in DIR
2045 System types:
2046 --build=BUILD configure for building on BUILD [guessed]
2047 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2048 _ACEOF
2051 if test -n "$ac_init_help"; then
2052 case $ac_init_help in
2053 short | recursive ) echo "Configuration of Wine 1.7.27:";;
2054 esac
2055 cat <<\_ACEOF
2057 Optional Features:
2058 --disable-option-checking ignore unrecognized --enable/--with options
2059 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2060 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2061 --disable-win16 do not include Win16 support
2062 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2063 binaries)
2064 --disable-tests do not build the regression tests
2065 --enable-maintainer-mode
2066 enable maintainer-specific build rules
2067 --disable-largefile omit support for large files
2069 Optional Packages:
2070 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2071 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2072 --without-alsa do not use the Alsa sound support
2073 --without-capi do not use CAPI (ISDN support)
2074 --without-cms do not use CMS (color management support)
2075 --without-coreaudio do not use the CoreAudio sound support
2076 --without-cups do not use CUPS
2077 --without-curses do not use (n)curses
2078 --without-dbus do not use DBus (dynamic device support)
2079 --without-fontconfig do not use fontconfig
2080 --without-freetype do not use the FreeType library
2081 --without-gettext do not use gettext
2082 --with-gettextpo use the GetTextPO library to rebuild po files
2083 --without-gphoto do not use gphoto (Digital Camera support)
2084 --without-glu do not use the GLU library
2085 --without-gnutls do not use GnuTLS (schannel support)
2086 --without-gsm do not use libgsm (GSM 06.10 codec support)
2087 --without-gstreamer do not use GStreamer (codecs support)
2088 --without-hal do not use HAL (dynamic device support)
2089 --without-jpeg do not use JPEG
2090 --without-ldap do not use LDAP
2091 --without-mpg123 do not use the mpg123 library
2092 --without-netapi do not use the Samba NetAPI library
2093 --without-openal do not use OpenAL
2094 --without-opencl do not use OpenCL
2095 --without-opengl do not use OpenGL
2096 --without-osmesa do not use the OSMesa library
2097 --without-oss do not use the OSS sound support
2098 --without-pcap do not use the Packet Capture library
2099 --without-png do not use PNG
2100 --without-pthread do not use the pthread library
2101 --without-sane do not use SANE (scanner support)
2102 --without-tiff do not use TIFF
2103 --without-v4l do not use v4l1 (v4l support)
2104 --without-xcomposite do not use the Xcomposite extension
2105 --without-xcursor do not use the Xcursor extension
2106 --without-xinerama do not use Xinerama (multi-monitor support)
2107 --without-xinput do not use the Xinput extension
2108 --without-xinput2 do not use the Xinput 2 extension
2109 --without-xml do not use XML
2110 --without-xrandr do not use Xrandr (resolution changes)
2111 --without-xrender do not use the Xrender extension
2112 --without-xshape do not use the Xshape extension
2113 --without-xshm do not use XShm (shared memory extension)
2114 --without-xslt do not use XSLT
2115 --without-xxf86vm do not use XFree video mode extension
2116 --without-zlib do not use Zlib (data compression)
2117 --with-wine-tools=DIR use Wine tools from directory DIR
2118 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2119 --with-x use the X Window System
2121 Some influential environment variables:
2122 CC C compiler command
2123 CFLAGS C compiler flags
2124 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2125 nonstandard directory <lib dir>
2126 LIBS libraries to pass to the linker, e.g. -l<library>
2127 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2128 you have headers in a nonstandard directory <include dir>
2129 CXX C++ compiler command
2130 CXXFLAGS C++ compiler flags
2131 CPP C preprocessor
2132 XMKMF Path to xmkmf, Makefile generator for X Window System
2133 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2134 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2135 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2136 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2137 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2138 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2139 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2140 HAL_LIBS Linker flags for hal, overriding pkg-config
2141 GNUTLS_CFLAGS
2142 C compiler flags for gnutls, overriding pkg-config
2143 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2144 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2145 SANE_LIBS Linker flags for libsane, overriding pkg-config
2146 GPHOTO2_CFLAGS
2147 C compiler flags for libgphoto2, overriding pkg-config
2148 GPHOTO2_LIBS
2149 Linker flags for libgphoto2, overriding pkg-config
2150 GPHOTO2_PORT_CFLAGS
2151 C compiler flags for libgphoto2_port, overriding pkg-config
2152 GPHOTO2_PORT_LIBS
2153 Linker flags for libgphoto2_port, overriding pkg-config
2154 LCMS2_CFLAGS
2155 C compiler flags for lcms2, overriding pkg-config
2156 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2157 FREETYPE_CFLAGS
2158 C compiler flags for freetype2, overriding pkg-config
2159 FREETYPE_LIBS
2160 Linker flags for freetype2, overriding pkg-config
2161 GSTREAMER_CFLAGS
2162 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2163 GSTREAMER_LIBS
2164 Linker flags for gstreamer-app-0.10, overriding pkg-config
2165 CAPI20_CFLAGS
2166 C compiler flags for capi20, overriding pkg-config
2167 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2168 FONTCONFIG_CFLAGS
2169 C compiler flags for fontconfig, overriding pkg-config
2170 FONTCONFIG_LIBS
2171 Linker flags for fontconfig, overriding pkg-config
2172 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2173 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2174 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2175 PNG_LIBS Linker flags for libpng, overriding pkg-config
2176 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2177 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2178 MPG123_CFLAGS
2179 C compiler flags for libmpg123, overriding pkg-config
2180 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2182 Use these variables to override the choices made by `configure' or to help
2183 it to find libraries and programs with nonstandard names/locations.
2185 Report bugs to <wine-devel@winehq.org>.
2186 Wine home page: <http://www.winehq.org>.
2187 _ACEOF
2188 ac_status=$?
2191 if test "$ac_init_help" = "recursive"; then
2192 # If there are subdirs, report their specific --help.
2193 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2194 test -d "$ac_dir" ||
2195 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2196 continue
2197 ac_builddir=.
2199 case "$ac_dir" in
2200 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2202 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2203 # A ".." for each directory in $ac_dir_suffix.
2204 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2205 case $ac_top_builddir_sub in
2206 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2207 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2208 esac ;;
2209 esac
2210 ac_abs_top_builddir=$ac_pwd
2211 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2212 # for backward compatibility:
2213 ac_top_builddir=$ac_top_build_prefix
2215 case $srcdir in
2216 .) # We are building in place.
2217 ac_srcdir=.
2218 ac_top_srcdir=$ac_top_builddir_sub
2219 ac_abs_top_srcdir=$ac_pwd ;;
2220 [\\/]* | ?:[\\/]* ) # Absolute name.
2221 ac_srcdir=$srcdir$ac_dir_suffix;
2222 ac_top_srcdir=$srcdir
2223 ac_abs_top_srcdir=$srcdir ;;
2224 *) # Relative name.
2225 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2226 ac_top_srcdir=$ac_top_build_prefix$srcdir
2227 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2228 esac
2229 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2231 cd "$ac_dir" || { ac_status=$?; continue; }
2232 # Check for guested configure.
2233 if test -f "$ac_srcdir/configure.gnu"; then
2234 echo &&
2235 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2236 elif test -f "$ac_srcdir/configure"; then
2237 echo &&
2238 $SHELL "$ac_srcdir/configure" --help=recursive
2239 else
2240 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2241 fi || ac_status=$?
2242 cd "$ac_pwd" || { ac_status=$?; break; }
2243 done
2246 test -n "$ac_init_help" && exit $ac_status
2247 if $ac_init_version; then
2248 cat <<\_ACEOF
2249 Wine configure 1.7.27
2250 generated by GNU Autoconf 2.69
2252 Copyright (C) 2012 Free Software Foundation, Inc.
2253 This configure script is free software; the Free Software Foundation
2254 gives unlimited permission to copy, distribute and modify it.
2255 _ACEOF
2256 exit
2259 ## ------------------------ ##
2260 ## Autoconf initialization. ##
2261 ## ------------------------ ##
2263 # ac_fn_c_try_compile LINENO
2264 # --------------------------
2265 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2266 ac_fn_c_try_compile ()
2268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269 rm -f conftest.$ac_objext
2270 if { { ac_try="$ac_compile"
2271 case "(($ac_try" in
2272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273 *) ac_try_echo=$ac_try;;
2274 esac
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2276 $as_echo "$ac_try_echo"; } >&5
2277 (eval "$ac_compile") 2>conftest.err
2278 ac_status=$?
2279 if test -s conftest.err; then
2280 grep -v '^ *+' conftest.err >conftest.er1
2281 cat conftest.er1 >&5
2282 mv -f conftest.er1 conftest.err
2284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 test $ac_status = 0; } && {
2286 test -z "$ac_c_werror_flag" ||
2287 test ! -s conftest.err
2288 } && test -s conftest.$ac_objext; then :
2289 ac_retval=0
2290 else
2291 $as_echo "$as_me: failed program was:" >&5
2292 sed 's/^/| /' conftest.$ac_ext >&5
2294 ac_retval=1
2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 as_fn_set_status $ac_retval
2299 } # ac_fn_c_try_compile
2301 # ac_fn_cxx_try_compile LINENO
2302 # ----------------------------
2303 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2304 ac_fn_cxx_try_compile ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 rm -f conftest.$ac_objext
2308 if { { ac_try="$ac_compile"
2309 case "(($ac_try" in
2310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2311 *) ac_try_echo=$ac_try;;
2312 esac
2313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2314 $as_echo "$ac_try_echo"; } >&5
2315 (eval "$ac_compile") 2>conftest.err
2316 ac_status=$?
2317 if test -s conftest.err; then
2318 grep -v '^ *+' conftest.err >conftest.er1
2319 cat conftest.er1 >&5
2320 mv -f conftest.er1 conftest.err
2322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2323 test $ac_status = 0; } && {
2324 test -z "$ac_cxx_werror_flag" ||
2325 test ! -s conftest.err
2326 } && test -s conftest.$ac_objext; then :
2327 ac_retval=0
2328 else
2329 $as_echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.$ac_ext >&5
2332 ac_retval=1
2334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2335 as_fn_set_status $ac_retval
2337 } # ac_fn_cxx_try_compile
2339 # ac_fn_c_try_link LINENO
2340 # -----------------------
2341 # Try to link conftest.$ac_ext, and return whether this succeeded.
2342 ac_fn_c_try_link ()
2344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2345 rm -f conftest.$ac_objext conftest$ac_exeext
2346 if { { ac_try="$ac_link"
2347 case "(($ac_try" in
2348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2349 *) ac_try_echo=$ac_try;;
2350 esac
2351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2352 $as_echo "$ac_try_echo"; } >&5
2353 (eval "$ac_link") 2>conftest.err
2354 ac_status=$?
2355 if test -s conftest.err; then
2356 grep -v '^ *+' conftest.err >conftest.er1
2357 cat conftest.er1 >&5
2358 mv -f conftest.er1 conftest.err
2360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2361 test $ac_status = 0; } && {
2362 test -z "$ac_c_werror_flag" ||
2363 test ! -s conftest.err
2364 } && test -s conftest$ac_exeext && {
2365 test "$cross_compiling" = yes ||
2366 test -x conftest$ac_exeext
2367 }; then :
2368 ac_retval=0
2369 else
2370 $as_echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2373 ac_retval=1
2375 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2376 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2377 # interfere with the next link command; also delete a directory that is
2378 # left behind by Apple's compiler. We do this before executing the actions.
2379 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2380 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2381 as_fn_set_status $ac_retval
2383 } # ac_fn_c_try_link
2385 # ac_fn_c_try_cpp LINENO
2386 # ----------------------
2387 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2388 ac_fn_c_try_cpp ()
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 if { { ac_try="$ac_cpp conftest.$ac_ext"
2392 case "(($ac_try" in
2393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2394 *) ac_try_echo=$ac_try;;
2395 esac
2396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2397 $as_echo "$ac_try_echo"; } >&5
2398 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2399 ac_status=$?
2400 if test -s conftest.err; then
2401 grep -v '^ *+' conftest.err >conftest.er1
2402 cat conftest.er1 >&5
2403 mv -f conftest.er1 conftest.err
2405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test $ac_status = 0; } > conftest.i && {
2407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2408 test ! -s conftest.err
2409 }; then :
2410 ac_retval=0
2411 else
2412 $as_echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5
2415 ac_retval=1
2417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2418 as_fn_set_status $ac_retval
2420 } # ac_fn_c_try_cpp
2422 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2423 # -------------------------------------------------------
2424 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2425 # the include files in INCLUDES and setting the cache variable VAR
2426 # accordingly.
2427 ac_fn_c_check_header_mongrel ()
2429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2430 if eval \${$3+:} false; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2432 $as_echo_n "checking for $2... " >&6; }
2433 if eval \${$3+:} false; then :
2434 $as_echo_n "(cached) " >&6
2436 eval ac_res=\$$3
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2438 $as_echo "$ac_res" >&6; }
2439 else
2440 # Is the header compilable?
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2442 $as_echo_n "checking $2 usability... " >&6; }
2443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2446 #include <$2>
2447 _ACEOF
2448 if ac_fn_c_try_compile "$LINENO"; then :
2449 ac_header_compiler=yes
2450 else
2451 ac_header_compiler=no
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2455 $as_echo "$ac_header_compiler" >&6; }
2457 # Is the header present?
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2459 $as_echo_n "checking $2 presence... " >&6; }
2460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 /* end confdefs.h. */
2462 #include <$2>
2463 _ACEOF
2464 if ac_fn_c_try_cpp "$LINENO"; then :
2465 ac_header_preproc=yes
2466 else
2467 ac_header_preproc=no
2469 rm -f conftest.err conftest.i conftest.$ac_ext
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2471 $as_echo "$ac_header_preproc" >&6; }
2473 # So? What about this header?
2474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2475 yes:no: )
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2477 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2479 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2481 no:yes:* )
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2483 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2485 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2487 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2489 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2491 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2492 ( $as_echo "## ------------------------------------ ##
2493 ## Report this to wine-devel@winehq.org ##
2494 ## ------------------------------------ ##"
2495 ) | sed "s/^/$as_me: WARNING: /" >&2
2497 esac
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2499 $as_echo_n "checking for $2... " >&6; }
2500 if eval \${$3+:} false; then :
2501 $as_echo_n "(cached) " >&6
2502 else
2503 eval "$3=\$ac_header_compiler"
2505 eval ac_res=\$$3
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2507 $as_echo "$ac_res" >&6; }
2509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 } # ac_fn_c_check_header_mongrel
2513 # ac_fn_c_try_run LINENO
2514 # ----------------------
2515 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2516 # that executables *can* be run.
2517 ac_fn_c_try_run ()
2519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2520 if { { ac_try="$ac_link"
2521 case "(($ac_try" in
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2524 esac
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_link") 2>&5
2528 ac_status=$?
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2531 { { case "(($ac_try" in
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2534 esac
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_try") 2>&5
2538 ac_status=$?
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; }; }; then :
2541 ac_retval=0
2542 else
2543 $as_echo "$as_me: program exited with status $ac_status" >&5
2544 $as_echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.$ac_ext >&5
2547 ac_retval=$ac_status
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } # ac_fn_c_try_run
2555 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2556 # -------------------------------------------------------
2557 # Tests whether HEADER exists and can be compiled using the include files in
2558 # INCLUDES, setting the cache variable VAR accordingly.
2559 ac_fn_c_check_header_compile ()
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2563 $as_echo_n "checking for $2... " >&6; }
2564 if eval \${$3+:} false; then :
2565 $as_echo_n "(cached) " >&6
2566 else
2567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2568 /* end confdefs.h. */
2570 #include <$2>
2571 _ACEOF
2572 if ac_fn_c_try_compile "$LINENO"; then :
2573 eval "$3=yes"
2574 else
2575 eval "$3=no"
2577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2579 eval ac_res=\$$3
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 $as_echo "$ac_res" >&6; }
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 } # ac_fn_c_check_header_compile
2586 # ac_fn_c_check_func LINENO FUNC VAR
2587 # ----------------------------------
2588 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2589 ac_fn_c_check_func ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2593 $as_echo_n "checking for $2... " >&6; }
2594 if eval \${$3+:} false; then :
2595 $as_echo_n "(cached) " >&6
2596 else
2597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 /* end confdefs.h. */
2599 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2601 #define $2 innocuous_$2
2603 /* System header to define __stub macros and hopefully few prototypes,
2604 which can conflict with char $2 (); below.
2605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2606 <limits.h> exists even on freestanding compilers. */
2608 #ifdef __STDC__
2609 # include <limits.h>
2610 #else
2611 # include <assert.h>
2612 #endif
2614 #undef $2
2616 /* Override any GCC internal prototype to avoid an error.
2617 Use char because int might match the return type of a GCC
2618 builtin and then its argument prototype would still apply. */
2619 #ifdef __cplusplus
2620 extern "C"
2621 #endif
2622 char $2 ();
2623 /* The GNU C library defines this for functions which it implements
2624 to always fail with ENOSYS. Some functions are actually named
2625 something starting with __ and the normal name is an alias. */
2626 #if defined __stub_$2 || defined __stub___$2
2627 choke me
2628 #endif
2631 main ()
2633 return $2 ();
2635 return 0;
2637 _ACEOF
2638 if ac_fn_c_try_link "$LINENO"; then :
2639 eval "$3=yes"
2640 else
2641 eval "$3=no"
2643 rm -f core conftest.err conftest.$ac_objext \
2644 conftest$ac_exeext conftest.$ac_ext
2646 eval ac_res=\$$3
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 } # ac_fn_c_check_func
2653 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2654 # ----------------------------------------------------
2655 # Tries to find if the field MEMBER exists in type AGGR, after including
2656 # INCLUDES, setting cache variable VAR accordingly.
2657 ac_fn_c_check_member ()
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2661 $as_echo_n "checking for $2.$3... " >&6; }
2662 if eval \${$4+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2671 static $2 ac_aggr;
2672 if (ac_aggr.$3)
2673 return 0;
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2679 eval "$4=yes"
2680 else
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2685 main ()
2687 static $2 ac_aggr;
2688 if (sizeof ac_aggr.$3)
2689 return 0;
2691 return 0;
2693 _ACEOF
2694 if ac_fn_c_try_compile "$LINENO"; then :
2695 eval "$4=yes"
2696 else
2697 eval "$4=no"
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 eval ac_res=\$$4
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_member
2710 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2711 # -------------------------------------------
2712 # Tests whether TYPE exists after having included INCLUDES, setting cache
2713 # variable VAR accordingly.
2714 ac_fn_c_check_type ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \${$3+:} false; then :
2720 $as_echo_n "(cached) " >&6
2721 else
2722 eval "$3=no"
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2729 if (sizeof ($2))
2730 return 0;
2732 return 0;
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2740 main ()
2742 if (sizeof (($2)))
2743 return 0;
2745 return 0;
2747 _ACEOF
2748 if ac_fn_c_try_compile "$LINENO"; then :
2750 else
2751 eval "$3=yes"
2753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_type
2763 cat >config.log <<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2767 It was created by Wine $as_me 1.7.27, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2770 $ $0 $@
2772 _ACEOF
2773 exec 5>>config.log
2775 cat <<_ASUNAME
2776 ## --------- ##
2777 ## Platform. ##
2778 ## --------- ##
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2797 _ASUNAME
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2802 IFS=$as_save_IFS
2803 test -z "$as_dir" && as_dir=.
2804 $as_echo "PATH: $as_dir"
2805 done
2806 IFS=$as_save_IFS
2808 } >&5
2810 cat >&5 <<_ACEOF
2813 ## ----------- ##
2814 ## Core tests. ##
2815 ## ----------- ##
2817 _ACEOF
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2825 ac_configure_args=
2826 ac_configure_args0=
2827 ac_configure_args1=
2828 ac_must_keep_next=false
2829 for ac_pass in 1 2
2831 for ac_arg
2833 case $ac_arg in
2834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2836 | -silent | --silent | --silen | --sile | --sil)
2837 continue ;;
2838 *\'*)
2839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 esac
2841 case $ac_pass in
2842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2844 as_fn_append ac_configure_args1 " '$ac_arg'"
2845 if test $ac_must_keep_next = true; then
2846 ac_must_keep_next=false # Got value, back to normal.
2847 else
2848 case $ac_arg in
2849 *=* | --config-cache | -C | -disable-* | --disable-* \
2850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2852 | -with-* | --with-* | -without-* | --without-* | --x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 esac
2857 -* ) ac_must_keep_next=true ;;
2858 esac
2860 as_fn_append ac_configure_args " '$ac_arg'"
2862 esac
2863 done
2864 done
2865 { ac_configure_args0=; unset ac_configure_args0;}
2866 { ac_configure_args1=; unset ac_configure_args1;}
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2876 echo
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2881 echo
2882 # The following way of writing the cache mishandles newlines in values,
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2896 esac ;;
2897 esac
2898 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 sed -n \
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 ;; #(
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2909 esac |
2910 sort
2912 echo
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2917 echo
2918 for ac_var in $ac_subst_vars
2920 eval ac_val=\$$ac_var
2921 case $ac_val in
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 esac
2924 $as_echo "$ac_var='\''$ac_val'\''"
2925 done | sort
2926 echo
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2932 echo
2933 for ac_var in $ac_subst_files
2935 eval ac_val=\$$ac_var
2936 case $ac_val in
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 esac
2939 $as_echo "$ac_var='\''$ac_val'\''"
2940 done | sort
2941 echo
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2946 ## confdefs.h. ##
2947 ## ----------- ##"
2948 echo
2949 cat confdefs.h
2950 echo
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2955 } >&5
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 exit $exit_status
2960 for ac_signal in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2962 done
2963 ac_signal=0
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest* confdefs.h
2968 $as_echo "/* confdefs.h */" > confdefs.h
2970 # Predefined preprocessor variables.
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2994 _ACEOF
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
2999 ac_site_file1=NONE
3000 ac_site_file2=NONE
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1=./$CONFIG_SITE;;
3005 */*) ac_site_file1=$CONFIG_SITE;;
3006 *) ac_site_file1=./$CONFIG_SITE;;
3007 esac
3008 elif test "x$prefix" != xNONE; then
3009 ac_site_file1=$prefix/share/config.site
3010 ac_site_file2=$prefix/etc/config.site
3011 else
3012 ac_site_file1=$ac_default_prefix/share/config.site
3013 ac_site_file2=$ac_default_prefix/etc/config.site
3015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3017 test "x$ac_site_file" = xNONE && continue
3018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3022 . "$ac_site_file" \
3023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $? "failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3028 done
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 case $cache_file in
3037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3038 *) . "./$cache_file";;
3039 esac
3041 else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3044 >$cache_file
3047 # Check that the precious variables saved in the cache have kept the same
3048 # value.
3049 ac_cache_corrupted=false
3050 for ac_var in $ac_precious_vars; do
3051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3052 eval ac_new_set=\$ac_env_${ac_var}_set
3053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3054 eval ac_new_val=\$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3056 set,)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted=: ;;
3060 ,set)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,);;
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w=`echo x $ac_old_val`
3069 ac_new_val_w=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted=:
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\$ac_old_val
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 fi;;
3084 esac
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3087 case $ac_new_val in
3088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg=$ac_var=$ac_new_val ;;
3090 esac
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3094 esac
3096 done
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 ac_config_headers="$ac_config_headers include/config.h"
3118 ac_aux_dir=
3119 for ac_dir in tools "$srcdir"/tools; do
3120 if test -f "$ac_dir/install-sh"; then
3121 ac_aux_dir=$ac_dir
3122 ac_install_sh="$ac_aux_dir/install-sh -c"
3123 break
3124 elif test -f "$ac_dir/install.sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install.sh -c"
3127 break
3128 elif test -f "$ac_dir/shtool"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/shtool install -c"
3131 break
3133 done
3134 if test -z "$ac_aux_dir"; then
3135 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3138 # These three variables are undocumented and unsupported,
3139 # and are intended to be withdrawn in a future Autoconf release.
3140 # They can cause serious problems if a builder's source tree is in a directory
3141 # whose full name contains unusual characters.
3142 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3143 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3144 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3148 libwine_version="1.0"
3152 # Check whether --enable-win16 was given.
3153 if test "${enable_win16+set}" = set; then :
3154 enableval=$enable_win16;
3157 # Check whether --enable-win64 was given.
3158 if test "${enable_win64+set}" = set; then :
3159 enableval=$enable_win64;
3162 # Check whether --enable-tests was given.
3163 if test "${enable_tests+set}" = set; then :
3164 enableval=$enable_tests;
3167 # Check whether --enable-maintainer-mode was given.
3168 if test "${enable_maintainer_mode+set}" = set; then :
3169 enableval=$enable_maintainer_mode;
3174 # Check whether --with-alsa was given.
3175 if test "${with_alsa+set}" = set; then :
3176 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3180 # Check whether --with-capi was given.
3181 if test "${with_capi+set}" = set; then :
3182 withval=$with_capi;
3186 # Check whether --with-cms was given.
3187 if test "${with_cms+set}" = set; then :
3188 withval=$with_cms;
3192 # Check whether --with-coreaudio was given.
3193 if test "${with_coreaudio+set}" = set; then :
3194 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3198 # Check whether --with-cups was given.
3199 if test "${with_cups+set}" = set; then :
3200 withval=$with_cups;
3204 # Check whether --with-curses was given.
3205 if test "${with_curses+set}" = set; then :
3206 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3210 # Check whether --with-dbus was given.
3211 if test "${with_dbus+set}" = set; then :
3212 withval=$with_dbus;
3216 # Check whether --with-fontconfig was given.
3217 if test "${with_fontconfig+set}" = set; then :
3218 withval=$with_fontconfig;
3222 # Check whether --with-freetype was given.
3223 if test "${with_freetype+set}" = set; then :
3224 withval=$with_freetype;
3228 # Check whether --with-gettext was given.
3229 if test "${with_gettext+set}" = set; then :
3230 withval=$with_gettext;
3234 # Check whether --with-gettextpo was given.
3235 if test "${with_gettextpo+set}" = set; then :
3236 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3240 # Check whether --with-gphoto was given.
3241 if test "${with_gphoto+set}" = set; then :
3242 withval=$with_gphoto;
3246 # Check whether --with-glu was given.
3247 if test "${with_glu+set}" = set; then :
3248 withval=$with_glu;
3252 # Check whether --with-gnutls was given.
3253 if test "${with_gnutls+set}" = set; then :
3254 withval=$with_gnutls;
3258 # Check whether --with-gsm was given.
3259 if test "${with_gsm+set}" = set; then :
3260 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3264 # Check whether --with-gstreamer was given.
3265 if test "${with_gstreamer+set}" = set; then :
3266 withval=$with_gstreamer;
3270 # Check whether --with-hal was given.
3271 if test "${with_hal+set}" = set; then :
3272 withval=$with_hal;
3276 # Check whether --with-jpeg was given.
3277 if test "${with_jpeg+set}" = set; then :
3278 withval=$with_jpeg;
3282 # Check whether --with-ldap was given.
3283 if test "${with_ldap+set}" = set; then :
3284 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3288 # Check whether --with-mpg123 was given.
3289 if test "${with_mpg123+set}" = set; then :
3290 withval=$with_mpg123;
3294 # Check whether --with-netapi was given.
3295 if test "${with_netapi+set}" = set; then :
3296 withval=$with_netapi;
3300 # Check whether --with-openal was given.
3301 if test "${with_openal+set}" = set; then :
3302 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3306 # Check whether --with-opencl was given.
3307 if test "${with_opencl+set}" = set; then :
3308 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3312 # Check whether --with-opengl was given.
3313 if test "${with_opengl+set}" = set; then :
3314 withval=$with_opengl;
3318 # Check whether --with-osmesa was given.
3319 if test "${with_osmesa+set}" = set; then :
3320 withval=$with_osmesa;
3324 # Check whether --with-oss was given.
3325 if test "${with_oss+set}" = set; then :
3326 withval=$with_oss;
3330 # Check whether --with-pcap was given.
3331 if test "${with_pcap+set}" = set; then :
3332 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3336 # Check whether --with-png was given.
3337 if test "${with_png+set}" = set; then :
3338 withval=$with_png;
3342 # Check whether --with-pthread was given.
3343 if test "${with_pthread+set}" = set; then :
3344 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3348 # Check whether --with-sane was given.
3349 if test "${with_sane+set}" = set; then :
3350 withval=$with_sane;
3354 # Check whether --with-tiff was given.
3355 if test "${with_tiff+set}" = set; then :
3356 withval=$with_tiff;
3360 # Check whether --with-v4l was given.
3361 if test "${with_v4l+set}" = set; then :
3362 withval=$with_v4l;
3366 # Check whether --with-xcomposite was given.
3367 if test "${with_xcomposite+set}" = set; then :
3368 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3372 # Check whether --with-xcursor was given.
3373 if test "${with_xcursor+set}" = set; then :
3374 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3378 # Check whether --with-xinerama was given.
3379 if test "${with_xinerama+set}" = set; then :
3380 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3384 # Check whether --with-xinput was given.
3385 if test "${with_xinput+set}" = set; then :
3386 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3390 # Check whether --with-xinput2 was given.
3391 if test "${with_xinput2+set}" = set; then :
3392 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3396 # Check whether --with-xml was given.
3397 if test "${with_xml+set}" = set; then :
3398 withval=$with_xml;
3402 # Check whether --with-xrandr was given.
3403 if test "${with_xrandr+set}" = set; then :
3404 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3408 # Check whether --with-xrender was given.
3409 if test "${with_xrender+set}" = set; then :
3410 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3414 # Check whether --with-xshape was given.
3415 if test "${with_xshape+set}" = set; then :
3416 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3420 # Check whether --with-xshm was given.
3421 if test "${with_xshm+set}" = set; then :
3422 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3426 # Check whether --with-xslt was given.
3427 if test "${with_xslt+set}" = set; then :
3428 withval=$with_xslt;
3432 # Check whether --with-xxf86vm was given.
3433 if test "${with_xxf86vm+set}" = set; then :
3434 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
3438 # Check whether --with-zlib was given.
3439 if test "${with_zlib+set}" = set; then :
3440 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3445 # Check whether --with-wine-tools was given.
3446 if test "${with_wine_tools+set}" = set; then :
3447 withval=$with_wine_tools;
3451 # Check whether --with-wine64 was given.
3452 if test "${with_wine64+set}" = set; then :
3453 withval=$with_wine64;
3457 # Make sure we can run config.sub.
3458 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3459 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3462 $as_echo_n "checking build system type... " >&6; }
3463 if ${ac_cv_build+:} false; then :
3464 $as_echo_n "(cached) " >&6
3465 else
3466 ac_build_alias=$build_alias
3467 test "x$ac_build_alias" = x &&
3468 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3469 test "x$ac_build_alias" = x &&
3470 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3471 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3472 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3476 $as_echo "$ac_cv_build" >&6; }
3477 case $ac_cv_build in
3478 *-*-*) ;;
3479 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3480 esac
3481 build=$ac_cv_build
3482 ac_save_IFS=$IFS; IFS='-'
3483 set x $ac_cv_build
3484 shift
3485 build_cpu=$1
3486 build_vendor=$2
3487 shift; shift
3488 # Remember, the first character of IFS is used to create $*,
3489 # except with old shells:
3490 build_os=$*
3491 IFS=$ac_save_IFS
3492 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3496 $as_echo_n "checking host system type... " >&6; }
3497 if ${ac_cv_host+:} false; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 if test "x$host_alias" = x; then
3501 ac_cv_host=$ac_cv_build
3502 else
3503 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3504 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3509 $as_echo "$ac_cv_host" >&6; }
3510 case $ac_cv_host in
3511 *-*-*) ;;
3512 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3513 esac
3514 host=$ac_cv_host
3515 ac_save_IFS=$IFS; IFS='-'
3516 set x $ac_cv_host
3517 shift
3518 host_cpu=$1
3519 host_vendor=$2
3520 shift; shift
3521 # Remember, the first character of IFS is used to create $*,
3522 # except with old shells:
3523 host_os=$*
3524 IFS=$ac_save_IFS
3525 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3529 case "$srcdir" in
3530 .) ;;
3531 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3532 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3533 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3534 fi ;;
3535 esac
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3540 set x ${MAKE-make}
3541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3542 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3543 $as_echo_n "(cached) " >&6
3544 else
3545 cat >conftest.make <<\_ACEOF
3546 SHELL = /bin/sh
3547 all:
3548 @echo '@@@%%%=$(MAKE)=@@@%%%'
3549 _ACEOF
3550 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3552 *@@@%%%=?*=@@@%%%*)
3553 eval ac_cv_prog_make_${ac_make}_set=yes;;
3555 eval ac_cv_prog_make_${ac_make}_set=no;;
3556 esac
3557 rm -f conftest.make
3559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3562 SET_MAKE=
3563 else
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565 $as_echo "no" >&6; }
3566 SET_MAKE="MAKE=${MAKE-make}"
3569 ac_ext=c
3570 ac_cpp='$CPP $CPPFLAGS'
3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3574 if test -n "$ac_tool_prefix"; then
3575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if ${ac_cv_prog_CC+:} false; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 if test -n "$CC"; then
3583 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3598 IFS=$as_save_IFS
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3613 if test -z "$ac_cv_prog_CC"; then
3614 ac_ct_CC=$CC
3615 # Extract the first word of "gcc", so it can be a program name with args.
3616 set dummy gcc; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3620 $as_echo_n "(cached) " >&6
3621 else
3622 if test -n "$ac_ct_CC"; then
3623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3628 IFS=$as_save_IFS
3629 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3632 ac_cv_prog_ac_ct_CC="gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 break 2
3636 done
3637 done
3638 IFS=$as_save_IFS
3642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3643 if test -n "$ac_ct_CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3645 $as_echo "$ac_ct_CC" >&6; }
3646 else
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3651 if test "x$ac_ct_CC" = x; then
3652 CC=""
3653 else
3654 case $cross_compiling:$ac_tool_warned in
3655 yes:)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3659 esac
3660 CC=$ac_ct_CC
3662 else
3663 CC="$ac_cv_prog_CC"
3666 if test -z "$CC"; then
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3669 set dummy ${ac_tool_prefix}cc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_CC="${ac_tool_prefix}cc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3689 done
3690 done
3691 IFS=$as_save_IFS
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3707 if test -z "$CC"; then
3708 # Extract the first word of "cc", so it can be a program name with args.
3709 set dummy cc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_CC+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 ac_prog_rejected=no
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3727 ac_prog_rejected=yes
3728 continue
3730 ac_cv_prog_CC="cc"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3734 done
3735 done
3736 IFS=$as_save_IFS
3738 if test $ac_prog_rejected = yes; then
3739 # We found a bogon in the path, so make sure we never use it.
3740 set dummy $ac_cv_prog_CC
3741 shift
3742 if test $# != 0; then
3743 # We chose a different compiler from the bogus one.
3744 # However, it has the same basename, so the bogon will be chosen
3745 # first if we set CC to just the basename; use the full file name.
3746 shift
3747 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$CC"; then
3764 if test -n "$ac_tool_prefix"; then
3765 for ac_prog in cl.exe
3767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_CC+:} false; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 break 2
3788 done
3789 done
3790 IFS=$as_save_IFS
3794 CC=$ac_cv_prog_CC
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3804 test -n "$CC" && break
3805 done
3807 if test -z "$CC"; then
3808 ac_ct_CC=$CC
3809 for ac_prog in cl.exe
3811 # Extract the first word of "$ac_prog", so it can be a program name with args.
3812 set dummy $ac_prog; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$ac_ct_CC"; then
3819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_ac_ct_CC="$ac_prog"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3834 IFS=$as_save_IFS
3838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3839 if test -n "$ac_ct_CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3841 $as_echo "$ac_ct_CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3848 test -n "$ac_ct_CC" && break
3849 done
3851 if test "x$ac_ct_CC" = x; then
3852 CC=""
3853 else
3854 case $cross_compiling:$ac_tool_warned in
3855 yes:)
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3858 ac_tool_warned=yes ;;
3859 esac
3860 CC=$ac_ct_CC
3867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 as_fn_error $? "no acceptable C compiler found in \$PATH
3870 See \`config.log' for more details" "$LINENO" 5; }
3872 # Provide some information about the compiler.
3873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3874 set X $ac_compile
3875 ac_compiler=$2
3876 for ac_option in --version -v -V -qversion; do
3877 { { ac_try="$ac_compiler $ac_option >&5"
3878 case "(($ac_try" in
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3885 ac_status=$?
3886 if test -s conftest.err; then
3887 sed '10a\
3888 ... rest of stderr output deleted ...
3889 10q' conftest.err >conftest.er1
3890 cat conftest.er1 >&5
3892 rm -f conftest.er1 conftest.err
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }
3895 done
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3901 main ()
3905 return 0;
3907 _ACEOF
3908 ac_clean_files_save=$ac_clean_files
3909 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3910 # Try to create an executable without -o first, disregard a.out.
3911 # It will help us diagnose broken compilers, and finding out an intuition
3912 # of exeext.
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3914 $as_echo_n "checking whether the C compiler works... " >&6; }
3915 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3917 # The possible output files:
3918 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3920 ac_rmfiles=
3921 for ac_file in $ac_files
3923 case $ac_file in
3924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3925 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3926 esac
3927 done
3928 rm -f $ac_rmfiles
3930 if { { ac_try="$ac_link_default"
3931 case "(($ac_try" in
3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3934 esac
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link_default") 2>&5
3938 ac_status=$?
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3942 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3943 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3944 # so that the user can short-circuit this test for compilers unknown to
3945 # Autoconf.
3946 for ac_file in $ac_files ''
3948 test -f "$ac_file" || continue
3949 case $ac_file in
3950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3952 [ab].out )
3953 # We found the default executable, but exeext='' is most
3954 # certainly right.
3955 break;;
3956 *.* )
3957 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3958 then :; else
3959 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961 # We set ac_cv_exeext here because the later test for it is not
3962 # safe: cross compilers may not add the suffix if given an `-o'
3963 # argument, so we may need to know it at that point already.
3964 # Even if this section looks crufty: it has the advantage of
3965 # actually working.
3966 break;;
3968 break;;
3969 esac
3970 done
3971 test "$ac_cv_exeext" = no && ac_cv_exeext=
3973 else
3974 ac_file=''
3976 if test -z "$ac_file"; then :
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3979 $as_echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error 77 "C compiler cannot create executables
3985 See \`config.log' for more details" "$LINENO" 5; }
3986 else
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3988 $as_echo "yes" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3991 $as_echo_n "checking for C compiler default output file name... " >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3993 $as_echo "$ac_file" >&6; }
3994 ac_exeext=$ac_cv_exeext
3996 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3997 ac_clean_files=$ac_clean_files_save
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3999 $as_echo_n "checking for suffix of executables... " >&6; }
4000 if { { ac_try="$ac_link"
4001 case "(($ac_try" in
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4004 esac
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_link") 2>&5
4008 ac_status=$?
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; then :
4011 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4012 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4013 # work properly (i.e., refer to `conftest.exe'), while it won't with
4014 # `rm'.
4015 for ac_file in conftest.exe conftest conftest.*; do
4016 test -f "$ac_file" || continue
4017 case $ac_file in
4018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4019 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4020 break;;
4021 * ) break;;
4022 esac
4023 done
4024 else
4025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4028 See \`config.log' for more details" "$LINENO" 5; }
4030 rm -f conftest conftest$ac_cv_exeext
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4032 $as_echo "$ac_cv_exeext" >&6; }
4034 rm -f conftest.$ac_ext
4035 EXEEXT=$ac_cv_exeext
4036 ac_exeext=$EXEEXT
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4039 #include <stdio.h>
4041 main ()
4043 FILE *f = fopen ("conftest.out", "w");
4044 return ferror (f) || fclose (f) != 0;
4047 return 0;
4049 _ACEOF
4050 ac_clean_files="$ac_clean_files conftest.out"
4051 # Check that the compiler produces executables we can run. If not, either
4052 # the compiler is broken, or we cross compile.
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4054 $as_echo_n "checking whether we are cross compiling... " >&6; }
4055 if test "$cross_compiling" != yes; then
4056 { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }
4067 if { ac_try='./conftest$ac_cv_exeext'
4068 { { case "(($ac_try" in
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4071 esac
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_try") 2>&5
4075 ac_status=$?
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }; }; then
4078 cross_compiling=no
4079 else
4080 if test "$cross_compiling" = maybe; then
4081 cross_compiling=yes
4082 else
4083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4085 as_fn_error $? "cannot run C compiled programs.
4086 If you meant to cross compile, use \`--host'.
4087 See \`config.log' for more details" "$LINENO" 5; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4092 $as_echo "$cross_compiling" >&6; }
4094 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4095 ac_clean_files=$ac_clean_files_save
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4097 $as_echo_n "checking for suffix of object files... " >&6; }
4098 if ${ac_cv_objext+:} false; then :
4099 $as_echo_n "(cached) " >&6
4100 else
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4105 main ()
4109 return 0;
4111 _ACEOF
4112 rm -f conftest.o conftest.obj
4113 if { { ac_try="$ac_compile"
4114 case "(($ac_try" in
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4117 esac
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_compile") 2>&5
4121 ac_status=$?
4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4123 test $ac_status = 0; }; then :
4124 for ac_file in conftest.o conftest.obj conftest.*; do
4125 test -f "$ac_file" || continue;
4126 case $ac_file in
4127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4128 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4129 break;;
4130 esac
4131 done
4132 else
4133 $as_echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4138 as_fn_error $? "cannot compute suffix of object files: cannot compile
4139 See \`config.log' for more details" "$LINENO" 5; }
4141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4144 $as_echo "$ac_cv_objext" >&6; }
4145 OBJEXT=$ac_cv_objext
4146 ac_objext=$OBJEXT
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4149 if ${ac_cv_c_compiler_gnu+:} false; then :
4150 $as_echo_n "(cached) " >&6
4151 else
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4156 main ()
4158 #ifndef __GNUC__
4159 choke me
4160 #endif
4163 return 0;
4165 _ACEOF
4166 if ac_fn_c_try_compile "$LINENO"; then :
4167 ac_compiler_gnu=yes
4168 else
4169 ac_compiler_gnu=no
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4177 if test $ac_compiler_gnu = yes; then
4178 GCC=yes
4179 else
4180 GCC=
4182 ac_test_CFLAGS=${CFLAGS+set}
4183 ac_save_CFLAGS=$CFLAGS
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4186 if ${ac_cv_prog_cc_g+:} false; then :
4187 $as_echo_n "(cached) " >&6
4188 else
4189 ac_save_c_werror_flag=$ac_c_werror_flag
4190 ac_c_werror_flag=yes
4191 ac_cv_prog_cc_g=no
4192 CFLAGS="-g"
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_prog_cc_g=yes
4206 else
4207 CFLAGS=""
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4212 main ()
4216 return 0;
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"; then :
4221 else
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4223 CFLAGS="-g"
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4228 main ()
4232 return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 ac_cv_prog_cc_g=yes
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 ac_c_werror_flag=$ac_save_c_werror_flag
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4246 $as_echo "$ac_cv_prog_cc_g" >&6; }
4247 if test "$ac_test_CFLAGS" = set; then
4248 CFLAGS=$ac_save_CFLAGS
4249 elif test $ac_cv_prog_cc_g = yes; then
4250 if test "$GCC" = yes; then
4251 CFLAGS="-g -O2"
4252 else
4253 CFLAGS="-g"
4255 else
4256 if test "$GCC" = yes; then
4257 CFLAGS="-O2"
4258 else
4259 CFLAGS=
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4264 if ${ac_cv_prog_cc_c89+:} false; then :
4265 $as_echo_n "(cached) " >&6
4266 else
4267 ac_cv_prog_cc_c89=no
4268 ac_save_CC=$CC
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdarg.h>
4272 #include <stdio.h>
4273 struct stat;
4274 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4275 struct buf { int x; };
4276 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4277 static char *e (p, i)
4278 char **p;
4279 int i;
4281 return p[i];
4283 static char *f (char * (*g) (char **, int), char **p, ...)
4285 char *s;
4286 va_list v;
4287 va_start (v,p);
4288 s = g (p, va_arg (v,int));
4289 va_end (v);
4290 return s;
4293 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4294 function prototypes and stuff, but not '\xHH' hex character constants.
4295 These don't provoke an error unfortunately, instead are silently treated
4296 as 'x'. The following induces an error, until -std is added to get
4297 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4298 array size at least. It's necessary to write '\x00'==0 to get something
4299 that's true only with -std. */
4300 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4302 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4303 inside strings and character constants. */
4304 #define FOO(x) 'x'
4305 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4307 int test (int i, double x);
4308 struct s1 {int (*f) (int a);};
4309 struct s2 {int (*f) (double a);};
4310 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4311 int argc;
4312 char **argv;
4314 main ()
4316 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4318 return 0;
4320 _ACEOF
4321 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4322 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4324 CC="$ac_save_CC $ac_arg"
4325 if ac_fn_c_try_compile "$LINENO"; then :
4326 ac_cv_prog_cc_c89=$ac_arg
4328 rm -f core conftest.err conftest.$ac_objext
4329 test "x$ac_cv_prog_cc_c89" != "xno" && break
4330 done
4331 rm -f conftest.$ac_ext
4332 CC=$ac_save_CC
4335 # AC_CACHE_VAL
4336 case "x$ac_cv_prog_cc_c89" in
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4339 $as_echo "none needed" >&6; } ;;
4340 xno)
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4342 $as_echo "unsupported" >&6; } ;;
4344 CC="$CC $ac_cv_prog_cc_c89"
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4346 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4347 esac
4348 if test "x$ac_cv_prog_cc_c89" != xno; then :
4352 ac_ext=c
4353 ac_cpp='$CPP $CPPFLAGS'
4354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4358 ac_ext=cpp
4359 ac_cpp='$CXXCPP $CPPFLAGS'
4360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4363 if test -z "$CXX"; then
4364 if test -n "$CCC"; then
4365 CXX=$CCC
4366 else
4367 if test -n "$ac_tool_prefix"; then
4368 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4371 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_CXX+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$CXX"; then
4378 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 CXX=$ac_cv_prog_CXX
4398 if test -n "$CXX"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4400 $as_echo "$CXX" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4407 test -n "$CXX" && break
4408 done
4410 if test -z "$CXX"; then
4411 ac_ct_CXX=$CXX
4412 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4414 # Extract the first word of "$ac_prog", so it can be a program name with args.
4415 set dummy $ac_prog; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$ac_ct_CXX"; then
4422 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4423 else
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 for as_dir in $PATH
4427 IFS=$as_save_IFS
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_ac_ct_CXX="$ac_prog"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 break 2
4435 done
4436 done
4437 IFS=$as_save_IFS
4441 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4442 if test -n "$ac_ct_CXX"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4444 $as_echo "$ac_ct_CXX" >&6; }
4445 else
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4451 test -n "$ac_ct_CXX" && break
4452 done
4454 if test "x$ac_ct_CXX" = x; then
4455 CXX="g++"
4456 else
4457 case $cross_compiling:$ac_tool_warned in
4458 yes:)
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4461 ac_tool_warned=yes ;;
4462 esac
4463 CXX=$ac_ct_CXX
4469 # Provide some information about the compiler.
4470 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4471 set X $ac_compile
4472 ac_compiler=$2
4473 for ac_option in --version -v -V -qversion; do
4474 { { ac_try="$ac_compiler $ac_option >&5"
4475 case "(($ac_try" in
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4478 esac
4479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4480 $as_echo "$ac_try_echo"; } >&5
4481 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4482 ac_status=$?
4483 if test -s conftest.err; then
4484 sed '10a\
4485 ... rest of stderr output deleted ...
4486 10q' conftest.err >conftest.er1
4487 cat conftest.er1 >&5
4489 rm -f conftest.er1 conftest.err
4490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4491 test $ac_status = 0; }
4492 done
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4495 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4496 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4497 $as_echo_n "(cached) " >&6
4498 else
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4503 main ()
4505 #ifndef __GNUC__
4506 choke me
4507 #endif
4510 return 0;
4512 _ACEOF
4513 if ac_fn_cxx_try_compile "$LINENO"; then :
4514 ac_compiler_gnu=yes
4515 else
4516 ac_compiler_gnu=no
4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4523 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4524 if test $ac_compiler_gnu = yes; then
4525 GXX=yes
4526 else
4527 GXX=
4529 ac_test_CXXFLAGS=${CXXFLAGS+set}
4530 ac_save_CXXFLAGS=$CXXFLAGS
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4532 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4533 if ${ac_cv_prog_cxx_g+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4537 ac_cxx_werror_flag=yes
4538 ac_cv_prog_cxx_g=no
4539 CXXFLAGS="-g"
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4544 main ()
4548 return 0;
4550 _ACEOF
4551 if ac_fn_cxx_try_compile "$LINENO"; then :
4552 ac_cv_prog_cxx_g=yes
4553 else
4554 CXXFLAGS=""
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 if ac_fn_cxx_try_compile "$LINENO"; then :
4568 else
4569 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4570 CXXFLAGS="-g"
4571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4572 /* end confdefs.h. */
4575 main ()
4579 return 0;
4581 _ACEOF
4582 if ac_fn_cxx_try_compile "$LINENO"; then :
4583 ac_cv_prog_cxx_g=yes
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4590 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4593 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4594 if test "$ac_test_CXXFLAGS" = set; then
4595 CXXFLAGS=$ac_save_CXXFLAGS
4596 elif test $ac_cv_prog_cxx_g = yes; then
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-g -O2"
4599 else
4600 CXXFLAGS="-g"
4602 else
4603 if test "$GXX" = yes; then
4604 CXXFLAGS="-O2"
4605 else
4606 CXXFLAGS=
4609 ac_ext=c
4610 ac_cpp='$CPP $CPPFLAGS'
4611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4615 if test -n "$ac_tool_prefix"; then
4616 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4617 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_CPPBIN+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 if test -n "$CPPBIN"; then
4624 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4629 IFS=$as_save_IFS
4630 test -z "$as_dir" && as_dir=.
4631 for ac_exec_ext in '' $ac_executable_extensions; do
4632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 break 2
4637 done
4638 done
4639 IFS=$as_save_IFS
4643 CPPBIN=$ac_cv_prog_CPPBIN
4644 if test -n "$CPPBIN"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4646 $as_echo "$CPPBIN" >&6; }
4647 else
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4654 if test -z "$ac_cv_prog_CPPBIN"; then
4655 ac_ct_CPPBIN=$CPPBIN
4656 # Extract the first word of "cpp", so it can be a program name with args.
4657 set dummy cpp; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4661 $as_echo_n "(cached) " >&6
4662 else
4663 if test -n "$ac_ct_CPPBIN"; then
4664 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4669 IFS=$as_save_IFS
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CPPBIN="cpp"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4684 if test -n "$ac_ct_CPPBIN"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4686 $as_echo "$ac_ct_CPPBIN" >&6; }
4687 else
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4692 if test "x$ac_ct_CPPBIN" = x; then
4693 CPPBIN="cpp"
4694 else
4695 case $cross_compiling:$ac_tool_warned in
4696 yes:)
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4700 esac
4701 CPPBIN=$ac_ct_CPPBIN
4703 else
4704 CPPBIN="$ac_cv_prog_CPPBIN"
4708 cat >>confdefs.h <<_ACEOF
4709 #define EXEEXT "$ac_exeext"
4710 _ACEOF
4713 case $host in
4714 *-darwin*)
4715 if test "x$enable_win64" = "xyes"
4716 then
4717 CC="$CC -m64"
4718 CXX="$CXX -m64"
4719 host_cpu="x86_64"
4720 notice_platform="64-bit "
4721 TARGETFLAGS="-m64"
4723 else
4724 CC="$CC -m32"
4725 CXX="$CXX -m32"
4726 host_cpu="i386"
4727 notice_platform="32-bit "
4728 TARGETFLAGS="-m32"
4730 enable_win16=${enable_win16:-yes}
4732 with_fontconfig=${with_fontconfig:-no}
4734 x86_64*)
4735 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4736 then
4737 CC="$CC -m32"
4738 CXX="$CXX -m32"
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4740 $as_echo_n "checking whether $CC works... " >&6; }
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4746 main ()
4750 return 0;
4752 _ACEOF
4753 if ac_fn_c_try_link "$LINENO"; then :
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4755 $as_echo "yes" >&6; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4759 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4761 rm -f core conftest.err conftest.$ac_objext \
4762 conftest$ac_exeext conftest.$ac_ext
4763 host_cpu="i386"
4764 notice_platform="32-bit "
4765 TARGETFLAGS="-m32"
4767 enable_win16=${enable_win16:-yes}
4768 else
4769 if test "x${GCC}" = "xyes"
4770 then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4772 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h. */
4775 #include <stdarg.h>
4777 main ()
4779 void func(__builtin_ms_va_list *args);
4781 return 0;
4783 _ACEOF
4784 if ac_fn_c_try_compile "$LINENO"; then :
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4786 $as_echo "yes" >&6; }
4787 else
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4790 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 TARGETFLAGS="-m64"
4798 arm*)
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4800 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 int ac_test(int i) { return i; }
4805 main ()
4807 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4809 return 0;
4811 _ACEOF
4812 if ac_fn_c_try_link "$LINENO"; then :
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4820 rm -f core conftest.err conftest.$ac_objext \
4821 conftest$ac_exeext conftest.$ac_ext
4822 CFLAGS="$CFLAGS -marm"
4823 TARGETFLAGS="-marm"
4826 *-mingw32*|*-cygwin*)
4827 enable_win16=${enable_win16:-no}
4828 CFLAGS="$CFLAGS -D_WIN32"
4830 i[3456789]86*)
4831 enable_win16=${enable_win16:-yes}
4833 esac
4835 enable_win16=${enable_win16:-no}
4836 enable_win64=${enable_win64:-no}
4838 enable_winetest=${enable_winetest:-$enable_tests}
4840 if test -n "$with_wine64"
4841 then
4842 if test "x$enable_win64" = "xyes"
4843 then
4844 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4845 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4847 enable_fonts=${enable_fonts:-no}
4848 enable_server=${enable_server:-no}
4849 elif test "x$enable_win64" = "xyes"
4850 then
4851 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4855 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4856 if ${wine_cv_toolsdir+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 wine_cv_toolsdir="$with_wine_tools"
4860 if test -z "$with_wine_tools"; then
4861 if test "$cross_compiling" = "yes"; then
4862 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4863 elif test -n "$with_wine64"; then
4864 wine_cv_toolsdir="$with_wine64"
4867 if test -z "$wine_cv_toolsdir"; then
4868 wine_makedep=tools/makedep
4869 wine_cv_toolsdir="\$(top_builddir)"
4870 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4871 wine_makedep=$wine_cv_toolsdir/tools/makedep
4872 case "$wine_cv_toolsdir" in
4873 /*) ;;
4874 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4875 esac
4876 enable_tools=${enable_tools:-no}
4877 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4878 else
4879 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4883 $as_echo "$wine_cv_toolsdir" >&6; }
4884 TOOLSDIR=$wine_cv_toolsdir
4886 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4887 then
4888 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4892 for ac_prog in flex
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy $ac_prog; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_FLEX+:} false; then :
4899 $as_echo_n "(cached) " >&6
4900 else
4901 if test -n "$FLEX"; then
4902 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_FLEX="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 break 2
4915 done
4916 done
4917 IFS=$as_save_IFS
4921 FLEX=$ac_cv_prog_FLEX
4922 if test -n "$FLEX"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4924 $as_echo "$FLEX" >&6; }
4925 else
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$FLEX" && break
4932 done
4933 test -n "$FLEX" || FLEX="none"
4935 if test "$FLEX" = "none"
4936 then
4937 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4940 $as_echo_n "checking whether flex is recent enough... " >&6; }
4941 cat >conftest.l <<EOF
4942 %top{
4943 #include "prediluvian.h"
4947 if $FLEX -t conftest.l >/dev/null 2>&5
4948 then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4950 $as_echo "yes" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4957 for ac_prog in bison
4959 # Extract the first word of "$ac_prog", so it can be a program name with args.
4960 set dummy $ac_prog; ac_word=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if ${ac_cv_prog_BISON+:} false; then :
4964 $as_echo_n "(cached) " >&6
4965 else
4966 if test -n "$BISON"; then
4967 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4968 else
4969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 for as_dir in $PATH
4972 IFS=$as_save_IFS
4973 test -z "$as_dir" && as_dir=.
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_BISON="$ac_prog"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 break 2
4980 done
4981 done
4982 IFS=$as_save_IFS
4986 BISON=$ac_cv_prog_BISON
4987 if test -n "$BISON"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4989 $as_echo "$BISON" >&6; }
4990 else
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4996 test -n "$BISON" && break
4997 done
4998 test -n "$BISON" || BISON="none"
5000 if test "$BISON" = "none"
5001 then
5002 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5005 if test -n "$ac_tool_prefix"; then
5006 for ac_prog in ar gar
5008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if ${ac_cv_prog_AR+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 if test -n "$AR"; then
5016 ac_cv_prog_AR="$AR" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5021 IFS=$as_save_IFS
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 break 2
5029 done
5030 done
5031 IFS=$as_save_IFS
5035 AR=$ac_cv_prog_AR
5036 if test -n "$AR"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5038 $as_echo "$AR" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5045 test -n "$AR" && break
5046 done
5048 if test -z "$AR"; then
5049 ac_ct_AR=$AR
5050 for ac_prog in ar gar
5052 # Extract the first word of "$ac_prog", so it can be a program name with args.
5053 set dummy $ac_prog; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_ac_ct_AR="$ac_prog"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5089 test -n "$ac_ct_AR" && break
5090 done
5092 if test "x$ac_ct_AR" = x; then
5093 AR="ar"
5094 else
5095 case $cross_compiling:$ac_tool_warned in
5096 yes:)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5099 ac_tool_warned=yes ;;
5100 esac
5101 AR=$ac_ct_AR
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}strip; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_STRIP+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$STRIP"; then
5114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5127 done
5128 done
5129 IFS=$as_save_IFS
5133 STRIP=$ac_cv_prog_STRIP
5134 if test -n "$STRIP"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5136 $as_echo "$STRIP" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_STRIP"; then
5145 ac_ct_STRIP=$STRIP
5146 # Extract the first word of "strip", so it can be a program name with args.
5147 set dummy strip; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$ac_ct_STRIP"; then
5154 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_STRIP="strip"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5174 if test -n "$ac_ct_STRIP"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5176 $as_echo "$ac_ct_STRIP" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_STRIP" = x; then
5183 STRIP="strip"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5190 esac
5191 STRIP=$ac_ct_STRIP
5193 else
5194 STRIP="$ac_cv_prog_STRIP"
5197 ARFLAGS=rc
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_RANLIB+:} false; then :
5205 $as_echo_n "(cached) " >&6
5206 else
5207 if test -n "$RANLIB"; then
5208 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 RANLIB=$ac_cv_prog_RANLIB
5228 if test -n "$RANLIB"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5230 $as_echo "$RANLIB" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5238 if test -z "$ac_cv_prog_RANLIB"; then
5239 ac_ct_RANLIB=$RANLIB
5240 # Extract the first word of "ranlib", so it can be a program name with args.
5241 set dummy ranlib; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5245 $as_echo_n "(cached) " >&6
5246 else
5247 if test -n "$ac_ct_RANLIB"; then
5248 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_ac_ct_RANLIB="ranlib"
5258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5268 if test -n "$ac_ct_RANLIB"; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5270 $as_echo "$ac_ct_RANLIB" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5276 if test "x$ac_ct_RANLIB" = x; then
5277 RANLIB=":"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5283 ac_tool_warned=yes ;;
5284 esac
5285 RANLIB=$ac_ct_RANLIB
5287 else
5288 RANLIB="$ac_cv_prog_RANLIB"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5292 $as_echo_n "checking whether ln -s works... " >&6; }
5293 LN_S=$as_ln_s
5294 if test "$LN_S" = "ln -s"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296 $as_echo "yes" >&6; }
5297 else
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5299 $as_echo "no, using $LN_S" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5303 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5304 if ${ac_cv_path_GREP+:} false; then :
5305 $as_echo_n "(cached) " >&6
5306 else
5307 if test -z "$GREP"; then
5308 ac_path_GREP_found=false
5309 # Loop through the user's path and test for each of PROGNAME-LIST
5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5313 IFS=$as_save_IFS
5314 test -z "$as_dir" && as_dir=.
5315 for ac_prog in grep ggrep; do
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5318 as_fn_executable_p "$ac_path_GREP" || continue
5319 # Check for GNU ac_path_GREP and select it if it is found.
5320 # Check for GNU $ac_path_GREP
5321 case `"$ac_path_GREP" --version 2>&1` in
5322 *GNU*)
5323 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5325 ac_count=0
5326 $as_echo_n 0123456789 >"conftest.in"
5327 while :
5329 cat "conftest.in" "conftest.in" >"conftest.tmp"
5330 mv "conftest.tmp" "conftest.in"
5331 cp "conftest.in" "conftest.nl"
5332 $as_echo 'GREP' >> "conftest.nl"
5333 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5334 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5335 as_fn_arith $ac_count + 1 && ac_count=$as_val
5336 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5337 # Best one so far, save it but keep looking for a better one
5338 ac_cv_path_GREP="$ac_path_GREP"
5339 ac_path_GREP_max=$ac_count
5341 # 10*(2^10) chars as input seems more than enough
5342 test $ac_count -gt 10 && break
5343 done
5344 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5345 esac
5347 $ac_path_GREP_found && break 3
5348 done
5349 done
5350 done
5351 IFS=$as_save_IFS
5352 if test -z "$ac_cv_path_GREP"; then
5353 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5355 else
5356 ac_cv_path_GREP=$GREP
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5361 $as_echo "$ac_cv_path_GREP" >&6; }
5362 GREP="$ac_cv_path_GREP"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5366 $as_echo_n "checking for egrep... " >&6; }
5367 if ${ac_cv_path_EGREP+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5371 then ac_cv_path_EGREP="$GREP -E"
5372 else
5373 if test -z "$EGREP"; then
5374 ac_path_EGREP_found=false
5375 # Loop through the user's path and test for each of PROGNAME-LIST
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_prog in egrep; do
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5384 as_fn_executable_p "$ac_path_EGREP" || continue
5385 # Check for GNU ac_path_EGREP and select it if it is found.
5386 # Check for GNU $ac_path_EGREP
5387 case `"$ac_path_EGREP" --version 2>&1` in
5388 *GNU*)
5389 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5391 ac_count=0
5392 $as_echo_n 0123456789 >"conftest.in"
5393 while :
5395 cat "conftest.in" "conftest.in" >"conftest.tmp"
5396 mv "conftest.tmp" "conftest.in"
5397 cp "conftest.in" "conftest.nl"
5398 $as_echo 'EGREP' >> "conftest.nl"
5399 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5400 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5401 as_fn_arith $ac_count + 1 && ac_count=$as_val
5402 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5403 # Best one so far, save it but keep looking for a better one
5404 ac_cv_path_EGREP="$ac_path_EGREP"
5405 ac_path_EGREP_max=$ac_count
5407 # 10*(2^10) chars as input seems more than enough
5408 test $ac_count -gt 10 && break
5409 done
5410 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5411 esac
5413 $ac_path_EGREP_found && break 3
5414 done
5415 done
5416 done
5417 IFS=$as_save_IFS
5418 if test -z "$ac_cv_path_EGREP"; then
5419 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5421 else
5422 ac_cv_path_EGREP=$EGREP
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5428 $as_echo "$ac_cv_path_EGREP" >&6; }
5429 EGREP="$ac_cv_path_EGREP"
5432 # Extract the first word of "ldconfig", so it can be a program name with args.
5433 set dummy ldconfig; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_path_LDCONFIG+:} false; then :
5437 $as_echo_n "(cached) " >&6
5438 else
5439 case $LDCONFIG in
5440 [\\/]* | ?:[\\/]*)
5441 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in /sbin /usr/sbin $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5459 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5461 esac
5463 LDCONFIG=$ac_cv_path_LDCONFIG
5464 if test -n "$LDCONFIG"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5466 $as_echo "$LDCONFIG" >&6; }
5467 else
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5473 for ac_prog in msgfmt
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy $ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_MSGFMT+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$MSGFMT"; then
5483 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_MSGFMT="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 MSGFMT=$ac_cv_prog_MSGFMT
5503 if test -n "$MSGFMT"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5505 $as_echo "$MSGFMT" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$MSGFMT" && break
5513 done
5514 test -n "$MSGFMT" || MSGFMT="false"
5516 if ${ac_tool_prefix+:} false; then :
5517 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5518 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5522 $as_echo_n "(cached) " >&6
5523 else
5524 if test -n "$PKG_CONFIG"; then
5525 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5526 else
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_exec_ext in '' $ac_executable_extensions; do
5533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5534 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 break 2
5538 done
5539 done
5540 IFS=$as_save_IFS
5544 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5545 if test -n "$PKG_CONFIG"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5547 $as_echo "$PKG_CONFIG" >&6; }
5548 else
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5556 if test "x$cross_compiling" = xyes; then :
5558 else
5559 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5560 # Extract the first word of "pkg-config", so it can be a program name with args.
5561 set dummy pkg-config; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$PKG_CONFIG"; then
5568 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_PKG_CONFIG="pkg-config"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5588 if test -n "$PKG_CONFIG"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5590 $as_echo "$PKG_CONFIG" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5598 else
5599 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5602 if test "x$enable_maintainer_mode" != "xyes"
5603 then
5604 FONTFORGE=""
5605 RSVG=""
5606 CONVERT=""
5607 ICOTOOL=""
5608 else
5609 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5610 for ac_prog in fontforge
5612 # Extract the first word of "$ac_prog", so it can be a program name with args.
5613 set dummy $ac_prog; ac_word=$2
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615 $as_echo_n "checking for $ac_word... " >&6; }
5616 if ${ac_cv_prog_FONTFORGE+:} false; then :
5617 $as_echo_n "(cached) " >&6
5618 else
5619 if test -n "$FONTFORGE"; then
5620 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5621 else
5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH
5625 IFS=$as_save_IFS
5626 test -z "$as_dir" && as_dir=.
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5629 ac_cv_prog_FONTFORGE="$ac_prog"
5630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631 break 2
5633 done
5634 done
5635 IFS=$as_save_IFS
5639 FONTFORGE=$ac_cv_prog_FONTFORGE
5640 if test -n "$FONTFORGE"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5642 $as_echo "$FONTFORGE" >&6; }
5643 else
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }
5649 test -n "$FONTFORGE" && break
5650 done
5651 test -n "$FONTFORGE" || FONTFORGE="false"
5653 for ac_prog in rsvg
5655 # Extract the first word of "$ac_prog", so it can be a program name with args.
5656 set dummy $ac_prog; ac_word=$2
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5658 $as_echo_n "checking for $ac_word... " >&6; }
5659 if ${ac_cv_prog_RSVG+:} false; then :
5660 $as_echo_n "(cached) " >&6
5661 else
5662 if test -n "$RSVG"; then
5663 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5672 ac_cv_prog_RSVG="$ac_prog"
5673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 RSVG=$ac_cv_prog_RSVG
5683 if test -n "$RSVG"; then
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5685 $as_echo "$RSVG" >&6; }
5686 else
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5688 $as_echo "no" >&6; }
5692 test -n "$RSVG" && break
5693 done
5694 test -n "$RSVG" || RSVG="false"
5696 for ac_prog in convert
5698 # Extract the first word of "$ac_prog", so it can be a program name with args.
5699 set dummy $ac_prog; ac_word=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if ${ac_cv_prog_CONVERT+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 if test -n "$CONVERT"; then
5706 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5711 IFS=$as_save_IFS
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_CONVERT="$ac_prog"
5716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 break 2
5719 done
5720 done
5721 IFS=$as_save_IFS
5725 CONVERT=$ac_cv_prog_CONVERT
5726 if test -n "$CONVERT"; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5728 $as_echo "$CONVERT" >&6; }
5729 else
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5735 test -n "$CONVERT" && break
5736 done
5737 test -n "$CONVERT" || CONVERT="false"
5739 for ac_prog in icotool
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_ICOTOOL+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 if test -n "$ICOTOOL"; then
5749 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5754 IFS=$as_save_IFS
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758 ac_cv_prog_ICOTOOL="$ac_prog"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 break 2
5762 done
5763 done
5764 IFS=$as_save_IFS
5768 ICOTOOL=$ac_cv_prog_ICOTOOL
5769 if test -n "$ICOTOOL"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5771 $as_echo "$ICOTOOL" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5778 test -n "$ICOTOOL" && break
5779 done
5780 test -n "$ICOTOOL" || ICOTOOL="false"
5782 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5783 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5785 if test "$CONVERT" = false
5786 then
5787 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5788 else
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5790 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5791 convert_version=`convert --version | head -n1`
5792 if test "x$convert_version" != "x"
5793 then
5794 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5795 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5796 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5797 then
5798 CONVERT=false
5801 if test "$CONVERT" = false
5802 then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5804 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5805 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5808 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5812 if test "$ICOTOOL" = false
5813 then
5814 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5815 else
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5817 $as_echo_n "checking for recent enough icotool... " >&6; }
5818 icotool_version=`icotool --version | head -n1`
5819 if test "x$icotool_version" != "x"
5820 then
5821 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5822 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5823 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5824 then
5825 ICOTOOL=false
5826 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5829 if test "$ICOTOOL" = false
5830 then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5832 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5833 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5836 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5840 with_gettext=yes
5841 with_gettextpo=yes
5842 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5845 test "x$with_gettext" != xno || MSGFMT=false
5846 if test "$MSGFMT" != "false"
5847 then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5849 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5850 cat >conftest.po <<EOF
5851 # comment
5852 msgctxt "ctxt"
5853 msgid "id"
5854 msgstr "str"
5856 if $MSGFMT -o /dev/null conftest.po 2>&5
5857 then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5859 $as_echo "yes" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5863 MSGFMT=false
5866 if test "$MSGFMT" = false; then :
5867 case "x$with_gettext" in
5868 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5869 xno) ;;
5870 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5871 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5872 esac
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5877 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5878 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5879 $as_echo_n "(cached) " >&6
5880 else
5881 ac_check_lib_save_LIBS=$LIBS
5882 LIBS="-li386 $LIBS"
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5886 /* Override any GCC internal prototype to avoid an error.
5887 Use char because int might match the return type of a GCC
5888 builtin and then its argument prototype would still apply. */
5889 #ifdef __cplusplus
5890 extern "C"
5891 #endif
5892 char i386_set_ldt ();
5894 main ()
5896 return i386_set_ldt ();
5898 return 0;
5900 _ACEOF
5901 if ac_fn_c_try_link "$LINENO"; then :
5902 ac_cv_lib_i386_i386_set_ldt=yes
5903 else
5904 ac_cv_lib_i386_i386_set_ldt=no
5906 rm -f core conftest.err conftest.$ac_objext \
5907 conftest$ac_exeext conftest.$ac_ext
5908 LIBS=$ac_check_lib_save_LIBS
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5911 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5912 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5913 cat >>confdefs.h <<_ACEOF
5914 #define HAVE_LIBI386 1
5915 _ACEOF
5917 LIBS="-li386 $LIBS"
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5922 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5923 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5924 $as_echo_n "(cached) " >&6
5925 else
5926 ac_check_lib_save_LIBS=$LIBS
5927 LIBS="-lossaudio $LIBS"
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h. */
5931 /* Override any GCC internal prototype to avoid an error.
5932 Use char because int might match the return type of a GCC
5933 builtin and then its argument prototype would still apply. */
5934 #ifdef __cplusplus
5935 extern "C"
5936 #endif
5937 char _oss_ioctl ();
5939 main ()
5941 return _oss_ioctl ();
5943 return 0;
5945 _ACEOF
5946 if ac_fn_c_try_link "$LINENO"; then :
5947 ac_cv_lib_ossaudio__oss_ioctl=yes
5948 else
5949 ac_cv_lib_ossaudio__oss_ioctl=no
5951 rm -f core conftest.err conftest.$ac_objext \
5952 conftest$ac_exeext conftest.$ac_ext
5953 LIBS=$ac_check_lib_save_LIBS
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5956 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5957 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5958 cat >>confdefs.h <<_ACEOF
5959 #define HAVE_LIBOSSAUDIO 1
5960 _ACEOF
5962 LIBS="-lossaudio $LIBS"
5967 OPENGL_LIBS=""
5971 # Check whether --enable-largefile was given.
5972 if test "${enable_largefile+set}" = set; then :
5973 enableval=$enable_largefile;
5976 if test "$enable_largefile" != no; then
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5979 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5980 if ${ac_cv_sys_largefile_CC+:} false; then :
5981 $as_echo_n "(cached) " >&6
5982 else
5983 ac_cv_sys_largefile_CC=no
5984 if test "$GCC" != yes; then
5985 ac_save_CC=$CC
5986 while :; do
5987 # IRIX 6.2 and later do not support large files by default,
5988 # so use the C compiler's -n32 option if that helps.
5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
5991 #include <sys/types.h>
5992 /* Check that off_t can represent 2**63 - 1 correctly.
5993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5994 since some C++ compilers masquerading as C compilers
5995 incorrectly reject 9223372036854775807. */
5996 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5998 && LARGE_OFF_T % 2147483647 == 1)
5999 ? 1 : -1];
6001 main ()
6005 return 0;
6007 _ACEOF
6008 if ac_fn_c_try_compile "$LINENO"; then :
6009 break
6011 rm -f core conftest.err conftest.$ac_objext
6012 CC="$CC -n32"
6013 if ac_fn_c_try_compile "$LINENO"; then :
6014 ac_cv_sys_largefile_CC=' -n32'; break
6016 rm -f core conftest.err conftest.$ac_objext
6017 break
6018 done
6019 CC=$ac_save_CC
6020 rm -f conftest.$ac_ext
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6024 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6025 if test "$ac_cv_sys_largefile_CC" != no; then
6026 CC=$CC$ac_cv_sys_largefile_CC
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6030 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6031 if ${ac_cv_sys_file_offset_bits+:} false; then :
6032 $as_echo_n "(cached) " >&6
6033 else
6034 while :; do
6035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6037 #include <sys/types.h>
6038 /* Check that off_t can represent 2**63 - 1 correctly.
6039 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6040 since some C++ compilers masquerading as C compilers
6041 incorrectly reject 9223372036854775807. */
6042 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6043 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6044 && LARGE_OFF_T % 2147483647 == 1)
6045 ? 1 : -1];
6047 main ()
6051 return 0;
6053 _ACEOF
6054 if ac_fn_c_try_compile "$LINENO"; then :
6055 ac_cv_sys_file_offset_bits=no; break
6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #define _FILE_OFFSET_BITS 64
6061 #include <sys/types.h>
6062 /* Check that off_t can represent 2**63 - 1 correctly.
6063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6064 since some C++ compilers masquerading as C compilers
6065 incorrectly reject 9223372036854775807. */
6066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6068 && LARGE_OFF_T % 2147483647 == 1)
6069 ? 1 : -1];
6071 main ()
6075 return 0;
6077 _ACEOF
6078 if ac_fn_c_try_compile "$LINENO"; then :
6079 ac_cv_sys_file_offset_bits=64; break
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 ac_cv_sys_file_offset_bits=unknown
6083 break
6084 done
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6087 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6088 case $ac_cv_sys_file_offset_bits in #(
6089 no | unknown) ;;
6091 cat >>confdefs.h <<_ACEOF
6092 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6093 _ACEOF
6095 esac
6096 rm -rf conftest*
6097 if test $ac_cv_sys_file_offset_bits = unknown; then
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6099 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6100 if ${ac_cv_sys_large_files+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 while :; do
6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6107 /* Check that off_t can represent 2**63 - 1 correctly.
6108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6109 since some C++ compilers masquerading as C compilers
6110 incorrectly reject 9223372036854775807. */
6111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6113 && LARGE_OFF_T % 2147483647 == 1)
6114 ? 1 : -1];
6116 main ()
6120 return 0;
6122 _ACEOF
6123 if ac_fn_c_try_compile "$LINENO"; then :
6124 ac_cv_sys_large_files=no; break
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6129 #define _LARGE_FILES 1
6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1)
6138 ? 1 : -1];
6140 main ()
6144 return 0;
6146 _ACEOF
6147 if ac_fn_c_try_compile "$LINENO"; then :
6148 ac_cv_sys_large_files=1; break
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 ac_cv_sys_large_files=unknown
6152 break
6153 done
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6156 $as_echo "$ac_cv_sys_large_files" >&6; }
6157 case $ac_cv_sys_large_files in #(
6158 no | unknown) ;;
6160 cat >>confdefs.h <<_ACEOF
6161 #define _LARGE_FILES $ac_cv_sys_large_files
6162 _ACEOF
6164 esac
6165 rm -rf conftest*
6172 ac_ext=c
6173 ac_cpp='$CPP $CPPFLAGS'
6174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6178 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6179 # On Suns, sometimes $CPP names a directory.
6180 if test -n "$CPP" && test -d "$CPP"; then
6181 CPP=
6183 if test -z "$CPP"; then
6184 if ${ac_cv_prog_CPP+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 # Double quotes because CPP needs to be expanded
6188 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6190 ac_preproc_ok=false
6191 for ac_c_preproc_warn_flag in '' yes
6193 # Use a header file that comes with gcc, so configuring glibc
6194 # with a fresh cross-compiler works.
6195 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6196 # <limits.h> exists even on freestanding compilers.
6197 # On the NeXT, cc -E runs the code through the compiler's parser,
6198 # not just through cpp. "Syntax error" is here to catch this case.
6199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #ifdef __STDC__
6202 # include <limits.h>
6203 #else
6204 # include <assert.h>
6205 #endif
6206 Syntax error
6207 _ACEOF
6208 if ac_fn_c_try_cpp "$LINENO"; then :
6210 else
6211 # Broken: fails on valid input.
6212 continue
6214 rm -f conftest.err conftest.i conftest.$ac_ext
6216 # OK, works on sane cases. Now check whether nonexistent headers
6217 # can be detected and how.
6218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6220 #include <ac_nonexistent.h>
6221 _ACEOF
6222 if ac_fn_c_try_cpp "$LINENO"; then :
6223 # Broken: success on invalid input.
6224 continue
6225 else
6226 # Passes both tests.
6227 ac_preproc_ok=:
6228 break
6230 rm -f conftest.err conftest.i conftest.$ac_ext
6232 done
6233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6234 rm -f conftest.i conftest.err conftest.$ac_ext
6235 if $ac_preproc_ok; then :
6236 break
6239 done
6240 ac_cv_prog_CPP=$CPP
6243 CPP=$ac_cv_prog_CPP
6244 else
6245 ac_cv_prog_CPP=$CPP
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6248 $as_echo "$CPP" >&6; }
6249 ac_preproc_ok=false
6250 for ac_c_preproc_warn_flag in '' yes
6252 # Use a header file that comes with gcc, so configuring glibc
6253 # with a fresh cross-compiler works.
6254 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 # <limits.h> exists even on freestanding compilers.
6256 # On the NeXT, cc -E runs the code through the compiler's parser,
6257 # not just through cpp. "Syntax error" is here to catch this case.
6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #ifdef __STDC__
6261 # include <limits.h>
6262 #else
6263 # include <assert.h>
6264 #endif
6265 Syntax error
6266 _ACEOF
6267 if ac_fn_c_try_cpp "$LINENO"; then :
6269 else
6270 # Broken: fails on valid input.
6271 continue
6273 rm -f conftest.err conftest.i conftest.$ac_ext
6275 # OK, works on sane cases. Now check whether nonexistent headers
6276 # can be detected and how.
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6279 #include <ac_nonexistent.h>
6280 _ACEOF
6281 if ac_fn_c_try_cpp "$LINENO"; then :
6282 # Broken: success on invalid input.
6283 continue
6284 else
6285 # Passes both tests.
6286 ac_preproc_ok=:
6287 break
6289 rm -f conftest.err conftest.i conftest.$ac_ext
6291 done
6292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6293 rm -f conftest.i conftest.err conftest.$ac_ext
6294 if $ac_preproc_ok; then :
6296 else
6297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6299 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6300 See \`config.log' for more details" "$LINENO" 5; }
6303 ac_ext=c
6304 ac_cpp='$CPP $CPPFLAGS'
6305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6311 $as_echo_n "checking for ANSI C header files... " >&6; }
6312 if ${ac_cv_header_stdc+:} false; then :
6313 $as_echo_n "(cached) " >&6
6314 else
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6317 #include <stdlib.h>
6318 #include <stdarg.h>
6319 #include <string.h>
6320 #include <float.h>
6323 main ()
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_compile "$LINENO"; then :
6331 ac_cv_header_stdc=yes
6332 else
6333 ac_cv_header_stdc=no
6335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 if test $ac_cv_header_stdc = yes; then
6338 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <string.h>
6343 _ACEOF
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "memchr" >/dev/null 2>&1; then :
6347 else
6348 ac_cv_header_stdc=no
6350 rm -f conftest*
6354 if test $ac_cv_header_stdc = yes; then
6355 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <stdlib.h>
6360 _ACEOF
6361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6362 $EGREP "free" >/dev/null 2>&1; then :
6364 else
6365 ac_cv_header_stdc=no
6367 rm -f conftest*
6371 if test $ac_cv_header_stdc = yes; then
6372 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6373 if test "$cross_compiling" = yes; then :
6375 else
6376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 #include <ctype.h>
6379 #include <stdlib.h>
6380 #if ((' ' & 0x0FF) == 0x020)
6381 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6382 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6383 #else
6384 # define ISLOWER(c) \
6385 (('a' <= (c) && (c) <= 'i') \
6386 || ('j' <= (c) && (c) <= 'r') \
6387 || ('s' <= (c) && (c) <= 'z'))
6388 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6389 #endif
6391 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6393 main ()
6395 int i;
6396 for (i = 0; i < 256; i++)
6397 if (XOR (islower (i), ISLOWER (i))
6398 || toupper (i) != TOUPPER (i))
6399 return 2;
6400 return 0;
6402 _ACEOF
6403 if ac_fn_c_try_run "$LINENO"; then :
6405 else
6406 ac_cv_header_stdc=no
6408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6409 conftest.$ac_objext conftest.beam conftest.$ac_ext
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6415 $as_echo "$ac_cv_header_stdc" >&6; }
6416 if test $ac_cv_header_stdc = yes; then
6418 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6422 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6423 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6424 inttypes.h stdint.h unistd.h
6425 do :
6426 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6427 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6430 cat >>confdefs.h <<_ACEOF
6431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6432 _ACEOF
6436 done
6439 for ac_header in \
6440 AL/al.h \
6441 ApplicationServices/ApplicationServices.h \
6442 AudioToolbox/AudioConverter.h \
6443 AudioUnit/AudioUnit.h \
6444 AudioUnit/AudioComponent.h \
6445 CL/cl.h \
6446 Carbon/Carbon.h \
6447 CoreAudio/CoreAudio.h \
6448 CoreServices/CoreServices.h \
6449 DiskArbitration/DiskArbitration.h \
6450 IOKit/IOKitLib.h \
6451 IOKit/hid/IOHIDLib.h \
6452 OpenAL/al.h \
6453 OpenCL/opencl.h \
6454 QuickTime/ImageCompression.h \
6455 Security/Security.h \
6456 alias.h \
6457 alsa/asoundlib.h \
6458 arpa/inet.h \
6459 arpa/nameser.h \
6460 asm/types.h \
6461 asm/user.h \
6462 curses.h \
6463 direct.h \
6464 dirent.h \
6465 dlfcn.h \
6466 elf.h \
6467 float.h \
6468 fnmatch.h \
6469 getopt.h \
6470 gettext-po.h \
6471 grp.h \
6472 gsm.h \
6473 gsm/gsm.h \
6474 ieeefp.h \
6475 inet/mib2.h \
6476 io.h \
6477 kstat.h \
6478 lber.h \
6479 ldap.h \
6480 libproc.h \
6481 link.h \
6482 linux/cdrom.h \
6483 linux/compiler.h \
6484 linux/filter.h \
6485 linux/hdreg.h \
6486 linux/input.h \
6487 linux/ioctl.h \
6488 linux/joystick.h \
6489 linux/major.h \
6490 linux/param.h \
6491 linux/serial.h \
6492 linux/types.h \
6493 linux/ucdrom.h \
6494 lwp.h \
6495 mach-o/nlist.h \
6496 mach-o/loader.h \
6497 mach/mach.h \
6498 mach/machine.h \
6499 machine/cpu.h \
6500 machine/limits.h \
6501 machine/sysarch.h \
6502 mntent.h \
6503 ncurses.h \
6504 netdb.h \
6505 netinet/in.h \
6506 netinet/in_systm.h \
6507 netinet/tcp.h \
6508 netinet/tcp_fsm.h \
6509 pcap/pcap.h \
6510 poll.h \
6511 port.h \
6512 process.h \
6513 pthread.h \
6514 pwd.h \
6515 sched.h \
6516 scsi/scsi.h \
6517 scsi/scsi_ioctl.h \
6518 scsi/sg.h \
6519 stdbool.h \
6520 stdint.h \
6521 stropts.h \
6522 sys/asoundlib.h \
6523 sys/attr.h \
6524 sys/cdio.h \
6525 sys/elf32.h \
6526 sys/epoll.h \
6527 sys/event.h \
6528 sys/exec_elf.h \
6529 sys/filio.h \
6530 sys/inotify.h \
6531 sys/ioctl.h \
6532 sys/ipc.h \
6533 sys/limits.h \
6534 sys/link.h \
6535 sys/mman.h \
6536 sys/modem.h \
6537 sys/msg.h \
6538 sys/mtio.h \
6539 sys/param.h \
6540 sys/poll.h \
6541 sys/prctl.h \
6542 sys/protosw.h \
6543 sys/ptrace.h \
6544 sys/queue.h \
6545 sys/resource.h \
6546 sys/scsiio.h \
6547 sys/shm.h \
6548 sys/signal.h \
6549 sys/socket.h \
6550 sys/socketvar.h \
6551 sys/sockio.h \
6552 sys/statvfs.h \
6553 sys/strtio.h \
6554 sys/syscall.h \
6555 sys/tihdr.h \
6556 sys/time.h \
6557 sys/timeout.h \
6558 sys/times.h \
6559 sys/uio.h \
6560 sys/user.h \
6561 sys/utsname.h \
6562 sys/vm86.h \
6563 sys/wait.h \
6564 syscall.h \
6565 termios.h \
6566 unistd.h \
6567 utime.h \
6568 valgrind/memcheck.h \
6569 valgrind/valgrind.h \
6570 zlib.h
6572 do :
6573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6574 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6576 cat >>confdefs.h <<_ACEOF
6577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6578 _ACEOF
6582 done
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6585 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6586 if ${ac_cv_header_stat_broken+:} false; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6591 #include <sys/types.h>
6592 #include <sys/stat.h>
6594 #if defined S_ISBLK && defined S_IFDIR
6595 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6596 #endif
6598 #if defined S_ISBLK && defined S_IFCHR
6599 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6600 #endif
6602 #if defined S_ISLNK && defined S_IFREG
6603 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6604 #endif
6606 #if defined S_ISSOCK && defined S_IFREG
6607 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6608 #endif
6610 _ACEOF
6611 if ac_fn_c_try_compile "$LINENO"; then :
6612 ac_cv_header_stat_broken=no
6613 else
6614 ac_cv_header_stat_broken=yes
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6619 $as_echo "$ac_cv_header_stat_broken" >&6; }
6620 if test $ac_cv_header_stat_broken = yes; then
6622 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6628 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6629 do :
6630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6631 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6632 #ifdef HAVE_SYS_PARAM_H
6633 # include <sys/param.h>
6634 #endif
6636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6637 cat >>confdefs.h <<_ACEOF
6638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6639 _ACEOF
6643 done
6646 for ac_header in \
6647 netinet/ip.h \
6648 net/if.h \
6649 net/if_arp.h \
6650 net/if_dl.h \
6651 net/if_types.h \
6652 net/route.h \
6653 netinet/if_ether.h \
6654 netinet/if_inarp.h \
6655 netinet/in_pcb.h \
6656 netinet/ip_icmp.h \
6657 netinet/ip_var.h \
6658 netinet/udp.h \
6659 netipx/ipx.h \
6660 sys/un.h \
6662 do :
6663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6665 #ifdef HAVE_SYS_SOCKET_H
6666 # include <sys/socket.h>
6667 #endif
6668 #ifdef HAVE_SYS_SOCKETVAR_H
6669 # include <sys/socketvar.h>
6670 #endif
6671 #ifdef HAVE_NET_ROUTE_H
6672 # include <net/route.h>
6673 #endif
6674 #ifdef HAVE_NETINET_IN_H
6675 # include <netinet/in.h>
6676 #endif
6677 #ifdef HAVE_NETINET_IN_SYSTM_H
6678 # include <netinet/in_systm.h>
6679 #endif
6680 #ifdef HAVE_NET_IF_H
6681 # include <net/if.h>
6682 #endif
6683 #ifdef HAVE_NETINET_IP_H
6684 # include <netinet/ip.h>
6685 #endif
6687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6688 cat >>confdefs.h <<_ACEOF
6689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6690 _ACEOF
6694 done
6697 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6698 do :
6699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6701 #ifdef HAVE_ALIAS_H
6702 # include <alias.h>
6703 #endif
6704 #ifdef HAVE_SYS_SOCKET_H
6705 # include <sys/socket.h>
6706 #endif
6707 #ifdef HAVE_SYS_SOCKETVAR_H
6708 # include <sys/socketvar.h>
6709 #endif
6710 #ifdef HAVE_SYS_TIMEOUT_H
6711 # include <sys/timeout.h>
6712 #endif
6713 #ifdef HAVE_NETINET_IN_H
6714 # include <netinet/in.h>
6715 #endif
6716 #ifdef HAVE_NETINET_IN_SYSTM_H
6717 # include <netinet/in_systm.h>
6718 #endif
6719 #ifdef HAVE_NETINET_IP_H
6720 # include <netinet/ip.h>
6721 #endif
6722 #ifdef HAVE_NETINET_IP_VAR_H
6723 # include <netinet/ip_var.h>
6724 #endif
6725 #ifdef HAVE_NETINET_IP_ICMP_H
6726 # include <netinet/ip_icmp.h>
6727 #endif
6728 #ifdef HAVE_NETINET_UDP_H
6729 # include <netinet/udp.h>
6730 #endif
6731 #ifdef HAVE_NETINET_TCP_H
6732 # include <netinet/tcp.h>
6733 #endif
6734 #ifdef HAVE_NETINET_TCP_TIMER_H
6735 #include <netinet/tcp_timer.h>
6736 #endif
6738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6739 cat >>confdefs.h <<_ACEOF
6740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6741 _ACEOF
6745 done
6748 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6749 do :
6750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6752 #ifdef HAVE_ASM_TYPES_H
6753 # include <asm/types.h>
6754 #endif
6755 #ifdef HAVE_SYS_SOCKET_H
6756 # include <sys/socket.h>
6757 #endif
6758 #ifdef HAVE_LINUX_TYPES_H
6759 # include <linux/types.h>
6760 #endif
6762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 _ACEOF
6769 done
6772 for ac_header in mach-o/dyld_images.h
6773 do :
6774 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6775 # include <stdbool.h>
6776 #endif
6777 #ifdef HAVE_STDINT_H
6778 # include <stdint.h>
6779 #endif
6781 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6782 cat >>confdefs.h <<_ACEOF
6783 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6784 _ACEOF
6788 done
6791 for ac_header in resolv.h
6792 do :
6793 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6794 #ifdef HAVE_SYS_SOCKET_H
6795 # include <sys/socket.h>
6796 #endif
6797 #ifdef HAVE_NETINET_IN_H
6798 # include <netinet/in.h>
6799 #endif
6800 #ifdef HAVE_ARPA_NAMESER_H
6801 # include <arpa/nameser.h>
6802 #endif
6804 if test "x$ac_cv_header_resolv_h" = xyes; then :
6805 cat >>confdefs.h <<_ACEOF
6806 #define HAVE_RESOLV_H 1
6807 _ACEOF
6811 done
6814 for ac_header in ifaddrs.h
6815 do :
6816 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6818 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6819 cat >>confdefs.h <<_ACEOF
6820 #define HAVE_IFADDRS_H 1
6821 _ACEOF
6825 done
6828 for ac_header in sys/ucontext.h
6829 do :
6830 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6832 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define HAVE_SYS_UCONTEXT_H 1
6835 _ACEOF
6839 done
6842 for ac_header in sys/thr.h
6843 do :
6844 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6845 #ifdef HAVE_SYS_UCONTEXT_H
6846 #include <sys/ucontext.h>
6847 #endif
6849 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6850 cat >>confdefs.h <<_ACEOF
6851 #define HAVE_SYS_THR_H 1
6852 _ACEOF
6856 done
6859 for ac_header in pthread_np.h
6860 do :
6861 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6862 #include <pthread.h>
6863 #endif
6865 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6866 cat >>confdefs.h <<_ACEOF
6867 #define HAVE_PTHREAD_NP_H 1
6868 _ACEOF
6872 done
6875 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6876 do :
6877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6878 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6879 #include <sys/time.h>
6880 #endif
6881 #include <sys/types.h>
6882 #ifdef HAVE_ASM_TYPES_H
6883 #include <asm/types.h>
6884 #endif
6886 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6887 cat >>confdefs.h <<_ACEOF
6888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6889 _ACEOF
6893 done
6896 for ac_header in libprocstat.h
6897 do :
6898 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6899 #include <sys/param.h>
6900 #endif
6901 #ifdef HAVE_SYS_QUEUE_H
6902 #include <sys/queue.h>
6903 #endif
6904 #ifdef HAVE_SYS_SOCKET_H
6905 #include <sys/socket.h>
6906 #endif
6908 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6909 cat >>confdefs.h <<_ACEOF
6910 #define HAVE_LIBPROCSTAT_H 1
6911 _ACEOF
6915 done
6919 dlldir="\${libdir}/wine"
6921 DLLPREFIX=""
6923 DLLFLAGS="-D_REENTRANT"
6925 LDRPATH_INSTALL=""
6927 LDRPATH_LOCAL=""
6929 LIBEXT="so"
6930 DLLEXT=".so"
6931 IMPLIBEXT="def"
6932 STATIC_IMPLIBEXT="def.a"
6933 # Extract the first word of "ldd", so it can be a program name with args.
6934 set dummy ldd; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_path_LDD+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 case $LDD in
6941 [\\/]* | ?:[\\/]*)
6942 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946 as_dummy="/sbin:/usr/sbin:$PATH"
6947 for as_dir in $as_dummy
6949 IFS=$as_save_IFS
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 break 2
6957 done
6958 done
6959 IFS=$as_save_IFS
6961 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6963 esac
6965 LDD=$ac_cv_path_LDD
6966 if test -n "$LDD"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6968 $as_echo "$LDD" >&6; }
6969 else
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6975 if test -n "$ac_tool_prefix"; then
6976 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6977 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_READELF+:} false; then :
6981 $as_echo_n "(cached) " >&6
6982 else
6983 if test -n "$READELF"; then
6984 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6985 else
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH
6989 IFS=$as_save_IFS
6990 test -z "$as_dir" && as_dir=.
6991 for ac_exec_ext in '' $ac_executable_extensions; do
6992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 break 2
6997 done
6998 done
6999 IFS=$as_save_IFS
7003 READELF=$ac_cv_prog_READELF
7004 if test -n "$READELF"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7006 $as_echo "$READELF" >&6; }
7007 else
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7014 if test -z "$ac_cv_prog_READELF"; then
7015 ac_ct_READELF=$READELF
7016 # Extract the first word of "readelf", so it can be a program name with args.
7017 set dummy readelf; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 if test -n "$ac_ct_READELF"; then
7024 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7025 else
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 for as_dir in $PATH
7029 IFS=$as_save_IFS
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_ac_ct_READELF="readelf"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 break 2
7037 done
7038 done
7039 IFS=$as_save_IFS
7043 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7044 if test -n "$ac_ct_READELF"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7046 $as_echo "$ac_ct_READELF" >&6; }
7047 else
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7052 if test "x$ac_ct_READELF" = x; then
7053 READELF="true"
7054 else
7055 case $cross_compiling:$ac_tool_warned in
7056 yes:)
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7059 ac_tool_warned=yes ;;
7060 esac
7061 READELF=$ac_ct_READELF
7063 else
7064 READELF="$ac_cv_prog_READELF"
7067 wine_rules_file=conf$$rules.make
7068 rm -f $wine_rules_file
7069 ALL_POT_FILES=""
7070 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7071 ALL_TEST_RESOURCES=""
7074 wine_fn_append_file ()
7076 as_fn_append $1 " \\$as_nl $2"
7079 wine_fn_ignore_file ()
7081 case "$1" in
7082 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7083 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7084 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7085 esac
7088 wine_fn_append_rule ()
7090 $as_echo "$1" >>$wine_rules_file
7093 wine_fn_has_flag ()
7095 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7098 wine_fn_depend_rules ()
7100 wine_fn_append_rule \
7101 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7102 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7103 depend: $ac_dir/depend
7104 .PHONY: $ac_dir/depend
7105 $ac_dir/depend: \$(MAKEDEP) dummy
7106 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7109 wine_fn_pot_rules ()
7111 test "x$with_gettextpo" = xyes || return
7113 if wine_fn_has_flag mc
7114 then
7115 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7116 wine_fn_append_rule \
7117 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7118 @cd $ac_dir && \$(MAKE) msg.pot
7119 $ac_dir/msg.pot: tools/wmc include"
7121 if wine_fn_has_flag po
7122 then
7123 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7124 wine_fn_append_rule \
7125 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7126 @cd $ac_dir && \$(MAKE) rsrc.pot
7127 $ac_dir/rsrc.pot: tools/wrc include"
7131 wine_fn_all_rules ()
7133 wine_fn_depend_rules
7134 wine_fn_append_rule \
7135 "all: $ac_dir
7136 .PHONY: $ac_dir
7137 $ac_dir: $ac_dir/Makefile dummy
7138 @cd $ac_dir && \$(MAKE)"
7141 wine_fn_install_rules ()
7143 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7145 wine_fn_append_rule \
7146 ".PHONY: $ac_dir/install $ac_dir/uninstall
7147 $ac_dir/install:: $ac_dir
7148 @cd $ac_dir && \$(MAKE) install
7149 $ac_dir/uninstall:: $ac_dir/Makefile
7150 @cd $ac_dir && \$(MAKE) uninstall
7151 install:: $ac_dir/install
7152 __uninstall__: $ac_dir/uninstall"
7154 if wine_fn_has_flag install-lib
7155 then
7156 wine_fn_append_rule \
7157 ".PHONY: $ac_dir/install-lib
7158 $ac_dir/install-lib:: $ac_dir
7159 @cd $ac_dir && \$(MAKE) install-lib
7160 install-lib:: $ac_dir/install-lib"
7163 if wine_fn_has_flag install-dev
7164 then
7165 wine_fn_append_rule \
7166 ".PHONY: $ac_dir/install-dev
7167 $ac_dir/install-dev:: $ac_dir
7168 @cd $ac_dir && \$(MAKE) install-dev
7169 install-dev:: $ac_dir/install-dev"
7173 wine_fn_clean_rules ()
7175 ac_clean=$@
7176 ac_extraclean="$ac_dir/Makefile"
7177 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7178 case $ac_dir in
7179 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7180 esac
7182 if wine_fn_has_flag clean
7183 then
7184 wine_fn_append_rule \
7185 "__clean__: $ac_dir/clean
7186 .PHONY: $ac_dir/clean
7187 $ac_dir/clean: $ac_dir/Makefile
7188 @cd $ac_dir && \$(MAKE) clean
7189 \$(RM) $ac_extraclean"
7190 else
7191 wine_fn_append_rule \
7192 "__clean__: $ac_dir/clean
7193 .PHONY: $ac_dir/clean
7194 $ac_dir/clean: dummy
7195 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7199 wine_fn_disabled_rules ()
7201 ac_clean=$@
7202 ac_extraclean="$ac_dir/Makefile"
7203 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7205 wine_fn_append_rule \
7206 "__clean__: $ac_dir/clean
7207 .PHONY: $ac_dir/clean
7208 $ac_dir/clean: dummy
7209 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7212 wine_fn_config_makefile ()
7214 ac_dir=$1
7215 ac_enable=$2
7216 ac_flags=$3
7218 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7219 wine_fn_disabled_rules; return
7221 wine_fn_all_rules
7222 wine_fn_install_rules
7223 wine_fn_clean_rules
7226 wine_fn_config_lib ()
7228 ac_name=$1
7229 ac_flags=$2
7230 ac_dir=dlls/$ac_name
7231 ac_deps="include"
7233 if test "x$enable_tools" = xno; then :
7235 else
7236 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7238 wine_fn_all_rules
7239 wine_fn_clean_rules
7241 wine_fn_append_rule \
7242 ".PHONY: $ac_dir/install $ac_dir/uninstall
7243 $ac_dir/install:: $ac_dir
7244 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7245 $ac_dir/uninstall::
7246 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7247 install install-dev:: $ac_dir/install
7248 __uninstall__: $ac_dir/uninstall
7249 __builddeps__: $ac_dir
7250 $ac_dir: $ac_deps"
7253 wine_fn_config_dll ()
7255 ac_name=$1
7256 ac_dir=dlls/$ac_name
7257 ac_enable=$2
7258 ac_flags=$3
7259 ac_implib=${4:-$ac_name}
7260 ac_file=$ac_dir/lib$ac_implib
7261 ac_dll=$ac_name
7262 ac_deps="include"
7263 ac_implibflags=""
7265 if test "x$enable_tools" = xno; then :
7267 else
7268 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7270 case $ac_name in
7271 *16) ac_implibflags=" -m16" ;;
7272 *.*) ;;
7273 *) ac_dll=$ac_dll.dll ;;
7274 esac
7276 ac_clean=
7277 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7278 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7279 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7280 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7282 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7283 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7284 then
7285 wine_fn_depend_rules
7286 wine_fn_clean_rules $ac_clean
7287 else
7288 wine_fn_disabled_rules $ac_clean
7289 return
7291 else
7292 wine_fn_all_rules
7293 wine_fn_clean_rules $ac_clean
7294 wine_fn_append_rule \
7295 "$ac_dir: __builddeps__
7296 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7297 @cd $ac_dir && \$(MAKE) \$@
7298 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7299 install install-lib:: $ac_dir/install-lib
7300 __uninstall__: $ac_dir/uninstall"
7301 if test -n "$DLLEXT"
7302 then
7303 wine_fn_append_rule \
7304 "$ac_dir/install-lib:: $ac_dir
7305 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7306 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7307 $ac_dir/uninstall::
7308 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7309 else
7310 wine_fn_append_rule \
7311 "$ac_dir/install-lib:: $ac_dir
7312 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7313 $ac_dir/uninstall::
7314 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7317 wine_fn_pot_rules
7320 if wine_fn_has_flag staticimplib
7321 then
7322 wine_fn_append_rule \
7323 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7324 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7325 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7326 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7327 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7328 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7329 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7330 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7331 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7332 $ac_dir/uninstall::
7333 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7334 install install-dev:: $ac_dir/install-dev
7335 __uninstall__: $ac_dir/uninstall"
7337 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7338 then
7339 wine_fn_append_rule \
7340 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7341 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7342 $ac_dir/uninstall::
7343 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7346 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7347 then
7348 wine_fn_append_rule \
7349 "__builddeps__: $ac_file.cross.a
7350 $ac_file.cross.a: $ac_dir/Makefile dummy
7351 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7354 elif wine_fn_has_flag implib
7355 then
7356 wine_fn_append_rule \
7357 "__builddeps__: $ac_file.$IMPLIBEXT
7358 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7359 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7360 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7363 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7364 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7365 $ac_dir/uninstall::
7366 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7367 install install-dev:: $ac_dir/install-dev
7368 __uninstall__: $ac_dir/uninstall"
7369 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7370 then
7371 wine_fn_append_rule \
7372 "__builddeps__: $ac_file.cross.a
7373 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7374 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7377 if test "$ac_name" != "$ac_implib"
7378 then
7379 wine_fn_append_rule \
7380 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7381 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7382 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7383 clean::
7384 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7385 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7386 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7387 then
7388 wine_fn_append_rule \
7389 "__builddeps__: dlls/lib$ac_implib.cross.a
7390 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7391 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7392 clean::
7393 \$(RM) dlls/lib$ac_implib.cross.a"
7394 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7400 wine_fn_config_program ()
7402 ac_name=$1
7403 ac_dir=programs/$ac_name
7404 ac_enable=$2
7405 ac_flags=$3
7406 ac_program=$ac_name
7408 case $ac_name in
7409 *.*) ;;
7410 *) ac_program=$ac_program.exe ;;
7411 esac
7413 ac_clean=
7414 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7415 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7416 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7417 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7419 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7420 wine_fn_disabled_rules $ac_clean; return
7423 wine_fn_all_rules
7424 wine_fn_clean_rules $ac_clean
7425 wine_fn_append_rule "$ac_dir: __builddeps__"
7426 wine_fn_pot_rules
7428 wine_fn_has_flag install || return
7429 wine_fn_append_rule \
7430 ".PHONY: $ac_dir/install $ac_dir/uninstall
7431 install install-lib:: $ac_dir/install
7432 __uninstall__: $ac_dir/uninstall"
7434 if test -n "$DLLEXT"
7435 then
7436 wine_fn_append_rule \
7437 "$ac_dir/install:: $ac_dir
7438 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7439 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7440 $ac_dir/uninstall::
7441 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7443 if test -z "$with_wine64" && wine_fn_has_flag installbin
7444 then
7445 wine_fn_append_rule \
7446 "$ac_dir/install:: __tooldeps__
7447 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7448 $ac_dir/uninstall::
7449 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7451 else
7452 wine_fn_append_rule \
7453 "$ac_dir/install:: $ac_dir
7454 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7455 $ac_dir/uninstall::
7456 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7459 if test -z "$with_wine64" && wine_fn_has_flag manpage
7460 then
7461 wine_fn_append_rule \
7462 "$ac_dir/install:: $ac_dir
7463 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7464 $ac_dir/uninstall::
7465 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7469 wine_fn_config_test ()
7471 ac_dir=$1
7472 ac_name=$2
7473 ac_flags=$3
7475 ac_clean=
7476 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7477 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7479 if test "x$enable_tests" = xno; then :
7480 wine_fn_disabled_rules $ac_clean; return
7483 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7484 wine_fn_all_rules
7485 wine_fn_clean_rules $ac_clean
7487 wine_fn_append_rule \
7488 "$ac_dir: programs/winetest/Makefile __builddeps__
7489 programs/winetest: $ac_dir
7490 check test: $ac_dir/test
7491 .PHONY: $ac_dir/test
7492 $ac_dir/test: dummy
7493 @cd $ac_dir && \$(MAKE) test
7494 testclean::
7495 \$(RM) $ac_dir/*.ok"
7497 if test -n "$CROSSTARGET"
7498 then
7499 wine_fn_append_rule \
7500 "crosstest: $ac_dir/crosstest
7501 .PHONY: $ac_dir/crosstest
7502 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7503 @cd $ac_dir && \$(MAKE) crosstest"
7507 wine_fn_config_tool ()
7509 ac_dir=$1
7510 ac_flags=$2
7511 if test "x$enable_tools" = xno; then :
7512 return
7515 wine_fn_all_rules
7516 wine_fn_install_rules
7517 wine_fn_clean_rules
7519 wine_fn_append_rule "__tooldeps__: $ac_dir"
7520 wine_fn_append_rule "$ac_dir: libs/port"
7521 case $ac_dir in
7522 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7523 esac
7526 wine_fn_config_symlink ()
7528 ac_linkdir=
7529 if test "x$1" = "x-d"
7530 then
7531 ac_linkdir=$2
7532 shift; shift
7534 ac_links=$@
7535 wine_fn_append_rule \
7536 "$ac_links:
7537 @./config.status \$@
7538 distclean::
7539 \$(RM) $ac_links"
7540 for f in $ac_links; do wine_fn_ignore_file $f; done
7541 test -n "$ac_linkdir" || return
7542 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7545 wine_binary="wine"
7546 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7547 loader_programs="$wine_binary wine-installed"
7548 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7550 LOADER_RULES="
7551 all: wine.inf
7553 install install-lib:: wine-installed
7554 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7556 uninstall::
7557 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7561 case $host_os in
7562 cygwin*|mingw32*)
7563 if test -n "$ac_tool_prefix"; then
7564 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7565 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_DLLTOOL+:} false; then :
7569 $as_echo_n "(cached) " >&6
7570 else
7571 if test -n "$DLLTOOL"; then
7572 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7573 else
7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 for as_dir in $PATH
7577 IFS=$as_save_IFS
7578 test -z "$as_dir" && as_dir=.
7579 for ac_exec_ext in '' $ac_executable_extensions; do
7580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 break 2
7585 done
7586 done
7587 IFS=$as_save_IFS
7591 DLLTOOL=$ac_cv_prog_DLLTOOL
7592 if test -n "$DLLTOOL"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7594 $as_echo "$DLLTOOL" >&6; }
7595 else
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7602 if test -z "$ac_cv_prog_DLLTOOL"; then
7603 ac_ct_DLLTOOL=$DLLTOOL
7604 # Extract the first word of "dlltool", so it can be a program name with args.
7605 set dummy dlltool; ac_word=$2
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607 $as_echo_n "checking for $ac_word... " >&6; }
7608 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7609 $as_echo_n "(cached) " >&6
7610 else
7611 if test -n "$ac_ct_DLLTOOL"; then
7612 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7613 else
7614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 for as_dir in $PATH
7617 IFS=$as_save_IFS
7618 test -z "$as_dir" && as_dir=.
7619 for ac_exec_ext in '' $ac_executable_extensions; do
7620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7621 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623 break 2
7625 done
7626 done
7627 IFS=$as_save_IFS
7631 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7632 if test -n "$ac_ct_DLLTOOL"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7634 $as_echo "$ac_ct_DLLTOOL" >&6; }
7635 else
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7640 if test "x$ac_ct_DLLTOOL" = x; then
7641 DLLTOOL="false"
7642 else
7643 case $cross_compiling:$ac_tool_warned in
7644 yes:)
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7647 ac_tool_warned=yes ;;
7648 esac
7649 DLLTOOL=$ac_ct_DLLTOOL
7651 else
7652 DLLTOOL="$ac_cv_prog_DLLTOOL"
7655 LIBEXT="dll"
7656 DLLEXT=""
7657 IMPLIBEXT="a"
7658 STATIC_IMPLIBEXT="a"
7659 enable_iphlpapi=${enable_iphlpapi:-no}
7660 enable_kernel32=${enable_kernel32:-no}
7661 enable_msvcrt=${enable_msvcrt:-no}
7662 enable_ntdll=${enable_ntdll:-no}
7663 enable_ws2_32=${enable_ws2_32:-no}
7664 enable_loader=${enable_loader:-no}
7665 enable_server=${enable_server:-no}
7666 with_x=${with_x:-no}
7667 with_pthread=${with_pthread:-no}
7669 crtlibs=""
7670 case $host_os in
7671 mingw32*)
7672 crtlibs="-lmsvcrt"
7673 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7675 esac
7677 libwine_targets="libwine.dll libwine.a"
7678 LIBWINE_RULES="
7679 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7681 all: libwine.dll libwine.a
7683 libwine.a: \$(srcdir)/wine.def
7684 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7686 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7687 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7689 install install-lib:: libwine.dll
7690 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7692 install install-dev:: libwine.a
7693 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7695 uninstall::
7696 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7701 darwin*|macosx*)
7702 LIBEXT="dylib"
7703 DLLFLAGS="$DLLFLAGS -fPIC"
7704 LIBWINE_LDFLAGS="-multiply_defined suppress"
7705 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7706 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7707 COREFOUNDATION_LIBS="-framework CoreFoundation"
7709 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7711 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7713 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7715 CORESERVICES_LIBS="-framework CoreServices"
7717 APPKIT_LIBS="-framework AppKit"
7719 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7720 case $host_os in
7721 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7722 esac
7723 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7724 then
7725 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7728 if test "$ac_cv_header_Security_Security_h" = "yes"
7729 then
7730 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7732 ac_save_LIBS="$LIBS"
7733 LIBS="$LIBS $SECURITY_LIBS"
7734 for ac_func in SSLCopyPeerCertificates
7735 do :
7736 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7737 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7740 _ACEOF
7743 done
7745 LIBS="$ac_save_LIBS"
7746 with_gnutls=${with_gnutls:-no}
7748 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7749 then
7750 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7751 then
7752 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7754 else
7755 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7758 ac_save_LIBS="$LIBS"
7759 LIBS="$LIBS $COREAUDIO_LIBS"
7760 for ac_func in AUGraphAddNode
7761 do :
7762 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7763 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_AUGRAPHADDNODE 1
7766 _ACEOF
7769 done
7771 LIBS="$ac_save_LIBS"
7773 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7774 then
7775 OPENAL_LIBS="-framework OpenAL"
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_OPENAL 1
7780 _ACEOF
7782 ac_cv_lib_openal=yes
7784 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7785 then
7786 OPENCL_LIBS="-framework OpenCL"
7788 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7790 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7791 then
7792 ac_save_LIBS="$LIBS"
7793 LIBS="$LIBS $IOKIT_LIBS"
7794 for ac_func in IOHIDManagerCreate
7795 do :
7796 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7797 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define HAVE_IOHIDMANAGERCREATE 1
7800 _ACEOF
7803 done
7805 LIBS="$ac_save_LIBS"
7807 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7808 then
7809 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7811 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7812 else
7813 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7815 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7816 then
7817 CARBON_LIBS="-framework Carbon"
7821 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7822 then
7823 ac_save_LIBS="$LIBS"
7824 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7825 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7826 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7827 enable_winemac_drv=${enable_winemac_drv:-yes}
7830 LIBS="$ac_save_LIBS"
7833 if test "x$enable_win16" = "xyes"
7834 then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7836 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7837 if test "$cross_compiling" = yes; then :
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7839 $as_echo "cross-compiling, assuming yes" >&6; }
7840 else
7841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7842 /* end confdefs.h. */
7843 asm(".text\n"
7844 "bad:\tnop;nop\n"
7845 "good:\tnop;nop\n\t"
7846 ".globl _testfunc\n"
7847 "_testfunc:\tcallw good");
7848 extern void testfunc();
7850 main ()
7852 unsigned short *p = (unsigned short *)testfunc;
7853 return p[0] != 0xe866 || p[1] != 0xfffa
7855 return 0;
7857 _ACEOF
7858 if ac_fn_c_try_run "$LINENO"; then :
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7860 $as_echo "yes" >&6; }
7861 else
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863 $as_echo "no" >&6; }
7864 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
7866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7867 conftest.$ac_objext conftest.beam conftest.$ac_ext
7872 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7873 LIBWINE_RULES="
7874 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7876 all: libwine.dylib
7878 libwine.$libwine_version.dylib: \$(OBJS)
7879 \$(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 \$@
7881 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7882 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7884 libwine.dylib: libwine.$libwine_soversion.dylib
7885 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7887 install install-lib:: libwine.$libwine_version.dylib
7888 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7889 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7891 install install-dev::
7892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7894 uninstall::
7895 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7899 as_fn_append LOADER_RULES "
7900 $wine_binary: main.o wine_info.plist
7901 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7903 wine-installed: main.o wine_info.plist
7904 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7908 linux-android*)
7909 DLLFLAGS="$DLLFLAGS -fPIC"
7910 DLLPREFIX="lib"
7911 LDEXECFLAGS=""
7912 dlldir="\${libdir}"
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7914 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7915 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 ac_wine_try_cflags_saved=$CFLAGS
7919 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 int main(int argc, char **argv) { return 0; }
7923 _ACEOF
7924 if ac_fn_c_try_link "$LINENO"; then :
7925 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7926 else
7927 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7929 rm -f core conftest.err conftest.$ac_objext \
7930 conftest$ac_exeext conftest.$ac_ext
7931 CFLAGS=$ac_wine_try_cflags_saved
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7934 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7935 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7936 LDEXECFLAGS="-Wl,--export-dynamic"
7938 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7941 if eval \${$as_ac_var+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_wine_try_cflags_saved=$CFLAGS
7945 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7949 _ACEOF
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 eval "$as_ac_var=yes"
7952 else
7953 eval "$as_ac_var=no"
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 CFLAGS=$ac_wine_try_cflags_saved
7959 eval ac_res=\$$as_ac_var
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7961 $as_echo "$ac_res" >&6; }
7962 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7963 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7964 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7965 else
7966 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7968 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7969 if eval \${$as_ac_var+:} false; then :
7970 $as_echo_n "(cached) " >&6
7971 else
7972 ac_wine_try_cflags_saved=$CFLAGS
7973 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7977 _ACEOF
7978 if ac_fn_c_try_link "$LINENO"; then :
7979 eval "$as_ac_var=yes"
7980 else
7981 eval "$as_ac_var=no"
7983 rm -f core conftest.err conftest.$ac_objext \
7984 conftest$ac_exeext conftest.$ac_ext
7985 CFLAGS=$ac_wine_try_cflags_saved
7987 eval ac_res=\$$as_ac_var
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7989 $as_echo "$ac_res" >&6; }
7990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7991 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7992 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7997 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7998 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_wine_try_cflags_saved=$CFLAGS
8002 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8006 _ACEOF
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 ac_cv_cflags__Wl___enable_new_dtags=yes
8009 else
8010 ac_cv_cflags__Wl___enable_new_dtags=no
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 CFLAGS=$ac_wine_try_cflags_saved
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8017 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8018 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8019 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8022 case $host_cpu in
8023 *i[3456789]86* | x86_64)
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8025 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8026 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8027 $as_echo_n "(cached) " >&6
8028 else
8029 ac_wine_try_cflags_saved=$CFLAGS
8030 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8033 int main(int argc, char **argv) { return 0; }
8034 _ACEOF
8035 if ac_fn_c_try_link "$LINENO"; then :
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8037 else
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8040 rm -f core conftest.err conftest.$ac_objext \
8041 conftest$ac_exeext conftest.$ac_ext
8042 CFLAGS=$ac_wine_try_cflags_saved
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8045 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8046 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8047 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8050 esac
8052 libwine_targets="libwine.so"
8053 LIBWINE_RULES="
8054 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8056 all: libwine.so
8058 libwine.so: \$(OBJS)
8059 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8061 install install-lib:: libwine.so
8062 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8064 uninstall::
8065 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8069 as_fn_append LOADER_RULES "
8070 $wine_binary: main.o
8071 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8073 wine-installed: main.o
8074 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8079 DLLFLAGS="$DLLFLAGS -fPIC"
8080 LDEXECFLAGS=""
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8082 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8083 if ${ac_cv_c_dll_gnuelf+:} false; then :
8084 $as_echo_n "(cached) " >&6
8085 else
8086 ac_wine_try_cflags_saved=$CFLAGS
8087 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8090 void myfunc() {}
8091 _ACEOF
8092 if ac_fn_c_try_link "$LINENO"; then :
8093 ac_cv_c_dll_gnuelf="yes"
8094 else
8095 ac_cv_c_dll_gnuelf="no"
8097 rm -f core conftest.err conftest.$ac_objext \
8098 conftest$ac_exeext conftest.$ac_ext
8099 CFLAGS=$ac_wine_try_cflags_saved
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8102 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8103 if test "$ac_cv_c_dll_gnuelf" = "yes"
8104 then
8105 LDSHARED="\$(CC) -shared"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8107 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8108 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 ac_wine_try_cflags_saved=$CFLAGS
8112 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8115 int main(int argc, char **argv) { return 0; }
8116 _ACEOF
8117 if ac_fn_c_try_link "$LINENO"; then :
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8119 else
8120 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8122 rm -f core conftest.err conftest.$ac_objext \
8123 conftest$ac_exeext conftest.$ac_ext
8124 CFLAGS=$ac_wine_try_cflags_saved
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8127 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8128 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8129 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8130 else
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8133 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_wine_try_cflags_saved=$CFLAGS
8137 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8144 else
8145 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 CFLAGS=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8153 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8154 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8158 echo '{ global: *; };' >conftest.map
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8160 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8161 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8162 $as_echo_n "(cached) " >&6
8163 else
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8167 /* end confdefs.h. */
8168 int main(int argc, char **argv) { return 0; }
8169 _ACEOF
8170 if ac_fn_c_try_link "$LINENO"; then :
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8172 else
8173 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8175 rm -f core conftest.err conftest.$ac_objext \
8176 conftest$ac_exeext conftest.$ac_ext
8177 CFLAGS=$ac_wine_try_cflags_saved
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8180 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8181 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8182 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8184 rm -f conftest.map
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8187 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8188 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8189 $as_echo_n "(cached) " >&6
8190 else
8191 ac_wine_try_cflags_saved=$CFLAGS
8192 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h. */
8195 int main(int argc, char **argv) { return 0; }
8196 _ACEOF
8197 if ac_fn_c_try_link "$LINENO"; then :
8198 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8199 else
8200 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8202 rm -f core conftest.err conftest.$ac_objext \
8203 conftest$ac_exeext conftest.$ac_ext
8204 CFLAGS=$ac_wine_try_cflags_saved
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8207 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8208 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8209 LDEXECFLAGS="-Wl,--export-dynamic"
8212 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8215 if eval \${$as_ac_var+:} false; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 ac_wine_try_cflags_saved=$CFLAGS
8219 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8223 _ACEOF
8224 if ac_fn_c_try_link "$LINENO"; then :
8225 eval "$as_ac_var=yes"
8226 else
8227 eval "$as_ac_var=no"
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 CFLAGS=$ac_wine_try_cflags_saved
8233 eval ac_res=\$$as_ac_var
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8235 $as_echo "$ac_res" >&6; }
8236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8237 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8238 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8239 else
8240 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8242 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8243 if eval \${$as_ac_var+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 ac_wine_try_cflags_saved=$CFLAGS
8247 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 int main(int argc, char **argv) { return 0; }
8251 _ACEOF
8252 if ac_fn_c_try_link "$LINENO"; then :
8253 eval "$as_ac_var=yes"
8254 else
8255 eval "$as_ac_var=no"
8257 rm -f core conftest.err conftest.$ac_objext \
8258 conftest$ac_exeext conftest.$ac_ext
8259 CFLAGS=$ac_wine_try_cflags_saved
8261 eval ac_res=\$$as_ac_var
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8263 $as_echo "$ac_res" >&6; }
8264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8265 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8266 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8271 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8272 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_wine_try_cflags_saved=$CFLAGS
8276 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8280 _ACEOF
8281 if ac_fn_c_try_link "$LINENO"; then :
8282 ac_cv_cflags__Wl___enable_new_dtags=yes
8283 else
8284 ac_cv_cflags__Wl___enable_new_dtags=no
8286 rm -f core conftest.err conftest.$ac_objext \
8287 conftest$ac_exeext conftest.$ac_ext
8288 CFLAGS=$ac_wine_try_cflags_saved
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8291 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8292 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8293 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8296 case $host_cpu in
8297 *i[3456789]86* | x86_64)
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8299 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8300 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8301 $as_echo_n "(cached) " >&6
8302 else
8303 ac_wine_try_cflags_saved=$CFLAGS
8304 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8306 /* end confdefs.h. */
8307 int main(int argc, char **argv) { return 0; }
8308 _ACEOF
8309 if ac_fn_c_try_link "$LINENO"; then :
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8311 else
8312 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8314 rm -f core conftest.err conftest.$ac_objext \
8315 conftest$ac_exeext conftest.$ac_ext
8316 CFLAGS=$ac_wine_try_cflags_saved
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8319 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8320 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8321 case $host_os in
8322 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8323 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8324 esac
8327 # Extract the first word of "prelink", so it can be a program name with args.
8328 set dummy prelink; ac_word=$2
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8330 $as_echo_n "checking for $ac_word... " >&6; }
8331 if ${ac_cv_path_PRELINK+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 case $PRELINK in
8335 [\\/]* | ?:[\\/]*)
8336 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8340 for as_dir in /sbin /usr/sbin $PATH
8342 IFS=$as_save_IFS
8343 test -z "$as_dir" && as_dir=.
8344 for ac_exec_ext in '' $ac_executable_extensions; do
8345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8346 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8348 break 2
8350 done
8351 done
8352 IFS=$as_save_IFS
8354 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8356 esac
8358 PRELINK=$ac_cv_path_PRELINK
8359 if test -n "$PRELINK"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8361 $as_echo "$PRELINK" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8368 if test "x$PRELINK" = xfalse
8369 then
8370 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8373 esac
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8377 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8378 if ${ac_cv_c_dll_unixware+:} false; then :
8379 $as_echo_n "(cached) " >&6
8380 else
8381 ac_wine_try_cflags_saved=$CFLAGS
8382 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8385 void myfunc() {}
8386 _ACEOF
8387 if ac_fn_c_try_link "$LINENO"; then :
8388 ac_cv_c_dll_unixware="yes"
8389 else
8390 ac_cv_c_dll_unixware="no"
8392 rm -f core conftest.err conftest.$ac_objext \
8393 conftest$ac_exeext conftest.$ac_ext
8394 CFLAGS=$ac_wine_try_cflags_saved
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8397 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8398 if test "$ac_cv_c_dll_unixware" = "yes"
8399 then
8400 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8403 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8404 LIBWINE_RULES="
8405 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8407 all: libwine.so
8409 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8410 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8412 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8413 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8415 libwine.so: libwine.so.$libwine_soversion
8416 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8418 install install-lib:: libwine.so.$libwine_version
8419 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8420 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8422 install install-dev::
8423 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8425 uninstall::
8426 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8430 as_fn_append LOADER_RULES "
8431 $wine_binary: main.o
8432 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8434 wine-installed: main.o
8435 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8438 esac
8440 as_fn_append LIBWINE_RULES "
8441 EXTRA_TARGETS = $libwine_targets
8444 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8445 enable_winemac_drv=${enable_winemac_drv:-no}
8447 CROSSTARGET=""
8449 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8450 then
8451 case "$host_cpu" in
8452 i[3456789]86*)
8453 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
8454 mingw32-gcc" ;;
8455 x86_64)
8456 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 " ;;
8458 ac_prefix_list="" ;;
8459 esac
8460 for ac_prog in $ac_prefix_list
8462 # Extract the first word of "$ac_prog", so it can be a program name with args.
8463 set dummy $ac_prog; ac_word=$2
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8465 $as_echo_n "checking for $ac_word... " >&6; }
8466 if ${ac_cv_prog_CROSSCC+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 if test -n "$CROSSCC"; then
8470 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8471 else
8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8473 for as_dir in $PATH
8475 IFS=$as_save_IFS
8476 test -z "$as_dir" && as_dir=.
8477 for ac_exec_ext in '' $ac_executable_extensions; do
8478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8479 ac_cv_prog_CROSSCC="$ac_prog"
8480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8481 break 2
8483 done
8484 done
8485 IFS=$as_save_IFS
8489 CROSSCC=$ac_cv_prog_CROSSCC
8490 if test -n "$CROSSCC"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8492 $as_echo "$CROSSCC" >&6; }
8493 else
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 $as_echo "no" >&6; }
8499 test -n "$CROSSCC" && break
8500 done
8501 test -n "$CROSSCC" || CROSSCC="false"
8503 if test "$CROSSCC" != "false"
8504 then
8505 ac_save_CC="$CC"
8506 CC="$CROSSCC"
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8508 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8513 main ()
8517 return 0;
8519 _ACEOF
8520 if ac_fn_c_try_compile "$LINENO"; then :
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8522 $as_echo "yes" >&6; }
8523 set x $CROSSCC
8524 shift
8525 while test $# -ge 1
8527 case "$1" in
8528 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8529 esac
8530 shift
8531 done
8532 else
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8534 $as_echo "no" >&6; }
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8537 CC="$ac_save_CC"
8542 if test "$ac_cv_header_pthread_h" = "yes"
8543 then
8544 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8545 if test "x$ac_cv_func_pthread_create" = xyes; then :
8547 else
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8549 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8550 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_check_lib_save_LIBS=$LIBS
8554 LIBS="-lpthread $LIBS"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8558 /* Override any GCC internal prototype to avoid an error.
8559 Use char because int might match the return type of a GCC
8560 builtin and then its argument prototype would still apply. */
8561 #ifdef __cplusplus
8562 extern "C"
8563 #endif
8564 char pthread_create ();
8566 main ()
8568 return pthread_create ();
8570 return 0;
8572 _ACEOF
8573 if ac_fn_c_try_link "$LINENO"; then :
8574 ac_cv_lib_pthread_pthread_create=yes
8575 else
8576 ac_cv_lib_pthread_pthread_create=no
8578 rm -f core conftest.err conftest.$ac_objext \
8579 conftest$ac_exeext conftest.$ac_ext
8580 LIBS=$ac_check_lib_save_LIBS
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8583 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8584 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8585 PTHREAD_LIBS="-lpthread"
8592 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8593 case "x$with_pthread" in
8594 xno) ;;
8595 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8596 Wine cannot support threads without libpthread.
8597 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8598 esac
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8603 $as_echo_n "checking for X... " >&6; }
8606 # Check whether --with-x was given.
8607 if test "${with_x+set}" = set; then :
8608 withval=$with_x;
8611 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8612 if test "x$with_x" = xno; then
8613 # The user explicitly disabled X.
8614 have_x=disabled
8615 else
8616 case $x_includes,$x_libraries in #(
8617 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8618 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 # One or both of the vars are not set, and there is no cached value.
8622 ac_x_includes=no ac_x_libraries=no
8623 rm -f -r conftest.dir
8624 if mkdir conftest.dir; then
8625 cd conftest.dir
8626 cat >Imakefile <<'_ACEOF'
8627 incroot:
8628 @echo incroot='${INCROOT}'
8629 usrlibdir:
8630 @echo usrlibdir='${USRLIBDIR}'
8631 libdir:
8632 @echo libdir='${LIBDIR}'
8633 _ACEOF
8634 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8635 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8636 for ac_var in incroot usrlibdir libdir; do
8637 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8638 done
8639 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8640 for ac_extension in a so sl dylib la dll; do
8641 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8642 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8643 ac_im_usrlibdir=$ac_im_libdir; break
8645 done
8646 # Screen out bogus values from the imake configuration. They are
8647 # bogus both because they are the default anyway, and because
8648 # using them would break gcc on systems where it needs fixed includes.
8649 case $ac_im_incroot in
8650 /usr/include) ac_x_includes= ;;
8651 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8652 esac
8653 case $ac_im_usrlibdir in
8654 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8655 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8656 esac
8658 cd ..
8659 rm -f -r conftest.dir
8662 # Standard set of common directories for X headers.
8663 # Check X11 before X11Rn because it is often a symlink to the current release.
8664 ac_x_header_dirs='
8665 /usr/X11/include
8666 /usr/X11R7/include
8667 /usr/X11R6/include
8668 /usr/X11R5/include
8669 /usr/X11R4/include
8671 /usr/include/X11
8672 /usr/include/X11R7
8673 /usr/include/X11R6
8674 /usr/include/X11R5
8675 /usr/include/X11R4
8677 /usr/local/X11/include
8678 /usr/local/X11R7/include
8679 /usr/local/X11R6/include
8680 /usr/local/X11R5/include
8681 /usr/local/X11R4/include
8683 /usr/local/include/X11
8684 /usr/local/include/X11R7
8685 /usr/local/include/X11R6
8686 /usr/local/include/X11R5
8687 /usr/local/include/X11R4
8689 /usr/X386/include
8690 /usr/x386/include
8691 /usr/XFree86/include/X11
8693 /usr/include
8694 /usr/local/include
8695 /usr/unsupported/include
8696 /usr/athena/include
8697 /usr/local/x11r5/include
8698 /usr/lpp/Xamples/include
8700 /usr/openwin/include
8701 /usr/openwin/share/include'
8703 if test "$ac_x_includes" = no; then
8704 # Guess where to find include files, by looking for Xlib.h.
8705 # First, try using that file with no special directory specified.
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 #include <X11/Xlib.h>
8709 _ACEOF
8710 if ac_fn_c_try_cpp "$LINENO"; then :
8711 # We can compile using X headers with no special include directory.
8712 ac_x_includes=
8713 else
8714 for ac_dir in $ac_x_header_dirs; do
8715 if test -r "$ac_dir/X11/Xlib.h"; then
8716 ac_x_includes=$ac_dir
8717 break
8719 done
8721 rm -f conftest.err conftest.i conftest.$ac_ext
8722 fi # $ac_x_includes = no
8724 if test "$ac_x_libraries" = no; then
8725 # Check for the libraries.
8726 # See if we find them without any special options.
8727 # Don't add to $LIBS permanently.
8728 ac_save_LIBS=$LIBS
8729 LIBS="-lX11 $LIBS"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 #include <X11/Xlib.h>
8734 main ()
8736 XrmInitialize ()
8738 return 0;
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 LIBS=$ac_save_LIBS
8743 # We can link X programs with no special library path.
8744 ac_x_libraries=
8745 else
8746 LIBS=$ac_save_LIBS
8747 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8749 # Don't even attempt the hair of trying to link an X program!
8750 for ac_extension in a so sl dylib la dll; do
8751 if test -r "$ac_dir/libX11.$ac_extension"; then
8752 ac_x_libraries=$ac_dir
8753 break 2
8755 done
8756 done
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 fi # $ac_x_libraries = no
8762 case $ac_x_includes,$ac_x_libraries in #(
8763 no,* | *,no | *\'*)
8764 # Didn't find X, or a directory has "'" in its name.
8765 ac_cv_have_x="have_x=no";; #(
8767 # Record where we found X for the cache.
8768 ac_cv_have_x="have_x=yes\
8769 ac_x_includes='$ac_x_includes'\
8770 ac_x_libraries='$ac_x_libraries'"
8771 esac
8773 ;; #(
8774 *) have_x=yes;;
8775 esac
8776 eval "$ac_cv_have_x"
8777 fi # $with_x != no
8779 if test "$have_x" != yes; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8781 $as_echo "$have_x" >&6; }
8782 no_x=yes
8783 else
8784 # If each of the values was on the command line, it overrides each guess.
8785 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8786 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8787 # Update the cache value to reflect the command line values.
8788 ac_cv_have_x="have_x=yes\
8789 ac_x_includes='$x_includes'\
8790 ac_x_libraries='$x_libraries'"
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8792 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8795 if test "$no_x" = yes; then
8796 # Not all programs may use this symbol, but it does not hurt to define it.
8798 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8800 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8801 else
8802 if test -n "$x_includes"; then
8803 X_CFLAGS="$X_CFLAGS -I$x_includes"
8806 # It would also be nice to do this for all -L options, not just this one.
8807 if test -n "$x_libraries"; then
8808 X_LIBS="$X_LIBS -L$x_libraries"
8809 # For Solaris; some versions of Sun CC require a space after -R and
8810 # others require no space. Words are not sufficient . . . .
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8812 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8813 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8814 ac_xsave_c_werror_flag=$ac_c_werror_flag
8815 ac_c_werror_flag=yes
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8820 main ()
8824 return 0;
8826 _ACEOF
8827 if ac_fn_c_try_link "$LINENO"; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8829 $as_echo "no" >&6; }
8830 X_LIBS="$X_LIBS -R$x_libraries"
8831 else
8832 LIBS="$ac_xsave_LIBS -R $x_libraries"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8837 main ()
8841 return 0;
8843 _ACEOF
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8846 $as_echo "yes" >&6; }
8847 X_LIBS="$X_LIBS -R $x_libraries"
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8850 $as_echo "neither works" >&6; }
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8855 rm -f core conftest.err conftest.$ac_objext \
8856 conftest$ac_exeext conftest.$ac_ext
8857 ac_c_werror_flag=$ac_xsave_c_werror_flag
8858 LIBS=$ac_xsave_LIBS
8861 # Check for system-dependent libraries X programs must link with.
8862 # Do this before checking for the system-independent R6 libraries
8863 # (-lICE), since we may need -lsocket or whatever for X linking.
8865 if test "$ISC" = yes; then
8866 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8867 else
8868 # Martyn Johnson says this is needed for Ultrix, if the X
8869 # libraries were built with DECnet support. And Karl Berry says
8870 # the Alpha needs dnet_stub (dnet does not exist).
8871 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8878 #ifdef __cplusplus
8879 extern "C"
8880 #endif
8881 char XOpenDisplay ();
8883 main ()
8885 return XOpenDisplay ();
8887 return 0;
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8894 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8895 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8896 $as_echo_n "(cached) " >&6
8897 else
8898 ac_check_lib_save_LIBS=$LIBS
8899 LIBS="-ldnet $LIBS"
8900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8901 /* end confdefs.h. */
8903 /* Override any GCC internal prototype to avoid an error.
8904 Use char because int might match the return type of a GCC
8905 builtin and then its argument prototype would still apply. */
8906 #ifdef __cplusplus
8907 extern "C"
8908 #endif
8909 char dnet_ntoa ();
8911 main ()
8913 return dnet_ntoa ();
8915 return 0;
8917 _ACEOF
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 ac_cv_lib_dnet_dnet_ntoa=yes
8920 else
8921 ac_cv_lib_dnet_dnet_ntoa=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 LIBS=$ac_check_lib_save_LIBS
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8928 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8929 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8930 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8933 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8935 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8936 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8937 $as_echo_n "(cached) " >&6
8938 else
8939 ac_check_lib_save_LIBS=$LIBS
8940 LIBS="-ldnet_stub $LIBS"
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8947 #ifdef __cplusplus
8948 extern "C"
8949 #endif
8950 char dnet_ntoa ();
8952 main ()
8954 return dnet_ntoa ();
8956 return 0;
8958 _ACEOF
8959 if ac_fn_c_try_link "$LINENO"; then :
8960 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8961 else
8962 ac_cv_lib_dnet_stub_dnet_ntoa=no
8964 rm -f core conftest.err conftest.$ac_objext \
8965 conftest$ac_exeext conftest.$ac_ext
8966 LIBS=$ac_check_lib_save_LIBS
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8969 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8970 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8971 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8976 rm -f core conftest.err conftest.$ac_objext \
8977 conftest$ac_exeext conftest.$ac_ext
8978 LIBS="$ac_xsave_LIBS"
8980 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8981 # to get the SysV transport functions.
8982 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8983 # needs -lnsl.
8984 # The nsl library prevents programs from opening the X display
8985 # on Irix 5.2, according to T.E. Dickey.
8986 # The functions gethostbyname, getservbyname, and inet_addr are
8987 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8988 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8989 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8993 if test $ac_cv_func_gethostbyname = no; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8995 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8996 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8997 $as_echo_n "(cached) " >&6
8998 else
8999 ac_check_lib_save_LIBS=$LIBS
9000 LIBS="-lnsl $LIBS"
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9004 /* Override any GCC internal prototype to avoid an error.
9005 Use char because int might match the return type of a GCC
9006 builtin and then its argument prototype would still apply. */
9007 #ifdef __cplusplus
9008 extern "C"
9009 #endif
9010 char gethostbyname ();
9012 main ()
9014 return gethostbyname ();
9016 return 0;
9018 _ACEOF
9019 if ac_fn_c_try_link "$LINENO"; then :
9020 ac_cv_lib_nsl_gethostbyname=yes
9021 else
9022 ac_cv_lib_nsl_gethostbyname=no
9024 rm -f core conftest.err conftest.$ac_objext \
9025 conftest$ac_exeext conftest.$ac_ext
9026 LIBS=$ac_check_lib_save_LIBS
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9029 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9030 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9031 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9034 if test $ac_cv_lib_nsl_gethostbyname = no; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9036 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9037 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 ac_check_lib_save_LIBS=$LIBS
9041 LIBS="-lbsd $LIBS"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9045 /* Override any GCC internal prototype to avoid an error.
9046 Use char because int might match the return type of a GCC
9047 builtin and then its argument prototype would still apply. */
9048 #ifdef __cplusplus
9049 extern "C"
9050 #endif
9051 char gethostbyname ();
9053 main ()
9055 return gethostbyname ();
9057 return 0;
9059 _ACEOF
9060 if ac_fn_c_try_link "$LINENO"; then :
9061 ac_cv_lib_bsd_gethostbyname=yes
9062 else
9063 ac_cv_lib_bsd_gethostbyname=no
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LIBS=$ac_check_lib_save_LIBS
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9070 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9071 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9072 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9078 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9079 # socket/setsockopt and other routines are undefined under SCO ODT
9080 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9081 # on later versions), says Simon Leinen: it contains gethostby*
9082 # variants that don't use the name server (or something). -lsocket
9083 # must be given before -lnsl if both are needed. We assume that
9084 # if connect needs -lnsl, so does gethostbyname.
9085 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9086 if test "x$ac_cv_func_connect" = xyes; then :
9090 if test $ac_cv_func_connect = no; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9092 $as_echo_n "checking for connect in -lsocket... " >&6; }
9093 if ${ac_cv_lib_socket_connect+:} false; then :
9094 $as_echo_n "(cached) " >&6
9095 else
9096 ac_check_lib_save_LIBS=$LIBS
9097 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9101 /* Override any GCC internal prototype to avoid an error.
9102 Use char because int might match the return type of a GCC
9103 builtin and then its argument prototype would still apply. */
9104 #ifdef __cplusplus
9105 extern "C"
9106 #endif
9107 char connect ();
9109 main ()
9111 return connect ();
9113 return 0;
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 ac_cv_lib_socket_connect=yes
9118 else
9119 ac_cv_lib_socket_connect=no
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 LIBS=$ac_check_lib_save_LIBS
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9126 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9127 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9128 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9133 # Guillermo Gomez says -lposix is necessary on A/UX.
9134 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9135 if test "x$ac_cv_func_remove" = xyes; then :
9139 if test $ac_cv_func_remove = no; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9141 $as_echo_n "checking for remove in -lposix... " >&6; }
9142 if ${ac_cv_lib_posix_remove+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_check_lib_save_LIBS=$LIBS
9146 LIBS="-lposix $LIBS"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9153 #ifdef __cplusplus
9154 extern "C"
9155 #endif
9156 char remove ();
9158 main ()
9160 return remove ();
9162 return 0;
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_lib_posix_remove=yes
9167 else
9168 ac_cv_lib_posix_remove=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 LIBS=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9175 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9176 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9182 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9183 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9184 if test "x$ac_cv_func_shmat" = xyes; then :
9188 if test $ac_cv_func_shmat = no; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9190 $as_echo_n "checking for shmat in -lipc... " >&6; }
9191 if ${ac_cv_lib_ipc_shmat+:} false; then :
9192 $as_echo_n "(cached) " >&6
9193 else
9194 ac_check_lib_save_LIBS=$LIBS
9195 LIBS="-lipc $LIBS"
9196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9202 #ifdef __cplusplus
9203 extern "C"
9204 #endif
9205 char shmat ();
9207 main ()
9209 return shmat ();
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 ac_cv_lib_ipc_shmat=yes
9216 else
9217 ac_cv_lib_ipc_shmat=no
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9221 LIBS=$ac_check_lib_save_LIBS
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9224 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9225 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9226 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9232 # Check for libraries that X11R6 Xt/Xaw programs need.
9233 ac_save_LDFLAGS=$LDFLAGS
9234 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9235 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9236 # check for ICE first), but we must link in the order -lSM -lICE or
9237 # we get undefined symbols. So assume we have SM if we have ICE.
9238 # These have to be linked with before -lX11, unlike the other
9239 # libraries we check for below, so use a different variable.
9240 # John Interrante, Karl Berry
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9242 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9243 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_check_lib_save_LIBS=$LIBS
9247 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char IceConnectionNumber ();
9259 main ()
9261 return IceConnectionNumber ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 ac_cv_lib_ICE_IceConnectionNumber=yes
9268 else
9269 ac_cv_lib_ICE_IceConnectionNumber=no
9271 rm -f core conftest.err conftest.$ac_objext \
9272 conftest$ac_exeext conftest.$ac_ext
9273 LIBS=$ac_check_lib_save_LIBS
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9276 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9277 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9278 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9281 LDFLAGS=$ac_save_LDFLAGS
9286 if test "$have_x" = "yes"
9287 then
9288 ac_save_CPPFLAGS="$CPPFLAGS"
9289 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9292 $as_echo_n "checking for -lX11... " >&6; }
9293 if ${ac_cv_lib_soname_X11+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_soname_save_LIBS=$LIBS
9297 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char XCreateWindow ();
9309 main ()
9311 return XCreateWindow ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 case "$LIBEXT" in
9318 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9319 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'` ;;
9320 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9321 if ${ac_cv_lib_soname_X11:+false} :; then :
9322 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9323 fi ;;
9324 esac
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS=$ac_check_soname_save_LIBS
9330 if ${ac_cv_lib_soname_X11:+false} :; then :
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9332 $as_echo "not found" >&6; }
9334 else
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9336 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9338 cat >>confdefs.h <<_ACEOF
9339 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9340 _ACEOF
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9345 $as_echo_n "checking for -lXext... " >&6; }
9346 if ${ac_cv_lib_soname_Xext+:} false; then :
9347 $as_echo_n "(cached) " >&6
9348 else
9349 ac_check_soname_save_LIBS=$LIBS
9350 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9354 /* Override any GCC internal prototype to avoid an error.
9355 Use char because int might match the return type of a GCC
9356 builtin and then its argument prototype would still apply. */
9357 #ifdef __cplusplus
9358 extern "C"
9359 #endif
9360 char XextCreateExtension ();
9362 main ()
9364 return XextCreateExtension ();
9366 return 0;
9368 _ACEOF
9369 if ac_fn_c_try_link "$LINENO"; then :
9370 case "$LIBEXT" in
9371 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9372 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'` ;;
9373 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9374 if ${ac_cv_lib_soname_Xext:+false} :; then :
9375 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9376 fi ;;
9377 esac
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LIBS=$ac_check_soname_save_LIBS
9383 if ${ac_cv_lib_soname_Xext:+false} :; then :
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9385 $as_echo "not found" >&6; }
9387 else
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9389 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9391 cat >>confdefs.h <<_ACEOF
9392 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9393 _ACEOF
9395 X_LIBS="$X_LIBS -lXext"
9397 X_LIBS="$X_LIBS -lX11"
9399 for ac_header in X11/Xlib.h \
9400 X11/XKBlib.h \
9401 X11/Xutil.h \
9402 X11/Xcursor/Xcursor.h \
9403 X11/extensions/shape.h \
9404 X11/extensions/XInput.h \
9405 X11/extensions/XInput2.h \
9406 X11/extensions/XShm.h \
9407 X11/extensions/Xcomposite.h \
9408 X11/extensions/Xinerama.h \
9409 X11/extensions/Xrandr.h \
9410 X11/extensions/Xrender.h \
9411 X11/extensions/xf86vmode.h \
9412 X11/extensions/xf86vmproto.h
9413 do :
9414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9415 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9416 # include <X11/Xlib.h>
9417 #endif
9418 #ifdef HAVE_X11_XUTIL_H
9419 # include <X11/Xutil.h>
9420 #endif
9422 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9423 cat >>confdefs.h <<_ACEOF
9424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9425 _ACEOF
9429 done
9432 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9433 then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9435 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9436 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_check_lib_save_LIBS=$LIBS
9440 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9447 #ifdef __cplusplus
9448 extern "C"
9449 #endif
9450 char XkbQueryExtension ();
9452 main ()
9454 return XkbQueryExtension ();
9456 return 0;
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_lib_X11_XkbQueryExtension=yes
9461 else
9462 ac_cv_lib_X11_XkbQueryExtension=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 LIBS=$ac_check_lib_save_LIBS
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9469 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9470 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9472 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9478 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9479 then
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9481 $as_echo_n "checking for -lXcursor... " >&6; }
9482 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_check_soname_save_LIBS=$LIBS
9486 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9490 /* Override any GCC internal prototype to avoid an error.
9491 Use char because int might match the return type of a GCC
9492 builtin and then its argument prototype would still apply. */
9493 #ifdef __cplusplus
9494 extern "C"
9495 #endif
9496 char XcursorImageLoadCursor ();
9498 main ()
9500 return XcursorImageLoadCursor ();
9502 return 0;
9504 _ACEOF
9505 if ac_fn_c_try_link "$LINENO"; then :
9506 case "$LIBEXT" in
9507 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9508 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'` ;;
9509 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9510 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9511 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9512 fi ;;
9513 esac
9515 rm -f core conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LIBS=$ac_check_soname_save_LIBS
9519 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9521 $as_echo "not found" >&6; }
9523 else
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9525 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9527 cat >>confdefs.h <<_ACEOF
9528 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9529 _ACEOF
9534 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9535 case "x$with_xcursor" in
9536 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9537 xno) ;;
9538 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9539 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9540 esac
9543 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9544 then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9546 $as_echo_n "checking for -lXi... " >&6; }
9547 if ${ac_cv_lib_soname_Xi+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_check_soname_save_LIBS=$LIBS
9551 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9558 #ifdef __cplusplus
9559 extern "C"
9560 #endif
9561 char XOpenDevice ();
9563 main ()
9565 return XOpenDevice ();
9567 return 0;
9569 _ACEOF
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 case "$LIBEXT" in
9572 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9573 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'` ;;
9574 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9575 if ${ac_cv_lib_soname_Xi:+false} :; then :
9576 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9577 fi ;;
9578 esac
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_soname_save_LIBS
9584 if ${ac_cv_lib_soname_Xi:+false} :; then :
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9586 $as_echo "not found" >&6; }
9588 else
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9590 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9592 cat >>confdefs.h <<_ACEOF
9593 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9594 _ACEOF
9599 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9600 case "x$with_xinput" in
9601 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9602 xno) ;;
9603 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9604 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9605 esac
9608 if test "x$ac_cv_lib_soname_Xi" != x
9609 then
9610 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9611 case "x$with_xinput2" in
9612 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9613 xno) ;;
9614 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9615 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9616 esac
9620 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9621 then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9623 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9624 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 ac_check_lib_save_LIBS=$LIBS
9628 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9635 #ifdef __cplusplus
9636 extern "C"
9637 #endif
9638 char XShmQueryExtension ();
9640 main ()
9642 return XShmQueryExtension ();
9644 return 0;
9646 _ACEOF
9647 if ac_fn_c_try_link "$LINENO"; then :
9648 ac_cv_lib_Xext_XShmQueryExtension=yes
9649 else
9650 ac_cv_lib_Xext_XShmQueryExtension=no
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 LIBS=$ac_check_lib_save_LIBS
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9657 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9658 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9660 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9665 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9666 case "x$with_xshm" in
9667 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9668 xno) ;;
9669 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9670 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9671 esac
9674 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9675 then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9677 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9678 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9679 $as_echo_n "(cached) " >&6
9680 else
9681 ac_check_lib_save_LIBS=$LIBS
9682 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9686 /* Override any GCC internal prototype to avoid an error.
9687 Use char because int might match the return type of a GCC
9688 builtin and then its argument prototype would still apply. */
9689 #ifdef __cplusplus
9690 extern "C"
9691 #endif
9692 char XShapeQueryExtension ();
9694 main ()
9696 return XShapeQueryExtension ();
9698 return 0;
9700 _ACEOF
9701 if ac_fn_c_try_link "$LINENO"; then :
9702 ac_cv_lib_Xext_XShapeQueryExtension=yes
9703 else
9704 ac_cv_lib_Xext_XShapeQueryExtension=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_lib_save_LIBS
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9711 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9712 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9714 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9719 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9720 case "x$with_xshape" in
9721 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9722 xno) ;;
9723 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9724 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9725 esac
9728 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9729 then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9731 $as_echo_n "checking for -lXxf86vm... " >&6; }
9732 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_check_soname_save_LIBS=$LIBS
9736 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char XF86VidModeQueryExtension ();
9748 main ()
9750 return XF86VidModeQueryExtension ();
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 case "$LIBEXT" in
9757 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9758 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'` ;;
9759 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9760 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9761 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9762 fi ;;
9763 esac
9765 rm -f core conftest.err conftest.$ac_objext \
9766 conftest$ac_exeext conftest.$ac_ext
9767 LIBS=$ac_check_soname_save_LIBS
9769 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9771 $as_echo "not found" >&6; }
9773 else
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9775 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9777 cat >>confdefs.h <<_ACEOF
9778 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9779 _ACEOF
9784 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9785 case "x$with_xxf86vm" in
9786 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9787 xno) ;;
9788 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9789 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9790 esac
9793 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"
9794 then
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9796 $as_echo_n "checking for -lXrender... " >&6; }
9797 if ${ac_cv_lib_soname_Xrender+:} false; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 ac_check_soname_save_LIBS=$LIBS
9801 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9808 #ifdef __cplusplus
9809 extern "C"
9810 #endif
9811 char XRenderQueryExtension ();
9813 main ()
9815 return XRenderQueryExtension ();
9817 return 0;
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 case "$LIBEXT" in
9822 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9823 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'` ;;
9824 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9825 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9826 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9827 fi ;;
9828 esac
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 LIBS=$ac_check_soname_save_LIBS
9834 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9836 $as_echo "not found" >&6; }
9838 else
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9840 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9842 cat >>confdefs.h <<_ACEOF
9843 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9844 _ACEOF
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9847 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9848 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850 else
9851 ac_check_lib_save_LIBS=$LIBS
9852 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9859 #ifdef __cplusplus
9860 extern "C"
9861 #endif
9862 char XRenderSetPictureTransform ();
9864 main ()
9866 return XRenderSetPictureTransform ();
9868 return 0;
9870 _ACEOF
9871 if ac_fn_c_try_link "$LINENO"; then :
9872 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9873 else
9874 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9876 rm -f core conftest.err conftest.$ac_objext \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_lib_save_LIBS
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9881 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9882 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9884 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9889 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9890 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XRenderCreateLinearGradient ();
9906 main ()
9908 return XRenderCreateLinearGradient ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9915 else
9916 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9923 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9924 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9926 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9933 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9934 case "x$with_xrender" in
9935 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9936 xno) ;;
9937 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9938 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9939 esac
9942 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9943 then
9944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945 /* end confdefs.h. */
9946 #include <X11/Xlib.h>
9947 #include <X11/extensions/Xrandr.h>
9949 main ()
9951 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_compile "$LINENO"; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9958 $as_echo_n "checking for -lXrandr... " >&6; }
9959 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9960 $as_echo_n "(cached) " >&6
9961 else
9962 ac_check_soname_save_LIBS=$LIBS
9963 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9965 /* end confdefs.h. */
9967 /* Override any GCC internal prototype to avoid an error.
9968 Use char because int might match the return type of a GCC
9969 builtin and then its argument prototype would still apply. */
9970 #ifdef __cplusplus
9971 extern "C"
9972 #endif
9973 char XRRQueryExtension ();
9975 main ()
9977 return XRRQueryExtension ();
9979 return 0;
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"; then :
9983 case "$LIBEXT" in
9984 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9985 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'` ;;
9986 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9987 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9988 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9989 fi ;;
9990 esac
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 LIBS=$ac_check_soname_save_LIBS
9996 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9998 $as_echo "not found" >&6; }
10000 else
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10002 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10004 cat >>confdefs.h <<_ACEOF
10005 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10006 _ACEOF
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 #include <X11/Xlib.h>
10011 #include <X11/extensions/Xrandr.h>
10013 main ()
10015 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_compile "$LINENO"; then :
10022 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10030 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10031 case "x$with_xrandr" in
10032 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10033 xno) ;;
10034 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10035 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10036 esac
10039 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10040 then
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043 #include <X11/Xlib.h>
10044 #include <X11/extensions/Xinerama.h>
10046 main ()
10048 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_compile "$LINENO"; then :
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10055 $as_echo_n "checking for -lXinerama... " >&6; }
10056 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_soname_save_LIBS=$LIBS
10060 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char XineramaQueryScreens ();
10072 main ()
10074 return XineramaQueryScreens ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 case "$LIBEXT" in
10081 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10082 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'` ;;
10083 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10084 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10085 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10086 fi ;;
10087 esac
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_soname_save_LIBS
10093 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10095 $as_echo "not found" >&6; }
10097 else
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10099 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10101 cat >>confdefs.h <<_ACEOF
10102 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10103 _ACEOF
10108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10110 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10111 case "x$with_xinerama" in
10112 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10113 xno) ;;
10114 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10115 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10116 esac
10119 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10120 then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10122 $as_echo_n "checking for -lXcomposite... " >&6; }
10123 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_check_soname_save_LIBS=$LIBS
10127 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10134 #ifdef __cplusplus
10135 extern "C"
10136 #endif
10137 char XCompositeRedirectWindow ();
10139 main ()
10141 return XCompositeRedirectWindow ();
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 case "$LIBEXT" in
10148 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10152 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10153 fi ;;
10154 esac
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_soname_save_LIBS
10160 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10162 $as_echo "not found" >&6; }
10164 else
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10166 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10168 cat >>confdefs.h <<_ACEOF
10169 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10170 _ACEOF
10175 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10176 case "x$with_xcomposite" in
10177 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10178 xno) ;;
10179 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10180 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10181 esac
10184 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10185 #include <X11/Xlib.h>
10186 #endif
10188 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10190 cat >>confdefs.h <<_ACEOF
10191 #define HAVE_XICCALLBACK_CALLBACK 1
10192 _ACEOF
10196 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10197 #include <X11/Xlib.h>
10198 #endif
10200 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10202 cat >>confdefs.h <<_ACEOF
10203 #define HAVE_XEVENT_XCOOKIE 1
10204 _ACEOF
10211 opengl_msg=""
10212 if test "x$with_opengl" != "xno"
10213 then
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10215 $as_echo_n "checking for -lGL... " >&6; }
10216 if ${ac_cv_lib_soname_GL+:} false; then :
10217 $as_echo_n "(cached) " >&6
10218 else
10219 ac_check_soname_save_LIBS=$LIBS
10220 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10222 /* end confdefs.h. */
10224 /* Override any GCC internal prototype to avoid an error.
10225 Use char because int might match the return type of a GCC
10226 builtin and then its argument prototype would still apply. */
10227 #ifdef __cplusplus
10228 extern "C"
10229 #endif
10230 char glXCreateContext ();
10232 main ()
10234 return glXCreateContext ();
10236 return 0;
10238 _ACEOF
10239 if ac_fn_c_try_link "$LINENO"; then :
10240 case "$LIBEXT" in
10241 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10242 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'` ;;
10243 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10244 if ${ac_cv_lib_soname_GL:+false} :; then :
10245 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10246 fi ;;
10247 esac
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 LIBS=$ac_check_soname_save_LIBS
10253 if ${ac_cv_lib_soname_GL:+false} :; then :
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10255 $as_echo "not found" >&6; }
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10257 $as_echo_n "checking for -lGL... " >&6; }
10258 if ${ac_cv_lib_soname_GL+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 ac_check_soname_save_LIBS=$LIBS
10262 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"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10269 #ifdef __cplusplus
10270 extern "C"
10271 #endif
10272 char glXCreateContext ();
10274 main ()
10276 return glXCreateContext ();
10278 return 0;
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 case "$LIBEXT" in
10283 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10284 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'` ;;
10285 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10286 if ${ac_cv_lib_soname_GL:+false} :; then :
10287 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10288 fi ;;
10289 esac
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_soname_save_LIBS
10295 if ${ac_cv_lib_soname_GL:+false} :; then :
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10297 $as_echo "not found" >&6; }
10298 if test -f /usr/X11R6/lib/libGL.a
10299 then
10300 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10301 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10302 else
10303 opengl_msg="No OpenGL library found on this system."
10305 else
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10307 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10309 cat >>confdefs.h <<_ACEOF
10310 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10311 _ACEOF
10313 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"
10315 else
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10317 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10319 cat >>confdefs.h <<_ACEOF
10320 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10321 _ACEOF
10323 OPENGL_LIBS="-lGL"
10325 if test "x$with_glu" != "xno"
10326 then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10328 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10329 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10330 $as_echo_n "(cached) " >&6
10331 else
10332 ac_check_lib_save_LIBS=$LIBS
10333 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10335 /* end confdefs.h. */
10337 /* Override any GCC internal prototype to avoid an error.
10338 Use char because int might match the return type of a GCC
10339 builtin and then its argument prototype would still apply. */
10340 #ifdef __cplusplus
10341 extern "C"
10342 #endif
10343 char gluLookAt ();
10345 main ()
10347 return gluLookAt ();
10349 return 0;
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 ac_cv_lib_GLU_gluLookAt=yes
10354 else
10355 ac_cv_lib_GLU_gluLookAt=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 LIBS=$ac_check_lib_save_LIBS
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10362 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10363 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10367 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10368 case "x$with_glu" in
10369 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10370 xno) ;;
10371 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10372 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10373 esac
10377 if test "x$with_osmesa" != "xno"
10378 then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10380 $as_echo_n "checking for -lOSMesa... " >&6; }
10381 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10382 $as_echo_n "(cached) " >&6
10383 else
10384 ac_check_soname_save_LIBS=$LIBS
10385 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10389 /* Override any GCC internal prototype to avoid an error.
10390 Use char because int might match the return type of a GCC
10391 builtin and then its argument prototype would still apply. */
10392 #ifdef __cplusplus
10393 extern "C"
10394 #endif
10395 char glAccum ();
10397 main ()
10399 return glAccum ();
10401 return 0;
10403 _ACEOF
10404 if ac_fn_c_try_link "$LINENO"; then :
10405 case "$LIBEXT" in
10406 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10407 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'` ;;
10408 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10409 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10410 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10411 fi ;;
10412 esac
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_soname_save_LIBS
10418 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10420 $as_echo "not found" >&6; }
10422 else
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10424 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10426 cat >>confdefs.h <<_ACEOF
10427 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10428 _ACEOF
10432 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10433 case "x$with_osmesa" in
10434 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10435 xno) ;;
10436 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10437 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10438 esac
10442 if test -n "$opengl_msg"; then :
10443 case "x$with_opengl" in
10444 x) as_fn_append wine_warnings "|$opengl_msg
10445 OpenGL and Direct3D won't be supported." ;;
10446 xno) ;;
10447 *) as_fn_error $? "$opengl_msg
10448 OpenGL and Direct3D won't be supported.
10449 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10450 esac
10453 CPPFLAGS="$ac_save_CPPFLAGS"
10454 else
10455 X_CFLAGS=""
10456 X_LIBS=""
10457 enable_winex11_drv=${enable_winex11_drv:-no}
10459 if test "x$X_LIBS" = "x"; then :
10460 case "x$with_x" in
10461 xno) ;;
10462 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10463 without X support, which probably isn't what you want. You will need
10464 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10465 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10466 esac
10469 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10471 if test "$ac_cv_header_CL_cl_h" = "yes"
10472 then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10474 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10475 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_check_lib_save_LIBS=$LIBS
10479 LIBS="-lOpenCL $LIBS"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10486 #ifdef __cplusplus
10487 extern "C"
10488 #endif
10489 char clGetPlatformInfo ();
10491 main ()
10493 return clGetPlatformInfo ();
10495 return 0;
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10500 else
10501 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_lib_save_LIBS
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10508 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10509 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10510 OPENCL_LIBS="-lOpenCL"
10515 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10516 case "x$with_opencl" in
10517 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10518 xno) ;;
10519 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10520 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10521 esac
10523 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10525 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10526 then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10528 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10529 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_check_lib_save_LIBS=$LIBS
10533 LIBS="-lpcap $LIBS"
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char pcap_create ();
10545 main ()
10547 return pcap_create ();
10549 return 0;
10551 _ACEOF
10552 if ac_fn_c_try_link "$LINENO"; then :
10553 ac_cv_lib_pcap_pcap_create=yes
10554 else
10555 ac_cv_lib_pcap_pcap_create=no
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10562 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10563 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10564 LIBPCAP="-lpcap"
10569 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10570 case "x$with_pcap" in
10571 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10572 xno) ;;
10573 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10574 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10575 esac
10577 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10580 if test "x$with_xml" != "xno"
10581 then
10582 if ${XML2_CFLAGS:+false} :; then :
10583 if ${PKG_CONFIG+:} false; then :
10584 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10587 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10588 if ${XML2_LIBS:+false} :; then :
10589 if ${PKG_CONFIG+:} false; then :
10590 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10593 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10594 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10595 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10596 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10597 ac_save_CPPFLAGS=$CPPFLAGS
10598 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10599 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10600 do :
10601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10602 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10604 cat >>confdefs.h <<_ACEOF
10605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10606 _ACEOF
10610 done
10612 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"
10613 then
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10615 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10616 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10617 $as_echo_n "(cached) " >&6
10618 else
10619 ac_check_lib_save_LIBS=$LIBS
10620 LIBS="-lxml2 $XML2_LIBS $LIBS"
10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10624 /* Override any GCC internal prototype to avoid an error.
10625 Use char because int might match the return type of a GCC
10626 builtin and then its argument prototype would still apply. */
10627 #ifdef __cplusplus
10628 extern "C"
10629 #endif
10630 char xmlParseMemory ();
10632 main ()
10634 return xmlParseMemory ();
10636 return 0;
10638 _ACEOF
10639 if ac_fn_c_try_link "$LINENO"; then :
10640 ac_cv_lib_xml2_xmlParseMemory=yes
10641 else
10642 ac_cv_lib_xml2_xmlParseMemory=no
10644 rm -f core conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_lib_save_LIBS
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10649 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10650 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10652 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10654 else
10655 XML2_LIBS=""
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10659 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10660 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_check_lib_save_LIBS=$LIBS
10664 LIBS="-lxml2 $XML2_LIBS $LIBS"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10668 /* Override any GCC internal prototype to avoid an error.
10669 Use char because int might match the return type of a GCC
10670 builtin and then its argument prototype would still apply. */
10671 #ifdef __cplusplus
10672 extern "C"
10673 #endif
10674 char xmlReadMemory ();
10676 main ()
10678 return xmlReadMemory ();
10680 return 0;
10682 _ACEOF
10683 if ac_fn_c_try_link "$LINENO"; then :
10684 ac_cv_lib_xml2_xmlReadMemory=yes
10685 else
10686 ac_cv_lib_xml2_xmlReadMemory=no
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_lib_save_LIBS
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10693 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10694 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10696 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10701 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10702 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-lxml2 $XML2_LIBS $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10710 /* Override any GCC internal prototype to avoid an error.
10711 Use char because int might match the return type of a GCC
10712 builtin and then its argument prototype would still apply. */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char xmlNewDocPI ();
10718 main ()
10720 return xmlNewDocPI ();
10722 return 0;
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_lib_xml2_xmlNewDocPI=yes
10727 else
10728 ac_cv_lib_xml2_xmlNewDocPI=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10735 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10736 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10738 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10743 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10744 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lxml2 $XML2_LIBS $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char xmlSchemaSetParserStructuredErrors ();
10760 main ()
10762 return xmlSchemaSetParserStructuredErrors ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10769 else
10770 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10777 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10778 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10780 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10785 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10786 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lxml2 $XML2_LIBS $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char xmlSchemaSetValidStructuredErrors ();
10802 main ()
10804 return xmlSchemaSetValidStructuredErrors ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10811 else
10812 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10819 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10820 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10822 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10827 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10828 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10829 $as_echo_n "(cached) " >&6
10830 else
10831 ac_check_lib_save_LIBS=$LIBS
10832 LIBS="-lxml2 $XML2_LIBS $LIBS"
10833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10839 #ifdef __cplusplus
10840 extern "C"
10841 #endif
10842 char xmlFirstElementChild ();
10844 main ()
10846 return xmlFirstElementChild ();
10848 return 0;
10850 _ACEOF
10851 if ac_fn_c_try_link "$LINENO"; then :
10852 ac_cv_lib_xml2_xmlFirstElementChild=yes
10853 else
10854 ac_cv_lib_xml2_xmlFirstElementChild=no
10856 rm -f core conftest.err conftest.$ac_objext \
10857 conftest$ac_exeext conftest.$ac_ext
10858 LIBS=$ac_check_lib_save_LIBS
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10861 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10862 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10864 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10868 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10870 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10872 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10876 else
10877 XML2_CFLAGS=""
10878 XML2_LIBS=""
10880 CPPFLAGS=$ac_save_CPPFLAGS
10881 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10882 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10885 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10886 case "x$with_xml" in
10887 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10888 xno) ;;
10889 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10890 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10891 esac
10894 if test "x$with_xslt" != "xno"
10895 then
10896 if ${XSLT_CFLAGS:+false} :; then :
10897 if ${PKG_CONFIG+:} false; then :
10898 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10901 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10902 if ${XSLT_LIBS:+false} :; then :
10903 if ${PKG_CONFIG+:} false; then :
10904 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10907 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10908 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10909 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10911 ac_save_CPPFLAGS=$CPPFLAGS
10912 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10913 for ac_header in libxslt/pattern.h libxslt/transform.h
10914 do :
10915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10916 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10917 # include <libxslt/pattern.h>
10918 #endif
10920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10921 cat >>confdefs.h <<_ACEOF
10922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10923 _ACEOF
10927 done
10929 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10930 then
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10932 $as_echo_n "checking for -lxslt... " >&6; }
10933 if ${ac_cv_lib_soname_xslt+:} false; then :
10934 $as_echo_n "(cached) " >&6
10935 else
10936 ac_check_soname_save_LIBS=$LIBS
10937 LIBS="-lxslt $XSLT_LIBS $LIBS"
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10944 #ifdef __cplusplus
10945 extern "C"
10946 #endif
10947 char xsltCompilePattern ();
10949 main ()
10951 return xsltCompilePattern ();
10953 return 0;
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"; then :
10957 case "$LIBEXT" in
10958 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10959 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'` ;;
10960 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10961 if ${ac_cv_lib_soname_xslt:+false} :; then :
10962 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10963 fi ;;
10964 esac
10966 rm -f core conftest.err conftest.$ac_objext \
10967 conftest$ac_exeext conftest.$ac_ext
10968 LIBS=$ac_check_soname_save_LIBS
10970 if ${ac_cv_lib_soname_xslt:+false} :; then :
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10972 $as_echo "not found" >&6; }
10974 else
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10976 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10978 cat >>confdefs.h <<_ACEOF
10979 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10980 _ACEOF
10984 else
10985 XSLT_CFLAGS=""
10987 CPPFLAGS=$ac_save_CPPFLAGS
10988 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10989 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10992 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10993 case "x$with_xslt" in
10994 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10995 xno) ;;
10996 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10997 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10998 esac
11001 if test "x$with_dbus" != "xno"
11002 then
11003 if ${DBUS_CFLAGS:+false} :; then :
11004 if ${PKG_CONFIG+:} false; then :
11005 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11009 if ${DBUS_LIBS:+false} :; then :
11010 if ${PKG_CONFIG+:} false; then :
11011 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11016 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11017 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11018 ac_save_CPPFLAGS=$CPPFLAGS
11019 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11020 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11021 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11023 $as_echo_n "checking for -ldbus-1... " >&6; }
11024 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_soname_save_LIBS=$LIBS
11028 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char dbus_connection_close ();
11040 main ()
11042 return dbus_connection_close ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 case "$LIBEXT" in
11049 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11050 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'` ;;
11051 *) 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'`
11052 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11053 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11054 fi ;;
11055 esac
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_soname_save_LIBS
11061 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11063 $as_echo "not found" >&6; }
11064 DBUS_CFLAGS=""
11065 else
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11067 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11069 cat >>confdefs.h <<_ACEOF
11070 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11071 _ACEOF
11075 else
11076 DBUS_CFLAGS=""
11080 CPPFLAGS=$ac_save_CPPFLAGS
11081 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11082 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11085 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11086 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11087 case "x$with_dbus" in
11088 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11089 xno) ;;
11090 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11091 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11092 esac
11095 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11096 then
11097 if ${HAL_CFLAGS:+false} :; then :
11098 if ${PKG_CONFIG+:} false; then :
11099 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11103 if ${HAL_LIBS:+false} :; then :
11104 if ${PKG_CONFIG+:} false; then :
11105 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11109 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11110 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11111 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11112 ac_save_CPPFLAGS=$CPPFLAGS
11113 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11114 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11115 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11117 $as_echo_n "checking for -lhal... " >&6; }
11118 if ${ac_cv_lib_soname_hal+:} false; then :
11119 $as_echo_n "(cached) " >&6
11120 else
11121 ac_check_soname_save_LIBS=$LIBS
11122 LIBS="-lhal $HAL_LIBS $LIBS"
11123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char libhal_ctx_new ();
11134 main ()
11136 return libhal_ctx_new ();
11138 return 0;
11140 _ACEOF
11141 if ac_fn_c_try_link "$LINENO"; then :
11142 case "$LIBEXT" in
11143 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11144 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'` ;;
11145 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11146 if ${ac_cv_lib_soname_hal:+false} :; then :
11147 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11148 fi ;;
11149 esac
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_soname_save_LIBS
11155 if ${ac_cv_lib_soname_hal:+false} :; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11158 HAL_CFLAGS=""
11159 else
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11161 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11163 cat >>confdefs.h <<_ACEOF
11164 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11165 _ACEOF
11169 else
11170 HAL_CFLAGS=""
11174 CPPFLAGS=$ac_save_CPPFLAGS
11175 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11176 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11178 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11179 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11180 case "x$with_hal" in
11181 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11182 xno) ;;
11183 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11184 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11185 esac
11189 if test "x$with_gnutls" != "xno"
11190 then
11191 if ${GNUTLS_CFLAGS:+false} :; then :
11192 if ${PKG_CONFIG+:} false; then :
11193 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11197 if ${GNUTLS_LIBS:+false} :; then :
11198 if ${PKG_CONFIG+:} false; then :
11199 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11204 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11205 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11206 ac_save_CPPFLAGS=$CPPFLAGS
11207 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11208 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11209 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11212 #include <gnutls/gnutls.h>
11213 #include <gnutls/crypto.h>
11215 main ()
11217 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11219 return 0;
11221 _ACEOF
11222 if ac_fn_c_try_compile "$LINENO"; then :
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11224 $as_echo_n "checking for -lgnutls... " >&6; }
11225 if ${ac_cv_lib_soname_gnutls+:} false; then :
11226 $as_echo_n "(cached) " >&6
11227 else
11228 ac_check_soname_save_LIBS=$LIBS
11229 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char gnutls_global_init ();
11241 main ()
11243 return gnutls_global_init ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 case "$LIBEXT" in
11250 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11251 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'` ;;
11252 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11253 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11254 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11255 fi ;;
11256 esac
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_soname_save_LIBS
11262 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11264 $as_echo "not found" >&6; }
11265 GNUTLS_CFLAGS=""
11266 else
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11268 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11270 cat >>confdefs.h <<_ACEOF
11271 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11272 _ACEOF
11277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11278 else
11279 GNUTLS_CFLAGS=""
11283 CPPFLAGS=$ac_save_CPPFLAGS
11284 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11285 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11288 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11289 case "x$with_gnutls" in
11290 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11291 xno) ;;
11292 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11293 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11294 esac
11297 CURSES_LIBS=""
11298 if test "$ac_cv_header_ncurses_h" = "yes"
11299 then
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11301 $as_echo_n "checking for -lncurses... " >&6; }
11302 if ${ac_cv_lib_soname_ncurses+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_soname_save_LIBS=$LIBS
11306 LIBS="-lncurses $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char waddch ();
11318 main ()
11320 return waddch ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 case "$LIBEXT" in
11327 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11328 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'` ;;
11329 *) 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'`
11330 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11331 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11332 fi ;;
11333 esac
11335 rm -f core conftest.err conftest.$ac_objext \
11336 conftest$ac_exeext conftest.$ac_ext
11337 LIBS=$ac_check_soname_save_LIBS
11339 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11341 $as_echo "not found" >&6; }
11343 else
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11345 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11347 cat >>confdefs.h <<_ACEOF
11348 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11349 _ACEOF
11351 CURSES_LIBS="-lncurses"
11353 elif test "$ac_cv_header_curses_h" = "yes"
11354 then
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11356 $as_echo_n "checking for -lcurses... " >&6; }
11357 if ${ac_cv_lib_soname_curses+:} false; then :
11358 $as_echo_n "(cached) " >&6
11359 else
11360 ac_check_soname_save_LIBS=$LIBS
11361 LIBS="-lcurses $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11368 #ifdef __cplusplus
11369 extern "C"
11370 #endif
11371 char waddch ();
11373 main ()
11375 return waddch ();
11377 return 0;
11379 _ACEOF
11380 if ac_fn_c_try_link "$LINENO"; then :
11381 case "$LIBEXT" in
11382 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11383 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'` ;;
11384 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11385 if ${ac_cv_lib_soname_curses:+false} :; then :
11386 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11387 fi ;;
11388 esac
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_soname_save_LIBS
11394 if ${ac_cv_lib_soname_curses:+false} :; then :
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11396 $as_echo "not found" >&6; }
11398 else
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11400 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11402 cat >>confdefs.h <<_ACEOF
11403 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11404 _ACEOF
11406 CURSES_LIBS="-lcurses"
11409 ac_save_LIBS="$LIBS"
11410 LIBS="$LIBS $CURSES_LIBS"
11411 for ac_func in mousemask
11412 do :
11413 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11414 if test "x$ac_cv_func_mousemask" = xyes; then :
11415 cat >>confdefs.h <<_ACEOF
11416 #define HAVE_MOUSEMASK 1
11417 _ACEOF
11420 done
11422 LIBS="$ac_save_LIBS"
11423 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11424 case "x$with_curses" in
11425 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11426 xno) ;;
11427 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11428 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11429 esac
11432 if test "x$with_sane" != "xno"
11433 then
11434 if ${SANE_CFLAGS:+false} :; then :
11435 if ${PKG_CONFIG+:} false; then :
11436 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11439 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11440 if ${SANE_LIBS:+false} :; then :
11441 if ${PKG_CONFIG+:} false; then :
11442 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11445 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11447 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11448 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11449 ac_save_CPPFLAGS=$CPPFLAGS
11450 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11451 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11452 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11454 $as_echo_n "checking for -lsane... " >&6; }
11455 if ${ac_cv_lib_soname_sane+:} false; then :
11456 $as_echo_n "(cached) " >&6
11457 else
11458 ac_check_soname_save_LIBS=$LIBS
11459 LIBS="-lsane $SANE_LIBS $LIBS"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11466 #ifdef __cplusplus
11467 extern "C"
11468 #endif
11469 char sane_init ();
11471 main ()
11473 return sane_init ();
11475 return 0;
11477 _ACEOF
11478 if ac_fn_c_try_link "$LINENO"; then :
11479 case "$LIBEXT" in
11480 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11483 if ${ac_cv_lib_soname_sane:+false} :; then :
11484 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11485 fi ;;
11486 esac
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_sane:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11495 SANE_CFLAGS=""
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11498 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11502 _ACEOF
11506 else
11507 SANE_CFLAGS=""
11511 CPPFLAGS=$ac_save_CPPFLAGS
11512 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11513 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11516 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11517 case "x$with_sane" in
11518 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11519 xno) ;;
11520 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11521 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11522 esac
11525 if test "x$with_v4l" != "xno"
11526 then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11528 $as_echo_n "checking for -lv4l1... " >&6; }
11529 if ${ac_cv_lib_soname_v4l1+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lv4l1 $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char v4l1_open ();
11545 main ()
11547 return v4l1_open ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11558 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11572 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11574 cat >>confdefs.h <<_ACEOF
11575 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11576 _ACEOF
11581 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11582 case "x$with_v4l" in
11583 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11584 xno) ;;
11585 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11586 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11587 esac
11590 if test "x$with_gphoto" != "xno"
11591 then
11592 if ${GPHOTO2_CFLAGS:+false} :; then :
11593 if ${PKG_CONFIG+:} false; then :
11594 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11597 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11598 if ${GPHOTO2_LIBS:+false} :; then :
11599 if ${PKG_CONFIG+:} false; then :
11600 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11603 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11604 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11605 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11607 ac_save_CPPFLAGS=$CPPFLAGS
11608 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11609 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11610 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11612 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11613 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_lib_save_LIBS=$LIBS
11617 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char gp_camera_new ();
11629 main ()
11631 return gp_camera_new ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_gphoto2_gp_camera_new=yes
11638 else
11639 ac_cv_lib_gphoto2_gp_camera_new=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11646 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11647 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11649 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11651 else
11652 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11655 else
11656 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11660 CPPFLAGS=$ac_save_CPPFLAGS
11661 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11665 if ${PKG_CONFIG+:} false; then :
11666 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11669 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11670 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11671 if ${PKG_CONFIG+:} false; then :
11672 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11675 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11676 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11677 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11679 ac_save_CPPFLAGS=$CPPFLAGS
11680 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11681 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11682 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11684 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11685 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11686 $as_echo_n "(cached) " >&6
11687 else
11688 ac_check_lib_save_LIBS=$LIBS
11689 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11691 /* end confdefs.h. */
11693 /* Override any GCC internal prototype to avoid an error.
11694 Use char because int might match the return type of a GCC
11695 builtin and then its argument prototype would still apply. */
11696 #ifdef __cplusplus
11697 extern "C"
11698 #endif
11699 char gp_port_info_list_new ();
11701 main ()
11703 return gp_port_info_list_new ();
11705 return 0;
11707 _ACEOF
11708 if ac_fn_c_try_link "$LINENO"; then :
11709 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11710 else
11711 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_lib_save_LIBS
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11718 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11719 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11721 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11723 else
11724 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11727 else
11728 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11732 CPPFLAGS=$ac_save_CPPFLAGS
11733 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11734 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11737 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11738 case "x$with_gphoto" in
11739 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11740 xno) ;;
11741 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11742 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11743 esac
11745 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11746 case "x$with_gphoto" in
11747 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11748 xno) ;;
11749 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11750 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11751 esac
11755 if test "$ac_cv_header_resolv_h" = "yes"
11756 then
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11758 $as_echo_n "checking for resolver library... " >&6; }
11759 if ${ac_cv_have_resolv+:} false; then :
11760 $as_echo_n "(cached) " >&6
11761 else
11762 ac_save_LIBS="$LIBS"
11763 for lib in '' -lresolv
11765 LIBS="$lib $ac_save_LIBS"
11766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11767 /* end confdefs.h. */
11768 #ifdef HAVE_NETINET_IN_H
11769 #include <netinet/in.h>
11770 #endif
11771 #include <resolv.h>
11773 main ()
11775 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11777 return 0;
11779 _ACEOF
11780 if ac_fn_c_try_link "$LINENO"; then :
11781 ac_cv_have_resolv=${lib:-"none required"}
11782 else
11783 ac_cv_have_resolv="not found"
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 test "x$ac_cv_have_resolv" = "xnot found" || break
11788 done
11789 LIBS="$ac_save_LIBS"
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11792 $as_echo "$ac_cv_have_resolv" >&6; }
11794 case "$ac_cv_have_resolv" in
11795 "not found") ;;
11796 "none required")
11798 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11801 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11803 RESOLV_LIBS=$ac_cv_have_resolv
11805 esac
11808 if test "x$with_lcms2" != "xno"
11809 then
11810 if ${LCMS2_CFLAGS:+false} :; then :
11811 if ${PKG_CONFIG+:} false; then :
11812 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11816 if ${LCMS2_LIBS:+false} :; then :
11817 if ${PKG_CONFIG+:} false; then :
11818 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11822 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11823 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11824 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11825 ac_save_CPPFLAGS=$CPPFLAGS
11826 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11827 for ac_header in lcms2.h
11828 do :
11829 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11830 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11831 cat >>confdefs.h <<_ACEOF
11832 #define HAVE_LCMS2_H 1
11833 _ACEOF
11837 done
11839 if test "$ac_cv_header_lcms2_h" = "yes"
11840 then
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11842 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11843 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11844 $as_echo_n "(cached) " >&6
11845 else
11846 ac_check_lib_save_LIBS=$LIBS
11847 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11854 #ifdef __cplusplus
11855 extern "C"
11856 #endif
11857 char cmsOpenProfileFromFile ();
11859 main ()
11861 return cmsOpenProfileFromFile ();
11863 return 0;
11865 _ACEOF
11866 if ac_fn_c_try_link "$LINENO"; then :
11867 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11868 else
11869 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11871 rm -f core conftest.err conftest.$ac_objext \
11872 conftest$ac_exeext conftest.$ac_ext
11873 LIBS=$ac_check_lib_save_LIBS
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11876 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11877 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11879 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11881 else
11882 LCMS2_LIBS=""
11885 else
11886 LCMS2_CFLAGS=""
11887 LCMS2_LIBS=""
11889 CPPFLAGS=$ac_save_CPPFLAGS
11890 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11891 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11894 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11895 case "x$with_cms" in
11896 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11897 xno) ;;
11898 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11899 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11900 esac
11903 if test "x$with_freetype" != "xno"
11904 then
11905 if ${FREETYPE_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false; then :
11907 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11910 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11911 if ${FREETYPE_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false; then :
11913 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11916 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11917 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11918 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11922 for ac_header in ft2build.h
11923 do :
11924 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11925 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11926 cat >>confdefs.h <<_ACEOF
11927 #define HAVE_FT2BUILD_H 1
11928 _ACEOF
11932 done
11934 if test "$ac_cv_header_ft2build_h" = "yes"
11935 then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11937 $as_echo_n "checking for -lfreetype... " >&6; }
11938 if ${ac_cv_lib_soname_freetype+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char FT_Init_FreeType ();
11954 main ()
11956 return FT_Init_FreeType ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_freetype:+false} :; then :
11967 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_freetype:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11978 FREETYPE_LIBS=""
11979 else
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11981 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11983 cat >>confdefs.h <<_ACEOF
11984 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11985 _ACEOF
11988 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11990 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11991 #include FT_MODULE_H
11993 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11995 cat >>confdefs.h <<_ACEOF
11996 #define HAVE_FT_TRUETYPEENGINETYPE 1
11997 _ACEOF
12003 else
12004 FREETYPE_CFLAGS=""
12005 FREETYPE_LIBS=""
12007 CPPFLAGS=$ac_save_CPPFLAGS
12008 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12009 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12012 if test "x$ac_cv_lib_soname_freetype" = x; then :
12013 case "x$with_freetype" in
12014 xno) ;;
12015 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12016 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12017 esac
12019 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12022 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12023 if ${ac_cv_c_ppdev+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #ifdef HAVE_SYS_IOCTL_H
12029 # include <sys/ioctl.h>
12030 #endif
12031 #include <linux/ppdev.h>
12033 main ()
12035 ioctl (1,PPCLAIM,0)
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_compile "$LINENO"; then :
12041 ac_cv_c_ppdev="yes"
12042 else
12043 ac_cv_c_ppdev="no"
12045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12048 $as_echo "$ac_cv_c_ppdev" >&6; }
12049 if test "$ac_cv_c_ppdev" = "yes"
12050 then
12052 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12056 ac_wine_check_funcs_save_LIBS="$LIBS"
12057 LIBS="$LIBS $PTHREAD_LIBS"
12058 for ac_func in \
12059 pthread_attr_get_np \
12060 pthread_getattr_np \
12061 pthread_getthreadid_np \
12062 pthread_get_stackaddr_np \
12063 pthread_get_stacksize_np
12064 do :
12065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12067 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12068 cat >>confdefs.h <<_ACEOF
12069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12070 _ACEOF
12073 done
12075 LIBS="$ac_wine_check_funcs_save_LIBS"
12077 if test "$ac_cv_header_zlib_h" = "yes"
12078 then
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12080 $as_echo_n "checking for inflate in -lz... " >&6; }
12081 if ${ac_cv_lib_z_inflate+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_lib_save_LIBS=$LIBS
12085 LIBS="-lz $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char inflate ();
12097 main ()
12099 return inflate ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 ac_cv_lib_z_inflate=yes
12106 else
12107 ac_cv_lib_z_inflate=no
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12111 LIBS=$ac_check_lib_save_LIBS
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12114 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12115 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12117 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12119 Z_LIBS="-lz"
12124 if test "x$Z_LIBS" = "x"; then :
12125 case "x$with_zlib" in
12126 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12127 xno) ;;
12128 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12129 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12130 esac
12133 if test "x$enable_tools" != xno
12134 then
12135 if test "$ac_cv_header_gettext_po_h" = "yes"
12136 then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12138 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12139 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12140 $as_echo_n "(cached) " >&6
12141 else
12142 ac_check_lib_save_LIBS=$LIBS
12143 LIBS="-lgettextpo $LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12150 #ifdef __cplusplus
12151 extern "C"
12152 #endif
12153 char po_message_msgctxt ();
12155 main ()
12157 return po_message_msgctxt ();
12159 return 0;
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12164 else
12165 ac_cv_lib_gettextpo_po_message_msgctxt=no
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LIBS=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12172 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12173 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12175 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12177 GETTEXTPO_LIBS="-lgettextpo"
12182 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12183 case "x$with_gettextpo" in
12184 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12185 xno) ;;
12186 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12187 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12188 esac
12192 if test "x$with_gstreamer" != "xno"
12193 then
12194 if ${GSTREAMER_CFLAGS:+false} :; then :
12195 if ${PKG_CONFIG+:} false; then :
12196 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12200 if ${GSTREAMER_LIBS:+false} :; then :
12201 if ${PKG_CONFIG+:} false; then :
12202 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12207 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12208 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12209 ac_save_CPPFLAGS=$CPPFLAGS
12210 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12211 ac_gst_incl=""
12212 for i in $GSTREAMER_CFLAGS
12214 case "$i" in
12215 -I*) ac_gst_incl="$ac_gst_incl $i";;
12216 esac
12217 done
12218 GSTREAMER_CFLAGS=$ac_gst_incl
12219 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12220 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12222 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12223 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12225 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12228 #include <gst/app/gstappsink.h>
12230 main ()
12232 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_compile "$LINENO"; then :
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12239 $as_echo "yes" >&6; }
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12241 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12242 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12243 $as_echo_n "(cached) " >&6
12244 else
12245 ac_check_lib_save_LIBS=$LIBS
12246 LIBS="-lgstreamer-0.10 $LIBS"
12247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12248 /* end confdefs.h. */
12250 /* Override any GCC internal prototype to avoid an error.
12251 Use char because int might match the return type of a GCC
12252 builtin and then its argument prototype would still apply. */
12253 #ifdef __cplusplus
12254 extern "C"
12255 #endif
12256 char gst_pad_get_caps_reffed ();
12258 main ()
12260 return gst_pad_get_caps_reffed ();
12262 return 0;
12264 _ACEOF
12265 if ac_fn_c_try_link "$LINENO"; then :
12266 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12267 else
12268 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_lib_save_LIBS
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12275 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12276 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12278 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12279 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_check_lib_save_LIBS=$LIBS
12283 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12290 #ifdef __cplusplus
12291 extern "C"
12292 #endif
12293 char gst_app_buffer_new ();
12295 main ()
12297 return gst_app_buffer_new ();
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"; then :
12303 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12304 else
12305 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12307 rm -f core conftest.err conftest.$ac_objext \
12308 conftest$ac_exeext conftest.$ac_ext
12309 LIBS=$ac_check_lib_save_LIBS
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12312 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12313 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12319 else
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12321 $as_echo "no" >&6; }
12323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12327 else
12328 GSTREAMER_CFLAGS=""
12332 CPPFLAGS=$ac_save_CPPFLAGS
12333 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12337 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12338 case "x$with_gstreamer" in
12339 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12340 xno) ;;
12341 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12342 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12343 esac
12345 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12347 ALSA_LIBS=""
12349 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12350 then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12352 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12353 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_lib_save_LIBS=$LIBS
12357 LIBS="-lasound $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char snd_pcm_hw_params_get_access_mask ();
12369 main ()
12371 return snd_pcm_hw_params_get_access_mask ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12378 else
12379 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12381 rm -f core conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12383 LIBS=$ac_check_lib_save_LIBS
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12386 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12387 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12390 #ifdef HAVE_ALSA_ASOUNDLIB_H
12391 #include <alsa/asoundlib.h>
12392 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12393 #include <sys/asoundlib.h>
12394 #endif
12396 main ()
12398 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_compile "$LINENO"; then :
12404 ALSA_LIBS="-lasound"
12406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12411 if test "x$with_oss" != xno
12412 then
12413 ac_save_CPPFLAGS="$CPPFLAGS"
12414 if test -f /etc/oss.conf
12415 then
12416 . /etc/oss.conf
12418 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12419 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12420 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12421 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12422 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12424 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12426 cat >>confdefs.h <<_ACEOF
12427 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12428 _ACEOF
12430 OSS4_CFLAGS="$ac_oss_incl"
12437 CPPFLAGS="$ac_save_CPPFLAGS"
12438 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12439 then
12440 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12444 if test "x$with_capi" != "xno"
12445 then
12446 if ${CAPI20_CFLAGS:+false} :; then :
12447 if ${PKG_CONFIG+:} false; then :
12448 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12452 if ${CAPI20_LIBS:+false} :; then :
12453 if ${PKG_CONFIG+:} false; then :
12454 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12459 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12460 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12461 ac_save_CPPFLAGS=$CPPFLAGS
12462 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12463 for ac_header in capi20.h linux/capi.h
12464 do :
12465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12466 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12468 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12469 cat >>confdefs.h <<_ACEOF
12470 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12471 _ACEOF
12475 done
12477 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12478 then
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12480 $as_echo_n "checking for -lcapi20... " >&6; }
12481 if ${ac_cv_lib_soname_capi20+:} false; then :
12482 $as_echo_n "(cached) " >&6
12483 else
12484 ac_check_soname_save_LIBS=$LIBS
12485 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12492 #ifdef __cplusplus
12493 extern "C"
12494 #endif
12495 char capi20_register ();
12497 main ()
12499 return capi20_register ();
12501 return 0;
12503 _ACEOF
12504 if ac_fn_c_try_link "$LINENO"; then :
12505 case "$LIBEXT" in
12506 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12507 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'` ;;
12508 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12509 if ${ac_cv_lib_soname_capi20:+false} :; then :
12510 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12511 fi ;;
12512 esac
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_soname_save_LIBS
12518 if ${ac_cv_lib_soname_capi20:+false} :; then :
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12520 $as_echo "not found" >&6; }
12522 else
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12524 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12526 cat >>confdefs.h <<_ACEOF
12527 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12528 _ACEOF
12533 CPPFLAGS=$ac_save_CPPFLAGS
12534 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12535 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12538 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12539 case "x$with_capi" in
12540 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12543 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12544 esac
12547 CUPS_CFLAGS=""
12549 if test "x$with_cups" != "xno"
12550 then
12551 ac_save_CPPFLAGS="$CPPFLAGS"
12552 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12553 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12554 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12555 for ac_header in cups/cups.h
12556 do :
12557 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12558 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12559 cat >>confdefs.h <<_ACEOF
12560 #define HAVE_CUPS_CUPS_H 1
12561 _ACEOF
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12563 $as_echo_n "checking for -lcups... " >&6; }
12564 if ${ac_cv_lib_soname_cups+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lcups $ac_cups_libs $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char cupsGetDefault ();
12580 main ()
12582 return cupsGetDefault ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_cups:+false} :; then :
12593 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_soname_save_LIBS
12601 if ${ac_cv_lib_soname_cups:+false} :; then :
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12603 $as_echo "not found" >&6; }
12605 else
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12607 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12609 cat >>confdefs.h <<_ACEOF
12610 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12611 _ACEOF
12613 CUPS_CFLAGS="$ac_cups_cflags"
12617 done
12619 CPPFLAGS="$ac_save_CPPFLAGS"
12621 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12622 case "x$with_cups" in
12623 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12624 xno) ;;
12625 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12626 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12627 esac
12630 if test "x$with_fontconfig" != "xno"
12631 then
12632 if ${FONTCONFIG_CFLAGS:+false} :; then :
12633 if ${PKG_CONFIG+:} false; then :
12634 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12637 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12638 if ${FONTCONFIG_LIBS:+false} :; then :
12639 if ${PKG_CONFIG+:} false; then :
12640 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12643 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12645 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12646 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12647 ac_save_CPPFLAGS=$CPPFLAGS
12648 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12649 for ac_header in fontconfig/fontconfig.h
12650 do :
12651 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12652 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12653 cat >>confdefs.h <<_ACEOF
12654 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12655 _ACEOF
12659 done
12661 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12662 then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12664 $as_echo_n "checking for -lfontconfig... " >&6; }
12665 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12666 $as_echo_n "(cached) " >&6
12667 else
12668 ac_check_soname_save_LIBS=$LIBS
12669 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12671 /* end confdefs.h. */
12673 /* Override any GCC internal prototype to avoid an error.
12674 Use char because int might match the return type of a GCC
12675 builtin and then its argument prototype would still apply. */
12676 #ifdef __cplusplus
12677 extern "C"
12678 #endif
12679 char FcInit ();
12681 main ()
12683 return FcInit ();
12685 return 0;
12687 _ACEOF
12688 if ac_fn_c_try_link "$LINENO"; then :
12689 case "$LIBEXT" in
12690 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12691 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'` ;;
12692 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12693 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12694 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12695 fi ;;
12696 esac
12698 rm -f core conftest.err conftest.$ac_objext \
12699 conftest$ac_exeext conftest.$ac_ext
12700 LIBS=$ac_check_soname_save_LIBS
12702 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12704 $as_echo "not found" >&6; }
12705 FONTCONFIG_CFLAGS=""
12706 else
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12708 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12710 cat >>confdefs.h <<_ACEOF
12711 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12712 _ACEOF
12716 else
12717 FONTCONFIG_CFLAGS=""
12719 CPPFLAGS=$ac_save_CPPFLAGS
12720 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12721 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12724 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12725 case "x$with_fontconfig" in
12726 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12727 xno) ;;
12728 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12729 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12730 esac
12733 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12734 then
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12736 $as_echo_n "checking for -lgsm... " >&6; }
12737 if ${ac_cv_lib_soname_gsm+:} false; then :
12738 $as_echo_n "(cached) " >&6
12739 else
12740 ac_check_soname_save_LIBS=$LIBS
12741 LIBS="-lgsm $LIBS"
12742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12748 #ifdef __cplusplus
12749 extern "C"
12750 #endif
12751 char gsm_create ();
12753 main ()
12755 return gsm_create ();
12757 return 0;
12759 _ACEOF
12760 if ac_fn_c_try_link "$LINENO"; then :
12761 case "$LIBEXT" in
12762 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12763 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'` ;;
12764 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12765 if ${ac_cv_lib_soname_gsm:+false} :; then :
12766 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12767 fi ;;
12768 esac
12770 rm -f core conftest.err conftest.$ac_objext \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_soname_save_LIBS
12774 if ${ac_cv_lib_soname_gsm:+false} :; then :
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12776 $as_echo "not found" >&6; }
12778 else
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12780 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12782 cat >>confdefs.h <<_ACEOF
12783 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12784 _ACEOF
12789 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12790 case "x$with_gsm" in
12791 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12792 xno) ;;
12793 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12794 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12795 esac
12798 if test "x$with_jpeg" != "xno"
12799 then
12800 if ${JPEG_CFLAGS:+false} :; then :
12801 if ${PKG_CONFIG+:} false; then :
12802 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12806 if ${JPEG_LIBS:+false} :; then :
12807 if ${PKG_CONFIG+:} false; then :
12808 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12813 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12814 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12815 ac_save_CPPFLAGS=$CPPFLAGS
12816 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12817 for ac_header in jpeglib.h
12818 do :
12819 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12820 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12821 cat >>confdefs.h <<_ACEOF
12822 #define HAVE_JPEGLIB_H 1
12823 _ACEOF
12827 done
12829 if test "$ac_cv_header_jpeglib_h" = "yes"
12830 then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12832 $as_echo_n "checking for -ljpeg... " >&6; }
12833 if ${ac_cv_lib_soname_jpeg+:} false; then :
12834 $as_echo_n "(cached) " >&6
12835 else
12836 ac_check_soname_save_LIBS=$LIBS
12837 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12844 #ifdef __cplusplus
12845 extern "C"
12846 #endif
12847 char jpeg_start_decompress ();
12849 main ()
12851 return jpeg_start_decompress ();
12853 return 0;
12855 _ACEOF
12856 if ac_fn_c_try_link "$LINENO"; then :
12857 case "$LIBEXT" in
12858 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12859 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'` ;;
12860 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12861 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12862 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12863 fi ;;
12864 esac
12866 rm -f core conftest.err conftest.$ac_objext \
12867 conftest$ac_exeext conftest.$ac_ext
12868 LIBS=$ac_check_soname_save_LIBS
12870 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12872 $as_echo "not found" >&6; }
12873 JPEG_CFLAGS=""
12874 else
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12876 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12878 cat >>confdefs.h <<_ACEOF
12879 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12880 _ACEOF
12884 else
12885 JPEG_CFLAGS=""
12887 CPPFLAGS=$ac_save_CPPFLAGS
12888 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12889 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12892 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12893 case "x$with_jpeg" in
12894 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12895 xno) ;;
12896 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12897 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12898 esac
12901 if test "x$with_png" != "xno"
12902 then
12903 if ${PNG_CFLAGS:+false} :; then :
12904 if ${PKG_CONFIG+:} false; then :
12905 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12908 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12909 if ${PNG_LIBS:+false} :; then :
12910 if ${PKG_CONFIG+:} false; then :
12911 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12914 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12917 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12918 ac_save_CPPFLAGS=$CPPFLAGS
12919 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12920 for ac_header in png.h
12921 do :
12922 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_png_h" = xyes; then :
12924 cat >>confdefs.h <<_ACEOF
12925 #define HAVE_PNG_H 1
12926 _ACEOF
12930 done
12932 if test "$ac_cv_header_png_h" = "yes"
12933 then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12935 $as_echo_n "checking for -lpng... " >&6; }
12936 if ${ac_cv_lib_soname_png+:} false; then :
12937 $as_echo_n "(cached) " >&6
12938 else
12939 ac_check_soname_save_LIBS=$LIBS
12940 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char png_create_read_struct ();
12952 main ()
12954 return png_create_read_struct ();
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 case "$LIBEXT" in
12961 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12962 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'` ;;
12963 *) 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'`
12964 if ${ac_cv_lib_soname_png:+false} :; then :
12965 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12966 fi ;;
12967 esac
12969 rm -f core conftest.err conftest.$ac_objext \
12970 conftest$ac_exeext conftest.$ac_ext
12971 LIBS=$ac_check_soname_save_LIBS
12973 if ${ac_cv_lib_soname_png:+false} :; then :
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12975 $as_echo "not found" >&6; }
12976 PNG_CFLAGS=""
12977 else
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12979 $as_echo "$ac_cv_lib_soname_png" >&6; }
12981 cat >>confdefs.h <<_ACEOF
12982 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12983 _ACEOF
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12987 #include <png.h>
12989 main ()
12991 typeof(png_set_expand_gray_1_2_4_to_8) *p
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_compile "$LINENO"; then :
12998 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13003 else
13004 PNG_CFLAGS=""
13006 CPPFLAGS=$ac_save_CPPFLAGS
13007 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13008 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13011 if test "x$ac_cv_lib_soname_png" = "x"; then :
13012 case "x$with_png" in
13013 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13014 xno) ;;
13015 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13016 This is an error since --with-png was requested." "$LINENO" 5 ;;
13017 esac
13020 if test "x$with_tiff" != "xno"
13021 then
13022 if ${TIFF_CFLAGS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13028 if ${TIFF_LIBS:+false} :; then :
13029 if ${PKG_CONFIG+:} false; then :
13030 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13035 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13037 ac_save_CPPFLAGS=$CPPFLAGS
13038 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13039 for ac_header in tiffio.h
13040 do :
13041 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13042 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13043 cat >>confdefs.h <<_ACEOF
13044 #define HAVE_TIFFIO_H 1
13045 _ACEOF
13049 done
13051 if test "$ac_cv_header_tiffio_h" = "yes"
13052 then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13054 $as_echo_n "checking for -ltiff... " >&6; }
13055 if ${ac_cv_lib_soname_tiff+:} false; then :
13056 $as_echo_n "(cached) " >&6
13057 else
13058 ac_check_soname_save_LIBS=$LIBS
13059 LIBS="-ltiff $TIFF_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 #ifdef __cplusplus
13067 extern "C"
13068 #endif
13069 char TIFFClientOpen ();
13071 main ()
13073 return TIFFClientOpen ();
13075 return 0;
13077 _ACEOF
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 case "$LIBEXT" in
13080 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13081 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'` ;;
13082 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13083 if ${ac_cv_lib_soname_tiff:+false} :; then :
13084 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13085 fi ;;
13086 esac
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_soname_save_LIBS
13092 if ${ac_cv_lib_soname_tiff:+false} :; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13094 $as_echo "not found" >&6; }
13096 else
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13098 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13100 cat >>confdefs.h <<_ACEOF
13101 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13102 _ACEOF
13107 CPPFLAGS=$ac_save_CPPFLAGS
13108 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13109 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13112 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13113 case "x$with_tiff" in
13114 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13115 xno) ;;
13116 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13117 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13118 esac
13121 if test "x$with_mpg123" != "xno"
13122 then
13123 if ${MPG123_CFLAGS:+false} :; then :
13124 if ${PKG_CONFIG+:} false; then :
13125 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13129 if ${MPG123_LIBS:+false} :; then :
13130 if ${PKG_CONFIG+:} false; then :
13131 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13135 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13136 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13137 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13138 ac_save_CPPFLAGS=$CPPFLAGS
13139 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13140 for ac_header in mpg123.h
13141 do :
13142 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13143 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13144 cat >>confdefs.h <<_ACEOF
13145 #define HAVE_MPG123_H 1
13146 _ACEOF
13150 done
13152 if test "$ac_cv_header_mpg123_h" = "yes"
13153 then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13155 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13156 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13157 $as_echo_n "(cached) " >&6
13158 else
13159 ac_check_lib_save_LIBS=$LIBS
13160 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13167 #ifdef __cplusplus
13168 extern "C"
13169 #endif
13170 char mpg123_feed ();
13172 main ()
13174 return mpg123_feed ();
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_lib_mpg123_mpg123_feed=yes
13181 else
13182 ac_cv_lib_mpg123_mpg123_feed=no
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13189 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13190 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13192 else
13193 MPG123_LIBS=""
13196 else
13197 MPG123_CFLAGS=""
13198 MPG123_LIBS=""
13200 CPPFLAGS=$ac_save_CPPFLAGS
13201 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13202 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13205 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13206 case "x$with_mpg123" in
13207 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13208 xno) ;;
13209 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13210 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13211 esac
13213 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}
13215 if test "$ac_cv_header_AL_al_h" = "yes"
13216 then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13218 $as_echo_n "checking for -lopenal... " >&6; }
13219 if ${ac_cv_lib_soname_openal+:} false; then :
13220 $as_echo_n "(cached) " >&6
13221 else
13222 ac_check_soname_save_LIBS=$LIBS
13223 LIBS="-lopenal $LIBS"
13224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13227 /* Override any GCC internal prototype to avoid an error.
13228 Use char because int might match the return type of a GCC
13229 builtin and then its argument prototype would still apply. */
13230 #ifdef __cplusplus
13231 extern "C"
13232 #endif
13233 char alGetSource3i ();
13235 main ()
13237 return alGetSource3i ();
13239 return 0;
13241 _ACEOF
13242 if ac_fn_c_try_link "$LINENO"; then :
13243 case "$LIBEXT" in
13244 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13245 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'` ;;
13246 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13247 if ${ac_cv_lib_soname_openal:+false} :; then :
13248 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13249 fi ;;
13250 esac
13252 rm -f core conftest.err conftest.$ac_objext \
13253 conftest$ac_exeext conftest.$ac_ext
13254 LIBS=$ac_check_soname_save_LIBS
13256 if ${ac_cv_lib_soname_openal:+false} :; then :
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13258 $as_echo "not found" >&6; }
13260 else
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13262 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13264 cat >>confdefs.h <<_ACEOF
13265 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13266 _ACEOF
13268 OPENAL_LIBS="-lopenal"
13270 ac_cv_lib_openal=yes
13272 cat >>confdefs.h <<_ACEOF
13273 #define HAVE_OPENAL 1
13274 _ACEOF
13278 if test "x$ac_cv_lib_openal" != xyes; then :
13279 case "x$with_openal" in
13280 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13281 xno) ;;
13282 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13283 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13284 esac
13286 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13288 if test "$ac_cv_header_kstat_h" = "yes"
13289 then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13291 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13292 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13293 $as_echo_n "(cached) " >&6
13294 else
13295 ac_check_lib_save_LIBS=$LIBS
13296 LIBS="-lkstat $LIBS"
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13300 /* Override any GCC internal prototype to avoid an error.
13301 Use char because int might match the return type of a GCC
13302 builtin and then its argument prototype would still apply. */
13303 #ifdef __cplusplus
13304 extern "C"
13305 #endif
13306 char kstat_open ();
13308 main ()
13310 return kstat_open ();
13312 return 0;
13314 _ACEOF
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_lib_kstat_kstat_open=yes
13317 else
13318 ac_cv_lib_kstat_kstat_open=no
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_lib_save_LIBS
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13325 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13326 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13328 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13330 KSTAT_LIBS="-lkstat"
13336 if test "$ac_cv_header_libprocstat_h" = "yes"
13337 then
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13339 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13340 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13341 $as_echo_n "(cached) " >&6
13342 else
13343 ac_check_lib_save_LIBS=$LIBS
13344 LIBS="-lprocstat $LIBS"
13345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h. */
13348 /* Override any GCC internal prototype to avoid an error.
13349 Use char because int might match the return type of a GCC
13350 builtin and then its argument prototype would still apply. */
13351 #ifdef __cplusplus
13352 extern "C"
13353 #endif
13354 char procstat_open_sysctl ();
13356 main ()
13358 return procstat_open_sysctl ();
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_link "$LINENO"; then :
13364 ac_cv_lib_procstat_procstat_open_sysctl=yes
13365 else
13366 ac_cv_lib_procstat_procstat_open_sysctl=no
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13373 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13374 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13376 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13378 PROCSTAT_LIBS="-lprocstat"
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13385 $as_echo_n "checking for -lodbc... " >&6; }
13386 if ${ac_cv_lib_soname_odbc+:} false; then :
13387 $as_echo_n "(cached) " >&6
13388 else
13389 ac_check_soname_save_LIBS=$LIBS
13390 LIBS="-lodbc $LIBS"
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13394 /* Override any GCC internal prototype to avoid an error.
13395 Use char because int might match the return type of a GCC
13396 builtin and then its argument prototype would still apply. */
13397 #ifdef __cplusplus
13398 extern "C"
13399 #endif
13400 char SQLConnect ();
13402 main ()
13404 return SQLConnect ();
13406 return 0;
13408 _ACEOF
13409 if ac_fn_c_try_link "$LINENO"; then :
13410 case "$LIBEXT" in
13411 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13412 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'` ;;
13413 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13414 if ${ac_cv_lib_soname_odbc:+false} :; then :
13415 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13416 fi ;;
13417 esac
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_soname_save_LIBS
13423 if ${ac_cv_lib_soname_odbc:+false} :; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13425 $as_echo "not found" >&6; }
13426 cat >>confdefs.h <<_ACEOF
13427 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13428 _ACEOF
13430 else
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13432 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13434 cat >>confdefs.h <<_ACEOF
13435 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13436 _ACEOF
13441 if test "x$with_netapi" != "xno"
13442 then
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13444 $as_echo_n "checking for -lnetapi... " >&6; }
13445 if ${ac_cv_lib_soname_netapi+:} false; then :
13446 $as_echo_n "(cached) " >&6
13447 else
13448 ac_check_soname_save_LIBS=$LIBS
13449 LIBS="-lnetapi $LIBS"
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13453 /* Override any GCC internal prototype to avoid an error.
13454 Use char because int might match the return type of a GCC
13455 builtin and then its argument prototype would still apply. */
13456 #ifdef __cplusplus
13457 extern "C"
13458 #endif
13459 char libnetapi_init ();
13461 main ()
13463 return libnetapi_init ();
13465 return 0;
13467 _ACEOF
13468 if ac_fn_c_try_link "$LINENO"; then :
13469 case "$LIBEXT" in
13470 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13471 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'` ;;
13472 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13473 if ${ac_cv_lib_soname_netapi:+false} :; then :
13474 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13475 fi ;;
13476 esac
13478 rm -f core conftest.err conftest.$ac_objext \
13479 conftest$ac_exeext conftest.$ac_ext
13480 LIBS=$ac_check_soname_save_LIBS
13482 if ${ac_cv_lib_soname_netapi:+false} :; then :
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13484 $as_echo "not found" >&6; }
13485 cat >>confdefs.h <<_ACEOF
13486 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13487 _ACEOF
13489 else
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13491 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13493 cat >>confdefs.h <<_ACEOF
13494 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13495 _ACEOF
13501 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13502 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13503 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13504 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13506 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13507 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13508 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13509 then
13510 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13514 EXTRACFLAGS=""
13516 if test "x${GCC}" = "xyes"
13517 then
13518 EXTRACFLAGS="-Wall -pipe"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13521 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13522 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 if test "$cross_compiling" = yes; then :
13526 ac_cv_c_gcc_strength_bug="yes"
13527 else
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13530 int L[4] = {0,1,2,3};
13532 main ()
13534 static int Array[3];
13535 unsigned int B = 3;
13536 int i;
13537 for(i=0; i<B; i++) Array[i] = i - 3;
13538 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13539 L[i] = 4;
13540 return (Array[1] != -2 || L[2] != 3)
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_run "$LINENO"; then :
13546 ac_cv_c_gcc_strength_bug="no"
13547 else
13548 ac_cv_c_gcc_strength_bug="yes"
13550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13551 conftest.$ac_objext conftest.beam conftest.$ac_ext
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13556 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13557 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13558 then
13559 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13563 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13564 if ${ac_cv_cflags__fno_builtin+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 ac_wine_try_cflags_saved=$CFLAGS
13568 CFLAGS="$CFLAGS -fno-builtin"
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 int main(int argc, char **argv) { return 0; }
13572 _ACEOF
13573 if ac_fn_c_try_link "$LINENO"; then :
13574 ac_cv_cflags__fno_builtin=yes
13575 else
13576 ac_cv_cflags__fno_builtin=no
13578 rm -f core conftest.err conftest.$ac_objext \
13579 conftest$ac_exeext conftest.$ac_ext
13580 CFLAGS=$ac_wine_try_cflags_saved
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13583 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13584 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13585 BUILTINFLAG="-fno-builtin"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13589 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13590 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13591 $as_echo_n "(cached) " >&6
13592 else
13593 ac_wine_try_cflags_saved=$CFLAGS
13594 CFLAGS="$CFLAGS -fno-strict-aliasing"
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 int main(int argc, char **argv) { return 0; }
13598 _ACEOF
13599 if ac_fn_c_try_link "$LINENO"; then :
13600 ac_cv_cflags__fno_strict_aliasing=yes
13601 else
13602 ac_cv_cflags__fno_strict_aliasing=no
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 CFLAGS=$ac_wine_try_cflags_saved
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13609 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13610 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13611 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13613 saved_CFLAGS=$CFLAGS
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13615 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13616 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_wine_try_cflags_saved=$CFLAGS
13620 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 int main(int argc, char **argv) { return 0; }
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 ac_cv_cflags__Werror_unknown_warning_option=yes
13627 else
13628 ac_cv_cflags__Werror_unknown_warning_option=no
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 CFLAGS=$ac_wine_try_cflags_saved
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13635 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13636 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13637 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13640 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13641 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13642 $as_echo_n "(cached) " >&6
13643 else
13644 ac_wine_try_cflags_saved=$CFLAGS
13645 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 int main(int argc, char **argv) { return 0; }
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 ac_cv_cflags__Wdeclaration_after_statement=yes
13652 else
13653 ac_cv_cflags__Wdeclaration_after_statement=no
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13657 CFLAGS=$ac_wine_try_cflags_saved
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13660 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13661 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13662 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13665 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13666 if ${ac_cv_cflags__Wempty_body+:} false; then :
13667 $as_echo_n "(cached) " >&6
13668 else
13669 ac_wine_try_cflags_saved=$CFLAGS
13670 CFLAGS="$CFLAGS -Wempty-body"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 int main(int argc, char **argv) { return 0; }
13674 _ACEOF
13675 if ac_fn_c_try_link "$LINENO"; then :
13676 ac_cv_cflags__Wempty_body=yes
13677 else
13678 ac_cv_cflags__Wempty_body=no
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 CFLAGS=$ac_wine_try_cflags_saved
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13685 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13686 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13687 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13690 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13691 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13692 $as_echo_n "(cached) " >&6
13693 else
13694 ac_wine_try_cflags_saved=$CFLAGS
13695 CFLAGS="$CFLAGS -Wignored-qualifiers"
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 int main(int argc, char **argv) { return 0; }
13699 _ACEOF
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 ac_cv_cflags__Wignored_qualifiers=yes
13702 else
13703 ac_cv_cflags__Wignored_qualifiers=no
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13707 CFLAGS=$ac_wine_try_cflags_saved
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13710 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13711 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13712 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13715 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13716 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_wine_try_cflags_saved=$CFLAGS
13720 CFLAGS="$CFLAGS -Wstrict-prototypes"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 int main(int argc, char **argv) { return 0; }
13724 _ACEOF
13725 if ac_fn_c_try_link "$LINENO"; then :
13726 ac_cv_cflags__Wstrict_prototypes=yes
13727 else
13728 ac_cv_cflags__Wstrict_prototypes=no
13730 rm -f core conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 CFLAGS=$ac_wine_try_cflags_saved
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13735 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13736 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13737 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13740 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13741 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_wine_try_cflags_saved=$CFLAGS
13745 CFLAGS="$CFLAGS -Wtype-limits"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 int main(int argc, char **argv) { return 0; }
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 ac_cv_cflags__Wtype_limits=yes
13752 else
13753 ac_cv_cflags__Wtype_limits=no
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 CFLAGS=$ac_wine_try_cflags_saved
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13760 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13761 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13762 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13765 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13766 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13767 $as_echo_n "(cached) " >&6
13768 else
13769 ac_wine_try_cflags_saved=$CFLAGS
13770 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 int main(int argc, char **argv) { return 0; }
13774 _ACEOF
13775 if ac_fn_c_try_link "$LINENO"; then :
13776 ac_cv_cflags__Wunused_but_set_parameter=yes
13777 else
13778 ac_cv_cflags__Wunused_but_set_parameter=no
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 CFLAGS=$ac_wine_try_cflags_saved
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13785 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13786 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13787 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13790 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13791 if ${ac_cv_cflags__Wvla+:} false; then :
13792 $as_echo_n "(cached) " >&6
13793 else
13794 ac_wine_try_cflags_saved=$CFLAGS
13795 CFLAGS="$CFLAGS -Wvla"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 int main(int argc, char **argv) { return 0; }
13799 _ACEOF
13800 if ac_fn_c_try_link "$LINENO"; then :
13801 ac_cv_cflags__Wvla=yes
13802 else
13803 ac_cv_cflags__Wvla=no
13805 rm -f core conftest.err conftest.$ac_objext \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13810 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13811 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13812 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13815 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13816 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -Wwrite-strings"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_cflags__Wwrite_strings=yes
13827 else
13828 ac_cv_cflags__Wwrite_strings=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 CFLAGS=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13835 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13836 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13837 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13841 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13842 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13843 $as_echo_n "(cached) " >&6
13844 else
13845 ac_wine_try_cflags_saved=$CFLAGS
13846 CFLAGS="$CFLAGS -Wpointer-arith"
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13849 int main(int argc, char **argv) { return 0; }
13850 _ACEOF
13851 if ac_fn_c_try_link "$LINENO"; then :
13852 ac_cv_cflags__Wpointer_arith=yes
13853 else
13854 ac_cv_cflags__Wpointer_arith=no
13856 rm -f core conftest.err conftest.$ac_objext \
13857 conftest$ac_exeext conftest.$ac_ext
13858 CFLAGS=$ac_wine_try_cflags_saved
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13861 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13862 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13863 saved_string_h_CFLAGS=$CFLAGS
13864 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13866 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13867 if ${ac_cv_c_string_h_warnings+:} false; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 #include <string.h>
13874 main ()
13878 return 0;
13880 _ACEOF
13881 if ac_fn_c_try_compile "$LINENO"; then :
13882 ac_cv_c_string_h_warnings=no
13883 else
13884 ac_cv_c_string_h_warnings=yes
13886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13889 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13890 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13891 CFLAGS=$saved_string_h_CFLAGS
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13895 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13896 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13897 $as_echo_n "(cached) " >&6
13898 else
13899 ac_wine_try_cflags_saved=$CFLAGS
13900 CFLAGS="$CFLAGS -Wlogical-op"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13903 int main(int argc, char **argv) { return 0; }
13904 _ACEOF
13905 if ac_fn_c_try_link "$LINENO"; then :
13906 ac_cv_cflags__Wlogical_op=yes
13907 else
13908 ac_cv_cflags__Wlogical_op=no
13910 rm -f core conftest.err conftest.$ac_objext \
13911 conftest$ac_exeext conftest.$ac_ext
13912 CFLAGS=$ac_wine_try_cflags_saved
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13915 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13916 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13917 saved_string_h_CFLAGS=$CFLAGS
13918 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13920 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13921 if ${ac_cv_c_logicalop_noisy+:} false; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 #include <string.h>
13927 char*f(const char *h,char n) {return strchr(h,n);}
13929 main ()
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_compile "$LINENO"; then :
13937 ac_cv_c_logicalop_noisy=no
13938 else
13939 ac_cv_c_logicalop_noisy=yes
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13944 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13945 CFLAGS=$saved_string_h_CFLAGS
13946 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13949 CFLAGS=$saved_CFLAGS
13951 for ac_flag in $CFLAGS; do
13952 case $ac_flag in
13953 -g) case $host_os in
13954 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13955 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13956 if ${ac_cv_cflags__gstabsp+:} false; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 ac_wine_try_cflags_saved=$CFLAGS
13960 CFLAGS="$CFLAGS -gstabs+"
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13963 int main(int argc, char **argv) { return 0; }
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 ac_cv_cflags__gstabsp=yes
13967 else
13968 ac_cv_cflags__gstabsp=no
13970 rm -f core conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 CFLAGS=$ac_wine_try_cflags_saved
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13975 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13976 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13977 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13978 fi ;;
13979 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13980 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13981 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_wine_try_cflags_saved=$CFLAGS
13985 CFLAGS="$CFLAGS -gdwarf-2"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13988 int main(int argc, char **argv) { return 0; }
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_cflags__gdwarf_2=yes
13992 else
13993 ac_cv_cflags__gdwarf_2=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 CFLAGS=$ac_wine_try_cflags_saved
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14000 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14001 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14002 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14005 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14006 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_wine_try_cflags_saved=$CFLAGS
14010 CFLAGS="$CFLAGS -gstrict-dwarf"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_cflags__gstrict_dwarf=yes
14017 else
14018 ac_cv_cflags__gstrict_dwarf=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 CFLAGS=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14025 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14026 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14027 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14028 fi ;;
14029 esac ;;
14030 esac
14031 done
14033 case $host_cpu in
14034 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14035 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14036 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_wine_try_cflags_saved=$CFLAGS
14040 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 int main(int argc, char **argv) { return 0; }
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_cflags__fno_omit_frame_pointer=yes
14047 else
14048 ac_cv_cflags__fno_omit_frame_pointer=no
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 CFLAGS=$ac_wine_try_cflags_saved
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14055 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14056 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14057 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14058 fi ;;
14059 esac
14061 case $host in
14062 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14063 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14064 if ${ac_cv_cflags__Wno_format+:} false; then :
14065 $as_echo_n "(cached) " >&6
14066 else
14067 ac_wine_try_cflags_saved=$CFLAGS
14068 CFLAGS="$CFLAGS -Wno-format"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14071 int main(int argc, char **argv) { return 0; }
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 ac_cv_cflags__Wno_format=yes
14075 else
14076 ac_cv_cflags__Wno_format=no
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 CFLAGS=$ac_wine_try_cflags_saved
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14083 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14084 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14085 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14086 fi ;;
14087 esac
14089 if test "x$enable_maintainer_mode" = "xyes"
14090 then
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14092 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14093 if ${ac_cv_cflags__Werror+:} false; then :
14094 $as_echo_n "(cached) " >&6
14095 else
14096 ac_wine_try_cflags_saved=$CFLAGS
14097 CFLAGS="$CFLAGS -Werror"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 int main(int argc, char **argv) { return 0; }
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"; then :
14103 ac_cv_cflags__Werror=yes
14104 else
14105 ac_cv_cflags__Werror=no
14107 rm -f core conftest.err conftest.$ac_objext \
14108 conftest$ac_exeext conftest.$ac_ext
14109 CFLAGS=$ac_wine_try_cflags_saved
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14112 $as_echo "$ac_cv_cflags__Werror" >&6; }
14113 if test "x$ac_cv_cflags__Werror" = xyes; then :
14114 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14118 saved_CFLAGS="$CFLAGS"
14119 CFLAGS="$CFLAGS -Werror"
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14121 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14122 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14123 $as_echo_n "(cached) " >&6
14124 else
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14129 main ()
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_compile "$LINENO"; then :
14137 ac_cv_have_ms_hook_prologue="yes"
14138 else
14139 ac_cv_have_ms_hook_prologue="no"
14141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14144 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14145 CFLAGS="$saved_CFLAGS"
14146 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14147 then
14149 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14151 else
14152 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14159 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14160 if ${ac_cv_c_fortify_enabled+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14164 /* end confdefs.h. */
14165 #include <string.h>
14167 main ()
14169 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14170 #error Fortify enabled
14171 #endif
14173 return 0;
14175 _ACEOF
14176 if ac_fn_c_try_compile "$LINENO"; then :
14177 ac_cv_c_fortify_enabled=no
14178 else
14179 ac_cv_c_fortify_enabled=yes
14181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14184 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14185 if test "$ac_cv_c_fortify_enabled" = yes
14186 then
14187 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14192 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14193 if ${ac_cv_c_extern_prefix+:} false; then :
14194 $as_echo_n "(cached) " >&6
14195 else
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 extern int ac_test;
14200 main ()
14202 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14204 return 0;
14206 _ACEOF
14207 if ac_fn_c_try_link "$LINENO"; then :
14208 ac_cv_c_extern_prefix="yes"
14209 else
14210 ac_cv_c_extern_prefix="no"
14212 rm -f core conftest.err conftest.$ac_objext \
14213 conftest$ac_exeext conftest.$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14216 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14218 case $host_cpu in
14219 *i[3456789]86*)
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14221 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14222 if ${ac_cv_c_stdcall_suffix+:} false; then :
14223 $as_echo_n "(cached) " >&6
14224 else
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 #ifndef _MSC_VER
14228 #define __stdcall __attribute__((__stdcall__))
14229 #endif
14230 int __stdcall ac_test(int i) { return i; }
14232 main ()
14234 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14236 return 0;
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 ac_cv_c_stdcall_suffix="yes"
14241 else
14242 ac_cv_c_stdcall_suffix="no"
14244 rm -f core conftest.err conftest.$ac_objext \
14245 conftest$ac_exeext conftest.$ac_ext
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14248 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14249 *) ac_cv_c_stdcall_suffix="no" ;;
14250 esac
14253 if test "$ac_cv_c_extern_prefix" = "yes"
14254 then
14255 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14257 asm_name_prefix="_"
14258 else
14259 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14261 asm_name_prefix=""
14265 if test "$ac_cv_c_stdcall_suffix" = "yes"
14266 then
14267 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14269 else
14270 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14276 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14277 if ${ac_cv_asm_func_def+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14284 main ()
14286 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14288 return 0;
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_asm_func_def=".def"
14293 else
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14298 main ()
14300 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14302 return 0;
14304 _ACEOF
14305 if ac_fn_c_try_link "$LINENO"; then :
14306 ac_cv_asm_func_def=".type @function"
14307 else
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14312 main ()
14314 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14316 return 0;
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 ac_cv_asm_func_def=".type 2"
14321 else
14322 ac_cv_asm_func_def="unknown"
14324 rm -f core conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14334 $as_echo "$ac_cv_asm_func_def" >&6; }
14337 case "$ac_cv_asm_func_def" in
14338 ".def")
14339 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14341 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14342 ".type @function")
14343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14345 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14346 ".type 2")
14347 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14349 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14351 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14353 asm_func_header="" ;;
14354 esac
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14357 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14358 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 asm(".text\n\t.long 0");
14365 main ()
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_compile "$LINENO"; then :
14373 ac_cv_c_asm_outside_funcs="yes"
14374 else
14375 ac_cv_c_asm_outside_funcs="no"
14377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14380 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14383 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14384 if ${ac_cv_c_dot_previous+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14391 main ()
14393 asm(".text\nac_test:\t.long 0\n\t.previous");
14395 return 0;
14397 _ACEOF
14398 if ac_fn_c_try_link "$LINENO"; then :
14399 ac_cv_c_dot_previous="yes"
14400 else
14401 ac_cv_c_dot_previous="no"
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14407 $as_echo "$ac_cv_c_dot_previous" >&6; }
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14410 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14411 if ${ac_cv_c_cfi_support+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14418 main ()
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_compile "$LINENO"; then :
14426 ac_cv_c_cfi_support="yes"
14427 else
14428 ac_cv_c_cfi_support="no"
14430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14433 $as_echo "$ac_cv_c_cfi_support" >&6; }
14435 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14436 asm_func_trailer=""
14437 if test "$ac_cv_c_dot_previous" = "yes"
14438 then
14439 asm_func_trailer="\\n\\t.previous"
14441 if test "$ac_cv_c_cfi_support" = "yes"
14442 then
14443 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14444 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14446 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14448 UNWINDFLAGS=-fasynchronous-unwind-tables
14450 else
14451 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14455 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14458 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14459 then
14460 cat >>confdefs.h <<_ACEOF
14461 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14462 _ACEOF
14464 else
14465 cat >>confdefs.h <<_ACEOF
14466 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14467 _ACEOF
14471 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14474 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14478 case $build_os in
14479 cygwin*|mingw32*) TOOLSEXT=".exe"
14481 esac
14483 case $host_os in
14484 linux*)
14485 case $host_cpu in
14486 *i[3456789]86*|x86_64*)
14487 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14488 loader_programs="$loader_programs $wine_binary-preloader"
14489 as_fn_append LOADER_RULES "
14490 $wine_binary-preloader: preloader.o
14491 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14493 install install-lib:: $wine_binary-preloader
14494 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14496 uninstall::
14497 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14499 preloader_EXTRADEFS = $BUILTINFLAG
14500 " ;;
14501 esac
14503 esac
14504 as_fn_append LOADER_RULES "
14505 PROGRAMS = $loader_programs
14509 ac_save_CFLAGS="$CFLAGS"
14510 CFLAGS="$CFLAGS $BUILTINFLAG"
14511 for ac_func in \
14512 __res_get_state \
14513 __res_getservers \
14514 _finite \
14515 _isnan \
14516 _pclose \
14517 _popen \
14518 _snprintf \
14519 _spawnvp \
14520 _strdup \
14521 _stricmp \
14522 _strnicmp \
14523 _strtoi64 \
14524 _strtoui64 \
14525 _vsnprintf \
14526 asctime_r \
14527 chsize \
14528 dlopen \
14529 epoll_create \
14530 ffs \
14531 fnmatch \
14532 fork \
14533 fpclass \
14534 fstatfs \
14535 fstatvfs \
14536 ftruncate \
14537 futimens \
14538 futimes \
14539 futimesat \
14540 getattrlist \
14541 getdirentries \
14542 getopt_long_only \
14543 getpwuid \
14544 gettimeofday \
14545 getuid \
14546 if_nameindex \
14547 kqueue \
14548 lstat \
14549 memmove \
14550 mmap \
14551 pclose \
14552 pipe2 \
14553 poll \
14554 popen \
14555 port_create \
14556 prctl \
14557 pread \
14558 proc_pidinfo \
14559 pwrite \
14560 readdir \
14561 readlink \
14562 sched_yield \
14563 select \
14564 setproctitle \
14565 setrlimit \
14566 settimeofday \
14567 sigaltstack \
14568 sigprocmask \
14569 snprintf \
14570 statfs \
14571 statvfs \
14572 strcasecmp \
14573 strdup \
14574 strerror \
14575 strncasecmp \
14576 strtold \
14577 strtoll \
14578 strtoull \
14579 symlink \
14580 tcdrain \
14581 thr_kill2 \
14582 timegm \
14583 usleep \
14584 vsnprintf
14586 do :
14587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14590 cat >>confdefs.h <<_ACEOF
14591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14592 _ACEOF
14595 done
14597 CFLAGS="$ac_save_CFLAGS"
14599 if test "$ac_cv_func_dlopen" = no
14600 then
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14602 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14603 if ${ac_cv_lib_dl_dlopen+:} false; then :
14604 $as_echo_n "(cached) " >&6
14605 else
14606 ac_check_lib_save_LIBS=$LIBS
14607 LIBS="-ldl $LIBS"
14608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609 /* end confdefs.h. */
14611 /* Override any GCC internal prototype to avoid an error.
14612 Use char because int might match the return type of a GCC
14613 builtin and then its argument prototype would still apply. */
14614 #ifdef __cplusplus
14615 extern "C"
14616 #endif
14617 char dlopen ();
14619 main ()
14621 return dlopen ();
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_link "$LINENO"; then :
14627 ac_cv_lib_dl_dlopen=yes
14628 else
14629 ac_cv_lib_dl_dlopen=no
14631 rm -f core conftest.err conftest.$ac_objext \
14632 conftest$ac_exeext conftest.$ac_ext
14633 LIBS=$ac_check_lib_save_LIBS
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14636 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14637 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14638 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14639 DL_LIBS="-ldl"
14644 ac_wine_check_funcs_save_LIBS="$LIBS"
14645 LIBS="$LIBS $DL_LIBS"
14646 for ac_func in dladdr
14647 do :
14648 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14649 if test "x$ac_cv_func_dladdr" = xyes; then :
14650 cat >>confdefs.h <<_ACEOF
14651 #define HAVE_DLADDR 1
14652 _ACEOF
14655 done
14657 LIBS="$ac_wine_check_funcs_save_LIBS"
14659 if test "$ac_cv_func_poll" = no
14660 then
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14662 $as_echo_n "checking for poll in -lpoll... " >&6; }
14663 if ${ac_cv_lib_poll_poll+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_check_lib_save_LIBS=$LIBS
14667 LIBS="-lpoll $LIBS"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14671 /* Override any GCC internal prototype to avoid an error.
14672 Use char because int might match the return type of a GCC
14673 builtin and then its argument prototype would still apply. */
14674 #ifdef __cplusplus
14675 extern "C"
14676 #endif
14677 char poll ();
14679 main ()
14681 return poll ();
14683 return 0;
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_lib_poll_poll=yes
14688 else
14689 ac_cv_lib_poll_poll=no
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14693 LIBS=$ac_check_lib_save_LIBS
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14696 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14697 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14698 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14699 POLL_LIBS="-lpoll"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14706 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14707 if ${ac_cv_search_gethostbyname+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_func_search_save_LIBS=$LIBS
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 #endif
14720 char gethostbyname ();
14722 main ()
14724 return gethostbyname ();
14726 return 0;
14728 _ACEOF
14729 for ac_lib in '' nsl; do
14730 if test -z "$ac_lib"; then
14731 ac_res="none required"
14732 else
14733 ac_res=-l$ac_lib
14734 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_search_gethostbyname=$ac_res
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext
14741 if ${ac_cv_search_gethostbyname+:} false; then :
14742 break
14744 done
14745 if ${ac_cv_search_gethostbyname+:} false; then :
14747 else
14748 ac_cv_search_gethostbyname=no
14750 rm conftest.$ac_ext
14751 LIBS=$ac_func_search_save_LIBS
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14754 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14755 ac_res=$ac_cv_search_gethostbyname
14756 if test "$ac_res" != no; then :
14757 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14763 $as_echo_n "checking for library containing connect... " >&6; }
14764 if ${ac_cv_search_connect+:} false; then :
14765 $as_echo_n "(cached) " >&6
14766 else
14767 ac_func_search_save_LIBS=$LIBS
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14771 /* Override any GCC internal prototype to avoid an error.
14772 Use char because int might match the return type of a GCC
14773 builtin and then its argument prototype would still apply. */
14774 #ifdef __cplusplus
14775 extern "C"
14776 #endif
14777 char connect ();
14779 main ()
14781 return connect ();
14783 return 0;
14785 _ACEOF
14786 for ac_lib in '' socket; do
14787 if test -z "$ac_lib"; then
14788 ac_res="none required"
14789 else
14790 ac_res=-l$ac_lib
14791 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_search_connect=$ac_res
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext
14798 if ${ac_cv_search_connect+:} false; then :
14799 break
14801 done
14802 if ${ac_cv_search_connect+:} false; then :
14804 else
14805 ac_cv_search_connect=no
14807 rm conftest.$ac_ext
14808 LIBS=$ac_func_search_save_LIBS
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14811 $as_echo "$ac_cv_search_connect" >&6; }
14812 ac_res=$ac_cv_search_connect
14813 if test "$ac_res" != no; then :
14814 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14820 $as_echo_n "checking for library containing inet_aton... " >&6; }
14821 if ${ac_cv_search_inet_aton+:} false; then :
14822 $as_echo_n "(cached) " >&6
14823 else
14824 ac_func_search_save_LIBS=$LIBS
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14831 #ifdef __cplusplus
14832 extern "C"
14833 #endif
14834 char inet_aton ();
14836 main ()
14838 return inet_aton ();
14840 return 0;
14842 _ACEOF
14843 for ac_lib in '' resolv; do
14844 if test -z "$ac_lib"; then
14845 ac_res="none required"
14846 else
14847 ac_res=-l$ac_lib
14848 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14850 if ac_fn_c_try_link "$LINENO"; then :
14851 ac_cv_search_inet_aton=$ac_res
14853 rm -f core conftest.err conftest.$ac_objext \
14854 conftest$ac_exeext
14855 if ${ac_cv_search_inet_aton+:} false; then :
14856 break
14858 done
14859 if ${ac_cv_search_inet_aton+:} false; then :
14861 else
14862 ac_cv_search_inet_aton=no
14864 rm conftest.$ac_ext
14865 LIBS=$ac_func_search_save_LIBS
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14868 $as_echo "$ac_cv_search_inet_aton" >&6; }
14869 ac_res=$ac_cv_search_inet_aton
14870 if test "$ac_res" != no; then :
14871 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14876 for ac_func in \
14877 getaddrinfo \
14878 getnameinfo \
14879 getnetbyname \
14880 getprotobyname \
14881 getprotobynumber \
14882 getservbyport \
14883 inet_addr \
14884 inet_network \
14885 inet_ntop \
14886 inet_pton \
14887 sendmsg \
14888 socketpair \
14890 do :
14891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14894 cat >>confdefs.h <<_ACEOF
14895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14896 _ACEOF
14899 done
14902 ac_save_LIBS=$LIBS
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14904 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14905 if ${ac_cv_search_clock_gettime+:} false; then :
14906 $as_echo_n "(cached) " >&6
14907 else
14908 ac_func_search_save_LIBS=$LIBS
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14912 /* Override any GCC internal prototype to avoid an error.
14913 Use char because int might match the return type of a GCC
14914 builtin and then its argument prototype would still apply. */
14915 #ifdef __cplusplus
14916 extern "C"
14917 #endif
14918 char clock_gettime ();
14920 main ()
14922 return clock_gettime ();
14924 return 0;
14926 _ACEOF
14927 for ac_lib in '' rt; do
14928 if test -z "$ac_lib"; then
14929 ac_res="none required"
14930 else
14931 ac_res=-l$ac_lib
14932 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_search_clock_gettime=$ac_res
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext
14939 if ${ac_cv_search_clock_gettime+:} false; then :
14940 break
14942 done
14943 if ${ac_cv_search_clock_gettime+:} false; then :
14945 else
14946 ac_cv_search_clock_gettime=no
14948 rm conftest.$ac_ext
14949 LIBS=$ac_func_search_save_LIBS
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14952 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14953 ac_res=$ac_cv_search_clock_gettime
14954 if test "$ac_res" != no; then :
14955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14957 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14959 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14963 LIBS=$ac_save_LIBS
14965 LDAP_LIBS=""
14967 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14968 then
14969 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14971 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14973 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14974 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_check_lib_save_LIBS=$LIBS
14978 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14982 /* Override any GCC internal prototype to avoid an error.
14983 Use char because int might match the return type of a GCC
14984 builtin and then its argument prototype would still apply. */
14985 #ifdef __cplusplus
14986 extern "C"
14987 #endif
14988 char ldap_initialize ();
14990 main ()
14992 return ldap_initialize ();
14994 return 0;
14996 _ACEOF
14997 if ac_fn_c_try_link "$LINENO"; then :
14998 ac_cv_lib_ldap_r_ldap_initialize=yes
14999 else
15000 ac_cv_lib_ldap_r_ldap_initialize=no
15002 rm -f core conftest.err conftest.$ac_objext \
15003 conftest$ac_exeext conftest.$ac_ext
15004 LIBS=$ac_check_lib_save_LIBS
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15007 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15008 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15010 $as_echo_n "checking for ber_init in -llber... " >&6; }
15011 if ${ac_cv_lib_lber_ber_init+:} false; then :
15012 $as_echo_n "(cached) " >&6
15013 else
15014 ac_check_lib_save_LIBS=$LIBS
15015 LIBS="-llber $PTHREAD_LIBS $LIBS"
15016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017 /* end confdefs.h. */
15019 /* Override any GCC internal prototype to avoid an error.
15020 Use char because int might match the return type of a GCC
15021 builtin and then its argument prototype would still apply. */
15022 #ifdef __cplusplus
15023 extern "C"
15024 #endif
15025 char ber_init ();
15027 main ()
15029 return ber_init ();
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_lib_lber_ber_init=yes
15036 else
15037 ac_cv_lib_lber_ber_init=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 LIBS=$ac_check_lib_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15044 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15045 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15047 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15049 LDAP_LIBS="-lldap_r -llber"
15056 ac_wine_check_funcs_save_LIBS="$LIBS"
15057 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15058 for ac_func in \
15059 ldap_count_references \
15060 ldap_first_reference \
15061 ldap_next_reference \
15062 ldap_parse_reference \
15063 ldap_parse_sort_control \
15064 ldap_parse_sortresponse_control \
15065 ldap_parse_vlv_control \
15066 ldap_parse_vlvresponse_control
15067 do :
15068 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15069 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15070 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15071 cat >>confdefs.h <<_ACEOF
15072 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15073 _ACEOF
15076 done
15078 LIBS="$ac_wine_check_funcs_save_LIBS"
15080 if test "x$LDAP_LIBS" = "x"; then :
15081 case "x$with_ldap" in
15082 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15083 xno) ;;
15084 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15085 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15086 esac
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15090 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15091 if ${wine_cv_one_arg_mkdir+:} false; then :
15092 $as_echo_n "(cached) " >&6
15093 else
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 #include <sys/stat.h>
15098 main ()
15100 mkdir("foo");
15102 return 0;
15104 _ACEOF
15105 if ac_fn_c_try_compile "$LINENO"; then :
15106 wine_cv_one_arg_mkdir=yes
15107 else
15108 wine_cv_one_arg_mkdir=no
15110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15113 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15114 if test "$wine_cv_one_arg_mkdir" = "yes"
15115 then
15117 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15122 $as_echo_n "checking for sched_setaffinity... " >&6; }
15123 if ${wine_cv_have_sched_setaffinity+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #define _GNU_SOURCE
15129 #include <sched.h>
15131 main ()
15133 sched_setaffinity(0, 0, 0);
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 wine_cv_have_sched_setaffinity=yes
15140 else
15141 wine_cv_have_sched_setaffinity=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15147 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15148 if test "$wine_cv_have_sched_setaffinity" = "yes"
15149 then
15151 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15156 $as_echo_n "checking for fallocate... " >&6; }
15157 if ${wine_cv_have_fallocate+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15162 #define _GNU_SOURCE
15163 #include <fcntl.h>
15165 main ()
15167 fallocate(-1, 0, 0, 0);
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_link "$LINENO"; then :
15173 wine_cv_have_fallocate=yes
15174 else
15175 wine_cv_have_fallocate=no
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15181 $as_echo "$wine_cv_have_fallocate" >&6; }
15182 if test "$wine_cv_have_fallocate" = "yes"
15183 then
15185 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15191 $as_echo_n "checking for inline... " >&6; }
15192 if ${ac_cv_c_inline+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 ac_cv_c_inline=no
15196 for ac_kw in inline __inline__ __inline; do
15197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198 /* end confdefs.h. */
15199 #ifndef __cplusplus
15200 typedef int foo_t;
15201 static $ac_kw foo_t static_foo () {return 0; }
15202 $ac_kw foo_t foo () {return 0; }
15203 #endif
15205 _ACEOF
15206 if ac_fn_c_try_compile "$LINENO"; then :
15207 ac_cv_c_inline=$ac_kw
15209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15210 test "$ac_cv_c_inline" != no && break
15211 done
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15215 $as_echo "$ac_cv_c_inline" >&6; }
15217 case $ac_cv_c_inline in
15218 inline | yes) ;;
15220 case $ac_cv_c_inline in
15221 no) ac_val=;;
15222 *) ac_val=$ac_cv_c_inline;;
15223 esac
15224 cat >>confdefs.h <<_ACEOF
15225 #ifndef __cplusplus
15226 #define inline $ac_val
15227 #endif
15228 _ACEOF
15230 esac
15232 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15233 if test "x$ac_cv_type_mode_t" = xyes; then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define HAVE_MODE_T 1
15237 _ACEOF
15241 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15242 if test "x$ac_cv_type_off_t" = xyes; then :
15244 cat >>confdefs.h <<_ACEOF
15245 #define HAVE_OFF_T 1
15246 _ACEOF
15250 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15251 if test "x$ac_cv_type_pid_t" = xyes; then :
15253 cat >>confdefs.h <<_ACEOF
15254 #define HAVE_PID_T 1
15255 _ACEOF
15259 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15260 if test "x$ac_cv_type_size_t" = xyes; then :
15262 cat >>confdefs.h <<_ACEOF
15263 #define HAVE_SIZE_T 1
15264 _ACEOF
15268 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15269 if test "x$ac_cv_type_ssize_t" = xyes; then :
15271 cat >>confdefs.h <<_ACEOF
15272 #define HAVE_SSIZE_T 1
15273 _ACEOF
15277 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15278 if test "x$ac_cv_type_long_long" = xyes; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define HAVE_LONG_LONG 1
15282 _ACEOF
15286 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15287 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define HAVE_FSBLKCNT_T 1
15291 _ACEOF
15295 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15296 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define HAVE_FSFILCNT_T 1
15300 _ACEOF
15305 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15306 #include <signal.h>
15308 if test "x$ac_cv_type_sigset_t" = xyes; then :
15310 cat >>confdefs.h <<_ACEOF
15311 #define HAVE_SIGSET_T 1
15312 _ACEOF
15317 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15319 if test "x$ac_cv_type_request_sense" = xyes; then :
15321 cat >>confdefs.h <<_ACEOF
15322 #define HAVE_REQUEST_SENSE 1
15323 _ACEOF
15329 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15330 #ifdef HAVE_SYS_SOCKET_H
15331 #include <sys/socket.h>
15332 #endif
15333 #ifdef HAVE_SYS_SOCKETVAR_H
15334 #include <sys/socketvar.h>
15335 #endif
15336 #ifdef HAVE_NET_ROUTE_H
15337 #include <net/route.h>
15338 #endif
15339 #ifdef HAVE_NETINET_IN_H
15340 #include <netinet/in.h>
15341 #endif
15342 #ifdef HAVE_NETINET_IN_SYSTM_H
15343 #include <netinet/in_systm.h>
15344 #endif
15345 #ifdef HAVE_NETINET_IP_H
15346 #include <netinet/ip.h>
15347 #endif
15348 #ifdef HAVE_NETINET_IN_PCB_H
15349 #include <netinet/in_pcb.h>
15350 #endif
15352 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15354 cat >>confdefs.h <<_ACEOF
15355 #define HAVE_STRUCT_XINPGEN 1
15356 _ACEOF
15362 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15363 #include <link.h>
15364 #endif
15365 #ifdef HAVE_SYS_LINK_H
15366 #include <sys/link.h>
15367 #endif
15369 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15371 cat >>confdefs.h <<_ACEOF
15372 #define HAVE_STRUCT_R_DEBUG 1
15373 _ACEOF
15377 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15378 #include <link.h>
15379 #endif
15380 #ifdef HAVE_SYS_LINK_H
15381 #include <sys/link.h>
15382 #endif
15384 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define HAVE_STRUCT_LINK_MAP 1
15388 _ACEOF
15394 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15395 #include <linux/input.h>
15396 #endif
15398 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15400 cat >>confdefs.h <<_ACEOF
15401 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15402 _ACEOF
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15409 $as_echo_n "checking for sigaddset... " >&6; }
15410 if ${wine_cv_have_sigaddset+:} false; then :
15411 $as_echo_n "(cached) " >&6
15412 else
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 #include <signal.h>
15417 main ()
15419 sigset_t set; sigaddset(&set,SIGTERM);
15421 return 0;
15423 _ACEOF
15424 if ac_fn_c_try_link "$LINENO"; then :
15425 wine_cv_have_sigaddset=yes
15426 else
15427 wine_cv_have_sigaddset=no
15429 rm -f core conftest.err conftest.$ac_objext \
15430 conftest$ac_exeext conftest.$ac_ext
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15433 $as_echo "$wine_cv_have_sigaddset" >&6; }
15434 if test "$wine_cv_have_sigaddset" = "yes"
15435 then
15437 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15443 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15444 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <netdb.h>
15451 main ()
15454 char *name=0;
15455 struct hostent he;
15456 struct hostent *result;
15457 char *buf=0;
15458 int bufsize=0;
15459 int errnr;
15460 char *addr=0;
15461 int addrlen=0;
15462 int addrtype=0;
15463 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15464 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15467 return 0;
15469 _ACEOF
15470 if ac_fn_c_try_link "$LINENO"; then :
15471 wine_cv_linux_gethostbyname_r_6=yes
15472 else
15473 wine_cv_linux_gethostbyname_r_6=no
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15481 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15482 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15483 then
15485 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15489 if test "$ac_cv_header_linux_joystick_h" = "yes"
15490 then
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15492 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15493 if ${wine_cv_linux_joystick_22_api+:} false; then :
15494 $as_echo_n "(cached) " >&6
15495 else
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15499 #include <sys/ioctl.h>
15500 #include <sys/types.h>
15501 #include <linux/joystick.h>
15503 struct js_event blub;
15504 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15505 #error "no 2.2 header"
15506 #endif
15509 main ()
15511 /*empty*/
15513 return 0;
15515 _ACEOF
15516 if ac_fn_c_try_compile "$LINENO"; then :
15517 wine_cv_linux_joystick_22_api=yes
15518 else
15519 wine_cv_linux_joystick_22_api=no
15521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15525 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15526 if test "$wine_cv_linux_joystick_22_api" = "yes"
15527 then
15529 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15535 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_PARAM_H
15537 # include <sys/param.h>
15538 #endif
15539 #ifdef HAVE_SYS_MOUNT_H
15540 # include <sys/mount.h>
15541 #endif
15542 #ifdef HAVE_SYS_VFS_H
15543 # include <sys/vfs.h>
15544 #endif
15545 #ifdef HAVE_SYS_STATFS_H
15546 # include <sys/statfs.h>
15547 #endif
15549 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_STRUCT_STATFS_F_BFREE 1
15553 _ACEOF
15557 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15558 #ifdef HAVE_SYS_PARAM_H
15559 # include <sys/param.h>
15560 #endif
15561 #ifdef HAVE_SYS_MOUNT_H
15562 # include <sys/mount.h>
15563 #endif
15564 #ifdef HAVE_SYS_VFS_H
15565 # include <sys/vfs.h>
15566 #endif
15567 #ifdef HAVE_SYS_STATFS_H
15568 # include <sys/statfs.h>
15569 #endif
15571 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15575 _ACEOF
15579 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15580 #ifdef HAVE_SYS_PARAM_H
15581 # include <sys/param.h>
15582 #endif
15583 #ifdef HAVE_SYS_MOUNT_H
15584 # include <sys/mount.h>
15585 #endif
15586 #ifdef HAVE_SYS_VFS_H
15587 # include <sys/vfs.h>
15588 #endif
15589 #ifdef HAVE_SYS_STATFS_H
15590 # include <sys/statfs.h>
15591 #endif
15593 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15597 _ACEOF
15601 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15602 #ifdef HAVE_SYS_PARAM_H
15603 # include <sys/param.h>
15604 #endif
15605 #ifdef HAVE_SYS_MOUNT_H
15606 # include <sys/mount.h>
15607 #endif
15608 #ifdef HAVE_SYS_VFS_H
15609 # include <sys/vfs.h>
15610 #endif
15611 #ifdef HAVE_SYS_STATFS_H
15612 # include <sys/statfs.h>
15613 #endif
15615 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_STRUCT_STATFS_F_FFREE 1
15619 _ACEOF
15623 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15624 #ifdef HAVE_SYS_PARAM_H
15625 # include <sys/param.h>
15626 #endif
15627 #ifdef HAVE_SYS_MOUNT_H
15628 # include <sys/mount.h>
15629 #endif
15630 #ifdef HAVE_SYS_VFS_H
15631 # include <sys/vfs.h>
15632 #endif
15633 #ifdef HAVE_SYS_STATFS_H
15634 # include <sys/statfs.h>
15635 #endif
15637 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15639 cat >>confdefs.h <<_ACEOF
15640 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15641 _ACEOF
15645 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15646 #ifdef HAVE_SYS_PARAM_H
15647 # include <sys/param.h>
15648 #endif
15649 #ifdef HAVE_SYS_MOUNT_H
15650 # include <sys/mount.h>
15651 #endif
15652 #ifdef HAVE_SYS_VFS_H
15653 # include <sys/vfs.h>
15654 #endif
15655 #ifdef HAVE_SYS_STATFS_H
15656 # include <sys/statfs.h>
15657 #endif
15659 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15663 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15670 #include <sys/statvfs.h>
15671 #endif
15673 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15677 _ACEOF
15683 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15684 #include <dirent.h>
15685 #endif
15687 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15689 cat >>confdefs.h <<_ACEOF
15690 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15691 _ACEOF
15697 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15698 #ifdef HAVE_SYS_SOCKET_H
15699 # include <sys/socket.h>
15700 #endif
15701 #ifdef HAVE_SYS_UN_H
15702 # include <sys/un.h>
15703 #endif
15705 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15707 cat >>confdefs.h <<_ACEOF
15708 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15709 _ACEOF
15713 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15714 #ifdef HAVE_SYS_SOCKET_H
15715 # include <sys/socket.h>
15716 #endif
15717 #ifdef HAVE_SYS_UN_H
15718 # include <sys/un.h>
15719 #endif
15721 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15725 _ACEOF
15729 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15730 #ifdef HAVE_SYS_SOCKET_H
15731 # include <sys/socket.h>
15732 #endif
15733 #ifdef HAVE_SYS_UN_H
15734 # include <sys/un.h>
15735 #endif
15737 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15741 _ACEOF
15747 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15748 #ifdef HAVE_SCSI_SG_H
15749 #include <scsi/sg.h>
15750 #endif
15752 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_SCSIREQ_T_CMD 1
15756 _ACEOF
15760 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>
15761 #ifdef HAVE_SCSI_SG_H
15762 #include <scsi/sg.h>
15763 #endif
15765 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15769 _ACEOF
15775 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15777 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_SIGINFO_T_SI_FD 1
15781 _ACEOF
15787 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15788 #ifdef HAVE_SYS_MTIO_H
15789 #include <sys/mtio.h>
15790 #endif
15792 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15796 _ACEOF
15800 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15801 #ifdef HAVE_SYS_MTIO_H
15802 #include <sys/mtio.h>
15803 #endif
15805 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15809 _ACEOF
15813 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15814 #ifdef HAVE_SYS_MTIO_H
15815 #include <sys/mtio.h>
15816 #endif
15818 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15822 _ACEOF
15828 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15829 #include <getopt.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_OPTION_NAME 1
15836 _ACEOF
15842 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15843 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15847 _ACEOF
15851 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15852 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_STAT_ST_MTIM 1
15856 _ACEOF
15860 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15861 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15863 cat >>confdefs.h <<_ACEOF
15864 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15865 _ACEOF
15869 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15870 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_STRUCT_STAT_ST_CTIM 1
15874 _ACEOF
15878 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15879 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15883 _ACEOF
15887 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15888 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15890 cat >>confdefs.h <<_ACEOF
15891 #define HAVE_STRUCT_STAT_ST_ATIM 1
15892 _ACEOF
15896 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15897 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15899 cat >>confdefs.h <<_ACEOF
15900 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15901 _ACEOF
15905 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15906 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15910 _ACEOF
15914 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15915 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15919 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15924 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15928 _ACEOF
15932 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15933 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15935 cat >>confdefs.h <<_ACEOF
15936 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15937 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15942 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15946 _ACEOF
15952 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
15953 #include <sys/types.h>
15954 #endif
15955 #ifdef HAVE_NETINET_IN_H
15956 #include <netinet/in.h>
15957 #endif
15959 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15963 _ACEOF
15969 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15970 #include <resolv.h>
15971 #endif
15973 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT___RES_STATE 1
15977 _ACEOF
15983 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
15984 #include <resolv.h>
15985 #endif
15987 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15991 _ACEOF
15997 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15998 #include <sys/types.h>
15999 #endif
16000 #ifdef HAVE_NETINET_IN_H
16001 # include <netinet/in.h>
16002 #endif
16003 #ifdef HAVE_ARPA_NAMESER_H
16004 # include <arpa/nameser.h>
16005 #endif
16007 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_NS_MSG__MSG_PTR 1
16011 _ACEOF
16017 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16018 #include <sys/types.h>
16019 #endif
16020 #ifdef HAVE_NETINET_IP_H
16021 #include <netinet/ip.h>
16022 #endif
16023 #ifdef HAVE_NETINET_IP_ICMP_H
16024 #include <netinet/ip_icmp.h>
16025 #endif
16026 #ifdef HAVE_NETINET_ICMP_VAR_H
16027 #include <netinet/icmp_var.h>
16028 #endif
16030 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16032 cat >>confdefs.h <<_ACEOF
16033 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16034 _ACEOF
16040 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16041 #include <sys/types.h>
16042 #endif
16043 #ifdef HAVE_ALIAS_H
16044 #include <alias.h>
16045 #endif
16046 #ifdef HAVE_SYS_SOCKET_H
16047 #include <sys/socket.h>
16048 #endif
16049 #ifdef HAVE_SYS_SOCKETVAR_H
16050 #include <sys/socketvar.h>
16051 #endif
16052 #ifdef HAVE_SYS_TIMEOUT_H
16053 #include <sys/timeout.h>
16054 #endif
16055 #ifdef HAVE_NETINET_IN_H
16056 #include <netinet/in.h>
16057 #endif
16058 #ifdef HAVE_NETINET_IN_SYSTM_H
16059 #include <netinet/in_systm.h>
16060 #endif
16061 #ifdef HAVE_NETINET_IP_H
16062 #include <netinet/ip.h>
16063 #endif
16064 #ifdef HAVE_NETINET_IP_VAR_H
16065 #include <netinet/ip_var.h>
16066 #endif
16067 #ifdef HAVE_NETINET_IP_ICMP_H
16068 #include <netinet/ip_icmp.h>
16069 #endif
16070 #ifdef HAVE_NETINET_ICMP_VAR_H
16071 #include <netinet/icmp_var.h>
16072 #endif
16074 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16078 _ACEOF
16084 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16085 #include <sys/types.h>
16086 #endif
16087 #ifdef HAVE_SYS_SOCKETVAR_H
16088 #include <sys/socketvar.h>
16089 #endif
16090 #ifdef HAVE_NETINET_IN_H
16091 #include <netinet/in.h>
16092 #endif
16093 #ifdef HAVE_NETINET_IP_VAR_H
16094 #include <netinet/ip_var.h>
16095 #endif
16097 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16101 _ACEOF
16107 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
16108 #include <netinet/ip_var.h>
16109 #endif
16111 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16115 _ACEOF
16121 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16122 #include <sys/types.h>
16123 #endif
16124 #ifdef HAVE_SYS_SOCKETVAR_H
16125 #include <sys/socketvar.h>
16126 #endif
16127 #ifdef HAVE_NETINET_IN_H
16128 #include <netinet/in.h>
16129 #endif
16130 #ifdef HAVE_NETINET_TCP_H
16131 #include <netinet/tcp.h>
16132 #endif
16133 #ifdef HAVE_NETINET_TCP_VAR_H
16134 #include <netinet/tcp_var.h>
16135 #endif
16137 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16141 _ACEOF
16147 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
16148 #include <netinet/tcp_var.h>
16149 #endif
16151 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16153 cat >>confdefs.h <<_ACEOF
16154 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16155 _ACEOF
16161 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16162 #include <sys/types.h>
16163 #endif
16164 #ifdef HAVE_NETINET_IN_H
16165 #include <netinet/in.h>
16166 #endif
16167 #ifdef HAVE_NETINET_IP_VAR_H
16168 #include <netinet/ip_var.h>
16169 #endif
16170 #ifdef HAVE_NETINET_UDP_H
16171 #include <netinet/udp.h>
16172 #endif
16173 #ifdef HAVE_NETINET_UDP_VAR_H
16174 #include <netinet/udp_var.h>
16175 #endif
16177 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16181 _ACEOF
16187 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16188 #include <sys/types.h>
16189 #endif
16190 #ifdef HAVE_NET_IF_H
16191 # include <net/if.h>
16192 #endif
16194 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16198 _ACEOF
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16205 $as_echo_n "checking for timezone variable... " >&6; }
16206 if ${ac_cv_have_timezone+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16211 #include <time.h>
16213 main ()
16215 timezone = 1
16217 return 0;
16219 _ACEOF
16220 if ac_fn_c_try_link "$LINENO"; then :
16221 ac_cv_have_timezone="yes"
16222 else
16223 ac_cv_have_timezone="no"
16225 rm -f core conftest.err conftest.$ac_objext \
16226 conftest$ac_exeext conftest.$ac_ext
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16229 $as_echo "$ac_cv_have_timezone" >&6; }
16230 if test "$ac_cv_have_timezone" = "yes"
16231 then
16233 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16237 $as_echo_n "checking for daylight variable... " >&6; }
16238 if ${ac_cv_have_daylight+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 #include <time.h>
16245 main ()
16247 daylight = 1
16249 return 0;
16251 _ACEOF
16252 if ac_fn_c_try_link "$LINENO"; then :
16253 ac_cv_have_daylight="yes"
16254 else
16255 ac_cv_have_daylight="no"
16257 rm -f core conftest.err conftest.$ac_objext \
16258 conftest$ac_exeext conftest.$ac_ext
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16261 $as_echo "$ac_cv_have_daylight" >&6; }
16262 if test "$ac_cv_have_daylight" = "yes"
16263 then
16265 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16269 ac_save_LIBS="$LIBS"
16270 LIBS="$LIBS -lm"
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16272 $as_echo_n "checking for isfinite... " >&6; }
16273 if ${ac_cv_have_isfinite+:} false; then :
16274 $as_echo_n "(cached) " >&6
16275 else
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16278 #define _GNU_SOURCE
16279 #include <math.h>
16281 main ()
16283 float f = 0.0; return isfinite(f)
16285 return 0;
16287 _ACEOF
16288 if ac_fn_c_try_link "$LINENO"; then :
16289 ac_cv_have_isfinite="yes"
16290 else
16291 ac_cv_have_isfinite="no"
16293 rm -f core conftest.err conftest.$ac_objext \
16294 conftest$ac_exeext conftest.$ac_ext
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16297 $as_echo "$ac_cv_have_isfinite" >&6; }
16298 if test "$ac_cv_have_isfinite" = "yes"
16299 then
16301 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16305 ac_save_LIBS="$LIBS"
16306 LIBS="$LIBS -lm"
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16308 $as_echo_n "checking for isinf... " >&6; }
16309 if ${ac_cv_have_isinf+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16314 #include <math.h>
16316 main ()
16318 float f = 0.0; return isinf(f)
16320 return 0;
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"; then :
16324 ac_cv_have_isinf="yes"
16325 else
16326 ac_cv_have_isinf="no"
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16332 $as_echo "$ac_cv_have_isinf" >&6; }
16333 if test "$ac_cv_have_isinf" = "yes"
16334 then
16336 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16341 $as_echo_n "checking for isnan... " >&6; }
16342 if ${ac_cv_have_isnan+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <math.h>
16349 main ()
16351 float f = 0.0; return isnan(f)
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_link "$LINENO"; then :
16357 ac_cv_have_isnan="yes"
16358 else
16359 ac_cv_have_isnan="no"
16361 rm -f core conftest.err conftest.$ac_objext \
16362 conftest$ac_exeext conftest.$ac_ext
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16365 $as_echo "$ac_cv_have_isnan" >&6; }
16366 if test "$ac_cv_have_isnan" = "yes"
16367 then
16369 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16372 LIBS="$ac_save_LIBS"
16375 case $host_cpu in
16376 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16377 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16378 if ${ac_cv_cpp_def___i386__+:} false; then :
16379 $as_echo_n "(cached) " >&6
16380 else
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16383 #ifndef __i386__
16385 #endif
16386 _ACEOF
16387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16388 $EGREP "yes" >/dev/null 2>&1; then :
16389 ac_cv_cpp_def___i386__=yes
16390 else
16391 ac_cv_cpp_def___i386__=no
16393 rm -f conftest*
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16397 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16398 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16399 CFLAGS="$CFLAGS -D__i386__"
16400 LINTFLAGS="$LINTFLAGS -D__i386__"
16401 fi ;;
16402 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16403 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16404 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16405 $as_echo_n "(cached) " >&6
16406 else
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16409 #ifndef __x86_64__
16411 #endif
16412 _ACEOF
16413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16414 $EGREP "yes" >/dev/null 2>&1; then :
16415 ac_cv_cpp_def___x86_64__=yes
16416 else
16417 ac_cv_cpp_def___x86_64__=no
16419 rm -f conftest*
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16423 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16424 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16425 CFLAGS="$CFLAGS -D__x86_64__"
16426 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16427 fi ;;
16428 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16429 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16430 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16431 $as_echo_n "(cached) " >&6
16432 else
16433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16434 /* end confdefs.h. */
16435 #ifndef __sparc64__
16437 #endif
16438 _ACEOF
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "yes" >/dev/null 2>&1; then :
16441 ac_cv_cpp_def___sparc64__=yes
16442 else
16443 ac_cv_cpp_def___sparc64__=no
16445 rm -f conftest*
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16449 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16450 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16451 CFLAGS="$CFLAGS -D__sparc64__"
16452 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16453 fi ;;
16454 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16455 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16456 if ${ac_cv_cpp_def___sparc__+:} false; then :
16457 $as_echo_n "(cached) " >&6
16458 else
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #ifndef __sparc__
16463 #endif
16464 _ACEOF
16465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16466 $EGREP "yes" >/dev/null 2>&1; then :
16467 ac_cv_cpp_def___sparc__=yes
16468 else
16469 ac_cv_cpp_def___sparc__=no
16471 rm -f conftest*
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16475 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16476 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16477 CFLAGS="$CFLAGS -D__sparc__"
16478 LINTFLAGS="$LINTFLAGS -D__sparc__"
16479 fi ;;
16480 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16481 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16482 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16483 $as_echo_n "(cached) " >&6
16484 else
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #ifndef __powerpc64__
16489 #endif
16490 _ACEOF
16491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 $EGREP "yes" >/dev/null 2>&1; then :
16493 ac_cv_cpp_def___powerpc64__=yes
16494 else
16495 ac_cv_cpp_def___powerpc64__=no
16497 rm -f conftest*
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16501 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16502 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16503 CFLAGS="$CFLAGS -D__powerpc64__"
16504 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16505 fi ;;
16506 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16507 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16508 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #ifndef __powerpc__
16515 #endif
16516 _ACEOF
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "yes" >/dev/null 2>&1; then :
16519 ac_cv_cpp_def___powerpc__=yes
16520 else
16521 ac_cv_cpp_def___powerpc__=no
16523 rm -f conftest*
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16527 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16528 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16529 CFLAGS="$CFLAGS -D__powerpc__"
16530 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16531 fi ;;
16532 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16533 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16534 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #ifndef __aarch64__
16541 #endif
16542 _ACEOF
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 $EGREP "yes" >/dev/null 2>&1; then :
16545 ac_cv_cpp_def___aarch64__=yes
16546 else
16547 ac_cv_cpp_def___aarch64__=no
16549 rm -f conftest*
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16553 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16554 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16555 CFLAGS="$CFLAGS -D__aarch64__"
16556 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16557 fi ;;
16558 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16559 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16560 if ${ac_cv_cpp_def___arm__+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16565 #ifndef __arm__
16567 #endif
16568 _ACEOF
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "yes" >/dev/null 2>&1; then :
16571 ac_cv_cpp_def___arm__=yes
16572 else
16573 ac_cv_cpp_def___arm__=no
16575 rm -f conftest*
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16579 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16580 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16581 CFLAGS="$CFLAGS -D__arm__"
16582 LINTFLAGS="$LINTFLAGS -D__arm__"
16583 fi ;;
16584 esac
16586 case $host_vendor in
16587 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16588 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16589 if ${ac_cv_cpp_def___sun__+:} false; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16594 #ifndef __sun__
16596 #endif
16597 _ACEOF
16598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16599 $EGREP "yes" >/dev/null 2>&1; then :
16600 ac_cv_cpp_def___sun__=yes
16601 else
16602 ac_cv_cpp_def___sun__=no
16604 rm -f conftest*
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16608 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16609 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16610 CFLAGS="$CFLAGS -D__sun__"
16611 LINTFLAGS="$LINTFLAGS -D__sun__"
16612 fi ;;
16613 esac
16619 ac_config_commands="$ac_config_commands include/stamp-h"
16621 $as_echo_n "creating Makefile rules..." >&6
16623 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16624 SOCKET_LIBS = $SOCKET_LIBS
16625 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16626 IOKIT_LIBS = $IOKIT_LIBS
16627 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16628 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16629 CORESERVICES_LIBS = $CORESERVICES_LIBS
16630 APPKIT_LIBS = $APPKIT_LIBS
16631 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16632 SECURITY_LIBS = $SECURITY_LIBS
16633 COREAUDIO_LIBS = $COREAUDIO_LIBS
16634 OPENAL_LIBS = $OPENAL_LIBS
16635 OPENCL_LIBS = $OPENCL_LIBS
16636 QUICKTIME_LIBS = $QUICKTIME_LIBS
16637 CARBON_LIBS = $CARBON_LIBS
16638 PTHREAD_LIBS = $PTHREAD_LIBS
16639 X_CFLAGS = $X_CFLAGS
16640 X_PRE_LIBS = $X_PRE_LIBS
16641 X_LIBS = $X_LIBS
16642 X_EXTRA_LIBS = $X_EXTRA_LIBS
16643 XML2_CFLAGS = $XML2_CFLAGS
16644 XML2_LIBS = $XML2_LIBS
16645 XSLT_CFLAGS = $XSLT_CFLAGS
16646 XSLT_LIBS = $XSLT_LIBS
16647 DBUS_CFLAGS = $DBUS_CFLAGS
16648 DBUS_LIBS = $DBUS_LIBS
16649 HAL_CFLAGS = $HAL_CFLAGS
16650 HAL_LIBS = $HAL_LIBS
16651 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16652 GNUTLS_LIBS = $GNUTLS_LIBS
16653 SANE_CFLAGS = $SANE_CFLAGS
16654 SANE_LIBS = $SANE_LIBS
16655 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16656 GPHOTO2_LIBS = $GPHOTO2_LIBS
16657 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16658 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16659 RESOLV_LIBS = $RESOLV_LIBS
16660 LCMS2_CFLAGS = $LCMS2_CFLAGS
16661 LCMS2_LIBS = $LCMS2_LIBS
16662 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16663 FREETYPE_LIBS = $FREETYPE_LIBS
16664 Z_LIBS = $Z_LIBS
16665 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16666 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16667 GSTREAMER_LIBS = $GSTREAMER_LIBS
16668 ALSA_LIBS = $ALSA_LIBS
16669 OSS4_CFLAGS = $OSS4_CFLAGS
16670 CAPI20_CFLAGS = $CAPI20_CFLAGS
16671 CAPI20_LIBS = $CAPI20_LIBS
16672 CUPS_CFLAGS = $CUPS_CFLAGS
16673 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16674 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16675 JPEG_CFLAGS = $JPEG_CFLAGS
16676 JPEG_LIBS = $JPEG_LIBS
16677 PNG_CFLAGS = $PNG_CFLAGS
16678 PNG_LIBS = $PNG_LIBS
16679 TIFF_CFLAGS = $TIFF_CFLAGS
16680 TIFF_LIBS = $TIFF_LIBS
16681 MPG123_CFLAGS = $MPG123_CFLAGS
16682 MPG123_LIBS = $MPG123_LIBS
16683 KSTAT_LIBS = $KSTAT_LIBS
16684 PROCSTAT_LIBS = $PROCSTAT_LIBS
16685 DL_LIBS = $DL_LIBS
16686 POLL_LIBS = $POLL_LIBS
16687 RT_LIBS = $RT_LIBS
16688 LDAP_LIBS = $LDAP_LIBS
16693 wine_fn_append_rule "
16694 # Rules automatically generated by configure
16696 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16698 .INIT: Makefile
16699 .MAKEFILEDEPS:
16700 all: Makefile
16701 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16702 @./config.status Make.tmp Makefile"
16704 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16705 .gitignore: config.status
16706 @./config.status .gitignore"
16708 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16709 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16711 if test "x$enable_fonts" != xno; then
16712 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16713 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16714 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16715 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16716 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16718 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16719 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16720 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16721 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16722 ac_config_links="$ac_config_links wine:tools/winewrapper"
16723 wine_fn_config_symlink wine
16724 if test "x$enable_win64" != xno; then
16725 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16726 wine_fn_config_symlink wine64
16729 wine_fn_config_dll acledit enable_acledit
16730 wine_fn_config_dll aclui enable_aclui implib
16731 wine_fn_config_dll activeds enable_activeds implib
16732 wine_fn_config_dll actxprxy enable_actxprxy clean
16733 wine_fn_config_lib adsiid
16734 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16735 wine_fn_config_test dlls/advapi32/tests advapi32_test
16736 wine_fn_config_dll advpack enable_advpack implib
16737 wine_fn_config_test dlls/advpack/tests advpack_test
16738 wine_fn_config_dll amstream enable_amstream clean
16739 wine_fn_config_test dlls/amstream/tests amstream_test
16740 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16741 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16742 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16743 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16744 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16745 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16746 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16747 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16748 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16749 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16750 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16751 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16752 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16753 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16754 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16755 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16756 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16757 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16758 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16759 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16760 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16761 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16764 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16767 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16768 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16769 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16774 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16783 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16784 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16785 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16786 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16787 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16788 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16789 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16790 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16791 wine_fn_config_dll apphelp enable_apphelp
16792 wine_fn_config_test dlls/apphelp/tests apphelp_test
16793 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16794 wine_fn_config_dll atl enable_atl clean,implib
16795 wine_fn_config_test dlls/atl/tests atl_test
16796 wine_fn_config_dll atl100 enable_atl100 clean,implib
16797 wine_fn_config_test dlls/atl100/tests atl100_test
16798 wine_fn_config_dll atl110 enable_atl110 clean
16799 wine_fn_config_dll atl80 enable_atl80 clean,implib
16800 wine_fn_config_test dlls/atl80/tests atl80_test
16801 wine_fn_config_dll atl90 enable_atl90 clean
16802 wine_fn_config_dll authz enable_authz
16803 wine_fn_config_dll avicap32 enable_avicap32 implib
16804 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16805 wine_fn_config_test dlls/avifil32/tests avifil32_test
16806 wine_fn_config_dll avifile.dll16 enable_win16
16807 wine_fn_config_dll avrt enable_avrt implib
16808 wine_fn_config_dll bcrypt enable_bcrypt
16809 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16810 wine_fn_config_dll browseui enable_browseui clean,po
16811 wine_fn_config_test dlls/browseui/tests browseui_test
16812 wine_fn_config_dll cabinet enable_cabinet implib
16813 wine_fn_config_test dlls/cabinet/tests cabinet_test
16814 wine_fn_config_dll capi2032 enable_capi2032 implib
16815 wine_fn_config_dll cards enable_cards implib
16816 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16817 wine_fn_config_dll clusapi enable_clusapi implib
16818 wine_fn_config_dll comcat enable_comcat
16819 wine_fn_config_test dlls/comcat/tests comcat_test
16820 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16821 wine_fn_config_test dlls/comctl32/tests comctl32_test
16822 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16823 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16824 wine_fn_config_dll comm.drv16 enable_win16
16825 wine_fn_config_dll commdlg.dll16 enable_win16
16826 wine_fn_config_dll compobj.dll16 enable_win16
16827 wine_fn_config_dll compstui enable_compstui implib
16828 wine_fn_config_dll comsvcs enable_comsvcs implib
16829 wine_fn_config_dll credui enable_credui implib,po
16830 wine_fn_config_test dlls/credui/tests credui_test
16831 wine_fn_config_dll crtdll enable_crtdll implib
16832 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16833 wine_fn_config_test dlls/crypt32/tests crypt32_test
16834 wine_fn_config_dll cryptdlg enable_cryptdlg po
16835 wine_fn_config_dll cryptdll enable_cryptdll implib
16836 wine_fn_config_dll cryptnet enable_cryptnet implib
16837 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16838 wine_fn_config_dll cryptui enable_cryptui implib,po
16839 wine_fn_config_test dlls/cryptui/tests cryptui_test
16840 wine_fn_config_dll ctapi32 enable_ctapi32
16841 wine_fn_config_dll ctl3d.dll16 enable_win16
16842 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16843 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16844 wine_fn_config_dll d2d1 enable_d2d1 implib
16845 wine_fn_config_test dlls/d2d1/tests d2d1_test
16846 wine_fn_config_dll d3d10 enable_d3d10 implib
16847 wine_fn_config_test dlls/d3d10/tests d3d10_test
16848 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16849 wine_fn_config_dll d3d10core enable_d3d10core implib
16850 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16851 wine_fn_config_dll d3d11 enable_d3d11
16852 wine_fn_config_dll d3d8 enable_d3d8 implib
16853 wine_fn_config_test dlls/d3d8/tests d3d8_test
16854 wine_fn_config_dll d3d9 enable_d3d9 implib
16855 wine_fn_config_test dlls/d3d9/tests d3d9_test
16856 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16857 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16858 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16859 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16860 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16861 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16862 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16863 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16864 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16865 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16866 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16867 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16868 wine_fn_config_dll d3dim enable_d3dim implib
16869 wine_fn_config_dll d3drm enable_d3drm implib
16870 wine_fn_config_test dlls/d3drm/tests d3drm_test
16871 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16872 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16873 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16874 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16875 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16876 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16877 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16878 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16879 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16880 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16881 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16882 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16883 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16884 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16885 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16886 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16887 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16888 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16889 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16890 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16891 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16892 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16893 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16894 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16895 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16896 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16897 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16898 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16899 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16900 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16901 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16902 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16903 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16904 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16905 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16906 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16907 wine_fn_config_dll dbgeng enable_dbgeng implib
16908 wine_fn_config_dll dbghelp enable_dbghelp implib
16909 wine_fn_config_dll dciman32 enable_dciman32 implib
16910 wine_fn_config_dll ddeml.dll16 enable_win16
16911 wine_fn_config_dll ddraw enable_ddraw clean,implib
16912 wine_fn_config_test dlls/ddraw/tests ddraw_test
16913 wine_fn_config_dll ddrawex enable_ddrawex clean
16914 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16915 wine_fn_config_dll devenum enable_devenum clean,po
16916 wine_fn_config_test dlls/devenum/tests devenum_test
16917 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16918 wine_fn_config_dll difxapi enable_difxapi
16919 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16920 wine_fn_config_test dlls/dinput/tests dinput_test
16921 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16922 wine_fn_config_test dlls/dinput8/tests dinput8_test
16923 wine_fn_config_dll dispdib.dll16 enable_win16
16924 wine_fn_config_dll dispex enable_dispex clean
16925 wine_fn_config_test dlls/dispex/tests dispex_test
16926 wine_fn_config_dll display.drv16 enable_win16
16927 wine_fn_config_dll dmband enable_dmband clean
16928 wine_fn_config_test dlls/dmband/tests dmband_test
16929 wine_fn_config_dll dmcompos enable_dmcompos clean
16930 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16931 wine_fn_config_dll dmime enable_dmime clean
16932 wine_fn_config_test dlls/dmime/tests dmime_test
16933 wine_fn_config_dll dmloader enable_dmloader clean
16934 wine_fn_config_test dlls/dmloader/tests dmloader_test
16935 wine_fn_config_dll dmscript enable_dmscript clean
16936 wine_fn_config_test dlls/dmscript/tests dmscript_test
16937 wine_fn_config_dll dmstyle enable_dmstyle clean
16938 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16939 wine_fn_config_dll dmsynth enable_dmsynth clean
16940 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16941 wine_fn_config_dll dmusic enable_dmusic clean
16942 wine_fn_config_test dlls/dmusic/tests dmusic_test
16943 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16944 wine_fn_config_dll dnsapi enable_dnsapi implib
16945 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16946 wine_fn_config_dll dplay enable_dplay implib
16947 wine_fn_config_dll dplayx enable_dplayx clean,implib
16948 wine_fn_config_test dlls/dplayx/tests dplayx_test
16949 wine_fn_config_dll dpnaddr enable_dpnaddr
16950 wine_fn_config_dll dpnet enable_dpnet clean,implib
16951 wine_fn_config_test dlls/dpnet/tests dpnet_test
16952 wine_fn_config_dll dpnhpast enable_dpnhpast
16953 wine_fn_config_dll dpnlobby enable_dpnlobby
16954 wine_fn_config_dll dpvoice enable_dpvoice clean
16955 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16956 wine_fn_config_dll dpwsockx enable_dpwsockx
16957 wine_fn_config_dll drmclien enable_drmclien
16958 wine_fn_config_dll dsound enable_dsound clean,implib
16959 wine_fn_config_test dlls/dsound/tests dsound_test
16960 wine_fn_config_dll dssenh enable_dssenh
16961 wine_fn_config_test dlls/dssenh/tests dssenh_test
16962 wine_fn_config_dll dswave enable_dswave clean
16963 wine_fn_config_test dlls/dswave/tests dswave_test
16964 wine_fn_config_dll dwmapi enable_dwmapi implib
16965 wine_fn_config_dll dwrite enable_dwrite implib
16966 wine_fn_config_test dlls/dwrite/tests dwrite_test
16967 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16968 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16969 wine_fn_config_lib dxerr8
16970 wine_fn_config_lib dxerr9
16971 wine_fn_config_dll dxgi enable_dxgi implib
16972 wine_fn_config_test dlls/dxgi/tests dxgi_test
16973 wine_fn_config_lib dxguid
16974 wine_fn_config_dll dxva2 enable_dxva2
16975 wine_fn_config_dll explorerframe enable_explorerframe clean
16976 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16977 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16978 wine_fn_config_dll faultrep enable_faultrep implib
16979 wine_fn_config_test dlls/faultrep/tests faultrep_test
16980 wine_fn_config_dll fltlib enable_fltlib
16981 wine_fn_config_dll fntcache enable_fntcache
16982 wine_fn_config_dll fontsub enable_fontsub
16983 wine_fn_config_dll fusion enable_fusion
16984 wine_fn_config_test dlls/fusion/tests fusion_test
16985 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16986 wine_fn_config_dll gameux enable_gameux clean
16987 wine_fn_config_test dlls/gameux/tests gameux_test
16988 wine_fn_config_dll gdi.exe16 enable_win16
16989 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16990 wine_fn_config_test dlls/gdi32/tests gdi32_test
16991 wine_fn_config_dll gdiplus enable_gdiplus implib
16992 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16993 wine_fn_config_dll glu32 enable_glu32 implib
16994 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16995 wine_fn_config_dll gpkcsp enable_gpkcsp
16996 wine_fn_config_dll hal enable_hal
16997 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16998 wine_fn_config_dll hid enable_hid implib
16999 wine_fn_config_dll hlink enable_hlink clean,implib
17000 wine_fn_config_test dlls/hlink/tests hlink_test
17001 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17002 wine_fn_config_dll httpapi enable_httpapi
17003 wine_fn_config_dll iccvid enable_iccvid po
17004 wine_fn_config_dll icmp enable_icmp
17005 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17006 wine_fn_config_test dlls/ieframe/tests ieframe_test
17007 wine_fn_config_dll ifsmgr.vxd enable_win16
17008 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17009 wine_fn_config_dll imagehlp enable_imagehlp implib
17010 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17011 wine_fn_config_dll imm.dll16 enable_win16
17012 wine_fn_config_dll imm32 enable_imm32 implib
17013 wine_fn_config_test dlls/imm32/tests imm32_test
17014 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17015 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17016 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17017 wine_fn_config_dll inetmib1 enable_inetmib1
17018 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17019 wine_fn_config_dll infosoft enable_infosoft clean
17020 wine_fn_config_test dlls/infosoft/tests infosoft_test
17021 wine_fn_config_dll initpki enable_initpki
17022 wine_fn_config_dll inkobj enable_inkobj
17023 wine_fn_config_dll inseng enable_inseng clean
17024 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17025 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17026 wine_fn_config_dll itircl enable_itircl
17027 wine_fn_config_dll itss enable_itss clean
17028 wine_fn_config_test dlls/itss/tests itss_test
17029 wine_fn_config_dll joy.cpl enable_joy_cpl po
17030 wine_fn_config_dll jscript enable_jscript clean,po
17031 wine_fn_config_test dlls/jscript/tests jscript_test
17032 wine_fn_config_dll jsproxy enable_jsproxy implib
17033 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17034 wine_fn_config_test dlls/kernel32/tests kernel32_test
17035 wine_fn_config_dll keyboard.drv16 enable_win16
17036 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17037 wine_fn_config_dll ktmw32 enable_ktmw32
17038 wine_fn_config_dll loadperf enable_loadperf implib
17039 wine_fn_config_dll localspl enable_localspl po
17040 wine_fn_config_test dlls/localspl/tests localspl_test
17041 wine_fn_config_dll localui enable_localui po
17042 wine_fn_config_test dlls/localui/tests localui_test
17043 wine_fn_config_dll lz32 enable_lz32 implib
17044 wine_fn_config_test dlls/lz32/tests lz32_test
17045 wine_fn_config_dll lzexpand.dll16 enable_win16
17046 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17047 wine_fn_config_test dlls/mapi32/tests mapi32_test
17048 wine_fn_config_dll mapistub enable_mapistub
17049 wine_fn_config_dll mciavi32 enable_mciavi32
17050 wine_fn_config_dll mcicda enable_mcicda
17051 wine_fn_config_dll mciqtz32 enable_mciqtz32
17052 wine_fn_config_dll mciseq enable_mciseq
17053 wine_fn_config_dll mciwave enable_mciwave
17054 wine_fn_config_dll mgmtapi enable_mgmtapi
17055 wine_fn_config_dll midimap enable_midimap
17056 wine_fn_config_dll mlang enable_mlang clean,implib
17057 wine_fn_config_test dlls/mlang/tests mlang_test
17058 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17059 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17060 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17061 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17062 wine_fn_config_dll mmdevldr.vxd enable_win16
17063 wine_fn_config_dll mmsystem.dll16 enable_win16
17064 wine_fn_config_dll monodebg.vxd enable_win16
17065 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17066 wine_fn_config_dll mouse.drv16 enable_win16
17067 wine_fn_config_dll mpr enable_mpr implib,po
17068 wine_fn_config_test dlls/mpr/tests mpr_test
17069 wine_fn_config_dll mprapi enable_mprapi implib
17070 wine_fn_config_dll msacm.dll16 enable_win16
17071 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17072 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17073 wine_fn_config_test dlls/msacm32/tests msacm32_test
17074 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17075 wine_fn_config_dll msasn1 enable_msasn1 implib
17076 wine_fn_config_dll mscat32 enable_mscat32
17077 wine_fn_config_dll mscms enable_mscms implib
17078 wine_fn_config_test dlls/mscms/tests mscms_test
17079 wine_fn_config_dll mscoree enable_mscoree clean
17080 wine_fn_config_test dlls/mscoree/tests mscoree_test
17081 wine_fn_config_dll msctf enable_msctf clean
17082 wine_fn_config_test dlls/msctf/tests msctf_test
17083 wine_fn_config_dll msdaps enable_msdaps clean
17084 wine_fn_config_dll msdmo enable_msdmo implib
17085 wine_fn_config_dll msftedit enable_msftedit
17086 wine_fn_config_dll msg711.acm enable_msg711_acm
17087 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17088 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17089 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17090 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17091 wine_fn_config_dll msi enable_msi clean,implib,po
17092 wine_fn_config_test dlls/msi/tests msi_test
17093 wine_fn_config_dll msident enable_msident clean
17094 wine_fn_config_dll msimg32 enable_msimg32 implib
17095 wine_fn_config_dll msimsg enable_msimsg
17096 wine_fn_config_dll msimtf enable_msimtf clean
17097 wine_fn_config_dll msisip enable_msisip
17098 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17099 wine_fn_config_dll msls31 enable_msls31
17100 wine_fn_config_dll msnet32 enable_msnet32
17101 wine_fn_config_dll mspatcha enable_mspatcha
17102 wine_fn_config_dll msrle32 enable_msrle32 po
17103 wine_fn_config_test dlls/msrle32/tests msrle32_test
17104 wine_fn_config_dll mssign32 enable_mssign32
17105 wine_fn_config_dll mssip32 enable_mssip32
17106 wine_fn_config_dll mstask enable_mstask clean
17107 wine_fn_config_test dlls/mstask/tests mstask_test
17108 wine_fn_config_dll msvcirt enable_msvcirt
17109 wine_fn_config_dll msvcm80 enable_msvcm80
17110 wine_fn_config_dll msvcm90 enable_msvcm90
17111 wine_fn_config_dll msvcp100 enable_msvcp100
17112 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17113 wine_fn_config_dll msvcp110 enable_msvcp110
17114 wine_fn_config_dll msvcp60 enable_msvcp60
17115 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17116 wine_fn_config_dll msvcp70 enable_msvcp70
17117 wine_fn_config_dll msvcp71 enable_msvcp71
17118 wine_fn_config_dll msvcp80 enable_msvcp80
17119 wine_fn_config_dll msvcp90 enable_msvcp90
17120 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17121 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17122 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17123 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17124 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17125 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17126 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17127 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17128 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17129 wine_fn_config_dll msvcrt enable_msvcrt implib
17130 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17131 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17132 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17133 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17134 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17135 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17136 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17137 wine_fn_config_dll msvidc32 enable_msvidc32 po
17138 wine_fn_config_dll msvideo.dll16 enable_win16
17139 wine_fn_config_dll mswsock enable_mswsock implib
17140 wine_fn_config_dll msxml enable_msxml clean
17141 wine_fn_config_dll msxml2 enable_msxml2 clean
17142 wine_fn_config_dll msxml3 enable_msxml3 clean
17143 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17144 wine_fn_config_dll msxml4 enable_msxml4 clean
17145 wine_fn_config_dll msxml6 enable_msxml6 clean
17146 wine_fn_config_dll nddeapi enable_nddeapi implib
17147 wine_fn_config_dll netapi32 enable_netapi32 implib
17148 wine_fn_config_test dlls/netapi32/tests netapi32_test
17149 wine_fn_config_dll netcfgx enable_netcfgx clean
17150 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17151 wine_fn_config_dll netprofm enable_netprofm clean
17152 wine_fn_config_test dlls/netprofm/tests netprofm_test
17153 wine_fn_config_dll newdev enable_newdev implib
17154 wine_fn_config_dll normaliz enable_normaliz implib
17155 wine_fn_config_dll npmshtml enable_npmshtml
17156 wine_fn_config_dll npptools enable_npptools
17157 wine_fn_config_dll ntdll enable_ntdll implib
17158 wine_fn_config_test dlls/ntdll/tests ntdll_test
17159 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17160 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17161 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17162 wine_fn_config_dll ntprint enable_ntprint
17163 wine_fn_config_test dlls/ntprint/tests ntprint_test
17164 wine_fn_config_dll objsel enable_objsel clean
17165 wine_fn_config_dll odbc32 enable_odbc32 implib
17166 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17167 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17168 wine_fn_config_dll odbccu32 enable_odbccu32
17169 wine_fn_config_dll ole2.dll16 enable_win16
17170 wine_fn_config_dll ole2conv.dll16 enable_win16
17171 wine_fn_config_dll ole2disp.dll16 enable_win16
17172 wine_fn_config_dll ole2nls.dll16 enable_win16
17173 wine_fn_config_dll ole2prox.dll16 enable_win16
17174 wine_fn_config_dll ole2thk.dll16 enable_win16
17175 wine_fn_config_dll ole32 enable_ole32 clean,implib
17176 wine_fn_config_test dlls/ole32/tests ole32_test
17177 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17178 wine_fn_config_test dlls/oleacc/tests oleacc_test
17179 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17180 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17181 wine_fn_config_dll olecli.dll16 enable_win16
17182 wine_fn_config_dll olecli32 enable_olecli32 implib
17183 wine_fn_config_dll oledb32 enable_oledb32 clean
17184 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17185 wine_fn_config_dll oledlg enable_oledlg implib,po
17186 wine_fn_config_dll olepro32 enable_olepro32 implib
17187 wine_fn_config_dll olesvr.dll16 enable_win16
17188 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17189 wine_fn_config_dll olethk32 enable_olethk32
17190 wine_fn_config_dll openal32 enable_openal32
17191 wine_fn_config_dll opencl enable_opencl
17192 wine_fn_config_dll opengl32 enable_opengl32 implib
17193 wine_fn_config_test dlls/opengl32/tests opengl32_test
17194 wine_fn_config_dll packager enable_packager clean
17195 wine_fn_config_test dlls/packager/tests packager_test
17196 wine_fn_config_dll pdh enable_pdh implib
17197 wine_fn_config_test dlls/pdh/tests pdh_test
17198 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17199 wine_fn_config_dll pidgen enable_pidgen
17200 wine_fn_config_dll powrprof enable_powrprof implib
17201 wine_fn_config_dll printui enable_printui
17202 wine_fn_config_dll propsys enable_propsys clean,implib
17203 wine_fn_config_test dlls/propsys/tests propsys_test
17204 wine_fn_config_dll psapi enable_psapi implib
17205 wine_fn_config_test dlls/psapi/tests psapi_test
17206 wine_fn_config_dll pstorec enable_pstorec clean
17207 wine_fn_config_dll qcap enable_qcap
17208 wine_fn_config_test dlls/qcap/tests qcap_test
17209 wine_fn_config_dll qedit enable_qedit clean
17210 wine_fn_config_test dlls/qedit/tests qedit_test
17211 wine_fn_config_dll qmgr enable_qmgr clean
17212 wine_fn_config_test dlls/qmgr/tests qmgr_test
17213 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17214 wine_fn_config_dll quartz enable_quartz clean,implib
17215 wine_fn_config_test dlls/quartz/tests quartz_test clean
17216 wine_fn_config_dll query enable_query
17217 wine_fn_config_dll rasapi16.dll16 enable_win16
17218 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17219 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17220 wine_fn_config_dll rasdlg enable_rasdlg implib
17221 wine_fn_config_dll regapi enable_regapi
17222 wine_fn_config_dll resutils enable_resutils implib
17223 wine_fn_config_dll riched20 enable_riched20 implib
17224 wine_fn_config_test dlls/riched20/tests riched20_test
17225 wine_fn_config_dll riched32 enable_riched32
17226 wine_fn_config_test dlls/riched32/tests riched32_test
17227 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17228 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17229 wine_fn_config_dll rsabase enable_rsabase
17230 wine_fn_config_dll rsaenh enable_rsaenh implib
17231 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17232 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17233 wine_fn_config_dll rtutils enable_rtutils implib
17234 wine_fn_config_dll samlib enable_samlib
17235 wine_fn_config_dll sane.ds enable_sane_ds po
17236 wine_fn_config_dll scarddlg enable_scarddlg
17237 wine_fn_config_dll sccbase enable_sccbase
17238 wine_fn_config_dll schannel enable_schannel
17239 wine_fn_config_test dlls/schannel/tests schannel_test
17240 wine_fn_config_dll schedsvc enable_schedsvc clean
17241 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17242 wine_fn_config_dll scrrun enable_scrrun clean
17243 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17244 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17245 wine_fn_config_dll secur32 enable_secur32 implib
17246 wine_fn_config_test dlls/secur32/tests secur32_test
17247 wine_fn_config_dll security enable_security
17248 wine_fn_config_dll sensapi enable_sensapi implib
17249 wine_fn_config_dll serialui enable_serialui implib,po
17250 wine_fn_config_test dlls/serialui/tests serialui_test
17251 wine_fn_config_dll setupapi enable_setupapi implib,po
17252 wine_fn_config_test dlls/setupapi/tests setupapi_test
17253 wine_fn_config_dll setupx.dll16 enable_win16
17254 wine_fn_config_dll sfc enable_sfc implib
17255 wine_fn_config_dll sfc_os enable_sfc_os implib
17256 wine_fn_config_dll shdoclc enable_shdoclc po
17257 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17258 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17259 wine_fn_config_dll shell.dll16 enable_win16
17260 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17261 wine_fn_config_test dlls/shell32/tests shell32_test
17262 wine_fn_config_dll shfolder enable_shfolder implib
17263 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17264 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17265 wine_fn_config_dll slbcsp enable_slbcsp
17266 wine_fn_config_dll slc enable_slc implib
17267 wine_fn_config_dll snmpapi enable_snmpapi implib
17268 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17269 wine_fn_config_dll softpub enable_softpub
17270 wine_fn_config_dll sound.drv16 enable_win16
17271 wine_fn_config_dll spoolss enable_spoolss implib
17272 wine_fn_config_test dlls/spoolss/tests spoolss_test
17273 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17274 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17275 wine_fn_config_dll sti enable_sti clean,implib
17276 wine_fn_config_test dlls/sti/tests sti_test
17277 wine_fn_config_dll storage.dll16 enable_win16
17278 wine_fn_config_dll stress.dll16 enable_win16
17279 wine_fn_config_lib strmbase
17280 wine_fn_config_lib strmiids
17281 wine_fn_config_dll svrapi enable_svrapi
17282 wine_fn_config_dll sxs enable_sxs implib
17283 wine_fn_config_test dlls/sxs/tests sxs_test
17284 wine_fn_config_dll system.drv16 enable_win16
17285 wine_fn_config_dll t2embed enable_t2embed
17286 wine_fn_config_dll tapi32 enable_tapi32 implib
17287 wine_fn_config_dll taskschd enable_taskschd clean
17288 wine_fn_config_test dlls/taskschd/tests taskschd_test
17289 wine_fn_config_dll toolhelp.dll16 enable_win16
17290 wine_fn_config_dll traffic enable_traffic
17291 wine_fn_config_dll twain.dll16 enable_win16
17292 wine_fn_config_dll twain_32 enable_twain_32
17293 wine_fn_config_test dlls/twain_32/tests twain_32_test
17294 wine_fn_config_dll typelib.dll16 enable_win16
17295 wine_fn_config_dll unicows enable_unicows implib
17296 wine_fn_config_dll updspapi enable_updspapi
17297 wine_fn_config_dll url enable_url implib
17298 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17299 wine_fn_config_test dlls/urlmon/tests urlmon_test
17300 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17301 wine_fn_config_dll user.exe16 enable_win16
17302 wine_fn_config_dll user32 enable_user32 clean,implib,po
17303 wine_fn_config_test dlls/user32/tests user32_test
17304 wine_fn_config_dll userenv enable_userenv implib
17305 wine_fn_config_test dlls/userenv/tests userenv_test
17306 wine_fn_config_dll usp10 enable_usp10 implib
17307 wine_fn_config_test dlls/usp10/tests usp10_test
17308 wine_fn_config_lib uuid
17309 wine_fn_config_dll uxtheme enable_uxtheme implib
17310 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17311 wine_fn_config_dll vbscript enable_vbscript clean
17312 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17313 wine_fn_config_dll vcomp enable_vcomp
17314 wine_fn_config_dll vcomp100 enable_vcomp100
17315 wine_fn_config_dll vcomp90 enable_vcomp90
17316 wine_fn_config_dll vdhcp.vxd enable_win16
17317 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17318 wine_fn_config_dll ver.dll16 enable_win16
17319 wine_fn_config_dll version enable_version implib
17320 wine_fn_config_test dlls/version/tests version_test
17321 wine_fn_config_dll vmm.vxd enable_win16
17322 wine_fn_config_dll vnbt.vxd enable_win16
17323 wine_fn_config_dll vnetbios.vxd enable_win16
17324 wine_fn_config_dll vtdapi.vxd enable_win16
17325 wine_fn_config_dll vwin32.vxd enable_win16
17326 wine_fn_config_dll w32skrnl enable_win16
17327 wine_fn_config_dll w32sys.dll16 enable_win16
17328 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17329 wine_fn_config_dll wbemprox enable_wbemprox clean
17330 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17331 wine_fn_config_dll webservices enable_webservices implib
17332 wine_fn_config_dll wer enable_wer implib
17333 wine_fn_config_test dlls/wer/tests wer_test
17334 wine_fn_config_dll wevtapi enable_wevtapi
17335 wine_fn_config_dll wiaservc enable_wiaservc clean
17336 wine_fn_config_dll win32s16.dll16 enable_win16
17337 wine_fn_config_dll win87em.dll16 enable_win16
17338 wine_fn_config_dll winaspi.dll16 enable_win16
17339 wine_fn_config_dll windebug.dll16 enable_win16
17340 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17341 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17342 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17343 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17344 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17345 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17346 wine_fn_config_lib winecrt0
17347 wine_fn_config_dll wined3d enable_wined3d implib
17348 wine_fn_config_dll winegstreamer enable_winegstreamer
17349 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17350 wine_fn_config_dll winemac.drv enable_winemac_drv
17351 wine_fn_config_dll winemapi enable_winemapi
17352 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17353 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17354 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17355 wine_fn_config_dll wineps16.drv16 enable_win16
17356 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17357 wine_fn_config_dll winex11.drv enable_winex11_drv
17358 wine_fn_config_dll wing.dll16 enable_win16
17359 wine_fn_config_dll wing32 enable_wing32
17360 wine_fn_config_dll winhttp enable_winhttp clean,implib
17361 wine_fn_config_test dlls/winhttp/tests winhttp_test
17362 wine_fn_config_dll wininet enable_wininet implib,po
17363 wine_fn_config_test dlls/wininet/tests wininet_test
17364 wine_fn_config_dll winmm enable_winmm implib,po
17365 wine_fn_config_test dlls/winmm/tests winmm_test
17366 wine_fn_config_dll winnls.dll16 enable_win16
17367 wine_fn_config_dll winnls32 enable_winnls32 implib
17368 wine_fn_config_dll winscard enable_winscard implib
17369 wine_fn_config_dll winsock.dll16 enable_win16
17370 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17371 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17372 wine_fn_config_dll winsta enable_winsta
17373 wine_fn_config_dll wintab.dll16 enable_win16
17374 wine_fn_config_dll wintab32 enable_wintab32 implib
17375 wine_fn_config_test dlls/wintab32/tests wintab32_test
17376 wine_fn_config_dll wintrust enable_wintrust implib
17377 wine_fn_config_test dlls/wintrust/tests wintrust_test
17378 wine_fn_config_dll wlanapi enable_wlanapi
17379 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17380 wine_fn_config_test dlls/wldap32/tests wldap32_test
17381 wine_fn_config_dll wmi enable_wmi
17382 wine_fn_config_dll wmiutils enable_wmiutils clean
17383 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17384 wine_fn_config_dll wmp enable_wmp clean
17385 wine_fn_config_test dlls/wmp/tests wmp_test
17386 wine_fn_config_dll wmvcore enable_wmvcore
17387 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17388 wine_fn_config_dll wow32 enable_win16 implib
17389 wine_fn_config_dll wpcap enable_wpcap
17390 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17391 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17392 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17393 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17394 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17395 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17396 wine_fn_config_dll wsock32 enable_wsock32 implib
17397 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17398 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17399 wine_fn_config_dll wuapi enable_wuapi clean
17400 wine_fn_config_dll wuaueng enable_wuaueng
17401 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17402 wine_fn_config_dll xinput1_1 enable_xinput1_1
17403 wine_fn_config_dll xinput1_2 enable_xinput1_2
17404 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17405 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17406 wine_fn_config_dll xinput1_4 enable_xinput1_4
17407 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17408 wine_fn_config_dll xmllite enable_xmllite implib
17409 wine_fn_config_test dlls/xmllite/tests xmllite_test
17410 wine_fn_config_dll xolehlp enable_xolehlp
17411 wine_fn_config_dll xpsprint enable_xpsprint
17412 wine_fn_config_dll xpssvcs enable_xpssvcs
17413 wine_fn_config_makefile documentation enable_documentation clean
17414 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17415 wine_fn_config_makefile include enable_include clean,install-dev
17416 wine_fn_config_makefile libs/port enable_libs_port
17417 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17418 wine_fn_config_makefile libs/wpp enable_libs_wpp
17419 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17420 wine_fn_config_program arp enable_arp install
17421 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17422 wine_fn_config_program attrib enable_attrib install,po
17423 wine_fn_config_program cabarc enable_cabarc install
17424 wine_fn_config_program cacls enable_cacls install
17425 wine_fn_config_program clock enable_clock install,po
17426 wine_fn_config_program cmd enable_cmd install,po
17427 wine_fn_config_test programs/cmd/tests cmd.exe_test
17428 wine_fn_config_program conhost enable_conhost install
17429 wine_fn_config_program control enable_control install
17430 wine_fn_config_program cscript enable_cscript clean,install
17431 wine_fn_config_program dpnsvr enable_dpnsvr install
17432 wine_fn_config_program dxdiag enable_dxdiag install,po
17433 wine_fn_config_program eject enable_eject install
17434 wine_fn_config_program expand enable_expand install
17435 wine_fn_config_program explorer enable_explorer install,po
17436 wine_fn_config_program extrac32 enable_extrac32 install
17437 wine_fn_config_program findstr enable_findstr install
17438 wine_fn_config_program hh enable_hh install
17439 wine_fn_config_program hostname enable_hostname install,po
17440 wine_fn_config_program icinfo enable_icinfo install
17441 wine_fn_config_program iexplore enable_iexplore install
17442 wine_fn_config_program ipconfig enable_ipconfig install,po
17443 wine_fn_config_program lodctr enable_lodctr install
17444 wine_fn_config_program mofcomp enable_mofcomp install
17445 wine_fn_config_program mshta enable_mshta install
17446 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17447 wine_fn_config_program net enable_net install,po
17448 wine_fn_config_program netsh enable_netsh install
17449 wine_fn_config_program netstat enable_netstat install,po
17450 wine_fn_config_program ngen enable_ngen install
17451 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17452 wine_fn_config_program oleview enable_oleview install,po
17453 wine_fn_config_program ping enable_ping install
17454 wine_fn_config_program plugplay enable_plugplay install
17455 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17456 wine_fn_config_program progman enable_progman install,po
17457 wine_fn_config_program reg enable_reg install,po
17458 wine_fn_config_test programs/reg/tests reg.exe_test
17459 wine_fn_config_program regasm enable_regasm install
17460 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17461 wine_fn_config_test programs/regedit/tests regedit.exe_test
17462 wine_fn_config_program regsvcs enable_regsvcs install
17463 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17464 wine_fn_config_program rpcss enable_rpcss clean,install
17465 wine_fn_config_program rundll.exe16 enable_win16 install
17466 wine_fn_config_program rundll32 enable_rundll32 install
17467 wine_fn_config_program sc enable_sc install
17468 wine_fn_config_program schtasks enable_schtasks install
17469 wine_fn_config_program sdbinst enable_sdbinst install
17470 wine_fn_config_program secedit enable_secedit install
17471 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17472 wine_fn_config_program services enable_services clean,install
17473 wine_fn_config_test programs/services/tests services.exe_test
17474 wine_fn_config_program spoolsv enable_spoolsv install
17475 wine_fn_config_program start enable_start install,po
17476 wine_fn_config_program svchost enable_svchost install
17477 wine_fn_config_program taskkill enable_taskkill install,po
17478 wine_fn_config_program tasklist enable_tasklist install
17479 wine_fn_config_program taskmgr enable_taskmgr install,po
17480 wine_fn_config_program termsv enable_termsv install
17481 wine_fn_config_program uninstaller enable_uninstaller install,po
17482 wine_fn_config_program unlodctr enable_unlodctr install
17483 wine_fn_config_program view enable_view install,po
17484 wine_fn_config_program wevtutil enable_wevtutil install
17485 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17486 wine_fn_config_program winebrowser enable_winebrowser install
17487 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17488 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17489 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17490 wine_fn_config_program winedevice enable_winedevice install
17491 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17492 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17493 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17494 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17495 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17496 wine_fn_config_program winetest enable_winetest clean
17497 wine_fn_config_program winevdm enable_win16 install
17498 wine_fn_config_program winhelp.exe16 enable_win16 install
17499 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17500 wine_fn_config_program winoldap.mod16 enable_win16 install
17501 wine_fn_config_program winver enable_winver install
17502 wine_fn_config_program wmic enable_wmic install,po
17503 wine_fn_config_program wordpad enable_wordpad install,po
17504 wine_fn_config_program write enable_write install,po
17505 wine_fn_config_program wscript enable_wscript clean,install
17506 wine_fn_config_test programs/wscript/tests wscript.exe_test
17507 wine_fn_config_program wusa enable_wusa install
17508 wine_fn_config_program xcopy enable_xcopy install,po
17509 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17510 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17511 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17512 wine_fn_config_tool tools/sfnt2fon clean
17513 wine_fn_config_tool tools/widl clean,install-dev,manpage
17514 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17515 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17516 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17517 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17518 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17520 LINGUAS="\
17521 ar \
17522 bg \
17523 ca \
17524 cs \
17525 da \
17526 de \
17527 el \
17528 en \
17529 en_US \
17530 eo \
17531 es \
17532 fa \
17533 fi \
17534 fr \
17535 he \
17536 hi \
17537 hr \
17538 hu \
17539 it \
17540 ja \
17541 ko \
17542 lt \
17543 ml \
17544 nb_NO \
17545 nl \
17546 or \
17547 pa \
17548 pl \
17549 pt_BR \
17550 pt_PT \
17551 rm \
17552 ro \
17553 ru \
17554 sk \
17555 sl \
17556 sr_RS@cyrillic \
17557 sr_RS@latin \
17558 sv \
17559 te \
17560 th \
17561 tr \
17562 uk \
17563 wa \
17564 zh_CN \
17565 zh_TW"
17570 wine_fn_ignore_file ".gitignore"
17571 wine_fn_ignore_file "Makefile"
17572 wine_fn_ignore_file "TAGS"
17573 wine_fn_ignore_file "tags"
17574 wine_fn_ignore_file "autom4te.cache"
17575 wine_fn_ignore_file "config.cache"
17576 wine_fn_ignore_file "config.log"
17577 wine_fn_ignore_file "config.status"
17578 wine_fn_ignore_file "configure.lineno"
17579 wine_fn_ignore_file "include/config.h"
17580 wine_fn_ignore_file "include/stamp-h"
17581 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17583 if test "x$enable_tools" != xno
17584 then
17585 wine_fn_ignore_file "tools/makedep$ac_exeext"
17586 ac_config_commands="$ac_config_commands tools/makedep"
17590 ac_config_commands="$ac_config_commands Makefile"
17593 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17597 if test "x$enable_maintainer_mode" = xyes
17598 then
17599 wine_fn_append_rule "configure: configure.ac aclocal.m4
17600 autoconf --warnings=all
17601 include/config.h.in: include/stamp-h.in
17602 include/stamp-h.in: configure.ac aclocal.m4
17603 autoheader --warnings=all
17604 @echo timestamp > \$@"
17607 if test "x$with_gettextpo" = xyes
17608 then
17609 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17610 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17611 \$(LINGUAS:%=po/%.po): po/wine.pot
17612 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17613 po/wine.pot: \$(ALL_POT_FILES)
17614 msgcat -o \$@ \$(ALL_POT_FILES)"
17617 if test "$MSGFMT" != false
17618 then
17619 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17620 clean::
17621 \$(RM) \$(LINGUAS:%=po/%.mo)"
17623 posrc="po"
17624 test "$srcdir" = . || posrc="$srcdir/po"
17625 for i in $LINGUAS
17627 wine_fn_ignore_file "po/$i.mo"
17628 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17629 \$(MSGFMT) -o \$@ $posrc/$i.po"
17630 done
17631 else
17632 LINGUAS=
17635 if test "x$enable_tools" != xno
17636 then
17637 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17638 @./config.status tools/makedep
17639 Makefile: tools/makedep$ac_exeext
17640 distclean:: clean
17641 \$(RM) tools/makedep$ac_exeext"
17642 else
17643 wine_fn_append_rule "\$(MAKEDEP):
17644 @echo \"You need to run make in $TOOLSDIR first\" && false"
17647 if test -n "$with_wine64"
17648 then
17649 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17650 fonts server tools:
17651 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17652 $with_wine64/loader/wine:
17653 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17654 $with_wine64/loader/wine-preloader:
17655 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17656 clean::
17657 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17658 else
17659 as_fn_append LOADER_RULES "
17660 install install-lib:: wine.inf install-man-pages
17661 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17662 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17664 uninstall::
17665 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17669 if test "$srcdir" = .
17670 then
17671 ac_config_commands="$ac_config_commands .gitignore"
17675 $as_echo " done" >&6
17676 cat >confcache <<\_ACEOF
17677 # This file is a shell script that caches the results of configure
17678 # tests run on this system so they can be shared between configure
17679 # scripts and configure runs, see configure's option --config-cache.
17680 # It is not useful on other systems. If it contains results you don't
17681 # want to keep, you may remove or edit it.
17683 # config.status only pays attention to the cache file if you give it
17684 # the --recheck option to rerun configure.
17686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17688 # following values.
17690 _ACEOF
17692 # The following way of writing the cache mishandles newlines in values,
17693 # but we know of no workaround that is simple, portable, and efficient.
17694 # So, we kill variables containing newlines.
17695 # Ultrix sh set writes to stderr and can't be redirected directly,
17696 # and sets the high bit in the cache file unless we assign to the vars.
17698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17699 eval ac_val=\$$ac_var
17700 case $ac_val in #(
17701 *${as_nl}*)
17702 case $ac_var in #(
17703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17704 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17705 esac
17706 case $ac_var in #(
17707 _ | IFS | as_nl) ;; #(
17708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17709 *) { eval $ac_var=; unset $ac_var;} ;;
17710 esac ;;
17711 esac
17712 done
17714 (set) 2>&1 |
17715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17716 *${as_nl}ac_space=\ *)
17717 # `set' does not quote correctly, so add quotes: double-quote
17718 # substitution turns \\\\ into \\, and sed turns \\ into \.
17719 sed -n \
17720 "s/'/'\\\\''/g;
17721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17722 ;; #(
17724 # `set' quotes correctly as required by POSIX, so do not add quotes.
17725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17727 esac |
17728 sort
17730 sed '
17731 /^ac_cv_env_/b end
17732 t clear
17733 :clear
17734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17735 t end
17736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17737 :end' >>confcache
17738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17739 if test -w "$cache_file"; then
17740 if test "x$cache_file" != "x/dev/null"; then
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17742 $as_echo "$as_me: updating cache $cache_file" >&6;}
17743 if test ! -f "$cache_file" || test -h "$cache_file"; then
17744 cat confcache >"$cache_file"
17745 else
17746 case $cache_file in #(
17747 */* | ?:*)
17748 mv -f confcache "$cache_file"$$ &&
17749 mv -f "$cache_file"$$ "$cache_file" ;; #(
17751 mv -f confcache "$cache_file" ;;
17752 esac
17755 else
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17757 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17760 rm -f confcache
17762 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17763 # Let make expand exec_prefix.
17764 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17766 DEFS=-DHAVE_CONFIG_H
17768 ac_libobjs=
17769 ac_ltlibobjs=
17771 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17772 # 1. Remove the extension, and $U if already installed.
17773 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17774 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17775 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17776 # will be set to the directory where LIBOBJS objects are built.
17777 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17778 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17779 done
17780 LIBOBJS=$ac_libobjs
17782 LTLIBOBJS=$ac_ltlibobjs
17786 : "${CONFIG_STATUS=./config.status}"
17787 ac_write_fail=0
17788 ac_clean_files_save=$ac_clean_files
17789 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17791 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17792 as_write_fail=0
17793 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17794 #! $SHELL
17795 # Generated by $as_me.
17796 # Run this file to recreate the current configuration.
17797 # Compiler output produced by configure, useful for debugging
17798 # configure, is in config.log if it exists.
17800 debug=false
17801 ac_cs_recheck=false
17802 ac_cs_silent=false
17804 SHELL=\${CONFIG_SHELL-$SHELL}
17805 export SHELL
17806 _ASEOF
17807 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17808 ## -------------------- ##
17809 ## M4sh Initialization. ##
17810 ## -------------------- ##
17812 # Be more Bourne compatible
17813 DUALCASE=1; export DUALCASE # for MKS sh
17814 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17815 emulate sh
17816 NULLCMD=:
17817 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17818 # is contrary to our usage. Disable this feature.
17819 alias -g '${1+"$@"}'='"$@"'
17820 setopt NO_GLOB_SUBST
17821 else
17822 case `(set -o) 2>/dev/null` in #(
17823 *posix*) :
17824 set -o posix ;; #(
17825 *) :
17827 esac
17831 as_nl='
17833 export as_nl
17834 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17835 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17836 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17837 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17838 # Prefer a ksh shell builtin over an external printf program on Solaris,
17839 # but without wasting forks for bash or zsh.
17840 if test -z "$BASH_VERSION$ZSH_VERSION" \
17841 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17842 as_echo='print -r --'
17843 as_echo_n='print -rn --'
17844 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17845 as_echo='printf %s\n'
17846 as_echo_n='printf %s'
17847 else
17848 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17849 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17850 as_echo_n='/usr/ucb/echo -n'
17851 else
17852 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17853 as_echo_n_body='eval
17854 arg=$1;
17855 case $arg in #(
17856 *"$as_nl"*)
17857 expr "X$arg" : "X\\(.*\\)$as_nl";
17858 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17859 esac;
17860 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17862 export as_echo_n_body
17863 as_echo_n='sh -c $as_echo_n_body as_echo'
17865 export as_echo_body
17866 as_echo='sh -c $as_echo_body as_echo'
17869 # The user is always right.
17870 if test "${PATH_SEPARATOR+set}" != set; then
17871 PATH_SEPARATOR=:
17872 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17873 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17874 PATH_SEPARATOR=';'
17879 # IFS
17880 # We need space, tab and new line, in precisely that order. Quoting is
17881 # there to prevent editors from complaining about space-tab.
17882 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17883 # splitting by setting IFS to empty value.)
17884 IFS=" "" $as_nl"
17886 # Find who we are. Look in the path if we contain no directory separator.
17887 as_myself=
17888 case $0 in #((
17889 *[\\/]* ) as_myself=$0 ;;
17890 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17891 for as_dir in $PATH
17893 IFS=$as_save_IFS
17894 test -z "$as_dir" && as_dir=.
17895 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17896 done
17897 IFS=$as_save_IFS
17900 esac
17901 # We did not find ourselves, most probably we were run as `sh COMMAND'
17902 # in which case we are not to be found in the path.
17903 if test "x$as_myself" = x; then
17904 as_myself=$0
17906 if test ! -f "$as_myself"; then
17907 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17908 exit 1
17911 # Unset variables that we do not need and which cause bugs (e.g. in
17912 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17913 # suppresses any "Segmentation fault" message there. '((' could
17914 # trigger a bug in pdksh 5.2.14.
17915 for as_var in BASH_ENV ENV MAIL MAILPATH
17916 do eval test x\${$as_var+set} = xset \
17917 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17918 done
17919 PS1='$ '
17920 PS2='> '
17921 PS4='+ '
17923 # NLS nuisances.
17924 LC_ALL=C
17925 export LC_ALL
17926 LANGUAGE=C
17927 export LANGUAGE
17929 # CDPATH.
17930 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17933 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17934 # ----------------------------------------
17935 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17936 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17937 # script with STATUS, using 1 if that was 0.
17938 as_fn_error ()
17940 as_status=$1; test $as_status -eq 0 && as_status=1
17941 if test "$4"; then
17942 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17943 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17945 $as_echo "$as_me: error: $2" >&2
17946 as_fn_exit $as_status
17947 } # as_fn_error
17950 # as_fn_set_status STATUS
17951 # -----------------------
17952 # Set $? to STATUS, without forking.
17953 as_fn_set_status ()
17955 return $1
17956 } # as_fn_set_status
17958 # as_fn_exit STATUS
17959 # -----------------
17960 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17961 as_fn_exit ()
17963 set +e
17964 as_fn_set_status $1
17965 exit $1
17966 } # as_fn_exit
17968 # as_fn_unset VAR
17969 # ---------------
17970 # Portably unset VAR.
17971 as_fn_unset ()
17973 { eval $1=; unset $1;}
17975 as_unset=as_fn_unset
17976 # as_fn_append VAR VALUE
17977 # ----------------------
17978 # Append the text in VALUE to the end of the definition contained in VAR. Take
17979 # advantage of any shell optimizations that allow amortized linear growth over
17980 # repeated appends, instead of the typical quadratic growth present in naive
17981 # implementations.
17982 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17983 eval 'as_fn_append ()
17985 eval $1+=\$2
17987 else
17988 as_fn_append ()
17990 eval $1=\$$1\$2
17992 fi # as_fn_append
17994 # as_fn_arith ARG...
17995 # ------------------
17996 # Perform arithmetic evaluation on the ARGs, and store the result in the
17997 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17998 # must be portable across $(()) and expr.
17999 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18000 eval 'as_fn_arith ()
18002 as_val=$(( $* ))
18004 else
18005 as_fn_arith ()
18007 as_val=`expr "$@" || test $? -eq 1`
18009 fi # as_fn_arith
18012 if expr a : '\(a\)' >/dev/null 2>&1 &&
18013 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18014 as_expr=expr
18015 else
18016 as_expr=false
18019 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18020 as_basename=basename
18021 else
18022 as_basename=false
18025 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18026 as_dirname=dirname
18027 else
18028 as_dirname=false
18031 as_me=`$as_basename -- "$0" ||
18032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18033 X"$0" : 'X\(//\)$' \| \
18034 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18035 $as_echo X/"$0" |
18036 sed '/^.*\/\([^/][^/]*\)\/*$/{
18037 s//\1/
18040 /^X\/\(\/\/\)$/{
18041 s//\1/
18044 /^X\/\(\/\).*/{
18045 s//\1/
18048 s/.*/./; q'`
18050 # Avoid depending upon Character Ranges.
18051 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18052 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18053 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18054 as_cr_digits='0123456789'
18055 as_cr_alnum=$as_cr_Letters$as_cr_digits
18057 ECHO_C= ECHO_N= ECHO_T=
18058 case `echo -n x` in #(((((
18059 -n*)
18060 case `echo 'xy\c'` in
18061 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18062 xy) ECHO_C='\c';;
18063 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18064 ECHO_T=' ';;
18065 esac;;
18067 ECHO_N='-n';;
18068 esac
18070 rm -f conf$$ conf$$.exe conf$$.file
18071 if test -d conf$$.dir; then
18072 rm -f conf$$.dir/conf$$.file
18073 else
18074 rm -f conf$$.dir
18075 mkdir conf$$.dir 2>/dev/null
18077 if (echo >conf$$.file) 2>/dev/null; then
18078 if ln -s conf$$.file conf$$ 2>/dev/null; then
18079 as_ln_s='ln -s'
18080 # ... but there are two gotchas:
18081 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18082 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18083 # In both cases, we have to default to `cp -pR'.
18084 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18085 as_ln_s='cp -pR'
18086 elif ln conf$$.file conf$$ 2>/dev/null; then
18087 as_ln_s=ln
18088 else
18089 as_ln_s='cp -pR'
18091 else
18092 as_ln_s='cp -pR'
18094 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18095 rmdir conf$$.dir 2>/dev/null
18098 # as_fn_mkdir_p
18099 # -------------
18100 # Create "$as_dir" as a directory, including parents if necessary.
18101 as_fn_mkdir_p ()
18104 case $as_dir in #(
18105 -*) as_dir=./$as_dir;;
18106 esac
18107 test -d "$as_dir" || eval $as_mkdir_p || {
18108 as_dirs=
18109 while :; do
18110 case $as_dir in #(
18111 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18112 *) as_qdir=$as_dir;;
18113 esac
18114 as_dirs="'$as_qdir' $as_dirs"
18115 as_dir=`$as_dirname -- "$as_dir" ||
18116 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18117 X"$as_dir" : 'X\(//\)[^/]' \| \
18118 X"$as_dir" : 'X\(//\)$' \| \
18119 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18120 $as_echo X"$as_dir" |
18121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18122 s//\1/
18125 /^X\(\/\/\)[^/].*/{
18126 s//\1/
18129 /^X\(\/\/\)$/{
18130 s//\1/
18133 /^X\(\/\).*/{
18134 s//\1/
18137 s/.*/./; q'`
18138 test -d "$as_dir" && break
18139 done
18140 test -z "$as_dirs" || eval "mkdir $as_dirs"
18141 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18144 } # as_fn_mkdir_p
18145 if mkdir -p . 2>/dev/null; then
18146 as_mkdir_p='mkdir -p "$as_dir"'
18147 else
18148 test -d ./-p && rmdir ./-p
18149 as_mkdir_p=false
18153 # as_fn_executable_p FILE
18154 # -----------------------
18155 # Test if FILE is an executable regular file.
18156 as_fn_executable_p ()
18158 test -f "$1" && test -x "$1"
18159 } # as_fn_executable_p
18160 as_test_x='test -x'
18161 as_executable_p=as_fn_executable_p
18163 # Sed expression to map a string onto a valid CPP name.
18164 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18166 # Sed expression to map a string onto a valid variable name.
18167 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18170 exec 6>&1
18171 ## ----------------------------------- ##
18172 ## Main body of $CONFIG_STATUS script. ##
18173 ## ----------------------------------- ##
18174 _ASEOF
18175 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18178 # Save the log message, to keep $0 and so on meaningful, and to
18179 # report actual input values of CONFIG_FILES etc. instead of their
18180 # values after options handling.
18181 ac_log="
18182 This file was extended by Wine $as_me 1.7.27, which was
18183 generated by GNU Autoconf 2.69. Invocation command line was
18185 CONFIG_FILES = $CONFIG_FILES
18186 CONFIG_HEADERS = $CONFIG_HEADERS
18187 CONFIG_LINKS = $CONFIG_LINKS
18188 CONFIG_COMMANDS = $CONFIG_COMMANDS
18189 $ $0 $@
18191 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18194 _ACEOF
18196 case $ac_config_files in *"
18197 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18198 esac
18200 case $ac_config_headers in *"
18201 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18202 esac
18205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18206 # Files that config.status was made for.
18207 config_files="$ac_config_files"
18208 config_headers="$ac_config_headers"
18209 config_links="$ac_config_links"
18210 config_commands="$ac_config_commands"
18212 _ACEOF
18214 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18215 ac_cs_usage="\
18216 \`$as_me' instantiates files and other configuration actions
18217 from templates according to the current configuration. Unless the files
18218 and actions are specified as TAGs, all are instantiated by default.
18220 Usage: $0 [OPTION]... [TAG]...
18222 -h, --help print this help, then exit
18223 -V, --version print version number and configuration settings, then exit
18224 --config print configuration, then exit
18225 -q, --quiet, --silent
18226 do not print progress messages
18227 -d, --debug don't remove temporary files
18228 --recheck update $as_me by reconfiguring in the same conditions
18229 --file=FILE[:TEMPLATE]
18230 instantiate the configuration file FILE
18231 --header=FILE[:TEMPLATE]
18232 instantiate the configuration header FILE
18234 Configuration files:
18235 $config_files
18237 Configuration headers:
18238 $config_headers
18240 Configuration links:
18241 $config_links
18243 Configuration commands:
18244 $config_commands
18246 Report bugs to <wine-devel@winehq.org>.
18247 Wine home page: <http://www.winehq.org>."
18249 _ACEOF
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18252 ac_cs_version="\\
18253 Wine config.status 1.7.27
18254 configured by $0, generated by GNU Autoconf 2.69,
18255 with options \\"\$ac_cs_config\\"
18257 Copyright (C) 2012 Free Software Foundation, Inc.
18258 This config.status script is free software; the Free Software Foundation
18259 gives unlimited permission to copy, distribute and modify it."
18261 ac_pwd='$ac_pwd'
18262 srcdir='$srcdir'
18263 test -n "\$AWK" || AWK=awk
18264 _ACEOF
18266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18267 # The default lists apply if the user does not specify any file.
18268 ac_need_defaults=:
18269 while test $# != 0
18271 case $1 in
18272 --*=?*)
18273 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18274 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18275 ac_shift=:
18277 --*=)
18278 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18279 ac_optarg=
18280 ac_shift=:
18283 ac_option=$1
18284 ac_optarg=$2
18285 ac_shift=shift
18287 esac
18289 case $ac_option in
18290 # Handling of the options.
18291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18292 ac_cs_recheck=: ;;
18293 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18294 $as_echo "$ac_cs_version"; exit ;;
18295 --config | --confi | --conf | --con | --co | --c )
18296 $as_echo "$ac_cs_config"; exit ;;
18297 --debug | --debu | --deb | --de | --d | -d )
18298 debug=: ;;
18299 --file | --fil | --fi | --f )
18300 $ac_shift
18301 case $ac_optarg in
18302 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18303 '') as_fn_error $? "missing file argument" ;;
18304 esac
18305 as_fn_append CONFIG_FILES " '$ac_optarg'"
18306 ac_need_defaults=false;;
18307 --header | --heade | --head | --hea )
18308 $ac_shift
18309 case $ac_optarg in
18310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18311 esac
18312 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18313 ac_need_defaults=false;;
18314 --he | --h)
18315 # Conflict between --help and --header
18316 as_fn_error $? "ambiguous option: \`$1'
18317 Try \`$0 --help' for more information.";;
18318 --help | --hel | -h )
18319 $as_echo "$ac_cs_usage"; exit ;;
18320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18321 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18322 ac_cs_silent=: ;;
18324 # This is an error.
18325 -*) as_fn_error $? "unrecognized option: \`$1'
18326 Try \`$0 --help' for more information." ;;
18328 *) as_fn_append ac_config_targets " $1"
18329 ac_need_defaults=false ;;
18331 esac
18332 shift
18333 done
18335 ac_configure_extra_args=
18337 if $ac_cs_silent; then
18338 exec 6>/dev/null
18339 ac_configure_extra_args="$ac_configure_extra_args --silent"
18342 _ACEOF
18343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18344 if \$ac_cs_recheck; then
18345 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18346 shift
18347 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18348 CONFIG_SHELL='$SHELL'
18349 export CONFIG_SHELL
18350 exec "\$@"
18353 _ACEOF
18354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18355 exec 5>>config.log
18357 echo
18358 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18359 ## Running $as_me. ##
18360 _ASBOX
18361 $as_echo "$ac_log"
18362 } >&5
18364 _ACEOF
18365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18367 # INIT-COMMANDS
18369 wine_fn_output_makedep ()
18371 as_dir=tools; as_fn_mkdir_p
18372 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18374 wine_fn_output_makefile ()
18376 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18377 `cat $wine_rules_file`
18378 _WINE_EOF
18379 as_fn_error $? "could not create Makefile" "$LINENO" 5
18381 wine_fn_output_gitignore ()
18383 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18384 $GITIGNORE
18385 _WINE_EOF
18386 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18389 _ACEOF
18391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18393 # Handling of arguments.
18394 for ac_config_target in $ac_config_targets
18396 case $ac_config_target in
18397 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18398 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18399 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18400 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18401 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18402 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18403 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18404 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18405 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18406 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18407 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18408 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18409 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18410 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18412 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18413 esac
18414 done
18417 # If the user did not use the arguments to specify the items to instantiate,
18418 # then the envvar interface is used. Set only those that are not.
18419 # We use the long form for the default assignment because of an extremely
18420 # bizarre bug on SunOS 4.1.3.
18421 if $ac_need_defaults; then
18422 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18423 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18424 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18425 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18428 # Have a temporary directory for convenience. Make it in the build tree
18429 # simply because there is no reason against having it here, and in addition,
18430 # creating and moving files from /tmp can sometimes cause problems.
18431 # Hook for its removal unless debugging.
18432 # Note that there is a small window in which the directory will not be cleaned:
18433 # after its creation but before its name has been assigned to `$tmp'.
18434 $debug ||
18436 tmp= ac_tmp=
18437 trap 'exit_status=$?
18438 : "${ac_tmp:=$tmp}"
18439 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18441 trap 'as_fn_exit 1' 1 2 13 15
18443 # Create a (secure) tmp directory for tmp files.
18446 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18447 test -d "$tmp"
18448 } ||
18450 tmp=./conf$$-$RANDOM
18451 (umask 077 && mkdir "$tmp")
18452 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18453 ac_tmp=$tmp
18455 # Set up the scripts for CONFIG_FILES section.
18456 # No need to generate them if there are no CONFIG_FILES.
18457 # This happens for instance with `./config.status config.h'.
18458 if test -n "$CONFIG_FILES"; then
18461 ac_cr=`echo X | tr X '\015'`
18462 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18463 # But we know of no other shell where ac_cr would be empty at this
18464 # point, so we can use a bashism as a fallback.
18465 if test "x$ac_cr" = x; then
18466 eval ac_cr=\$\'\\r\'
18468 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18469 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18470 ac_cs_awk_cr='\\r'
18471 else
18472 ac_cs_awk_cr=$ac_cr
18475 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18476 _ACEOF
18480 echo "cat >conf$$subs.awk <<_ACEOF" &&
18481 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18482 echo "_ACEOF"
18483 } >conf$$subs.sh ||
18484 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18485 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18486 ac_delim='%!_!# '
18487 for ac_last_try in false false false false false :; do
18488 . ./conf$$subs.sh ||
18489 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18491 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18492 if test $ac_delim_n = $ac_delim_num; then
18493 break
18494 elif $ac_last_try; then
18495 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18496 else
18497 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18499 done
18500 rm -f conf$$subs.sh
18502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18503 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18504 _ACEOF
18505 sed -n '
18507 s/^/S["/; s/!.*/"]=/
18510 s/^[^!]*!//
18511 :repl
18512 t repl
18513 s/'"$ac_delim"'$//
18514 t delim
18517 s/\(.\{148\}\)..*/\1/
18518 t more1
18519 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18522 b repl
18523 :more1
18524 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18527 s/.\{148\}//
18528 t nl
18529 :delim
18531 s/\(.\{148\}\)..*/\1/
18532 t more2
18533 s/["\\]/\\&/g; s/^/"/; s/$/"/
18536 :more2
18537 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18540 s/.\{148\}//
18541 t delim
18542 ' <conf$$subs.awk | sed '
18543 /^[^""]/{
18545 s/\n//
18547 ' >>$CONFIG_STATUS || ac_write_fail=1
18548 rm -f conf$$subs.awk
18549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18550 _ACAWK
18551 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18552 for (key in S) S_is_set[key] = 1
18553 FS = "\a"
18557 line = $ 0
18558 nfields = split(line, field, "@")
18559 substed = 0
18560 len = length(field[1])
18561 for (i = 2; i < nfields; i++) {
18562 key = field[i]
18563 keylen = length(key)
18564 if (S_is_set[key]) {
18565 value = S[key]
18566 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18567 len += length(value) + length(field[++i])
18568 substed = 1
18569 } else
18570 len += 1 + keylen
18573 print line
18576 _ACAWK
18577 _ACEOF
18578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18579 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18580 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18581 else
18583 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18584 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18585 _ACEOF
18587 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18588 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18589 # trailing colons and then remove the whole line if VPATH becomes empty
18590 # (actually we leave an empty line to preserve line numbers).
18591 if test "x$srcdir" = x.; then
18592 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18594 s///
18595 s/^/:/
18596 s/[ ]*$/:/
18597 s/:\$(srcdir):/:/g
18598 s/:\${srcdir}:/:/g
18599 s/:@srcdir@:/:/g
18600 s/^:*//
18601 s/:*$//
18603 s/\(=[ ]*\).*/\1/
18605 s/\n//
18606 s/^[^=]*=[ ]*$//
18610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18611 fi # test -n "$CONFIG_FILES"
18613 # Set up the scripts for CONFIG_HEADERS section.
18614 # No need to generate them if there are no CONFIG_HEADERS.
18615 # This happens for instance with `./config.status Makefile'.
18616 if test -n "$CONFIG_HEADERS"; then
18617 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18618 BEGIN {
18619 _ACEOF
18621 # Transform confdefs.h into an awk script `defines.awk', embedded as
18622 # here-document in config.status, that substitutes the proper values into
18623 # config.h.in to produce config.h.
18625 # Create a delimiter string that does not exist in confdefs.h, to ease
18626 # handling of long lines.
18627 ac_delim='%!_!# '
18628 for ac_last_try in false false :; do
18629 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18630 if test -z "$ac_tt"; then
18631 break
18632 elif $ac_last_try; then
18633 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18634 else
18635 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18637 done
18639 # For the awk script, D is an array of macro values keyed by name,
18640 # likewise P contains macro parameters if any. Preserve backslash
18641 # newline sequences.
18643 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18644 sed -n '
18645 s/.\{148\}/&'"$ac_delim"'/g
18646 t rset
18647 :rset
18648 s/^[ ]*#[ ]*define[ ][ ]*/ /
18649 t def
18651 :def
18652 s/\\$//
18653 t bsnl
18654 s/["\\]/\\&/g
18655 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18656 D["\1"]=" \3"/p
18657 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18659 :bsnl
18660 s/["\\]/\\&/g
18661 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18662 D["\1"]=" \3\\\\\\n"\\/p
18663 t cont
18664 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18665 t cont
18667 :cont
18669 s/.\{148\}/&'"$ac_delim"'/g
18670 t clear
18671 :clear
18672 s/\\$//
18673 t bsnlc
18674 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18676 :bsnlc
18677 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18678 b cont
18679 ' <confdefs.h | sed '
18680 s/'"$ac_delim"'/"\\\
18681 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18684 for (key in D) D_is_set[key] = 1
18685 FS = "\a"
18687 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18688 line = \$ 0
18689 split(line, arg, " ")
18690 if (arg[1] == "#") {
18691 defundef = arg[2]
18692 mac1 = arg[3]
18693 } else {
18694 defundef = substr(arg[1], 2)
18695 mac1 = arg[2]
18697 split(mac1, mac2, "(") #)
18698 macro = mac2[1]
18699 prefix = substr(line, 1, index(line, defundef) - 1)
18700 if (D_is_set[macro]) {
18701 # Preserve the white space surrounding the "#".
18702 print prefix "define", macro P[macro] D[macro]
18703 next
18704 } else {
18705 # Replace #undef with comments. This is necessary, for example,
18706 # in the case of _POSIX_SOURCE, which is predefined and required
18707 # on some systems where configure will not decide to define it.
18708 if (defundef == "undef") {
18709 print "/*", prefix defundef, macro, "*/"
18710 next
18714 { print }
18715 _ACAWK
18716 _ACEOF
18717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18718 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18719 fi # test -n "$CONFIG_HEADERS"
18722 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18723 shift
18724 for ac_tag
18726 case $ac_tag in
18727 :[FHLC]) ac_mode=$ac_tag; continue;;
18728 esac
18729 case $ac_mode$ac_tag in
18730 :[FHL]*:*);;
18731 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18732 :[FH]-) ac_tag=-:-;;
18733 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18734 esac
18735 ac_save_IFS=$IFS
18736 IFS=:
18737 set x $ac_tag
18738 IFS=$ac_save_IFS
18739 shift
18740 ac_file=$1
18741 shift
18743 case $ac_mode in
18744 :L) ac_source=$1;;
18745 :[FH])
18746 ac_file_inputs=
18747 for ac_f
18749 case $ac_f in
18750 -) ac_f="$ac_tmp/stdin";;
18751 *) # Look for the file first in the build tree, then in the source tree
18752 # (if the path is not absolute). The absolute path cannot be DOS-style,
18753 # because $ac_f cannot contain `:'.
18754 test -f "$ac_f" ||
18755 case $ac_f in
18756 [\\/$]*) false;;
18757 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18758 esac ||
18759 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18760 esac
18761 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18762 as_fn_append ac_file_inputs " '$ac_f'"
18763 done
18765 # Let's still pretend it is `configure' which instantiates (i.e., don't
18766 # use $as_me), people would be surprised to read:
18767 # /* config.h. Generated by config.status. */
18768 configure_input='Generated from '`
18769 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18770 `' by configure.'
18771 if test x"$ac_file" != x-; then
18772 configure_input="$ac_file. $configure_input"
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18774 $as_echo "$as_me: creating $ac_file" >&6;}
18776 # Neutralize special characters interpreted by sed in replacement strings.
18777 case $configure_input in #(
18778 *\&* | *\|* | *\\* )
18779 ac_sed_conf_input=`$as_echo "$configure_input" |
18780 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18781 *) ac_sed_conf_input=$configure_input;;
18782 esac
18784 case $ac_tag in
18785 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18786 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18787 esac
18789 esac
18791 ac_dir=`$as_dirname -- "$ac_file" ||
18792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18793 X"$ac_file" : 'X\(//\)[^/]' \| \
18794 X"$ac_file" : 'X\(//\)$' \| \
18795 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18796 $as_echo X"$ac_file" |
18797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18798 s//\1/
18801 /^X\(\/\/\)[^/].*/{
18802 s//\1/
18805 /^X\(\/\/\)$/{
18806 s//\1/
18809 /^X\(\/\).*/{
18810 s//\1/
18813 s/.*/./; q'`
18814 as_dir="$ac_dir"; as_fn_mkdir_p
18815 ac_builddir=.
18817 case "$ac_dir" in
18818 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18820 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18821 # A ".." for each directory in $ac_dir_suffix.
18822 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18823 case $ac_top_builddir_sub in
18824 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18825 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18826 esac ;;
18827 esac
18828 ac_abs_top_builddir=$ac_pwd
18829 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18830 # for backward compatibility:
18831 ac_top_builddir=$ac_top_build_prefix
18833 case $srcdir in
18834 .) # We are building in place.
18835 ac_srcdir=.
18836 ac_top_srcdir=$ac_top_builddir_sub
18837 ac_abs_top_srcdir=$ac_pwd ;;
18838 [\\/]* | ?:[\\/]* ) # Absolute name.
18839 ac_srcdir=$srcdir$ac_dir_suffix;
18840 ac_top_srcdir=$srcdir
18841 ac_abs_top_srcdir=$srcdir ;;
18842 *) # Relative name.
18843 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18844 ac_top_srcdir=$ac_top_build_prefix$srcdir
18845 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18846 esac
18847 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18850 case $ac_mode in
18853 # CONFIG_FILE
18856 _ACEOF
18858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18859 # If the template does not know about datarootdir, expand it.
18860 # FIXME: This hack should be removed a few years after 2.60.
18861 ac_datarootdir_hack=; ac_datarootdir_seen=
18862 ac_sed_dataroot='
18863 /datarootdir/ {
18867 /@datadir@/p
18868 /@docdir@/p
18869 /@infodir@/p
18870 /@localedir@/p
18871 /@mandir@/p'
18872 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18873 *datarootdir*) ac_datarootdir_seen=yes;;
18874 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18876 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18877 _ACEOF
18878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18879 ac_datarootdir_hack='
18880 s&@datadir@&$datadir&g
18881 s&@docdir@&$docdir&g
18882 s&@infodir@&$infodir&g
18883 s&@localedir@&$localedir&g
18884 s&@mandir@&$mandir&g
18885 s&\\\${datarootdir}&$datarootdir&g' ;;
18886 esac
18887 _ACEOF
18889 # Neutralize VPATH when `$srcdir' = `.'.
18890 # Shell code in configure.ac might set extrasub.
18891 # FIXME: do we really want to maintain this feature?
18892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18893 ac_sed_extra="$ac_vpsub
18894 $extrasub
18895 _ACEOF
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18899 s|@configure_input@|$ac_sed_conf_input|;t t
18900 s&@top_builddir@&$ac_top_builddir_sub&;t t
18901 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18902 s&@srcdir@&$ac_srcdir&;t t
18903 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18904 s&@top_srcdir@&$ac_top_srcdir&;t t
18905 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18906 s&@builddir@&$ac_builddir&;t t
18907 s&@abs_builddir@&$ac_abs_builddir&;t t
18908 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18909 $ac_datarootdir_hack
18911 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18912 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18914 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18915 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18916 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18917 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18919 which seems to be undefined. Please make sure it is defined" >&5
18920 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18921 which seems to be undefined. Please make sure it is defined" >&2;}
18923 rm -f "$ac_tmp/stdin"
18924 case $ac_file in
18925 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18926 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18927 esac \
18928 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18932 # CONFIG_HEADER
18934 if test x"$ac_file" != x-; then
18936 $as_echo "/* $configure_input */" \
18937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18938 } >"$ac_tmp/config.h" \
18939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18940 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18942 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18943 else
18944 rm -f "$ac_file"
18945 mv "$ac_tmp/config.h" "$ac_file" \
18946 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18948 else
18949 $as_echo "/* $configure_input */" \
18950 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18951 || as_fn_error $? "could not create -" "$LINENO" 5
18956 # CONFIG_LINK
18959 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18961 else
18962 # Prefer the file from the source tree if names are identical.
18963 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18964 ac_source=$srcdir/$ac_source
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18968 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18970 if test ! -r "$ac_source"; then
18971 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18973 rm -f "$ac_file"
18975 # Try a relative symlink, then a hard link, then a copy.
18976 case $ac_source in
18977 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18978 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18979 esac
18980 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18981 ln "$ac_source" "$ac_file" 2>/dev/null ||
18982 cp -p "$ac_source" "$ac_file" ||
18983 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18986 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18987 $as_echo "$as_me: executing $ac_file commands" >&6;}
18989 esac
18992 case $ac_file$ac_mode in
18993 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18994 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18995 "Makefile":C) wine_fn_output_makefile Makefile ;;
18996 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18998 esac
18999 done # for ac_tag
19002 as_fn_exit 0
19003 _ACEOF
19004 ac_clean_files=$ac_clean_files_save
19006 test $ac_write_fail = 0 ||
19007 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19010 # configure is writing to config.log, and then calls config.status.
19011 # config.status does its own redirection, appending to config.log.
19012 # Unfortunately, on DOS this fails, as config.log is still kept open
19013 # by configure, so config.status won't be able to write to it; its
19014 # output is simply discarded. So we exec the FD to /dev/null,
19015 # effectively closing config.log, so it can be properly (re)opened and
19016 # appended to by config.status. When coming back to configure, we
19017 # need to make the FD available again.
19018 if test "$no_create" != yes; then
19019 ac_cs_success=:
19020 ac_config_status_args=
19021 test "$silent" = yes &&
19022 ac_config_status_args="$ac_config_status_args --quiet"
19023 exec 5>/dev/null
19024 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19025 exec 5>>config.log
19026 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19027 # would make configure fail if this is the last instruction.
19028 $ac_cs_success || as_fn_exit 1
19030 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19032 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19036 if test "$no_create" = "yes"
19037 then
19038 exit 0
19041 ac_save_IFS="$IFS"
19042 if test "x$wine_notices != "x; then
19043 echo >&6
19044 IFS="|"
19045 for msg in $wine_notices; do
19046 IFS="$ac_save_IFS"
19047 if ${msg:+false} :; then :
19049 else
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19051 $as_echo "$as_me: $msg" >&6;}
19053 done
19055 IFS="|"
19056 for msg in $wine_warnings; do
19057 IFS="$ac_save_IFS"
19058 if ${msg:+false} :; then :
19060 else
19061 echo >&2
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19063 $as_echo "$as_me: WARNING: $msg" >&2;}
19065 done
19066 IFS="$ac_save_IFS"
19068 $as_echo "
19069 $as_me: Finished. Do '${ac_make}' to compile Wine.
19070 " >&6