d3d8/tests: Update create_device to match d3d9.
[wine.git] / configure
bloba11c3d768b5f702133284d382b7a0b7d98720a26
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.29.
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.29'
584 PACKAGE_STRING='Wine 1.7.29'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
735 CPPBIN
736 ac_ct_CXX
737 CXXFLAGS
739 OBJEXT
740 EXEEXT
741 ac_ct_CC
742 CPPFLAGS
743 LDFLAGS
744 CFLAGS
746 SET_MAKE
747 host_os
748 host_vendor
749 host_cpu
750 host
751 build_os
752 build_vendor
753 build_cpu
754 build
755 target_alias
756 host_alias
757 build_alias
758 LIBS
759 ECHO_T
760 ECHO_N
761 ECHO_C
762 DEFS
763 mandir
764 localedir
765 libdir
766 psdir
767 pdfdir
768 dvidir
769 htmldir
770 infodir
771 docdir
772 oldincludedir
773 includedir
774 localstatedir
775 sharedstatedir
776 sysconfdir
777 datadir
778 datarootdir
779 libexecdir
780 sbindir
781 bindir
782 program_transform_name
783 prefix
784 exec_prefix
785 PACKAGE_URL
786 PACKAGE_BUGREPORT
787 PACKAGE_STRING
788 PACKAGE_VERSION
789 PACKAGE_TARNAME
790 PACKAGE_NAME
791 PATH_SEPARATOR
792 SHELL'
793 ac_subst_files=''
794 ac_user_opts='
795 enable_option_checking
796 enable_win16
797 enable_win64
798 enable_tests
799 enable_maintainer_mode
800 with_alsa
801 with_capi
802 with_cms
803 with_coreaudio
804 with_cups
805 with_curses
806 with_dbus
807 with_fontconfig
808 with_freetype
809 with_gettext
810 with_gettextpo
811 with_gphoto
812 with_glu
813 with_gnutls
814 with_gsm
815 with_gstreamer
816 with_hal
817 with_jpeg
818 with_ldap
819 with_mpg123
820 with_netapi
821 with_openal
822 with_opencl
823 with_opengl
824 with_osmesa
825 with_oss
826 with_pcap
827 with_png
828 with_pthread
829 with_sane
830 with_tiff
831 with_v4l
832 with_xcomposite
833 with_xcursor
834 with_xinerama
835 with_xinput
836 with_xinput2
837 with_xml
838 with_xrandr
839 with_xrender
840 with_xshape
841 with_xshm
842 with_xslt
843 with_xxf86vm
844 with_zlib
845 with_wine_tools
846 with_wine64
847 enable_largefile
848 with_x
849 enable_acledit
850 enable_aclui
851 enable_activeds
852 enable_actxprxy
853 enable_advapi32
854 enable_advpack
855 enable_amstream
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
907 enable_apphelp
908 enable_appwiz_cpl
909 enable_atl
910 enable_atl100
911 enable_atl110
912 enable_atl80
913 enable_atl90
914 enable_authz
915 enable_avicap32
916 enable_avifil32
917 enable_avrt
918 enable_bcrypt
919 enable_browseui
920 enable_cabinet
921 enable_capi2032
922 enable_cards
923 enable_cfgmgr32
924 enable_clusapi
925 enable_comcat
926 enable_comctl32
927 enable_comdlg32
928 enable_compstui
929 enable_comsvcs
930 enable_credui
931 enable_crtdll
932 enable_crypt32
933 enable_cryptdlg
934 enable_cryptdll
935 enable_cryptnet
936 enable_cryptui
937 enable_ctapi32
938 enable_ctl3d32
939 enable_d2d1
940 enable_d3d10
941 enable_d3d10_1
942 enable_d3d10core
943 enable_d3d11
944 enable_d3d8
945 enable_d3d9
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
957 enable_d3dim
958 enable_d3drm
959 enable_d3dx10_33
960 enable_d3dx10_34
961 enable_d3dx10_35
962 enable_d3dx10_36
963 enable_d3dx10_37
964 enable_d3dx10_38
965 enable_d3dx10_39
966 enable_d3dx10_40
967 enable_d3dx10_41
968 enable_d3dx10_42
969 enable_d3dx10_43
970 enable_d3dx11_42
971 enable_d3dx11_43
972 enable_d3dx9_24
973 enable_d3dx9_25
974 enable_d3dx9_26
975 enable_d3dx9_27
976 enable_d3dx9_28
977 enable_d3dx9_29
978 enable_d3dx9_30
979 enable_d3dx9_31
980 enable_d3dx9_32
981 enable_d3dx9_33
982 enable_d3dx9_34
983 enable_d3dx9_35
984 enable_d3dx9_36
985 enable_d3dx9_37
986 enable_d3dx9_38
987 enable_d3dx9_39
988 enable_d3dx9_40
989 enable_d3dx9_41
990 enable_d3dx9_42
991 enable_d3dx9_43
992 enable_d3dxof
993 enable_dbgeng
994 enable_dbghelp
995 enable_dciman32
996 enable_ddraw
997 enable_ddrawex
998 enable_devenum
999 enable_dhcpcsvc
1000 enable_difxapi
1001 enable_dinput
1002 enable_dinput8
1003 enable_dispex
1004 enable_dmband
1005 enable_dmcompos
1006 enable_dmime
1007 enable_dmloader
1008 enable_dmscript
1009 enable_dmstyle
1010 enable_dmsynth
1011 enable_dmusic
1012 enable_dmusic32
1013 enable_dnsapi
1014 enable_dplay
1015 enable_dplayx
1016 enable_dpnaddr
1017 enable_dpnet
1018 enable_dpnhpast
1019 enable_dpnlobby
1020 enable_dpvoice
1021 enable_dpwsockx
1022 enable_drmclien
1023 enable_dsound
1024 enable_dssenh
1025 enable_dswave
1026 enable_dwmapi
1027 enable_dwrite
1028 enable_dxdiagn
1029 enable_dxgi
1030 enable_dxva2
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1033 enable_faultrep
1034 enable_fltlib
1035 enable_fntcache
1036 enable_fontsub
1037 enable_fusion
1038 enable_fwpuclnt
1039 enable_gameux
1040 enable_gdi32
1041 enable_gdiplus
1042 enable_glu32
1043 enable_gphoto2_ds
1044 enable_gpkcsp
1045 enable_hal
1046 enable_hhctrl_ocx
1047 enable_hid
1048 enable_hlink
1049 enable_hnetcfg
1050 enable_httpapi
1051 enable_iccvid
1052 enable_icmp
1053 enable_ieframe
1054 enable_imaadp32_acm
1055 enable_imagehlp
1056 enable_imm32
1057 enable_inetcomm
1058 enable_inetcpl_cpl
1059 enable_inetmib1
1060 enable_infosoft
1061 enable_initpki
1062 enable_inkobj
1063 enable_inseng
1064 enable_iphlpapi
1065 enable_itircl
1066 enable_itss
1067 enable_joy_cpl
1068 enable_jscript
1069 enable_jsproxy
1070 enable_kernel32
1071 enable_ksuser
1072 enable_ktmw32
1073 enable_loadperf
1074 enable_localspl
1075 enable_localui
1076 enable_lz32
1077 enable_mapi32
1078 enable_mapistub
1079 enable_mciavi32
1080 enable_mcicda
1081 enable_mciqtz32
1082 enable_mciseq
1083 enable_mciwave
1084 enable_mgmtapi
1085 enable_midimap
1086 enable_mlang
1087 enable_mmcndmgr
1088 enable_mmdevapi
1089 enable_mountmgr_sys
1090 enable_mpr
1091 enable_mprapi
1092 enable_msacm32_drv
1093 enable_msacm32
1094 enable_msadp32_acm
1095 enable_msasn1
1096 enable_mscat32
1097 enable_mscms
1098 enable_mscoree
1099 enable_msctf
1100 enable_msdaps
1101 enable_msdmo
1102 enable_msftedit
1103 enable_msg711_acm
1104 enable_msgsm32_acm
1105 enable_mshtml_tlb
1106 enable_mshtml
1107 enable_msi
1108 enable_msident
1109 enable_msimg32
1110 enable_msimsg
1111 enable_msimtf
1112 enable_msisip
1113 enable_msisys_ocx
1114 enable_msls31
1115 enable_msnet32
1116 enable_mspatcha
1117 enable_msrle32
1118 enable_mssign32
1119 enable_mssip32
1120 enable_mstask
1121 enable_msvcirt
1122 enable_msvcm80
1123 enable_msvcm90
1124 enable_msvcp100
1125 enable_msvcp110
1126 enable_msvcp60
1127 enable_msvcp70
1128 enable_msvcp71
1129 enable_msvcp80
1130 enable_msvcp90
1131 enable_msvcr100
1132 enable_msvcr110
1133 enable_msvcr70
1134 enable_msvcr71
1135 enable_msvcr80
1136 enable_msvcr90
1137 enable_msvcrt
1138 enable_msvcrt20
1139 enable_msvcrt40
1140 enable_msvcrtd
1141 enable_msvfw32
1142 enable_msvidc32
1143 enable_mswsock
1144 enable_msxml
1145 enable_msxml2
1146 enable_msxml3
1147 enable_msxml4
1148 enable_msxml6
1149 enable_nddeapi
1150 enable_netapi32
1151 enable_netcfgx
1152 enable_netprofm
1153 enable_newdev
1154 enable_normaliz
1155 enable_npmshtml
1156 enable_npptools
1157 enable_ntdll
1158 enable_ntdsapi
1159 enable_ntoskrnl_exe
1160 enable_ntprint
1161 enable_objsel
1162 enable_odbc32
1163 enable_odbccp32
1164 enable_odbccu32
1165 enable_ole32
1166 enable_oleacc
1167 enable_oleaut32
1168 enable_olecli32
1169 enable_oledb32
1170 enable_oledlg
1171 enable_olepro32
1172 enable_olesvr32
1173 enable_olethk32
1174 enable_openal32
1175 enable_opencl
1176 enable_opengl32
1177 enable_packager
1178 enable_pdh
1179 enable_photometadatahandler
1180 enable_pidgen
1181 enable_powrprof
1182 enable_printui
1183 enable_propsys
1184 enable_psapi
1185 enable_pstorec
1186 enable_qcap
1187 enable_qedit
1188 enable_qmgr
1189 enable_qmgrprxy
1190 enable_quartz
1191 enable_query
1192 enable_rasapi32
1193 enable_rasdlg
1194 enable_regapi
1195 enable_resutils
1196 enable_riched20
1197 enable_riched32
1198 enable_rpcrt4
1199 enable_rsabase
1200 enable_rsaenh
1201 enable_rstrtmgr
1202 enable_rtutils
1203 enable_samlib
1204 enable_sane_ds
1205 enable_scarddlg
1206 enable_sccbase
1207 enable_schannel
1208 enable_schedsvc
1209 enable_scrrun
1210 enable_scsiport_sys
1211 enable_secur32
1212 enable_security
1213 enable_sensapi
1214 enable_serialui
1215 enable_setupapi
1216 enable_sfc
1217 enable_sfc_os
1218 enable_shdoclc
1219 enable_shdocvw
1220 enable_shell32
1221 enable_shfolder
1222 enable_shlwapi
1223 enable_slbcsp
1224 enable_slc
1225 enable_snmpapi
1226 enable_softpub
1227 enable_spoolss
1228 enable_stdole2_tlb
1229 enable_stdole32_tlb
1230 enable_sti
1231 enable_svrapi
1232 enable_sxs
1233 enable_t2embed
1234 enable_tapi32
1235 enable_taskschd
1236 enable_traffic
1237 enable_twain_32
1238 enable_unicows
1239 enable_updspapi
1240 enable_url
1241 enable_urlmon
1242 enable_usbd_sys
1243 enable_user32
1244 enable_userenv
1245 enable_usp10
1246 enable_uxtheme
1247 enable_vbscript
1248 enable_vcomp
1249 enable_vcomp100
1250 enable_vcomp90
1251 enable_vdmdbg
1252 enable_version
1253 enable_wbemdisp
1254 enable_wbemprox
1255 enable_webservices
1256 enable_wer
1257 enable_wevtapi
1258 enable_wiaservc
1259 enable_windowscodecs
1260 enable_windowscodecsext
1261 enable_winealsa_drv
1262 enable_winecoreaudio_drv
1263 enable_wined3d
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1266 enable_winemac_drv
1267 enable_winemapi
1268 enable_winemp3_acm
1269 enable_wineoss_drv
1270 enable_wineps_drv
1271 enable_wineqtdecoder
1272 enable_winex11_drv
1273 enable_wing32
1274 enable_winhttp
1275 enable_wininet
1276 enable_winmm
1277 enable_winnls32
1278 enable_winscard
1279 enable_winspool_drv
1280 enable_winsta
1281 enable_wintab32
1282 enable_wintrust
1283 enable_wlanapi
1284 enable_wldap32
1285 enable_wmi
1286 enable_wmiutils
1287 enable_wmp
1288 enable_wmvcore
1289 enable_wnaspi32
1290 enable_wpcap
1291 enable_ws2_32
1292 enable_wshom_ocx
1293 enable_wsnmp32
1294 enable_wsock32
1295 enable_wtsapi32
1296 enable_wuapi
1297 enable_wuaueng
1298 enable_xapofx1_1
1299 enable_xinput1_1
1300 enable_xinput1_2
1301 enable_xinput1_3
1302 enable_xinput1_4
1303 enable_xinput9_1_0
1304 enable_xmllite
1305 enable_xolehlp
1306 enable_xpsprint
1307 enable_xpssvcs
1308 enable_documentation
1309 enable_fonts
1310 enable_include
1311 enable_libs_port
1312 enable_libs_wine
1313 enable_libs_wpp
1314 enable_loader
1315 enable_arp
1316 enable_aspnet_regiis
1317 enable_attrib
1318 enable_cabarc
1319 enable_cacls
1320 enable_clock
1321 enable_cmd
1322 enable_conhost
1323 enable_control
1324 enable_cscript
1325 enable_dpnsvr
1326 enable_dxdiag
1327 enable_eject
1328 enable_expand
1329 enable_explorer
1330 enable_extrac32
1331 enable_findstr
1332 enable_hh
1333 enable_hostname
1334 enable_icinfo
1335 enable_iexplore
1336 enable_ipconfig
1337 enable_lodctr
1338 enable_mofcomp
1339 enable_mshta
1340 enable_msiexec
1341 enable_net
1342 enable_netsh
1343 enable_netstat
1344 enable_ngen
1345 enable_notepad
1346 enable_oleview
1347 enable_ping
1348 enable_plugplay
1349 enable_presentationfontcache
1350 enable_progman
1351 enable_reg
1352 enable_regasm
1353 enable_regedit
1354 enable_regsvcs
1355 enable_regsvr32
1356 enable_rpcss
1357 enable_rundll32
1358 enable_sc
1359 enable_schtasks
1360 enable_sdbinst
1361 enable_secedit
1362 enable_servicemodelreg
1363 enable_services
1364 enable_spoolsv
1365 enable_start
1366 enable_svchost
1367 enable_systeminfo
1368 enable_taskkill
1369 enable_tasklist
1370 enable_taskmgr
1371 enable_termsv
1372 enable_uninstaller
1373 enable_unlodctr
1374 enable_view
1375 enable_wevtutil
1376 enable_wineboot
1377 enable_winebrowser
1378 enable_winecfg
1379 enable_wineconsole
1380 enable_winedbg
1381 enable_winedevice
1382 enable_winefile
1383 enable_winemenubuilder
1384 enable_winemine
1385 enable_winemsibuilder
1386 enable_winepath
1387 enable_winetest
1388 enable_winhlp32
1389 enable_winver
1390 enable_wmic
1391 enable_wordpad
1392 enable_write
1393 enable_wscript
1394 enable_wusa
1395 enable_xcopy
1396 enable_server
1397 enable_tools
1399 ac_precious_vars='build_alias
1400 host_alias
1401 target_alias
1403 CFLAGS
1404 LDFLAGS
1405 LIBS
1406 CPPFLAGS
1408 CXXFLAGS
1411 XMKMF
1412 XML2_CFLAGS
1413 XML2_LIBS
1414 XSLT_CFLAGS
1415 XSLT_LIBS
1416 DBUS_CFLAGS
1417 DBUS_LIBS
1418 HAL_CFLAGS
1419 HAL_LIBS
1420 GNUTLS_CFLAGS
1421 GNUTLS_LIBS
1422 SANE_CFLAGS
1423 SANE_LIBS
1424 GPHOTO2_CFLAGS
1425 GPHOTO2_LIBS
1426 GPHOTO2_PORT_CFLAGS
1427 GPHOTO2_PORT_LIBS
1428 LCMS2_CFLAGS
1429 LCMS2_LIBS
1430 FREETYPE_CFLAGS
1431 FREETYPE_LIBS
1432 GSTREAMER_CFLAGS
1433 GSTREAMER_LIBS
1434 CAPI20_CFLAGS
1435 CAPI20_LIBS
1436 FONTCONFIG_CFLAGS
1437 FONTCONFIG_LIBS
1438 JPEG_CFLAGS
1439 JPEG_LIBS
1440 PNG_CFLAGS
1441 PNG_LIBS
1442 TIFF_CFLAGS
1443 TIFF_LIBS
1444 MPG123_CFLAGS
1445 MPG123_LIBS'
1448 # Initialize some variables set by options.
1449 ac_init_help=
1450 ac_init_version=false
1451 ac_unrecognized_opts=
1452 ac_unrecognized_sep=
1453 # The variables have the same names as the options, with
1454 # dashes changed to underlines.
1455 cache_file=/dev/null
1456 exec_prefix=NONE
1457 no_create=
1458 no_recursion=
1459 prefix=NONE
1460 program_prefix=NONE
1461 program_suffix=NONE
1462 program_transform_name=s,x,x,
1463 silent=
1464 site=
1465 srcdir=
1466 verbose=
1467 x_includes=NONE
1468 x_libraries=NONE
1470 # Installation directory options.
1471 # These are left unexpanded so users can "make install exec_prefix=/foo"
1472 # and all the variables that are supposed to be based on exec_prefix
1473 # by default will actually change.
1474 # Use braces instead of parens because sh, perl, etc. also accept them.
1475 # (The list follows the same order as the GNU Coding Standards.)
1476 bindir='${exec_prefix}/bin'
1477 sbindir='${exec_prefix}/sbin'
1478 libexecdir='${exec_prefix}/libexec'
1479 datarootdir='${prefix}/share'
1480 datadir='${datarootdir}'
1481 sysconfdir='${prefix}/etc'
1482 sharedstatedir='${prefix}/com'
1483 localstatedir='${prefix}/var'
1484 includedir='${prefix}/include'
1485 oldincludedir='/usr/include'
1486 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1487 infodir='${datarootdir}/info'
1488 htmldir='${docdir}'
1489 dvidir='${docdir}'
1490 pdfdir='${docdir}'
1491 psdir='${docdir}'
1492 libdir='${exec_prefix}/lib'
1493 localedir='${datarootdir}/locale'
1494 mandir='${datarootdir}/man'
1496 ac_prev=
1497 ac_dashdash=
1498 for ac_option
1500 # If the previous option needs an argument, assign it.
1501 if test -n "$ac_prev"; then
1502 eval $ac_prev=\$ac_option
1503 ac_prev=
1504 continue
1507 case $ac_option in
1508 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1509 *=) ac_optarg= ;;
1510 *) ac_optarg=yes ;;
1511 esac
1513 # Accept the important Cygnus configure options, so we can diagnose typos.
1515 case $ac_dashdash$ac_option in
1517 ac_dashdash=yes ;;
1519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1520 ac_prev=bindir ;;
1521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1522 bindir=$ac_optarg ;;
1524 -build | --build | --buil | --bui | --bu)
1525 ac_prev=build_alias ;;
1526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1527 build_alias=$ac_optarg ;;
1529 -cache-file | --cache-file | --cache-fil | --cache-fi \
1530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1531 ac_prev=cache_file ;;
1532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1534 cache_file=$ac_optarg ;;
1536 --config-cache | -C)
1537 cache_file=config.cache ;;
1539 -datadir | --datadir | --datadi | --datad)
1540 ac_prev=datadir ;;
1541 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1542 datadir=$ac_optarg ;;
1544 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1545 | --dataroo | --dataro | --datar)
1546 ac_prev=datarootdir ;;
1547 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1548 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1549 datarootdir=$ac_optarg ;;
1551 -disable-* | --disable-*)
1552 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1553 # Reject names that are not valid shell variable names.
1554 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1555 as_fn_error $? "invalid feature name: $ac_useropt"
1556 ac_useropt_orig=$ac_useropt
1557 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558 case $ac_user_opts in
1560 "enable_$ac_useropt"
1561 "*) ;;
1562 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1563 ac_unrecognized_sep=', ';;
1564 esac
1565 eval enable_$ac_useropt=no ;;
1567 -docdir | --docdir | --docdi | --doc | --do)
1568 ac_prev=docdir ;;
1569 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1570 docdir=$ac_optarg ;;
1572 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1573 ac_prev=dvidir ;;
1574 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1575 dvidir=$ac_optarg ;;
1577 -enable-* | --enable-*)
1578 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1579 # Reject names that are not valid shell variable names.
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1581 as_fn_error $? "invalid feature name: $ac_useropt"
1582 ac_useropt_orig=$ac_useropt
1583 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1584 case $ac_user_opts in
1586 "enable_$ac_useropt"
1587 "*) ;;
1588 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1589 ac_unrecognized_sep=', ';;
1590 esac
1591 eval enable_$ac_useropt=\$ac_optarg ;;
1593 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1594 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1595 | --exec | --exe | --ex)
1596 ac_prev=exec_prefix ;;
1597 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1598 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1599 | --exec=* | --exe=* | --ex=*)
1600 exec_prefix=$ac_optarg ;;
1602 -gas | --gas | --ga | --g)
1603 # Obsolete; use --with-gas.
1604 with_gas=yes ;;
1606 -help | --help | --hel | --he | -h)
1607 ac_init_help=long ;;
1608 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1609 ac_init_help=recursive ;;
1610 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1611 ac_init_help=short ;;
1613 -host | --host | --hos | --ho)
1614 ac_prev=host_alias ;;
1615 -host=* | --host=* | --hos=* | --ho=*)
1616 host_alias=$ac_optarg ;;
1618 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1619 ac_prev=htmldir ;;
1620 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1621 | --ht=*)
1622 htmldir=$ac_optarg ;;
1624 -includedir | --includedir | --includedi | --included | --include \
1625 | --includ | --inclu | --incl | --inc)
1626 ac_prev=includedir ;;
1627 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1628 | --includ=* | --inclu=* | --incl=* | --inc=*)
1629 includedir=$ac_optarg ;;
1631 -infodir | --infodir | --infodi | --infod | --info | --inf)
1632 ac_prev=infodir ;;
1633 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1634 infodir=$ac_optarg ;;
1636 -libdir | --libdir | --libdi | --libd)
1637 ac_prev=libdir ;;
1638 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1639 libdir=$ac_optarg ;;
1641 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1642 | --libexe | --libex | --libe)
1643 ac_prev=libexecdir ;;
1644 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1645 | --libexe=* | --libex=* | --libe=*)
1646 libexecdir=$ac_optarg ;;
1648 -localedir | --localedir | --localedi | --localed | --locale)
1649 ac_prev=localedir ;;
1650 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1651 localedir=$ac_optarg ;;
1653 -localstatedir | --localstatedir | --localstatedi | --localstated \
1654 | --localstate | --localstat | --localsta | --localst | --locals)
1655 ac_prev=localstatedir ;;
1656 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1657 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1658 localstatedir=$ac_optarg ;;
1660 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1661 ac_prev=mandir ;;
1662 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1663 mandir=$ac_optarg ;;
1665 -nfp | --nfp | --nf)
1666 # Obsolete; use --without-fp.
1667 with_fp=no ;;
1669 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1670 | --no-cr | --no-c | -n)
1671 no_create=yes ;;
1673 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1674 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1675 no_recursion=yes ;;
1677 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1678 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1679 | --oldin | --oldi | --old | --ol | --o)
1680 ac_prev=oldincludedir ;;
1681 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1682 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1683 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1684 oldincludedir=$ac_optarg ;;
1686 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1687 ac_prev=prefix ;;
1688 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1689 prefix=$ac_optarg ;;
1691 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1692 | --program-pre | --program-pr | --program-p)
1693 ac_prev=program_prefix ;;
1694 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1695 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1696 program_prefix=$ac_optarg ;;
1698 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1699 | --program-suf | --program-su | --program-s)
1700 ac_prev=program_suffix ;;
1701 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1702 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1703 program_suffix=$ac_optarg ;;
1705 -program-transform-name | --program-transform-name \
1706 | --program-transform-nam | --program-transform-na \
1707 | --program-transform-n | --program-transform- \
1708 | --program-transform | --program-transfor \
1709 | --program-transfo | --program-transf \
1710 | --program-trans | --program-tran \
1711 | --progr-tra | --program-tr | --program-t)
1712 ac_prev=program_transform_name ;;
1713 -program-transform-name=* | --program-transform-name=* \
1714 | --program-transform-nam=* | --program-transform-na=* \
1715 | --program-transform-n=* | --program-transform-=* \
1716 | --program-transform=* | --program-transfor=* \
1717 | --program-transfo=* | --program-transf=* \
1718 | --program-trans=* | --program-tran=* \
1719 | --progr-tra=* | --program-tr=* | --program-t=*)
1720 program_transform_name=$ac_optarg ;;
1722 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1723 ac_prev=pdfdir ;;
1724 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1725 pdfdir=$ac_optarg ;;
1727 -psdir | --psdir | --psdi | --psd | --ps)
1728 ac_prev=psdir ;;
1729 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1730 psdir=$ac_optarg ;;
1732 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1733 | -silent | --silent | --silen | --sile | --sil)
1734 silent=yes ;;
1736 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1737 ac_prev=sbindir ;;
1738 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1739 | --sbi=* | --sb=*)
1740 sbindir=$ac_optarg ;;
1742 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1743 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1744 | --sharedst | --shareds | --shared | --share | --shar \
1745 | --sha | --sh)
1746 ac_prev=sharedstatedir ;;
1747 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1748 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1749 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1750 | --sha=* | --sh=*)
1751 sharedstatedir=$ac_optarg ;;
1753 -site | --site | --sit)
1754 ac_prev=site ;;
1755 -site=* | --site=* | --sit=*)
1756 site=$ac_optarg ;;
1758 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1759 ac_prev=srcdir ;;
1760 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1761 srcdir=$ac_optarg ;;
1763 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1764 | --syscon | --sysco | --sysc | --sys | --sy)
1765 ac_prev=sysconfdir ;;
1766 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1767 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1768 sysconfdir=$ac_optarg ;;
1770 -target | --target | --targe | --targ | --tar | --ta | --t)
1771 ac_prev=target_alias ;;
1772 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1773 target_alias=$ac_optarg ;;
1775 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1776 verbose=yes ;;
1778 -version | --version | --versio | --versi | --vers | -V)
1779 ac_init_version=: ;;
1781 -with-* | --with-*)
1782 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1783 # Reject names that are not valid shell variable names.
1784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1785 as_fn_error $? "invalid package name: $ac_useropt"
1786 ac_useropt_orig=$ac_useropt
1787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1788 case $ac_user_opts in
1790 "with_$ac_useropt"
1791 "*) ;;
1792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1793 ac_unrecognized_sep=', ';;
1794 esac
1795 eval with_$ac_useropt=\$ac_optarg ;;
1797 -without-* | --without-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid package name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "with_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval with_$ac_useropt=no ;;
1813 --x)
1814 # Obsolete; use --with-x.
1815 with_x=yes ;;
1817 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1818 | --x-incl | --x-inc | --x-in | --x-i)
1819 ac_prev=x_includes ;;
1820 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1821 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1822 x_includes=$ac_optarg ;;
1824 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1825 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1826 ac_prev=x_libraries ;;
1827 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1828 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1829 x_libraries=$ac_optarg ;;
1831 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1832 Try \`$0 --help' for more information"
1835 *=*)
1836 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1837 # Reject names that are not valid shell variable names.
1838 case $ac_envvar in #(
1839 '' | [0-9]* | *[!_$as_cr_alnum]* )
1840 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1841 esac
1842 eval $ac_envvar=\$ac_optarg
1843 export $ac_envvar ;;
1846 # FIXME: should be removed in autoconf 3.0.
1847 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1848 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1849 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1850 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1853 esac
1854 done
1856 if test -n "$ac_prev"; then
1857 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1858 as_fn_error $? "missing argument to $ac_option"
1861 if test -n "$ac_unrecognized_opts"; then
1862 case $enable_option_checking in
1863 no) ;;
1864 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1865 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1866 esac
1869 # Check all directory arguments for consistency.
1870 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1871 datadir sysconfdir sharedstatedir localstatedir includedir \
1872 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1873 libdir localedir mandir
1875 eval ac_val=\$$ac_var
1876 # Remove trailing slashes.
1877 case $ac_val in
1878 */ )
1879 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1880 eval $ac_var=\$ac_val;;
1881 esac
1882 # Be sure to have absolute directory names.
1883 case $ac_val in
1884 [\\/$]* | ?:[\\/]* ) continue;;
1885 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1886 esac
1887 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1888 done
1890 # There might be people who depend on the old broken behavior: `$host'
1891 # used to hold the argument of --host etc.
1892 # FIXME: To remove some day.
1893 build=$build_alias
1894 host=$host_alias
1895 target=$target_alias
1897 # FIXME: To remove some day.
1898 if test "x$host_alias" != x; then
1899 if test "x$build_alias" = x; then
1900 cross_compiling=maybe
1901 elif test "x$build_alias" != "x$host_alias"; then
1902 cross_compiling=yes
1906 ac_tool_prefix=
1907 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1909 test "$silent" = yes && exec 6>/dev/null
1912 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1913 ac_ls_di=`ls -di .` &&
1914 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1915 as_fn_error $? "working directory cannot be determined"
1916 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1917 as_fn_error $? "pwd does not report name of working directory"
1920 # Find the source files, if location was not specified.
1921 if test -z "$srcdir"; then
1922 ac_srcdir_defaulted=yes
1923 # Try the directory containing this script, then the parent directory.
1924 ac_confdir=`$as_dirname -- "$as_myself" ||
1925 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1926 X"$as_myself" : 'X\(//\)[^/]' \| \
1927 X"$as_myself" : 'X\(//\)$' \| \
1928 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1929 $as_echo X"$as_myself" |
1930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1931 s//\1/
1934 /^X\(\/\/\)[^/].*/{
1935 s//\1/
1938 /^X\(\/\/\)$/{
1939 s//\1/
1942 /^X\(\/\).*/{
1943 s//\1/
1946 s/.*/./; q'`
1947 srcdir=$ac_confdir
1948 if test ! -r "$srcdir/$ac_unique_file"; then
1949 srcdir=..
1951 else
1952 ac_srcdir_defaulted=no
1954 if test ! -r "$srcdir/$ac_unique_file"; then
1955 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1956 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1958 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1959 ac_abs_confdir=`(
1960 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1961 pwd)`
1962 # When building in place, set srcdir=.
1963 if test "$ac_abs_confdir" = "$ac_pwd"; then
1964 srcdir=.
1966 # Remove unnecessary trailing slashes from srcdir.
1967 # Double slashes in file names in object file debugging info
1968 # mess up M-x gdb in Emacs.
1969 case $srcdir in
1970 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1971 esac
1972 for ac_var in $ac_precious_vars; do
1973 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1974 eval ac_env_${ac_var}_value=\$${ac_var}
1975 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1976 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1977 done
1980 # Report the --help message.
1982 if test "$ac_init_help" = "long"; then
1983 # Omit some internal or obsolete options to make the list less imposing.
1984 # This message is too long to be a string in the A/UX 3.1 sh.
1985 cat <<_ACEOF
1986 \`configure' configures Wine 1.7.29 to adapt to many kinds of systems.
1988 Usage: $0 [OPTION]... [VAR=VALUE]...
1990 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1991 VAR=VALUE. See below for descriptions of some of the useful variables.
1993 Defaults for the options are specified in brackets.
1995 Configuration:
1996 -h, --help display this help and exit
1997 --help=short display options specific to this package
1998 --help=recursive display the short help of all the included packages
1999 -V, --version display version information and exit
2000 -q, --quiet, --silent do not print \`checking ...' messages
2001 --cache-file=FILE cache test results in FILE [disabled]
2002 -C, --config-cache alias for \`--cache-file=config.cache'
2003 -n, --no-create do not create output files
2004 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2006 Installation directories:
2007 --prefix=PREFIX install architecture-independent files in PREFIX
2008 [$ac_default_prefix]
2009 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2010 [PREFIX]
2012 By default, \`make install' will install all the files in
2013 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2014 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2015 for instance \`--prefix=\$HOME'.
2017 For better control, use the options below.
2019 Fine tuning of the installation directories:
2020 --bindir=DIR user executables [EPREFIX/bin]
2021 --sbindir=DIR system admin executables [EPREFIX/sbin]
2022 --libexecdir=DIR program executables [EPREFIX/libexec]
2023 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2024 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2025 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2026 --libdir=DIR object code libraries [EPREFIX/lib]
2027 --includedir=DIR C header files [PREFIX/include]
2028 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2029 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2030 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2031 --infodir=DIR info documentation [DATAROOTDIR/info]
2032 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2033 --mandir=DIR man documentation [DATAROOTDIR/man]
2034 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2035 --htmldir=DIR html documentation [DOCDIR]
2036 --dvidir=DIR dvi documentation [DOCDIR]
2037 --pdfdir=DIR pdf documentation [DOCDIR]
2038 --psdir=DIR ps documentation [DOCDIR]
2039 _ACEOF
2041 cat <<\_ACEOF
2043 X features:
2044 --x-includes=DIR X include files are in DIR
2045 --x-libraries=DIR X library files are in DIR
2047 System types:
2048 --build=BUILD configure for building on BUILD [guessed]
2049 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2050 _ACEOF
2053 if test -n "$ac_init_help"; then
2054 case $ac_init_help in
2055 short | recursive ) echo "Configuration of Wine 1.7.29:";;
2056 esac
2057 cat <<\_ACEOF
2059 Optional Features:
2060 --disable-option-checking ignore unrecognized --enable/--with options
2061 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2062 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2063 --disable-win16 do not include Win16 support
2064 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2065 binaries)
2066 --disable-tests do not build the regression tests
2067 --enable-maintainer-mode
2068 enable maintainer-specific build rules
2069 --disable-largefile omit support for large files
2071 Optional Packages:
2072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2074 --without-alsa do not use the Alsa sound support
2075 --without-capi do not use CAPI (ISDN support)
2076 --without-cms do not use CMS (color management support)
2077 --without-coreaudio do not use the CoreAudio sound support
2078 --without-cups do not use CUPS
2079 --without-curses do not use (n)curses
2080 --without-dbus do not use DBus (dynamic device support)
2081 --without-fontconfig do not use fontconfig
2082 --without-freetype do not use the FreeType library
2083 --without-gettext do not use gettext
2084 --with-gettextpo use the GetTextPO library to rebuild po files
2085 --without-gphoto do not use gphoto (Digital Camera support)
2086 --without-glu do not use the GLU library
2087 --without-gnutls do not use GnuTLS (schannel support)
2088 --without-gsm do not use libgsm (GSM 06.10 codec support)
2089 --without-gstreamer do not use GStreamer (codecs support)
2090 --without-hal do not use HAL (dynamic device support)
2091 --without-jpeg do not use JPEG
2092 --without-ldap do not use LDAP
2093 --without-mpg123 do not use the mpg123 library
2094 --without-netapi do not use the Samba NetAPI library
2095 --without-openal do not use OpenAL
2096 --without-opencl do not use OpenCL
2097 --without-opengl do not use OpenGL
2098 --without-osmesa do not use the OSMesa library
2099 --without-oss do not use the OSS sound support
2100 --without-pcap do not use the Packet Capture library
2101 --without-png do not use PNG
2102 --without-pthread do not use the pthread library
2103 --without-sane do not use SANE (scanner support)
2104 --without-tiff do not use TIFF
2105 --without-v4l do not use v4l1 (v4l support)
2106 --without-xcomposite do not use the Xcomposite extension
2107 --without-xcursor do not use the Xcursor extension
2108 --without-xinerama do not use Xinerama (multi-monitor support)
2109 --without-xinput do not use the Xinput extension
2110 --without-xinput2 do not use the Xinput 2 extension
2111 --without-xml do not use XML
2112 --without-xrandr do not use Xrandr (resolution changes)
2113 --without-xrender do not use the Xrender extension
2114 --without-xshape do not use the Xshape extension
2115 --without-xshm do not use XShm (shared memory extension)
2116 --without-xslt do not use XSLT
2117 --without-xxf86vm do not use XFree video mode extension
2118 --without-zlib do not use Zlib (data compression)
2119 --with-wine-tools=DIR use Wine tools from directory DIR
2120 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2121 --with-x use the X Window System
2123 Some influential environment variables:
2124 CC C compiler command
2125 CFLAGS C compiler flags
2126 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2127 nonstandard directory <lib dir>
2128 LIBS libraries to pass to the linker, e.g. -l<library>
2129 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2130 you have headers in a nonstandard directory <include dir>
2131 CXX C++ compiler command
2132 CXXFLAGS C++ compiler flags
2133 CPP C preprocessor
2134 XMKMF Path to xmkmf, Makefile generator for X Window System
2135 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2136 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2137 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2138 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2139 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2140 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2141 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2142 HAL_LIBS Linker flags for hal, overriding pkg-config
2143 GNUTLS_CFLAGS
2144 C compiler flags for gnutls, overriding pkg-config
2145 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2146 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2147 SANE_LIBS Linker flags for libsane, overriding pkg-config
2148 GPHOTO2_CFLAGS
2149 C compiler flags for libgphoto2, overriding pkg-config
2150 GPHOTO2_LIBS
2151 Linker flags for libgphoto2, overriding pkg-config
2152 GPHOTO2_PORT_CFLAGS
2153 C compiler flags for libgphoto2_port, overriding pkg-config
2154 GPHOTO2_PORT_LIBS
2155 Linker flags for libgphoto2_port, overriding pkg-config
2156 LCMS2_CFLAGS
2157 C compiler flags for lcms2, overriding pkg-config
2158 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2159 FREETYPE_CFLAGS
2160 C compiler flags for freetype2, overriding pkg-config
2161 FREETYPE_LIBS
2162 Linker flags for freetype2, overriding pkg-config
2163 GSTREAMER_CFLAGS
2164 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2165 GSTREAMER_LIBS
2166 Linker flags for gstreamer-app-0.10, overriding pkg-config
2167 CAPI20_CFLAGS
2168 C compiler flags for capi20, overriding pkg-config
2169 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2170 FONTCONFIG_CFLAGS
2171 C compiler flags for fontconfig, overriding pkg-config
2172 FONTCONFIG_LIBS
2173 Linker flags for fontconfig, overriding pkg-config
2174 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2175 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2176 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2177 PNG_LIBS Linker flags for libpng, overriding pkg-config
2178 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2179 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2180 MPG123_CFLAGS
2181 C compiler flags for libmpg123, overriding pkg-config
2182 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2184 Use these variables to override the choices made by `configure' or to help
2185 it to find libraries and programs with nonstandard names/locations.
2187 Report bugs to <wine-devel@winehq.org>.
2188 Wine home page: <http://www.winehq.org>.
2189 _ACEOF
2190 ac_status=$?
2193 if test "$ac_init_help" = "recursive"; then
2194 # If there are subdirs, report their specific --help.
2195 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2196 test -d "$ac_dir" ||
2197 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2198 continue
2199 ac_builddir=.
2201 case "$ac_dir" in
2202 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2204 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2205 # A ".." for each directory in $ac_dir_suffix.
2206 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2207 case $ac_top_builddir_sub in
2208 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2209 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2210 esac ;;
2211 esac
2212 ac_abs_top_builddir=$ac_pwd
2213 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2214 # for backward compatibility:
2215 ac_top_builddir=$ac_top_build_prefix
2217 case $srcdir in
2218 .) # We are building in place.
2219 ac_srcdir=.
2220 ac_top_srcdir=$ac_top_builddir_sub
2221 ac_abs_top_srcdir=$ac_pwd ;;
2222 [\\/]* | ?:[\\/]* ) # Absolute name.
2223 ac_srcdir=$srcdir$ac_dir_suffix;
2224 ac_top_srcdir=$srcdir
2225 ac_abs_top_srcdir=$srcdir ;;
2226 *) # Relative name.
2227 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2228 ac_top_srcdir=$ac_top_build_prefix$srcdir
2229 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2230 esac
2231 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2233 cd "$ac_dir" || { ac_status=$?; continue; }
2234 # Check for guested configure.
2235 if test -f "$ac_srcdir/configure.gnu"; then
2236 echo &&
2237 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2238 elif test -f "$ac_srcdir/configure"; then
2239 echo &&
2240 $SHELL "$ac_srcdir/configure" --help=recursive
2241 else
2242 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2243 fi || ac_status=$?
2244 cd "$ac_pwd" || { ac_status=$?; break; }
2245 done
2248 test -n "$ac_init_help" && exit $ac_status
2249 if $ac_init_version; then
2250 cat <<\_ACEOF
2251 Wine configure 1.7.29
2252 generated by GNU Autoconf 2.69
2254 Copyright (C) 2012 Free Software Foundation, Inc.
2255 This configure script is free software; the Free Software Foundation
2256 gives unlimited permission to copy, distribute and modify it.
2257 _ACEOF
2258 exit
2261 ## ------------------------ ##
2262 ## Autoconf initialization. ##
2263 ## ------------------------ ##
2265 # ac_fn_c_try_compile LINENO
2266 # --------------------------
2267 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2268 ac_fn_c_try_compile ()
2270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2271 rm -f conftest.$ac_objext
2272 if { { ac_try="$ac_compile"
2273 case "(($ac_try" in
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2276 esac
2277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2278 $as_echo "$ac_try_echo"; } >&5
2279 (eval "$ac_compile") 2>conftest.err
2280 ac_status=$?
2281 if test -s conftest.err; then
2282 grep -v '^ *+' conftest.err >conftest.er1
2283 cat conftest.er1 >&5
2284 mv -f conftest.er1 conftest.err
2286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2287 test $ac_status = 0; } && {
2288 test -z "$ac_c_werror_flag" ||
2289 test ! -s conftest.err
2290 } && test -s conftest.$ac_objext; then :
2291 ac_retval=0
2292 else
2293 $as_echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.$ac_ext >&5
2296 ac_retval=1
2298 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2299 as_fn_set_status $ac_retval
2301 } # ac_fn_c_try_compile
2303 # ac_fn_cxx_try_compile LINENO
2304 # ----------------------------
2305 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2306 ac_fn_cxx_try_compile ()
2308 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2309 rm -f conftest.$ac_objext
2310 if { { ac_try="$ac_compile"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_compile") 2>conftest.err
2318 ac_status=$?
2319 if test -s conftest.err; then
2320 grep -v '^ *+' conftest.err >conftest.er1
2321 cat conftest.er1 >&5
2322 mv -f conftest.er1 conftest.err
2324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test $ac_status = 0; } && {
2326 test -z "$ac_cxx_werror_flag" ||
2327 test ! -s conftest.err
2328 } && test -s conftest.$ac_objext; then :
2329 ac_retval=0
2330 else
2331 $as_echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2334 ac_retval=1
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2337 as_fn_set_status $ac_retval
2339 } # ac_fn_cxx_try_compile
2341 # ac_fn_c_try_link LINENO
2342 # -----------------------
2343 # Try to link conftest.$ac_ext, and return whether this succeeded.
2344 ac_fn_c_try_link ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 rm -f conftest.$ac_objext conftest$ac_exeext
2348 if { { ac_try="$ac_link"
2349 case "(($ac_try" in
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2352 esac
2353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2354 $as_echo "$ac_try_echo"; } >&5
2355 (eval "$ac_link") 2>conftest.err
2356 ac_status=$?
2357 if test -s conftest.err; then
2358 grep -v '^ *+' conftest.err >conftest.er1
2359 cat conftest.er1 >&5
2360 mv -f conftest.er1 conftest.err
2362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test $ac_status = 0; } && {
2364 test -z "$ac_c_werror_flag" ||
2365 test ! -s conftest.err
2366 } && test -s conftest$ac_exeext && {
2367 test "$cross_compiling" = yes ||
2368 test -x conftest$ac_exeext
2369 }; then :
2370 ac_retval=0
2371 else
2372 $as_echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.$ac_ext >&5
2375 ac_retval=1
2377 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2378 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2379 # interfere with the next link command; also delete a directory that is
2380 # left behind by Apple's compiler. We do this before executing the actions.
2381 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status $ac_retval
2385 } # ac_fn_c_try_link
2387 # ac_fn_c_try_cpp LINENO
2388 # ----------------------
2389 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2390 ac_fn_c_try_cpp ()
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 if { { ac_try="$ac_cpp conftest.$ac_ext"
2394 case "(($ac_try" in
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2397 esac
2398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2401 ac_status=$?
2402 if test -s conftest.err; then
2403 grep -v '^ *+' conftest.err >conftest.er1
2404 cat conftest.er1 >&5
2405 mv -f conftest.er1 conftest.err
2407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 test $ac_status = 0; } > conftest.i && {
2409 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2410 test ! -s conftest.err
2411 }; then :
2412 ac_retval=0
2413 else
2414 $as_echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2417 ac_retval=1
2419 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2420 as_fn_set_status $ac_retval
2422 } # ac_fn_c_try_cpp
2424 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2425 # -------------------------------------------------------
2426 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2427 # the include files in INCLUDES and setting the cache variable VAR
2428 # accordingly.
2429 ac_fn_c_check_header_mongrel ()
2431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2432 if eval \${$3+:} false; then :
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2434 $as_echo_n "checking for $2... " >&6; }
2435 if eval \${$3+:} false; then :
2436 $as_echo_n "(cached) " >&6
2438 eval ac_res=\$$3
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2440 $as_echo "$ac_res" >&6; }
2441 else
2442 # Is the header compilable?
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2444 $as_echo_n "checking $2 usability... " >&6; }
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2448 #include <$2>
2449 _ACEOF
2450 if ac_fn_c_try_compile "$LINENO"; then :
2451 ac_header_compiler=yes
2452 else
2453 ac_header_compiler=no
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2457 $as_echo "$ac_header_compiler" >&6; }
2459 # Is the header present?
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2461 $as_echo_n "checking $2 presence... " >&6; }
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 #include <$2>
2465 _ACEOF
2466 if ac_fn_c_try_cpp "$LINENO"; then :
2467 ac_header_preproc=yes
2468 else
2469 ac_header_preproc=no
2471 rm -f conftest.err conftest.i conftest.$ac_ext
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2473 $as_echo "$ac_header_preproc" >&6; }
2475 # So? What about this header?
2476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2477 yes:no: )
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2479 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2481 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2483 no:yes:* )
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2485 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2487 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2489 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2491 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2493 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2494 ( $as_echo "## ------------------------------------ ##
2495 ## Report this to wine-devel@winehq.org ##
2496 ## ------------------------------------ ##"
2497 ) | sed "s/^/$as_me: WARNING: /" >&2
2499 esac
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501 $as_echo_n "checking for $2... " >&6; }
2502 if eval \${$3+:} false; then :
2503 $as_echo_n "(cached) " >&6
2504 else
2505 eval "$3=\$ac_header_compiler"
2507 eval ac_res=\$$3
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; }
2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 } # ac_fn_c_check_header_mongrel
2515 # ac_fn_c_try_run LINENO
2516 # ----------------------
2517 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2518 # that executables *can* be run.
2519 ac_fn_c_try_run ()
2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2522 if { { ac_try="$ac_link"
2523 case "(($ac_try" in
2524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525 *) ac_try_echo=$ac_try;;
2526 esac
2527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 $as_echo "$ac_try_echo"; } >&5
2529 (eval "$ac_link") 2>&5
2530 ac_status=$?
2531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2532 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2533 { { case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_try") 2>&5
2540 ac_status=$?
2541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2542 test $ac_status = 0; }; }; then :
2543 ac_retval=0
2544 else
2545 $as_echo "$as_me: program exited with status $ac_status" >&5
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2549 ac_retval=$ac_status
2551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_try_run
2557 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2558 # -------------------------------------------------------
2559 # Tests whether HEADER exists and can be compiled using the include files in
2560 # INCLUDES, setting the cache variable VAR accordingly.
2561 ac_fn_c_check_header_compile ()
2563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2565 $as_echo_n "checking for $2... " >&6; }
2566 if eval \${$3+:} false; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2572 #include <$2>
2573 _ACEOF
2574 if ac_fn_c_try_compile "$LINENO"; then :
2575 eval "$3=yes"
2576 else
2577 eval "$3=no"
2579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2581 eval ac_res=\$$3
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2583 $as_echo "$ac_res" >&6; }
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 } # ac_fn_c_check_header_compile
2588 # ac_fn_c_check_func LINENO FUNC VAR
2589 # ----------------------------------
2590 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2591 ac_fn_c_check_func ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \${$3+:} false; then :
2597 $as_echo_n "(cached) " >&6
2598 else
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2601 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2603 #define $2 innocuous_$2
2605 /* System header to define __stub macros and hopefully few prototypes,
2606 which can conflict with char $2 (); below.
2607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2608 <limits.h> exists even on freestanding compilers. */
2610 #ifdef __STDC__
2611 # include <limits.h>
2612 #else
2613 # include <assert.h>
2614 #endif
2616 #undef $2
2618 /* Override any GCC internal prototype to avoid an error.
2619 Use char because int might match the return type of a GCC
2620 builtin and then its argument prototype would still apply. */
2621 #ifdef __cplusplus
2622 extern "C"
2623 #endif
2624 char $2 ();
2625 /* The GNU C library defines this for functions which it implements
2626 to always fail with ENOSYS. Some functions are actually named
2627 something starting with __ and the normal name is an alias. */
2628 #if defined __stub_$2 || defined __stub___$2
2629 choke me
2630 #endif
2633 main ()
2635 return $2 ();
2637 return 0;
2639 _ACEOF
2640 if ac_fn_c_try_link "$LINENO"; then :
2641 eval "$3=yes"
2642 else
2643 eval "$3=no"
2645 rm -f core conftest.err conftest.$ac_objext \
2646 conftest$ac_exeext conftest.$ac_ext
2648 eval ac_res=\$$3
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 } # ac_fn_c_check_func
2655 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2656 # ----------------------------------------------------
2657 # Tries to find if the field MEMBER exists in type AGGR, after including
2658 # INCLUDES, setting cache variable VAR accordingly.
2659 ac_fn_c_check_member ()
2661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2663 $as_echo_n "checking for $2.$3... " >&6; }
2664 if eval \${$4+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2671 main ()
2673 static $2 ac_aggr;
2674 if (ac_aggr.$3)
2675 return 0;
2677 return 0;
2679 _ACEOF
2680 if ac_fn_c_try_compile "$LINENO"; then :
2681 eval "$4=yes"
2682 else
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2687 main ()
2689 static $2 ac_aggr;
2690 if (sizeof ac_aggr.$3)
2691 return 0;
2693 return 0;
2695 _ACEOF
2696 if ac_fn_c_try_compile "$LINENO"; then :
2697 eval "$4=yes"
2698 else
2699 eval "$4=no"
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705 eval ac_res=\$$4
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_member
2712 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2713 # -------------------------------------------
2714 # Tests whether TYPE exists after having included INCLUDES, setting cache
2715 # variable VAR accordingly.
2716 ac_fn_c_check_type ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2720 $as_echo_n "checking for $2... " >&6; }
2721 if eval \${$3+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 eval "$3=no"
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 main ()
2731 if (sizeof ($2))
2732 return 0;
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2739 /* end confdefs.h. */
2742 main ()
2744 if (sizeof (($2)))
2745 return 0;
2747 return 0;
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2752 else
2753 eval "$3=yes"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 eval ac_res=\$$3
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2761 $as_echo "$ac_res" >&6; }
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 } # ac_fn_c_check_type
2765 cat >config.log <<_ACEOF
2766 This file contains any messages produced by compilers while
2767 running configure, to aid debugging if configure makes a mistake.
2769 It was created by Wine $as_me 1.7.29, which was
2770 generated by GNU Autoconf 2.69. Invocation command line was
2772 $ $0 $@
2774 _ACEOF
2775 exec 5>>config.log
2777 cat <<_ASUNAME
2778 ## --------- ##
2779 ## Platform. ##
2780 ## --------- ##
2782 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2783 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2784 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2785 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2786 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2788 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2789 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2791 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2792 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2793 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2794 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2795 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2796 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2797 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2799 _ASUNAME
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2804 IFS=$as_save_IFS
2805 test -z "$as_dir" && as_dir=.
2806 $as_echo "PATH: $as_dir"
2807 done
2808 IFS=$as_save_IFS
2810 } >&5
2812 cat >&5 <<_ACEOF
2815 ## ----------- ##
2816 ## Core tests. ##
2817 ## ----------- ##
2819 _ACEOF
2822 # Keep a trace of the command line.
2823 # Strip out --no-create and --no-recursion so they do not pile up.
2824 # Strip out --silent because we don't want to record it for future runs.
2825 # Also quote any args containing shell meta-characters.
2826 # Make two passes to allow for proper duplicate-argument suppression.
2827 ac_configure_args=
2828 ac_configure_args0=
2829 ac_configure_args1=
2830 ac_must_keep_next=false
2831 for ac_pass in 1 2
2833 for ac_arg
2835 case $ac_arg in
2836 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2838 | -silent | --silent | --silen | --sile | --sil)
2839 continue ;;
2840 *\'*)
2841 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2842 esac
2843 case $ac_pass in
2844 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2846 as_fn_append ac_configure_args1 " '$ac_arg'"
2847 if test $ac_must_keep_next = true; then
2848 ac_must_keep_next=false # Got value, back to normal.
2849 else
2850 case $ac_arg in
2851 *=* | --config-cache | -C | -disable-* | --disable-* \
2852 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2853 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2854 | -with-* | --with-* | -without-* | --without-* | --x)
2855 case "$ac_configure_args0 " in
2856 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2857 esac
2859 -* ) ac_must_keep_next=true ;;
2860 esac
2862 as_fn_append ac_configure_args " '$ac_arg'"
2864 esac
2865 done
2866 done
2867 { ac_configure_args0=; unset ac_configure_args0;}
2868 { ac_configure_args1=; unset ac_configure_args1;}
2870 # When interrupted or exit'd, cleanup temporary files, and complete
2871 # config.log. We remove comments because anyway the quotes in there
2872 # would cause problems or look ugly.
2873 # WARNING: Use '\'' to represent an apostrophe within the trap.
2874 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2875 trap 'exit_status=$?
2876 # Save into config.log some information that might help in debugging.
2878 echo
2880 $as_echo "## ---------------- ##
2881 ## Cache variables. ##
2882 ## ---------------- ##"
2883 echo
2884 # The following way of writing the cache mishandles newlines in values,
2886 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2887 eval ac_val=\$$ac_var
2888 case $ac_val in #(
2889 *${as_nl}*)
2890 case $ac_var in #(
2891 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2892 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2893 esac
2894 case $ac_var in #(
2895 _ | IFS | as_nl) ;; #(
2896 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2897 *) { eval $ac_var=; unset $ac_var;} ;;
2898 esac ;;
2899 esac
2900 done
2901 (set) 2>&1 |
2902 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2903 *${as_nl}ac_space=\ *)
2904 sed -n \
2905 "s/'\''/'\''\\\\'\'''\''/g;
2906 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2907 ;; #(
2909 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2911 esac |
2912 sort
2914 echo
2916 $as_echo "## ----------------- ##
2917 ## Output variables. ##
2918 ## ----------------- ##"
2919 echo
2920 for ac_var in $ac_subst_vars
2922 eval ac_val=\$$ac_var
2923 case $ac_val in
2924 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 esac
2926 $as_echo "$ac_var='\''$ac_val'\''"
2927 done | sort
2928 echo
2930 if test -n "$ac_subst_files"; then
2931 $as_echo "## ------------------- ##
2932 ## File substitutions. ##
2933 ## ------------------- ##"
2934 echo
2935 for ac_var in $ac_subst_files
2937 eval ac_val=\$$ac_var
2938 case $ac_val in
2939 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2940 esac
2941 $as_echo "$ac_var='\''$ac_val'\''"
2942 done | sort
2943 echo
2946 if test -s confdefs.h; then
2947 $as_echo "## ----------- ##
2948 ## confdefs.h. ##
2949 ## ----------- ##"
2950 echo
2951 cat confdefs.h
2952 echo
2954 test "$ac_signal" != 0 &&
2955 $as_echo "$as_me: caught signal $ac_signal"
2956 $as_echo "$as_me: exit $exit_status"
2957 } >&5
2958 rm -f core *.core core.conftest.* &&
2959 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2960 exit $exit_status
2962 for ac_signal in 1 2 13 15; do
2963 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2964 done
2965 ac_signal=0
2967 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2968 rm -f -r conftest* confdefs.h
2970 $as_echo "/* confdefs.h */" > confdefs.h
2972 # Predefined preprocessor variables.
2974 cat >>confdefs.h <<_ACEOF
2975 #define PACKAGE_NAME "$PACKAGE_NAME"
2976 _ACEOF
2978 cat >>confdefs.h <<_ACEOF
2979 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2980 _ACEOF
2982 cat >>confdefs.h <<_ACEOF
2983 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2984 _ACEOF
2986 cat >>confdefs.h <<_ACEOF
2987 #define PACKAGE_STRING "$PACKAGE_STRING"
2988 _ACEOF
2990 cat >>confdefs.h <<_ACEOF
2991 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2992 _ACEOF
2994 cat >>confdefs.h <<_ACEOF
2995 #define PACKAGE_URL "$PACKAGE_URL"
2996 _ACEOF
2999 # Let the site file select an alternate cache file if it wants to.
3000 # Prefer an explicitly selected file to automatically selected ones.
3001 ac_site_file1=NONE
3002 ac_site_file2=NONE
3003 if test -n "$CONFIG_SITE"; then
3004 # We do not want a PATH search for config.site.
3005 case $CONFIG_SITE in #((
3006 -*) ac_site_file1=./$CONFIG_SITE;;
3007 */*) ac_site_file1=$CONFIG_SITE;;
3008 *) ac_site_file1=./$CONFIG_SITE;;
3009 esac
3010 elif test "x$prefix" != xNONE; then
3011 ac_site_file1=$prefix/share/config.site
3012 ac_site_file2=$prefix/etc/config.site
3013 else
3014 ac_site_file1=$ac_default_prefix/share/config.site
3015 ac_site_file2=$ac_default_prefix/etc/config.site
3017 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3019 test "x$ac_site_file" = xNONE && continue
3020 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3022 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3023 sed 's/^/| /' "$ac_site_file" >&5
3024 . "$ac_site_file" \
3025 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027 as_fn_error $? "failed to load site script $ac_site_file
3028 See \`config.log' for more details" "$LINENO" 5; }
3030 done
3032 if test -r "$cache_file"; then
3033 # Some versions of bash will fail to source /dev/null (special files
3034 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3035 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3037 $as_echo "$as_me: loading cache $cache_file" >&6;}
3038 case $cache_file in
3039 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3040 *) . "./$cache_file";;
3041 esac
3043 else
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3045 $as_echo "$as_me: creating cache $cache_file" >&6;}
3046 >$cache_file
3049 # Check that the precious variables saved in the cache have kept the same
3050 # value.
3051 ac_cache_corrupted=false
3052 for ac_var in $ac_precious_vars; do
3053 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3054 eval ac_new_set=\$ac_env_${ac_var}_set
3055 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3056 eval ac_new_val=\$ac_env_${ac_var}_value
3057 case $ac_old_set,$ac_new_set in
3058 set,)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3060 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3061 ac_cache_corrupted=: ;;
3062 ,set)
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3064 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3065 ac_cache_corrupted=: ;;
3066 ,);;
3068 if test "x$ac_old_val" != "x$ac_new_val"; then
3069 # differences in whitespace do not lead to failure.
3070 ac_old_val_w=`echo x $ac_old_val`
3071 ac_new_val_w=`echo x $ac_new_val`
3072 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3074 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3075 ac_cache_corrupted=:
3076 else
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3078 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3079 eval $ac_var=\$ac_old_val
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3082 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3084 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3085 fi;;
3086 esac
3087 # Pass precious variables to config.status.
3088 if test "$ac_new_set" = set; then
3089 case $ac_new_val in
3090 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3091 *) ac_arg=$ac_var=$ac_new_val ;;
3092 esac
3093 case " $ac_configure_args " in
3094 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3095 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3096 esac
3098 done
3099 if $ac_cache_corrupted; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3103 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3104 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3106 ## -------------------- ##
3107 ## Main body of script. ##
3108 ## -------------------- ##
3110 ac_ext=c
3111 ac_cpp='$CPP $CPPFLAGS'
3112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3118 ac_config_headers="$ac_config_headers include/config.h"
3120 ac_aux_dir=
3121 for ac_dir in tools "$srcdir"/tools; do
3122 if test -f "$ac_dir/install-sh"; then
3123 ac_aux_dir=$ac_dir
3124 ac_install_sh="$ac_aux_dir/install-sh -c"
3125 break
3126 elif test -f "$ac_dir/install.sh"; then
3127 ac_aux_dir=$ac_dir
3128 ac_install_sh="$ac_aux_dir/install.sh -c"
3129 break
3130 elif test -f "$ac_dir/shtool"; then
3131 ac_aux_dir=$ac_dir
3132 ac_install_sh="$ac_aux_dir/shtool install -c"
3133 break
3135 done
3136 if test -z "$ac_aux_dir"; then
3137 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3140 # These three variables are undocumented and unsupported,
3141 # and are intended to be withdrawn in a future Autoconf release.
3142 # They can cause serious problems if a builder's source tree is in a directory
3143 # whose full name contains unusual characters.
3144 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3145 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3146 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3150 libwine_version="1.0"
3154 # Check whether --enable-win16 was given.
3155 if test "${enable_win16+set}" = set; then :
3156 enableval=$enable_win16;
3159 # Check whether --enable-win64 was given.
3160 if test "${enable_win64+set}" = set; then :
3161 enableval=$enable_win64;
3164 # Check whether --enable-tests was given.
3165 if test "${enable_tests+set}" = set; then :
3166 enableval=$enable_tests;
3169 # Check whether --enable-maintainer-mode was given.
3170 if test "${enable_maintainer_mode+set}" = set; then :
3171 enableval=$enable_maintainer_mode;
3176 # Check whether --with-alsa was given.
3177 if test "${with_alsa+set}" = set; then :
3178 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3182 # Check whether --with-capi was given.
3183 if test "${with_capi+set}" = set; then :
3184 withval=$with_capi;
3188 # Check whether --with-cms was given.
3189 if test "${with_cms+set}" = set; then :
3190 withval=$with_cms;
3194 # Check whether --with-coreaudio was given.
3195 if test "${with_coreaudio+set}" = set; then :
3196 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3200 # Check whether --with-cups was given.
3201 if test "${with_cups+set}" = set; then :
3202 withval=$with_cups;
3206 # Check whether --with-curses was given.
3207 if test "${with_curses+set}" = set; then :
3208 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3212 # Check whether --with-dbus was given.
3213 if test "${with_dbus+set}" = set; then :
3214 withval=$with_dbus;
3218 # Check whether --with-fontconfig was given.
3219 if test "${with_fontconfig+set}" = set; then :
3220 withval=$with_fontconfig;
3224 # Check whether --with-freetype was given.
3225 if test "${with_freetype+set}" = set; then :
3226 withval=$with_freetype;
3230 # Check whether --with-gettext was given.
3231 if test "${with_gettext+set}" = set; then :
3232 withval=$with_gettext;
3236 # Check whether --with-gettextpo was given.
3237 if test "${with_gettextpo+set}" = set; then :
3238 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3242 # Check whether --with-gphoto was given.
3243 if test "${with_gphoto+set}" = set; then :
3244 withval=$with_gphoto;
3248 # Check whether --with-glu was given.
3249 if test "${with_glu+set}" = set; then :
3250 withval=$with_glu;
3254 # Check whether --with-gnutls was given.
3255 if test "${with_gnutls+set}" = set; then :
3256 withval=$with_gnutls;
3260 # Check whether --with-gsm was given.
3261 if test "${with_gsm+set}" = set; then :
3262 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3266 # Check whether --with-gstreamer was given.
3267 if test "${with_gstreamer+set}" = set; then :
3268 withval=$with_gstreamer;
3272 # Check whether --with-hal was given.
3273 if test "${with_hal+set}" = set; then :
3274 withval=$with_hal;
3278 # Check whether --with-jpeg was given.
3279 if test "${with_jpeg+set}" = set; then :
3280 withval=$with_jpeg;
3284 # Check whether --with-ldap was given.
3285 if test "${with_ldap+set}" = set; then :
3286 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3290 # Check whether --with-mpg123 was given.
3291 if test "${with_mpg123+set}" = set; then :
3292 withval=$with_mpg123;
3296 # Check whether --with-netapi was given.
3297 if test "${with_netapi+set}" = set; then :
3298 withval=$with_netapi;
3302 # Check whether --with-openal was given.
3303 if test "${with_openal+set}" = set; then :
3304 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3308 # Check whether --with-opencl was given.
3309 if test "${with_opencl+set}" = set; then :
3310 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3314 # Check whether --with-opengl was given.
3315 if test "${with_opengl+set}" = set; then :
3316 withval=$with_opengl;
3320 # Check whether --with-osmesa was given.
3321 if test "${with_osmesa+set}" = set; then :
3322 withval=$with_osmesa;
3326 # Check whether --with-oss was given.
3327 if test "${with_oss+set}" = set; then :
3328 withval=$with_oss;
3332 # Check whether --with-pcap was given.
3333 if test "${with_pcap+set}" = set; then :
3334 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3338 # Check whether --with-png was given.
3339 if test "${with_png+set}" = set; then :
3340 withval=$with_png;
3344 # Check whether --with-pthread was given.
3345 if test "${with_pthread+set}" = set; then :
3346 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3350 # Check whether --with-sane was given.
3351 if test "${with_sane+set}" = set; then :
3352 withval=$with_sane;
3356 # Check whether --with-tiff was given.
3357 if test "${with_tiff+set}" = set; then :
3358 withval=$with_tiff;
3362 # Check whether --with-v4l was given.
3363 if test "${with_v4l+set}" = set; then :
3364 withval=$with_v4l;
3368 # Check whether --with-xcomposite was given.
3369 if test "${with_xcomposite+set}" = set; then :
3370 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3374 # Check whether --with-xcursor was given.
3375 if test "${with_xcursor+set}" = set; then :
3376 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3380 # Check whether --with-xinerama was given.
3381 if test "${with_xinerama+set}" = set; then :
3382 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3386 # Check whether --with-xinput was given.
3387 if test "${with_xinput+set}" = set; then :
3388 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3392 # Check whether --with-xinput2 was given.
3393 if test "${with_xinput2+set}" = set; then :
3394 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3398 # Check whether --with-xml was given.
3399 if test "${with_xml+set}" = set; then :
3400 withval=$with_xml;
3404 # Check whether --with-xrandr was given.
3405 if test "${with_xrandr+set}" = set; then :
3406 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3410 # Check whether --with-xrender was given.
3411 if test "${with_xrender+set}" = set; then :
3412 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3416 # Check whether --with-xshape was given.
3417 if test "${with_xshape+set}" = set; then :
3418 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3422 # Check whether --with-xshm was given.
3423 if test "${with_xshm+set}" = set; then :
3424 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3428 # Check whether --with-xslt was given.
3429 if test "${with_xslt+set}" = set; then :
3430 withval=$with_xslt;
3434 # Check whether --with-xxf86vm was given.
3435 if test "${with_xxf86vm+set}" = set; then :
3436 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3440 # Check whether --with-zlib was given.
3441 if test "${with_zlib+set}" = set; then :
3442 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3447 # Check whether --with-wine-tools was given.
3448 if test "${with_wine_tools+set}" = set; then :
3449 withval=$with_wine_tools;
3453 # Check whether --with-wine64 was given.
3454 if test "${with_wine64+set}" = set; then :
3455 withval=$with_wine64;
3459 # Make sure we can run config.sub.
3460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3461 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3464 $as_echo_n "checking build system type... " >&6; }
3465 if ${ac_cv_build+:} false; then :
3466 $as_echo_n "(cached) " >&6
3467 else
3468 ac_build_alias=$build_alias
3469 test "x$ac_build_alias" = x &&
3470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3471 test "x$ac_build_alias" = x &&
3472 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3473 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3474 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3478 $as_echo "$ac_cv_build" >&6; }
3479 case $ac_cv_build in
3480 *-*-*) ;;
3481 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3482 esac
3483 build=$ac_cv_build
3484 ac_save_IFS=$IFS; IFS='-'
3485 set x $ac_cv_build
3486 shift
3487 build_cpu=$1
3488 build_vendor=$2
3489 shift; shift
3490 # Remember, the first character of IFS is used to create $*,
3491 # except with old shells:
3492 build_os=$*
3493 IFS=$ac_save_IFS
3494 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3498 $as_echo_n "checking host system type... " >&6; }
3499 if ${ac_cv_host+:} false; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 if test "x$host_alias" = x; then
3503 ac_cv_host=$ac_cv_build
3504 else
3505 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3506 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3511 $as_echo "$ac_cv_host" >&6; }
3512 case $ac_cv_host in
3513 *-*-*) ;;
3514 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3515 esac
3516 host=$ac_cv_host
3517 ac_save_IFS=$IFS; IFS='-'
3518 set x $ac_cv_host
3519 shift
3520 host_cpu=$1
3521 host_vendor=$2
3522 shift; shift
3523 # Remember, the first character of IFS is used to create $*,
3524 # except with old shells:
3525 host_os=$*
3526 IFS=$ac_save_IFS
3527 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3531 case "$srcdir" in
3532 .) ;;
3533 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3534 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3535 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3536 fi ;;
3537 esac
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3541 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3542 set x ${MAKE-make}
3543 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3544 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 cat >conftest.make <<\_ACEOF
3548 SHELL = /bin/sh
3549 all:
3550 @echo '@@@%%%=$(MAKE)=@@@%%%'
3551 _ACEOF
3552 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3553 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3554 *@@@%%%=?*=@@@%%%*)
3555 eval ac_cv_prog_make_${ac_make}_set=yes;;
3557 eval ac_cv_prog_make_${ac_make}_set=no;;
3558 esac
3559 rm -f conftest.make
3561 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3563 $as_echo "yes" >&6; }
3564 SET_MAKE=
3565 else
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 SET_MAKE="MAKE=${MAKE-make}"
3571 ac_ext=c
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3576 if test -n "$ac_tool_prefix"; then
3577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3578 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if ${ac_cv_prog_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$CC"; then
3585 ac_cv_prog_CC="$CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 CC=$ac_cv_prog_CC
3605 if test -n "$CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3607 $as_echo "$CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3615 if test -z "$ac_cv_prog_CC"; then
3616 ac_ct_CC=$CC
3617 # Extract the first word of "gcc", so it can be a program name with args.
3618 set dummy gcc; ac_word=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3622 $as_echo_n "(cached) " >&6
3623 else
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3626 else
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH
3630 IFS=$as_save_IFS
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_ac_ct_CC="gcc"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 break 2
3638 done
3639 done
3640 IFS=$as_save_IFS
3644 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3648 else
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3653 if test "x$ac_ct_CC" = x; then
3654 CC=""
3655 else
3656 case $cross_compiling:$ac_tool_warned in
3657 yes:)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3660 ac_tool_warned=yes ;;
3661 esac
3662 CC=$ac_ct_CC
3664 else
3665 CC="$ac_cv_prog_CC"
3668 if test -z "$CC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_CC="${ac_tool_prefix}cc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 CC=$ac_cv_prog_CC
3698 if test -n "$CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3700 $as_echo "$CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3709 if test -z "$CC"; then
3710 # Extract the first word of "cc", so it can be a program name with args.
3711 set dummy cc; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$CC"; then
3718 ac_cv_prog_CC="$CC" # Let the user override the test.
3719 else
3720 ac_prog_rejected=no
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 for as_dir in $PATH
3724 IFS=$as_save_IFS
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3729 ac_prog_rejected=yes
3730 continue
3732 ac_cv_prog_CC="cc"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 break 2
3736 done
3737 done
3738 IFS=$as_save_IFS
3740 if test $ac_prog_rejected = yes; then
3741 # We found a bogon in the path, so make sure we never use it.
3742 set dummy $ac_cv_prog_CC
3743 shift
3744 if test $# != 0; then
3745 # We chose a different compiler from the bogus one.
3746 # However, it has the same basename, so the bogon will be chosen
3747 # first if we set CC to just the basename; use the full file name.
3748 shift
3749 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 if test -n "$ac_tool_prefix"; then
3767 for ac_prog in cl.exe
3769 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3770 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_CC+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if test -n "$CC"; then
3777 ac_cv_prog_CC="$CC" # Let the user override the test.
3778 else
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3788 break 2
3790 done
3791 done
3792 IFS=$as_save_IFS
3796 CC=$ac_cv_prog_CC
3797 if test -n "$CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3799 $as_echo "$CC" >&6; }
3800 else
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$CC" && break
3807 done
3809 if test -z "$CC"; then
3810 ac_ct_CC=$CC
3811 for ac_prog in cl.exe
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy $ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$ac_ct_CC"; then
3821 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_ac_ct_CC="$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3840 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3841 if test -n "$ac_ct_CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3843 $as_echo "$ac_ct_CC" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$ac_ct_CC" && break
3851 done
3853 if test "x$ac_ct_CC" = x; then
3854 CC=""
3855 else
3856 case $cross_compiling:$ac_tool_warned in
3857 yes:)
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3860 ac_tool_warned=yes ;;
3861 esac
3862 CC=$ac_ct_CC
3869 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3871 as_fn_error $? "no acceptable C compiler found in \$PATH
3872 See \`config.log' for more details" "$LINENO" 5; }
3874 # Provide some information about the compiler.
3875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3876 set X $ac_compile
3877 ac_compiler=$2
3878 for ac_option in --version -v -V -qversion; do
3879 { { ac_try="$ac_compiler $ac_option >&5"
3880 case "(($ac_try" in
3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3882 *) ac_try_echo=$ac_try;;
3883 esac
3884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3885 $as_echo "$ac_try_echo"; } >&5
3886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 ac_status=$?
3888 if test -s conftest.err; then
3889 sed '10a\
3890 ... rest of stderr output deleted ...
3891 10q' conftest.err >conftest.er1
3892 cat conftest.er1 >&5
3894 rm -f conftest.er1 conftest.err
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }
3897 done
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3903 main ()
3907 return 0;
3909 _ACEOF
3910 ac_clean_files_save=$ac_clean_files
3911 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3912 # Try to create an executable without -o first, disregard a.out.
3913 # It will help us diagnose broken compilers, and finding out an intuition
3914 # of exeext.
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3916 $as_echo_n "checking whether the C compiler works... " >&6; }
3917 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919 # The possible output files:
3920 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922 ac_rmfiles=
3923 for ac_file in $ac_files
3925 case $ac_file in
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3927 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3928 esac
3929 done
3930 rm -f $ac_rmfiles
3932 if { { ac_try="$ac_link_default"
3933 case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_link_default") 2>&5
3940 ac_status=$?
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }; then :
3943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3946 # so that the user can short-circuit this test for compilers unknown to
3947 # Autoconf.
3948 for ac_file in $ac_files ''
3950 test -f "$ac_file" || continue
3951 case $ac_file in
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954 [ab].out )
3955 # We found the default executable, but exeext='' is most
3956 # certainly right.
3957 break;;
3958 *.* )
3959 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3960 then :; else
3961 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 # We set ac_cv_exeext here because the later test for it is not
3964 # safe: cross compilers may not add the suffix if given an `-o'
3965 # argument, so we may need to know it at that point already.
3966 # Even if this section looks crufty: it has the advantage of
3967 # actually working.
3968 break;;
3970 break;;
3971 esac
3972 done
3973 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975 else
3976 ac_file=''
3978 if test -z "$ac_file"; then :
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3981 $as_echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error 77 "C compiler cannot create executables
3987 See \`config.log' for more details" "$LINENO" 5; }
3988 else
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3993 $as_echo_n "checking for C compiler default output file name... " >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3995 $as_echo "$ac_file" >&6; }
3996 ac_exeext=$ac_cv_exeext
3998 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3999 ac_clean_files=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4001 $as_echo_n "checking for suffix of executables... " >&6; }
4002 if { { ac_try="$ac_link"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link") 2>&5
4010 ac_status=$?
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4014 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4015 # work properly (i.e., refer to `conftest.exe'), while it won't with
4016 # `rm'.
4017 for ac_file in conftest.exe conftest conftest.*; do
4018 test -f "$ac_file" || continue
4019 case $ac_file in
4020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4022 break;;
4023 * ) break;;
4024 esac
4025 done
4026 else
4027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4029 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4030 See \`config.log' for more details" "$LINENO" 5; }
4032 rm -f conftest conftest$ac_cv_exeext
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4034 $as_echo "$ac_cv_exeext" >&6; }
4036 rm -f conftest.$ac_ext
4037 EXEEXT=$ac_cv_exeext
4038 ac_exeext=$EXEEXT
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4041 #include <stdio.h>
4043 main ()
4045 FILE *f = fopen ("conftest.out", "w");
4046 return ferror (f) || fclose (f) != 0;
4049 return 0;
4051 _ACEOF
4052 ac_clean_files="$ac_clean_files conftest.out"
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 if test "$cross_compiling" != yes; then
4058 { { ac_try="$ac_link"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }
4069 if { ac_try='./conftest$ac_cv_exeext'
4070 { { case "(($ac_try" in
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4073 esac
4074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4075 $as_echo "$ac_try_echo"; } >&5
4076 (eval "$ac_try") 2>&5
4077 ac_status=$?
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 test $ac_status = 0; }; }; then
4080 cross_compiling=no
4081 else
4082 if test "$cross_compiling" = maybe; then
4083 cross_compiling=yes
4084 else
4085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4087 as_fn_error $? "cannot run C compiled programs.
4088 If you meant to cross compile, use \`--host'.
4089 See \`config.log' for more details" "$LINENO" 5; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4094 $as_echo "$cross_compiling" >&6; }
4096 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4097 ac_clean_files=$ac_clean_files_save
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4099 $as_echo_n "checking for suffix of object files... " >&6; }
4100 if ${ac_cv_objext+:} false; then :
4101 $as_echo_n "(cached) " >&6
4102 else
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4107 main ()
4111 return 0;
4113 _ACEOF
4114 rm -f conftest.o conftest.obj
4115 if { { ac_try="$ac_compile"
4116 case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_compile") 2>&5
4123 ac_status=$?
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; then :
4126 for ac_file in conftest.o conftest.obj conftest.*; do
4127 test -f "$ac_file" || continue;
4128 case $ac_file in
4129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4130 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4131 break;;
4132 esac
4133 done
4134 else
4135 $as_echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot compute suffix of object files: cannot compile
4141 See \`config.log' for more details" "$LINENO" 5; }
4143 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4146 $as_echo "$ac_cv_objext" >&6; }
4147 OBJEXT=$ac_cv_objext
4148 ac_objext=$OBJEXT
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4150 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4151 if ${ac_cv_c_compiler_gnu+:} false; then :
4152 $as_echo_n "(cached) " >&6
4153 else
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4158 main ()
4160 #ifndef __GNUC__
4161 choke me
4162 #endif
4165 return 0;
4167 _ACEOF
4168 if ac_fn_c_try_compile "$LINENO"; then :
4169 ac_compiler_gnu=yes
4170 else
4171 ac_compiler_gnu=no
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4178 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4179 if test $ac_compiler_gnu = yes; then
4180 GCC=yes
4181 else
4182 GCC=
4184 ac_test_CFLAGS=${CFLAGS+set}
4185 ac_save_CFLAGS=$CFLAGS
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4187 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4188 if ${ac_cv_prog_cc_g+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 ac_save_c_werror_flag=$ac_c_werror_flag
4192 ac_c_werror_flag=yes
4193 ac_cv_prog_cc_g=no
4194 CFLAGS="-g"
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4199 main ()
4203 return 0;
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207 ac_cv_prog_cc_g=yes
4208 else
4209 CFLAGS=""
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4223 else
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4225 CFLAGS="-g"
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4230 main ()
4234 return 0;
4236 _ACEOF
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_g=yes
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_save_c_werror_flag
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4248 $as_echo "$ac_cv_prog_cc_g" >&6; }
4249 if test "$ac_test_CFLAGS" = set; then
4250 CFLAGS=$ac_save_CFLAGS
4251 elif test $ac_cv_prog_cc_g = yes; then
4252 if test "$GCC" = yes; then
4253 CFLAGS="-g -O2"
4254 else
4255 CFLAGS="-g"
4257 else
4258 if test "$GCC" = yes; then
4259 CFLAGS="-O2"
4260 else
4261 CFLAGS=
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4265 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4266 if ${ac_cv_prog_cc_c89+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 ac_cv_prog_cc_c89=no
4270 ac_save_CC=$CC
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273 #include <stdarg.h>
4274 #include <stdio.h>
4275 struct stat;
4276 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4277 struct buf { int x; };
4278 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4279 static char *e (p, i)
4280 char **p;
4281 int i;
4283 return p[i];
4285 static char *f (char * (*g) (char **, int), char **p, ...)
4287 char *s;
4288 va_list v;
4289 va_start (v,p);
4290 s = g (p, va_arg (v,int));
4291 va_end (v);
4292 return s;
4295 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4296 function prototypes and stuff, but not '\xHH' hex character constants.
4297 These don't provoke an error unfortunately, instead are silently treated
4298 as 'x'. The following induces an error, until -std is added to get
4299 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4300 array size at least. It's necessary to write '\x00'==0 to get something
4301 that's true only with -std. */
4302 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4304 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4305 inside strings and character constants. */
4306 #define FOO(x) 'x'
4307 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4309 int test (int i, double x);
4310 struct s1 {int (*f) (int a);};
4311 struct s2 {int (*f) (double a);};
4312 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4313 int argc;
4314 char **argv;
4316 main ()
4318 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4320 return 0;
4322 _ACEOF
4323 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4324 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4326 CC="$ac_save_CC $ac_arg"
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_cv_prog_cc_c89=$ac_arg
4330 rm -f core conftest.err conftest.$ac_objext
4331 test "x$ac_cv_prog_cc_c89" != "xno" && break
4332 done
4333 rm -f conftest.$ac_ext
4334 CC=$ac_save_CC
4337 # AC_CACHE_VAL
4338 case "x$ac_cv_prog_cc_c89" in
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4341 $as_echo "none needed" >&6; } ;;
4342 xno)
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4344 $as_echo "unsupported" >&6; } ;;
4346 CC="$CC $ac_cv_prog_cc_c89"
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4348 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4349 esac
4350 if test "x$ac_cv_prog_cc_c89" != xno; then :
4354 ac_ext=c
4355 ac_cpp='$CPP $CPPFLAGS'
4356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4360 ac_ext=cpp
4361 ac_cpp='$CXXCPP $CPPFLAGS'
4362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4365 if test -z "$CXX"; then
4366 if test -n "$CCC"; then
4367 CXX=$CCC
4368 else
4369 if test -n "$ac_tool_prefix"; then
4370 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_CXX+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$CXX"; then
4380 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 CXX=$ac_cv_prog_CXX
4400 if test -n "$CXX"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4402 $as_echo "$CXX" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4409 test -n "$CXX" && break
4410 done
4412 if test -z "$CXX"; then
4413 ac_ct_CXX=$CXX
4414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4416 # Extract the first word of "$ac_prog", so it can be a program name with args.
4417 set dummy $ac_prog; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4421 $as_echo_n "(cached) " >&6
4422 else
4423 if test -n "$ac_ct_CXX"; then
4424 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4425 else
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 for as_dir in $PATH
4429 IFS=$as_save_IFS
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_ac_ct_CXX="$ac_prog"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 break 2
4437 done
4438 done
4439 IFS=$as_save_IFS
4443 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4444 if test -n "$ac_ct_CXX"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4446 $as_echo "$ac_ct_CXX" >&6; }
4447 else
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4453 test -n "$ac_ct_CXX" && break
4454 done
4456 if test "x$ac_ct_CXX" = x; then
4457 CXX="g++"
4458 else
4459 case $cross_compiling:$ac_tool_warned in
4460 yes:)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463 ac_tool_warned=yes ;;
4464 esac
4465 CXX=$ac_ct_CXX
4471 # Provide some information about the compiler.
4472 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4473 set X $ac_compile
4474 ac_compiler=$2
4475 for ac_option in --version -v -V -qversion; do
4476 { { ac_try="$ac_compiler $ac_option >&5"
4477 case "(($ac_try" in
4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4479 *) ac_try_echo=$ac_try;;
4480 esac
4481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4482 $as_echo "$ac_try_echo"; } >&5
4483 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4484 ac_status=$?
4485 if test -s conftest.err; then
4486 sed '10a\
4487 ... rest of stderr output deleted ...
4488 10q' conftest.err >conftest.er1
4489 cat conftest.er1 >&5
4491 rm -f conftest.er1 conftest.err
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }
4494 done
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4497 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4498 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4499 $as_echo_n "(cached) " >&6
4500 else
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4507 #ifndef __GNUC__
4508 choke me
4509 #endif
4512 return 0;
4514 _ACEOF
4515 if ac_fn_cxx_try_compile "$LINENO"; then :
4516 ac_compiler_gnu=yes
4517 else
4518 ac_compiler_gnu=no
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4525 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4526 if test $ac_compiler_gnu = yes; then
4527 GXX=yes
4528 else
4529 GXX=
4531 ac_test_CXXFLAGS=${CXXFLAGS+set}
4532 ac_save_CXXFLAGS=$CXXFLAGS
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4534 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4535 if ${ac_cv_prog_cxx_g+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4539 ac_cxx_werror_flag=yes
4540 ac_cv_prog_cxx_g=no
4541 CXXFLAGS="-g"
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_cv_prog_cxx_g=yes
4555 else
4556 CXXFLAGS=""
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 else
4571 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4572 CXXFLAGS="-g"
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4577 main ()
4581 return 0;
4583 _ACEOF
4584 if ac_fn_cxx_try_compile "$LINENO"; then :
4585 ac_cv_prog_cxx_g=yes
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4595 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4596 if test "$ac_test_CXXFLAGS" = set; then
4597 CXXFLAGS=$ac_save_CXXFLAGS
4598 elif test $ac_cv_prog_cxx_g = yes; then
4599 if test "$GXX" = yes; then
4600 CXXFLAGS="-g -O2"
4601 else
4602 CXXFLAGS="-g"
4604 else
4605 if test "$GXX" = yes; then
4606 CXXFLAGS="-O2"
4607 else
4608 CXXFLAGS=
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4619 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_CPPBIN+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 if test -n "$CPPBIN"; then
4626 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631 IFS=$as_save_IFS
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 break 2
4639 done
4640 done
4641 IFS=$as_save_IFS
4645 CPPBIN=$ac_cv_prog_CPPBIN
4646 if test -n "$CPPBIN"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4648 $as_echo "$CPPBIN" >&6; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4656 if test -z "$ac_cv_prog_CPPBIN"; then
4657 ac_ct_CPPBIN=$CPPBIN
4658 # Extract the first word of "cpp", so it can be a program name with args.
4659 set dummy cpp; ac_word=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test -n "$ac_ct_CPPBIN"; then
4666 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4667 else
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH
4671 IFS=$as_save_IFS
4672 test -z "$as_dir" && as_dir=.
4673 for ac_exec_ext in '' $ac_executable_extensions; do
4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675 ac_cv_prog_ac_ct_CPPBIN="cpp"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 break 2
4679 done
4680 done
4681 IFS=$as_save_IFS
4685 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4686 if test -n "$ac_ct_CPPBIN"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4688 $as_echo "$ac_ct_CPPBIN" >&6; }
4689 else
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4694 if test "x$ac_ct_CPPBIN" = x; then
4695 CPPBIN="cpp"
4696 else
4697 case $cross_compiling:$ac_tool_warned in
4698 yes:)
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned=yes ;;
4702 esac
4703 CPPBIN=$ac_ct_CPPBIN
4705 else
4706 CPPBIN="$ac_cv_prog_CPPBIN"
4710 cat >>confdefs.h <<_ACEOF
4711 #define EXEEXT "$ac_exeext"
4712 _ACEOF
4715 case $host in
4716 *-darwin*)
4717 if test "x$enable_win64" = "xyes"
4718 then
4719 CC="$CC -m64"
4720 CXX="$CXX -m64"
4721 host_cpu="x86_64"
4722 notice_platform="64-bit "
4723 TARGETFLAGS="-m64"
4725 else
4726 CC="$CC -m32"
4727 CXX="$CXX -m32"
4728 host_cpu="i386"
4729 notice_platform="32-bit "
4730 TARGETFLAGS="-m32"
4732 enable_win16=${enable_win16:-yes}
4734 with_fontconfig=${with_fontconfig:-no}
4736 x86_64*)
4737 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4738 then
4739 CC="$CC -m32"
4740 CXX="$CXX -m32"
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4742 $as_echo_n "checking whether $CC works... " >&6; }
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 if ac_fn_c_try_link "$LINENO"; then :
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757 $as_echo "yes" >&6; }
4758 else
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4763 rm -f core conftest.err conftest.$ac_objext \
4764 conftest$ac_exeext conftest.$ac_ext
4765 host_cpu="i386"
4766 notice_platform="32-bit "
4767 TARGETFLAGS="-m32"
4769 enable_win16=${enable_win16:-yes}
4770 else
4771 if test "x${GCC}" = "xyes"
4772 then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4774 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4777 #include <stdarg.h>
4779 main ()
4781 void func(__builtin_ms_va_list *args);
4783 return 0;
4785 _ACEOF
4786 if ac_fn_c_try_compile "$LINENO"; then :
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4788 $as_echo "yes" >&6; }
4789 else
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4792 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 TARGETFLAGS="-m64"
4800 arm*)
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4802 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 int ac_test(int i) { return i; }
4807 main ()
4809 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4811 return 0;
4813 _ACEOF
4814 if ac_fn_c_try_link "$LINENO"; then :
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4822 rm -f core conftest.err conftest.$ac_objext \
4823 conftest$ac_exeext conftest.$ac_ext
4824 CFLAGS="$CFLAGS -marm"
4825 TARGETFLAGS="-marm"
4828 *-mingw32*|*-cygwin*)
4829 enable_win16=${enable_win16:-no}
4830 CFLAGS="$CFLAGS -D_WIN32"
4832 i[3456789]86*)
4833 enable_win16=${enable_win16:-yes}
4835 esac
4837 enable_win16=${enable_win16:-no}
4838 enable_win64=${enable_win64:-no}
4840 enable_winetest=${enable_winetest:-$enable_tests}
4842 if test -n "$with_wine64"
4843 then
4844 if test "x$enable_win64" = "xyes"
4845 then
4846 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4847 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4849 enable_fonts=${enable_fonts:-no}
4850 enable_server=${enable_server:-no}
4851 elif test "x$enable_win64" = "xyes"
4852 then
4853 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4857 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4858 if ${wine_cv_toolsdir+:} false; then :
4859 $as_echo_n "(cached) " >&6
4860 else
4861 wine_cv_toolsdir="$with_wine_tools"
4862 if test -z "$with_wine_tools"; then
4863 if test "$cross_compiling" = "yes"; then
4864 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4865 elif test -n "$with_wine64"; then
4866 wine_cv_toolsdir="$with_wine64"
4869 if test -z "$wine_cv_toolsdir"; then
4870 wine_makedep=tools/makedep
4871 wine_cv_toolsdir="\$(top_builddir)"
4872 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4873 wine_makedep=$wine_cv_toolsdir/tools/makedep
4874 case "$wine_cv_toolsdir" in
4875 /*) ;;
4876 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4877 esac
4878 enable_tools=${enable_tools:-no}
4879 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4880 else
4881 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4885 $as_echo "$wine_cv_toolsdir" >&6; }
4886 TOOLSDIR=$wine_cv_toolsdir
4888 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4889 then
4890 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4894 for ac_prog in flex
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy $ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_FLEX+:} false; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$FLEX"; then
4904 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_FLEX="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 FLEX=$ac_cv_prog_FLEX
4924 if test -n "$FLEX"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4926 $as_echo "$FLEX" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$FLEX" && break
4934 done
4935 test -n "$FLEX" || FLEX="none"
4937 if test "$FLEX" = "none"
4938 then
4939 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4942 $as_echo_n "checking whether flex is recent enough... " >&6; }
4943 cat >conftest.l <<EOF
4944 %top{
4945 #include "prediluvian.h"
4949 if $FLEX -t conftest.l >/dev/null 2>&5
4950 then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4952 $as_echo "yes" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4956 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4959 for ac_prog in bison
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy $ac_prog; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_BISON+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 if test -n "$BISON"; then
4969 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_BISON="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 break 2
4982 done
4983 done
4984 IFS=$as_save_IFS
4988 BISON=$ac_cv_prog_BISON
4989 if test -n "$BISON"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4991 $as_echo "$BISON" >&6; }
4992 else
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$BISON" && break
4999 done
5000 test -n "$BISON" || BISON="none"
5002 if test "$BISON" = "none"
5003 then
5004 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5007 if test -n "$ac_tool_prefix"; then
5008 for ac_prog in ar gar
5010 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5011 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_AR+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$AR"; then
5018 ac_cv_prog_AR="$AR" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 AR=$ac_cv_prog_AR
5038 if test -n "$AR"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5040 $as_echo "$AR" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$AR" && break
5048 done
5050 if test -z "$AR"; then
5051 ac_ct_AR=$AR
5052 for ac_prog in ar gar
5054 # Extract the first word of "$ac_prog", so it can be a program name with args.
5055 set dummy $ac_prog; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AR"; then
5062 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5071 ac_cv_prog_ac_ct_AR="$ac_prog"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5082 if test -n "$ac_ct_AR"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5084 $as_echo "$ac_ct_AR" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5091 test -n "$ac_ct_AR" && break
5092 done
5094 if test "x$ac_ct_AR" = x; then
5095 AR="ar"
5096 else
5097 case $cross_compiling:$ac_tool_warned in
5098 yes:)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned=yes ;;
5102 esac
5103 AR=$ac_ct_AR
5107 if test -n "$ac_tool_prefix"; then
5108 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}strip; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_STRIP+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$STRIP"; then
5116 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 STRIP=$ac_cv_prog_STRIP
5136 if test -n "$STRIP"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5138 $as_echo "$STRIP" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5146 if test -z "$ac_cv_prog_STRIP"; then
5147 ac_ct_STRIP=$STRIP
5148 # Extract the first word of "strip", so it can be a program name with args.
5149 set dummy strip; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$ac_ct_STRIP"; then
5156 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_STRIP="strip"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5176 if test -n "$ac_ct_STRIP"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5178 $as_echo "$ac_ct_STRIP" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5184 if test "x$ac_ct_STRIP" = x; then
5185 STRIP="strip"
5186 else
5187 case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191 ac_tool_warned=yes ;;
5192 esac
5193 STRIP=$ac_ct_STRIP
5195 else
5196 STRIP="$ac_cv_prog_STRIP"
5199 ARFLAGS=rc
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if ${ac_cv_prog_RANLIB+:} false; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 if test -n "$RANLIB"; then
5210 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 RANLIB=$ac_cv_prog_RANLIB
5230 if test -n "$RANLIB"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5232 $as_echo "$RANLIB" >&6; }
5233 else
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_RANLIB"; then
5241 ac_ct_RANLIB=$RANLIB
5242 # Extract the first word of "ranlib", so it can be a program name with args.
5243 set dummy ranlib; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5247 $as_echo_n "(cached) " >&6
5248 else
5249 if test -n "$ac_ct_RANLIB"; then
5250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_RANLIB="ranlib"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5270 if test -n "$ac_ct_RANLIB"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5272 $as_echo "$ac_ct_RANLIB" >&6; }
5273 else
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_RANLIB" = x; then
5279 RANLIB=":"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287 RANLIB=$ac_ct_RANLIB
5289 else
5290 RANLIB="$ac_cv_prog_RANLIB"
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5294 $as_echo_n "checking whether ln -s works... " >&6; }
5295 LN_S=$as_ln_s
5296 if test "$LN_S" = "ln -s"; then
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5298 $as_echo "yes" >&6; }
5299 else
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5301 $as_echo "no, using $LN_S" >&6; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5306 if ${ac_cv_path_GREP+:} false; then :
5307 $as_echo_n "(cached) " >&6
5308 else
5309 if test -z "$GREP"; then
5310 ac_path_GREP_found=false
5311 # Loop through the user's path and test for each of PROGNAME-LIST
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5315 IFS=$as_save_IFS
5316 test -z "$as_dir" && as_dir=.
5317 for ac_prog in grep ggrep; do
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5320 as_fn_executable_p "$ac_path_GREP" || continue
5321 # Check for GNU ac_path_GREP and select it if it is found.
5322 # Check for GNU $ac_path_GREP
5323 case `"$ac_path_GREP" --version 2>&1` in
5324 *GNU*)
5325 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5327 ac_count=0
5328 $as_echo_n 0123456789 >"conftest.in"
5329 while :
5331 cat "conftest.in" "conftest.in" >"conftest.tmp"
5332 mv "conftest.tmp" "conftest.in"
5333 cp "conftest.in" "conftest.nl"
5334 $as_echo 'GREP' >> "conftest.nl"
5335 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5336 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5337 as_fn_arith $ac_count + 1 && ac_count=$as_val
5338 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5339 # Best one so far, save it but keep looking for a better one
5340 ac_cv_path_GREP="$ac_path_GREP"
5341 ac_path_GREP_max=$ac_count
5343 # 10*(2^10) chars as input seems more than enough
5344 test $ac_count -gt 10 && break
5345 done
5346 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5347 esac
5349 $ac_path_GREP_found && break 3
5350 done
5351 done
5352 done
5353 IFS=$as_save_IFS
5354 if test -z "$ac_cv_path_GREP"; then
5355 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357 else
5358 ac_cv_path_GREP=$GREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5363 $as_echo "$ac_cv_path_GREP" >&6; }
5364 GREP="$ac_cv_path_GREP"
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5368 $as_echo_n "checking for egrep... " >&6; }
5369 if ${ac_cv_path_EGREP+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5373 then ac_cv_path_EGREP="$GREP -E"
5374 else
5375 if test -z "$EGREP"; then
5376 ac_path_EGREP_found=false
5377 # Loop through the user's path and test for each of PROGNAME-LIST
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_prog in egrep; do
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5386 as_fn_executable_p "$ac_path_EGREP" || continue
5387 # Check for GNU ac_path_EGREP and select it if it is found.
5388 # Check for GNU $ac_path_EGREP
5389 case `"$ac_path_EGREP" --version 2>&1` in
5390 *GNU*)
5391 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5393 ac_count=0
5394 $as_echo_n 0123456789 >"conftest.in"
5395 while :
5397 cat "conftest.in" "conftest.in" >"conftest.tmp"
5398 mv "conftest.tmp" "conftest.in"
5399 cp "conftest.in" "conftest.nl"
5400 $as_echo 'EGREP' >> "conftest.nl"
5401 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5402 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5403 as_fn_arith $ac_count + 1 && ac_count=$as_val
5404 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5405 # Best one so far, save it but keep looking for a better one
5406 ac_cv_path_EGREP="$ac_path_EGREP"
5407 ac_path_EGREP_max=$ac_count
5409 # 10*(2^10) chars as input seems more than enough
5410 test $ac_count -gt 10 && break
5411 done
5412 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5413 esac
5415 $ac_path_EGREP_found && break 3
5416 done
5417 done
5418 done
5419 IFS=$as_save_IFS
5420 if test -z "$ac_cv_path_EGREP"; then
5421 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5423 else
5424 ac_cv_path_EGREP=$EGREP
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5430 $as_echo "$ac_cv_path_EGREP" >&6; }
5431 EGREP="$ac_cv_path_EGREP"
5434 # Extract the first word of "ldconfig", so it can be a program name with args.
5435 set dummy ldconfig; ac_word=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_path_LDCONFIG+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 case $LDCONFIG in
5442 [\\/]* | ?:[\\/]*)
5443 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in /sbin /usr/sbin $PATH
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5453 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5457 done
5458 done
5459 IFS=$as_save_IFS
5461 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5463 esac
5465 LDCONFIG=$ac_cv_path_LDCONFIG
5466 if test -n "$LDCONFIG"; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5468 $as_echo "$LDCONFIG" >&6; }
5469 else
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5475 for ac_prog in msgfmt
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_MSGFMT+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$MSGFMT"; then
5485 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_MSGFMT="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 MSGFMT=$ac_cv_prog_MSGFMT
5505 if test -n "$MSGFMT"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5507 $as_echo "$MSGFMT" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$MSGFMT" && break
5515 done
5516 test -n "$MSGFMT" || MSGFMT="false"
5518 if ${ac_tool_prefix+:} false; then :
5519 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5520 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$PKG_CONFIG"; then
5527 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5547 if test -n "$PKG_CONFIG"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5549 $as_echo "$PKG_CONFIG" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5558 if test "x$cross_compiling" = xyes; then :
5560 else
5561 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5562 # Extract the first word of "pkg-config", so it can be a program name with args.
5563 set dummy pkg-config; ac_word=$2
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5565 $as_echo_n "checking for $ac_word... " >&6; }
5566 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5567 $as_echo_n "(cached) " >&6
5568 else
5569 if test -n "$PKG_CONFIG"; then
5570 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_prog_PKG_CONFIG="pkg-config"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5590 if test -n "$PKG_CONFIG"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5592 $as_echo "$PKG_CONFIG" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5600 else
5601 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5604 if test "x$enable_maintainer_mode" != "xyes"
5605 then
5606 FONTFORGE=""
5607 RSVG=""
5608 CONVERT=""
5609 ICOTOOL=""
5610 else
5611 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5612 for ac_prog in fontforge
5614 # Extract the first word of "$ac_prog", so it can be a program name with args.
5615 set dummy $ac_prog; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_FONTFORGE+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -n "$FONTFORGE"; then
5622 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5623 else
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 for as_dir in $PATH
5627 IFS=$as_save_IFS
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_FONTFORGE="$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 break 2
5635 done
5636 done
5637 IFS=$as_save_IFS
5641 FONTFORGE=$ac_cv_prog_FONTFORGE
5642 if test -n "$FONTFORGE"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5644 $as_echo "$FONTFORGE" >&6; }
5645 else
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$FONTFORGE" && break
5652 done
5653 test -n "$FONTFORGE" || FONTFORGE="false"
5655 for ac_prog in rsvg
5657 # Extract the first word of "$ac_prog", so it can be a program name with args.
5658 set dummy $ac_prog; ac_word=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_RSVG+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 if test -n "$RSVG"; then
5665 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5666 else
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668 for as_dir in $PATH
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_RSVG="$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5678 done
5679 done
5680 IFS=$as_save_IFS
5684 RSVG=$ac_cv_prog_RSVG
5685 if test -n "$RSVG"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5687 $as_echo "$RSVG" >&6; }
5688 else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$RSVG" && break
5695 done
5696 test -n "$RSVG" || RSVG="false"
5698 for ac_prog in convert
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy $ac_prog; ac_word=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_CONVERT+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 if test -n "$CONVERT"; then
5708 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5709 else
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 for as_dir in $PATH
5713 IFS=$as_save_IFS
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_CONVERT="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 break 2
5721 done
5722 done
5723 IFS=$as_save_IFS
5727 CONVERT=$ac_cv_prog_CONVERT
5728 if test -n "$CONVERT"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5730 $as_echo "$CONVERT" >&6; }
5731 else
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$CONVERT" && break
5738 done
5739 test -n "$CONVERT" || CONVERT="false"
5741 for ac_prog in icotool
5743 # Extract the first word of "$ac_prog", so it can be a program name with args.
5744 set dummy $ac_prog; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_ICOTOOL+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 if test -n "$ICOTOOL"; then
5751 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5756 IFS=$as_save_IFS
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760 ac_cv_prog_ICOTOOL="$ac_prog"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762 break 2
5764 done
5765 done
5766 IFS=$as_save_IFS
5770 ICOTOOL=$ac_cv_prog_ICOTOOL
5771 if test -n "$ICOTOOL"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5773 $as_echo "$ICOTOOL" >&6; }
5774 else
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5780 test -n "$ICOTOOL" && break
5781 done
5782 test -n "$ICOTOOL" || ICOTOOL="false"
5784 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5785 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5787 if test "$CONVERT" = false
5788 then
5789 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5792 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5793 convert_version=`convert --version | head -n1`
5794 if test "x$convert_version" != "x"
5795 then
5796 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5797 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5798 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5799 then
5800 CONVERT=false
5803 if test "$CONVERT" = false
5804 then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5806 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5807 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5810 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5814 if test "$ICOTOOL" = false
5815 then
5816 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5819 $as_echo_n "checking for recent enough icotool... " >&6; }
5820 icotool_version=`icotool --version | head -n1`
5821 if test "x$icotool_version" != "x"
5822 then
5823 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5824 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5825 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5826 then
5827 ICOTOOL=false
5828 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5831 if test "$ICOTOOL" = false
5832 then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5834 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5835 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5838 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5842 with_gettext=yes
5843 with_gettextpo=yes
5844 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5847 test "x$with_gettext" != xno || MSGFMT=false
5848 if test "$MSGFMT" != "false"
5849 then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5851 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5852 cat >conftest.po <<EOF
5853 # comment
5854 msgctxt "ctxt"
5855 msgid "id"
5856 msgstr "str"
5858 if $MSGFMT -o /dev/null conftest.po 2>&5
5859 then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5861 $as_echo "yes" >&6; }
5862 else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5865 MSGFMT=false
5868 if test "$MSGFMT" = false; then :
5869 case "x$with_gettext" in
5870 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5871 xno) ;;
5872 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5873 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5874 esac
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5879 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5880 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 ac_check_lib_save_LIBS=$LIBS
5884 LIBS="-li386 $LIBS"
5885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5886 /* end confdefs.h. */
5888 /* Override any GCC internal prototype to avoid an error.
5889 Use char because int might match the return type of a GCC
5890 builtin and then its argument prototype would still apply. */
5891 #ifdef __cplusplus
5892 extern "C"
5893 #endif
5894 char i386_set_ldt ();
5896 main ()
5898 return i386_set_ldt ();
5900 return 0;
5902 _ACEOF
5903 if ac_fn_c_try_link "$LINENO"; then :
5904 ac_cv_lib_i386_i386_set_ldt=yes
5905 else
5906 ac_cv_lib_i386_i386_set_ldt=no
5908 rm -f core conftest.err conftest.$ac_objext \
5909 conftest$ac_exeext conftest.$ac_ext
5910 LIBS=$ac_check_lib_save_LIBS
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5913 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5914 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5915 cat >>confdefs.h <<_ACEOF
5916 #define HAVE_LIBI386 1
5917 _ACEOF
5919 LIBS="-li386 $LIBS"
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5924 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5925 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5926 $as_echo_n "(cached) " >&6
5927 else
5928 ac_check_lib_save_LIBS=$LIBS
5929 LIBS="-lossaudio $LIBS"
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5933 /* Override any GCC internal prototype to avoid an error.
5934 Use char because int might match the return type of a GCC
5935 builtin and then its argument prototype would still apply. */
5936 #ifdef __cplusplus
5937 extern "C"
5938 #endif
5939 char _oss_ioctl ();
5941 main ()
5943 return _oss_ioctl ();
5945 return 0;
5947 _ACEOF
5948 if ac_fn_c_try_link "$LINENO"; then :
5949 ac_cv_lib_ossaudio__oss_ioctl=yes
5950 else
5951 ac_cv_lib_ossaudio__oss_ioctl=no
5953 rm -f core conftest.err conftest.$ac_objext \
5954 conftest$ac_exeext conftest.$ac_ext
5955 LIBS=$ac_check_lib_save_LIBS
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5958 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5959 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5960 cat >>confdefs.h <<_ACEOF
5961 #define HAVE_LIBOSSAUDIO 1
5962 _ACEOF
5964 LIBS="-lossaudio $LIBS"
5969 OPENGL_LIBS=""
5973 # Check whether --enable-largefile was given.
5974 if test "${enable_largefile+set}" = set; then :
5975 enableval=$enable_largefile;
5978 if test "$enable_largefile" != no; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5981 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5982 if ${ac_cv_sys_largefile_CC+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 ac_cv_sys_largefile_CC=no
5986 if test "$GCC" != yes; then
5987 ac_save_CC=$CC
5988 while :; do
5989 # IRIX 6.2 and later do not support large files by default,
5990 # so use the C compiler's -n32 option if that helps.
5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993 #include <sys/types.h>
5994 /* Check that off_t can represent 2**63 - 1 correctly.
5995 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5996 since some C++ compilers masquerading as C compilers
5997 incorrectly reject 9223372036854775807. */
5998 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5999 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6000 && LARGE_OFF_T % 2147483647 == 1)
6001 ? 1 : -1];
6003 main ()
6007 return 0;
6009 _ACEOF
6010 if ac_fn_c_try_compile "$LINENO"; then :
6011 break
6013 rm -f core conftest.err conftest.$ac_objext
6014 CC="$CC -n32"
6015 if ac_fn_c_try_compile "$LINENO"; then :
6016 ac_cv_sys_largefile_CC=' -n32'; break
6018 rm -f core conftest.err conftest.$ac_objext
6019 break
6020 done
6021 CC=$ac_save_CC
6022 rm -f conftest.$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6026 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6027 if test "$ac_cv_sys_largefile_CC" != no; then
6028 CC=$CC$ac_cv_sys_largefile_CC
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6032 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6033 if ${ac_cv_sys_file_offset_bits+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 while :; do
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 /* Check that off_t can represent 2**63 - 1 correctly.
6041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6042 since some C++ compilers masquerading as C compilers
6043 incorrectly reject 9223372036854775807. */
6044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6046 && LARGE_OFF_T % 2147483647 == 1)
6047 ? 1 : -1];
6049 main ()
6053 return 0;
6055 _ACEOF
6056 if ac_fn_c_try_compile "$LINENO"; then :
6057 ac_cv_sys_file_offset_bits=no; break
6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #define _FILE_OFFSET_BITS 64
6063 #include <sys/types.h>
6064 /* Check that off_t can represent 2**63 - 1 correctly.
6065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6066 since some C++ compilers masquerading as C compilers
6067 incorrectly reject 9223372036854775807. */
6068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6070 && LARGE_OFF_T % 2147483647 == 1)
6071 ? 1 : -1];
6073 main ()
6077 return 0;
6079 _ACEOF
6080 if ac_fn_c_try_compile "$LINENO"; then :
6081 ac_cv_sys_file_offset_bits=64; break
6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 ac_cv_sys_file_offset_bits=unknown
6085 break
6086 done
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6089 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6090 case $ac_cv_sys_file_offset_bits in #(
6091 no | unknown) ;;
6093 cat >>confdefs.h <<_ACEOF
6094 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6095 _ACEOF
6097 esac
6098 rm -rf conftest*
6099 if test $ac_cv_sys_file_offset_bits = unknown; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6101 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6102 if ${ac_cv_sys_large_files+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 while :; do
6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <sys/types.h>
6109 /* Check that off_t can represent 2**63 - 1 correctly.
6110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6111 since some C++ compilers masquerading as C compilers
6112 incorrectly reject 9223372036854775807. */
6113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6115 && LARGE_OFF_T % 2147483647 == 1)
6116 ? 1 : -1];
6118 main ()
6122 return 0;
6124 _ACEOF
6125 if ac_fn_c_try_compile "$LINENO"; then :
6126 ac_cv_sys_large_files=no; break
6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6131 #define _LARGE_FILES 1
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6140 ? 1 : -1];
6142 main ()
6146 return 0;
6148 _ACEOF
6149 if ac_fn_c_try_compile "$LINENO"; then :
6150 ac_cv_sys_large_files=1; break
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 ac_cv_sys_large_files=unknown
6154 break
6155 done
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6158 $as_echo "$ac_cv_sys_large_files" >&6; }
6159 case $ac_cv_sys_large_files in #(
6160 no | unknown) ;;
6162 cat >>confdefs.h <<_ACEOF
6163 #define _LARGE_FILES $ac_cv_sys_large_files
6164 _ACEOF
6166 esac
6167 rm -rf conftest*
6174 ac_ext=c
6175 ac_cpp='$CPP $CPPFLAGS'
6176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6180 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6181 # On Suns, sometimes $CPP names a directory.
6182 if test -n "$CPP" && test -d "$CPP"; then
6183 CPP=
6185 if test -z "$CPP"; then
6186 if ${ac_cv_prog_CPP+:} false; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 # Double quotes because CPP needs to be expanded
6190 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6192 ac_preproc_ok=false
6193 for ac_c_preproc_warn_flag in '' yes
6195 # Use a header file that comes with gcc, so configuring glibc
6196 # with a fresh cross-compiler works.
6197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198 # <limits.h> exists even on freestanding compilers.
6199 # On the NeXT, cc -E runs the code through the compiler's parser,
6200 # not just through cpp. "Syntax error" is here to catch this case.
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #ifdef __STDC__
6204 # include <limits.h>
6205 #else
6206 # include <assert.h>
6207 #endif
6208 Syntax error
6209 _ACEOF
6210 if ac_fn_c_try_cpp "$LINENO"; then :
6212 else
6213 # Broken: fails on valid input.
6214 continue
6216 rm -f conftest.err conftest.i conftest.$ac_ext
6218 # OK, works on sane cases. Now check whether nonexistent headers
6219 # can be detected and how.
6220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h. */
6222 #include <ac_nonexistent.h>
6223 _ACEOF
6224 if ac_fn_c_try_cpp "$LINENO"; then :
6225 # Broken: success on invalid input.
6226 continue
6227 else
6228 # Passes both tests.
6229 ac_preproc_ok=:
6230 break
6232 rm -f conftest.err conftest.i conftest.$ac_ext
6234 done
6235 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6236 rm -f conftest.i conftest.err conftest.$ac_ext
6237 if $ac_preproc_ok; then :
6238 break
6241 done
6242 ac_cv_prog_CPP=$CPP
6245 CPP=$ac_cv_prog_CPP
6246 else
6247 ac_cv_prog_CPP=$CPP
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6250 $as_echo "$CPP" >&6; }
6251 ac_preproc_ok=false
6252 for ac_c_preproc_warn_flag in '' yes
6254 # Use a header file that comes with gcc, so configuring glibc
6255 # with a fresh cross-compiler works.
6256 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6257 # <limits.h> exists even on freestanding compilers.
6258 # On the NeXT, cc -E runs the code through the compiler's parser,
6259 # not just through cpp. "Syntax error" is here to catch this case.
6260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #ifdef __STDC__
6263 # include <limits.h>
6264 #else
6265 # include <assert.h>
6266 #endif
6267 Syntax error
6268 _ACEOF
6269 if ac_fn_c_try_cpp "$LINENO"; then :
6271 else
6272 # Broken: fails on valid input.
6273 continue
6275 rm -f conftest.err conftest.i conftest.$ac_ext
6277 # OK, works on sane cases. Now check whether nonexistent headers
6278 # can be detected and how.
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #include <ac_nonexistent.h>
6282 _ACEOF
6283 if ac_fn_c_try_cpp "$LINENO"; then :
6284 # Broken: success on invalid input.
6285 continue
6286 else
6287 # Passes both tests.
6288 ac_preproc_ok=:
6289 break
6291 rm -f conftest.err conftest.i conftest.$ac_ext
6293 done
6294 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6295 rm -f conftest.i conftest.err conftest.$ac_ext
6296 if $ac_preproc_ok; then :
6298 else
6299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6301 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6302 See \`config.log' for more details" "$LINENO" 5; }
6305 ac_ext=c
6306 ac_cpp='$CPP $CPPFLAGS'
6307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6313 $as_echo_n "checking for ANSI C header files... " >&6; }
6314 if ${ac_cv_header_stdc+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6318 /* end confdefs.h. */
6319 #include <stdlib.h>
6320 #include <stdarg.h>
6321 #include <string.h>
6322 #include <float.h>
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 ac_cv_header_stdc=yes
6334 else
6335 ac_cv_header_stdc=no
6337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6339 if test $ac_cv_header_stdc = yes; then
6340 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6343 #include <string.h>
6345 _ACEOF
6346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6347 $EGREP "memchr" >/dev/null 2>&1; then :
6349 else
6350 ac_cv_header_stdc=no
6352 rm -f conftest*
6356 if test $ac_cv_header_stdc = yes; then
6357 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6360 #include <stdlib.h>
6362 _ACEOF
6363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6364 $EGREP "free" >/dev/null 2>&1; then :
6366 else
6367 ac_cv_header_stdc=no
6369 rm -f conftest*
6373 if test $ac_cv_header_stdc = yes; then
6374 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6375 if test "$cross_compiling" = yes; then :
6377 else
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #include <ctype.h>
6381 #include <stdlib.h>
6382 #if ((' ' & 0x0FF) == 0x020)
6383 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6384 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6385 #else
6386 # define ISLOWER(c) \
6387 (('a' <= (c) && (c) <= 'i') \
6388 || ('j' <= (c) && (c) <= 'r') \
6389 || ('s' <= (c) && (c) <= 'z'))
6390 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6391 #endif
6393 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6395 main ()
6397 int i;
6398 for (i = 0; i < 256; i++)
6399 if (XOR (islower (i), ISLOWER (i))
6400 || toupper (i) != TOUPPER (i))
6401 return 2;
6402 return 0;
6404 _ACEOF
6405 if ac_fn_c_try_run "$LINENO"; then :
6407 else
6408 ac_cv_header_stdc=no
6410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6411 conftest.$ac_objext conftest.beam conftest.$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6417 $as_echo "$ac_cv_header_stdc" >&6; }
6418 if test $ac_cv_header_stdc = yes; then
6420 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6424 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6425 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6426 inttypes.h stdint.h unistd.h
6427 do :
6428 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6429 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6431 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6432 cat >>confdefs.h <<_ACEOF
6433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6434 _ACEOF
6438 done
6441 for ac_header in \
6442 AL/al.h \
6443 ApplicationServices/ApplicationServices.h \
6444 AudioToolbox/AudioConverter.h \
6445 AudioUnit/AudioUnit.h \
6446 AudioUnit/AudioComponent.h \
6447 CL/cl.h \
6448 Carbon/Carbon.h \
6449 CoreAudio/CoreAudio.h \
6450 CoreServices/CoreServices.h \
6451 DiskArbitration/DiskArbitration.h \
6452 IOKit/IOKitLib.h \
6453 IOKit/hid/IOHIDLib.h \
6454 OpenAL/al.h \
6455 OpenCL/opencl.h \
6456 QuickTime/ImageCompression.h \
6457 Security/Security.h \
6458 alias.h \
6459 alsa/asoundlib.h \
6460 arpa/inet.h \
6461 arpa/nameser.h \
6462 asm/types.h \
6463 asm/user.h \
6464 curses.h \
6465 direct.h \
6466 dirent.h \
6467 dlfcn.h \
6468 elf.h \
6469 float.h \
6470 fnmatch.h \
6471 getopt.h \
6472 gettext-po.h \
6473 grp.h \
6474 gsm.h \
6475 gsm/gsm.h \
6476 ieeefp.h \
6477 inet/mib2.h \
6478 io.h \
6479 kstat.h \
6480 lber.h \
6481 ldap.h \
6482 libproc.h \
6483 link.h \
6484 linux/cdrom.h \
6485 linux/compiler.h \
6486 linux/filter.h \
6487 linux/hdreg.h \
6488 linux/input.h \
6489 linux/ioctl.h \
6490 linux/joystick.h \
6491 linux/major.h \
6492 linux/param.h \
6493 linux/serial.h \
6494 linux/types.h \
6495 linux/ucdrom.h \
6496 lwp.h \
6497 mach-o/nlist.h \
6498 mach-o/loader.h \
6499 mach/mach.h \
6500 mach/machine.h \
6501 machine/cpu.h \
6502 machine/limits.h \
6503 machine/sysarch.h \
6504 mntent.h \
6505 ncurses.h \
6506 netdb.h \
6507 netinet/in.h \
6508 netinet/in_systm.h \
6509 netinet/tcp.h \
6510 netinet/tcp_fsm.h \
6511 pcap/pcap.h \
6512 poll.h \
6513 port.h \
6514 process.h \
6515 pthread.h \
6516 pwd.h \
6517 sched.h \
6518 scsi/scsi.h \
6519 scsi/scsi_ioctl.h \
6520 scsi/sg.h \
6521 stdbool.h \
6522 stdint.h \
6523 stropts.h \
6524 sys/asoundlib.h \
6525 sys/attr.h \
6526 sys/cdio.h \
6527 sys/elf32.h \
6528 sys/epoll.h \
6529 sys/event.h \
6530 sys/exec_elf.h \
6531 sys/filio.h \
6532 sys/inotify.h \
6533 sys/ioctl.h \
6534 sys/ipc.h \
6535 sys/limits.h \
6536 sys/link.h \
6537 sys/mman.h \
6538 sys/modem.h \
6539 sys/msg.h \
6540 sys/mtio.h \
6541 sys/param.h \
6542 sys/poll.h \
6543 sys/prctl.h \
6544 sys/protosw.h \
6545 sys/ptrace.h \
6546 sys/queue.h \
6547 sys/resource.h \
6548 sys/scsiio.h \
6549 sys/shm.h \
6550 sys/signal.h \
6551 sys/socket.h \
6552 sys/socketvar.h \
6553 sys/sockio.h \
6554 sys/statvfs.h \
6555 sys/strtio.h \
6556 sys/syscall.h \
6557 sys/tihdr.h \
6558 sys/time.h \
6559 sys/timeout.h \
6560 sys/times.h \
6561 sys/uio.h \
6562 sys/user.h \
6563 sys/utsname.h \
6564 sys/vm86.h \
6565 sys/wait.h \
6566 syscall.h \
6567 termios.h \
6568 unistd.h \
6569 utime.h \
6570 valgrind/memcheck.h \
6571 valgrind/valgrind.h \
6572 zlib.h
6574 do :
6575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6578 cat >>confdefs.h <<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 _ACEOF
6584 done
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6587 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6588 if ${ac_cv_header_stat_broken+:} false; then :
6589 $as_echo_n "(cached) " >&6
6590 else
6591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6594 #include <sys/stat.h>
6596 #if defined S_ISBLK && defined S_IFDIR
6597 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6598 #endif
6600 #if defined S_ISBLK && defined S_IFCHR
6601 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6602 #endif
6604 #if defined S_ISLNK && defined S_IFREG
6605 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6606 #endif
6608 #if defined S_ISSOCK && defined S_IFREG
6609 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6610 #endif
6612 _ACEOF
6613 if ac_fn_c_try_compile "$LINENO"; then :
6614 ac_cv_header_stat_broken=no
6615 else
6616 ac_cv_header_stat_broken=yes
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6621 $as_echo "$ac_cv_header_stat_broken" >&6; }
6622 if test $ac_cv_header_stat_broken = yes; then
6624 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6630 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6631 do :
6632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6633 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6634 #ifdef HAVE_SYS_PARAM_H
6635 # include <sys/param.h>
6636 #endif
6638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6639 cat >>confdefs.h <<_ACEOF
6640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6641 _ACEOF
6645 done
6648 for ac_header in \
6649 netinet/ip.h \
6650 net/if.h \
6651 net/if_arp.h \
6652 net/if_dl.h \
6653 net/if_types.h \
6654 net/route.h \
6655 netinet/if_ether.h \
6656 netinet/if_inarp.h \
6657 netinet/in_pcb.h \
6658 netinet/ip_icmp.h \
6659 netinet/ip_var.h \
6660 netinet/udp.h \
6661 netipx/ipx.h \
6662 sys/un.h \
6664 do :
6665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6667 #ifdef HAVE_SYS_SOCKET_H
6668 # include <sys/socket.h>
6669 #endif
6670 #ifdef HAVE_SYS_SOCKETVAR_H
6671 # include <sys/socketvar.h>
6672 #endif
6673 #ifdef HAVE_NET_ROUTE_H
6674 # include <net/route.h>
6675 #endif
6676 #ifdef HAVE_NETINET_IN_H
6677 # include <netinet/in.h>
6678 #endif
6679 #ifdef HAVE_NETINET_IN_SYSTM_H
6680 # include <netinet/in_systm.h>
6681 #endif
6682 #ifdef HAVE_NET_IF_H
6683 # include <net/if.h>
6684 #endif
6685 #ifdef HAVE_NETINET_IP_H
6686 # include <netinet/ip.h>
6687 #endif
6689 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6690 cat >>confdefs.h <<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6692 _ACEOF
6696 done
6699 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6700 do :
6701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6703 #ifdef HAVE_ALIAS_H
6704 # include <alias.h>
6705 #endif
6706 #ifdef HAVE_SYS_SOCKET_H
6707 # include <sys/socket.h>
6708 #endif
6709 #ifdef HAVE_SYS_SOCKETVAR_H
6710 # include <sys/socketvar.h>
6711 #endif
6712 #ifdef HAVE_SYS_TIMEOUT_H
6713 # include <sys/timeout.h>
6714 #endif
6715 #ifdef HAVE_NETINET_IN_H
6716 # include <netinet/in.h>
6717 #endif
6718 #ifdef HAVE_NETINET_IN_SYSTM_H
6719 # include <netinet/in_systm.h>
6720 #endif
6721 #ifdef HAVE_NETINET_IP_H
6722 # include <netinet/ip.h>
6723 #endif
6724 #ifdef HAVE_NETINET_IP_VAR_H
6725 # include <netinet/ip_var.h>
6726 #endif
6727 #ifdef HAVE_NETINET_IP_ICMP_H
6728 # include <netinet/ip_icmp.h>
6729 #endif
6730 #ifdef HAVE_NETINET_UDP_H
6731 # include <netinet/udp.h>
6732 #endif
6733 #ifdef HAVE_NETINET_TCP_H
6734 # include <netinet/tcp.h>
6735 #endif
6736 #ifdef HAVE_NETINET_TCP_TIMER_H
6737 #include <netinet/tcp_timer.h>
6738 #endif
6740 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6741 cat >>confdefs.h <<_ACEOF
6742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6743 _ACEOF
6747 done
6750 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6751 do :
6752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6754 #ifdef HAVE_ASM_TYPES_H
6755 # include <asm/types.h>
6756 #endif
6757 #ifdef HAVE_SYS_SOCKET_H
6758 # include <sys/socket.h>
6759 #endif
6760 #ifdef HAVE_LINUX_TYPES_H
6761 # include <linux/types.h>
6762 #endif
6764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6765 cat >>confdefs.h <<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6767 _ACEOF
6771 done
6774 for ac_header in mach-o/dyld_images.h
6775 do :
6776 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6777 # include <stdbool.h>
6778 #endif
6779 #ifdef HAVE_STDINT_H
6780 # include <stdint.h>
6781 #endif
6783 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF
6785 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6786 _ACEOF
6790 done
6793 for ac_header in resolv.h
6794 do :
6795 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6796 #ifdef HAVE_SYS_SOCKET_H
6797 # include <sys/socket.h>
6798 #endif
6799 #ifdef HAVE_NETINET_IN_H
6800 # include <netinet/in.h>
6801 #endif
6802 #ifdef HAVE_ARPA_NAMESER_H
6803 # include <arpa/nameser.h>
6804 #endif
6806 if test "x$ac_cv_header_resolv_h" = xyes; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_RESOLV_H 1
6809 _ACEOF
6813 done
6816 for ac_header in ifaddrs.h
6817 do :
6818 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6820 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6821 cat >>confdefs.h <<_ACEOF
6822 #define HAVE_IFADDRS_H 1
6823 _ACEOF
6827 done
6830 for ac_header in sys/ucontext.h
6831 do :
6832 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6834 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6835 cat >>confdefs.h <<_ACEOF
6836 #define HAVE_SYS_UCONTEXT_H 1
6837 _ACEOF
6841 done
6844 for ac_header in sys/thr.h
6845 do :
6846 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6847 #ifdef HAVE_SYS_UCONTEXT_H
6848 #include <sys/ucontext.h>
6849 #endif
6851 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define HAVE_SYS_THR_H 1
6854 _ACEOF
6858 done
6861 for ac_header in pthread_np.h
6862 do :
6863 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6864 #include <pthread.h>
6865 #endif
6867 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define HAVE_PTHREAD_NP_H 1
6870 _ACEOF
6874 done
6877 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6878 do :
6879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6880 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6881 #include <sys/time.h>
6882 #endif
6883 #include <sys/types.h>
6884 #ifdef HAVE_ASM_TYPES_H
6885 #include <asm/types.h>
6886 #endif
6888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 _ACEOF
6895 done
6898 for ac_header in libprocstat.h
6899 do :
6900 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6901 #include <sys/param.h>
6902 #endif
6903 #ifdef HAVE_SYS_QUEUE_H
6904 #include <sys/queue.h>
6905 #endif
6906 #ifdef HAVE_SYS_SOCKET_H
6907 #include <sys/socket.h>
6908 #endif
6910 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6911 cat >>confdefs.h <<_ACEOF
6912 #define HAVE_LIBPROCSTAT_H 1
6913 _ACEOF
6917 done
6921 dlldir="\${libdir}/wine"
6923 DLLPREFIX=""
6925 DLLFLAGS="-D_REENTRANT"
6927 LDRPATH_INSTALL=""
6929 LDRPATH_LOCAL=""
6931 LIBEXT="so"
6932 DLLEXT=".so"
6933 IMPLIBEXT="def"
6934 STATIC_IMPLIBEXT="def.a"
6935 # Extract the first word of "ldd", so it can be a program name with args.
6936 set dummy ldd; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_LDD+:} false; then :
6940 $as_echo_n "(cached) " >&6
6941 else
6942 case $LDD in
6943 [\\/]* | ?:[\\/]*)
6944 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 as_dummy="/sbin:/usr/sbin:$PATH"
6949 for as_dir in $as_dummy
6951 IFS=$as_save_IFS
6952 test -z "$as_dir" && as_dir=.
6953 for ac_exec_ext in '' $ac_executable_extensions; do
6954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6955 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 break 2
6959 done
6960 done
6961 IFS=$as_save_IFS
6963 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6965 esac
6967 LDD=$ac_cv_path_LDD
6968 if test -n "$LDD"; then
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6970 $as_echo "$LDD" >&6; }
6971 else
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6973 $as_echo "no" >&6; }
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6979 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_READELF+:} false; then :
6983 $as_echo_n "(cached) " >&6
6984 else
6985 if test -n "$READELF"; then
6986 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6987 else
6988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 for as_dir in $PATH
6991 IFS=$as_save_IFS
6992 test -z "$as_dir" && as_dir=.
6993 for ac_exec_ext in '' $ac_executable_extensions; do
6994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 break 2
6999 done
7000 done
7001 IFS=$as_save_IFS
7005 READELF=$ac_cv_prog_READELF
7006 if test -n "$READELF"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7008 $as_echo "$READELF" >&6; }
7009 else
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7016 if test -z "$ac_cv_prog_READELF"; then
7017 ac_ct_READELF=$READELF
7018 # Extract the first word of "readelf", so it can be a program name with args.
7019 set dummy readelf; ac_word=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7023 $as_echo_n "(cached) " >&6
7024 else
7025 if test -n "$ac_ct_READELF"; then
7026 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7027 else
7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 for as_dir in $PATH
7031 IFS=$as_save_IFS
7032 test -z "$as_dir" && as_dir=.
7033 for ac_exec_ext in '' $ac_executable_extensions; do
7034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_READELF="readelf"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 break 2
7039 done
7040 done
7041 IFS=$as_save_IFS
7045 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7046 if test -n "$ac_ct_READELF"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7048 $as_echo "$ac_ct_READELF" >&6; }
7049 else
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7054 if test "x$ac_ct_READELF" = x; then
7055 READELF="true"
7056 else
7057 case $cross_compiling:$ac_tool_warned in
7058 yes:)
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7061 ac_tool_warned=yes ;;
7062 esac
7063 READELF=$ac_ct_READELF
7065 else
7066 READELF="$ac_cv_prog_READELF"
7069 wine_rules_file=conf$$rules.make
7070 rm -f $wine_rules_file
7071 ALL_POT_FILES=""
7072 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7073 ALL_TEST_RESOURCES=""
7076 wine_fn_append_file ()
7078 as_fn_append $1 " \\$as_nl $2"
7081 wine_fn_ignore_file ()
7083 case "$1" in
7084 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7085 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7086 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7087 esac
7090 wine_fn_append_rule ()
7092 $as_echo "$1" >>$wine_rules_file
7095 wine_fn_has_flag ()
7097 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7100 wine_fn_depend_rules ()
7102 wine_fn_append_rule \
7103 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7104 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7105 depend: $ac_dir/depend
7106 .PHONY: $ac_dir/depend
7107 $ac_dir/depend: \$(MAKEDEP) dummy
7108 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7111 wine_fn_pot_rules ()
7113 test "x$with_gettextpo" = xyes || return
7115 if wine_fn_has_flag mc
7116 then
7117 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) msg.pot
7121 $ac_dir/msg.pot: tools/wmc include"
7123 if wine_fn_has_flag po
7124 then
7125 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7126 wine_fn_append_rule \
7127 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7128 @cd $ac_dir && \$(MAKE) rsrc.pot
7129 $ac_dir/rsrc.pot: tools/wrc include"
7133 wine_fn_all_rules ()
7135 wine_fn_depend_rules
7136 wine_fn_append_rule \
7137 "all: $ac_dir
7138 .PHONY: $ac_dir
7139 $ac_dir: $ac_dir/Makefile dummy
7140 @cd $ac_dir && \$(MAKE)"
7143 wine_fn_install_rules ()
7145 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7147 wine_fn_append_rule \
7148 ".PHONY: $ac_dir/install $ac_dir/uninstall
7149 $ac_dir/install:: $ac_dir
7150 @cd $ac_dir && \$(MAKE) install
7151 $ac_dir/uninstall:: $ac_dir/Makefile
7152 @cd $ac_dir && \$(MAKE) uninstall
7153 install:: $ac_dir/install
7154 __uninstall__: $ac_dir/uninstall"
7156 if wine_fn_has_flag install-lib
7157 then
7158 wine_fn_append_rule \
7159 ".PHONY: $ac_dir/install-lib
7160 $ac_dir/install-lib:: $ac_dir
7161 @cd $ac_dir && \$(MAKE) install-lib
7162 install-lib:: $ac_dir/install-lib"
7165 if wine_fn_has_flag install-dev
7166 then
7167 wine_fn_append_rule \
7168 ".PHONY: $ac_dir/install-dev
7169 $ac_dir/install-dev:: $ac_dir
7170 @cd $ac_dir && \$(MAKE) install-dev
7171 install-dev:: $ac_dir/install-dev"
7175 wine_fn_clean_rules ()
7177 ac_clean=$@
7178 ac_extraclean="$ac_dir/Makefile"
7179 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7180 case $ac_dir in
7181 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7182 esac
7184 if wine_fn_has_flag clean
7185 then
7186 wine_fn_append_rule \
7187 "__clean__: $ac_dir/clean
7188 .PHONY: $ac_dir/clean
7189 $ac_dir/clean: $ac_dir/Makefile
7190 @cd $ac_dir && \$(MAKE) clean
7191 \$(RM) $ac_extraclean"
7192 else
7193 wine_fn_append_rule \
7194 "__clean__: $ac_dir/clean
7195 .PHONY: $ac_dir/clean
7196 $ac_dir/clean: dummy
7197 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7201 wine_fn_disabled_rules ()
7203 ac_clean=$@
7204 ac_extraclean="$ac_dir/Makefile"
7205 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7207 wine_fn_append_rule \
7208 "__clean__: $ac_dir/clean
7209 .PHONY: $ac_dir/clean
7210 $ac_dir/clean: dummy
7211 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7214 wine_fn_config_makefile ()
7216 ac_dir=$1
7217 ac_enable=$2
7218 ac_flags=$3
7220 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7221 wine_fn_disabled_rules; return
7223 wine_fn_all_rules
7224 wine_fn_install_rules
7225 wine_fn_clean_rules
7228 wine_fn_config_lib ()
7230 ac_name=$1
7231 ac_flags=$2
7232 ac_dir=dlls/$ac_name
7233 ac_deps="include"
7235 if test "x$enable_tools" = xno; then :
7237 else
7238 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7240 wine_fn_all_rules
7241 wine_fn_clean_rules
7243 wine_fn_append_rule \
7244 ".PHONY: $ac_dir/install $ac_dir/uninstall
7245 $ac_dir/install:: $ac_dir
7246 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7247 $ac_dir/uninstall::
7248 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7249 install install-dev:: $ac_dir/install
7250 __uninstall__: $ac_dir/uninstall
7251 __builddeps__: $ac_dir
7252 $ac_dir: $ac_deps"
7255 wine_fn_config_dll ()
7257 ac_name=$1
7258 ac_dir=dlls/$ac_name
7259 ac_enable=$2
7260 ac_flags=$3
7261 ac_implib=${4:-$ac_name}
7262 ac_file=$ac_dir/lib$ac_implib
7263 ac_dll=$ac_name
7264 ac_deps="include"
7265 ac_implibflags=""
7267 if test "x$enable_tools" = xno; then :
7269 else
7270 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7272 case $ac_name in
7273 *16) ac_implibflags=" -m16" ;;
7274 *.*) ;;
7275 *) ac_dll=$ac_dll.dll ;;
7276 esac
7278 ac_clean=
7279 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7280 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7281 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7282 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7284 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7285 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7286 then
7287 wine_fn_depend_rules
7288 wine_fn_clean_rules $ac_clean
7289 else
7290 wine_fn_disabled_rules $ac_clean
7291 return
7293 else
7294 wine_fn_all_rules
7295 wine_fn_clean_rules $ac_clean
7296 wine_fn_append_rule \
7297 "$ac_dir: __builddeps__
7298 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) \$@
7300 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7301 install install-lib:: $ac_dir/install-lib
7302 __uninstall__: $ac_dir/uninstall"
7303 if test -n "$DLLEXT"
7304 then
7305 wine_fn_append_rule \
7306 "$ac_dir/install-lib:: $ac_dir
7307 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7308 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7309 $ac_dir/uninstall::
7310 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7311 else
7312 wine_fn_append_rule \
7313 "$ac_dir/install-lib:: $ac_dir
7314 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7315 $ac_dir/uninstall::
7316 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7319 wine_fn_pot_rules
7322 if wine_fn_has_flag staticimplib
7323 then
7324 wine_fn_append_rule \
7325 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7326 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7327 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7328 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7329 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7330 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7331 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7332 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7333 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7334 $ac_dir/uninstall::
7335 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7336 install install-dev:: $ac_dir/install-dev
7337 __uninstall__: $ac_dir/uninstall"
7339 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7340 then
7341 wine_fn_append_rule \
7342 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7343 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7344 $ac_dir/uninstall::
7345 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7348 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7349 then
7350 wine_fn_append_rule \
7351 "__builddeps__: $ac_file.cross.a
7352 $ac_file.cross.a: $ac_dir/Makefile dummy
7353 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7356 elif wine_fn_has_flag implib
7357 then
7358 wine_fn_append_rule \
7359 "__builddeps__: $ac_file.$IMPLIBEXT
7360 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7361 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7362 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7363 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7364 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7365 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7366 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7367 $ac_dir/uninstall::
7368 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7369 install install-dev:: $ac_dir/install-dev
7370 __uninstall__: $ac_dir/uninstall"
7371 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 then
7373 wine_fn_append_rule \
7374 "__builddeps__: $ac_file.cross.a
7375 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7376 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7379 if test "$ac_name" != "$ac_implib"
7380 then
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7383 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7385 clean::
7386 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7387 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7388 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7389 then
7390 wine_fn_append_rule \
7391 "__builddeps__: dlls/lib$ac_implib.cross.a
7392 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7393 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7394 clean::
7395 \$(RM) dlls/lib$ac_implib.cross.a"
7396 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7402 wine_fn_config_program ()
7404 ac_name=$1
7405 ac_dir=programs/$ac_name
7406 ac_enable=$2
7407 ac_flags=$3
7408 ac_program=$ac_name
7410 case $ac_name in
7411 *.*) ;;
7412 *) ac_program=$ac_program.exe ;;
7413 esac
7415 ac_clean=
7416 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7417 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7418 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7419 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7421 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7422 wine_fn_disabled_rules $ac_clean; return
7425 wine_fn_all_rules
7426 wine_fn_clean_rules $ac_clean
7427 wine_fn_append_rule "$ac_dir: __builddeps__"
7428 wine_fn_pot_rules
7430 wine_fn_has_flag install || return
7431 wine_fn_append_rule \
7432 ".PHONY: $ac_dir/install $ac_dir/uninstall
7433 install install-lib:: $ac_dir/install
7434 __uninstall__: $ac_dir/uninstall"
7436 if test -n "$DLLEXT"
7437 then
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7441 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7442 $ac_dir/uninstall::
7443 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7445 if test -z "$with_wine64" && wine_fn_has_flag installbin
7446 then
7447 wine_fn_append_rule \
7448 "$ac_dir/install:: __tooldeps__
7449 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7450 $ac_dir/uninstall::
7451 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7453 else
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7457 $ac_dir/uninstall::
7458 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7461 if test -z "$with_wine64" && wine_fn_has_flag manpage
7462 then
7463 wine_fn_append_rule \
7464 "$ac_dir/install:: $ac_dir
7465 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7471 wine_fn_config_test ()
7473 ac_dir=$1
7474 ac_name=$2
7475 ac_flags=$3
7477 ac_clean=
7478 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7479 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7481 if test "x$enable_tests" = xno; then :
7482 wine_fn_disabled_rules $ac_clean; return
7485 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7486 wine_fn_all_rules
7487 wine_fn_clean_rules $ac_clean
7489 wine_fn_append_rule \
7490 "$ac_dir: programs/winetest/Makefile __builddeps__
7491 programs/winetest: $ac_dir
7492 check test: $ac_dir/test
7493 .PHONY: $ac_dir/test
7494 $ac_dir/test: dummy
7495 @cd $ac_dir && \$(MAKE) test
7496 testclean::
7497 \$(RM) $ac_dir/*.ok"
7499 if test -n "$CROSSTARGET"
7500 then
7501 wine_fn_append_rule \
7502 "crosstest: $ac_dir/crosstest
7503 .PHONY: $ac_dir/crosstest
7504 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7505 @cd $ac_dir && \$(MAKE) crosstest"
7509 wine_fn_config_tool ()
7511 ac_dir=$1
7512 ac_flags=$2
7513 if test "x$enable_tools" = xno; then :
7514 return
7517 wine_fn_all_rules
7518 wine_fn_install_rules
7519 wine_fn_clean_rules
7521 wine_fn_append_rule "__tooldeps__: $ac_dir"
7522 wine_fn_append_rule "$ac_dir: libs/port"
7523 case $ac_dir in
7524 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7525 esac
7528 wine_fn_config_symlink ()
7530 ac_linkdir=
7531 if test "x$1" = "x-d"
7532 then
7533 ac_linkdir=$2
7534 shift; shift
7536 ac_links=$@
7537 wine_fn_append_rule \
7538 "$ac_links:
7539 @./config.status \$@
7540 distclean::
7541 \$(RM) $ac_links"
7542 for f in $ac_links; do wine_fn_ignore_file $f; done
7543 test -n "$ac_linkdir" || return
7544 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7547 wine_binary="wine"
7548 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7549 loader_programs="$wine_binary wine-installed"
7550 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7552 LOADER_RULES="
7553 all: wine.inf
7555 install install-lib:: wine-installed
7556 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7558 uninstall::
7559 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7563 case $host_os in
7564 cygwin*|mingw32*)
7565 if test -n "$ac_tool_prefix"; then
7566 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7567 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569 $as_echo_n "checking for $ac_word... " >&6; }
7570 if ${ac_cv_prog_DLLTOOL+:} false; then :
7571 $as_echo_n "(cached) " >&6
7572 else
7573 if test -n "$DLLTOOL"; then
7574 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7575 else
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7577 for as_dir in $PATH
7579 IFS=$as_save_IFS
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 break 2
7587 done
7588 done
7589 IFS=$as_save_IFS
7593 DLLTOOL=$ac_cv_prog_DLLTOOL
7594 if test -n "$DLLTOOL"; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7596 $as_echo "$DLLTOOL" >&6; }
7597 else
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599 $as_echo "no" >&6; }
7604 if test -z "$ac_cv_prog_DLLTOOL"; then
7605 ac_ct_DLLTOOL=$DLLTOOL
7606 # Extract the first word of "dlltool", so it can be a program name with args.
7607 set dummy dlltool; ac_word=$2
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7609 $as_echo_n "checking for $ac_word... " >&6; }
7610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7611 $as_echo_n "(cached) " >&6
7612 else
7613 if test -n "$ac_ct_DLLTOOL"; then
7614 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7615 else
7616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7617 for as_dir in $PATH
7619 IFS=$as_save_IFS
7620 test -z "$as_dir" && as_dir=.
7621 for ac_exec_ext in '' $ac_executable_extensions; do
7622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7623 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7625 break 2
7627 done
7628 done
7629 IFS=$as_save_IFS
7633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7634 if test -n "$ac_ct_DLLTOOL"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7636 $as_echo "$ac_ct_DLLTOOL" >&6; }
7637 else
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7639 $as_echo "no" >&6; }
7642 if test "x$ac_ct_DLLTOOL" = x; then
7643 DLLTOOL="false"
7644 else
7645 case $cross_compiling:$ac_tool_warned in
7646 yes:)
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7649 ac_tool_warned=yes ;;
7650 esac
7651 DLLTOOL=$ac_ct_DLLTOOL
7653 else
7654 DLLTOOL="$ac_cv_prog_DLLTOOL"
7657 LIBEXT="dll"
7658 DLLEXT=""
7659 IMPLIBEXT="a"
7660 STATIC_IMPLIBEXT="a"
7661 enable_iphlpapi=${enable_iphlpapi:-no}
7662 enable_kernel32=${enable_kernel32:-no}
7663 enable_msvcrt=${enable_msvcrt:-no}
7664 enable_ntdll=${enable_ntdll:-no}
7665 enable_ws2_32=${enable_ws2_32:-no}
7666 enable_loader=${enable_loader:-no}
7667 enable_server=${enable_server:-no}
7668 with_x=${with_x:-no}
7669 with_pthread=${with_pthread:-no}
7671 crtlibs=""
7672 case $host_os in
7673 mingw32*)
7674 crtlibs="-lmsvcrt"
7675 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7677 esac
7679 libwine_targets="libwine.dll libwine.a"
7680 LIBWINE_RULES="
7681 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7697 uninstall::
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7703 darwin*|macosx*)
7704 LIBEXT="dylib"
7705 DLLFLAGS="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS="-multiply_defined suppress"
7707 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATION_LIBS="-framework CoreFoundation"
7711 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7717 CORESERVICES_LIBS="-framework CoreServices"
7719 APPKIT_LIBS="-framework AppKit"
7721 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7723 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7724 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 ac_wine_try_cflags_saved=$CFLAGS
7728 CFLAGS="$CFLAGS -Wl,-no_pie"
7729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7731 int main(int argc, char **argv) { return 0; }
7732 _ACEOF
7733 if ac_fn_c_try_link "$LINENO"; then :
7734 ac_cv_cflags__Wl__no_pie=yes
7735 else
7736 ac_cv_cflags__Wl__no_pie=no
7738 rm -f core conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
7740 CFLAGS=$ac_wine_try_cflags_saved
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7743 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7744 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7745 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7747 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7748 then
7749 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7752 if test "$ac_cv_header_Security_Security_h" = "yes"
7753 then
7754 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7756 ac_save_LIBS="$LIBS"
7757 LIBS="$LIBS $SECURITY_LIBS"
7758 for ac_func in SSLCopyPeerCertificates
7759 do :
7760 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7761 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7764 _ACEOF
7767 done
7769 LIBS="$ac_save_LIBS"
7770 with_gnutls=${with_gnutls:-no}
7772 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7773 then
7774 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7775 then
7776 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7778 else
7779 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7782 ac_save_LIBS="$LIBS"
7783 LIBS="$LIBS $COREAUDIO_LIBS"
7784 for ac_func in AUGraphAddNode
7785 do :
7786 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7787 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7788 cat >>confdefs.h <<_ACEOF
7789 #define HAVE_AUGRAPHADDNODE 1
7790 _ACEOF
7793 done
7795 LIBS="$ac_save_LIBS"
7797 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7798 then
7799 OPENAL_LIBS="-framework OpenAL"
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_OPENAL 1
7804 _ACEOF
7806 ac_cv_lib_openal=yes
7808 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7809 then
7810 OPENCL_LIBS="-framework OpenCL"
7812 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7814 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7815 then
7816 ac_save_LIBS="$LIBS"
7817 LIBS="$LIBS $IOKIT_LIBS"
7818 for ac_func in IOHIDManagerCreate
7819 do :
7820 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7821 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7822 cat >>confdefs.h <<_ACEOF
7823 #define HAVE_IOHIDMANAGERCREATE 1
7824 _ACEOF
7827 done
7829 LIBS="$ac_save_LIBS"
7831 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7832 then
7833 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7835 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7836 else
7837 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7839 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7840 then
7841 CARBON_LIBS="-framework Carbon"
7845 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7846 then
7847 ac_save_LIBS="$LIBS"
7848 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7849 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7850 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7851 enable_winemac_drv=${enable_winemac_drv:-yes}
7854 LIBS="$ac_save_LIBS"
7857 if test "x$enable_win16" = "xyes"
7858 then
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7860 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7861 if test "$cross_compiling" = yes; then :
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7863 $as_echo "cross-compiling, assuming yes" >&6; }
7864 else
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867 asm(".text\n"
7868 "bad:\tnop;nop\n"
7869 "good:\tnop;nop\n\t"
7870 ".globl _testfunc\n"
7871 "_testfunc:\tcallw good");
7872 extern void testfunc();
7874 main ()
7876 unsigned short *p = (unsigned short *)testfunc;
7877 return p[0] != 0xe866 || p[1] != 0xfffa
7879 return 0;
7881 _ACEOF
7882 if ac_fn_c_try_run "$LINENO"; then :
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7884 $as_echo "yes" >&6; }
7885 else
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7887 $as_echo "no" >&6; }
7888 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
7890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7891 conftest.$ac_objext conftest.beam conftest.$ac_ext
7896 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7897 LIBWINE_RULES="
7898 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7900 all: libwine.dylib
7902 libwine.$libwine_version.dylib: \$(OBJS)
7903 \$(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 \$@
7905 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7906 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7908 libwine.dylib: libwine.$libwine_soversion.dylib
7909 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7911 install install-lib:: libwine.$libwine_version.dylib
7912 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7913 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7915 install install-dev::
7916 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7918 uninstall::
7919 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7923 as_fn_append LOADER_RULES "
7924 $wine_binary: main.o wine_info.plist
7925 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7927 wine-installed: main.o wine_info.plist
7928 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7932 linux-android*)
7933 DLLFLAGS="$DLLFLAGS -fPIC"
7934 DLLPREFIX="lib"
7935 LDEXECFLAGS=""
7936 dlldir="\${libdir}"
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7938 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7939 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7940 $as_echo_n "(cached) " >&6
7941 else
7942 ac_wine_try_cflags_saved=$CFLAGS
7943 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7946 int main(int argc, char **argv) { return 0; }
7947 _ACEOF
7948 if ac_fn_c_try_link "$LINENO"; then :
7949 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7950 else
7951 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7953 rm -f core conftest.err conftest.$ac_objext \
7954 conftest$ac_exeext conftest.$ac_ext
7955 CFLAGS=$ac_wine_try_cflags_saved
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7958 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7959 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7960 LDEXECFLAGS="-Wl,--export-dynamic"
7962 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7964 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7965 if eval \${$as_ac_var+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 ac_wine_try_cflags_saved=$CFLAGS
7969 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7973 _ACEOF
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 eval "$as_ac_var=yes"
7976 else
7977 eval "$as_ac_var=no"
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7981 CFLAGS=$ac_wine_try_cflags_saved
7983 eval ac_res=\$$as_ac_var
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7985 $as_echo "$ac_res" >&6; }
7986 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7987 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7988 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7989 else
7990 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7992 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7993 if eval \${$as_ac_var+:} false; then :
7994 $as_echo_n "(cached) " >&6
7995 else
7996 ac_wine_try_cflags_saved=$CFLAGS
7997 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 int main(int argc, char **argv) { return 0; }
8001 _ACEOF
8002 if ac_fn_c_try_link "$LINENO"; then :
8003 eval "$as_ac_var=yes"
8004 else
8005 eval "$as_ac_var=no"
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 CFLAGS=$ac_wine_try_cflags_saved
8011 eval ac_res=\$$as_ac_var
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8013 $as_echo "$ac_res" >&6; }
8014 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8015 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8016 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8021 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8022 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 ac_wine_try_cflags_saved=$CFLAGS
8026 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h. */
8029 int main(int argc, char **argv) { return 0; }
8030 _ACEOF
8031 if ac_fn_c_try_link "$LINENO"; then :
8032 ac_cv_cflags__Wl___enable_new_dtags=yes
8033 else
8034 ac_cv_cflags__Wl___enable_new_dtags=no
8036 rm -f core conftest.err conftest.$ac_objext \
8037 conftest$ac_exeext conftest.$ac_ext
8038 CFLAGS=$ac_wine_try_cflags_saved
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8041 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8042 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8043 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8046 case $host_cpu in
8047 *i[3456789]86* | x86_64)
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8049 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8050 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 ac_wine_try_cflags_saved=$CFLAGS
8054 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8057 int main(int argc, char **argv) { return 0; }
8058 _ACEOF
8059 if ac_fn_c_try_link "$LINENO"; then :
8060 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8061 else
8062 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8064 rm -f core conftest.err conftest.$ac_objext \
8065 conftest$ac_exeext conftest.$ac_ext
8066 CFLAGS=$ac_wine_try_cflags_saved
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8069 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8070 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8071 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8074 esac
8076 libwine_targets="libwine.so"
8077 LIBWINE_RULES="
8078 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8080 all: libwine.so
8082 libwine.so: \$(OBJS)
8083 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8085 install install-lib:: libwine.so
8086 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8088 uninstall::
8089 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8093 as_fn_append LOADER_RULES "
8094 $wine_binary: main.o
8095 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8097 wine-installed: main.o
8098 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8103 DLLFLAGS="$DLLFLAGS -fPIC"
8104 LDEXECFLAGS=""
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8106 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8107 if ${ac_cv_c_dll_gnuelf+:} false; then :
8108 $as_echo_n "(cached) " >&6
8109 else
8110 ac_wine_try_cflags_saved=$CFLAGS
8111 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114 void myfunc() {}
8115 _ACEOF
8116 if ac_fn_c_try_link "$LINENO"; then :
8117 ac_cv_c_dll_gnuelf="yes"
8118 else
8119 ac_cv_c_dll_gnuelf="no"
8121 rm -f core conftest.err conftest.$ac_objext \
8122 conftest$ac_exeext conftest.$ac_ext
8123 CFLAGS=$ac_wine_try_cflags_saved
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8126 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8127 if test "$ac_cv_c_dll_gnuelf" = "yes"
8128 then
8129 LDSHARED="\$(CC) -shared"
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8132 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 ac_wine_try_cflags_saved=$CFLAGS
8136 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8140 _ACEOF
8141 if ac_fn_c_try_link "$LINENO"; then :
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8143 else
8144 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8146 rm -f core conftest.err conftest.$ac_objext \
8147 conftest$ac_exeext conftest.$ac_ext
8148 CFLAGS=$ac_wine_try_cflags_saved
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8151 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8152 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8153 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8156 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8157 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8158 $as_echo_n "(cached) " >&6
8159 else
8160 ac_wine_try_cflags_saved=$CFLAGS
8161 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8163 /* end confdefs.h. */
8164 int main(int argc, char **argv) { return 0; }
8165 _ACEOF
8166 if ac_fn_c_try_link "$LINENO"; then :
8167 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8168 else
8169 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 CFLAGS=$ac_wine_try_cflags_saved
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8176 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8177 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8178 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8182 echo '{ global: *; };' >conftest.map
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8184 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8185 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 ac_wine_try_cflags_saved=$CFLAGS
8189 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8193 _ACEOF
8194 if ac_fn_c_try_link "$LINENO"; then :
8195 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8196 else
8197 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8199 rm -f core conftest.err conftest.$ac_objext \
8200 conftest$ac_exeext conftest.$ac_ext
8201 CFLAGS=$ac_wine_try_cflags_saved
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8204 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8205 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8206 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8208 rm -f conftest.map
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8211 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8212 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 ac_wine_try_cflags_saved=$CFLAGS
8216 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int main(int argc, char **argv) { return 0; }
8220 _ACEOF
8221 if ac_fn_c_try_link "$LINENO"; then :
8222 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8223 else
8224 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8226 rm -f core conftest.err conftest.$ac_objext \
8227 conftest$ac_exeext conftest.$ac_ext
8228 CFLAGS=$ac_wine_try_cflags_saved
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8231 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8232 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8233 LDEXECFLAGS="-Wl,--export-dynamic"
8236 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8238 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8239 if eval \${$as_ac_var+:} false; then :
8240 $as_echo_n "(cached) " >&6
8241 else
8242 ac_wine_try_cflags_saved=$CFLAGS
8243 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245 /* end confdefs.h. */
8246 int main(int argc, char **argv) { return 0; }
8247 _ACEOF
8248 if ac_fn_c_try_link "$LINENO"; then :
8249 eval "$as_ac_var=yes"
8250 else
8251 eval "$as_ac_var=no"
8253 rm -f core conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 CFLAGS=$ac_wine_try_cflags_saved
8257 eval ac_res=\$$as_ac_var
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8259 $as_echo "$ac_res" >&6; }
8260 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8261 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8262 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8263 else
8264 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8266 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8267 if eval \${$as_ac_var+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 ac_wine_try_cflags_saved=$CFLAGS
8271 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8273 /* end confdefs.h. */
8274 int main(int argc, char **argv) { return 0; }
8275 _ACEOF
8276 if ac_fn_c_try_link "$LINENO"; then :
8277 eval "$as_ac_var=yes"
8278 else
8279 eval "$as_ac_var=no"
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 CFLAGS=$ac_wine_try_cflags_saved
8285 eval ac_res=\$$as_ac_var
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8287 $as_echo "$ac_res" >&6; }
8288 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8289 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8290 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8295 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8296 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 ac_cv_cflags__Wl___enable_new_dtags=yes
8307 else
8308 ac_cv_cflags__Wl___enable_new_dtags=no
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8315 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8316 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8317 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8320 case $host_cpu in
8321 *i[3456789]86* | x86_64)
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8323 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8324 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_wine_try_cflags_saved=$CFLAGS
8328 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8332 _ACEOF
8333 if ac_fn_c_try_link "$LINENO"; then :
8334 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8335 else
8336 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8338 rm -f core conftest.err conftest.$ac_objext \
8339 conftest$ac_exeext conftest.$ac_ext
8340 CFLAGS=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8343 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8344 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8345 case $host_os in
8346 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8347 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8348 esac
8351 # Extract the first word of "prelink", so it can be a program name with args.
8352 set dummy prelink; ac_word=$2
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8354 $as_echo_n "checking for $ac_word... " >&6; }
8355 if ${ac_cv_path_PRELINK+:} false; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 case $PRELINK in
8359 [\\/]* | ?:[\\/]*)
8360 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8364 for as_dir in /sbin /usr/sbin $PATH
8366 IFS=$as_save_IFS
8367 test -z "$as_dir" && as_dir=.
8368 for ac_exec_ext in '' $ac_executable_extensions; do
8369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8370 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8372 break 2
8374 done
8375 done
8376 IFS=$as_save_IFS
8378 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8380 esac
8382 PRELINK=$ac_cv_path_PRELINK
8383 if test -n "$PRELINK"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8385 $as_echo "$PRELINK" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 if test "x$PRELINK" = xfalse
8393 then
8394 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8397 esac
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8401 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8402 if ${ac_cv_c_dll_unixware+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 void myfunc() {}
8410 _ACEOF
8411 if ac_fn_c_try_link "$LINENO"; then :
8412 ac_cv_c_dll_unixware="yes"
8413 else
8414 ac_cv_c_dll_unixware="no"
8416 rm -f core conftest.err conftest.$ac_objext \
8417 conftest$ac_exeext conftest.$ac_ext
8418 CFLAGS=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8421 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8422 if test "$ac_cv_c_dll_unixware" = "yes"
8423 then
8424 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8427 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8428 LIBWINE_RULES="
8429 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8431 all: libwine.so
8433 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8434 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8436 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8437 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8439 libwine.so: libwine.so.$libwine_soversion
8440 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8442 install install-lib:: libwine.so.$libwine_version
8443 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8444 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8446 install install-dev::
8447 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8449 uninstall::
8450 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8454 as_fn_append LOADER_RULES "
8455 $wine_binary: main.o
8456 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8458 wine-installed: main.o
8459 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8462 esac
8464 as_fn_append LIBWINE_RULES "
8465 EXTRA_TARGETS = $libwine_targets
8468 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8469 enable_winemac_drv=${enable_winemac_drv:-no}
8471 CROSSTARGET=""
8473 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8474 then
8475 case "$host_cpu" in
8476 i[3456789]86*)
8477 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
8478 mingw32-gcc" ;;
8479 x86_64)
8480 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 " ;;
8482 ac_prefix_list="" ;;
8483 esac
8484 for ac_prog in $ac_prefix_list
8486 # Extract the first word of "$ac_prog", so it can be a program name with args.
8487 set dummy $ac_prog; ac_word=$2
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8489 $as_echo_n "checking for $ac_word... " >&6; }
8490 if ${ac_cv_prog_CROSSCC+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 if test -n "$CROSSCC"; then
8494 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8495 else
8496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8497 for as_dir in $PATH
8499 IFS=$as_save_IFS
8500 test -z "$as_dir" && as_dir=.
8501 for ac_exec_ext in '' $ac_executable_extensions; do
8502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8503 ac_cv_prog_CROSSCC="$ac_prog"
8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 break 2
8507 done
8508 done
8509 IFS=$as_save_IFS
8513 CROSSCC=$ac_cv_prog_CROSSCC
8514 if test -n "$CROSSCC"; then
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8516 $as_echo "$CROSSCC" >&6; }
8517 else
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8523 test -n "$CROSSCC" && break
8524 done
8525 test -n "$CROSSCC" || CROSSCC="false"
8527 if test "$CROSSCC" != "false"
8528 then
8529 ac_save_CC="$CC"
8530 CC="$CROSSCC"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8532 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8537 main ()
8541 return 0;
8543 _ACEOF
8544 if ac_fn_c_try_compile "$LINENO"; then :
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8546 $as_echo "yes" >&6; }
8547 set x $CROSSCC
8548 shift
8549 while test $# -ge 1
8551 case "$1" in
8552 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8553 esac
8554 shift
8555 done
8556 else
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8558 $as_echo "no" >&6; }
8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 CC="$ac_save_CC"
8566 if test "$ac_cv_header_pthread_h" = "yes"
8567 then
8568 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8569 if test "x$ac_cv_func_pthread_create" = xyes; then :
8571 else
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8573 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8574 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8575 $as_echo_n "(cached) " >&6
8576 else
8577 ac_check_lib_save_LIBS=$LIBS
8578 LIBS="-lpthread $LIBS"
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8582 /* Override any GCC internal prototype to avoid an error.
8583 Use char because int might match the return type of a GCC
8584 builtin and then its argument prototype would still apply. */
8585 #ifdef __cplusplus
8586 extern "C"
8587 #endif
8588 char pthread_create ();
8590 main ()
8592 return pthread_create ();
8594 return 0;
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 ac_cv_lib_pthread_pthread_create=yes
8599 else
8600 ac_cv_lib_pthread_pthread_create=no
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 LIBS=$ac_check_lib_save_LIBS
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8607 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8608 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8609 PTHREAD_LIBS="-lpthread"
8616 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8617 case "x$with_pthread" in
8618 xno) ;;
8619 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8620 Wine cannot support threads without libpthread.
8621 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8622 esac
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8627 $as_echo_n "checking for X... " >&6; }
8630 # Check whether --with-x was given.
8631 if test "${with_x+set}" = set; then :
8632 withval=$with_x;
8635 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8636 if test "x$with_x" = xno; then
8637 # The user explicitly disabled X.
8638 have_x=disabled
8639 else
8640 case $x_includes,$x_libraries in #(
8641 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8642 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 # One or both of the vars are not set, and there is no cached value.
8646 ac_x_includes=no ac_x_libraries=no
8647 rm -f -r conftest.dir
8648 if mkdir conftest.dir; then
8649 cd conftest.dir
8650 cat >Imakefile <<'_ACEOF'
8651 incroot:
8652 @echo incroot='${INCROOT}'
8653 usrlibdir:
8654 @echo usrlibdir='${USRLIBDIR}'
8655 libdir:
8656 @echo libdir='${LIBDIR}'
8657 _ACEOF
8658 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8660 for ac_var in incroot usrlibdir libdir; do
8661 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8662 done
8663 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8664 for ac_extension in a so sl dylib la dll; do
8665 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8666 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8667 ac_im_usrlibdir=$ac_im_libdir; break
8669 done
8670 # Screen out bogus values from the imake configuration. They are
8671 # bogus both because they are the default anyway, and because
8672 # using them would break gcc on systems where it needs fixed includes.
8673 case $ac_im_incroot in
8674 /usr/include) ac_x_includes= ;;
8675 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8676 esac
8677 case $ac_im_usrlibdir in
8678 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8679 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8680 esac
8682 cd ..
8683 rm -f -r conftest.dir
8686 # Standard set of common directories for X headers.
8687 # Check X11 before X11Rn because it is often a symlink to the current release.
8688 ac_x_header_dirs='
8689 /usr/X11/include
8690 /usr/X11R7/include
8691 /usr/X11R6/include
8692 /usr/X11R5/include
8693 /usr/X11R4/include
8695 /usr/include/X11
8696 /usr/include/X11R7
8697 /usr/include/X11R6
8698 /usr/include/X11R5
8699 /usr/include/X11R4
8701 /usr/local/X11/include
8702 /usr/local/X11R7/include
8703 /usr/local/X11R6/include
8704 /usr/local/X11R5/include
8705 /usr/local/X11R4/include
8707 /usr/local/include/X11
8708 /usr/local/include/X11R7
8709 /usr/local/include/X11R6
8710 /usr/local/include/X11R5
8711 /usr/local/include/X11R4
8713 /usr/X386/include
8714 /usr/x386/include
8715 /usr/XFree86/include/X11
8717 /usr/include
8718 /usr/local/include
8719 /usr/unsupported/include
8720 /usr/athena/include
8721 /usr/local/x11r5/include
8722 /usr/lpp/Xamples/include
8724 /usr/openwin/include
8725 /usr/openwin/share/include'
8727 if test "$ac_x_includes" = no; then
8728 # Guess where to find include files, by looking for Xlib.h.
8729 # First, try using that file with no special directory specified.
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 #include <X11/Xlib.h>
8733 _ACEOF
8734 if ac_fn_c_try_cpp "$LINENO"; then :
8735 # We can compile using X headers with no special include directory.
8736 ac_x_includes=
8737 else
8738 for ac_dir in $ac_x_header_dirs; do
8739 if test -r "$ac_dir/X11/Xlib.h"; then
8740 ac_x_includes=$ac_dir
8741 break
8743 done
8745 rm -f conftest.err conftest.i conftest.$ac_ext
8746 fi # $ac_x_includes = no
8748 if test "$ac_x_libraries" = no; then
8749 # Check for the libraries.
8750 # See if we find them without any special options.
8751 # Don't add to $LIBS permanently.
8752 ac_save_LIBS=$LIBS
8753 LIBS="-lX11 $LIBS"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 #include <X11/Xlib.h>
8758 main ()
8760 XrmInitialize ()
8762 return 0;
8764 _ACEOF
8765 if ac_fn_c_try_link "$LINENO"; then :
8766 LIBS=$ac_save_LIBS
8767 # We can link X programs with no special library path.
8768 ac_x_libraries=
8769 else
8770 LIBS=$ac_save_LIBS
8771 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8773 # Don't even attempt the hair of trying to link an X program!
8774 for ac_extension in a so sl dylib la dll; do
8775 if test -r "$ac_dir/libX11.$ac_extension"; then
8776 ac_x_libraries=$ac_dir
8777 break 2
8779 done
8780 done
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 fi # $ac_x_libraries = no
8786 case $ac_x_includes,$ac_x_libraries in #(
8787 no,* | *,no | *\'*)
8788 # Didn't find X, or a directory has "'" in its name.
8789 ac_cv_have_x="have_x=no";; #(
8791 # Record where we found X for the cache.
8792 ac_cv_have_x="have_x=yes\
8793 ac_x_includes='$ac_x_includes'\
8794 ac_x_libraries='$ac_x_libraries'"
8795 esac
8797 ;; #(
8798 *) have_x=yes;;
8799 esac
8800 eval "$ac_cv_have_x"
8801 fi # $with_x != no
8803 if test "$have_x" != yes; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8805 $as_echo "$have_x" >&6; }
8806 no_x=yes
8807 else
8808 # If each of the values was on the command line, it overrides each guess.
8809 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8810 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8811 # Update the cache value to reflect the command line values.
8812 ac_cv_have_x="have_x=yes\
8813 ac_x_includes='$x_includes'\
8814 ac_x_libraries='$x_libraries'"
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8816 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8819 if test "$no_x" = yes; then
8820 # Not all programs may use this symbol, but it does not hurt to define it.
8822 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8824 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8825 else
8826 if test -n "$x_includes"; then
8827 X_CFLAGS="$X_CFLAGS -I$x_includes"
8830 # It would also be nice to do this for all -L options, not just this one.
8831 if test -n "$x_libraries"; then
8832 X_LIBS="$X_LIBS -L$x_libraries"
8833 # For Solaris; some versions of Sun CC require a space after -R and
8834 # others require no space. Words are not sufficient . . . .
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8836 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8837 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8838 ac_xsave_c_werror_flag=$ac_c_werror_flag
8839 ac_c_werror_flag=yes
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8844 main ()
8848 return 0;
8850 _ACEOF
8851 if ac_fn_c_try_link "$LINENO"; then :
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8853 $as_echo "no" >&6; }
8854 X_LIBS="$X_LIBS -R$x_libraries"
8855 else
8856 LIBS="$ac_xsave_LIBS -R $x_libraries"
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8861 main ()
8865 return 0;
8867 _ACEOF
8868 if ac_fn_c_try_link "$LINENO"; then :
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8870 $as_echo "yes" >&6; }
8871 X_LIBS="$X_LIBS -R $x_libraries"
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8874 $as_echo "neither works" >&6; }
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 ac_c_werror_flag=$ac_xsave_c_werror_flag
8882 LIBS=$ac_xsave_LIBS
8885 # Check for system-dependent libraries X programs must link with.
8886 # Do this before checking for the system-independent R6 libraries
8887 # (-lICE), since we may need -lsocket or whatever for X linking.
8889 if test "$ISC" = yes; then
8890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8891 else
8892 # Martyn Johnson says this is needed for Ultrix, if the X
8893 # libraries were built with DECnet support. And Karl Berry says
8894 # the Alpha needs dnet_stub (dnet does not exist).
8895 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8902 #ifdef __cplusplus
8903 extern "C"
8904 #endif
8905 char XOpenDisplay ();
8907 main ()
8909 return XOpenDisplay ();
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8916 else
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8918 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8919 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8920 $as_echo_n "(cached) " >&6
8921 else
8922 ac_check_lib_save_LIBS=$LIBS
8923 LIBS="-ldnet $LIBS"
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8927 /* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
8930 #ifdef __cplusplus
8931 extern "C"
8932 #endif
8933 char dnet_ntoa ();
8935 main ()
8937 return dnet_ntoa ();
8939 return 0;
8941 _ACEOF
8942 if ac_fn_c_try_link "$LINENO"; then :
8943 ac_cv_lib_dnet_dnet_ntoa=yes
8944 else
8945 ac_cv_lib_dnet_dnet_ntoa=no
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 LIBS=$ac_check_lib_save_LIBS
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8952 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8953 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8954 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8957 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8959 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8960 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 ac_check_lib_save_LIBS=$LIBS
8964 LIBS="-ldnet_stub $LIBS"
8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8968 /* Override any GCC internal prototype to avoid an error.
8969 Use char because int might match the return type of a GCC
8970 builtin and then its argument prototype would still apply. */
8971 #ifdef __cplusplus
8972 extern "C"
8973 #endif
8974 char dnet_ntoa ();
8976 main ()
8978 return dnet_ntoa ();
8980 return 0;
8982 _ACEOF
8983 if ac_fn_c_try_link "$LINENO"; then :
8984 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8985 else
8986 ac_cv_lib_dnet_stub_dnet_ntoa=no
8988 rm -f core conftest.err conftest.$ac_objext \
8989 conftest$ac_exeext conftest.$ac_ext
8990 LIBS=$ac_check_lib_save_LIBS
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8993 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8994 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8995 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9000 rm -f core conftest.err conftest.$ac_objext \
9001 conftest$ac_exeext conftest.$ac_ext
9002 LIBS="$ac_xsave_LIBS"
9004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9005 # to get the SysV transport functions.
9006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9007 # needs -lnsl.
9008 # The nsl library prevents programs from opening the X display
9009 # on Irix 5.2, according to T.E. Dickey.
9010 # The functions gethostbyname, getservbyname, and inet_addr are
9011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9012 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9013 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9017 if test $ac_cv_func_gethostbyname = no; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9019 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9020 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9021 $as_echo_n "(cached) " >&6
9022 else
9023 ac_check_lib_save_LIBS=$LIBS
9024 LIBS="-lnsl $LIBS"
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9028 /* Override any GCC internal prototype to avoid an error.
9029 Use char because int might match the return type of a GCC
9030 builtin and then its argument prototype would still apply. */
9031 #ifdef __cplusplus
9032 extern "C"
9033 #endif
9034 char gethostbyname ();
9036 main ()
9038 return gethostbyname ();
9040 return 0;
9042 _ACEOF
9043 if ac_fn_c_try_link "$LINENO"; then :
9044 ac_cv_lib_nsl_gethostbyname=yes
9045 else
9046 ac_cv_lib_nsl_gethostbyname=no
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9050 LIBS=$ac_check_lib_save_LIBS
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9053 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9054 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9055 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9058 if test $ac_cv_lib_nsl_gethostbyname = no; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9060 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9061 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9062 $as_echo_n "(cached) " >&6
9063 else
9064 ac_check_lib_save_LIBS=$LIBS
9065 LIBS="-lbsd $LIBS"
9066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9072 #ifdef __cplusplus
9073 extern "C"
9074 #endif
9075 char gethostbyname ();
9077 main ()
9079 return gethostbyname ();
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_link "$LINENO"; then :
9085 ac_cv_lib_bsd_gethostbyname=yes
9086 else
9087 ac_cv_lib_bsd_gethostbyname=no
9089 rm -f core conftest.err conftest.$ac_objext \
9090 conftest$ac_exeext conftest.$ac_ext
9091 LIBS=$ac_check_lib_save_LIBS
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9094 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9095 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9096 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9102 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9103 # socket/setsockopt and other routines are undefined under SCO ODT
9104 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9105 # on later versions), says Simon Leinen: it contains gethostby*
9106 # variants that don't use the name server (or something). -lsocket
9107 # must be given before -lnsl if both are needed. We assume that
9108 # if connect needs -lnsl, so does gethostbyname.
9109 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9110 if test "x$ac_cv_func_connect" = xyes; then :
9114 if test $ac_cv_func_connect = no; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9116 $as_echo_n "checking for connect in -lsocket... " >&6; }
9117 if ${ac_cv_lib_socket_connect+:} false; then :
9118 $as_echo_n "(cached) " >&6
9119 else
9120 ac_check_lib_save_LIBS=$LIBS
9121 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9123 /* end confdefs.h. */
9125 /* Override any GCC internal prototype to avoid an error.
9126 Use char because int might match the return type of a GCC
9127 builtin and then its argument prototype would still apply. */
9128 #ifdef __cplusplus
9129 extern "C"
9130 #endif
9131 char connect ();
9133 main ()
9135 return connect ();
9137 return 0;
9139 _ACEOF
9140 if ac_fn_c_try_link "$LINENO"; then :
9141 ac_cv_lib_socket_connect=yes
9142 else
9143 ac_cv_lib_socket_connect=no
9145 rm -f core conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
9147 LIBS=$ac_check_lib_save_LIBS
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9150 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9151 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9152 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9157 # Guillermo Gomez says -lposix is necessary on A/UX.
9158 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9159 if test "x$ac_cv_func_remove" = xyes; then :
9163 if test $ac_cv_func_remove = no; then
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9165 $as_echo_n "checking for remove in -lposix... " >&6; }
9166 if ${ac_cv_lib_posix_remove+:} false; then :
9167 $as_echo_n "(cached) " >&6
9168 else
9169 ac_check_lib_save_LIBS=$LIBS
9170 LIBS="-lposix $LIBS"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9177 #ifdef __cplusplus
9178 extern "C"
9179 #endif
9180 char remove ();
9182 main ()
9184 return remove ();
9186 return 0;
9188 _ACEOF
9189 if ac_fn_c_try_link "$LINENO"; then :
9190 ac_cv_lib_posix_remove=yes
9191 else
9192 ac_cv_lib_posix_remove=no
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9196 LIBS=$ac_check_lib_save_LIBS
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9199 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9200 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9201 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9206 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9207 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9208 if test "x$ac_cv_func_shmat" = xyes; then :
9212 if test $ac_cv_func_shmat = no; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9214 $as_echo_n "checking for shmat in -lipc... " >&6; }
9215 if ${ac_cv_lib_ipc_shmat+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_check_lib_save_LIBS=$LIBS
9219 LIBS="-lipc $LIBS"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char shmat ();
9231 main ()
9233 return shmat ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 ac_cv_lib_ipc_shmat=yes
9240 else
9241 ac_cv_lib_ipc_shmat=no
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9248 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9249 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9250 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9256 # Check for libraries that X11R6 Xt/Xaw programs need.
9257 ac_save_LDFLAGS=$LDFLAGS
9258 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9259 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9260 # check for ICE first), but we must link in the order -lSM -lICE or
9261 # we get undefined symbols. So assume we have SM if we have ICE.
9262 # These have to be linked with before -lX11, unlike the other
9263 # libraries we check for below, so use a different variable.
9264 # John Interrante, Karl Berry
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9266 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9267 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9268 $as_echo_n "(cached) " >&6
9269 else
9270 ac_check_lib_save_LIBS=$LIBS
9271 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char IceConnectionNumber ();
9283 main ()
9285 return IceConnectionNumber ();
9287 return 0;
9289 _ACEOF
9290 if ac_fn_c_try_link "$LINENO"; then :
9291 ac_cv_lib_ICE_IceConnectionNumber=yes
9292 else
9293 ac_cv_lib_ICE_IceConnectionNumber=no
9295 rm -f core conftest.err conftest.$ac_objext \
9296 conftest$ac_exeext conftest.$ac_ext
9297 LIBS=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9300 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9301 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9302 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9305 LDFLAGS=$ac_save_LDFLAGS
9310 if test "$have_x" = "yes"
9311 then
9312 ac_save_CPPFLAGS="$CPPFLAGS"
9313 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9316 $as_echo_n "checking for -lX11... " >&6; }
9317 if ${ac_cv_lib_soname_X11+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_check_soname_save_LIBS=$LIBS
9321 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char XCreateWindow ();
9333 main ()
9335 return XCreateWindow ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 case "$LIBEXT" in
9342 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9343 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'` ;;
9344 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9345 if ${ac_cv_lib_soname_X11:+false} :; then :
9346 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9347 fi ;;
9348 esac
9350 rm -f core conftest.err conftest.$ac_objext \
9351 conftest$ac_exeext conftest.$ac_ext
9352 LIBS=$ac_check_soname_save_LIBS
9354 if ${ac_cv_lib_soname_X11:+false} :; then :
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9356 $as_echo "not found" >&6; }
9358 else
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9360 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9362 cat >>confdefs.h <<_ACEOF
9363 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9364 _ACEOF
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9369 $as_echo_n "checking for -lXext... " >&6; }
9370 if ${ac_cv_lib_soname_Xext+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_check_soname_save_LIBS=$LIBS
9374 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9378 /* Override any GCC internal prototype to avoid an error.
9379 Use char because int might match the return type of a GCC
9380 builtin and then its argument prototype would still apply. */
9381 #ifdef __cplusplus
9382 extern "C"
9383 #endif
9384 char XextCreateExtension ();
9386 main ()
9388 return XextCreateExtension ();
9390 return 0;
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 case "$LIBEXT" in
9395 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9396 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'` ;;
9397 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9398 if ${ac_cv_lib_soname_Xext:+false} :; then :
9399 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9400 fi ;;
9401 esac
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_soname_save_LIBS
9407 if ${ac_cv_lib_soname_Xext:+false} :; then :
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9409 $as_echo "not found" >&6; }
9411 else
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9413 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9415 cat >>confdefs.h <<_ACEOF
9416 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9417 _ACEOF
9419 X_LIBS="$X_LIBS -lXext"
9421 X_LIBS="$X_LIBS -lX11"
9423 for ac_header in X11/Xlib.h \
9424 X11/XKBlib.h \
9425 X11/Xutil.h \
9426 X11/Xcursor/Xcursor.h \
9427 X11/extensions/shape.h \
9428 X11/extensions/XInput.h \
9429 X11/extensions/XInput2.h \
9430 X11/extensions/XShm.h \
9431 X11/extensions/Xcomposite.h \
9432 X11/extensions/Xinerama.h \
9433 X11/extensions/Xrandr.h \
9434 X11/extensions/Xrender.h \
9435 X11/extensions/xf86vmode.h \
9436 X11/extensions/xf86vmproto.h
9437 do :
9438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9440 # include <X11/Xlib.h>
9441 #endif
9442 #ifdef HAVE_X11_XUTIL_H
9443 # include <X11/Xutil.h>
9444 #endif
9446 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9447 cat >>confdefs.h <<_ACEOF
9448 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9449 _ACEOF
9453 done
9456 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9457 then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9459 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9460 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_check_lib_save_LIBS=$LIBS
9464 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9471 #ifdef __cplusplus
9472 extern "C"
9473 #endif
9474 char XkbQueryExtension ();
9476 main ()
9478 return XkbQueryExtension ();
9480 return 0;
9482 _ACEOF
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 ac_cv_lib_X11_XkbQueryExtension=yes
9485 else
9486 ac_cv_lib_X11_XkbQueryExtension=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LIBS=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9493 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9494 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9496 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9502 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9503 then
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9505 $as_echo_n "checking for -lXcursor... " >&6; }
9506 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_check_soname_save_LIBS=$LIBS
9510 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 char XcursorImageLoadCursor ();
9522 main ()
9524 return XcursorImageLoadCursor ();
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9530 case "$LIBEXT" in
9531 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9532 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'` ;;
9533 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9534 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9535 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9536 fi ;;
9537 esac
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 LIBS=$ac_check_soname_save_LIBS
9543 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9545 $as_echo "not found" >&6; }
9547 else
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9549 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9551 cat >>confdefs.h <<_ACEOF
9552 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9553 _ACEOF
9558 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9559 case "x$with_xcursor" in
9560 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9561 xno) ;;
9562 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9563 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9564 esac
9567 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9568 then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9570 $as_echo_n "checking for -lXi... " >&6; }
9571 if ${ac_cv_lib_soname_Xi+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_check_soname_save_LIBS=$LIBS
9575 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char XOpenDevice ();
9587 main ()
9589 return XOpenDevice ();
9591 return 0;
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595 case "$LIBEXT" in
9596 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9597 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'` ;;
9598 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9599 if ${ac_cv_lib_soname_Xi:+false} :; then :
9600 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9601 fi ;;
9602 esac
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LIBS=$ac_check_soname_save_LIBS
9608 if ${ac_cv_lib_soname_Xi:+false} :; then :
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9610 $as_echo "not found" >&6; }
9612 else
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9614 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9616 cat >>confdefs.h <<_ACEOF
9617 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9618 _ACEOF
9623 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9624 case "x$with_xinput" in
9625 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9626 xno) ;;
9627 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9628 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9629 esac
9632 if test "x$ac_cv_lib_soname_Xi" != x
9633 then
9634 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9635 case "x$with_xinput2" in
9636 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9637 xno) ;;
9638 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9639 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9640 esac
9644 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9645 then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9647 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9648 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9649 $as_echo_n "(cached) " >&6
9650 else
9651 ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9656 /* Override any GCC internal prototype to avoid an error.
9657 Use char because int might match the return type of a GCC
9658 builtin and then its argument prototype would still apply. */
9659 #ifdef __cplusplus
9660 extern "C"
9661 #endif
9662 char XShmQueryExtension ();
9664 main ()
9666 return XShmQueryExtension ();
9668 return 0;
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672 ac_cv_lib_Xext_XShmQueryExtension=yes
9673 else
9674 ac_cv_lib_Xext_XShmQueryExtension=no
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_lib_save_LIBS
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9681 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9682 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9684 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9689 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9690 case "x$with_xshm" in
9691 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9692 xno) ;;
9693 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9694 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9695 esac
9698 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9699 then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9701 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9702 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_lib_save_LIBS=$LIBS
9706 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XShapeQueryExtension ();
9718 main ()
9720 return XShapeQueryExtension ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 ac_cv_lib_Xext_XShapeQueryExtension=yes
9727 else
9728 ac_cv_lib_Xext_XShapeQueryExtension=no
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_lib_save_LIBS
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9735 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9736 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9738 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9743 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9744 case "x$with_xshape" in
9745 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9746 xno) ;;
9747 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9748 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9749 esac
9752 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9753 then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9755 $as_echo_n "checking for -lXxf86vm... " >&6; }
9756 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9757 $as_echo_n "(cached) " >&6
9758 else
9759 ac_check_soname_save_LIBS=$LIBS
9760 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9767 #ifdef __cplusplus
9768 extern "C"
9769 #endif
9770 char XF86VidModeQueryExtension ();
9772 main ()
9774 return XF86VidModeQueryExtension ();
9776 return 0;
9778 _ACEOF
9779 if ac_fn_c_try_link "$LINENO"; then :
9780 case "$LIBEXT" in
9781 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9782 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'` ;;
9783 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9784 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9785 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9786 fi ;;
9787 esac
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 LIBS=$ac_check_soname_save_LIBS
9793 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9795 $as_echo "not found" >&6; }
9797 else
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9799 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9801 cat >>confdefs.h <<_ACEOF
9802 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9803 _ACEOF
9808 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9809 case "x$with_xxf86vm" in
9810 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9811 xno) ;;
9812 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9813 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9814 esac
9817 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"
9818 then
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9820 $as_echo_n "checking for -lXrender... " >&6; }
9821 if ${ac_cv_lib_soname_Xrender+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_check_soname_save_LIBS=$LIBS
9825 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9832 #ifdef __cplusplus
9833 extern "C"
9834 #endif
9835 char XRenderQueryExtension ();
9837 main ()
9839 return XRenderQueryExtension ();
9841 return 0;
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 case "$LIBEXT" in
9846 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9847 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'` ;;
9848 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9849 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9850 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9851 fi ;;
9852 esac
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 LIBS=$ac_check_soname_save_LIBS
9858 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9860 $as_echo "not found" >&6; }
9862 else
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9864 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9866 cat >>confdefs.h <<_ACEOF
9867 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9868 _ACEOF
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9871 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9872 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9873 $as_echo_n "(cached) " >&6
9874 else
9875 ac_check_lib_save_LIBS=$LIBS
9876 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9880 /* Override any GCC internal prototype to avoid an error.
9881 Use char because int might match the return type of a GCC
9882 builtin and then its argument prototype would still apply. */
9883 #ifdef __cplusplus
9884 extern "C"
9885 #endif
9886 char XRenderSetPictureTransform ();
9888 main ()
9890 return XRenderSetPictureTransform ();
9892 return 0;
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9897 else
9898 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9905 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9906 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9908 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9913 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9914 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9915 $as_echo_n "(cached) " >&6
9916 else
9917 ac_check_lib_save_LIBS=$LIBS
9918 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9925 #ifdef __cplusplus
9926 extern "C"
9927 #endif
9928 char XRenderCreateLinearGradient ();
9930 main ()
9932 return XRenderCreateLinearGradient ();
9934 return 0;
9936 _ACEOF
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9939 else
9940 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9947 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9948 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9950 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9957 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9958 case "x$with_xrender" in
9959 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9960 xno) ;;
9961 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9962 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9963 esac
9966 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9967 then
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 #include <X11/Xlib.h>
9971 #include <X11/extensions/Xrandr.h>
9973 main ()
9975 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9977 return 0;
9979 _ACEOF
9980 if ac_fn_c_try_compile "$LINENO"; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9982 $as_echo_n "checking for -lXrandr... " >&6; }
9983 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 ac_check_soname_save_LIBS=$LIBS
9987 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h. */
9991 /* Override any GCC internal prototype to avoid an error.
9992 Use char because int might match the return type of a GCC
9993 builtin and then its argument prototype would still apply. */
9994 #ifdef __cplusplus
9995 extern "C"
9996 #endif
9997 char XRRQueryExtension ();
9999 main ()
10001 return XRRQueryExtension ();
10003 return 0;
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 case "$LIBEXT" in
10008 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10009 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'` ;;
10010 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10011 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10012 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10013 fi ;;
10014 esac
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 LIBS=$ac_check_soname_save_LIBS
10020 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10022 $as_echo "not found" >&6; }
10024 else
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10026 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10028 cat >>confdefs.h <<_ACEOF
10029 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10030 _ACEOF
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 #include <X11/Xlib.h>
10035 #include <X11/extensions/Xrandr.h>
10037 main ()
10039 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10041 return 0;
10043 _ACEOF
10044 if ac_fn_c_try_compile "$LINENO"; then :
10046 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10055 case "x$with_xrandr" in
10056 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10057 xno) ;;
10058 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10060 esac
10063 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10064 then
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 #include <X11/Xlib.h>
10068 #include <X11/extensions/Xinerama.h>
10070 main ()
10072 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_compile "$LINENO"; then :
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10079 $as_echo_n "checking for -lXinerama... " >&6; }
10080 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_check_soname_save_LIBS=$LIBS
10084 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10091 #ifdef __cplusplus
10092 extern "C"
10093 #endif
10094 char XineramaQueryScreens ();
10096 main ()
10098 return XineramaQueryScreens ();
10100 return 0;
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"; then :
10104 case "$LIBEXT" in
10105 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10106 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'` ;;
10107 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10108 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10109 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10110 fi ;;
10111 esac
10113 rm -f core conftest.err conftest.$ac_objext \
10114 conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_soname_save_LIBS
10117 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10119 $as_echo "not found" >&6; }
10121 else
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10123 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10125 cat >>confdefs.h <<_ACEOF
10126 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10127 _ACEOF
10132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10134 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10135 case "x$with_xinerama" in
10136 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10137 xno) ;;
10138 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10139 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10140 esac
10143 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10144 then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10146 $as_echo_n "checking for -lXcomposite... " >&6; }
10147 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_check_soname_save_LIBS=$LIBS
10151 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char XCompositeRedirectWindow ();
10163 main ()
10165 return XCompositeRedirectWindow ();
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 case "$LIBEXT" in
10172 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10176 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 fi ;;
10178 esac
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10188 else
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10190 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10192 cat >>confdefs.h <<_ACEOF
10193 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10194 _ACEOF
10199 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10200 case "x$with_xcomposite" in
10201 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10202 xno) ;;
10203 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10204 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10205 esac
10208 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10209 #include <X11/Xlib.h>
10210 #endif
10212 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10214 cat >>confdefs.h <<_ACEOF
10215 #define HAVE_XICCALLBACK_CALLBACK 1
10216 _ACEOF
10220 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10221 #include <X11/Xlib.h>
10222 #endif
10224 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10226 cat >>confdefs.h <<_ACEOF
10227 #define HAVE_XEVENT_XCOOKIE 1
10228 _ACEOF
10235 opengl_msg=""
10236 if test "x$with_opengl" != "xno"
10237 then
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10239 $as_echo_n "checking for -lGL... " >&6; }
10240 if ${ac_cv_lib_soname_GL+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_soname_save_LIBS=$LIBS
10244 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char glXCreateContext ();
10256 main ()
10258 return glXCreateContext ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 case "$LIBEXT" in
10265 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10266 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'` ;;
10267 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10268 if ${ac_cv_lib_soname_GL:+false} :; then :
10269 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10273 rm -f core conftest.err conftest.$ac_objext \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_soname_save_LIBS
10277 if ${ac_cv_lib_soname_GL:+false} :; then :
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10279 $as_echo "not found" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10281 $as_echo_n "checking for -lGL... " >&6; }
10282 if ${ac_cv_lib_soname_GL+:} false; then :
10283 $as_echo_n "(cached) " >&6
10284 else
10285 ac_check_soname_save_LIBS=$LIBS
10286 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"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char glXCreateContext ();
10298 main ()
10300 return glXCreateContext ();
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"; then :
10306 case "$LIBEXT" in
10307 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10308 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'` ;;
10309 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10310 if ${ac_cv_lib_soname_GL:+false} :; then :
10311 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10312 fi ;;
10313 esac
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_soname_save_LIBS
10319 if ${ac_cv_lib_soname_GL:+false} :; then :
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10321 $as_echo "not found" >&6; }
10322 if test -f /usr/X11R6/lib/libGL.a
10323 then
10324 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10325 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10326 else
10327 opengl_msg="No OpenGL library found on this system."
10329 else
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10331 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10333 cat >>confdefs.h <<_ACEOF
10334 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10335 _ACEOF
10337 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"
10339 else
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10341 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10343 cat >>confdefs.h <<_ACEOF
10344 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10345 _ACEOF
10347 OPENGL_LIBS="-lGL"
10349 if test "x$with_glu" != "xno"
10350 then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10352 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10353 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_lib_save_LIBS=$LIBS
10357 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char gluLookAt ();
10369 main ()
10371 return gluLookAt ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 ac_cv_lib_GLU_gluLookAt=yes
10378 else
10379 ac_cv_lib_GLU_gluLookAt=no
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_lib_save_LIBS
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10386 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10387 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10391 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10392 case "x$with_glu" in
10393 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10394 xno) ;;
10395 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10396 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10397 esac
10401 if test "x$with_osmesa" != "xno"
10402 then
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10404 $as_echo_n "checking for -lOSMesa... " >&6; }
10405 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_check_soname_save_LIBS=$LIBS
10409 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10416 #ifdef __cplusplus
10417 extern "C"
10418 #endif
10419 char glAccum ();
10421 main ()
10423 return glAccum ();
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 case "$LIBEXT" in
10430 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10434 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10435 fi ;;
10436 esac
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10446 else
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10448 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10450 cat >>confdefs.h <<_ACEOF
10451 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10452 _ACEOF
10456 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10457 case "x$with_osmesa" in
10458 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10459 xno) ;;
10460 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10461 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10462 esac
10466 if test -n "$opengl_msg"; then :
10467 case "x$with_opengl" in
10468 x) as_fn_append wine_warnings "|$opengl_msg
10469 OpenGL and Direct3D won't be supported." ;;
10470 xno) ;;
10471 *) as_fn_error $? "$opengl_msg
10472 OpenGL and Direct3D won't be supported.
10473 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10474 esac
10477 CPPFLAGS="$ac_save_CPPFLAGS"
10478 else
10479 X_CFLAGS=""
10480 X_LIBS=""
10481 enable_winex11_drv=${enable_winex11_drv:-no}
10483 if test "x$X_LIBS" = "x"; then :
10484 case "x$with_x" in
10485 xno) ;;
10486 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10487 without X support, which probably isn't what you want. You will need
10488 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10489 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10490 esac
10493 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10495 if test "$ac_cv_header_CL_cl_h" = "yes"
10496 then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10498 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10499 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10500 $as_echo_n "(cached) " >&6
10501 else
10502 ac_check_lib_save_LIBS=$LIBS
10503 LIBS="-lOpenCL $LIBS"
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10507 /* Override any GCC internal prototype to avoid an error.
10508 Use char because int might match the return type of a GCC
10509 builtin and then its argument prototype would still apply. */
10510 #ifdef __cplusplus
10511 extern "C"
10512 #endif
10513 char clGetPlatformInfo ();
10515 main ()
10517 return clGetPlatformInfo ();
10519 return 0;
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10524 else
10525 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10527 rm -f core conftest.err conftest.$ac_objext \
10528 conftest$ac_exeext conftest.$ac_ext
10529 LIBS=$ac_check_lib_save_LIBS
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10532 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10533 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10534 OPENCL_LIBS="-lOpenCL"
10539 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10540 case "x$with_opencl" in
10541 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10542 xno) ;;
10543 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10544 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10545 esac
10547 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10549 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10550 then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10552 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10553 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10554 $as_echo_n "(cached) " >&6
10555 else
10556 ac_check_lib_save_LIBS=$LIBS
10557 LIBS="-lpcap $LIBS"
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10564 #ifdef __cplusplus
10565 extern "C"
10566 #endif
10567 char pcap_create ();
10569 main ()
10571 return pcap_create ();
10573 return 0;
10575 _ACEOF
10576 if ac_fn_c_try_link "$LINENO"; then :
10577 ac_cv_lib_pcap_pcap_create=yes
10578 else
10579 ac_cv_lib_pcap_pcap_create=no
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10586 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10587 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10588 LIBPCAP="-lpcap"
10593 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10594 case "x$with_pcap" in
10595 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10596 xno) ;;
10597 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10598 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10599 esac
10601 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10604 if test "x$with_xml" != "xno"
10605 then
10606 if ${XML2_CFLAGS:+false} :; then :
10607 if ${PKG_CONFIG+:} false; then :
10608 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10611 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10612 if ${XML2_LIBS:+false} :; then :
10613 if ${PKG_CONFIG+:} false; then :
10614 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10617 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10618 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10619 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10620 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10621 ac_save_CPPFLAGS=$CPPFLAGS
10622 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10623 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10624 do :
10625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10626 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10628 cat >>confdefs.h <<_ACEOF
10629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10630 _ACEOF
10634 done
10636 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"
10637 then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10639 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10640 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10641 $as_echo_n "(cached) " >&6
10642 else
10643 ac_check_lib_save_LIBS=$LIBS
10644 LIBS="-lxml2 $XML2_LIBS $LIBS"
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10651 #ifdef __cplusplus
10652 extern "C"
10653 #endif
10654 char xmlParseMemory ();
10656 main ()
10658 return xmlParseMemory ();
10660 return 0;
10662 _ACEOF
10663 if ac_fn_c_try_link "$LINENO"; then :
10664 ac_cv_lib_xml2_xmlParseMemory=yes
10665 else
10666 ac_cv_lib_xml2_xmlParseMemory=no
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LIBS=$ac_check_lib_save_LIBS
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10673 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10674 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10676 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10678 else
10679 XML2_LIBS=""
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10683 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10684 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10685 $as_echo_n "(cached) " >&6
10686 else
10687 ac_check_lib_save_LIBS=$LIBS
10688 LIBS="-lxml2 $XML2_LIBS $LIBS"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10695 #ifdef __cplusplus
10696 extern "C"
10697 #endif
10698 char xmlReadMemory ();
10700 main ()
10702 return xmlReadMemory ();
10704 return 0;
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_lib_xml2_xmlReadMemory=yes
10709 else
10710 ac_cv_lib_xml2_xmlReadMemory=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10717 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10718 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10720 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10725 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10726 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10727 $as_echo_n "(cached) " >&6
10728 else
10729 ac_check_lib_save_LIBS=$LIBS
10730 LIBS="-lxml2 $XML2_LIBS $LIBS"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10734 /* Override any GCC internal prototype to avoid an error.
10735 Use char because int might match the return type of a GCC
10736 builtin and then its argument prototype would still apply. */
10737 #ifdef __cplusplus
10738 extern "C"
10739 #endif
10740 char xmlNewDocPI ();
10742 main ()
10744 return xmlNewDocPI ();
10746 return 0;
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 ac_cv_lib_xml2_xmlNewDocPI=yes
10751 else
10752 ac_cv_lib_xml2_xmlNewDocPI=no
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 LIBS=$ac_check_lib_save_LIBS
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10759 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10760 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10762 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10767 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10768 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_lib_save_LIBS=$LIBS
10772 LIBS="-lxml2 $XML2_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char xmlSchemaSetParserStructuredErrors ();
10784 main ()
10786 return xmlSchemaSetParserStructuredErrors ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10793 else
10794 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10796 rm -f core conftest.err conftest.$ac_objext \
10797 conftest$ac_exeext conftest.$ac_ext
10798 LIBS=$ac_check_lib_save_LIBS
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10801 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10802 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10804 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10809 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10810 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10811 $as_echo_n "(cached) " >&6
10812 else
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-lxml2 $XML2_LIBS $LIBS"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char xmlSchemaSetValidStructuredErrors ();
10826 main ()
10828 return xmlSchemaSetValidStructuredErrors ();
10830 return 0;
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10835 else
10836 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10843 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10844 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10846 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10851 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10852 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 ac_check_lib_save_LIBS=$LIBS
10856 LIBS="-lxml2 $XML2_LIBS $LIBS"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10863 #ifdef __cplusplus
10864 extern "C"
10865 #endif
10866 char xmlFirstElementChild ();
10868 main ()
10870 return xmlFirstElementChild ();
10872 return 0;
10874 _ACEOF
10875 if ac_fn_c_try_link "$LINENO"; then :
10876 ac_cv_lib_xml2_xmlFirstElementChild=yes
10877 else
10878 ac_cv_lib_xml2_xmlFirstElementChild=no
10880 rm -f core conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10882 LIBS=$ac_check_lib_save_LIBS
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10885 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10886 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10888 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10892 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10894 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10896 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10900 else
10901 XML2_CFLAGS=""
10902 XML2_LIBS=""
10904 CPPFLAGS=$ac_save_CPPFLAGS
10905 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10906 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10909 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10910 case "x$with_xml" in
10911 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10912 xno) ;;
10913 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10914 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10915 esac
10918 if test "x$with_xslt" != "xno"
10919 then
10920 if ${XSLT_CFLAGS:+false} :; then :
10921 if ${PKG_CONFIG+:} false; then :
10922 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10925 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10926 if ${XSLT_LIBS:+false} :; then :
10927 if ${PKG_CONFIG+:} false; then :
10928 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10931 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10932 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10933 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10934 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10935 ac_save_CPPFLAGS=$CPPFLAGS
10936 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10937 for ac_header in libxslt/pattern.h libxslt/transform.h
10938 do :
10939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10941 # include <libxslt/pattern.h>
10942 #endif
10944 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10945 cat >>confdefs.h <<_ACEOF
10946 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10947 _ACEOF
10951 done
10953 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10954 then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10956 $as_echo_n "checking for -lxslt... " >&6; }
10957 if ${ac_cv_lib_soname_xslt+:} false; then :
10958 $as_echo_n "(cached) " >&6
10959 else
10960 ac_check_soname_save_LIBS=$LIBS
10961 LIBS="-lxslt $XSLT_LIBS $LIBS"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10968 #ifdef __cplusplus
10969 extern "C"
10970 #endif
10971 char xsltCompilePattern ();
10973 main ()
10975 return xsltCompilePattern ();
10977 return 0;
10979 _ACEOF
10980 if ac_fn_c_try_link "$LINENO"; then :
10981 case "$LIBEXT" in
10982 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10983 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'` ;;
10984 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10985 if ${ac_cv_lib_soname_xslt:+false} :; then :
10986 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10987 fi ;;
10988 esac
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_soname_save_LIBS
10994 if ${ac_cv_lib_soname_xslt:+false} :; then :
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10996 $as_echo "not found" >&6; }
10998 else
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11000 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11002 cat >>confdefs.h <<_ACEOF
11003 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11004 _ACEOF
11008 else
11009 XSLT_CFLAGS=""
11011 CPPFLAGS=$ac_save_CPPFLAGS
11012 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11013 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11016 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11017 case "x$with_xslt" in
11018 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11019 xno) ;;
11020 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11021 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11022 esac
11025 if test "x$with_dbus" != "xno"
11026 then
11027 if ${DBUS_CFLAGS:+false} :; then :
11028 if ${PKG_CONFIG+:} false; then :
11029 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11033 if ${DBUS_LIBS:+false} :; then :
11034 if ${PKG_CONFIG+:} false; then :
11035 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11040 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11041 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11042 ac_save_CPPFLAGS=$CPPFLAGS
11043 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11044 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11045 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11047 $as_echo_n "checking for -ldbus-1... " >&6; }
11048 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11049 $as_echo_n "(cached) " >&6
11050 else
11051 ac_check_soname_save_LIBS=$LIBS
11052 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11056 /* Override any GCC internal prototype to avoid an error.
11057 Use char because int might match the return type of a GCC
11058 builtin and then its argument prototype would still apply. */
11059 #ifdef __cplusplus
11060 extern "C"
11061 #endif
11062 char dbus_connection_close ();
11064 main ()
11066 return dbus_connection_close ();
11068 return 0;
11070 _ACEOF
11071 if ac_fn_c_try_link "$LINENO"; then :
11072 case "$LIBEXT" in
11073 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11074 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'` ;;
11075 *) 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'`
11076 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11077 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11078 fi ;;
11079 esac
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_soname_save_LIBS
11085 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11087 $as_echo "not found" >&6; }
11088 DBUS_CFLAGS=""
11089 else
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11091 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11093 cat >>confdefs.h <<_ACEOF
11094 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11095 _ACEOF
11099 else
11100 DBUS_CFLAGS=""
11104 CPPFLAGS=$ac_save_CPPFLAGS
11105 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11106 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11109 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11110 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11111 case "x$with_dbus" in
11112 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11113 xno) ;;
11114 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11115 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11116 esac
11119 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11120 then
11121 if ${HAL_CFLAGS:+false} :; then :
11122 if ${PKG_CONFIG+:} false; then :
11123 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11127 if ${HAL_LIBS:+false} :; then :
11128 if ${PKG_CONFIG+:} false; then :
11129 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11133 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11134 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11135 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11136 ac_save_CPPFLAGS=$CPPFLAGS
11137 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11138 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11139 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11141 $as_echo_n "checking for -lhal... " >&6; }
11142 if ${ac_cv_lib_soname_hal+:} false; then :
11143 $as_echo_n "(cached) " >&6
11144 else
11145 ac_check_soname_save_LIBS=$LIBS
11146 LIBS="-lhal $HAL_LIBS $LIBS"
11147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char libhal_ctx_new ();
11158 main ()
11160 return libhal_ctx_new ();
11162 return 0;
11164 _ACEOF
11165 if ac_fn_c_try_link "$LINENO"; then :
11166 case "$LIBEXT" in
11167 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11168 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'` ;;
11169 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11170 if ${ac_cv_lib_soname_hal:+false} :; then :
11171 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11172 fi ;;
11173 esac
11175 rm -f core conftest.err conftest.$ac_objext \
11176 conftest$ac_exeext conftest.$ac_ext
11177 LIBS=$ac_check_soname_save_LIBS
11179 if ${ac_cv_lib_soname_hal:+false} :; then :
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11181 $as_echo "not found" >&6; }
11182 HAL_CFLAGS=""
11183 else
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11185 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11187 cat >>confdefs.h <<_ACEOF
11188 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11189 _ACEOF
11193 else
11194 HAL_CFLAGS=""
11198 CPPFLAGS=$ac_save_CPPFLAGS
11199 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11200 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11202 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11203 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11204 case "x$with_hal" in
11205 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11206 xno) ;;
11207 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11208 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11209 esac
11213 if test "x$with_gnutls" != "xno"
11214 then
11215 if ${GNUTLS_CFLAGS:+false} :; then :
11216 if ${PKG_CONFIG+:} false; then :
11217 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11221 if ${GNUTLS_LIBS:+false} :; then :
11222 if ${PKG_CONFIG+:} false; then :
11223 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11228 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11229 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11230 ac_save_CPPFLAGS=$CPPFLAGS
11231 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11232 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11233 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11236 #include <gnutls/gnutls.h>
11237 #include <gnutls/crypto.h>
11239 main ()
11241 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_compile "$LINENO"; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11248 $as_echo_n "checking for -lgnutls... " >&6; }
11249 if ${ac_cv_lib_soname_gnutls+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_soname_save_LIBS=$LIBS
11253 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char gnutls_global_init ();
11265 main ()
11267 return gnutls_global_init ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 case "$LIBEXT" in
11274 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11275 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'` ;;
11276 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11277 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11278 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11279 fi ;;
11280 esac
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_soname_save_LIBS
11286 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11288 $as_echo "not found" >&6; }
11289 GNUTLS_CFLAGS=""
11290 else
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11292 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11294 cat >>confdefs.h <<_ACEOF
11295 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11296 _ACEOF
11301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11302 else
11303 GNUTLS_CFLAGS=""
11307 CPPFLAGS=$ac_save_CPPFLAGS
11308 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11309 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11312 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11313 case "x$with_gnutls" in
11314 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11315 xno) ;;
11316 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11317 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11318 esac
11321 CURSES_LIBS=""
11322 if test "$ac_cv_header_ncurses_h" = "yes"
11323 then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11325 $as_echo_n "checking for -lncurses... " >&6; }
11326 if ${ac_cv_lib_soname_ncurses+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_soname_save_LIBS=$LIBS
11330 LIBS="-lncurses $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char waddch ();
11342 main ()
11344 return waddch ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 case "$LIBEXT" in
11351 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11352 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'` ;;
11353 *) 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'`
11354 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11355 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11356 fi ;;
11357 esac
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_soname_save_LIBS
11363 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11365 $as_echo "not found" >&6; }
11367 else
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11369 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11371 cat >>confdefs.h <<_ACEOF
11372 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11373 _ACEOF
11375 CURSES_LIBS="-lncurses"
11377 elif test "$ac_cv_header_curses_h" = "yes"
11378 then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11380 $as_echo_n "checking for -lcurses... " >&6; }
11381 if ${ac_cv_lib_soname_curses+:} false; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_soname_save_LIBS=$LIBS
11385 LIBS="-lcurses $LIBS"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char waddch ();
11397 main ()
11399 return waddch ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 case "$LIBEXT" in
11406 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11409 if ${ac_cv_lib_soname_curses:+false} :; then :
11410 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11411 fi ;;
11412 esac
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_soname_save_LIBS
11418 if ${ac_cv_lib_soname_curses:+false} :; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11424 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11426 cat >>confdefs.h <<_ACEOF
11427 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11428 _ACEOF
11430 CURSES_LIBS="-lcurses"
11433 ac_save_LIBS="$LIBS"
11434 LIBS="$LIBS $CURSES_LIBS"
11435 for ac_func in mousemask
11436 do :
11437 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11438 if test "x$ac_cv_func_mousemask" = xyes; then :
11439 cat >>confdefs.h <<_ACEOF
11440 #define HAVE_MOUSEMASK 1
11441 _ACEOF
11444 done
11446 LIBS="$ac_save_LIBS"
11447 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11448 case "x$with_curses" in
11449 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11450 xno) ;;
11451 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11452 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11453 esac
11456 if test "x$with_sane" != "xno"
11457 then
11458 if ${SANE_CFLAGS:+false} :; then :
11459 if ${PKG_CONFIG+:} false; then :
11460 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11463 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11464 if ${SANE_LIBS:+false} :; then :
11465 if ${PKG_CONFIG+:} false; then :
11466 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11469 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11471 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11472 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11473 ac_save_CPPFLAGS=$CPPFLAGS
11474 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11475 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11476 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11478 $as_echo_n "checking for -lsane... " >&6; }
11479 if ${ac_cv_lib_soname_sane+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_soname_save_LIBS=$LIBS
11483 LIBS="-lsane $SANE_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char sane_init ();
11495 main ()
11497 return sane_init ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 case "$LIBEXT" in
11504 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11505 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'` ;;
11506 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11507 if ${ac_cv_lib_soname_sane:+false} :; then :
11508 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 fi ;;
11510 esac
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_soname_save_LIBS
11516 if ${ac_cv_lib_soname_sane:+false} :; then :
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11518 $as_echo "not found" >&6; }
11519 SANE_CFLAGS=""
11520 else
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11522 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11524 cat >>confdefs.h <<_ACEOF
11525 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11526 _ACEOF
11530 else
11531 SANE_CFLAGS=""
11535 CPPFLAGS=$ac_save_CPPFLAGS
11536 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11537 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11540 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11541 case "x$with_sane" in
11542 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11545 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11546 esac
11549 if test "x$with_v4l" != "xno"
11550 then
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11552 $as_echo_n "checking for -lv4l1... " >&6; }
11553 if ${ac_cv_lib_soname_v4l1+:} false; then :
11554 $as_echo_n "(cached) " >&6
11555 else
11556 ac_check_soname_save_LIBS=$LIBS
11557 LIBS="-lv4l1 $LIBS"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char v4l1_open ();
11569 main ()
11571 return v4l1_open ();
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"; then :
11577 case "$LIBEXT" in
11578 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11579 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'` ;;
11580 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11581 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11582 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11583 fi ;;
11584 esac
11586 rm -f core conftest.err conftest.$ac_objext \
11587 conftest$ac_exeext conftest.$ac_ext
11588 LIBS=$ac_check_soname_save_LIBS
11590 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11594 else
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11596 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11598 cat >>confdefs.h <<_ACEOF
11599 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11600 _ACEOF
11605 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11606 case "x$with_v4l" in
11607 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11608 xno) ;;
11609 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11610 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11611 esac
11614 if test "x$with_gphoto" != "xno"
11615 then
11616 if ${GPHOTO2_CFLAGS:+false} :; then :
11617 if ${PKG_CONFIG+:} false; then :
11618 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11621 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11622 if ${GPHOTO2_LIBS:+false} :; then :
11623 if ${PKG_CONFIG+:} false; then :
11624 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11627 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11628 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11629 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11630 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11631 ac_save_CPPFLAGS=$CPPFLAGS
11632 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11633 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11634 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11636 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11637 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11648 #ifdef __cplusplus
11649 extern "C"
11650 #endif
11651 char gp_camera_new ();
11653 main ()
11655 return gp_camera_new ();
11657 return 0;
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 ac_cv_lib_gphoto2_gp_camera_new=yes
11662 else
11663 ac_cv_lib_gphoto2_gp_camera_new=no
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_lib_save_LIBS
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11670 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11671 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11673 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11675 else
11676 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11679 else
11680 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11684 CPPFLAGS=$ac_save_CPPFLAGS
11685 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11686 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11688 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11689 if ${PKG_CONFIG+:} false; then :
11690 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11693 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11694 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11695 if ${PKG_CONFIG+:} false; then :
11696 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11699 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11700 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11701 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11702 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11703 ac_save_CPPFLAGS=$CPPFLAGS
11704 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11705 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11706 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11708 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11709 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_lib_save_LIBS=$LIBS
11713 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char gp_port_info_list_new ();
11725 main ()
11727 return gp_port_info_list_new ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11734 else
11735 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_lib_save_LIBS
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11742 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11743 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11745 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11747 else
11748 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11751 else
11752 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11756 CPPFLAGS=$ac_save_CPPFLAGS
11757 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11758 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11761 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11762 case "x$with_gphoto" in
11763 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11764 xno) ;;
11765 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11766 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11767 esac
11769 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11770 case "x$with_gphoto" in
11771 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11772 xno) ;;
11773 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11774 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11775 esac
11779 if test "$ac_cv_header_resolv_h" = "yes"
11780 then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11782 $as_echo_n "checking for resolver library... " >&6; }
11783 if ${ac_cv_have_resolv+:} false; then :
11784 $as_echo_n "(cached) " >&6
11785 else
11786 ac_save_LIBS="$LIBS"
11787 for lib in '' -lresolv
11789 LIBS="$lib $ac_save_LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11792 #ifdef HAVE_NETINET_IN_H
11793 #include <netinet/in.h>
11794 #endif
11795 #include <resolv.h>
11797 main ()
11799 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11801 return 0;
11803 _ACEOF
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 ac_cv_have_resolv=${lib:-"none required"}
11806 else
11807 ac_cv_have_resolv="not found"
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 test "x$ac_cv_have_resolv" = "xnot found" || break
11812 done
11813 LIBS="$ac_save_LIBS"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11816 $as_echo "$ac_cv_have_resolv" >&6; }
11818 case "$ac_cv_have_resolv" in
11819 "not found") ;;
11820 "none required")
11822 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11825 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11827 RESOLV_LIBS=$ac_cv_have_resolv
11829 esac
11832 if test "x$with_lcms2" != "xno"
11833 then
11834 if ${LCMS2_CFLAGS:+false} :; then :
11835 if ${PKG_CONFIG+:} false; then :
11836 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11840 if ${LCMS2_LIBS:+false} :; then :
11841 if ${PKG_CONFIG+:} false; then :
11842 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11846 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11847 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11848 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11849 ac_save_CPPFLAGS=$CPPFLAGS
11850 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11851 for ac_header in lcms2.h
11852 do :
11853 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11854 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11855 cat >>confdefs.h <<_ACEOF
11856 #define HAVE_LCMS2_H 1
11857 _ACEOF
11861 done
11863 if test "$ac_cv_header_lcms2_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11866 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11867 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_lib_save_LIBS=$LIBS
11871 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char cmsOpenProfileFromFile ();
11883 main ()
11885 return cmsOpenProfileFromFile ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11892 else
11893 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11900 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11901 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11903 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11905 else
11906 LCMS2_LIBS=""
11909 else
11910 LCMS2_CFLAGS=""
11911 LCMS2_LIBS=""
11913 CPPFLAGS=$ac_save_CPPFLAGS
11914 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11915 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11918 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11919 case "x$with_cms" in
11920 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11921 xno) ;;
11922 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11923 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11924 esac
11927 if test "x$with_freetype" != "xno"
11928 then
11929 if ${FREETYPE_CFLAGS:+false} :; then :
11930 if ${PKG_CONFIG+:} false; then :
11931 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11934 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11935 if ${FREETYPE_LIBS:+false} :; then :
11936 if ${PKG_CONFIG+:} false; then :
11937 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11940 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11941 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11942 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11943 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11944 ac_save_CPPFLAGS=$CPPFLAGS
11945 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11946 for ac_header in ft2build.h
11947 do :
11948 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11949 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11950 cat >>confdefs.h <<_ACEOF
11951 #define HAVE_FT2BUILD_H 1
11952 _ACEOF
11956 done
11958 if test "$ac_cv_header_ft2build_h" = "yes"
11959 then
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11961 $as_echo_n "checking for -lfreetype... " >&6; }
11962 if ${ac_cv_lib_soname_freetype+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_soname_save_LIBS=$LIBS
11966 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 /* Override any GCC internal prototype to avoid an error.
11971 Use char because int might match the return type of a GCC
11972 builtin and then its argument prototype would still apply. */
11973 #ifdef __cplusplus
11974 extern "C"
11975 #endif
11976 char FT_Init_FreeType ();
11978 main ()
11980 return FT_Init_FreeType ();
11982 return 0;
11984 _ACEOF
11985 if ac_fn_c_try_link "$LINENO"; then :
11986 case "$LIBEXT" in
11987 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11988 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'` ;;
11989 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11990 if ${ac_cv_lib_soname_freetype:+false} :; then :
11991 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11992 fi ;;
11993 esac
11995 rm -f core conftest.err conftest.$ac_objext \
11996 conftest$ac_exeext conftest.$ac_ext
11997 LIBS=$ac_check_soname_save_LIBS
11999 if ${ac_cv_lib_soname_freetype:+false} :; then :
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12001 $as_echo "not found" >&6; }
12002 FREETYPE_LIBS=""
12003 else
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12005 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12007 cat >>confdefs.h <<_ACEOF
12008 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12009 _ACEOF
12012 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12014 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12015 #include FT_MODULE_H
12017 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12019 cat >>confdefs.h <<_ACEOF
12020 #define HAVE_FT_TRUETYPEENGINETYPE 1
12021 _ACEOF
12027 else
12028 FREETYPE_CFLAGS=""
12029 FREETYPE_LIBS=""
12031 CPPFLAGS=$ac_save_CPPFLAGS
12032 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12033 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12036 if test "x$ac_cv_lib_soname_freetype" = x; then :
12037 case "x$with_freetype" in
12038 xno) ;;
12039 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12040 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12041 esac
12043 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12046 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12047 if ${ac_cv_c_ppdev+:} false; then :
12048 $as_echo_n "(cached) " >&6
12049 else
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 #ifdef HAVE_SYS_IOCTL_H
12053 # include <sys/ioctl.h>
12054 #endif
12055 #include <linux/ppdev.h>
12057 main ()
12059 ioctl (1,PPCLAIM,0)
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_compile "$LINENO"; then :
12065 ac_cv_c_ppdev="yes"
12066 else
12067 ac_cv_c_ppdev="no"
12069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12072 $as_echo "$ac_cv_c_ppdev" >&6; }
12073 if test "$ac_cv_c_ppdev" = "yes"
12074 then
12076 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12080 ac_wine_check_funcs_save_LIBS="$LIBS"
12081 LIBS="$LIBS $PTHREAD_LIBS"
12082 for ac_func in \
12083 pthread_attr_get_np \
12084 pthread_getattr_np \
12085 pthread_getthreadid_np \
12086 pthread_get_stackaddr_np \
12087 pthread_get_stacksize_np
12088 do :
12089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12092 cat >>confdefs.h <<_ACEOF
12093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12094 _ACEOF
12097 done
12099 LIBS="$ac_wine_check_funcs_save_LIBS"
12101 if test "$ac_cv_header_zlib_h" = "yes"
12102 then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12104 $as_echo_n "checking for inflate in -lz... " >&6; }
12105 if ${ac_cv_lib_z_inflate+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_lib_save_LIBS=$LIBS
12109 LIBS="-lz $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char inflate ();
12121 main ()
12123 return inflate ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_z_inflate=yes
12130 else
12131 ac_cv_lib_z_inflate=no
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12138 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12139 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12141 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12143 Z_LIBS="-lz"
12148 if test "x$Z_LIBS" = "x"; then :
12149 case "x$with_zlib" in
12150 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12151 xno) ;;
12152 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12153 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12154 esac
12157 if test "x$enable_tools" != xno
12158 then
12159 if test "$ac_cv_header_gettext_po_h" = "yes"
12160 then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12162 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12163 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_lib_save_LIBS=$LIBS
12167 LIBS="-lgettextpo $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char po_message_msgctxt ();
12179 main ()
12181 return po_message_msgctxt ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12188 else
12189 ac_cv_lib_gettextpo_po_message_msgctxt=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12196 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12197 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12199 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12201 GETTEXTPO_LIBS="-lgettextpo"
12206 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12207 case "x$with_gettextpo" in
12208 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12209 xno) ;;
12210 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12211 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12212 esac
12216 if test "x$with_gstreamer" != "xno"
12217 then
12218 if ${GSTREAMER_CFLAGS:+false} :; then :
12219 if ${PKG_CONFIG+:} false; then :
12220 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12224 if ${GSTREAMER_LIBS:+false} :; then :
12225 if ${PKG_CONFIG+:} false; then :
12226 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12231 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12232 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12233 ac_save_CPPFLAGS=$CPPFLAGS
12234 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12235 ac_gst_incl=""
12236 for i in $GSTREAMER_CFLAGS
12238 case "$i" in
12239 -I*) ac_gst_incl="$ac_gst_incl $i";;
12240 esac
12241 done
12242 GSTREAMER_CFLAGS=$ac_gst_incl
12243 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12244 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12245 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12246 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12249 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12252 #include <gst/app/gstappsink.h>
12254 main ()
12256 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_compile "$LINENO"; then :
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12263 $as_echo "yes" >&6; }
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12265 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12266 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12267 $as_echo_n "(cached) " >&6
12268 else
12269 ac_check_lib_save_LIBS=$LIBS
12270 LIBS="-lgstreamer-0.10 $LIBS"
12271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12274 /* Override any GCC internal prototype to avoid an error.
12275 Use char because int might match the return type of a GCC
12276 builtin and then its argument prototype would still apply. */
12277 #ifdef __cplusplus
12278 extern "C"
12279 #endif
12280 char gst_pad_get_caps_reffed ();
12282 main ()
12284 return gst_pad_get_caps_reffed ();
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12291 else
12292 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_check_lib_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12299 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12300 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12302 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12303 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12304 $as_echo_n "(cached) " >&6
12305 else
12306 ac_check_lib_save_LIBS=$LIBS
12307 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12314 #ifdef __cplusplus
12315 extern "C"
12316 #endif
12317 char gst_app_buffer_new ();
12319 main ()
12321 return gst_app_buffer_new ();
12323 return 0;
12325 _ACEOF
12326 if ac_fn_c_try_link "$LINENO"; then :
12327 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12328 else
12329 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12331 rm -f core conftest.err conftest.$ac_objext \
12332 conftest$ac_exeext conftest.$ac_ext
12333 LIBS=$ac_check_lib_save_LIBS
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12336 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12337 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12343 else
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345 $as_echo "no" >&6; }
12347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12351 else
12352 GSTREAMER_CFLAGS=""
12356 CPPFLAGS=$ac_save_CPPFLAGS
12357 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12358 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12361 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12362 case "x$with_gstreamer" in
12363 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12364 xno) ;;
12365 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12366 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12367 esac
12369 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12371 ALSA_LIBS=""
12373 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12374 then
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12376 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12377 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12378 $as_echo_n "(cached) " >&6
12379 else
12380 ac_check_lib_save_LIBS=$LIBS
12381 LIBS="-lasound $LIBS"
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 /* Override any GCC internal prototype to avoid an error.
12386 Use char because int might match the return type of a GCC
12387 builtin and then its argument prototype would still apply. */
12388 #ifdef __cplusplus
12389 extern "C"
12390 #endif
12391 char snd_pcm_hw_params_get_access_mask ();
12393 main ()
12395 return snd_pcm_hw_params_get_access_mask ();
12397 return 0;
12399 _ACEOF
12400 if ac_fn_c_try_link "$LINENO"; then :
12401 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12402 else
12403 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 LIBS=$ac_check_lib_save_LIBS
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12410 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12411 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12414 #ifdef HAVE_ALSA_ASOUNDLIB_H
12415 #include <alsa/asoundlib.h>
12416 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12417 #include <sys/asoundlib.h>
12418 #endif
12420 main ()
12422 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_compile "$LINENO"; then :
12428 ALSA_LIBS="-lasound"
12430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12435 if test "x$with_oss" != xno
12436 then
12437 ac_save_CPPFLAGS="$CPPFLAGS"
12438 if test -f /etc/oss.conf
12439 then
12440 . /etc/oss.conf
12442 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12443 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12444 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12445 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12446 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12448 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12450 cat >>confdefs.h <<_ACEOF
12451 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12452 _ACEOF
12454 OSS4_CFLAGS="$ac_oss_incl"
12461 CPPFLAGS="$ac_save_CPPFLAGS"
12462 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12463 then
12464 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12468 if test "x$with_capi" != "xno"
12469 then
12470 if ${CAPI20_CFLAGS:+false} :; then :
12471 if ${PKG_CONFIG+:} false; then :
12472 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12476 if ${CAPI20_LIBS:+false} :; then :
12477 if ${PKG_CONFIG+:} false; then :
12478 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12483 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12484 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12485 ac_save_CPPFLAGS=$CPPFLAGS
12486 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12487 for ac_header in capi20.h linux/capi.h
12488 do :
12489 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12490 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12493 cat >>confdefs.h <<_ACEOF
12494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12495 _ACEOF
12499 done
12501 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12502 then
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12504 $as_echo_n "checking for -lcapi20... " >&6; }
12505 if ${ac_cv_lib_soname_capi20+:} false; then :
12506 $as_echo_n "(cached) " >&6
12507 else
12508 ac_check_soname_save_LIBS=$LIBS
12509 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12516 #ifdef __cplusplus
12517 extern "C"
12518 #endif
12519 char capi20_register ();
12521 main ()
12523 return capi20_register ();
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_link "$LINENO"; then :
12529 case "$LIBEXT" in
12530 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12531 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'` ;;
12532 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12533 if ${ac_cv_lib_soname_capi20:+false} :; then :
12534 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12535 fi ;;
12536 esac
12538 rm -f core conftest.err conftest.$ac_objext \
12539 conftest$ac_exeext conftest.$ac_ext
12540 LIBS=$ac_check_soname_save_LIBS
12542 if ${ac_cv_lib_soname_capi20:+false} :; then :
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12544 $as_echo "not found" >&6; }
12546 else
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12548 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12550 cat >>confdefs.h <<_ACEOF
12551 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12552 _ACEOF
12557 CPPFLAGS=$ac_save_CPPFLAGS
12558 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12559 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12562 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12563 case "x$with_capi" in
12564 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12565 xno) ;;
12566 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12567 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12568 esac
12571 CUPS_CFLAGS=""
12573 if test "x$with_cups" != "xno"
12574 then
12575 ac_save_CPPFLAGS="$CPPFLAGS"
12576 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12577 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12578 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12579 for ac_header in cups/cups.h
12580 do :
12581 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12582 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12583 cat >>confdefs.h <<_ACEOF
12584 #define HAVE_CUPS_CUPS_H 1
12585 _ACEOF
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12587 $as_echo_n "checking for -lcups... " >&6; }
12588 if ${ac_cv_lib_soname_cups+:} false; then :
12589 $as_echo_n "(cached) " >&6
12590 else
12591 ac_check_soname_save_LIBS=$LIBS
12592 LIBS="-lcups $ac_cups_libs $LIBS"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12599 #ifdef __cplusplus
12600 extern "C"
12601 #endif
12602 char cupsGetDefault ();
12604 main ()
12606 return cupsGetDefault ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 case "$LIBEXT" in
12613 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12614 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'` ;;
12615 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12616 if ${ac_cv_lib_soname_cups:+false} :; then :
12617 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12618 fi ;;
12619 esac
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_soname_save_LIBS
12625 if ${ac_cv_lib_soname_cups:+false} :; then :
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12627 $as_echo "not found" >&6; }
12629 else
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12631 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12633 cat >>confdefs.h <<_ACEOF
12634 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12635 _ACEOF
12637 CUPS_CFLAGS="$ac_cups_cflags"
12641 done
12643 CPPFLAGS="$ac_save_CPPFLAGS"
12645 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12646 case "x$with_cups" in
12647 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12648 xno) ;;
12649 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12650 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12651 esac
12654 if test "x$with_fontconfig" != "xno"
12655 then
12656 if ${FONTCONFIG_CFLAGS:+false} :; then :
12657 if ${PKG_CONFIG+:} false; then :
12658 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12661 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12662 if ${FONTCONFIG_LIBS:+false} :; then :
12663 if ${PKG_CONFIG+:} false; then :
12664 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12667 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12669 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12670 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12671 ac_save_CPPFLAGS=$CPPFLAGS
12672 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12673 for ac_header in fontconfig/fontconfig.h
12674 do :
12675 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12676 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12677 cat >>confdefs.h <<_ACEOF
12678 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12679 _ACEOF
12683 done
12685 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12686 then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12688 $as_echo_n "checking for -lfontconfig... " >&6; }
12689 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12690 $as_echo_n "(cached) " >&6
12691 else
12692 ac_check_soname_save_LIBS=$LIBS
12693 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12697 /* Override any GCC internal prototype to avoid an error.
12698 Use char because int might match the return type of a GCC
12699 builtin and then its argument prototype would still apply. */
12700 #ifdef __cplusplus
12701 extern "C"
12702 #endif
12703 char FcInit ();
12705 main ()
12707 return FcInit ();
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_link "$LINENO"; then :
12713 case "$LIBEXT" in
12714 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12715 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'` ;;
12716 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12717 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12718 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12719 fi ;;
12720 esac
12722 rm -f core conftest.err conftest.$ac_objext \
12723 conftest$ac_exeext conftest.$ac_ext
12724 LIBS=$ac_check_soname_save_LIBS
12726 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12728 $as_echo "not found" >&6; }
12729 FONTCONFIG_CFLAGS=""
12730 else
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12732 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12734 cat >>confdefs.h <<_ACEOF
12735 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12736 _ACEOF
12740 else
12741 FONTCONFIG_CFLAGS=""
12743 CPPFLAGS=$ac_save_CPPFLAGS
12744 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12745 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12748 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12749 case "x$with_fontconfig" in
12750 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12751 xno) ;;
12752 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12753 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12754 esac
12757 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12758 then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12760 $as_echo_n "checking for -lgsm... " >&6; }
12761 if ${ac_cv_lib_soname_gsm+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_soname_save_LIBS=$LIBS
12765 LIBS="-lgsm $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char gsm_create ();
12777 main ()
12779 return gsm_create ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 case "$LIBEXT" in
12786 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12787 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'` ;;
12788 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12789 if ${ac_cv_lib_soname_gsm:+false} :; then :
12790 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12791 fi ;;
12792 esac
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_soname_save_LIBS
12798 if ${ac_cv_lib_soname_gsm:+false} :; then :
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12800 $as_echo "not found" >&6; }
12802 else
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12804 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12806 cat >>confdefs.h <<_ACEOF
12807 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12808 _ACEOF
12813 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12814 case "x$with_gsm" in
12815 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12816 xno) ;;
12817 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12818 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12819 esac
12822 if test "x$with_jpeg" != "xno"
12823 then
12824 if ${JPEG_CFLAGS:+false} :; then :
12825 if ${PKG_CONFIG+:} false; then :
12826 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12830 if ${JPEG_LIBS:+false} :; then :
12831 if ${PKG_CONFIG+:} false; then :
12832 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12837 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12838 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12839 ac_save_CPPFLAGS=$CPPFLAGS
12840 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12841 for ac_header in jpeglib.h
12842 do :
12843 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12844 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12845 cat >>confdefs.h <<_ACEOF
12846 #define HAVE_JPEGLIB_H 1
12847 _ACEOF
12851 done
12853 if test "$ac_cv_header_jpeglib_h" = "yes"
12854 then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12856 $as_echo_n "checking for -ljpeg... " >&6; }
12857 if ${ac_cv_lib_soname_jpeg+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_soname_save_LIBS=$LIBS
12861 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char jpeg_start_decompress ();
12873 main ()
12875 return jpeg_start_decompress ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 case "$LIBEXT" in
12882 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12883 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'` ;;
12884 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12885 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12886 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12887 fi ;;
12888 esac
12890 rm -f core conftest.err conftest.$ac_objext \
12891 conftest$ac_exeext conftest.$ac_ext
12892 LIBS=$ac_check_soname_save_LIBS
12894 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12896 $as_echo "not found" >&6; }
12897 JPEG_CFLAGS=""
12898 else
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12900 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12902 cat >>confdefs.h <<_ACEOF
12903 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12904 _ACEOF
12908 else
12909 JPEG_CFLAGS=""
12911 CPPFLAGS=$ac_save_CPPFLAGS
12912 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12913 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12916 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12917 case "x$with_jpeg" in
12918 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12919 xno) ;;
12920 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12921 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12922 esac
12925 if test "x$with_png" != "xno"
12926 then
12927 if ${PNG_CFLAGS:+false} :; then :
12928 if ${PKG_CONFIG+:} false; then :
12929 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12932 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12933 if ${PNG_LIBS:+false} :; then :
12934 if ${PKG_CONFIG+:} false; then :
12935 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12938 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12942 ac_save_CPPFLAGS=$CPPFLAGS
12943 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12944 for ac_header in png.h
12945 do :
12946 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12947 if test "x$ac_cv_header_png_h" = xyes; then :
12948 cat >>confdefs.h <<_ACEOF
12949 #define HAVE_PNG_H 1
12950 _ACEOF
12954 done
12956 if test "$ac_cv_header_png_h" = "yes"
12957 then
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12959 $as_echo_n "checking for -lpng... " >&6; }
12960 if ${ac_cv_lib_soname_png+:} false; then :
12961 $as_echo_n "(cached) " >&6
12962 else
12963 ac_check_soname_save_LIBS=$LIBS
12964 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12966 /* end confdefs.h. */
12968 /* Override any GCC internal prototype to avoid an error.
12969 Use char because int might match the return type of a GCC
12970 builtin and then its argument prototype would still apply. */
12971 #ifdef __cplusplus
12972 extern "C"
12973 #endif
12974 char png_create_read_struct ();
12976 main ()
12978 return png_create_read_struct ();
12980 return 0;
12982 _ACEOF
12983 if ac_fn_c_try_link "$LINENO"; then :
12984 case "$LIBEXT" in
12985 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12986 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'` ;;
12987 *) 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'`
12988 if ${ac_cv_lib_soname_png:+false} :; then :
12989 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12990 fi ;;
12991 esac
12993 rm -f core conftest.err conftest.$ac_objext \
12994 conftest$ac_exeext conftest.$ac_ext
12995 LIBS=$ac_check_soname_save_LIBS
12997 if ${ac_cv_lib_soname_png:+false} :; then :
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12999 $as_echo "not found" >&6; }
13000 PNG_CFLAGS=""
13001 else
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13003 $as_echo "$ac_cv_lib_soname_png" >&6; }
13005 cat >>confdefs.h <<_ACEOF
13006 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13007 _ACEOF
13009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13011 #include <png.h>
13013 main ()
13015 typeof(png_set_expand_gray_1_2_4_to_8) *p
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_compile "$LINENO"; then :
13022 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13027 else
13028 PNG_CFLAGS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13031 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "x$ac_cv_lib_soname_png" = "x"; then :
13036 case "x$with_png" in
13037 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13038 xno) ;;
13039 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13040 This is an error since --with-png was requested." "$LINENO" 5 ;;
13041 esac
13044 if test "x$with_tiff" != "xno"
13045 then
13046 if ${TIFF_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13052 if ${TIFF_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false; then :
13054 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13059 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13061 ac_save_CPPFLAGS=$CPPFLAGS
13062 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13063 for ac_header in tiffio.h
13064 do :
13065 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13067 cat >>confdefs.h <<_ACEOF
13068 #define HAVE_TIFFIO_H 1
13069 _ACEOF
13073 done
13075 if test "$ac_cv_header_tiffio_h" = "yes"
13076 then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13078 $as_echo_n "checking for -ltiff... " >&6; }
13079 if ${ac_cv_lib_soname_tiff+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_soname_save_LIBS=$LIBS
13083 LIBS="-ltiff $TIFF_LIBS $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char TIFFClientOpen ();
13095 main ()
13097 return TIFFClientOpen ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 case "$LIBEXT" in
13104 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13107 if ${ac_cv_lib_soname_tiff:+false} :; then :
13108 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13109 fi ;;
13110 esac
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_tiff:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13120 else
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13122 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13124 cat >>confdefs.h <<_ACEOF
13125 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13126 _ACEOF
13131 CPPFLAGS=$ac_save_CPPFLAGS
13132 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13133 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13136 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13137 case "x$with_tiff" in
13138 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13139 xno) ;;
13140 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13141 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13142 esac
13145 if test "x$with_mpg123" != "xno"
13146 then
13147 if ${MPG123_CFLAGS:+false} :; then :
13148 if ${PKG_CONFIG+:} false; then :
13149 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13153 if ${MPG123_LIBS:+false} :; then :
13154 if ${PKG_CONFIG+:} false; then :
13155 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13159 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13160 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13161 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13162 ac_save_CPPFLAGS=$CPPFLAGS
13163 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13164 for ac_header in mpg123.h
13165 do :
13166 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13167 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13168 cat >>confdefs.h <<_ACEOF
13169 #define HAVE_MPG123_H 1
13170 _ACEOF
13174 done
13176 if test "$ac_cv_header_mpg123_h" = "yes"
13177 then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13179 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13180 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 #ifdef __cplusplus
13192 extern "C"
13193 #endif
13194 char mpg123_feed ();
13196 main ()
13198 return mpg123_feed ();
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_link "$LINENO"; then :
13204 ac_cv_lib_mpg123_mpg123_feed=yes
13205 else
13206 ac_cv_lib_mpg123_mpg123_feed=no
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13210 LIBS=$ac_check_lib_save_LIBS
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13213 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13214 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13216 else
13217 MPG123_LIBS=""
13220 else
13221 MPG123_CFLAGS=""
13222 MPG123_LIBS=""
13224 CPPFLAGS=$ac_save_CPPFLAGS
13225 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13226 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13229 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13230 case "x$with_mpg123" in
13231 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13232 xno) ;;
13233 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13234 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13235 esac
13237 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}
13239 if test "$ac_cv_header_AL_al_h" = "yes"
13240 then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13242 $as_echo_n "checking for -lopenal... " >&6; }
13243 if ${ac_cv_lib_soname_openal+:} false; then :
13244 $as_echo_n "(cached) " >&6
13245 else
13246 ac_check_soname_save_LIBS=$LIBS
13247 LIBS="-lopenal $LIBS"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13254 #ifdef __cplusplus
13255 extern "C"
13256 #endif
13257 char alGetSource3i ();
13259 main ()
13261 return alGetSource3i ();
13263 return 0;
13265 _ACEOF
13266 if ac_fn_c_try_link "$LINENO"; then :
13267 case "$LIBEXT" in
13268 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13269 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'` ;;
13270 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13271 if ${ac_cv_lib_soname_openal:+false} :; then :
13272 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13273 fi ;;
13274 esac
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_soname_save_LIBS
13280 if ${ac_cv_lib_soname_openal:+false} :; then :
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13282 $as_echo "not found" >&6; }
13284 else
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13286 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13288 cat >>confdefs.h <<_ACEOF
13289 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13290 _ACEOF
13292 OPENAL_LIBS="-lopenal"
13294 ac_cv_lib_openal=yes
13296 cat >>confdefs.h <<_ACEOF
13297 #define HAVE_OPENAL 1
13298 _ACEOF
13302 if test "x$ac_cv_lib_openal" != xyes; then :
13303 case "x$with_openal" in
13304 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13305 xno) ;;
13306 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13307 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13308 esac
13310 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13312 if test "$ac_cv_header_kstat_h" = "yes"
13313 then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13315 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13316 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_lib_save_LIBS=$LIBS
13320 LIBS="-lkstat $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char kstat_open ();
13332 main ()
13334 return kstat_open ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 ac_cv_lib_kstat_kstat_open=yes
13341 else
13342 ac_cv_lib_kstat_kstat_open=no
13344 rm -f core conftest.err conftest.$ac_objext \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_lib_save_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13349 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13350 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13352 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13354 KSTAT_LIBS="-lkstat"
13360 if test "$ac_cv_header_libprocstat_h" = "yes"
13361 then
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13363 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13364 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13365 $as_echo_n "(cached) " >&6
13366 else
13367 ac_check_lib_save_LIBS=$LIBS
13368 LIBS="-lprocstat $LIBS"
13369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h. */
13372 /* Override any GCC internal prototype to avoid an error.
13373 Use char because int might match the return type of a GCC
13374 builtin and then its argument prototype would still apply. */
13375 #ifdef __cplusplus
13376 extern "C"
13377 #endif
13378 char procstat_open_sysctl ();
13380 main ()
13382 return procstat_open_sysctl ();
13384 return 0;
13386 _ACEOF
13387 if ac_fn_c_try_link "$LINENO"; then :
13388 ac_cv_lib_procstat_procstat_open_sysctl=yes
13389 else
13390 ac_cv_lib_procstat_procstat_open_sysctl=no
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 LIBS=$ac_check_lib_save_LIBS
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13397 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13398 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13400 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13402 PROCSTAT_LIBS="-lprocstat"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13409 $as_echo_n "checking for -lodbc... " >&6; }
13410 if ${ac_cv_lib_soname_odbc+:} false; then :
13411 $as_echo_n "(cached) " >&6
13412 else
13413 ac_check_soname_save_LIBS=$LIBS
13414 LIBS="-lodbc $LIBS"
13415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13421 #ifdef __cplusplus
13422 extern "C"
13423 #endif
13424 char SQLConnect ();
13426 main ()
13428 return SQLConnect ();
13430 return 0;
13432 _ACEOF
13433 if ac_fn_c_try_link "$LINENO"; then :
13434 case "$LIBEXT" in
13435 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13438 if ${ac_cv_lib_soname_odbc:+false} :; then :
13439 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13440 fi ;;
13441 esac
13443 rm -f core conftest.err conftest.$ac_objext \
13444 conftest$ac_exeext conftest.$ac_ext
13445 LIBS=$ac_check_soname_save_LIBS
13447 if ${ac_cv_lib_soname_odbc:+false} :; then :
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13449 $as_echo "not found" >&6; }
13450 cat >>confdefs.h <<_ACEOF
13451 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13452 _ACEOF
13454 else
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13456 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13458 cat >>confdefs.h <<_ACEOF
13459 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13460 _ACEOF
13465 if test "x$with_netapi" != "xno"
13466 then
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13468 $as_echo_n "checking for -lnetapi... " >&6; }
13469 if ${ac_cv_lib_soname_netapi+:} false; then :
13470 $as_echo_n "(cached) " >&6
13471 else
13472 ac_check_soname_save_LIBS=$LIBS
13473 LIBS="-lnetapi $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13477 /* Override any GCC internal prototype to avoid an error.
13478 Use char because int might match the return type of a GCC
13479 builtin and then its argument prototype would still apply. */
13480 #ifdef __cplusplus
13481 extern "C"
13482 #endif
13483 char libnetapi_init ();
13485 main ()
13487 return libnetapi_init ();
13489 return 0;
13491 _ACEOF
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 case "$LIBEXT" in
13494 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13495 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'` ;;
13496 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13497 if ${ac_cv_lib_soname_netapi:+false} :; then :
13498 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13499 fi ;;
13500 esac
13502 rm -f core conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13504 LIBS=$ac_check_soname_save_LIBS
13506 if ${ac_cv_lib_soname_netapi:+false} :; then :
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13508 $as_echo "not found" >&6; }
13509 cat >>confdefs.h <<_ACEOF
13510 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13511 _ACEOF
13513 else
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13515 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13517 cat >>confdefs.h <<_ACEOF
13518 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13519 _ACEOF
13525 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13526 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13527 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13528 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13530 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13531 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13532 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13533 then
13534 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13538 EXTRACFLAGS=""
13540 if test "x${GCC}" = "xyes"
13541 then
13542 EXTRACFLAGS="-Wall -pipe"
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13545 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13546 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13547 $as_echo_n "(cached) " >&6
13548 else
13549 if test "$cross_compiling" = yes; then :
13550 ac_cv_c_gcc_strength_bug="yes"
13551 else
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13554 int L[4] = {0,1,2,3};
13556 main ()
13558 static int Array[3];
13559 unsigned int B = 3;
13560 int i;
13561 for(i=0; i<B; i++) Array[i] = i - 3;
13562 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13563 L[i] = 4;
13564 return (Array[1] != -2 || L[2] != 3)
13566 return 0;
13568 _ACEOF
13569 if ac_fn_c_try_run "$LINENO"; then :
13570 ac_cv_c_gcc_strength_bug="no"
13571 else
13572 ac_cv_c_gcc_strength_bug="yes"
13574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13575 conftest.$ac_objext conftest.beam conftest.$ac_ext
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13580 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13581 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13582 then
13583 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13587 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13588 if ${ac_cv_cflags__fno_builtin+:} false; then :
13589 $as_echo_n "(cached) " >&6
13590 else
13591 ac_wine_try_cflags_saved=$CFLAGS
13592 CFLAGS="$CFLAGS -fno-builtin"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 int main(int argc, char **argv) { return 0; }
13596 _ACEOF
13597 if ac_fn_c_try_link "$LINENO"; then :
13598 ac_cv_cflags__fno_builtin=yes
13599 else
13600 ac_cv_cflags__fno_builtin=no
13602 rm -f core conftest.err conftest.$ac_objext \
13603 conftest$ac_exeext conftest.$ac_ext
13604 CFLAGS=$ac_wine_try_cflags_saved
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13607 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13608 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13609 BUILTINFLAG="-fno-builtin"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13613 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13614 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13615 $as_echo_n "(cached) " >&6
13616 else
13617 ac_wine_try_cflags_saved=$CFLAGS
13618 CFLAGS="$CFLAGS -fno-strict-aliasing"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13621 int main(int argc, char **argv) { return 0; }
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 ac_cv_cflags__fno_strict_aliasing=yes
13625 else
13626 ac_cv_cflags__fno_strict_aliasing=no
13628 rm -f core conftest.err conftest.$ac_objext \
13629 conftest$ac_exeext conftest.$ac_ext
13630 CFLAGS=$ac_wine_try_cflags_saved
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13633 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13634 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13635 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13637 saved_CFLAGS=$CFLAGS
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13639 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13640 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_wine_try_cflags_saved=$CFLAGS
13644 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 int main(int argc, char **argv) { return 0; }
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 ac_cv_cflags__Werror_unknown_warning_option=yes
13651 else
13652 ac_cv_cflags__Werror_unknown_warning_option=no
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 CFLAGS=$ac_wine_try_cflags_saved
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13659 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13660 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13661 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13664 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13665 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13666 $as_echo_n "(cached) " >&6
13667 else
13668 ac_wine_try_cflags_saved=$CFLAGS
13669 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 int main(int argc, char **argv) { return 0; }
13673 _ACEOF
13674 if ac_fn_c_try_link "$LINENO"; then :
13675 ac_cv_cflags__Wdeclaration_after_statement=yes
13676 else
13677 ac_cv_cflags__Wdeclaration_after_statement=no
13679 rm -f core conftest.err conftest.$ac_objext \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13684 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13685 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13686 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13689 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13690 if ${ac_cv_cflags__Wempty_body+:} false; then :
13691 $as_echo_n "(cached) " >&6
13692 else
13693 ac_wine_try_cflags_saved=$CFLAGS
13694 CFLAGS="$CFLAGS -Wempty-body"
13695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 int main(int argc, char **argv) { return 0; }
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 ac_cv_cflags__Wempty_body=yes
13701 else
13702 ac_cv_cflags__Wempty_body=no
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 CFLAGS=$ac_wine_try_cflags_saved
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13709 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13710 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13711 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13714 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13715 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 ac_wine_try_cflags_saved=$CFLAGS
13719 CFLAGS="$CFLAGS -Wignored-qualifiers"
13720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 int main(int argc, char **argv) { return 0; }
13723 _ACEOF
13724 if ac_fn_c_try_link "$LINENO"; then :
13725 ac_cv_cflags__Wignored_qualifiers=yes
13726 else
13727 ac_cv_cflags__Wignored_qualifiers=no
13729 rm -f core conftest.err conftest.$ac_objext \
13730 conftest$ac_exeext conftest.$ac_ext
13731 CFLAGS=$ac_wine_try_cflags_saved
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13734 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13735 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13736 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13739 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13740 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_wine_try_cflags_saved=$CFLAGS
13744 CFLAGS="$CFLAGS -Wstrict-prototypes"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13747 int main(int argc, char **argv) { return 0; }
13748 _ACEOF
13749 if ac_fn_c_try_link "$LINENO"; then :
13750 ac_cv_cflags__Wstrict_prototypes=yes
13751 else
13752 ac_cv_cflags__Wstrict_prototypes=no
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13759 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13760 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13761 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13764 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13765 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13766 $as_echo_n "(cached) " >&6
13767 else
13768 ac_wine_try_cflags_saved=$CFLAGS
13769 CFLAGS="$CFLAGS -Wtype-limits"
13770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13772 int main(int argc, char **argv) { return 0; }
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_cflags__Wtype_limits=yes
13776 else
13777 ac_cv_cflags__Wtype_limits=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 CFLAGS=$ac_wine_try_cflags_saved
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13784 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13785 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13786 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13789 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13790 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_cflags__Wunused_but_set_parameter=yes
13801 else
13802 ac_cv_cflags__Wunused_but_set_parameter=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13809 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13810 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13811 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13814 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13815 if ${ac_cv_cflags__Wvla+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_wine_try_cflags_saved=$CFLAGS
13819 CFLAGS="$CFLAGS -Wvla"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"; then :
13825 ac_cv_cflags__Wvla=yes
13826 else
13827 ac_cv_cflags__Wvla=no
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 CFLAGS=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13834 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13835 if test "x$ac_cv_cflags__Wvla" = xyes; then :
13836 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13839 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13840 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_wine_try_cflags_saved=$CFLAGS
13844 CFLAGS="$CFLAGS -Wwrite-strings"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13848 _ACEOF
13849 if ac_fn_c_try_link "$LINENO"; then :
13850 ac_cv_cflags__Wwrite_strings=yes
13851 else
13852 ac_cv_cflags__Wwrite_strings=no
13854 rm -f core conftest.err conftest.$ac_objext \
13855 conftest$ac_exeext conftest.$ac_ext
13856 CFLAGS=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13859 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13860 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13861 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13865 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13866 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_wine_try_cflags_saved=$CFLAGS
13870 CFLAGS="$CFLAGS -Wpointer-arith"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_cflags__Wpointer_arith=yes
13877 else
13878 ac_cv_cflags__Wpointer_arith=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 CFLAGS=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13885 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13886 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13887 saved_string_h_CFLAGS=$CFLAGS
13888 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13890 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13891 if ${ac_cv_c_string_h_warnings+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 #include <string.h>
13898 main ()
13902 return 0;
13904 _ACEOF
13905 if ac_fn_c_try_compile "$LINENO"; then :
13906 ac_cv_c_string_h_warnings=no
13907 else
13908 ac_cv_c_string_h_warnings=yes
13910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13913 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13914 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13915 CFLAGS=$saved_string_h_CFLAGS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13919 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13920 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13921 $as_echo_n "(cached) " >&6
13922 else
13923 ac_wine_try_cflags_saved=$CFLAGS
13924 CFLAGS="$CFLAGS -Wlogical-op"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 int main(int argc, char **argv) { return 0; }
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 ac_cv_cflags__Wlogical_op=yes
13931 else
13932 ac_cv_cflags__Wlogical_op=no
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 CFLAGS=$ac_wine_try_cflags_saved
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13939 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13940 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13941 saved_string_h_CFLAGS=$CFLAGS
13942 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13944 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13945 if ${ac_cv_c_logicalop_noisy+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 #include <string.h>
13951 char*f(const char *h,char n) {return strchr(h,n);}
13953 main ()
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_compile "$LINENO"; then :
13961 ac_cv_c_logicalop_noisy=no
13962 else
13963 ac_cv_c_logicalop_noisy=yes
13965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13968 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13969 CFLAGS=$saved_string_h_CFLAGS
13970 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13973 CFLAGS=$saved_CFLAGS
13975 for ac_flag in $CFLAGS; do
13976 case $ac_flag in
13977 -g) case $host_os in
13978 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13979 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13980 if ${ac_cv_cflags__gstabsp+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 ac_wine_try_cflags_saved=$CFLAGS
13984 CFLAGS="$CFLAGS -gstabs+"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 int main(int argc, char **argv) { return 0; }
13988 _ACEOF
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_cflags__gstabsp=yes
13991 else
13992 ac_cv_cflags__gstabsp=no
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13996 CFLAGS=$ac_wine_try_cflags_saved
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13999 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14000 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14001 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14002 fi ;;
14003 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14004 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14005 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -gdwarf-2"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__gdwarf_2=yes
14016 else
14017 ac_cv_cflags__gdwarf_2=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14024 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14025 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14029 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14030 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_wine_try_cflags_saved=$CFLAGS
14034 CFLAGS="$CFLAGS -gstrict-dwarf"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_cflags__gstrict_dwarf=yes
14041 else
14042 ac_cv_cflags__gstrict_dwarf=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 CFLAGS=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14049 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14050 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14051 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14052 fi ;;
14053 esac ;;
14054 esac
14055 done
14057 case $host_cpu in
14058 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14059 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14060 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 ac_wine_try_cflags_saved=$CFLAGS
14064 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 int main(int argc, char **argv) { return 0; }
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"; then :
14070 ac_cv_cflags__fno_omit_frame_pointer=yes
14071 else
14072 ac_cv_cflags__fno_omit_frame_pointer=no
14074 rm -f core conftest.err conftest.$ac_objext \
14075 conftest$ac_exeext conftest.$ac_ext
14076 CFLAGS=$ac_wine_try_cflags_saved
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14079 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14080 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14081 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14082 fi ;;
14083 esac
14085 case $host in
14086 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14087 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14088 if ${ac_cv_cflags__Wno_format+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_wine_try_cflags_saved=$CFLAGS
14092 CFLAGS="$CFLAGS -Wno-format"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 int main(int argc, char **argv) { return 0; }
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_cflags__Wno_format=yes
14099 else
14100 ac_cv_cflags__Wno_format=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 CFLAGS=$ac_wine_try_cflags_saved
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14107 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14108 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14109 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14110 fi ;;
14111 esac
14113 if test "x$enable_maintainer_mode" = "xyes"
14114 then
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14116 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14117 if ${ac_cv_cflags__Werror+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_wine_try_cflags_saved=$CFLAGS
14121 CFLAGS="$CFLAGS -Werror"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 ac_cv_cflags__Werror=yes
14128 else
14129 ac_cv_cflags__Werror=no
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 CFLAGS=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14136 $as_echo "$ac_cv_cflags__Werror" >&6; }
14137 if test "x$ac_cv_cflags__Werror" = xyes; then :
14138 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14142 saved_CFLAGS="$CFLAGS"
14143 CFLAGS="$CFLAGS -Werror"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14145 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14146 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14151 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14153 main ()
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_compile "$LINENO"; then :
14161 ac_cv_have_ms_hook_prologue="yes"
14162 else
14163 ac_cv_have_ms_hook_prologue="no"
14165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14168 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14169 CFLAGS="$saved_CFLAGS"
14170 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14171 then
14173 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14175 else
14176 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14183 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14184 if ${ac_cv_c_fortify_enabled+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <string.h>
14191 main ()
14193 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14194 #error Fortify enabled
14195 #endif
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_compile "$LINENO"; then :
14201 ac_cv_c_fortify_enabled=no
14202 else
14203 ac_cv_c_fortify_enabled=yes
14205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14208 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14209 if test "$ac_cv_c_fortify_enabled" = yes
14210 then
14211 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14216 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14217 if ${ac_cv_c_extern_prefix+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14221 /* end confdefs.h. */
14222 extern int ac_test;
14224 main ()
14226 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"; then :
14232 ac_cv_c_extern_prefix="yes"
14233 else
14234 ac_cv_c_extern_prefix="no"
14236 rm -f core conftest.err conftest.$ac_objext \
14237 conftest$ac_exeext conftest.$ac_ext
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14240 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14242 case $host_cpu in
14243 *i[3456789]86*)
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14245 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14246 if ${ac_cv_c_stdcall_suffix+:} false; then :
14247 $as_echo_n "(cached) " >&6
14248 else
14249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 #ifndef _MSC_VER
14252 #define __stdcall __attribute__((__stdcall__))
14253 #endif
14254 int __stdcall ac_test(int i) { return i; }
14256 main ()
14258 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14260 return 0;
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"; then :
14264 ac_cv_c_stdcall_suffix="yes"
14265 else
14266 ac_cv_c_stdcall_suffix="no"
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14272 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14273 *) ac_cv_c_stdcall_suffix="no" ;;
14274 esac
14277 if test "$ac_cv_c_extern_prefix" = "yes"
14278 then
14279 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14281 asm_name_prefix="_"
14282 else
14283 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14285 asm_name_prefix=""
14289 if test "$ac_cv_c_stdcall_suffix" = "yes"
14290 then
14291 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14293 else
14294 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14300 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14301 if ${ac_cv_asm_func_def+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14308 main ()
14310 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_asm_func_def=".def"
14317 else
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14322 main ()
14324 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14326 return 0;
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_asm_func_def=".type @function"
14331 else
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14336 main ()
14338 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14340 return 0;
14342 _ACEOF
14343 if ac_fn_c_try_link "$LINENO"; then :
14344 ac_cv_asm_func_def=".type 2"
14345 else
14346 ac_cv_asm_func_def="unknown"
14348 rm -f core conftest.err conftest.$ac_objext \
14349 conftest$ac_exeext conftest.$ac_ext
14351 rm -f core conftest.err conftest.$ac_objext \
14352 conftest$ac_exeext conftest.$ac_ext
14354 rm -f core conftest.err conftest.$ac_objext \
14355 conftest$ac_exeext conftest.$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14358 $as_echo "$ac_cv_asm_func_def" >&6; }
14361 case "$ac_cv_asm_func_def" in
14362 ".def")
14363 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14365 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14366 ".type @function")
14367 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14369 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14370 ".type 2")
14371 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14373 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14375 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14377 asm_func_header="" ;;
14378 esac
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14381 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14382 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 asm(".text\n\t.long 0");
14389 main ()
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_compile "$LINENO"; then :
14397 ac_cv_c_asm_outside_funcs="yes"
14398 else
14399 ac_cv_c_asm_outside_funcs="no"
14401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14404 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14407 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14408 if ${ac_cv_c_dot_previous+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14415 main ()
14417 asm(".text\nac_test:\t.long 0\n\t.previous");
14419 return 0;
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_c_dot_previous="yes"
14424 else
14425 ac_cv_c_dot_previous="no"
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14431 $as_echo "$ac_cv_c_dot_previous" >&6; }
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14434 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14435 if ${ac_cv_c_cfi_support+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14442 main ()
14446 return 0;
14448 _ACEOF
14449 if ac_fn_c_try_compile "$LINENO"; then :
14450 ac_cv_c_cfi_support="yes"
14451 else
14452 ac_cv_c_cfi_support="no"
14454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14457 $as_echo "$ac_cv_c_cfi_support" >&6; }
14459 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14460 asm_func_trailer=""
14461 if test "$ac_cv_c_dot_previous" = "yes"
14462 then
14463 asm_func_trailer="\\n\\t.previous"
14465 if test "$ac_cv_c_cfi_support" = "yes"
14466 then
14467 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14468 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14470 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14472 UNWINDFLAGS=-fasynchronous-unwind-tables
14474 else
14475 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14479 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14482 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14483 then
14484 cat >>confdefs.h <<_ACEOF
14485 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14486 _ACEOF
14488 else
14489 cat >>confdefs.h <<_ACEOF
14490 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14491 _ACEOF
14495 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14498 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14502 case $build_os in
14503 cygwin*|mingw32*) TOOLSEXT=".exe"
14505 esac
14507 case $host_os in
14508 linux*)
14509 case $host_cpu in
14510 *i[3456789]86*|x86_64*)
14511 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14512 loader_programs="$loader_programs $wine_binary-preloader"
14513 as_fn_append LOADER_RULES "
14514 $wine_binary-preloader: preloader.o
14515 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14517 install install-lib:: $wine_binary-preloader
14518 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14520 uninstall::
14521 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14523 preloader_EXTRADEFS = $BUILTINFLAG
14524 " ;;
14525 esac
14527 esac
14528 as_fn_append LOADER_RULES "
14529 PROGRAMS = $loader_programs
14533 ac_save_CFLAGS="$CFLAGS"
14534 CFLAGS="$CFLAGS $BUILTINFLAG"
14535 for ac_func in \
14536 __res_get_state \
14537 __res_getservers \
14538 _finite \
14539 _isnan \
14540 _pclose \
14541 _popen \
14542 _snprintf \
14543 _spawnvp \
14544 _strdup \
14545 _stricmp \
14546 _strnicmp \
14547 _strtoi64 \
14548 _strtoui64 \
14549 _vsnprintf \
14550 asctime_r \
14551 chsize \
14552 dlopen \
14553 epoll_create \
14554 ffs \
14555 fnmatch \
14556 fork \
14557 fpclass \
14558 fstatfs \
14559 fstatvfs \
14560 ftruncate \
14561 futimens \
14562 futimes \
14563 futimesat \
14564 getattrlist \
14565 getdirentries \
14566 getopt_long_only \
14567 getpwuid \
14568 gettimeofday \
14569 getuid \
14570 if_nameindex \
14571 kqueue \
14572 lstat \
14573 memmove \
14574 mmap \
14575 pclose \
14576 pipe2 \
14577 poll \
14578 popen \
14579 port_create \
14580 prctl \
14581 pread \
14582 proc_pidinfo \
14583 pwrite \
14584 readdir \
14585 readlink \
14586 sched_yield \
14587 select \
14588 setproctitle \
14589 setrlimit \
14590 settimeofday \
14591 sigaltstack \
14592 sigprocmask \
14593 snprintf \
14594 statfs \
14595 statvfs \
14596 strcasecmp \
14597 strdup \
14598 strerror \
14599 strncasecmp \
14600 strtold \
14601 strtoll \
14602 strtoull \
14603 symlink \
14604 tcdrain \
14605 thr_kill2 \
14606 timegm \
14607 usleep \
14608 vsnprintf
14610 do :
14611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14613 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14614 cat >>confdefs.h <<_ACEOF
14615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14616 _ACEOF
14619 done
14621 CFLAGS="$ac_save_CFLAGS"
14623 if test "$ac_cv_func_dlopen" = no
14624 then
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14626 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14627 if ${ac_cv_lib_dl_dlopen+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 ac_check_lib_save_LIBS=$LIBS
14631 LIBS="-ldl $LIBS"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14635 /* Override any GCC internal prototype to avoid an error.
14636 Use char because int might match the return type of a GCC
14637 builtin and then its argument prototype would still apply. */
14638 #ifdef __cplusplus
14639 extern "C"
14640 #endif
14641 char dlopen ();
14643 main ()
14645 return dlopen ();
14647 return 0;
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_lib_dl_dlopen=yes
14652 else
14653 ac_cv_lib_dl_dlopen=no
14655 rm -f core conftest.err conftest.$ac_objext \
14656 conftest$ac_exeext conftest.$ac_ext
14657 LIBS=$ac_check_lib_save_LIBS
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14660 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14661 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14662 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14663 DL_LIBS="-ldl"
14668 ac_wine_check_funcs_save_LIBS="$LIBS"
14669 LIBS="$LIBS $DL_LIBS"
14670 for ac_func in dladdr
14671 do :
14672 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14673 if test "x$ac_cv_func_dladdr" = xyes; then :
14674 cat >>confdefs.h <<_ACEOF
14675 #define HAVE_DLADDR 1
14676 _ACEOF
14679 done
14681 LIBS="$ac_wine_check_funcs_save_LIBS"
14683 if test "$ac_cv_func_poll" = no
14684 then
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14686 $as_echo_n "checking for poll in -lpoll... " >&6; }
14687 if ${ac_cv_lib_poll_poll+:} false; then :
14688 $as_echo_n "(cached) " >&6
14689 else
14690 ac_check_lib_save_LIBS=$LIBS
14691 LIBS="-lpoll $LIBS"
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14698 #ifdef __cplusplus
14699 extern "C"
14700 #endif
14701 char poll ();
14703 main ()
14705 return poll ();
14707 return 0;
14709 _ACEOF
14710 if ac_fn_c_try_link "$LINENO"; then :
14711 ac_cv_lib_poll_poll=yes
14712 else
14713 ac_cv_lib_poll_poll=no
14715 rm -f core conftest.err conftest.$ac_objext \
14716 conftest$ac_exeext conftest.$ac_ext
14717 LIBS=$ac_check_lib_save_LIBS
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14720 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14721 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14722 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14723 POLL_LIBS="-lpoll"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14730 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14731 if ${ac_cv_search_gethostbyname+:} false; then :
14732 $as_echo_n "(cached) " >&6
14733 else
14734 ac_func_search_save_LIBS=$LIBS
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14741 #ifdef __cplusplus
14742 extern "C"
14743 #endif
14744 char gethostbyname ();
14746 main ()
14748 return gethostbyname ();
14750 return 0;
14752 _ACEOF
14753 for ac_lib in '' nsl; do
14754 if test -z "$ac_lib"; then
14755 ac_res="none required"
14756 else
14757 ac_res=-l$ac_lib
14758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_search_gethostbyname=$ac_res
14763 rm -f core conftest.err conftest.$ac_objext \
14764 conftest$ac_exeext
14765 if ${ac_cv_search_gethostbyname+:} false; then :
14766 break
14768 done
14769 if ${ac_cv_search_gethostbyname+:} false; then :
14771 else
14772 ac_cv_search_gethostbyname=no
14774 rm conftest.$ac_ext
14775 LIBS=$ac_func_search_save_LIBS
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14778 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14779 ac_res=$ac_cv_search_gethostbyname
14780 if test "$ac_res" != no; then :
14781 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14787 $as_echo_n "checking for library containing connect... " >&6; }
14788 if ${ac_cv_search_connect+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_func_search_save_LIBS=$LIBS
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 #ifdef __cplusplus
14799 extern "C"
14800 #endif
14801 char connect ();
14803 main ()
14805 return connect ();
14807 return 0;
14809 _ACEOF
14810 for ac_lib in '' socket; do
14811 if test -z "$ac_lib"; then
14812 ac_res="none required"
14813 else
14814 ac_res=-l$ac_lib
14815 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_search_connect=$ac_res
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext
14822 if ${ac_cv_search_connect+:} false; then :
14823 break
14825 done
14826 if ${ac_cv_search_connect+:} false; then :
14828 else
14829 ac_cv_search_connect=no
14831 rm conftest.$ac_ext
14832 LIBS=$ac_func_search_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14835 $as_echo "$ac_cv_search_connect" >&6; }
14836 ac_res=$ac_cv_search_connect
14837 if test "$ac_res" != no; then :
14838 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14844 $as_echo_n "checking for library containing inet_aton... " >&6; }
14845 if ${ac_cv_search_inet_aton+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_func_search_save_LIBS=$LIBS
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 #ifdef __cplusplus
14856 extern "C"
14857 #endif
14858 char inet_aton ();
14860 main ()
14862 return inet_aton ();
14864 return 0;
14866 _ACEOF
14867 for ac_lib in '' resolv; do
14868 if test -z "$ac_lib"; then
14869 ac_res="none required"
14870 else
14871 ac_res=-l$ac_lib
14872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 ac_cv_search_inet_aton=$ac_res
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext
14879 if ${ac_cv_search_inet_aton+:} false; then :
14880 break
14882 done
14883 if ${ac_cv_search_inet_aton+:} false; then :
14885 else
14886 ac_cv_search_inet_aton=no
14888 rm conftest.$ac_ext
14889 LIBS=$ac_func_search_save_LIBS
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14892 $as_echo "$ac_cv_search_inet_aton" >&6; }
14893 ac_res=$ac_cv_search_inet_aton
14894 if test "$ac_res" != no; then :
14895 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14900 for ac_func in \
14901 getaddrinfo \
14902 getnameinfo \
14903 getnetbyname \
14904 getprotobyname \
14905 getprotobynumber \
14906 getservbyport \
14907 inet_addr \
14908 inet_network \
14909 inet_ntop \
14910 inet_pton \
14911 sendmsg \
14912 socketpair \
14914 do :
14915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14918 cat >>confdefs.h <<_ACEOF
14919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14920 _ACEOF
14923 done
14926 ac_save_LIBS=$LIBS
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14928 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14929 if ${ac_cv_search_clock_gettime+:} false; then :
14930 $as_echo_n "(cached) " >&6
14931 else
14932 ac_func_search_save_LIBS=$LIBS
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14939 #ifdef __cplusplus
14940 extern "C"
14941 #endif
14942 char clock_gettime ();
14944 main ()
14946 return clock_gettime ();
14948 return 0;
14950 _ACEOF
14951 for ac_lib in '' rt; do
14952 if test -z "$ac_lib"; then
14953 ac_res="none required"
14954 else
14955 ac_res=-l$ac_lib
14956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_search_clock_gettime=$ac_res
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext
14963 if ${ac_cv_search_clock_gettime+:} false; then :
14964 break
14966 done
14967 if ${ac_cv_search_clock_gettime+:} false; then :
14969 else
14970 ac_cv_search_clock_gettime=no
14972 rm conftest.$ac_ext
14973 LIBS=$ac_func_search_save_LIBS
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14976 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14977 ac_res=$ac_cv_search_clock_gettime
14978 if test "$ac_res" != no; then :
14979 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14981 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14983 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14987 LIBS=$ac_save_LIBS
14989 LDAP_LIBS=""
14991 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14992 then
14993 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14995 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14997 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14998 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14999 $as_echo_n "(cached) " >&6
15000 else
15001 ac_check_lib_save_LIBS=$LIBS
15002 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 #ifdef __cplusplus
15010 extern "C"
15011 #endif
15012 char ldap_initialize ();
15014 main ()
15016 return ldap_initialize ();
15018 return 0;
15020 _ACEOF
15021 if ac_fn_c_try_link "$LINENO"; then :
15022 ac_cv_lib_ldap_r_ldap_initialize=yes
15023 else
15024 ac_cv_lib_ldap_r_ldap_initialize=no
15026 rm -f core conftest.err conftest.$ac_objext \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15031 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15032 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15034 $as_echo_n "checking for ber_init in -llber... " >&6; }
15035 if ${ac_cv_lib_lber_ber_init+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_check_lib_save_LIBS=$LIBS
15039 LIBS="-llber $PTHREAD_LIBS $LIBS"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15043 /* Override any GCC internal prototype to avoid an error.
15044 Use char because int might match the return type of a GCC
15045 builtin and then its argument prototype would still apply. */
15046 #ifdef __cplusplus
15047 extern "C"
15048 #endif
15049 char ber_init ();
15051 main ()
15053 return ber_init ();
15055 return 0;
15057 _ACEOF
15058 if ac_fn_c_try_link "$LINENO"; then :
15059 ac_cv_lib_lber_ber_init=yes
15060 else
15061 ac_cv_lib_lber_ber_init=no
15063 rm -f core conftest.err conftest.$ac_objext \
15064 conftest$ac_exeext conftest.$ac_ext
15065 LIBS=$ac_check_lib_save_LIBS
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15068 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15069 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15071 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15073 LDAP_LIBS="-lldap_r -llber"
15080 ac_wine_check_funcs_save_LIBS="$LIBS"
15081 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15082 for ac_func in \
15083 ldap_count_references \
15084 ldap_first_reference \
15085 ldap_next_reference \
15086 ldap_parse_reference \
15087 ldap_parse_sort_control \
15088 ldap_parse_sortresponse_control \
15089 ldap_parse_vlv_control \
15090 ldap_parse_vlvresponse_control
15091 do :
15092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15095 cat >>confdefs.h <<_ACEOF
15096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15097 _ACEOF
15100 done
15102 LIBS="$ac_wine_check_funcs_save_LIBS"
15104 if test "x$LDAP_LIBS" = "x"; then :
15105 case "x$with_ldap" in
15106 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15107 xno) ;;
15108 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15109 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15110 esac
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15114 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15115 if ${wine_cv_one_arg_mkdir+:} false; then :
15116 $as_echo_n "(cached) " >&6
15117 else
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 #include <sys/stat.h>
15122 main ()
15124 mkdir("foo");
15126 return 0;
15128 _ACEOF
15129 if ac_fn_c_try_compile "$LINENO"; then :
15130 wine_cv_one_arg_mkdir=yes
15131 else
15132 wine_cv_one_arg_mkdir=no
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15137 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15138 if test "$wine_cv_one_arg_mkdir" = "yes"
15139 then
15141 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15146 $as_echo_n "checking for sched_setaffinity... " >&6; }
15147 if ${wine_cv_have_sched_setaffinity+:} false; then :
15148 $as_echo_n "(cached) " >&6
15149 else
15150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15151 /* end confdefs.h. */
15152 #define _GNU_SOURCE
15153 #include <sched.h>
15155 main ()
15157 sched_setaffinity(0, 0, 0);
15159 return 0;
15161 _ACEOF
15162 if ac_fn_c_try_link "$LINENO"; then :
15163 wine_cv_have_sched_setaffinity=yes
15164 else
15165 wine_cv_have_sched_setaffinity=no
15167 rm -f core conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15171 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15172 if test "$wine_cv_have_sched_setaffinity" = "yes"
15173 then
15175 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15180 $as_echo_n "checking for fallocate... " >&6; }
15181 if ${wine_cv_have_fallocate+:} false; then :
15182 $as_echo_n "(cached) " >&6
15183 else
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15186 #define _GNU_SOURCE
15187 #include <fcntl.h>
15189 main ()
15191 fallocate(-1, 0, 0, 0);
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 wine_cv_have_fallocate=yes
15198 else
15199 wine_cv_have_fallocate=no
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15205 $as_echo "$wine_cv_have_fallocate" >&6; }
15206 if test "$wine_cv_have_fallocate" = "yes"
15207 then
15209 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15215 $as_echo_n "checking for inline... " >&6; }
15216 if ${ac_cv_c_inline+:} false; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15219 ac_cv_c_inline=no
15220 for ac_kw in inline __inline__ __inline; do
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #ifndef __cplusplus
15224 typedef int foo_t;
15225 static $ac_kw foo_t static_foo () {return 0; }
15226 $ac_kw foo_t foo () {return 0; }
15227 #endif
15229 _ACEOF
15230 if ac_fn_c_try_compile "$LINENO"; then :
15231 ac_cv_c_inline=$ac_kw
15233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15234 test "$ac_cv_c_inline" != no && break
15235 done
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15239 $as_echo "$ac_cv_c_inline" >&6; }
15241 case $ac_cv_c_inline in
15242 inline | yes) ;;
15244 case $ac_cv_c_inline in
15245 no) ac_val=;;
15246 *) ac_val=$ac_cv_c_inline;;
15247 esac
15248 cat >>confdefs.h <<_ACEOF
15249 #ifndef __cplusplus
15250 #define inline $ac_val
15251 #endif
15252 _ACEOF
15254 esac
15256 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15257 if test "x$ac_cv_type_mode_t" = xyes; then :
15259 cat >>confdefs.h <<_ACEOF
15260 #define HAVE_MODE_T 1
15261 _ACEOF
15265 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15266 if test "x$ac_cv_type_off_t" = xyes; then :
15268 cat >>confdefs.h <<_ACEOF
15269 #define HAVE_OFF_T 1
15270 _ACEOF
15274 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15275 if test "x$ac_cv_type_pid_t" = xyes; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define HAVE_PID_T 1
15279 _ACEOF
15283 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15284 if test "x$ac_cv_type_size_t" = xyes; then :
15286 cat >>confdefs.h <<_ACEOF
15287 #define HAVE_SIZE_T 1
15288 _ACEOF
15292 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15293 if test "x$ac_cv_type_ssize_t" = xyes; then :
15295 cat >>confdefs.h <<_ACEOF
15296 #define HAVE_SSIZE_T 1
15297 _ACEOF
15301 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15302 if test "x$ac_cv_type_long_long" = xyes; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define HAVE_LONG_LONG 1
15306 _ACEOF
15310 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15311 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15313 cat >>confdefs.h <<_ACEOF
15314 #define HAVE_FSBLKCNT_T 1
15315 _ACEOF
15319 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15320 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15322 cat >>confdefs.h <<_ACEOF
15323 #define HAVE_FSFILCNT_T 1
15324 _ACEOF
15329 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15330 #include <signal.h>
15332 if test "x$ac_cv_type_sigset_t" = xyes; then :
15334 cat >>confdefs.h <<_ACEOF
15335 #define HAVE_SIGSET_T 1
15336 _ACEOF
15341 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15343 if test "x$ac_cv_type_request_sense" = xyes; then :
15345 cat >>confdefs.h <<_ACEOF
15346 #define HAVE_REQUEST_SENSE 1
15347 _ACEOF
15353 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15354 #ifdef HAVE_SYS_SOCKET_H
15355 #include <sys/socket.h>
15356 #endif
15357 #ifdef HAVE_SYS_SOCKETVAR_H
15358 #include <sys/socketvar.h>
15359 #endif
15360 #ifdef HAVE_NET_ROUTE_H
15361 #include <net/route.h>
15362 #endif
15363 #ifdef HAVE_NETINET_IN_H
15364 #include <netinet/in.h>
15365 #endif
15366 #ifdef HAVE_NETINET_IN_SYSTM_H
15367 #include <netinet/in_systm.h>
15368 #endif
15369 #ifdef HAVE_NETINET_IP_H
15370 #include <netinet/ip.h>
15371 #endif
15372 #ifdef HAVE_NETINET_IN_PCB_H
15373 #include <netinet/in_pcb.h>
15374 #endif
15376 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15378 cat >>confdefs.h <<_ACEOF
15379 #define HAVE_STRUCT_XINPGEN 1
15380 _ACEOF
15386 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15387 #include <link.h>
15388 #endif
15389 #ifdef HAVE_SYS_LINK_H
15390 #include <sys/link.h>
15391 #endif
15393 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define HAVE_STRUCT_R_DEBUG 1
15397 _ACEOF
15401 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15402 #include <link.h>
15403 #endif
15404 #ifdef HAVE_SYS_LINK_H
15405 #include <sys/link.h>
15406 #endif
15408 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15410 cat >>confdefs.h <<_ACEOF
15411 #define HAVE_STRUCT_LINK_MAP 1
15412 _ACEOF
15418 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15419 #include <linux/input.h>
15420 #endif
15422 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15424 cat >>confdefs.h <<_ACEOF
15425 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15426 _ACEOF
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15433 $as_echo_n "checking for sigaddset... " >&6; }
15434 if ${wine_cv_have_sigaddset+:} false; then :
15435 $as_echo_n "(cached) " >&6
15436 else
15437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15438 /* end confdefs.h. */
15439 #include <signal.h>
15441 main ()
15443 sigset_t set; sigaddset(&set,SIGTERM);
15445 return 0;
15447 _ACEOF
15448 if ac_fn_c_try_link "$LINENO"; then :
15449 wine_cv_have_sigaddset=yes
15450 else
15451 wine_cv_have_sigaddset=no
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext conftest.$ac_ext
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15457 $as_echo "$wine_cv_have_sigaddset" >&6; }
15458 if test "$wine_cv_have_sigaddset" = "yes"
15459 then
15461 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15467 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15468 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15469 $as_echo_n "(cached) " >&6
15470 else
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473 #include <netdb.h>
15475 main ()
15478 char *name=0;
15479 struct hostent he;
15480 struct hostent *result;
15481 char *buf=0;
15482 int bufsize=0;
15483 int errnr;
15484 char *addr=0;
15485 int addrlen=0;
15486 int addrtype=0;
15487 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15488 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15491 return 0;
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"; then :
15495 wine_cv_linux_gethostbyname_r_6=yes
15496 else
15497 wine_cv_linux_gethostbyname_r_6=no
15500 rm -f core conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15505 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15506 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15507 then
15509 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15513 if test "$ac_cv_header_linux_joystick_h" = "yes"
15514 then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15516 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15517 if ${wine_cv_linux_joystick_22_api+:} false; then :
15518 $as_echo_n "(cached) " >&6
15519 else
15520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15523 #include <sys/ioctl.h>
15524 #include <sys/types.h>
15525 #include <linux/joystick.h>
15527 struct js_event blub;
15528 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15529 #error "no 2.2 header"
15530 #endif
15533 main ()
15535 /*empty*/
15537 return 0;
15539 _ACEOF
15540 if ac_fn_c_try_compile "$LINENO"; then :
15541 wine_cv_linux_joystick_22_api=yes
15542 else
15543 wine_cv_linux_joystick_22_api=no
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15549 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15550 if test "$wine_cv_linux_joystick_22_api" = "yes"
15551 then
15553 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15559 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15560 #ifdef HAVE_SYS_PARAM_H
15561 # include <sys/param.h>
15562 #endif
15563 #ifdef HAVE_SYS_MOUNT_H
15564 # include <sys/mount.h>
15565 #endif
15566 #ifdef HAVE_SYS_VFS_H
15567 # include <sys/vfs.h>
15568 #endif
15569 #ifdef HAVE_SYS_STATFS_H
15570 # include <sys/statfs.h>
15571 #endif
15573 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15575 cat >>confdefs.h <<_ACEOF
15576 #define HAVE_STRUCT_STATFS_F_BFREE 1
15577 _ACEOF
15581 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15582 #ifdef HAVE_SYS_PARAM_H
15583 # include <sys/param.h>
15584 #endif
15585 #ifdef HAVE_SYS_MOUNT_H
15586 # include <sys/mount.h>
15587 #endif
15588 #ifdef HAVE_SYS_VFS_H
15589 # include <sys/vfs.h>
15590 #endif
15591 #ifdef HAVE_SYS_STATFS_H
15592 # include <sys/statfs.h>
15593 #endif
15595 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15597 cat >>confdefs.h <<_ACEOF
15598 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15599 _ACEOF
15603 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15604 #ifdef HAVE_SYS_PARAM_H
15605 # include <sys/param.h>
15606 #endif
15607 #ifdef HAVE_SYS_MOUNT_H
15608 # include <sys/mount.h>
15609 #endif
15610 #ifdef HAVE_SYS_VFS_H
15611 # include <sys/vfs.h>
15612 #endif
15613 #ifdef HAVE_SYS_STATFS_H
15614 # include <sys/statfs.h>
15615 #endif
15617 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15619 cat >>confdefs.h <<_ACEOF
15620 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15621 _ACEOF
15625 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15626 #ifdef HAVE_SYS_PARAM_H
15627 # include <sys/param.h>
15628 #endif
15629 #ifdef HAVE_SYS_MOUNT_H
15630 # include <sys/mount.h>
15631 #endif
15632 #ifdef HAVE_SYS_VFS_H
15633 # include <sys/vfs.h>
15634 #endif
15635 #ifdef HAVE_SYS_STATFS_H
15636 # include <sys/statfs.h>
15637 #endif
15639 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15641 cat >>confdefs.h <<_ACEOF
15642 #define HAVE_STRUCT_STATFS_F_FFREE 1
15643 _ACEOF
15647 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15648 #ifdef HAVE_SYS_PARAM_H
15649 # include <sys/param.h>
15650 #endif
15651 #ifdef HAVE_SYS_MOUNT_H
15652 # include <sys/mount.h>
15653 #endif
15654 #ifdef HAVE_SYS_VFS_H
15655 # include <sys/vfs.h>
15656 #endif
15657 #ifdef HAVE_SYS_STATFS_H
15658 # include <sys/statfs.h>
15659 #endif
15661 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15665 _ACEOF
15669 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15670 #ifdef HAVE_SYS_PARAM_H
15671 # include <sys/param.h>
15672 #endif
15673 #ifdef HAVE_SYS_MOUNT_H
15674 # include <sys/mount.h>
15675 #endif
15676 #ifdef HAVE_SYS_VFS_H
15677 # include <sys/vfs.h>
15678 #endif
15679 #ifdef HAVE_SYS_STATFS_H
15680 # include <sys/statfs.h>
15681 #endif
15683 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15685 cat >>confdefs.h <<_ACEOF
15686 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15687 _ACEOF
15693 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15694 #include <sys/statvfs.h>
15695 #endif
15697 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15699 cat >>confdefs.h <<_ACEOF
15700 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15701 _ACEOF
15707 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15708 #include <dirent.h>
15709 #endif
15711 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15715 _ACEOF
15721 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15722 #ifdef HAVE_SYS_SOCKET_H
15723 # include <sys/socket.h>
15724 #endif
15725 #ifdef HAVE_SYS_UN_H
15726 # include <sys/un.h>
15727 #endif
15729 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15731 cat >>confdefs.h <<_ACEOF
15732 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15733 _ACEOF
15737 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_SOCKET_H
15739 # include <sys/socket.h>
15740 #endif
15741 #ifdef HAVE_SYS_UN_H
15742 # include <sys/un.h>
15743 #endif
15745 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15749 _ACEOF
15753 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15754 #ifdef HAVE_SYS_SOCKET_H
15755 # include <sys/socket.h>
15756 #endif
15757 #ifdef HAVE_SYS_UN_H
15758 # include <sys/un.h>
15759 #endif
15761 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15765 _ACEOF
15771 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15772 #ifdef HAVE_SCSI_SG_H
15773 #include <scsi/sg.h>
15774 #endif
15776 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define HAVE_SCSIREQ_T_CMD 1
15780 _ACEOF
15784 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>
15785 #ifdef HAVE_SCSI_SG_H
15786 #include <scsi/sg.h>
15787 #endif
15789 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15793 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15801 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_SIGINFO_T_SI_FD 1
15805 _ACEOF
15811 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15812 #ifdef HAVE_SYS_MTIO_H
15813 #include <sys/mtio.h>
15814 #endif
15816 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15820 _ACEOF
15824 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15825 #ifdef HAVE_SYS_MTIO_H
15826 #include <sys/mtio.h>
15827 #endif
15829 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15831 cat >>confdefs.h <<_ACEOF
15832 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15833 _ACEOF
15837 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15838 #ifdef HAVE_SYS_MTIO_H
15839 #include <sys/mtio.h>
15840 #endif
15842 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15846 _ACEOF
15852 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15853 #include <getopt.h>
15854 #endif
15856 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15858 cat >>confdefs.h <<_ACEOF
15859 #define HAVE_STRUCT_OPTION_NAME 1
15860 _ACEOF
15866 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15867 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15871 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15876 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_STRUCT_STAT_ST_MTIM 1
15880 _ACEOF
15884 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15885 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15889 _ACEOF
15893 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15894 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15896 cat >>confdefs.h <<_ACEOF
15897 #define HAVE_STRUCT_STAT_ST_CTIM 1
15898 _ACEOF
15902 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15903 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15905 cat >>confdefs.h <<_ACEOF
15906 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15907 _ACEOF
15911 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15912 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_STRUCT_STAT_ST_ATIM 1
15916 _ACEOF
15920 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15921 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15925 _ACEOF
15929 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15930 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15934 _ACEOF
15938 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15939 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15943 _ACEOF
15947 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15948 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15952 _ACEOF
15956 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15957 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15961 _ACEOF
15965 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15966 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15970 _ACEOF
15976 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
15977 #include <sys/types.h>
15978 #endif
15979 #ifdef HAVE_NETINET_IN_H
15980 #include <netinet/in.h>
15981 #endif
15983 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15987 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15994 #include <resolv.h>
15995 #endif
15997 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_STRUCT___RES_STATE 1
16001 _ACEOF
16007 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
16008 #include <resolv.h>
16009 #endif
16011 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16015 _ACEOF
16021 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16022 #include <sys/types.h>
16023 #endif
16024 #ifdef HAVE_NETINET_IN_H
16025 # include <netinet/in.h>
16026 #endif
16027 #ifdef HAVE_ARPA_NAMESER_H
16028 # include <arpa/nameser.h>
16029 #endif
16031 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_NS_MSG__MSG_PTR 1
16035 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16043 #endif
16044 #ifdef HAVE_NETINET_IP_H
16045 #include <netinet/ip.h>
16046 #endif
16047 #ifdef HAVE_NETINET_IP_ICMP_H
16048 #include <netinet/ip_icmp.h>
16049 #endif
16050 #ifdef HAVE_NETINET_ICMP_VAR_H
16051 #include <netinet/icmp_var.h>
16052 #endif
16054 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16058 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16065 #include <sys/types.h>
16066 #endif
16067 #ifdef HAVE_ALIAS_H
16068 #include <alias.h>
16069 #endif
16070 #ifdef HAVE_SYS_SOCKET_H
16071 #include <sys/socket.h>
16072 #endif
16073 #ifdef HAVE_SYS_SOCKETVAR_H
16074 #include <sys/socketvar.h>
16075 #endif
16076 #ifdef HAVE_SYS_TIMEOUT_H
16077 #include <sys/timeout.h>
16078 #endif
16079 #ifdef HAVE_NETINET_IN_H
16080 #include <netinet/in.h>
16081 #endif
16082 #ifdef HAVE_NETINET_IN_SYSTM_H
16083 #include <netinet/in_systm.h>
16084 #endif
16085 #ifdef HAVE_NETINET_IP_H
16086 #include <netinet/ip.h>
16087 #endif
16088 #ifdef HAVE_NETINET_IP_VAR_H
16089 #include <netinet/ip_var.h>
16090 #endif
16091 #ifdef HAVE_NETINET_IP_ICMP_H
16092 #include <netinet/ip_icmp.h>
16093 #endif
16094 #ifdef HAVE_NETINET_ICMP_VAR_H
16095 #include <netinet/icmp_var.h>
16096 #endif
16098 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16100 cat >>confdefs.h <<_ACEOF
16101 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16102 _ACEOF
16108 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16109 #include <sys/types.h>
16110 #endif
16111 #ifdef HAVE_SYS_SOCKETVAR_H
16112 #include <sys/socketvar.h>
16113 #endif
16114 #ifdef HAVE_NETINET_IN_H
16115 #include <netinet/in.h>
16116 #endif
16117 #ifdef HAVE_NETINET_IP_VAR_H
16118 #include <netinet/ip_var.h>
16119 #endif
16121 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16125 _ACEOF
16131 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
16132 #include <netinet/ip_var.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16139 _ACEOF
16145 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16146 #include <sys/types.h>
16147 #endif
16148 #ifdef HAVE_SYS_SOCKETVAR_H
16149 #include <sys/socketvar.h>
16150 #endif
16151 #ifdef HAVE_NETINET_IN_H
16152 #include <netinet/in.h>
16153 #endif
16154 #ifdef HAVE_NETINET_TCP_H
16155 #include <netinet/tcp.h>
16156 #endif
16157 #ifdef HAVE_NETINET_TCP_VAR_H
16158 #include <netinet/tcp_var.h>
16159 #endif
16161 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16165 _ACEOF
16171 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
16172 #include <netinet/tcp_var.h>
16173 #endif
16175 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16177 cat >>confdefs.h <<_ACEOF
16178 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16179 _ACEOF
16185 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16186 #include <sys/types.h>
16187 #endif
16188 #ifdef HAVE_NETINET_IN_H
16189 #include <netinet/in.h>
16190 #endif
16191 #ifdef HAVE_NETINET_IP_VAR_H
16192 #include <netinet/ip_var.h>
16193 #endif
16194 #ifdef HAVE_NETINET_UDP_H
16195 #include <netinet/udp.h>
16196 #endif
16197 #ifdef HAVE_NETINET_UDP_VAR_H
16198 #include <netinet/udp_var.h>
16199 #endif
16201 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16205 _ACEOF
16211 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16212 #include <sys/types.h>
16213 #endif
16214 #ifdef HAVE_NET_IF_H
16215 # include <net/if.h>
16216 #endif
16218 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16222 _ACEOF
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16229 $as_echo_n "checking for timezone variable... " >&6; }
16230 if ${ac_cv_have_timezone+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 #include <time.h>
16237 main ()
16239 timezone = 1
16241 return 0;
16243 _ACEOF
16244 if ac_fn_c_try_link "$LINENO"; then :
16245 ac_cv_have_timezone="yes"
16246 else
16247 ac_cv_have_timezone="no"
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16253 $as_echo "$ac_cv_have_timezone" >&6; }
16254 if test "$ac_cv_have_timezone" = "yes"
16255 then
16257 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16261 $as_echo_n "checking for daylight variable... " >&6; }
16262 if ${ac_cv_have_daylight+:} false; then :
16263 $as_echo_n "(cached) " >&6
16264 else
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16267 #include <time.h>
16269 main ()
16271 daylight = 1
16273 return 0;
16275 _ACEOF
16276 if ac_fn_c_try_link "$LINENO"; then :
16277 ac_cv_have_daylight="yes"
16278 else
16279 ac_cv_have_daylight="no"
16281 rm -f core conftest.err conftest.$ac_objext \
16282 conftest$ac_exeext conftest.$ac_ext
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16285 $as_echo "$ac_cv_have_daylight" >&6; }
16286 if test "$ac_cv_have_daylight" = "yes"
16287 then
16289 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16293 ac_save_LIBS="$LIBS"
16294 LIBS="$LIBS -lm"
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16296 $as_echo_n "checking for isfinite... " >&6; }
16297 if ${ac_cv_have_isfinite+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16302 #define _GNU_SOURCE
16303 #include <math.h>
16305 main ()
16307 float f = 0.0; return isfinite(f)
16309 return 0;
16311 _ACEOF
16312 if ac_fn_c_try_link "$LINENO"; then :
16313 ac_cv_have_isfinite="yes"
16314 else
16315 ac_cv_have_isfinite="no"
16317 rm -f core conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16321 $as_echo "$ac_cv_have_isfinite" >&6; }
16322 if test "$ac_cv_have_isfinite" = "yes"
16323 then
16325 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16329 ac_save_LIBS="$LIBS"
16330 LIBS="$LIBS -lm"
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16332 $as_echo_n "checking for isinf... " >&6; }
16333 if ${ac_cv_have_isinf+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #include <math.h>
16340 main ()
16342 float f = 0.0; return isinf(f)
16344 return 0;
16346 _ACEOF
16347 if ac_fn_c_try_link "$LINENO"; then :
16348 ac_cv_have_isinf="yes"
16349 else
16350 ac_cv_have_isinf="no"
16352 rm -f core conftest.err conftest.$ac_objext \
16353 conftest$ac_exeext conftest.$ac_ext
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16356 $as_echo "$ac_cv_have_isinf" >&6; }
16357 if test "$ac_cv_have_isinf" = "yes"
16358 then
16360 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16365 $as_echo_n "checking for isnan... " >&6; }
16366 if ${ac_cv_have_isnan+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #include <math.h>
16373 main ()
16375 float f = 0.0; return isnan(f)
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"; then :
16381 ac_cv_have_isnan="yes"
16382 else
16383 ac_cv_have_isnan="no"
16385 rm -f core conftest.err conftest.$ac_objext \
16386 conftest$ac_exeext conftest.$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16389 $as_echo "$ac_cv_have_isnan" >&6; }
16390 if test "$ac_cv_have_isnan" = "yes"
16391 then
16393 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16396 LIBS="$ac_save_LIBS"
16399 case $host_cpu in
16400 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16401 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16402 if ${ac_cv_cpp_def___i386__+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #ifndef __i386__
16409 #endif
16410 _ACEOF
16411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16412 $EGREP "yes" >/dev/null 2>&1; then :
16413 ac_cv_cpp_def___i386__=yes
16414 else
16415 ac_cv_cpp_def___i386__=no
16417 rm -f conftest*
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16421 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16422 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16423 CFLAGS="$CFLAGS -D__i386__"
16424 LINTFLAGS="$LINTFLAGS -D__i386__"
16425 fi ;;
16426 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16427 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16428 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #ifndef __x86_64__
16435 #endif
16436 _ACEOF
16437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16438 $EGREP "yes" >/dev/null 2>&1; then :
16439 ac_cv_cpp_def___x86_64__=yes
16440 else
16441 ac_cv_cpp_def___x86_64__=no
16443 rm -f conftest*
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16447 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16448 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16449 CFLAGS="$CFLAGS -D__x86_64__"
16450 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16451 fi ;;
16452 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16453 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16454 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16455 $as_echo_n "(cached) " >&6
16456 else
16457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16459 #ifndef __sparc64__
16461 #endif
16462 _ACEOF
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "yes" >/dev/null 2>&1; then :
16465 ac_cv_cpp_def___sparc64__=yes
16466 else
16467 ac_cv_cpp_def___sparc64__=no
16469 rm -f conftest*
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16473 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16474 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16475 CFLAGS="$CFLAGS -D__sparc64__"
16476 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16477 fi ;;
16478 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16479 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16480 if ${ac_cv_cpp_def___sparc__+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #ifndef __sparc__
16487 #endif
16488 _ACEOF
16489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16490 $EGREP "yes" >/dev/null 2>&1; then :
16491 ac_cv_cpp_def___sparc__=yes
16492 else
16493 ac_cv_cpp_def___sparc__=no
16495 rm -f conftest*
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16499 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16500 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16501 CFLAGS="$CFLAGS -D__sparc__"
16502 LINTFLAGS="$LINTFLAGS -D__sparc__"
16503 fi ;;
16504 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16505 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16506 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16507 $as_echo_n "(cached) " >&6
16508 else
16509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 /* end confdefs.h. */
16511 #ifndef __powerpc64__
16513 #endif
16514 _ACEOF
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "yes" >/dev/null 2>&1; then :
16517 ac_cv_cpp_def___powerpc64__=yes
16518 else
16519 ac_cv_cpp_def___powerpc64__=no
16521 rm -f conftest*
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16525 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16526 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16527 CFLAGS="$CFLAGS -D__powerpc64__"
16528 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16529 fi ;;
16530 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16531 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16532 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #ifndef __powerpc__
16539 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "yes" >/dev/null 2>&1; then :
16543 ac_cv_cpp_def___powerpc__=yes
16544 else
16545 ac_cv_cpp_def___powerpc__=no
16547 rm -f conftest*
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16551 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16552 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16553 CFLAGS="$CFLAGS -D__powerpc__"
16554 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16555 fi ;;
16556 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16557 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16558 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16559 $as_echo_n "(cached) " >&6
16560 else
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16562 /* end confdefs.h. */
16563 #ifndef __aarch64__
16565 #endif
16566 _ACEOF
16567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16568 $EGREP "yes" >/dev/null 2>&1; then :
16569 ac_cv_cpp_def___aarch64__=yes
16570 else
16571 ac_cv_cpp_def___aarch64__=no
16573 rm -f conftest*
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16577 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16578 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16579 CFLAGS="$CFLAGS -D__aarch64__"
16580 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16581 fi ;;
16582 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16583 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16584 if ${ac_cv_cpp_def___arm__+:} false; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16589 #ifndef __arm__
16591 #endif
16592 _ACEOF
16593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16594 $EGREP "yes" >/dev/null 2>&1; then :
16595 ac_cv_cpp_def___arm__=yes
16596 else
16597 ac_cv_cpp_def___arm__=no
16599 rm -f conftest*
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16603 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16604 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16605 CFLAGS="$CFLAGS -D__arm__"
16606 LINTFLAGS="$LINTFLAGS -D__arm__"
16607 fi ;;
16608 esac
16610 case $host_vendor in
16611 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16612 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16613 if ${ac_cv_cpp_def___sun__+:} false; then :
16614 $as_echo_n "(cached) " >&6
16615 else
16616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16617 /* end confdefs.h. */
16618 #ifndef __sun__
16620 #endif
16621 _ACEOF
16622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16623 $EGREP "yes" >/dev/null 2>&1; then :
16624 ac_cv_cpp_def___sun__=yes
16625 else
16626 ac_cv_cpp_def___sun__=no
16628 rm -f conftest*
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16632 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16633 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16634 CFLAGS="$CFLAGS -D__sun__"
16635 LINTFLAGS="$LINTFLAGS -D__sun__"
16636 fi ;;
16637 esac
16643 ac_config_commands="$ac_config_commands include/stamp-h"
16645 $as_echo_n "creating Makefile rules..." >&6
16647 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16648 SOCKET_LIBS = $SOCKET_LIBS
16649 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16650 IOKIT_LIBS = $IOKIT_LIBS
16651 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16652 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16653 CORESERVICES_LIBS = $CORESERVICES_LIBS
16654 APPKIT_LIBS = $APPKIT_LIBS
16655 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16656 SECURITY_LIBS = $SECURITY_LIBS
16657 COREAUDIO_LIBS = $COREAUDIO_LIBS
16658 OPENAL_LIBS = $OPENAL_LIBS
16659 OPENCL_LIBS = $OPENCL_LIBS
16660 QUICKTIME_LIBS = $QUICKTIME_LIBS
16661 CARBON_LIBS = $CARBON_LIBS
16662 PTHREAD_LIBS = $PTHREAD_LIBS
16663 X_CFLAGS = $X_CFLAGS
16664 X_PRE_LIBS = $X_PRE_LIBS
16665 X_LIBS = $X_LIBS
16666 X_EXTRA_LIBS = $X_EXTRA_LIBS
16667 XML2_CFLAGS = $XML2_CFLAGS
16668 XML2_LIBS = $XML2_LIBS
16669 XSLT_CFLAGS = $XSLT_CFLAGS
16670 XSLT_LIBS = $XSLT_LIBS
16671 DBUS_CFLAGS = $DBUS_CFLAGS
16672 DBUS_LIBS = $DBUS_LIBS
16673 HAL_CFLAGS = $HAL_CFLAGS
16674 HAL_LIBS = $HAL_LIBS
16675 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16676 GNUTLS_LIBS = $GNUTLS_LIBS
16677 SANE_CFLAGS = $SANE_CFLAGS
16678 SANE_LIBS = $SANE_LIBS
16679 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16680 GPHOTO2_LIBS = $GPHOTO2_LIBS
16681 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16682 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16683 RESOLV_LIBS = $RESOLV_LIBS
16684 LCMS2_CFLAGS = $LCMS2_CFLAGS
16685 LCMS2_LIBS = $LCMS2_LIBS
16686 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16687 FREETYPE_LIBS = $FREETYPE_LIBS
16688 Z_LIBS = $Z_LIBS
16689 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16690 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16691 GSTREAMER_LIBS = $GSTREAMER_LIBS
16692 ALSA_LIBS = $ALSA_LIBS
16693 OSS4_CFLAGS = $OSS4_CFLAGS
16694 CAPI20_CFLAGS = $CAPI20_CFLAGS
16695 CAPI20_LIBS = $CAPI20_LIBS
16696 CUPS_CFLAGS = $CUPS_CFLAGS
16697 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16698 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16699 JPEG_CFLAGS = $JPEG_CFLAGS
16700 JPEG_LIBS = $JPEG_LIBS
16701 PNG_CFLAGS = $PNG_CFLAGS
16702 PNG_LIBS = $PNG_LIBS
16703 TIFF_CFLAGS = $TIFF_CFLAGS
16704 TIFF_LIBS = $TIFF_LIBS
16705 MPG123_CFLAGS = $MPG123_CFLAGS
16706 MPG123_LIBS = $MPG123_LIBS
16707 KSTAT_LIBS = $KSTAT_LIBS
16708 PROCSTAT_LIBS = $PROCSTAT_LIBS
16709 DL_LIBS = $DL_LIBS
16710 POLL_LIBS = $POLL_LIBS
16711 RT_LIBS = $RT_LIBS
16712 LDAP_LIBS = $LDAP_LIBS
16717 wine_fn_append_rule "
16718 # Rules automatically generated by configure
16720 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16722 .INIT: Makefile
16723 .MAKEFILEDEPS:
16724 all: Makefile
16725 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16726 @./config.status Make.tmp Makefile"
16728 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16729 .gitignore: config.status
16730 @./config.status .gitignore"
16732 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16733 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16735 if test "x$enable_fonts" != xno; then
16736 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16737 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16738 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16739 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16740 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16742 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16743 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16744 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16745 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16746 ac_config_links="$ac_config_links wine:tools/winewrapper"
16747 wine_fn_config_symlink wine
16748 if test "x$enable_win64" != xno; then
16749 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16750 wine_fn_config_symlink wine64
16753 wine_fn_config_dll acledit enable_acledit
16754 wine_fn_config_dll aclui enable_aclui implib
16755 wine_fn_config_dll activeds enable_activeds implib
16756 wine_fn_config_dll actxprxy enable_actxprxy clean
16757 wine_fn_config_lib adsiid
16758 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16759 wine_fn_config_test dlls/advapi32/tests advapi32_test
16760 wine_fn_config_dll advpack enable_advpack implib
16761 wine_fn_config_test dlls/advpack/tests advpack_test
16762 wine_fn_config_dll amstream enable_amstream clean
16763 wine_fn_config_test dlls/amstream/tests amstream_test
16764 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16765 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16767 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16768 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16771 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16773 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16774 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16775 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16776 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16777 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16778 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16779 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16780 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16781 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16782 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16783 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16784 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16785 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16786 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16787 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16788 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16789 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16790 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16791 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16792 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16793 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16794 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16795 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16796 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16797 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16798 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16799 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16800 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16801 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16802 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16803 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16804 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16805 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16806 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16807 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16808 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16809 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16810 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16811 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16812 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16813 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16814 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16815 wine_fn_config_dll apphelp enable_apphelp
16816 wine_fn_config_test dlls/apphelp/tests apphelp_test
16817 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16818 wine_fn_config_dll atl enable_atl clean,implib
16819 wine_fn_config_test dlls/atl/tests atl_test
16820 wine_fn_config_dll atl100 enable_atl100 clean,implib
16821 wine_fn_config_test dlls/atl100/tests atl100_test
16822 wine_fn_config_dll atl110 enable_atl110 clean
16823 wine_fn_config_dll atl80 enable_atl80 clean,implib
16824 wine_fn_config_test dlls/atl80/tests atl80_test
16825 wine_fn_config_dll atl90 enable_atl90 clean
16826 wine_fn_config_dll authz enable_authz
16827 wine_fn_config_dll avicap32 enable_avicap32 implib
16828 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16829 wine_fn_config_test dlls/avifil32/tests avifil32_test
16830 wine_fn_config_dll avifile.dll16 enable_win16
16831 wine_fn_config_dll avrt enable_avrt implib
16832 wine_fn_config_dll bcrypt enable_bcrypt
16833 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16834 wine_fn_config_dll browseui enable_browseui clean,po
16835 wine_fn_config_test dlls/browseui/tests browseui_test
16836 wine_fn_config_dll cabinet enable_cabinet implib
16837 wine_fn_config_test dlls/cabinet/tests cabinet_test
16838 wine_fn_config_dll capi2032 enable_capi2032 implib
16839 wine_fn_config_dll cards enable_cards implib
16840 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16841 wine_fn_config_dll clusapi enable_clusapi implib
16842 wine_fn_config_dll comcat enable_comcat
16843 wine_fn_config_test dlls/comcat/tests comcat_test
16844 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16845 wine_fn_config_test dlls/comctl32/tests comctl32_test
16846 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16847 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16848 wine_fn_config_dll comm.drv16 enable_win16
16849 wine_fn_config_dll commdlg.dll16 enable_win16
16850 wine_fn_config_dll compobj.dll16 enable_win16
16851 wine_fn_config_dll compstui enable_compstui implib
16852 wine_fn_config_dll comsvcs enable_comsvcs implib
16853 wine_fn_config_dll credui enable_credui implib,po
16854 wine_fn_config_test dlls/credui/tests credui_test
16855 wine_fn_config_dll crtdll enable_crtdll implib
16856 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16857 wine_fn_config_test dlls/crypt32/tests crypt32_test
16858 wine_fn_config_dll cryptdlg enable_cryptdlg po
16859 wine_fn_config_dll cryptdll enable_cryptdll implib
16860 wine_fn_config_dll cryptnet enable_cryptnet implib
16861 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16862 wine_fn_config_dll cryptui enable_cryptui implib,po
16863 wine_fn_config_test dlls/cryptui/tests cryptui_test
16864 wine_fn_config_dll ctapi32 enable_ctapi32
16865 wine_fn_config_dll ctl3d.dll16 enable_win16
16866 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16867 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16868 wine_fn_config_dll d2d1 enable_d2d1 implib
16869 wine_fn_config_test dlls/d2d1/tests d2d1_test
16870 wine_fn_config_dll d3d10 enable_d3d10 implib
16871 wine_fn_config_test dlls/d3d10/tests d3d10_test
16872 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16873 wine_fn_config_dll d3d10core enable_d3d10core implib
16874 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16875 wine_fn_config_dll d3d11 enable_d3d11
16876 wine_fn_config_dll d3d8 enable_d3d8 implib
16877 wine_fn_config_test dlls/d3d8/tests d3d8_test
16878 wine_fn_config_dll d3d9 enable_d3d9 implib
16879 wine_fn_config_test dlls/d3d9/tests d3d9_test
16880 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16881 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16882 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16883 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16884 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16885 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16886 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16887 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16888 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16889 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16890 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16891 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16892 wine_fn_config_dll d3dim enable_d3dim implib
16893 wine_fn_config_dll d3drm enable_d3drm implib
16894 wine_fn_config_test dlls/d3drm/tests d3drm_test
16895 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16896 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16897 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16898 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16899 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16900 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16901 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16902 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16903 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16904 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16905 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16906 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16907 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16908 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16909 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16910 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16911 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16912 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16913 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16914 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16915 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16916 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16917 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16918 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16919 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16920 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16921 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16922 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16923 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16924 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16925 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16926 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16927 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16928 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16929 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16930 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16931 wine_fn_config_dll dbgeng enable_dbgeng implib
16932 wine_fn_config_dll dbghelp enable_dbghelp implib
16933 wine_fn_config_dll dciman32 enable_dciman32 implib
16934 wine_fn_config_dll ddeml.dll16 enable_win16
16935 wine_fn_config_dll ddraw enable_ddraw clean,implib
16936 wine_fn_config_test dlls/ddraw/tests ddraw_test
16937 wine_fn_config_dll ddrawex enable_ddrawex clean
16938 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16939 wine_fn_config_dll devenum enable_devenum clean,po
16940 wine_fn_config_test dlls/devenum/tests devenum_test
16941 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16942 wine_fn_config_dll difxapi enable_difxapi
16943 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16944 wine_fn_config_test dlls/dinput/tests dinput_test
16945 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16946 wine_fn_config_test dlls/dinput8/tests dinput8_test
16947 wine_fn_config_dll dispdib.dll16 enable_win16
16948 wine_fn_config_dll dispex enable_dispex clean
16949 wine_fn_config_test dlls/dispex/tests dispex_test
16950 wine_fn_config_dll display.drv16 enable_win16
16951 wine_fn_config_dll dmband enable_dmband clean
16952 wine_fn_config_test dlls/dmband/tests dmband_test
16953 wine_fn_config_dll dmcompos enable_dmcompos clean
16954 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16955 wine_fn_config_dll dmime enable_dmime clean
16956 wine_fn_config_test dlls/dmime/tests dmime_test
16957 wine_fn_config_dll dmloader enable_dmloader clean
16958 wine_fn_config_test dlls/dmloader/tests dmloader_test
16959 wine_fn_config_dll dmscript enable_dmscript clean
16960 wine_fn_config_test dlls/dmscript/tests dmscript_test
16961 wine_fn_config_dll dmstyle enable_dmstyle clean
16962 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16963 wine_fn_config_dll dmsynth enable_dmsynth clean
16964 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16965 wine_fn_config_dll dmusic enable_dmusic clean
16966 wine_fn_config_test dlls/dmusic/tests dmusic_test
16967 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16968 wine_fn_config_dll dnsapi enable_dnsapi implib
16969 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16970 wine_fn_config_dll dplay enable_dplay implib
16971 wine_fn_config_dll dplayx enable_dplayx clean,implib
16972 wine_fn_config_test dlls/dplayx/tests dplayx_test
16973 wine_fn_config_dll dpnaddr enable_dpnaddr
16974 wine_fn_config_dll dpnet enable_dpnet clean,implib
16975 wine_fn_config_test dlls/dpnet/tests dpnet_test
16976 wine_fn_config_dll dpnhpast enable_dpnhpast
16977 wine_fn_config_dll dpnlobby enable_dpnlobby
16978 wine_fn_config_dll dpvoice enable_dpvoice clean
16979 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
16980 wine_fn_config_dll dpwsockx enable_dpwsockx
16981 wine_fn_config_dll drmclien enable_drmclien
16982 wine_fn_config_dll dsound enable_dsound clean,implib
16983 wine_fn_config_test dlls/dsound/tests dsound_test
16984 wine_fn_config_dll dssenh enable_dssenh
16985 wine_fn_config_test dlls/dssenh/tests dssenh_test
16986 wine_fn_config_dll dswave enable_dswave clean
16987 wine_fn_config_test dlls/dswave/tests dswave_test
16988 wine_fn_config_dll dwmapi enable_dwmapi implib
16989 wine_fn_config_dll dwrite enable_dwrite implib
16990 wine_fn_config_test dlls/dwrite/tests dwrite_test
16991 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16992 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16993 wine_fn_config_lib dxerr8
16994 wine_fn_config_lib dxerr9
16995 wine_fn_config_dll dxgi enable_dxgi implib
16996 wine_fn_config_test dlls/dxgi/tests dxgi_test
16997 wine_fn_config_lib dxguid
16998 wine_fn_config_dll dxva2 enable_dxva2
16999 wine_fn_config_dll explorerframe enable_explorerframe clean
17000 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17001 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17002 wine_fn_config_dll faultrep enable_faultrep implib
17003 wine_fn_config_test dlls/faultrep/tests faultrep_test
17004 wine_fn_config_dll fltlib enable_fltlib
17005 wine_fn_config_dll fntcache enable_fntcache
17006 wine_fn_config_dll fontsub enable_fontsub
17007 wine_fn_config_dll fusion enable_fusion
17008 wine_fn_config_test dlls/fusion/tests fusion_test
17009 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17010 wine_fn_config_dll gameux enable_gameux clean
17011 wine_fn_config_test dlls/gameux/tests gameux_test
17012 wine_fn_config_dll gdi.exe16 enable_win16
17013 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17014 wine_fn_config_test dlls/gdi32/tests gdi32_test
17015 wine_fn_config_dll gdiplus enable_gdiplus implib
17016 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17017 wine_fn_config_dll glu32 enable_glu32 implib
17018 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17019 wine_fn_config_dll gpkcsp enable_gpkcsp
17020 wine_fn_config_dll hal enable_hal
17021 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17022 wine_fn_config_dll hid enable_hid implib
17023 wine_fn_config_dll hlink enable_hlink clean,implib
17024 wine_fn_config_test dlls/hlink/tests hlink_test
17025 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17026 wine_fn_config_dll httpapi enable_httpapi
17027 wine_fn_config_dll iccvid enable_iccvid po
17028 wine_fn_config_dll icmp enable_icmp
17029 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17030 wine_fn_config_test dlls/ieframe/tests ieframe_test
17031 wine_fn_config_dll ifsmgr.vxd enable_win16
17032 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17033 wine_fn_config_dll imagehlp enable_imagehlp implib
17034 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17035 wine_fn_config_dll imm.dll16 enable_win16
17036 wine_fn_config_dll imm32 enable_imm32 implib
17037 wine_fn_config_test dlls/imm32/tests imm32_test
17038 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17039 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17040 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17041 wine_fn_config_dll inetmib1 enable_inetmib1
17042 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17043 wine_fn_config_dll infosoft enable_infosoft clean
17044 wine_fn_config_test dlls/infosoft/tests infosoft_test
17045 wine_fn_config_dll initpki enable_initpki
17046 wine_fn_config_dll inkobj enable_inkobj
17047 wine_fn_config_dll inseng enable_inseng clean
17048 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17049 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17050 wine_fn_config_dll itircl enable_itircl
17051 wine_fn_config_dll itss enable_itss clean
17052 wine_fn_config_test dlls/itss/tests itss_test
17053 wine_fn_config_dll joy.cpl enable_joy_cpl po
17054 wine_fn_config_dll jscript enable_jscript clean,po
17055 wine_fn_config_test dlls/jscript/tests jscript_test
17056 wine_fn_config_dll jsproxy enable_jsproxy implib
17057 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17058 wine_fn_config_test dlls/kernel32/tests kernel32_test
17059 wine_fn_config_dll keyboard.drv16 enable_win16
17060 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17061 wine_fn_config_dll ksuser enable_ksuser
17062 wine_fn_config_dll ktmw32 enable_ktmw32
17063 wine_fn_config_dll loadperf enable_loadperf implib
17064 wine_fn_config_dll localspl enable_localspl po
17065 wine_fn_config_test dlls/localspl/tests localspl_test
17066 wine_fn_config_dll localui enable_localui po
17067 wine_fn_config_test dlls/localui/tests localui_test
17068 wine_fn_config_dll lz32 enable_lz32 implib
17069 wine_fn_config_test dlls/lz32/tests lz32_test
17070 wine_fn_config_dll lzexpand.dll16 enable_win16
17071 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17072 wine_fn_config_test dlls/mapi32/tests mapi32_test
17073 wine_fn_config_dll mapistub enable_mapistub
17074 wine_fn_config_dll mciavi32 enable_mciavi32
17075 wine_fn_config_dll mcicda enable_mcicda
17076 wine_fn_config_dll mciqtz32 enable_mciqtz32
17077 wine_fn_config_dll mciseq enable_mciseq
17078 wine_fn_config_dll mciwave enable_mciwave
17079 wine_fn_config_dll mgmtapi enable_mgmtapi
17080 wine_fn_config_dll midimap enable_midimap
17081 wine_fn_config_dll mlang enable_mlang clean,implib
17082 wine_fn_config_test dlls/mlang/tests mlang_test
17083 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17084 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17085 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17086 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17087 wine_fn_config_dll mmdevldr.vxd enable_win16
17088 wine_fn_config_dll mmsystem.dll16 enable_win16
17089 wine_fn_config_dll monodebg.vxd enable_win16
17090 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17091 wine_fn_config_dll mouse.drv16 enable_win16
17092 wine_fn_config_dll mpr enable_mpr implib,po
17093 wine_fn_config_test dlls/mpr/tests mpr_test
17094 wine_fn_config_dll mprapi enable_mprapi implib
17095 wine_fn_config_dll msacm.dll16 enable_win16
17096 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17097 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17098 wine_fn_config_test dlls/msacm32/tests msacm32_test
17099 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17100 wine_fn_config_dll msasn1 enable_msasn1 implib
17101 wine_fn_config_dll mscat32 enable_mscat32
17102 wine_fn_config_dll mscms enable_mscms implib
17103 wine_fn_config_test dlls/mscms/tests mscms_test
17104 wine_fn_config_dll mscoree enable_mscoree clean
17105 wine_fn_config_test dlls/mscoree/tests mscoree_test
17106 wine_fn_config_dll msctf enable_msctf clean
17107 wine_fn_config_test dlls/msctf/tests msctf_test
17108 wine_fn_config_dll msdaps enable_msdaps clean
17109 wine_fn_config_dll msdmo enable_msdmo implib
17110 wine_fn_config_dll msftedit enable_msftedit
17111 wine_fn_config_dll msg711.acm enable_msg711_acm
17112 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17113 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17114 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17115 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17116 wine_fn_config_dll msi enable_msi clean,implib,po
17117 wine_fn_config_test dlls/msi/tests msi_test
17118 wine_fn_config_dll msident enable_msident clean
17119 wine_fn_config_dll msimg32 enable_msimg32 implib
17120 wine_fn_config_dll msimsg enable_msimsg
17121 wine_fn_config_dll msimtf enable_msimtf clean
17122 wine_fn_config_dll msisip enable_msisip
17123 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17124 wine_fn_config_dll msls31 enable_msls31
17125 wine_fn_config_dll msnet32 enable_msnet32
17126 wine_fn_config_dll mspatcha enable_mspatcha
17127 wine_fn_config_dll msrle32 enable_msrle32 po
17128 wine_fn_config_test dlls/msrle32/tests msrle32_test
17129 wine_fn_config_dll mssign32 enable_mssign32
17130 wine_fn_config_dll mssip32 enable_mssip32
17131 wine_fn_config_dll mstask enable_mstask clean
17132 wine_fn_config_test dlls/mstask/tests mstask_test
17133 wine_fn_config_dll msvcirt enable_msvcirt
17134 wine_fn_config_dll msvcm80 enable_msvcm80
17135 wine_fn_config_dll msvcm90 enable_msvcm90
17136 wine_fn_config_dll msvcp100 enable_msvcp100
17137 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17138 wine_fn_config_dll msvcp110 enable_msvcp110
17139 wine_fn_config_dll msvcp60 enable_msvcp60
17140 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17141 wine_fn_config_dll msvcp70 enable_msvcp70
17142 wine_fn_config_dll msvcp71 enable_msvcp71
17143 wine_fn_config_dll msvcp80 enable_msvcp80
17144 wine_fn_config_dll msvcp90 enable_msvcp90
17145 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17146 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17147 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17148 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17149 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17150 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17151 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17152 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17153 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17154 wine_fn_config_dll msvcrt enable_msvcrt implib
17155 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17156 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17157 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17158 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17159 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17160 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17161 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17162 wine_fn_config_dll msvidc32 enable_msvidc32 po
17163 wine_fn_config_dll msvideo.dll16 enable_win16
17164 wine_fn_config_dll mswsock enable_mswsock implib
17165 wine_fn_config_dll msxml enable_msxml clean
17166 wine_fn_config_dll msxml2 enable_msxml2 clean
17167 wine_fn_config_dll msxml3 enable_msxml3 clean
17168 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17169 wine_fn_config_dll msxml4 enable_msxml4 clean
17170 wine_fn_config_dll msxml6 enable_msxml6 clean
17171 wine_fn_config_dll nddeapi enable_nddeapi implib
17172 wine_fn_config_dll netapi32 enable_netapi32 implib
17173 wine_fn_config_test dlls/netapi32/tests netapi32_test
17174 wine_fn_config_dll netcfgx enable_netcfgx clean
17175 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17176 wine_fn_config_dll netprofm enable_netprofm clean
17177 wine_fn_config_test dlls/netprofm/tests netprofm_test
17178 wine_fn_config_dll newdev enable_newdev implib
17179 wine_fn_config_dll normaliz enable_normaliz implib
17180 wine_fn_config_dll npmshtml enable_npmshtml
17181 wine_fn_config_dll npptools enable_npptools
17182 wine_fn_config_dll ntdll enable_ntdll implib
17183 wine_fn_config_test dlls/ntdll/tests ntdll_test
17184 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17185 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17186 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17187 wine_fn_config_dll ntprint enable_ntprint
17188 wine_fn_config_test dlls/ntprint/tests ntprint_test
17189 wine_fn_config_dll objsel enable_objsel clean
17190 wine_fn_config_dll odbc32 enable_odbc32 implib
17191 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17192 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17193 wine_fn_config_dll odbccu32 enable_odbccu32
17194 wine_fn_config_dll ole2.dll16 enable_win16
17195 wine_fn_config_dll ole2conv.dll16 enable_win16
17196 wine_fn_config_dll ole2disp.dll16 enable_win16
17197 wine_fn_config_dll ole2nls.dll16 enable_win16
17198 wine_fn_config_dll ole2prox.dll16 enable_win16
17199 wine_fn_config_dll ole2thk.dll16 enable_win16
17200 wine_fn_config_dll ole32 enable_ole32 clean,implib
17201 wine_fn_config_test dlls/ole32/tests ole32_test
17202 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17203 wine_fn_config_test dlls/oleacc/tests oleacc_test
17204 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17205 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17206 wine_fn_config_dll olecli.dll16 enable_win16
17207 wine_fn_config_dll olecli32 enable_olecli32 implib
17208 wine_fn_config_dll oledb32 enable_oledb32 clean
17209 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17210 wine_fn_config_dll oledlg enable_oledlg implib,po
17211 wine_fn_config_dll olepro32 enable_olepro32 implib
17212 wine_fn_config_dll olesvr.dll16 enable_win16
17213 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17214 wine_fn_config_dll olethk32 enable_olethk32
17215 wine_fn_config_dll openal32 enable_openal32
17216 wine_fn_config_dll opencl enable_opencl
17217 wine_fn_config_dll opengl32 enable_opengl32 implib
17218 wine_fn_config_test dlls/opengl32/tests opengl32_test
17219 wine_fn_config_dll packager enable_packager clean
17220 wine_fn_config_test dlls/packager/tests packager_test
17221 wine_fn_config_dll pdh enable_pdh implib
17222 wine_fn_config_test dlls/pdh/tests pdh_test
17223 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17224 wine_fn_config_dll pidgen enable_pidgen
17225 wine_fn_config_dll powrprof enable_powrprof implib
17226 wine_fn_config_dll printui enable_printui
17227 wine_fn_config_dll propsys enable_propsys clean,implib
17228 wine_fn_config_test dlls/propsys/tests propsys_test
17229 wine_fn_config_dll psapi enable_psapi implib
17230 wine_fn_config_test dlls/psapi/tests psapi_test
17231 wine_fn_config_dll pstorec enable_pstorec clean
17232 wine_fn_config_dll qcap enable_qcap
17233 wine_fn_config_test dlls/qcap/tests qcap_test
17234 wine_fn_config_dll qedit enable_qedit clean
17235 wine_fn_config_test dlls/qedit/tests qedit_test
17236 wine_fn_config_dll qmgr enable_qmgr clean
17237 wine_fn_config_test dlls/qmgr/tests qmgr_test
17238 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17239 wine_fn_config_dll quartz enable_quartz clean,implib
17240 wine_fn_config_test dlls/quartz/tests quartz_test clean
17241 wine_fn_config_dll query enable_query
17242 wine_fn_config_dll rasapi16.dll16 enable_win16
17243 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17244 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17245 wine_fn_config_dll rasdlg enable_rasdlg implib
17246 wine_fn_config_dll regapi enable_regapi
17247 wine_fn_config_dll resutils enable_resutils implib
17248 wine_fn_config_dll riched20 enable_riched20 implib
17249 wine_fn_config_test dlls/riched20/tests riched20_test
17250 wine_fn_config_dll riched32 enable_riched32
17251 wine_fn_config_test dlls/riched32/tests riched32_test
17252 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17253 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17254 wine_fn_config_dll rsabase enable_rsabase
17255 wine_fn_config_dll rsaenh enable_rsaenh implib
17256 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17257 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17258 wine_fn_config_dll rtutils enable_rtutils implib
17259 wine_fn_config_dll samlib enable_samlib
17260 wine_fn_config_dll sane.ds enable_sane_ds po
17261 wine_fn_config_dll scarddlg enable_scarddlg
17262 wine_fn_config_dll sccbase enable_sccbase
17263 wine_fn_config_dll schannel enable_schannel
17264 wine_fn_config_test dlls/schannel/tests schannel_test
17265 wine_fn_config_dll schedsvc enable_schedsvc clean
17266 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17267 wine_fn_config_dll scrrun enable_scrrun clean
17268 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17269 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17270 wine_fn_config_dll secur32 enable_secur32 implib
17271 wine_fn_config_test dlls/secur32/tests secur32_test
17272 wine_fn_config_dll security enable_security
17273 wine_fn_config_dll sensapi enable_sensapi implib
17274 wine_fn_config_dll serialui enable_serialui implib,po
17275 wine_fn_config_test dlls/serialui/tests serialui_test
17276 wine_fn_config_dll setupapi enable_setupapi implib,po
17277 wine_fn_config_test dlls/setupapi/tests setupapi_test
17278 wine_fn_config_dll setupx.dll16 enable_win16
17279 wine_fn_config_dll sfc enable_sfc implib
17280 wine_fn_config_dll sfc_os enable_sfc_os implib
17281 wine_fn_config_dll shdoclc enable_shdoclc po
17282 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17283 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17284 wine_fn_config_dll shell.dll16 enable_win16
17285 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17286 wine_fn_config_test dlls/shell32/tests shell32_test
17287 wine_fn_config_dll shfolder enable_shfolder implib
17288 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17289 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17290 wine_fn_config_dll slbcsp enable_slbcsp
17291 wine_fn_config_dll slc enable_slc implib
17292 wine_fn_config_dll snmpapi enable_snmpapi implib
17293 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17294 wine_fn_config_dll softpub enable_softpub
17295 wine_fn_config_dll sound.drv16 enable_win16
17296 wine_fn_config_dll spoolss enable_spoolss implib
17297 wine_fn_config_test dlls/spoolss/tests spoolss_test
17298 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17299 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17300 wine_fn_config_dll sti enable_sti clean,implib
17301 wine_fn_config_test dlls/sti/tests sti_test
17302 wine_fn_config_dll storage.dll16 enable_win16
17303 wine_fn_config_dll stress.dll16 enable_win16
17304 wine_fn_config_lib strmbase
17305 wine_fn_config_lib strmiids
17306 wine_fn_config_dll svrapi enable_svrapi
17307 wine_fn_config_dll sxs enable_sxs implib
17308 wine_fn_config_test dlls/sxs/tests sxs_test
17309 wine_fn_config_dll system.drv16 enable_win16
17310 wine_fn_config_dll t2embed enable_t2embed
17311 wine_fn_config_dll tapi32 enable_tapi32 implib
17312 wine_fn_config_dll taskschd enable_taskschd clean
17313 wine_fn_config_test dlls/taskschd/tests taskschd_test
17314 wine_fn_config_dll toolhelp.dll16 enable_win16
17315 wine_fn_config_dll traffic enable_traffic
17316 wine_fn_config_dll twain.dll16 enable_win16
17317 wine_fn_config_dll twain_32 enable_twain_32
17318 wine_fn_config_test dlls/twain_32/tests twain_32_test
17319 wine_fn_config_dll typelib.dll16 enable_win16
17320 wine_fn_config_dll unicows enable_unicows implib
17321 wine_fn_config_dll updspapi enable_updspapi
17322 wine_fn_config_dll url enable_url implib
17323 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17324 wine_fn_config_test dlls/urlmon/tests urlmon_test
17325 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17326 wine_fn_config_dll user.exe16 enable_win16
17327 wine_fn_config_dll user32 enable_user32 clean,implib,po
17328 wine_fn_config_test dlls/user32/tests user32_test
17329 wine_fn_config_dll userenv enable_userenv implib
17330 wine_fn_config_test dlls/userenv/tests userenv_test
17331 wine_fn_config_dll usp10 enable_usp10 implib
17332 wine_fn_config_test dlls/usp10/tests usp10_test
17333 wine_fn_config_lib uuid
17334 wine_fn_config_dll uxtheme enable_uxtheme implib
17335 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17336 wine_fn_config_dll vbscript enable_vbscript clean
17337 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17338 wine_fn_config_dll vcomp enable_vcomp
17339 wine_fn_config_dll vcomp100 enable_vcomp100
17340 wine_fn_config_dll vcomp90 enable_vcomp90
17341 wine_fn_config_dll vdhcp.vxd enable_win16
17342 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17343 wine_fn_config_dll ver.dll16 enable_win16
17344 wine_fn_config_dll version enable_version implib
17345 wine_fn_config_test dlls/version/tests version_test
17346 wine_fn_config_dll vmm.vxd enable_win16
17347 wine_fn_config_dll vnbt.vxd enable_win16
17348 wine_fn_config_dll vnetbios.vxd enable_win16
17349 wine_fn_config_dll vtdapi.vxd enable_win16
17350 wine_fn_config_dll vwin32.vxd enable_win16
17351 wine_fn_config_dll w32skrnl enable_win16
17352 wine_fn_config_dll w32sys.dll16 enable_win16
17353 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17354 wine_fn_config_dll wbemprox enable_wbemprox clean
17355 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17356 wine_fn_config_dll webservices enable_webservices implib
17357 wine_fn_config_dll wer enable_wer implib
17358 wine_fn_config_test dlls/wer/tests wer_test
17359 wine_fn_config_dll wevtapi enable_wevtapi
17360 wine_fn_config_dll wiaservc enable_wiaservc clean
17361 wine_fn_config_dll win32s16.dll16 enable_win16
17362 wine_fn_config_dll win87em.dll16 enable_win16
17363 wine_fn_config_dll winaspi.dll16 enable_win16
17364 wine_fn_config_dll windebug.dll16 enable_win16
17365 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17366 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17367 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17368 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17369 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17370 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17371 wine_fn_config_lib winecrt0
17372 wine_fn_config_dll wined3d enable_wined3d implib
17373 wine_fn_config_dll winegstreamer enable_winegstreamer
17374 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17375 wine_fn_config_dll winemac.drv enable_winemac_drv
17376 wine_fn_config_dll winemapi enable_winemapi
17377 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17378 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17379 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17380 wine_fn_config_dll wineps16.drv16 enable_win16
17381 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17382 wine_fn_config_dll winex11.drv enable_winex11_drv
17383 wine_fn_config_dll wing.dll16 enable_win16
17384 wine_fn_config_dll wing32 enable_wing32
17385 wine_fn_config_dll winhttp enable_winhttp clean,implib
17386 wine_fn_config_test dlls/winhttp/tests winhttp_test
17387 wine_fn_config_dll wininet enable_wininet implib,po
17388 wine_fn_config_test dlls/wininet/tests wininet_test
17389 wine_fn_config_dll winmm enable_winmm implib,po
17390 wine_fn_config_test dlls/winmm/tests winmm_test
17391 wine_fn_config_dll winnls.dll16 enable_win16
17392 wine_fn_config_dll winnls32 enable_winnls32 implib
17393 wine_fn_config_dll winscard enable_winscard implib
17394 wine_fn_config_dll winsock.dll16 enable_win16
17395 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17396 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17397 wine_fn_config_dll winsta enable_winsta
17398 wine_fn_config_dll wintab.dll16 enable_win16
17399 wine_fn_config_dll wintab32 enable_wintab32 implib
17400 wine_fn_config_test dlls/wintab32/tests wintab32_test
17401 wine_fn_config_dll wintrust enable_wintrust implib
17402 wine_fn_config_test dlls/wintrust/tests wintrust_test
17403 wine_fn_config_dll wlanapi enable_wlanapi
17404 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17405 wine_fn_config_test dlls/wldap32/tests wldap32_test
17406 wine_fn_config_dll wmi enable_wmi
17407 wine_fn_config_dll wmiutils enable_wmiutils clean
17408 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17409 wine_fn_config_dll wmp enable_wmp clean
17410 wine_fn_config_test dlls/wmp/tests wmp_test
17411 wine_fn_config_dll wmvcore enable_wmvcore
17412 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17413 wine_fn_config_dll wow32 enable_win16 implib
17414 wine_fn_config_dll wpcap enable_wpcap
17415 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17416 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17417 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17418 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17419 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17420 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17421 wine_fn_config_dll wsock32 enable_wsock32 implib
17422 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17423 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17424 wine_fn_config_dll wuapi enable_wuapi clean
17425 wine_fn_config_dll wuaueng enable_wuaueng
17426 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17427 wine_fn_config_dll xinput1_1 enable_xinput1_1
17428 wine_fn_config_dll xinput1_2 enable_xinput1_2
17429 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17430 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17431 wine_fn_config_dll xinput1_4 enable_xinput1_4
17432 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17433 wine_fn_config_dll xmllite enable_xmllite implib
17434 wine_fn_config_test dlls/xmllite/tests xmllite_test
17435 wine_fn_config_dll xolehlp enable_xolehlp
17436 wine_fn_config_dll xpsprint enable_xpsprint
17437 wine_fn_config_dll xpssvcs enable_xpssvcs
17438 wine_fn_config_makefile documentation enable_documentation clean
17439 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17440 wine_fn_config_makefile include enable_include clean,install-dev
17441 wine_fn_config_makefile libs/port enable_libs_port
17442 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17443 wine_fn_config_makefile libs/wpp enable_libs_wpp
17444 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17445 wine_fn_config_program arp enable_arp install
17446 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17447 wine_fn_config_program attrib enable_attrib install,po
17448 wine_fn_config_program cabarc enable_cabarc install
17449 wine_fn_config_program cacls enable_cacls install
17450 wine_fn_config_program clock enable_clock install,po
17451 wine_fn_config_program cmd enable_cmd install,po
17452 wine_fn_config_test programs/cmd/tests cmd.exe_test
17453 wine_fn_config_program conhost enable_conhost install
17454 wine_fn_config_program control enable_control install
17455 wine_fn_config_program cscript enable_cscript clean,install
17456 wine_fn_config_program dpnsvr enable_dpnsvr install
17457 wine_fn_config_program dxdiag enable_dxdiag install,po
17458 wine_fn_config_program eject enable_eject install
17459 wine_fn_config_program expand enable_expand install
17460 wine_fn_config_program explorer enable_explorer install,po
17461 wine_fn_config_program extrac32 enable_extrac32 install
17462 wine_fn_config_program findstr enable_findstr install
17463 wine_fn_config_program hh enable_hh install
17464 wine_fn_config_program hostname enable_hostname install,po
17465 wine_fn_config_program icinfo enable_icinfo install
17466 wine_fn_config_program iexplore enable_iexplore install
17467 wine_fn_config_program ipconfig enable_ipconfig install,po
17468 wine_fn_config_program lodctr enable_lodctr install
17469 wine_fn_config_program mofcomp enable_mofcomp install
17470 wine_fn_config_program mshta enable_mshta install
17471 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17472 wine_fn_config_program net enable_net install,po
17473 wine_fn_config_program netsh enable_netsh install
17474 wine_fn_config_program netstat enable_netstat install,po
17475 wine_fn_config_program ngen enable_ngen install
17476 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17477 wine_fn_config_program oleview enable_oleview install,po
17478 wine_fn_config_program ping enable_ping install
17479 wine_fn_config_program plugplay enable_plugplay install
17480 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17481 wine_fn_config_program progman enable_progman install,po
17482 wine_fn_config_program reg enable_reg install,po
17483 wine_fn_config_test programs/reg/tests reg.exe_test
17484 wine_fn_config_program regasm enable_regasm install
17485 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17486 wine_fn_config_test programs/regedit/tests regedit.exe_test
17487 wine_fn_config_program regsvcs enable_regsvcs install
17488 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17489 wine_fn_config_program rpcss enable_rpcss clean,install
17490 wine_fn_config_program rundll.exe16 enable_win16 install
17491 wine_fn_config_program rundll32 enable_rundll32 install
17492 wine_fn_config_program sc enable_sc install
17493 wine_fn_config_program schtasks enable_schtasks install
17494 wine_fn_config_program sdbinst enable_sdbinst install
17495 wine_fn_config_program secedit enable_secedit install
17496 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17497 wine_fn_config_program services enable_services clean,install
17498 wine_fn_config_test programs/services/tests services.exe_test
17499 wine_fn_config_program spoolsv enable_spoolsv install
17500 wine_fn_config_program start enable_start install,po
17501 wine_fn_config_program svchost enable_svchost install
17502 wine_fn_config_program systeminfo enable_systeminfo install
17503 wine_fn_config_program taskkill enable_taskkill install,po
17504 wine_fn_config_program tasklist enable_tasklist install
17505 wine_fn_config_program taskmgr enable_taskmgr install,po
17506 wine_fn_config_program termsv enable_termsv install
17507 wine_fn_config_program uninstaller enable_uninstaller install,po
17508 wine_fn_config_program unlodctr enable_unlodctr install
17509 wine_fn_config_program view enable_view install,po
17510 wine_fn_config_program wevtutil enable_wevtutil install
17511 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17512 wine_fn_config_program winebrowser enable_winebrowser install
17513 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17514 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17515 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17516 wine_fn_config_program winedevice enable_winedevice install
17517 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17518 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17519 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17520 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17521 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17522 wine_fn_config_program winetest enable_winetest clean
17523 wine_fn_config_program winevdm enable_win16 install
17524 wine_fn_config_program winhelp.exe16 enable_win16 install
17525 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17526 wine_fn_config_program winoldap.mod16 enable_win16 install
17527 wine_fn_config_program winver enable_winver install
17528 wine_fn_config_program wmic enable_wmic install,po
17529 wine_fn_config_program wordpad enable_wordpad install,po
17530 wine_fn_config_program write enable_write install,po
17531 wine_fn_config_program wscript enable_wscript clean,install
17532 wine_fn_config_test programs/wscript/tests wscript.exe_test
17533 wine_fn_config_program wusa enable_wusa install
17534 wine_fn_config_program xcopy enable_xcopy install,po
17535 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17536 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17537 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17538 wine_fn_config_tool tools/sfnt2fon clean
17539 wine_fn_config_tool tools/widl clean,install-dev,manpage
17540 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17541 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17542 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17543 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17544 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17546 LINGUAS="\
17547 ar \
17548 bg \
17549 ca \
17550 cs \
17551 da \
17552 de \
17553 el \
17554 en \
17555 en_US \
17556 eo \
17557 es \
17558 fa \
17559 fi \
17560 fr \
17561 he \
17562 hi \
17563 hr \
17564 hu \
17565 it \
17566 ja \
17567 ko \
17568 lt \
17569 ml \
17570 nb_NO \
17571 nl \
17572 or \
17573 pa \
17574 pl \
17575 pt_BR \
17576 pt_PT \
17577 rm \
17578 ro \
17579 ru \
17580 sk \
17581 sl \
17582 sr_RS@cyrillic \
17583 sr_RS@latin \
17584 sv \
17585 te \
17586 th \
17587 tr \
17588 uk \
17589 wa \
17590 zh_CN \
17591 zh_TW"
17596 wine_fn_ignore_file ".gitignore"
17597 wine_fn_ignore_file "Makefile"
17598 wine_fn_ignore_file "TAGS"
17599 wine_fn_ignore_file "tags"
17600 wine_fn_ignore_file "autom4te.cache"
17601 wine_fn_ignore_file "config.cache"
17602 wine_fn_ignore_file "config.log"
17603 wine_fn_ignore_file "config.status"
17604 wine_fn_ignore_file "configure.lineno"
17605 wine_fn_ignore_file "include/config.h"
17606 wine_fn_ignore_file "include/stamp-h"
17607 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17609 if test "x$enable_tools" != xno
17610 then
17611 wine_fn_ignore_file "tools/makedep$ac_exeext"
17612 ac_config_commands="$ac_config_commands tools/makedep"
17616 ac_config_commands="$ac_config_commands Makefile"
17619 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17623 if test "x$enable_maintainer_mode" = xyes
17624 then
17625 wine_fn_append_rule "configure: configure.ac aclocal.m4
17626 autoconf --warnings=all
17627 include/config.h.in: include/stamp-h.in
17628 include/stamp-h.in: configure.ac aclocal.m4
17629 autoheader --warnings=all
17630 @echo timestamp > \$@"
17633 if test "x$with_gettextpo" = xyes
17634 then
17635 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17636 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17637 \$(LINGUAS:%=po/%.po): po/wine.pot
17638 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17639 po/wine.pot: \$(ALL_POT_FILES)
17640 msgcat -o \$@ \$(ALL_POT_FILES)"
17643 if test "$MSGFMT" != false
17644 then
17645 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17646 clean::
17647 \$(RM) \$(LINGUAS:%=po/%.mo)"
17649 posrc="po"
17650 test "$srcdir" = . || posrc="$srcdir/po"
17651 for i in $LINGUAS
17653 wine_fn_ignore_file "po/$i.mo"
17654 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17655 \$(MSGFMT) -o \$@ $posrc/$i.po"
17656 done
17657 else
17658 LINGUAS=
17661 if test "x$enable_tools" != xno
17662 then
17663 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17664 @./config.status tools/makedep
17665 Makefile: tools/makedep$ac_exeext
17666 distclean:: clean
17667 \$(RM) tools/makedep$ac_exeext"
17668 else
17669 wine_fn_append_rule "\$(MAKEDEP):
17670 @echo \"You need to run make in $TOOLSDIR first\" && false"
17673 if test -n "$with_wine64"
17674 then
17675 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17676 fonts server tools:
17677 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17678 $with_wine64/loader/wine:
17679 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17680 $with_wine64/loader/wine-preloader:
17681 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17682 clean::
17683 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17684 else
17685 as_fn_append LOADER_RULES "
17686 install install-lib:: wine.inf install-man-pages
17687 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17688 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17690 uninstall::
17691 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17695 if test "$srcdir" = .
17696 then
17697 ac_config_commands="$ac_config_commands .gitignore"
17701 $as_echo " done" >&6
17702 cat >confcache <<\_ACEOF
17703 # This file is a shell script that caches the results of configure
17704 # tests run on this system so they can be shared between configure
17705 # scripts and configure runs, see configure's option --config-cache.
17706 # It is not useful on other systems. If it contains results you don't
17707 # want to keep, you may remove or edit it.
17709 # config.status only pays attention to the cache file if you give it
17710 # the --recheck option to rerun configure.
17712 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17713 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17714 # following values.
17716 _ACEOF
17718 # The following way of writing the cache mishandles newlines in values,
17719 # but we know of no workaround that is simple, portable, and efficient.
17720 # So, we kill variables containing newlines.
17721 # Ultrix sh set writes to stderr and can't be redirected directly,
17722 # and sets the high bit in the cache file unless we assign to the vars.
17724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17725 eval ac_val=\$$ac_var
17726 case $ac_val in #(
17727 *${as_nl}*)
17728 case $ac_var in #(
17729 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17730 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17731 esac
17732 case $ac_var in #(
17733 _ | IFS | as_nl) ;; #(
17734 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17735 *) { eval $ac_var=; unset $ac_var;} ;;
17736 esac ;;
17737 esac
17738 done
17740 (set) 2>&1 |
17741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17742 *${as_nl}ac_space=\ *)
17743 # `set' does not quote correctly, so add quotes: double-quote
17744 # substitution turns \\\\ into \\, and sed turns \\ into \.
17745 sed -n \
17746 "s/'/'\\\\''/g;
17747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17748 ;; #(
17750 # `set' quotes correctly as required by POSIX, so do not add quotes.
17751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17753 esac |
17754 sort
17756 sed '
17757 /^ac_cv_env_/b end
17758 t clear
17759 :clear
17760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17761 t end
17762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17763 :end' >>confcache
17764 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17765 if test -w "$cache_file"; then
17766 if test "x$cache_file" != "x/dev/null"; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17768 $as_echo "$as_me: updating cache $cache_file" >&6;}
17769 if test ! -f "$cache_file" || test -h "$cache_file"; then
17770 cat confcache >"$cache_file"
17771 else
17772 case $cache_file in #(
17773 */* | ?:*)
17774 mv -f confcache "$cache_file"$$ &&
17775 mv -f "$cache_file"$$ "$cache_file" ;; #(
17777 mv -f confcache "$cache_file" ;;
17778 esac
17781 else
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17783 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17786 rm -f confcache
17788 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17789 # Let make expand exec_prefix.
17790 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17792 DEFS=-DHAVE_CONFIG_H
17794 ac_libobjs=
17795 ac_ltlibobjs=
17797 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17798 # 1. Remove the extension, and $U if already installed.
17799 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17800 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17802 # will be set to the directory where LIBOBJS objects are built.
17803 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17804 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17805 done
17806 LIBOBJS=$ac_libobjs
17808 LTLIBOBJS=$ac_ltlibobjs
17812 : "${CONFIG_STATUS=./config.status}"
17813 ac_write_fail=0
17814 ac_clean_files_save=$ac_clean_files
17815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17818 as_write_fail=0
17819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17820 #! $SHELL
17821 # Generated by $as_me.
17822 # Run this file to recreate the current configuration.
17823 # Compiler output produced by configure, useful for debugging
17824 # configure, is in config.log if it exists.
17826 debug=false
17827 ac_cs_recheck=false
17828 ac_cs_silent=false
17830 SHELL=\${CONFIG_SHELL-$SHELL}
17831 export SHELL
17832 _ASEOF
17833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17834 ## -------------------- ##
17835 ## M4sh Initialization. ##
17836 ## -------------------- ##
17838 # Be more Bourne compatible
17839 DUALCASE=1; export DUALCASE # for MKS sh
17840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17841 emulate sh
17842 NULLCMD=:
17843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17844 # is contrary to our usage. Disable this feature.
17845 alias -g '${1+"$@"}'='"$@"'
17846 setopt NO_GLOB_SUBST
17847 else
17848 case `(set -o) 2>/dev/null` in #(
17849 *posix*) :
17850 set -o posix ;; #(
17851 *) :
17853 esac
17857 as_nl='
17859 export as_nl
17860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17861 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17864 # Prefer a ksh shell builtin over an external printf program on Solaris,
17865 # but without wasting forks for bash or zsh.
17866 if test -z "$BASH_VERSION$ZSH_VERSION" \
17867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17868 as_echo='print -r --'
17869 as_echo_n='print -rn --'
17870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17871 as_echo='printf %s\n'
17872 as_echo_n='printf %s'
17873 else
17874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17875 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17876 as_echo_n='/usr/ucb/echo -n'
17877 else
17878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17879 as_echo_n_body='eval
17880 arg=$1;
17881 case $arg in #(
17882 *"$as_nl"*)
17883 expr "X$arg" : "X\\(.*\\)$as_nl";
17884 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17885 esac;
17886 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17888 export as_echo_n_body
17889 as_echo_n='sh -c $as_echo_n_body as_echo'
17891 export as_echo_body
17892 as_echo='sh -c $as_echo_body as_echo'
17895 # The user is always right.
17896 if test "${PATH_SEPARATOR+set}" != set; then
17897 PATH_SEPARATOR=:
17898 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17899 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17900 PATH_SEPARATOR=';'
17905 # IFS
17906 # We need space, tab and new line, in precisely that order. Quoting is
17907 # there to prevent editors from complaining about space-tab.
17908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17909 # splitting by setting IFS to empty value.)
17910 IFS=" "" $as_nl"
17912 # Find who we are. Look in the path if we contain no directory separator.
17913 as_myself=
17914 case $0 in #((
17915 *[\\/]* ) as_myself=$0 ;;
17916 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17917 for as_dir in $PATH
17919 IFS=$as_save_IFS
17920 test -z "$as_dir" && as_dir=.
17921 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17922 done
17923 IFS=$as_save_IFS
17926 esac
17927 # We did not find ourselves, most probably we were run as `sh COMMAND'
17928 # in which case we are not to be found in the path.
17929 if test "x$as_myself" = x; then
17930 as_myself=$0
17932 if test ! -f "$as_myself"; then
17933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17934 exit 1
17937 # Unset variables that we do not need and which cause bugs (e.g. in
17938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17939 # suppresses any "Segmentation fault" message there. '((' could
17940 # trigger a bug in pdksh 5.2.14.
17941 for as_var in BASH_ENV ENV MAIL MAILPATH
17942 do eval test x\${$as_var+set} = xset \
17943 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17944 done
17945 PS1='$ '
17946 PS2='> '
17947 PS4='+ '
17949 # NLS nuisances.
17950 LC_ALL=C
17951 export LC_ALL
17952 LANGUAGE=C
17953 export LANGUAGE
17955 # CDPATH.
17956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17959 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17960 # ----------------------------------------
17961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17963 # script with STATUS, using 1 if that was 0.
17964 as_fn_error ()
17966 as_status=$1; test $as_status -eq 0 && as_status=1
17967 if test "$4"; then
17968 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17971 $as_echo "$as_me: error: $2" >&2
17972 as_fn_exit $as_status
17973 } # as_fn_error
17976 # as_fn_set_status STATUS
17977 # -----------------------
17978 # Set $? to STATUS, without forking.
17979 as_fn_set_status ()
17981 return $1
17982 } # as_fn_set_status
17984 # as_fn_exit STATUS
17985 # -----------------
17986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17987 as_fn_exit ()
17989 set +e
17990 as_fn_set_status $1
17991 exit $1
17992 } # as_fn_exit
17994 # as_fn_unset VAR
17995 # ---------------
17996 # Portably unset VAR.
17997 as_fn_unset ()
17999 { eval $1=; unset $1;}
18001 as_unset=as_fn_unset
18002 # as_fn_append VAR VALUE
18003 # ----------------------
18004 # Append the text in VALUE to the end of the definition contained in VAR. Take
18005 # advantage of any shell optimizations that allow amortized linear growth over
18006 # repeated appends, instead of the typical quadratic growth present in naive
18007 # implementations.
18008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18009 eval 'as_fn_append ()
18011 eval $1+=\$2
18013 else
18014 as_fn_append ()
18016 eval $1=\$$1\$2
18018 fi # as_fn_append
18020 # as_fn_arith ARG...
18021 # ------------------
18022 # Perform arithmetic evaluation on the ARGs, and store the result in the
18023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18024 # must be portable across $(()) and expr.
18025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18026 eval 'as_fn_arith ()
18028 as_val=$(( $* ))
18030 else
18031 as_fn_arith ()
18033 as_val=`expr "$@" || test $? -eq 1`
18035 fi # as_fn_arith
18038 if expr a : '\(a\)' >/dev/null 2>&1 &&
18039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18040 as_expr=expr
18041 else
18042 as_expr=false
18045 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18046 as_basename=basename
18047 else
18048 as_basename=false
18051 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18052 as_dirname=dirname
18053 else
18054 as_dirname=false
18057 as_me=`$as_basename -- "$0" ||
18058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18059 X"$0" : 'X\(//\)$' \| \
18060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18061 $as_echo X/"$0" |
18062 sed '/^.*\/\([^/][^/]*\)\/*$/{
18063 s//\1/
18066 /^X\/\(\/\/\)$/{
18067 s//\1/
18070 /^X\/\(\/\).*/{
18071 s//\1/
18074 s/.*/./; q'`
18076 # Avoid depending upon Character Ranges.
18077 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18078 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18079 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18080 as_cr_digits='0123456789'
18081 as_cr_alnum=$as_cr_Letters$as_cr_digits
18083 ECHO_C= ECHO_N= ECHO_T=
18084 case `echo -n x` in #(((((
18085 -n*)
18086 case `echo 'xy\c'` in
18087 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18088 xy) ECHO_C='\c';;
18089 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18090 ECHO_T=' ';;
18091 esac;;
18093 ECHO_N='-n';;
18094 esac
18096 rm -f conf$$ conf$$.exe conf$$.file
18097 if test -d conf$$.dir; then
18098 rm -f conf$$.dir/conf$$.file
18099 else
18100 rm -f conf$$.dir
18101 mkdir conf$$.dir 2>/dev/null
18103 if (echo >conf$$.file) 2>/dev/null; then
18104 if ln -s conf$$.file conf$$ 2>/dev/null; then
18105 as_ln_s='ln -s'
18106 # ... but there are two gotchas:
18107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18109 # In both cases, we have to default to `cp -pR'.
18110 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18111 as_ln_s='cp -pR'
18112 elif ln conf$$.file conf$$ 2>/dev/null; then
18113 as_ln_s=ln
18114 else
18115 as_ln_s='cp -pR'
18117 else
18118 as_ln_s='cp -pR'
18120 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18121 rmdir conf$$.dir 2>/dev/null
18124 # as_fn_mkdir_p
18125 # -------------
18126 # Create "$as_dir" as a directory, including parents if necessary.
18127 as_fn_mkdir_p ()
18130 case $as_dir in #(
18131 -*) as_dir=./$as_dir;;
18132 esac
18133 test -d "$as_dir" || eval $as_mkdir_p || {
18134 as_dirs=
18135 while :; do
18136 case $as_dir in #(
18137 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18138 *) as_qdir=$as_dir;;
18139 esac
18140 as_dirs="'$as_qdir' $as_dirs"
18141 as_dir=`$as_dirname -- "$as_dir" ||
18142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18143 X"$as_dir" : 'X\(//\)[^/]' \| \
18144 X"$as_dir" : 'X\(//\)$' \| \
18145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18146 $as_echo X"$as_dir" |
18147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18148 s//\1/
18151 /^X\(\/\/\)[^/].*/{
18152 s//\1/
18155 /^X\(\/\/\)$/{
18156 s//\1/
18159 /^X\(\/\).*/{
18160 s//\1/
18163 s/.*/./; q'`
18164 test -d "$as_dir" && break
18165 done
18166 test -z "$as_dirs" || eval "mkdir $as_dirs"
18167 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18170 } # as_fn_mkdir_p
18171 if mkdir -p . 2>/dev/null; then
18172 as_mkdir_p='mkdir -p "$as_dir"'
18173 else
18174 test -d ./-p && rmdir ./-p
18175 as_mkdir_p=false
18179 # as_fn_executable_p FILE
18180 # -----------------------
18181 # Test if FILE is an executable regular file.
18182 as_fn_executable_p ()
18184 test -f "$1" && test -x "$1"
18185 } # as_fn_executable_p
18186 as_test_x='test -x'
18187 as_executable_p=as_fn_executable_p
18189 # Sed expression to map a string onto a valid CPP name.
18190 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18192 # Sed expression to map a string onto a valid variable name.
18193 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18196 exec 6>&1
18197 ## ----------------------------------- ##
18198 ## Main body of $CONFIG_STATUS script. ##
18199 ## ----------------------------------- ##
18200 _ASEOF
18201 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18204 # Save the log message, to keep $0 and so on meaningful, and to
18205 # report actual input values of CONFIG_FILES etc. instead of their
18206 # values after options handling.
18207 ac_log="
18208 This file was extended by Wine $as_me 1.7.29, which was
18209 generated by GNU Autoconf 2.69. Invocation command line was
18211 CONFIG_FILES = $CONFIG_FILES
18212 CONFIG_HEADERS = $CONFIG_HEADERS
18213 CONFIG_LINKS = $CONFIG_LINKS
18214 CONFIG_COMMANDS = $CONFIG_COMMANDS
18215 $ $0 $@
18217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18220 _ACEOF
18222 case $ac_config_files in *"
18223 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18224 esac
18226 case $ac_config_headers in *"
18227 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18228 esac
18231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18232 # Files that config.status was made for.
18233 config_files="$ac_config_files"
18234 config_headers="$ac_config_headers"
18235 config_links="$ac_config_links"
18236 config_commands="$ac_config_commands"
18238 _ACEOF
18240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18241 ac_cs_usage="\
18242 \`$as_me' instantiates files and other configuration actions
18243 from templates according to the current configuration. Unless the files
18244 and actions are specified as TAGs, all are instantiated by default.
18246 Usage: $0 [OPTION]... [TAG]...
18248 -h, --help print this help, then exit
18249 -V, --version print version number and configuration settings, then exit
18250 --config print configuration, then exit
18251 -q, --quiet, --silent
18252 do not print progress messages
18253 -d, --debug don't remove temporary files
18254 --recheck update $as_me by reconfiguring in the same conditions
18255 --file=FILE[:TEMPLATE]
18256 instantiate the configuration file FILE
18257 --header=FILE[:TEMPLATE]
18258 instantiate the configuration header FILE
18260 Configuration files:
18261 $config_files
18263 Configuration headers:
18264 $config_headers
18266 Configuration links:
18267 $config_links
18269 Configuration commands:
18270 $config_commands
18272 Report bugs to <wine-devel@winehq.org>.
18273 Wine home page: <http://www.winehq.org>."
18275 _ACEOF
18276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18278 ac_cs_version="\\
18279 Wine config.status 1.7.29
18280 configured by $0, generated by GNU Autoconf 2.69,
18281 with options \\"\$ac_cs_config\\"
18283 Copyright (C) 2012 Free Software Foundation, Inc.
18284 This config.status script is free software; the Free Software Foundation
18285 gives unlimited permission to copy, distribute and modify it."
18287 ac_pwd='$ac_pwd'
18288 srcdir='$srcdir'
18289 test -n "\$AWK" || AWK=awk
18290 _ACEOF
18292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18293 # The default lists apply if the user does not specify any file.
18294 ac_need_defaults=:
18295 while test $# != 0
18297 case $1 in
18298 --*=?*)
18299 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18300 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18301 ac_shift=:
18303 --*=)
18304 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18305 ac_optarg=
18306 ac_shift=:
18309 ac_option=$1
18310 ac_optarg=$2
18311 ac_shift=shift
18313 esac
18315 case $ac_option in
18316 # Handling of the options.
18317 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18318 ac_cs_recheck=: ;;
18319 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18320 $as_echo "$ac_cs_version"; exit ;;
18321 --config | --confi | --conf | --con | --co | --c )
18322 $as_echo "$ac_cs_config"; exit ;;
18323 --debug | --debu | --deb | --de | --d | -d )
18324 debug=: ;;
18325 --file | --fil | --fi | --f )
18326 $ac_shift
18327 case $ac_optarg in
18328 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18329 '') as_fn_error $? "missing file argument" ;;
18330 esac
18331 as_fn_append CONFIG_FILES " '$ac_optarg'"
18332 ac_need_defaults=false;;
18333 --header | --heade | --head | --hea )
18334 $ac_shift
18335 case $ac_optarg in
18336 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18337 esac
18338 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18339 ac_need_defaults=false;;
18340 --he | --h)
18341 # Conflict between --help and --header
18342 as_fn_error $? "ambiguous option: \`$1'
18343 Try \`$0 --help' for more information.";;
18344 --help | --hel | -h )
18345 $as_echo "$ac_cs_usage"; exit ;;
18346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18347 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18348 ac_cs_silent=: ;;
18350 # This is an error.
18351 -*) as_fn_error $? "unrecognized option: \`$1'
18352 Try \`$0 --help' for more information." ;;
18354 *) as_fn_append ac_config_targets " $1"
18355 ac_need_defaults=false ;;
18357 esac
18358 shift
18359 done
18361 ac_configure_extra_args=
18363 if $ac_cs_silent; then
18364 exec 6>/dev/null
18365 ac_configure_extra_args="$ac_configure_extra_args --silent"
18368 _ACEOF
18369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18370 if \$ac_cs_recheck; then
18371 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18372 shift
18373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18374 CONFIG_SHELL='$SHELL'
18375 export CONFIG_SHELL
18376 exec "\$@"
18379 _ACEOF
18380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18381 exec 5>>config.log
18383 echo
18384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18385 ## Running $as_me. ##
18386 _ASBOX
18387 $as_echo "$ac_log"
18388 } >&5
18390 _ACEOF
18391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18393 # INIT-COMMANDS
18395 wine_fn_output_makedep ()
18397 as_dir=tools; as_fn_mkdir_p
18398 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18400 wine_fn_output_makefile ()
18402 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18403 `cat $wine_rules_file`
18404 _WINE_EOF
18405 as_fn_error $? "could not create Makefile" "$LINENO" 5
18407 wine_fn_output_gitignore ()
18409 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18410 $GITIGNORE
18411 _WINE_EOF
18412 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18415 _ACEOF
18417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18419 # Handling of arguments.
18420 for ac_config_target in $ac_config_targets
18422 case $ac_config_target in
18423 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18424 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18425 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18426 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18427 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18428 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18429 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18430 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18431 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18432 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18433 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18434 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18435 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18436 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18438 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18439 esac
18440 done
18443 # If the user did not use the arguments to specify the items to instantiate,
18444 # then the envvar interface is used. Set only those that are not.
18445 # We use the long form for the default assignment because of an extremely
18446 # bizarre bug on SunOS 4.1.3.
18447 if $ac_need_defaults; then
18448 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18449 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18450 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18451 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18454 # Have a temporary directory for convenience. Make it in the build tree
18455 # simply because there is no reason against having it here, and in addition,
18456 # creating and moving files from /tmp can sometimes cause problems.
18457 # Hook for its removal unless debugging.
18458 # Note that there is a small window in which the directory will not be cleaned:
18459 # after its creation but before its name has been assigned to `$tmp'.
18460 $debug ||
18462 tmp= ac_tmp=
18463 trap 'exit_status=$?
18464 : "${ac_tmp:=$tmp}"
18465 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18467 trap 'as_fn_exit 1' 1 2 13 15
18469 # Create a (secure) tmp directory for tmp files.
18472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18473 test -d "$tmp"
18474 } ||
18476 tmp=./conf$$-$RANDOM
18477 (umask 077 && mkdir "$tmp")
18478 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18479 ac_tmp=$tmp
18481 # Set up the scripts for CONFIG_FILES section.
18482 # No need to generate them if there are no CONFIG_FILES.
18483 # This happens for instance with `./config.status config.h'.
18484 if test -n "$CONFIG_FILES"; then
18487 ac_cr=`echo X | tr X '\015'`
18488 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18489 # But we know of no other shell where ac_cr would be empty at this
18490 # point, so we can use a bashism as a fallback.
18491 if test "x$ac_cr" = x; then
18492 eval ac_cr=\$\'\\r\'
18494 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18495 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18496 ac_cs_awk_cr='\\r'
18497 else
18498 ac_cs_awk_cr=$ac_cr
18501 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18502 _ACEOF
18506 echo "cat >conf$$subs.awk <<_ACEOF" &&
18507 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18508 echo "_ACEOF"
18509 } >conf$$subs.sh ||
18510 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18511 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18512 ac_delim='%!_!# '
18513 for ac_last_try in false false false false false :; do
18514 . ./conf$$subs.sh ||
18515 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18517 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18518 if test $ac_delim_n = $ac_delim_num; then
18519 break
18520 elif $ac_last_try; then
18521 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18522 else
18523 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18525 done
18526 rm -f conf$$subs.sh
18528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18529 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18530 _ACEOF
18531 sed -n '
18533 s/^/S["/; s/!.*/"]=/
18536 s/^[^!]*!//
18537 :repl
18538 t repl
18539 s/'"$ac_delim"'$//
18540 t delim
18543 s/\(.\{148\}\)..*/\1/
18544 t more1
18545 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18548 b repl
18549 :more1
18550 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18553 s/.\{148\}//
18554 t nl
18555 :delim
18557 s/\(.\{148\}\)..*/\1/
18558 t more2
18559 s/["\\]/\\&/g; s/^/"/; s/$/"/
18562 :more2
18563 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18566 s/.\{148\}//
18567 t delim
18568 ' <conf$$subs.awk | sed '
18569 /^[^""]/{
18571 s/\n//
18573 ' >>$CONFIG_STATUS || ac_write_fail=1
18574 rm -f conf$$subs.awk
18575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18576 _ACAWK
18577 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18578 for (key in S) S_is_set[key] = 1
18579 FS = "\a"
18583 line = $ 0
18584 nfields = split(line, field, "@")
18585 substed = 0
18586 len = length(field[1])
18587 for (i = 2; i < nfields; i++) {
18588 key = field[i]
18589 keylen = length(key)
18590 if (S_is_set[key]) {
18591 value = S[key]
18592 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18593 len += length(value) + length(field[++i])
18594 substed = 1
18595 } else
18596 len += 1 + keylen
18599 print line
18602 _ACAWK
18603 _ACEOF
18604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18605 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18606 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18607 else
18609 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18610 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18611 _ACEOF
18613 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18614 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18615 # trailing colons and then remove the whole line if VPATH becomes empty
18616 # (actually we leave an empty line to preserve line numbers).
18617 if test "x$srcdir" = x.; then
18618 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18620 s///
18621 s/^/:/
18622 s/[ ]*$/:/
18623 s/:\$(srcdir):/:/g
18624 s/:\${srcdir}:/:/g
18625 s/:@srcdir@:/:/g
18626 s/^:*//
18627 s/:*$//
18629 s/\(=[ ]*\).*/\1/
18631 s/\n//
18632 s/^[^=]*=[ ]*$//
18636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18637 fi # test -n "$CONFIG_FILES"
18639 # Set up the scripts for CONFIG_HEADERS section.
18640 # No need to generate them if there are no CONFIG_HEADERS.
18641 # This happens for instance with `./config.status Makefile'.
18642 if test -n "$CONFIG_HEADERS"; then
18643 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18644 BEGIN {
18645 _ACEOF
18647 # Transform confdefs.h into an awk script `defines.awk', embedded as
18648 # here-document in config.status, that substitutes the proper values into
18649 # config.h.in to produce config.h.
18651 # Create a delimiter string that does not exist in confdefs.h, to ease
18652 # handling of long lines.
18653 ac_delim='%!_!# '
18654 for ac_last_try in false false :; do
18655 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18656 if test -z "$ac_tt"; then
18657 break
18658 elif $ac_last_try; then
18659 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18660 else
18661 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18663 done
18665 # For the awk script, D is an array of macro values keyed by name,
18666 # likewise P contains macro parameters if any. Preserve backslash
18667 # newline sequences.
18669 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18670 sed -n '
18671 s/.\{148\}/&'"$ac_delim"'/g
18672 t rset
18673 :rset
18674 s/^[ ]*#[ ]*define[ ][ ]*/ /
18675 t def
18677 :def
18678 s/\\$//
18679 t bsnl
18680 s/["\\]/\\&/g
18681 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18682 D["\1"]=" \3"/p
18683 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18685 :bsnl
18686 s/["\\]/\\&/g
18687 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18688 D["\1"]=" \3\\\\\\n"\\/p
18689 t cont
18690 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18691 t cont
18693 :cont
18695 s/.\{148\}/&'"$ac_delim"'/g
18696 t clear
18697 :clear
18698 s/\\$//
18699 t bsnlc
18700 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18702 :bsnlc
18703 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18704 b cont
18705 ' <confdefs.h | sed '
18706 s/'"$ac_delim"'/"\\\
18707 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18710 for (key in D) D_is_set[key] = 1
18711 FS = "\a"
18713 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18714 line = \$ 0
18715 split(line, arg, " ")
18716 if (arg[1] == "#") {
18717 defundef = arg[2]
18718 mac1 = arg[3]
18719 } else {
18720 defundef = substr(arg[1], 2)
18721 mac1 = arg[2]
18723 split(mac1, mac2, "(") #)
18724 macro = mac2[1]
18725 prefix = substr(line, 1, index(line, defundef) - 1)
18726 if (D_is_set[macro]) {
18727 # Preserve the white space surrounding the "#".
18728 print prefix "define", macro P[macro] D[macro]
18729 next
18730 } else {
18731 # Replace #undef with comments. This is necessary, for example,
18732 # in the case of _POSIX_SOURCE, which is predefined and required
18733 # on some systems where configure will not decide to define it.
18734 if (defundef == "undef") {
18735 print "/*", prefix defundef, macro, "*/"
18736 next
18740 { print }
18741 _ACAWK
18742 _ACEOF
18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18744 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18745 fi # test -n "$CONFIG_HEADERS"
18748 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18749 shift
18750 for ac_tag
18752 case $ac_tag in
18753 :[FHLC]) ac_mode=$ac_tag; continue;;
18754 esac
18755 case $ac_mode$ac_tag in
18756 :[FHL]*:*);;
18757 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18758 :[FH]-) ac_tag=-:-;;
18759 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18760 esac
18761 ac_save_IFS=$IFS
18762 IFS=:
18763 set x $ac_tag
18764 IFS=$ac_save_IFS
18765 shift
18766 ac_file=$1
18767 shift
18769 case $ac_mode in
18770 :L) ac_source=$1;;
18771 :[FH])
18772 ac_file_inputs=
18773 for ac_f
18775 case $ac_f in
18776 -) ac_f="$ac_tmp/stdin";;
18777 *) # Look for the file first in the build tree, then in the source tree
18778 # (if the path is not absolute). The absolute path cannot be DOS-style,
18779 # because $ac_f cannot contain `:'.
18780 test -f "$ac_f" ||
18781 case $ac_f in
18782 [\\/$]*) false;;
18783 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18784 esac ||
18785 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18786 esac
18787 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18788 as_fn_append ac_file_inputs " '$ac_f'"
18789 done
18791 # Let's still pretend it is `configure' which instantiates (i.e., don't
18792 # use $as_me), people would be surprised to read:
18793 # /* config.h. Generated by config.status. */
18794 configure_input='Generated from '`
18795 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18796 `' by configure.'
18797 if test x"$ac_file" != x-; then
18798 configure_input="$ac_file. $configure_input"
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18800 $as_echo "$as_me: creating $ac_file" >&6;}
18802 # Neutralize special characters interpreted by sed in replacement strings.
18803 case $configure_input in #(
18804 *\&* | *\|* | *\\* )
18805 ac_sed_conf_input=`$as_echo "$configure_input" |
18806 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18807 *) ac_sed_conf_input=$configure_input;;
18808 esac
18810 case $ac_tag in
18811 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18813 esac
18815 esac
18817 ac_dir=`$as_dirname -- "$ac_file" ||
18818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18819 X"$ac_file" : 'X\(//\)[^/]' \| \
18820 X"$ac_file" : 'X\(//\)$' \| \
18821 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18822 $as_echo X"$ac_file" |
18823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18824 s//\1/
18827 /^X\(\/\/\)[^/].*/{
18828 s//\1/
18831 /^X\(\/\/\)$/{
18832 s//\1/
18835 /^X\(\/\).*/{
18836 s//\1/
18839 s/.*/./; q'`
18840 as_dir="$ac_dir"; as_fn_mkdir_p
18841 ac_builddir=.
18843 case "$ac_dir" in
18844 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18846 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18847 # A ".." for each directory in $ac_dir_suffix.
18848 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18849 case $ac_top_builddir_sub in
18850 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18851 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18852 esac ;;
18853 esac
18854 ac_abs_top_builddir=$ac_pwd
18855 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18856 # for backward compatibility:
18857 ac_top_builddir=$ac_top_build_prefix
18859 case $srcdir in
18860 .) # We are building in place.
18861 ac_srcdir=.
18862 ac_top_srcdir=$ac_top_builddir_sub
18863 ac_abs_top_srcdir=$ac_pwd ;;
18864 [\\/]* | ?:[\\/]* ) # Absolute name.
18865 ac_srcdir=$srcdir$ac_dir_suffix;
18866 ac_top_srcdir=$srcdir
18867 ac_abs_top_srcdir=$srcdir ;;
18868 *) # Relative name.
18869 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18870 ac_top_srcdir=$ac_top_build_prefix$srcdir
18871 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18872 esac
18873 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18876 case $ac_mode in
18879 # CONFIG_FILE
18882 _ACEOF
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18885 # If the template does not know about datarootdir, expand it.
18886 # FIXME: This hack should be removed a few years after 2.60.
18887 ac_datarootdir_hack=; ac_datarootdir_seen=
18888 ac_sed_dataroot='
18889 /datarootdir/ {
18893 /@datadir@/p
18894 /@docdir@/p
18895 /@infodir@/p
18896 /@localedir@/p
18897 /@mandir@/p'
18898 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18899 *datarootdir*) ac_datarootdir_seen=yes;;
18900 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18902 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18903 _ACEOF
18904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18905 ac_datarootdir_hack='
18906 s&@datadir@&$datadir&g
18907 s&@docdir@&$docdir&g
18908 s&@infodir@&$infodir&g
18909 s&@localedir@&$localedir&g
18910 s&@mandir@&$mandir&g
18911 s&\\\${datarootdir}&$datarootdir&g' ;;
18912 esac
18913 _ACEOF
18915 # Neutralize VPATH when `$srcdir' = `.'.
18916 # Shell code in configure.ac might set extrasub.
18917 # FIXME: do we really want to maintain this feature?
18918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18919 ac_sed_extra="$ac_vpsub
18920 $extrasub
18921 _ACEOF
18922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18925 s|@configure_input@|$ac_sed_conf_input|;t t
18926 s&@top_builddir@&$ac_top_builddir_sub&;t t
18927 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18928 s&@srcdir@&$ac_srcdir&;t t
18929 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18930 s&@top_srcdir@&$ac_top_srcdir&;t t
18931 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18932 s&@builddir@&$ac_builddir&;t t
18933 s&@abs_builddir@&$ac_abs_builddir&;t t
18934 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18935 $ac_datarootdir_hack
18937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18938 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18940 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18941 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18942 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18943 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18945 which seems to be undefined. Please make sure it is defined" >&5
18946 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18947 which seems to be undefined. Please make sure it is defined" >&2;}
18949 rm -f "$ac_tmp/stdin"
18950 case $ac_file in
18951 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18952 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18953 esac \
18954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18958 # CONFIG_HEADER
18960 if test x"$ac_file" != x-; then
18962 $as_echo "/* $configure_input */" \
18963 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18964 } >"$ac_tmp/config.h" \
18965 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18966 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18968 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18969 else
18970 rm -f "$ac_file"
18971 mv "$ac_tmp/config.h" "$ac_file" \
18972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18974 else
18975 $as_echo "/* $configure_input */" \
18976 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18977 || as_fn_error $? "could not create -" "$LINENO" 5
18982 # CONFIG_LINK
18985 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18987 else
18988 # Prefer the file from the source tree if names are identical.
18989 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18990 ac_source=$srcdir/$ac_source
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18994 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18996 if test ! -r "$ac_source"; then
18997 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18999 rm -f "$ac_file"
19001 # Try a relative symlink, then a hard link, then a copy.
19002 case $ac_source in
19003 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19004 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19005 esac
19006 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19007 ln "$ac_source" "$ac_file" 2>/dev/null ||
19008 cp -p "$ac_source" "$ac_file" ||
19009 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19012 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19013 $as_echo "$as_me: executing $ac_file commands" >&6;}
19015 esac
19018 case $ac_file$ac_mode in
19019 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19020 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19021 "Makefile":C) wine_fn_output_makefile Makefile ;;
19022 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19024 esac
19025 done # for ac_tag
19028 as_fn_exit 0
19029 _ACEOF
19030 ac_clean_files=$ac_clean_files_save
19032 test $ac_write_fail = 0 ||
19033 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19036 # configure is writing to config.log, and then calls config.status.
19037 # config.status does its own redirection, appending to config.log.
19038 # Unfortunately, on DOS this fails, as config.log is still kept open
19039 # by configure, so config.status won't be able to write to it; its
19040 # output is simply discarded. So we exec the FD to /dev/null,
19041 # effectively closing config.log, so it can be properly (re)opened and
19042 # appended to by config.status. When coming back to configure, we
19043 # need to make the FD available again.
19044 if test "$no_create" != yes; then
19045 ac_cs_success=:
19046 ac_config_status_args=
19047 test "$silent" = yes &&
19048 ac_config_status_args="$ac_config_status_args --quiet"
19049 exec 5>/dev/null
19050 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19051 exec 5>>config.log
19052 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19053 # would make configure fail if this is the last instruction.
19054 $ac_cs_success || as_fn_exit 1
19056 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19058 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19062 if test "$no_create" = "yes"
19063 then
19064 exit 0
19067 ac_save_IFS="$IFS"
19068 if test "x$wine_notices != "x; then
19069 echo >&6
19070 IFS="|"
19071 for msg in $wine_notices; do
19072 IFS="$ac_save_IFS"
19073 if ${msg:+false} :; then :
19075 else
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19077 $as_echo "$as_me: $msg" >&6;}
19079 done
19081 IFS="|"
19082 for msg in $wine_warnings; do
19083 IFS="$ac_save_IFS"
19084 if ${msg:+false} :; then :
19086 else
19087 echo >&2
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19089 $as_echo "$as_me: WARNING: $msg" >&2;}
19091 done
19092 IFS="$ac_save_IFS"
19094 $as_echo "
19095 $as_me: Finished. Do '${ac_make}' to compile Wine.
19096 " >&6