windowscodecs: Add support for 8bpp grayscale TIFF with 8bpp alpha.
[wine.git] / configure
blobf91f1a8c11fa393ee1b292c69a944d3fecf40b0f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.47.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.47'
584 PACKAGE_STRING='Wine 1.7.47'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
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
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
934 enable_apphelp
935 enable_appwiz_cpl
936 enable_atl
937 enable_atl100
938 enable_atl110
939 enable_atl80
940 enable_atl90
941 enable_authz
942 enable_avicap32
943 enable_avifil32
944 enable_avrt
945 enable_bcrypt
946 enable_browseui
947 enable_cabinet
948 enable_capi2032
949 enable_cards
950 enable_cfgmgr32
951 enable_clusapi
952 enable_combase
953 enable_comcat
954 enable_comctl32
955 enable_comdlg32
956 enable_compstui
957 enable_comsvcs
958 enable_connect
959 enable_credui
960 enable_crtdll
961 enable_crypt32
962 enable_cryptdlg
963 enable_cryptdll
964 enable_cryptext
965 enable_cryptnet
966 enable_cryptui
967 enable_ctapi32
968 enable_ctl3d32
969 enable_d2d1
970 enable_d3d10
971 enable_d3d10_1
972 enable_d3d10core
973 enable_d3d11
974 enable_d3d8
975 enable_d3d9
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
987 enable_d3dcompiler_46
988 enable_d3dcompiler_47
989 enable_d3dim
990 enable_d3drm
991 enable_d3dx10_33
992 enable_d3dx10_34
993 enable_d3dx10_35
994 enable_d3dx10_36
995 enable_d3dx10_37
996 enable_d3dx10_38
997 enable_d3dx10_39
998 enable_d3dx10_40
999 enable_d3dx10_41
1000 enable_d3dx10_42
1001 enable_d3dx10_43
1002 enable_d3dx11_42
1003 enable_d3dx11_43
1004 enable_d3dx9_24
1005 enable_d3dx9_25
1006 enable_d3dx9_26
1007 enable_d3dx9_27
1008 enable_d3dx9_28
1009 enable_d3dx9_29
1010 enable_d3dx9_30
1011 enable_d3dx9_31
1012 enable_d3dx9_32
1013 enable_d3dx9_33
1014 enable_d3dx9_34
1015 enable_d3dx9_35
1016 enable_d3dx9_36
1017 enable_d3dx9_37
1018 enable_d3dx9_38
1019 enable_d3dx9_39
1020 enable_d3dx9_40
1021 enable_d3dx9_41
1022 enable_d3dx9_42
1023 enable_d3dx9_43
1024 enable_d3dxof
1025 enable_davclnt
1026 enable_dbgeng
1027 enable_dbghelp
1028 enable_dciman32
1029 enable_ddraw
1030 enable_ddrawex
1031 enable_devenum
1032 enable_dhcpcsvc
1033 enable_difxapi
1034 enable_dinput
1035 enable_dinput8
1036 enable_dispex
1037 enable_dmband
1038 enable_dmcompos
1039 enable_dmime
1040 enable_dmloader
1041 enable_dmscript
1042 enable_dmstyle
1043 enable_dmsynth
1044 enable_dmusic
1045 enable_dmusic32
1046 enable_dnsapi
1047 enable_dplay
1048 enable_dplayx
1049 enable_dpnaddr
1050 enable_dpnet
1051 enable_dpnhpast
1052 enable_dpnlobby
1053 enable_dpvoice
1054 enable_dpwsockx
1055 enable_drmclien
1056 enable_dsound
1057 enable_dssenh
1058 enable_dswave
1059 enable_dwmapi
1060 enable_dwrite
1061 enable_dxdiagn
1062 enable_dxgi
1063 enable_dxva2
1064 enable_evr
1065 enable_explorerframe
1066 enable_ext_ms_win_gdi_devcaps_l1_1_0
1067 enable_faultrep
1068 enable_fltlib
1069 enable_fntcache
1070 enable_fontsub
1071 enable_fusion
1072 enable_fwpuclnt
1073 enable_gameux
1074 enable_gdi32
1075 enable_gdiplus
1076 enable_glu32
1077 enable_gphoto2_ds
1078 enable_gpkcsp
1079 enable_hal
1080 enable_hhctrl_ocx
1081 enable_hid
1082 enable_hidclass_sys
1083 enable_hlink
1084 enable_hnetcfg
1085 enable_httpapi
1086 enable_iccvid
1087 enable_icmp
1088 enable_ieframe
1089 enable_imaadp32_acm
1090 enable_imagehlp
1091 enable_imm32
1092 enable_inetcomm
1093 enable_inetcpl_cpl
1094 enable_inetmib1
1095 enable_infosoft
1096 enable_initpki
1097 enable_inkobj
1098 enable_inseng
1099 enable_iphlpapi
1100 enable_itircl
1101 enable_itss
1102 enable_joy_cpl
1103 enable_jscript
1104 enable_jsproxy
1105 enable_kernel32
1106 enable_ksuser
1107 enable_ktmw32
1108 enable_loadperf
1109 enable_localspl
1110 enable_localui
1111 enable_lz32
1112 enable_mapi32
1113 enable_mapistub
1114 enable_mciavi32
1115 enable_mcicda
1116 enable_mciqtz32
1117 enable_mciseq
1118 enable_mciwave
1119 enable_mf
1120 enable_mfplat
1121 enable_mfreadwrite
1122 enable_mgmtapi
1123 enable_midimap
1124 enable_mlang
1125 enable_mmcndmgr
1126 enable_mmdevapi
1127 enable_mountmgr_sys
1128 enable_mpr
1129 enable_mprapi
1130 enable_msacm32_drv
1131 enable_msacm32
1132 enable_msadp32_acm
1133 enable_msasn1
1134 enable_mscat32
1135 enable_mscms
1136 enable_mscoree
1137 enable_msctf
1138 enable_msctfp
1139 enable_msdaps
1140 enable_msdmo
1141 enable_msftedit
1142 enable_msg711_acm
1143 enable_msgsm32_acm
1144 enable_mshtml_tlb
1145 enable_mshtml
1146 enable_msi
1147 enable_msident
1148 enable_msimg32
1149 enable_msimsg
1150 enable_msimtf
1151 enable_msisip
1152 enable_msisys_ocx
1153 enable_msls31
1154 enable_msnet32
1155 enable_mspatcha
1156 enable_msrle32
1157 enable_msscript_ocx
1158 enable_mssign32
1159 enable_mssip32
1160 enable_mstask
1161 enable_msvcirt
1162 enable_msvcm80
1163 enable_msvcm90
1164 enable_msvcp100
1165 enable_msvcp110
1166 enable_msvcp120
1167 enable_msvcp120_app
1168 enable_msvcp60
1169 enable_msvcp70
1170 enable_msvcp71
1171 enable_msvcp80
1172 enable_msvcp90
1173 enable_msvcr100
1174 enable_msvcr110
1175 enable_msvcr120
1176 enable_msvcr120_app
1177 enable_msvcr70
1178 enable_msvcr71
1179 enable_msvcr80
1180 enable_msvcr90
1181 enable_msvcrt
1182 enable_msvcrt20
1183 enable_msvcrt40
1184 enable_msvcrtd
1185 enable_msvfw32
1186 enable_msvidc32
1187 enable_mswsock
1188 enable_msxml
1189 enable_msxml2
1190 enable_msxml3
1191 enable_msxml4
1192 enable_msxml6
1193 enable_nddeapi
1194 enable_ndis_sys
1195 enable_netapi32
1196 enable_netcfgx
1197 enable_netprofm
1198 enable_newdev
1199 enable_normaliz
1200 enable_npmshtml
1201 enable_npptools
1202 enable_ntdll
1203 enable_ntdsapi
1204 enable_ntoskrnl_exe
1205 enable_ntprint
1206 enable_objsel
1207 enable_odbc32
1208 enable_odbccp32
1209 enable_odbccu32
1210 enable_ole32
1211 enable_oleacc
1212 enable_oleaut32
1213 enable_olecli32
1214 enable_oledb32
1215 enable_oledlg
1216 enable_olepro32
1217 enable_olesvr32
1218 enable_olethk32
1219 enable_openal32
1220 enable_opencl
1221 enable_opengl32
1222 enable_packager
1223 enable_pdh
1224 enable_photometadatahandler
1225 enable_pidgen
1226 enable_powrprof
1227 enable_printui
1228 enable_prntvpt
1229 enable_propsys
1230 enable_psapi
1231 enable_pstorec
1232 enable_qcap
1233 enable_qedit
1234 enable_qmgr
1235 enable_qmgrprxy
1236 enable_quartz
1237 enable_query
1238 enable_rasapi32
1239 enable_rasdlg
1240 enable_regapi
1241 enable_resutils
1242 enable_riched20
1243 enable_riched32
1244 enable_rpcrt4
1245 enable_rsabase
1246 enable_rsaenh
1247 enable_rstrtmgr
1248 enable_rtutils
1249 enable_samlib
1250 enable_sane_ds
1251 enable_scarddlg
1252 enable_sccbase
1253 enable_schannel
1254 enable_schedsvc
1255 enable_scrrun
1256 enable_scsiport_sys
1257 enable_secur32
1258 enable_security
1259 enable_sensapi
1260 enable_serialui
1261 enable_setupapi
1262 enable_sfc
1263 enable_sfc_os
1264 enable_shdoclc
1265 enable_shdocvw
1266 enable_shell32
1267 enable_shfolder
1268 enable_shlwapi
1269 enable_slbcsp
1270 enable_slc
1271 enable_snmpapi
1272 enable_softpub
1273 enable_spoolss
1274 enable_stdole2_tlb
1275 enable_stdole32_tlb
1276 enable_sti
1277 enable_svrapi
1278 enable_sxs
1279 enable_t2embed
1280 enable_tapi32
1281 enable_taskschd
1282 enable_traffic
1283 enable_twain_32
1284 enable_unicows
1285 enable_updspapi
1286 enable_url
1287 enable_urlmon
1288 enable_usbd_sys
1289 enable_user32
1290 enable_userenv
1291 enable_usp10
1292 enable_uxtheme
1293 enable_vbscript
1294 enable_vcomp
1295 enable_vcomp100
1296 enable_vcomp90
1297 enable_vdmdbg
1298 enable_version
1299 enable_vssapi
1300 enable_wbemdisp
1301 enable_wbemprox
1302 enable_webservices
1303 enable_wer
1304 enable_wevtapi
1305 enable_wiaservc
1306 enable_windowscodecs
1307 enable_windowscodecsext
1308 enable_winealsa_drv
1309 enable_winecoreaudio_drv
1310 enable_wined3d
1311 enable_winegstreamer
1312 enable_winejoystick_drv
1313 enable_winemac_drv
1314 enable_winemapi
1315 enable_winemp3_acm
1316 enable_wineoss_drv
1317 enable_wineps_drv
1318 enable_wineqtdecoder
1319 enable_winex11_drv
1320 enable_wing32
1321 enable_winhttp
1322 enable_wininet
1323 enable_winmm
1324 enable_winnls32
1325 enable_winscard
1326 enable_winspool_drv
1327 enable_winsta
1328 enable_wintab32
1329 enable_wintrust
1330 enable_wlanapi
1331 enable_wldap32
1332 enable_wmi
1333 enable_wmiutils
1334 enable_wmp
1335 enable_wmvcore
1336 enable_wnaspi32
1337 enable_wpcap
1338 enable_ws2_32
1339 enable_wshom_ocx
1340 enable_wsnmp32
1341 enable_wsock32
1342 enable_wtsapi32
1343 enable_wuapi
1344 enable_wuaueng
1345 enable_x3daudio1_1
1346 enable_x3daudio1_2
1347 enable_x3daudio1_3
1348 enable_x3daudio1_4
1349 enable_x3daudio1_5
1350 enable_x3daudio1_6
1351 enable_x3daudio1_7
1352 enable_xapofx1_1
1353 enable_xapofx1_3
1354 enable_xapofx1_4
1355 enable_xapofx1_5
1356 enable_xaudio2_7
1357 enable_xinput1_1
1358 enable_xinput1_2
1359 enable_xinput1_3
1360 enable_xinput1_4
1361 enable_xinput9_1_0
1362 enable_xmllite
1363 enable_xolehlp
1364 enable_xpsprint
1365 enable_xpssvcs
1366 enable_documentation
1367 enable_fonts
1368 enable_include
1369 enable_libs_port
1370 enable_libs_wine
1371 enable_libs_wpp
1372 enable_loader
1373 enable_arp
1374 enable_aspnet_regiis
1375 enable_attrib
1376 enable_cabarc
1377 enable_cacls
1378 enable_clock
1379 enable_cmd
1380 enable_conhost
1381 enable_control
1382 enable_cscript
1383 enable_dpnsvr
1384 enable_dxdiag
1385 enable_eject
1386 enable_expand
1387 enable_explorer
1388 enable_extrac32
1389 enable_findstr
1390 enable_hh
1391 enable_hostname
1392 enable_icinfo
1393 enable_iexplore
1394 enable_ipconfig
1395 enable_lodctr
1396 enable_mofcomp
1397 enable_mshta
1398 enable_msiexec
1399 enable_net
1400 enable_netsh
1401 enable_netstat
1402 enable_ngen
1403 enable_notepad
1404 enable_oleview
1405 enable_ping
1406 enable_plugplay
1407 enable_presentationfontcache
1408 enable_progman
1409 enable_reg
1410 enable_regasm
1411 enable_regedit
1412 enable_regsvcs
1413 enable_regsvr32
1414 enable_rpcss
1415 enable_rundll32
1416 enable_sc
1417 enable_schtasks
1418 enable_sdbinst
1419 enable_secedit
1420 enable_servicemodelreg
1421 enable_services
1422 enable_spoolsv
1423 enable_start
1424 enable_svchost
1425 enable_systeminfo
1426 enable_taskkill
1427 enable_tasklist
1428 enable_taskmgr
1429 enable_termsv
1430 enable_uninstaller
1431 enable_unlodctr
1432 enable_view
1433 enable_wevtutil
1434 enable_wineboot
1435 enable_winebrowser
1436 enable_winecfg
1437 enable_wineconsole
1438 enable_winedbg
1439 enable_winedevice
1440 enable_winefile
1441 enable_winemenubuilder
1442 enable_winemine
1443 enable_winemsibuilder
1444 enable_winepath
1445 enable_winetest
1446 enable_winhlp32
1447 enable_winver
1448 enable_wmic
1449 enable_wordpad
1450 enable_write
1451 enable_wscript
1452 enable_wusa
1453 enable_xcopy
1454 enable_server
1455 enable_tools
1457 ac_precious_vars='build_alias
1458 host_alias
1459 target_alias
1461 CFLAGS
1462 LDFLAGS
1463 LIBS
1464 CPPFLAGS
1466 CXXFLAGS
1469 XMKMF
1470 XML2_CFLAGS
1471 XML2_LIBS
1472 XSLT_CFLAGS
1473 XSLT_LIBS
1474 DBUS_CFLAGS
1475 DBUS_LIBS
1476 HAL_CFLAGS
1477 HAL_LIBS
1478 GNUTLS_CFLAGS
1479 GNUTLS_LIBS
1480 SANE_CFLAGS
1481 SANE_LIBS
1482 GPHOTO2_CFLAGS
1483 GPHOTO2_LIBS
1484 GPHOTO2_PORT_CFLAGS
1485 GPHOTO2_PORT_LIBS
1486 LCMS2_CFLAGS
1487 LCMS2_LIBS
1488 FREETYPE_CFLAGS
1489 FREETYPE_LIBS
1490 GSTREAMER_CFLAGS
1491 GSTREAMER_LIBS
1492 CAPI20_CFLAGS
1493 CAPI20_LIBS
1494 FONTCONFIG_CFLAGS
1495 FONTCONFIG_LIBS
1496 JPEG_CFLAGS
1497 JPEG_LIBS
1498 PNG_CFLAGS
1499 PNG_LIBS
1500 TIFF_CFLAGS
1501 TIFF_LIBS
1502 MPG123_CFLAGS
1503 MPG123_LIBS'
1506 # Initialize some variables set by options.
1507 ac_init_help=
1508 ac_init_version=false
1509 ac_unrecognized_opts=
1510 ac_unrecognized_sep=
1511 # The variables have the same names as the options, with
1512 # dashes changed to underlines.
1513 cache_file=/dev/null
1514 exec_prefix=NONE
1515 no_create=
1516 no_recursion=
1517 prefix=NONE
1518 program_prefix=NONE
1519 program_suffix=NONE
1520 program_transform_name=s,x,x,
1521 silent=
1522 site=
1523 srcdir=
1524 verbose=
1525 x_includes=NONE
1526 x_libraries=NONE
1528 # Installation directory options.
1529 # These are left unexpanded so users can "make install exec_prefix=/foo"
1530 # and all the variables that are supposed to be based on exec_prefix
1531 # by default will actually change.
1532 # Use braces instead of parens because sh, perl, etc. also accept them.
1533 # (The list follows the same order as the GNU Coding Standards.)
1534 bindir='${exec_prefix}/bin'
1535 sbindir='${exec_prefix}/sbin'
1536 libexecdir='${exec_prefix}/libexec'
1537 datarootdir='${prefix}/share'
1538 datadir='${datarootdir}'
1539 sysconfdir='${prefix}/etc'
1540 sharedstatedir='${prefix}/com'
1541 localstatedir='${prefix}/var'
1542 includedir='${prefix}/include'
1543 oldincludedir='/usr/include'
1544 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1545 infodir='${datarootdir}/info'
1546 htmldir='${docdir}'
1547 dvidir='${docdir}'
1548 pdfdir='${docdir}'
1549 psdir='${docdir}'
1550 libdir='${exec_prefix}/lib'
1551 localedir='${datarootdir}/locale'
1552 mandir='${datarootdir}/man'
1554 ac_prev=
1555 ac_dashdash=
1556 for ac_option
1558 # If the previous option needs an argument, assign it.
1559 if test -n "$ac_prev"; then
1560 eval $ac_prev=\$ac_option
1561 ac_prev=
1562 continue
1565 case $ac_option in
1566 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1567 *=) ac_optarg= ;;
1568 *) ac_optarg=yes ;;
1569 esac
1571 # Accept the important Cygnus configure options, so we can diagnose typos.
1573 case $ac_dashdash$ac_option in
1575 ac_dashdash=yes ;;
1577 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1578 ac_prev=bindir ;;
1579 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1580 bindir=$ac_optarg ;;
1582 -build | --build | --buil | --bui | --bu)
1583 ac_prev=build_alias ;;
1584 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1585 build_alias=$ac_optarg ;;
1587 -cache-file | --cache-file | --cache-fil | --cache-fi \
1588 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1589 ac_prev=cache_file ;;
1590 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1591 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1592 cache_file=$ac_optarg ;;
1594 --config-cache | -C)
1595 cache_file=config.cache ;;
1597 -datadir | --datadir | --datadi | --datad)
1598 ac_prev=datadir ;;
1599 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1600 datadir=$ac_optarg ;;
1602 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1603 | --dataroo | --dataro | --datar)
1604 ac_prev=datarootdir ;;
1605 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1606 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1607 datarootdir=$ac_optarg ;;
1609 -disable-* | --disable-*)
1610 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1611 # Reject names that are not valid shell variable names.
1612 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1613 as_fn_error $? "invalid feature name: $ac_useropt"
1614 ac_useropt_orig=$ac_useropt
1615 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1616 case $ac_user_opts in
1618 "enable_$ac_useropt"
1619 "*) ;;
1620 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1621 ac_unrecognized_sep=', ';;
1622 esac
1623 eval enable_$ac_useropt=no ;;
1625 -docdir | --docdir | --docdi | --doc | --do)
1626 ac_prev=docdir ;;
1627 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1628 docdir=$ac_optarg ;;
1630 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1631 ac_prev=dvidir ;;
1632 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1633 dvidir=$ac_optarg ;;
1635 -enable-* | --enable-*)
1636 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1637 # Reject names that are not valid shell variable names.
1638 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1639 as_fn_error $? "invalid feature name: $ac_useropt"
1640 ac_useropt_orig=$ac_useropt
1641 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1642 case $ac_user_opts in
1644 "enable_$ac_useropt"
1645 "*) ;;
1646 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1647 ac_unrecognized_sep=', ';;
1648 esac
1649 eval enable_$ac_useropt=\$ac_optarg ;;
1651 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1652 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1653 | --exec | --exe | --ex)
1654 ac_prev=exec_prefix ;;
1655 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1656 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1657 | --exec=* | --exe=* | --ex=*)
1658 exec_prefix=$ac_optarg ;;
1660 -gas | --gas | --ga | --g)
1661 # Obsolete; use --with-gas.
1662 with_gas=yes ;;
1664 -help | --help | --hel | --he | -h)
1665 ac_init_help=long ;;
1666 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1667 ac_init_help=recursive ;;
1668 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1669 ac_init_help=short ;;
1671 -host | --host | --hos | --ho)
1672 ac_prev=host_alias ;;
1673 -host=* | --host=* | --hos=* | --ho=*)
1674 host_alias=$ac_optarg ;;
1676 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1677 ac_prev=htmldir ;;
1678 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1679 | --ht=*)
1680 htmldir=$ac_optarg ;;
1682 -includedir | --includedir | --includedi | --included | --include \
1683 | --includ | --inclu | --incl | --inc)
1684 ac_prev=includedir ;;
1685 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1686 | --includ=* | --inclu=* | --incl=* | --inc=*)
1687 includedir=$ac_optarg ;;
1689 -infodir | --infodir | --infodi | --infod | --info | --inf)
1690 ac_prev=infodir ;;
1691 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1692 infodir=$ac_optarg ;;
1694 -libdir | --libdir | --libdi | --libd)
1695 ac_prev=libdir ;;
1696 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1697 libdir=$ac_optarg ;;
1699 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1700 | --libexe | --libex | --libe)
1701 ac_prev=libexecdir ;;
1702 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1703 | --libexe=* | --libex=* | --libe=*)
1704 libexecdir=$ac_optarg ;;
1706 -localedir | --localedir | --localedi | --localed | --locale)
1707 ac_prev=localedir ;;
1708 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1709 localedir=$ac_optarg ;;
1711 -localstatedir | --localstatedir | --localstatedi | --localstated \
1712 | --localstate | --localstat | --localsta | --localst | --locals)
1713 ac_prev=localstatedir ;;
1714 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1715 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1716 localstatedir=$ac_optarg ;;
1718 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1719 ac_prev=mandir ;;
1720 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1721 mandir=$ac_optarg ;;
1723 -nfp | --nfp | --nf)
1724 # Obsolete; use --without-fp.
1725 with_fp=no ;;
1727 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1728 | --no-cr | --no-c | -n)
1729 no_create=yes ;;
1731 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1732 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1733 no_recursion=yes ;;
1735 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1736 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1737 | --oldin | --oldi | --old | --ol | --o)
1738 ac_prev=oldincludedir ;;
1739 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1740 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1741 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1742 oldincludedir=$ac_optarg ;;
1744 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1745 ac_prev=prefix ;;
1746 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1747 prefix=$ac_optarg ;;
1749 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1750 | --program-pre | --program-pr | --program-p)
1751 ac_prev=program_prefix ;;
1752 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1753 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1754 program_prefix=$ac_optarg ;;
1756 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1757 | --program-suf | --program-su | --program-s)
1758 ac_prev=program_suffix ;;
1759 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1760 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1761 program_suffix=$ac_optarg ;;
1763 -program-transform-name | --program-transform-name \
1764 | --program-transform-nam | --program-transform-na \
1765 | --program-transform-n | --program-transform- \
1766 | --program-transform | --program-transfor \
1767 | --program-transfo | --program-transf \
1768 | --program-trans | --program-tran \
1769 | --progr-tra | --program-tr | --program-t)
1770 ac_prev=program_transform_name ;;
1771 -program-transform-name=* | --program-transform-name=* \
1772 | --program-transform-nam=* | --program-transform-na=* \
1773 | --program-transform-n=* | --program-transform-=* \
1774 | --program-transform=* | --program-transfor=* \
1775 | --program-transfo=* | --program-transf=* \
1776 | --program-trans=* | --program-tran=* \
1777 | --progr-tra=* | --program-tr=* | --program-t=*)
1778 program_transform_name=$ac_optarg ;;
1780 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1781 ac_prev=pdfdir ;;
1782 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1783 pdfdir=$ac_optarg ;;
1785 -psdir | --psdir | --psdi | --psd | --ps)
1786 ac_prev=psdir ;;
1787 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1788 psdir=$ac_optarg ;;
1790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1791 | -silent | --silent | --silen | --sile | --sil)
1792 silent=yes ;;
1794 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1795 ac_prev=sbindir ;;
1796 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1797 | --sbi=* | --sb=*)
1798 sbindir=$ac_optarg ;;
1800 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1801 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1802 | --sharedst | --shareds | --shared | --share | --shar \
1803 | --sha | --sh)
1804 ac_prev=sharedstatedir ;;
1805 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1806 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1807 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1808 | --sha=* | --sh=*)
1809 sharedstatedir=$ac_optarg ;;
1811 -site | --site | --sit)
1812 ac_prev=site ;;
1813 -site=* | --site=* | --sit=*)
1814 site=$ac_optarg ;;
1816 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1817 ac_prev=srcdir ;;
1818 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1819 srcdir=$ac_optarg ;;
1821 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1822 | --syscon | --sysco | --sysc | --sys | --sy)
1823 ac_prev=sysconfdir ;;
1824 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1825 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1826 sysconfdir=$ac_optarg ;;
1828 -target | --target | --targe | --targ | --tar | --ta | --t)
1829 ac_prev=target_alias ;;
1830 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1831 target_alias=$ac_optarg ;;
1833 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1834 verbose=yes ;;
1836 -version | --version | --versio | --versi | --vers | -V)
1837 ac_init_version=: ;;
1839 -with-* | --with-*)
1840 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1841 # Reject names that are not valid shell variable names.
1842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1843 as_fn_error $? "invalid package name: $ac_useropt"
1844 ac_useropt_orig=$ac_useropt
1845 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1846 case $ac_user_opts in
1848 "with_$ac_useropt"
1849 "*) ;;
1850 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1851 ac_unrecognized_sep=', ';;
1852 esac
1853 eval with_$ac_useropt=\$ac_optarg ;;
1855 -without-* | --without-*)
1856 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1857 # Reject names that are not valid shell variable names.
1858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1859 as_fn_error $? "invalid package name: $ac_useropt"
1860 ac_useropt_orig=$ac_useropt
1861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1862 case $ac_user_opts in
1864 "with_$ac_useropt"
1865 "*) ;;
1866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1867 ac_unrecognized_sep=', ';;
1868 esac
1869 eval with_$ac_useropt=no ;;
1871 --x)
1872 # Obsolete; use --with-x.
1873 with_x=yes ;;
1875 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1876 | --x-incl | --x-inc | --x-in | --x-i)
1877 ac_prev=x_includes ;;
1878 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1879 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1880 x_includes=$ac_optarg ;;
1882 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1883 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1884 ac_prev=x_libraries ;;
1885 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1886 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1887 x_libraries=$ac_optarg ;;
1889 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1890 Try \`$0 --help' for more information"
1893 *=*)
1894 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1895 # Reject names that are not valid shell variable names.
1896 case $ac_envvar in #(
1897 '' | [0-9]* | *[!_$as_cr_alnum]* )
1898 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1899 esac
1900 eval $ac_envvar=\$ac_optarg
1901 export $ac_envvar ;;
1904 # FIXME: should be removed in autoconf 3.0.
1905 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1906 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1907 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1908 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1911 esac
1912 done
1914 if test -n "$ac_prev"; then
1915 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1916 as_fn_error $? "missing argument to $ac_option"
1919 if test -n "$ac_unrecognized_opts"; then
1920 case $enable_option_checking in
1921 no) ;;
1922 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1923 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1924 esac
1927 # Check all directory arguments for consistency.
1928 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1929 datadir sysconfdir sharedstatedir localstatedir includedir \
1930 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1931 libdir localedir mandir
1933 eval ac_val=\$$ac_var
1934 # Remove trailing slashes.
1935 case $ac_val in
1936 */ )
1937 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1938 eval $ac_var=\$ac_val;;
1939 esac
1940 # Be sure to have absolute directory names.
1941 case $ac_val in
1942 [\\/$]* | ?:[\\/]* ) continue;;
1943 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1944 esac
1945 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1946 done
1948 # There might be people who depend on the old broken behavior: `$host'
1949 # used to hold the argument of --host etc.
1950 # FIXME: To remove some day.
1951 build=$build_alias
1952 host=$host_alias
1953 target=$target_alias
1955 # FIXME: To remove some day.
1956 if test "x$host_alias" != x; then
1957 if test "x$build_alias" = x; then
1958 cross_compiling=maybe
1959 elif test "x$build_alias" != "x$host_alias"; then
1960 cross_compiling=yes
1964 ac_tool_prefix=
1965 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1967 test "$silent" = yes && exec 6>/dev/null
1970 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1971 ac_ls_di=`ls -di .` &&
1972 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1973 as_fn_error $? "working directory cannot be determined"
1974 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1975 as_fn_error $? "pwd does not report name of working directory"
1978 # Find the source files, if location was not specified.
1979 if test -z "$srcdir"; then
1980 ac_srcdir_defaulted=yes
1981 # Try the directory containing this script, then the parent directory.
1982 ac_confdir=`$as_dirname -- "$as_myself" ||
1983 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1984 X"$as_myself" : 'X\(//\)[^/]' \| \
1985 X"$as_myself" : 'X\(//\)$' \| \
1986 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1987 $as_echo X"$as_myself" |
1988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1989 s//\1/
1992 /^X\(\/\/\)[^/].*/{
1993 s//\1/
1996 /^X\(\/\/\)$/{
1997 s//\1/
2000 /^X\(\/\).*/{
2001 s//\1/
2004 s/.*/./; q'`
2005 srcdir=$ac_confdir
2006 if test ! -r "$srcdir/$ac_unique_file"; then
2007 srcdir=..
2009 else
2010 ac_srcdir_defaulted=no
2012 if test ! -r "$srcdir/$ac_unique_file"; then
2013 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2014 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2016 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2017 ac_abs_confdir=`(
2018 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2019 pwd)`
2020 # When building in place, set srcdir=.
2021 if test "$ac_abs_confdir" = "$ac_pwd"; then
2022 srcdir=.
2024 # Remove unnecessary trailing slashes from srcdir.
2025 # Double slashes in file names in object file debugging info
2026 # mess up M-x gdb in Emacs.
2027 case $srcdir in
2028 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2029 esac
2030 for ac_var in $ac_precious_vars; do
2031 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2032 eval ac_env_${ac_var}_value=\$${ac_var}
2033 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2034 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2035 done
2038 # Report the --help message.
2040 if test "$ac_init_help" = "long"; then
2041 # Omit some internal or obsolete options to make the list less imposing.
2042 # This message is too long to be a string in the A/UX 3.1 sh.
2043 cat <<_ACEOF
2044 \`configure' configures Wine 1.7.47 to adapt to many kinds of systems.
2046 Usage: $0 [OPTION]... [VAR=VALUE]...
2048 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2049 VAR=VALUE. See below for descriptions of some of the useful variables.
2051 Defaults for the options are specified in brackets.
2053 Configuration:
2054 -h, --help display this help and exit
2055 --help=short display options specific to this package
2056 --help=recursive display the short help of all the included packages
2057 -V, --version display version information and exit
2058 -q, --quiet, --silent do not print \`checking ...' messages
2059 --cache-file=FILE cache test results in FILE [disabled]
2060 -C, --config-cache alias for \`--cache-file=config.cache'
2061 -n, --no-create do not create output files
2062 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2064 Installation directories:
2065 --prefix=PREFIX install architecture-independent files in PREFIX
2066 [$ac_default_prefix]
2067 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2068 [PREFIX]
2070 By default, \`make install' will install all the files in
2071 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2072 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2073 for instance \`--prefix=\$HOME'.
2075 For better control, use the options below.
2077 Fine tuning of the installation directories:
2078 --bindir=DIR user executables [EPREFIX/bin]
2079 --sbindir=DIR system admin executables [EPREFIX/sbin]
2080 --libexecdir=DIR program executables [EPREFIX/libexec]
2081 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2082 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2083 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2084 --libdir=DIR object code libraries [EPREFIX/lib]
2085 --includedir=DIR C header files [PREFIX/include]
2086 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2087 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2088 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2089 --infodir=DIR info documentation [DATAROOTDIR/info]
2090 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2091 --mandir=DIR man documentation [DATAROOTDIR/man]
2092 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2093 --htmldir=DIR html documentation [DOCDIR]
2094 --dvidir=DIR dvi documentation [DOCDIR]
2095 --pdfdir=DIR pdf documentation [DOCDIR]
2096 --psdir=DIR ps documentation [DOCDIR]
2097 _ACEOF
2099 cat <<\_ACEOF
2101 X features:
2102 --x-includes=DIR X include files are in DIR
2103 --x-libraries=DIR X library files are in DIR
2105 System types:
2106 --build=BUILD configure for building on BUILD [guessed]
2107 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2108 _ACEOF
2111 if test -n "$ac_init_help"; then
2112 case $ac_init_help in
2113 short | recursive ) echo "Configuration of Wine 1.7.47:";;
2114 esac
2115 cat <<\_ACEOF
2117 Optional Features:
2118 --disable-option-checking ignore unrecognized --enable/--with options
2119 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2120 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2121 --disable-win16 do not include Win16 support
2122 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2123 binaries)
2124 --disable-tests do not build the regression tests
2125 --enable-maintainer-mode
2126 enable maintainer-specific build rules
2127 --disable-largefile omit support for large files
2129 Optional Packages:
2130 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2131 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2132 --without-alsa do not use the Alsa sound support
2133 --without-capi do not use CAPI (ISDN support)
2134 --without-cms do not use CMS (color management support)
2135 --without-coreaudio do not use the CoreAudio sound support
2136 --without-cups do not use CUPS
2137 --without-curses do not use (n)curses
2138 --without-dbus do not use DBus (dynamic device support)
2139 --without-fontconfig do not use fontconfig
2140 --without-freetype do not use the FreeType library
2141 --without-gettext do not use gettext
2142 --with-gettextpo use the GetTextPO library to rebuild po files
2143 --without-gphoto do not use gphoto (Digital Camera support)
2144 --without-glu do not use the GLU library
2145 --without-gnutls do not use GnuTLS (schannel support)
2146 --without-gsm do not use libgsm (GSM 06.10 codec support)
2147 --without-gstreamer do not use GStreamer (codecs support)
2148 --without-hal do not use HAL (dynamic device support)
2149 --without-jpeg do not use JPEG
2150 --without-ldap do not use LDAP
2151 --without-mpg123 do not use the mpg123 library
2152 --without-netapi do not use the Samba NetAPI library
2153 --without-openal do not use OpenAL
2154 --without-opencl do not use OpenCL
2155 --without-opengl do not use OpenGL
2156 --without-osmesa do not use the OSMesa library
2157 --without-oss do not use the OSS sound support
2158 --without-pcap do not use the Packet Capture library
2159 --without-png do not use PNG
2160 --without-pthread do not use the pthread library
2161 --without-sane do not use SANE (scanner support)
2162 --without-tiff do not use TIFF
2163 --without-v4l do not use v4l1 (v4l support)
2164 --without-xcomposite do not use the Xcomposite extension
2165 --without-xcursor do not use the Xcursor extension
2166 --without-xinerama do not use Xinerama (multi-monitor support)
2167 --without-xinput do not use the Xinput extension
2168 --without-xinput2 do not use the Xinput 2 extension
2169 --without-xml do not use XML
2170 --without-xrandr do not use Xrandr (resolution changes)
2171 --without-xrender do not use the Xrender extension
2172 --without-xshape do not use the Xshape extension
2173 --without-xshm do not use XShm (shared memory extension)
2174 --without-xslt do not use XSLT
2175 --without-xxf86vm do not use XFree video mode extension
2176 --without-zlib do not use Zlib (data compression)
2177 --with-wine-tools=DIR use Wine tools from directory DIR
2178 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2179 --with-x use the X Window System
2181 Some influential environment variables:
2182 CC C compiler command
2183 CFLAGS C compiler flags
2184 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2185 nonstandard directory <lib dir>
2186 LIBS libraries to pass to the linker, e.g. -l<library>
2187 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2188 you have headers in a nonstandard directory <include dir>
2189 CXX C++ compiler command
2190 CXXFLAGS C++ compiler flags
2191 CPP C preprocessor
2192 XMKMF Path to xmkmf, Makefile generator for X Window System
2193 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2194 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2195 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2196 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2197 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2198 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2199 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2200 HAL_LIBS Linker flags for hal, overriding pkg-config
2201 GNUTLS_CFLAGS
2202 C compiler flags for gnutls, overriding pkg-config
2203 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2204 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2205 SANE_LIBS Linker flags for libsane, overriding pkg-config
2206 GPHOTO2_CFLAGS
2207 C compiler flags for libgphoto2, overriding pkg-config
2208 GPHOTO2_LIBS
2209 Linker flags for libgphoto2, overriding pkg-config
2210 GPHOTO2_PORT_CFLAGS
2211 C compiler flags for libgphoto2_port, overriding pkg-config
2212 GPHOTO2_PORT_LIBS
2213 Linker flags for libgphoto2_port, overriding pkg-config
2214 LCMS2_CFLAGS
2215 C compiler flags for lcms2, overriding pkg-config
2216 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2217 FREETYPE_CFLAGS
2218 C compiler flags for freetype2, overriding pkg-config
2219 FREETYPE_LIBS
2220 Linker flags for freetype2, overriding pkg-config
2221 GSTREAMER_CFLAGS
2222 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2223 GSTREAMER_LIBS
2224 Linker flags for gstreamer-app-0.10, overriding pkg-config
2225 CAPI20_CFLAGS
2226 C compiler flags for capi20, overriding pkg-config
2227 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2228 FONTCONFIG_CFLAGS
2229 C compiler flags for fontconfig, overriding pkg-config
2230 FONTCONFIG_LIBS
2231 Linker flags for fontconfig, overriding pkg-config
2232 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2233 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2234 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2235 PNG_LIBS Linker flags for libpng, overriding pkg-config
2236 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2237 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2238 MPG123_CFLAGS
2239 C compiler flags for libmpg123, overriding pkg-config
2240 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2242 Use these variables to override the choices made by `configure' or to help
2243 it to find libraries and programs with nonstandard names/locations.
2245 Report bugs to <wine-devel@winehq.org>.
2246 Wine home page: <http://www.winehq.org>.
2247 _ACEOF
2248 ac_status=$?
2251 if test "$ac_init_help" = "recursive"; then
2252 # If there are subdirs, report their specific --help.
2253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2254 test -d "$ac_dir" ||
2255 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2256 continue
2257 ac_builddir=.
2259 case "$ac_dir" in
2260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2262 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2263 # A ".." for each directory in $ac_dir_suffix.
2264 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2265 case $ac_top_builddir_sub in
2266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2268 esac ;;
2269 esac
2270 ac_abs_top_builddir=$ac_pwd
2271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2272 # for backward compatibility:
2273 ac_top_builddir=$ac_top_build_prefix
2275 case $srcdir in
2276 .) # We are building in place.
2277 ac_srcdir=.
2278 ac_top_srcdir=$ac_top_builddir_sub
2279 ac_abs_top_srcdir=$ac_pwd ;;
2280 [\\/]* | ?:[\\/]* ) # Absolute name.
2281 ac_srcdir=$srcdir$ac_dir_suffix;
2282 ac_top_srcdir=$srcdir
2283 ac_abs_top_srcdir=$srcdir ;;
2284 *) # Relative name.
2285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2286 ac_top_srcdir=$ac_top_build_prefix$srcdir
2287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2288 esac
2289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2291 cd "$ac_dir" || { ac_status=$?; continue; }
2292 # Check for guested configure.
2293 if test -f "$ac_srcdir/configure.gnu"; then
2294 echo &&
2295 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2296 elif test -f "$ac_srcdir/configure"; then
2297 echo &&
2298 $SHELL "$ac_srcdir/configure" --help=recursive
2299 else
2300 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2301 fi || ac_status=$?
2302 cd "$ac_pwd" || { ac_status=$?; break; }
2303 done
2306 test -n "$ac_init_help" && exit $ac_status
2307 if $ac_init_version; then
2308 cat <<\_ACEOF
2309 Wine configure 1.7.47
2310 generated by GNU Autoconf 2.69
2312 Copyright (C) 2012 Free Software Foundation, Inc.
2313 This configure script is free software; the Free Software Foundation
2314 gives unlimited permission to copy, distribute and modify it.
2315 _ACEOF
2316 exit
2319 ## ------------------------ ##
2320 ## Autoconf initialization. ##
2321 ## ------------------------ ##
2323 # ac_fn_c_try_compile LINENO
2324 # --------------------------
2325 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2326 ac_fn_c_try_compile ()
2328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2329 rm -f conftest.$ac_objext
2330 if { { ac_try="$ac_compile"
2331 case "(($ac_try" in
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2334 esac
2335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_compile") 2>conftest.err
2338 ac_status=$?
2339 if test -s conftest.err; then
2340 grep -v '^ *+' conftest.err >conftest.er1
2341 cat conftest.er1 >&5
2342 mv -f conftest.er1 conftest.err
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; } && {
2346 test -z "$ac_c_werror_flag" ||
2347 test ! -s conftest.err
2348 } && test -s conftest.$ac_objext; then :
2349 ac_retval=0
2350 else
2351 $as_echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2354 ac_retval=1
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2357 as_fn_set_status $ac_retval
2359 } # ac_fn_c_try_compile
2361 # ac_fn_cxx_try_compile LINENO
2362 # ----------------------------
2363 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2364 ac_fn_cxx_try_compile ()
2366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367 rm -f conftest.$ac_objext
2368 if { { ac_try="$ac_compile"
2369 case "(($ac_try" in
2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2372 esac
2373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2374 $as_echo "$ac_try_echo"; } >&5
2375 (eval "$ac_compile") 2>conftest.err
2376 ac_status=$?
2377 if test -s conftest.err; then
2378 grep -v '^ *+' conftest.err >conftest.er1
2379 cat conftest.er1 >&5
2380 mv -f conftest.er1 conftest.err
2382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2383 test $ac_status = 0; } && {
2384 test -z "$ac_cxx_werror_flag" ||
2385 test ! -s conftest.err
2386 } && test -s conftest.$ac_objext; then :
2387 ac_retval=0
2388 else
2389 $as_echo "$as_me: failed program was:" >&5
2390 sed 's/^/| /' conftest.$ac_ext >&5
2392 ac_retval=1
2394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2395 as_fn_set_status $ac_retval
2397 } # ac_fn_cxx_try_compile
2399 # ac_fn_c_try_link LINENO
2400 # -----------------------
2401 # Try to link conftest.$ac_ext, and return whether this succeeded.
2402 ac_fn_c_try_link ()
2404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405 rm -f conftest.$ac_objext conftest$ac_exeext
2406 if { { ac_try="$ac_link"
2407 case "(($ac_try" in
2408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409 *) ac_try_echo=$ac_try;;
2410 esac
2411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2412 $as_echo "$ac_try_echo"; } >&5
2413 (eval "$ac_link") 2>conftest.err
2414 ac_status=$?
2415 if test -s conftest.err; then
2416 grep -v '^ *+' conftest.err >conftest.er1
2417 cat conftest.er1 >&5
2418 mv -f conftest.er1 conftest.err
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; } && {
2422 test -z "$ac_c_werror_flag" ||
2423 test ! -s conftest.err
2424 } && test -s conftest$ac_exeext && {
2425 test "$cross_compiling" = yes ||
2426 test -x conftest$ac_exeext
2427 }; then :
2428 ac_retval=0
2429 else
2430 $as_echo "$as_me: failed program was:" >&5
2431 sed 's/^/| /' conftest.$ac_ext >&5
2433 ac_retval=1
2435 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2436 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2437 # interfere with the next link command; also delete a directory that is
2438 # left behind by Apple's compiler. We do this before executing the actions.
2439 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441 as_fn_set_status $ac_retval
2443 } # ac_fn_c_try_link
2445 # ac_fn_c_try_cpp LINENO
2446 # ----------------------
2447 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2448 ac_fn_c_try_cpp ()
2450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2451 if { { ac_try="$ac_cpp conftest.$ac_ext"
2452 case "(($ac_try" in
2453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2454 *) ac_try_echo=$ac_try;;
2455 esac
2456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2457 $as_echo "$ac_try_echo"; } >&5
2458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2459 ac_status=$?
2460 if test -s conftest.err; then
2461 grep -v '^ *+' conftest.err >conftest.er1
2462 cat conftest.er1 >&5
2463 mv -f conftest.er1 conftest.err
2465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2466 test $ac_status = 0; } > conftest.i && {
2467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2468 test ! -s conftest.err
2469 }; then :
2470 ac_retval=0
2471 else
2472 $as_echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.$ac_ext >&5
2475 ac_retval=1
2477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2478 as_fn_set_status $ac_retval
2480 } # ac_fn_c_try_cpp
2482 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2483 # -------------------------------------------------------
2484 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2485 # the include files in INCLUDES and setting the cache variable VAR
2486 # accordingly.
2487 ac_fn_c_check_header_mongrel ()
2489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2490 if eval \${$3+:} false; then :
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2492 $as_echo_n "checking for $2... " >&6; }
2493 if eval \${$3+:} false; then :
2494 $as_echo_n "(cached) " >&6
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 else
2500 # Is the header compilable?
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2502 $as_echo_n "checking $2 usability... " >&6; }
2503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2504 /* end confdefs.h. */
2506 #include <$2>
2507 _ACEOF
2508 if ac_fn_c_try_compile "$LINENO"; then :
2509 ac_header_compiler=yes
2510 else
2511 ac_header_compiler=no
2513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2515 $as_echo "$ac_header_compiler" >&6; }
2517 # Is the header present?
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2519 $as_echo_n "checking $2 presence... " >&6; }
2520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2521 /* end confdefs.h. */
2522 #include <$2>
2523 _ACEOF
2524 if ac_fn_c_try_cpp "$LINENO"; then :
2525 ac_header_preproc=yes
2526 else
2527 ac_header_preproc=no
2529 rm -f conftest.err conftest.i conftest.$ac_ext
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2531 $as_echo "$ac_header_preproc" >&6; }
2533 # So? What about this header?
2534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2535 yes:no: )
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2537 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2539 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2541 no:yes:* )
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2543 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2545 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2547 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2549 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2551 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2552 ( $as_echo "## ------------------------------------ ##
2553 ## Report this to wine-devel@winehq.org ##
2554 ## ------------------------------------ ##"
2555 ) | sed "s/^/$as_me: WARNING: /" >&2
2557 esac
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2559 $as_echo_n "checking for $2... " >&6; }
2560 if eval \${$3+:} false; then :
2561 $as_echo_n "(cached) " >&6
2562 else
2563 eval "$3=\$ac_header_compiler"
2565 eval ac_res=\$$3
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2567 $as_echo "$ac_res" >&6; }
2569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 } # ac_fn_c_check_header_mongrel
2573 # ac_fn_c_try_run LINENO
2574 # ----------------------
2575 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2576 # that executables *can* be run.
2577 ac_fn_c_try_run ()
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 if { { ac_try="$ac_link"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_link") 2>&5
2588 ac_status=$?
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2591 { { case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2594 esac
2595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596 $as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_try") 2>&5
2598 ac_status=$?
2599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2600 test $ac_status = 0; }; }; then :
2601 ac_retval=0
2602 else
2603 $as_echo "$as_me: program exited with status $ac_status" >&5
2604 $as_echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2607 ac_retval=$ac_status
2609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2610 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 as_fn_set_status $ac_retval
2613 } # ac_fn_c_try_run
2615 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2616 # -------------------------------------------------------
2617 # Tests whether HEADER exists and can be compiled using the include files in
2618 # INCLUDES, setting the cache variable VAR accordingly.
2619 ac_fn_c_check_header_compile ()
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2623 $as_echo_n "checking for $2... " >&6; }
2624 if eval \${$3+:} false; then :
2625 $as_echo_n "(cached) " >&6
2626 else
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2630 #include <$2>
2631 _ACEOF
2632 if ac_fn_c_try_compile "$LINENO"; then :
2633 eval "$3=yes"
2634 else
2635 eval "$3=no"
2637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2639 eval ac_res=\$$3
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2641 $as_echo "$ac_res" >&6; }
2642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2644 } # ac_fn_c_check_header_compile
2646 # ac_fn_c_check_func LINENO FUNC VAR
2647 # ----------------------------------
2648 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2649 ac_fn_c_check_func ()
2651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2653 $as_echo_n "checking for $2... " >&6; }
2654 if eval \${$3+:} false; then :
2655 $as_echo_n "(cached) " >&6
2656 else
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2659 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2661 #define $2 innocuous_$2
2663 /* System header to define __stub macros and hopefully few prototypes,
2664 which can conflict with char $2 (); below.
2665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2666 <limits.h> exists even on freestanding compilers. */
2668 #ifdef __STDC__
2669 # include <limits.h>
2670 #else
2671 # include <assert.h>
2672 #endif
2674 #undef $2
2676 /* Override any GCC internal prototype to avoid an error.
2677 Use char because int might match the return type of a GCC
2678 builtin and then its argument prototype would still apply. */
2679 #ifdef __cplusplus
2680 extern "C"
2681 #endif
2682 char $2 ();
2683 /* The GNU C library defines this for functions which it implements
2684 to always fail with ENOSYS. Some functions are actually named
2685 something starting with __ and the normal name is an alias. */
2686 #if defined __stub_$2 || defined __stub___$2
2687 choke me
2688 #endif
2691 main ()
2693 return $2 ();
2695 return 0;
2697 _ACEOF
2698 if ac_fn_c_try_link "$LINENO"; then :
2699 eval "$3=yes"
2700 else
2701 eval "$3=no"
2703 rm -f core conftest.err conftest.$ac_objext \
2704 conftest$ac_exeext conftest.$ac_ext
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_func
2713 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2714 # ----------------------------------------------------
2715 # Tries to find if the field MEMBER exists in type AGGR, after including
2716 # INCLUDES, setting cache variable VAR accordingly.
2717 ac_fn_c_check_member ()
2719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2721 $as_echo_n "checking for $2.$3... " >&6; }
2722 if eval \${$4+:} false; then :
2723 $as_echo_n "(cached) " >&6
2724 else
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2729 main ()
2731 static $2 ac_aggr;
2732 if (ac_aggr.$3)
2733 return 0;
2735 return 0;
2737 _ACEOF
2738 if ac_fn_c_try_compile "$LINENO"; then :
2739 eval "$4=yes"
2740 else
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2745 main ()
2747 static $2 ac_aggr;
2748 if (sizeof ac_aggr.$3)
2749 return 0;
2751 return 0;
2753 _ACEOF
2754 if ac_fn_c_try_compile "$LINENO"; then :
2755 eval "$4=yes"
2756 else
2757 eval "$4=no"
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 eval ac_res=\$$4
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2765 $as_echo "$ac_res" >&6; }
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2768 } # ac_fn_c_check_member
2770 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2771 # -------------------------------------------
2772 # Tests whether TYPE exists after having included INCLUDES, setting cache
2773 # variable VAR accordingly.
2774 ac_fn_c_check_type ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2781 else
2782 eval "$3=no"
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2787 main ()
2789 if (sizeof ($2))
2790 return 0;
2792 return 0;
2794 _ACEOF
2795 if ac_fn_c_try_compile "$LINENO"; then :
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797 /* end confdefs.h. */
2800 main ()
2802 if (sizeof (($2)))
2803 return 0;
2805 return 0;
2807 _ACEOF
2808 if ac_fn_c_try_compile "$LINENO"; then :
2810 else
2811 eval "$3=yes"
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 eval ac_res=\$$3
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2819 $as_echo "$ac_res" >&6; }
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822 } # ac_fn_c_check_type
2823 cat >config.log <<_ACEOF
2824 This file contains any messages produced by compilers while
2825 running configure, to aid debugging if configure makes a mistake.
2827 It was created by Wine $as_me 1.7.47, which was
2828 generated by GNU Autoconf 2.69. Invocation command line was
2830 $ $0 $@
2832 _ACEOF
2833 exec 5>>config.log
2835 cat <<_ASUNAME
2836 ## --------- ##
2837 ## Platform. ##
2838 ## --------- ##
2840 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2841 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2842 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2843 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2844 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2846 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2847 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2849 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2850 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2851 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2852 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2853 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2854 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2855 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2857 _ASUNAME
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2862 IFS=$as_save_IFS
2863 test -z "$as_dir" && as_dir=.
2864 $as_echo "PATH: $as_dir"
2865 done
2866 IFS=$as_save_IFS
2868 } >&5
2870 cat >&5 <<_ACEOF
2873 ## ----------- ##
2874 ## Core tests. ##
2875 ## ----------- ##
2877 _ACEOF
2880 # Keep a trace of the command line.
2881 # Strip out --no-create and --no-recursion so they do not pile up.
2882 # Strip out --silent because we don't want to record it for future runs.
2883 # Also quote any args containing shell meta-characters.
2884 # Make two passes to allow for proper duplicate-argument suppression.
2885 ac_configure_args=
2886 ac_configure_args0=
2887 ac_configure_args1=
2888 ac_must_keep_next=false
2889 for ac_pass in 1 2
2891 for ac_arg
2893 case $ac_arg in
2894 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2896 | -silent | --silent | --silen | --sile | --sil)
2897 continue ;;
2898 *\'*)
2899 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2900 esac
2901 case $ac_pass in
2902 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2904 as_fn_append ac_configure_args1 " '$ac_arg'"
2905 if test $ac_must_keep_next = true; then
2906 ac_must_keep_next=false # Got value, back to normal.
2907 else
2908 case $ac_arg in
2909 *=* | --config-cache | -C | -disable-* | --disable-* \
2910 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2911 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2912 | -with-* | --with-* | -without-* | --without-* | --x)
2913 case "$ac_configure_args0 " in
2914 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2915 esac
2917 -* ) ac_must_keep_next=true ;;
2918 esac
2920 as_fn_append ac_configure_args " '$ac_arg'"
2922 esac
2923 done
2924 done
2925 { ac_configure_args0=; unset ac_configure_args0;}
2926 { ac_configure_args1=; unset ac_configure_args1;}
2928 # When interrupted or exit'd, cleanup temporary files, and complete
2929 # config.log. We remove comments because anyway the quotes in there
2930 # would cause problems or look ugly.
2931 # WARNING: Use '\'' to represent an apostrophe within the trap.
2932 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2933 trap 'exit_status=$?
2934 # Save into config.log some information that might help in debugging.
2936 echo
2938 $as_echo "## ---------------- ##
2939 ## Cache variables. ##
2940 ## ---------------- ##"
2941 echo
2942 # The following way of writing the cache mishandles newlines in values,
2944 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2945 eval ac_val=\$$ac_var
2946 case $ac_val in #(
2947 *${as_nl}*)
2948 case $ac_var in #(
2949 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2951 esac
2952 case $ac_var in #(
2953 _ | IFS | as_nl) ;; #(
2954 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2955 *) { eval $ac_var=; unset $ac_var;} ;;
2956 esac ;;
2957 esac
2958 done
2959 (set) 2>&1 |
2960 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2961 *${as_nl}ac_space=\ *)
2962 sed -n \
2963 "s/'\''/'\''\\\\'\'''\''/g;
2964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2965 ;; #(
2967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2969 esac |
2970 sort
2972 echo
2974 $as_echo "## ----------------- ##
2975 ## Output variables. ##
2976 ## ----------------- ##"
2977 echo
2978 for ac_var in $ac_subst_vars
2980 eval ac_val=\$$ac_var
2981 case $ac_val in
2982 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2983 esac
2984 $as_echo "$ac_var='\''$ac_val'\''"
2985 done | sort
2986 echo
2988 if test -n "$ac_subst_files"; then
2989 $as_echo "## ------------------- ##
2990 ## File substitutions. ##
2991 ## ------------------- ##"
2992 echo
2993 for ac_var in $ac_subst_files
2995 eval ac_val=\$$ac_var
2996 case $ac_val in
2997 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2998 esac
2999 $as_echo "$ac_var='\''$ac_val'\''"
3000 done | sort
3001 echo
3004 if test -s confdefs.h; then
3005 $as_echo "## ----------- ##
3006 ## confdefs.h. ##
3007 ## ----------- ##"
3008 echo
3009 cat confdefs.h
3010 echo
3012 test "$ac_signal" != 0 &&
3013 $as_echo "$as_me: caught signal $ac_signal"
3014 $as_echo "$as_me: exit $exit_status"
3015 } >&5
3016 rm -f core *.core core.conftest.* &&
3017 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3018 exit $exit_status
3020 for ac_signal in 1 2 13 15; do
3021 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3022 done
3023 ac_signal=0
3025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3026 rm -f -r conftest* confdefs.h
3028 $as_echo "/* confdefs.h */" > confdefs.h
3030 # Predefined preprocessor variables.
3032 cat >>confdefs.h <<_ACEOF
3033 #define PACKAGE_NAME "$PACKAGE_NAME"
3034 _ACEOF
3036 cat >>confdefs.h <<_ACEOF
3037 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3038 _ACEOF
3040 cat >>confdefs.h <<_ACEOF
3041 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3042 _ACEOF
3044 cat >>confdefs.h <<_ACEOF
3045 #define PACKAGE_STRING "$PACKAGE_STRING"
3046 _ACEOF
3048 cat >>confdefs.h <<_ACEOF
3049 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3050 _ACEOF
3052 cat >>confdefs.h <<_ACEOF
3053 #define PACKAGE_URL "$PACKAGE_URL"
3054 _ACEOF
3057 # Let the site file select an alternate cache file if it wants to.
3058 # Prefer an explicitly selected file to automatically selected ones.
3059 ac_site_file1=NONE
3060 ac_site_file2=NONE
3061 if test -n "$CONFIG_SITE"; then
3062 # We do not want a PATH search for config.site.
3063 case $CONFIG_SITE in #((
3064 -*) ac_site_file1=./$CONFIG_SITE;;
3065 */*) ac_site_file1=$CONFIG_SITE;;
3066 *) ac_site_file1=./$CONFIG_SITE;;
3067 esac
3068 elif test "x$prefix" != xNONE; then
3069 ac_site_file1=$prefix/share/config.site
3070 ac_site_file2=$prefix/etc/config.site
3071 else
3072 ac_site_file1=$ac_default_prefix/share/config.site
3073 ac_site_file2=$ac_default_prefix/etc/config.site
3075 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3077 test "x$ac_site_file" = xNONE && continue
3078 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3080 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3081 sed 's/^/| /' "$ac_site_file" >&5
3082 . "$ac_site_file" \
3083 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 as_fn_error $? "failed to load site script $ac_site_file
3086 See \`config.log' for more details" "$LINENO" 5; }
3088 done
3090 if test -r "$cache_file"; then
3091 # Some versions of bash will fail to source /dev/null (special files
3092 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3093 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3095 $as_echo "$as_me: loading cache $cache_file" >&6;}
3096 case $cache_file in
3097 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3098 *) . "./$cache_file";;
3099 esac
3101 else
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3103 $as_echo "$as_me: creating cache $cache_file" >&6;}
3104 >$cache_file
3107 # Check that the precious variables saved in the cache have kept the same
3108 # value.
3109 ac_cache_corrupted=false
3110 for ac_var in $ac_precious_vars; do
3111 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3112 eval ac_new_set=\$ac_env_${ac_var}_set
3113 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3114 eval ac_new_val=\$ac_env_${ac_var}_value
3115 case $ac_old_set,$ac_new_set in
3116 set,)
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3118 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3119 ac_cache_corrupted=: ;;
3120 ,set)
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3122 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3123 ac_cache_corrupted=: ;;
3124 ,);;
3126 if test "x$ac_old_val" != "x$ac_new_val"; then
3127 # differences in whitespace do not lead to failure.
3128 ac_old_val_w=`echo x $ac_old_val`
3129 ac_new_val_w=`echo x $ac_new_val`
3130 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3132 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3133 ac_cache_corrupted=:
3134 else
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3136 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3137 eval $ac_var=\$ac_old_val
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3140 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3142 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3143 fi;;
3144 esac
3145 # Pass precious variables to config.status.
3146 if test "$ac_new_set" = set; then
3147 case $ac_new_val in
3148 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3149 *) ac_arg=$ac_var=$ac_new_val ;;
3150 esac
3151 case " $ac_configure_args " in
3152 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3153 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3154 esac
3156 done
3157 if $ac_cache_corrupted; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3161 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3162 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3164 ## -------------------- ##
3165 ## Main body of script. ##
3166 ## -------------------- ##
3168 ac_ext=c
3169 ac_cpp='$CPP $CPPFLAGS'
3170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3176 ac_config_headers="$ac_config_headers include/config.h"
3178 ac_aux_dir=
3179 for ac_dir in tools "$srcdir"/tools; do
3180 if test -f "$ac_dir/install-sh"; then
3181 ac_aux_dir=$ac_dir
3182 ac_install_sh="$ac_aux_dir/install-sh -c"
3183 break
3184 elif test -f "$ac_dir/install.sh"; then
3185 ac_aux_dir=$ac_dir
3186 ac_install_sh="$ac_aux_dir/install.sh -c"
3187 break
3188 elif test -f "$ac_dir/shtool"; then
3189 ac_aux_dir=$ac_dir
3190 ac_install_sh="$ac_aux_dir/shtool install -c"
3191 break
3193 done
3194 if test -z "$ac_aux_dir"; then
3195 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3198 # These three variables are undocumented and unsupported,
3199 # and are intended to be withdrawn in a future Autoconf release.
3200 # They can cause serious problems if a builder's source tree is in a directory
3201 # whose full name contains unusual characters.
3202 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3203 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3204 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3208 libwine_version="1.0"
3212 # Check whether --enable-win16 was given.
3213 if test "${enable_win16+set}" = set; then :
3214 enableval=$enable_win16;
3217 # Check whether --enable-win64 was given.
3218 if test "${enable_win64+set}" = set; then :
3219 enableval=$enable_win64;
3222 # Check whether --enable-tests was given.
3223 if test "${enable_tests+set}" = set; then :
3224 enableval=$enable_tests;
3227 # Check whether --enable-maintainer-mode was given.
3228 if test "${enable_maintainer_mode+set}" = set; then :
3229 enableval=$enable_maintainer_mode;
3234 # Check whether --with-alsa was given.
3235 if test "${with_alsa+set}" = set; then :
3236 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3240 # Check whether --with-capi was given.
3241 if test "${with_capi+set}" = set; then :
3242 withval=$with_capi;
3246 # Check whether --with-cms was given.
3247 if test "${with_cms+set}" = set; then :
3248 withval=$with_cms;
3252 # Check whether --with-coreaudio was given.
3253 if test "${with_coreaudio+set}" = set; then :
3254 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3258 # Check whether --with-cups was given.
3259 if test "${with_cups+set}" = set; then :
3260 withval=$with_cups;
3264 # Check whether --with-curses was given.
3265 if test "${with_curses+set}" = set; then :
3266 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3270 # Check whether --with-dbus was given.
3271 if test "${with_dbus+set}" = set; then :
3272 withval=$with_dbus;
3276 # Check whether --with-fontconfig was given.
3277 if test "${with_fontconfig+set}" = set; then :
3278 withval=$with_fontconfig;
3282 # Check whether --with-freetype was given.
3283 if test "${with_freetype+set}" = set; then :
3284 withval=$with_freetype;
3288 # Check whether --with-gettext was given.
3289 if test "${with_gettext+set}" = set; then :
3290 withval=$with_gettext;
3294 # Check whether --with-gettextpo was given.
3295 if test "${with_gettextpo+set}" = set; then :
3296 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3300 # Check whether --with-gphoto was given.
3301 if test "${with_gphoto+set}" = set; then :
3302 withval=$with_gphoto;
3306 # Check whether --with-glu was given.
3307 if test "${with_glu+set}" = set; then :
3308 withval=$with_glu;
3312 # Check whether --with-gnutls was given.
3313 if test "${with_gnutls+set}" = set; then :
3314 withval=$with_gnutls;
3318 # Check whether --with-gsm was given.
3319 if test "${with_gsm+set}" = set; then :
3320 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3324 # Check whether --with-gstreamer was given.
3325 if test "${with_gstreamer+set}" = set; then :
3326 withval=$with_gstreamer;
3330 # Check whether --with-hal was given.
3331 if test "${with_hal+set}" = set; then :
3332 withval=$with_hal;
3336 # Check whether --with-jpeg was given.
3337 if test "${with_jpeg+set}" = set; then :
3338 withval=$with_jpeg;
3342 # Check whether --with-ldap was given.
3343 if test "${with_ldap+set}" = set; then :
3344 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3348 # Check whether --with-mpg123 was given.
3349 if test "${with_mpg123+set}" = set; then :
3350 withval=$with_mpg123;
3354 # Check whether --with-netapi was given.
3355 if test "${with_netapi+set}" = set; then :
3356 withval=$with_netapi;
3360 # Check whether --with-openal was given.
3361 if test "${with_openal+set}" = set; then :
3362 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3366 # Check whether --with-opencl was given.
3367 if test "${with_opencl+set}" = set; then :
3368 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3372 # Check whether --with-opengl was given.
3373 if test "${with_opengl+set}" = set; then :
3374 withval=$with_opengl;
3378 # Check whether --with-osmesa was given.
3379 if test "${with_osmesa+set}" = set; then :
3380 withval=$with_osmesa;
3384 # Check whether --with-oss was given.
3385 if test "${with_oss+set}" = set; then :
3386 withval=$with_oss;
3390 # Check whether --with-pcap was given.
3391 if test "${with_pcap+set}" = set; then :
3392 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3396 # Check whether --with-png was given.
3397 if test "${with_png+set}" = set; then :
3398 withval=$with_png;
3402 # Check whether --with-pthread was given.
3403 if test "${with_pthread+set}" = set; then :
3404 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3408 # Check whether --with-sane was given.
3409 if test "${with_sane+set}" = set; then :
3410 withval=$with_sane;
3414 # Check whether --with-tiff was given.
3415 if test "${with_tiff+set}" = set; then :
3416 withval=$with_tiff;
3420 # Check whether --with-v4l was given.
3421 if test "${with_v4l+set}" = set; then :
3422 withval=$with_v4l;
3426 # Check whether --with-xcomposite was given.
3427 if test "${with_xcomposite+set}" = set; then :
3428 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3432 # Check whether --with-xcursor was given.
3433 if test "${with_xcursor+set}" = set; then :
3434 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3438 # Check whether --with-xinerama was given.
3439 if test "${with_xinerama+set}" = set; then :
3440 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3444 # Check whether --with-xinput was given.
3445 if test "${with_xinput+set}" = set; then :
3446 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3450 # Check whether --with-xinput2 was given.
3451 if test "${with_xinput2+set}" = set; then :
3452 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3456 # Check whether --with-xml was given.
3457 if test "${with_xml+set}" = set; then :
3458 withval=$with_xml;
3462 # Check whether --with-xrandr was given.
3463 if test "${with_xrandr+set}" = set; then :
3464 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3468 # Check whether --with-xrender was given.
3469 if test "${with_xrender+set}" = set; then :
3470 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3474 # Check whether --with-xshape was given.
3475 if test "${with_xshape+set}" = set; then :
3476 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3480 # Check whether --with-xshm was given.
3481 if test "${with_xshm+set}" = set; then :
3482 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3486 # Check whether --with-xslt was given.
3487 if test "${with_xslt+set}" = set; then :
3488 withval=$with_xslt;
3492 # Check whether --with-xxf86vm was given.
3493 if test "${with_xxf86vm+set}" = set; then :
3494 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
3498 # Check whether --with-zlib was given.
3499 if test "${with_zlib+set}" = set; then :
3500 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3505 # Check whether --with-wine-tools was given.
3506 if test "${with_wine_tools+set}" = set; then :
3507 withval=$with_wine_tools;
3511 # Check whether --with-wine64 was given.
3512 if test "${with_wine64+set}" = set; then :
3513 withval=$with_wine64;
3517 # Make sure we can run config.sub.
3518 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3519 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3522 $as_echo_n "checking build system type... " >&6; }
3523 if ${ac_cv_build+:} false; then :
3524 $as_echo_n "(cached) " >&6
3525 else
3526 ac_build_alias=$build_alias
3527 test "x$ac_build_alias" = x &&
3528 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3529 test "x$ac_build_alias" = x &&
3530 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3531 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3536 $as_echo "$ac_cv_build" >&6; }
3537 case $ac_cv_build in
3538 *-*-*) ;;
3539 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3540 esac
3541 build=$ac_cv_build
3542 ac_save_IFS=$IFS; IFS='-'
3543 set x $ac_cv_build
3544 shift
3545 build_cpu=$1
3546 build_vendor=$2
3547 shift; shift
3548 # Remember, the first character of IFS is used to create $*,
3549 # except with old shells:
3550 build_os=$*
3551 IFS=$ac_save_IFS
3552 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3556 $as_echo_n "checking host system type... " >&6; }
3557 if ${ac_cv_host+:} false; then :
3558 $as_echo_n "(cached) " >&6
3559 else
3560 if test "x$host_alias" = x; then
3561 ac_cv_host=$ac_cv_build
3562 else
3563 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3564 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3569 $as_echo "$ac_cv_host" >&6; }
3570 case $ac_cv_host in
3571 *-*-*) ;;
3572 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3573 esac
3574 host=$ac_cv_host
3575 ac_save_IFS=$IFS; IFS='-'
3576 set x $ac_cv_host
3577 shift
3578 host_cpu=$1
3579 host_vendor=$2
3580 shift; shift
3581 # Remember, the first character of IFS is used to create $*,
3582 # except with old shells:
3583 host_os=$*
3584 IFS=$ac_save_IFS
3585 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3589 case "$srcdir" in
3590 .) ;;
3591 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3592 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3593 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3594 fi ;;
3595 esac
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3599 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3600 set x ${MAKE-make}
3601 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3602 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 cat >conftest.make <<\_ACEOF
3606 SHELL = /bin/sh
3607 all:
3608 @echo '@@@%%%=$(MAKE)=@@@%%%'
3609 _ACEOF
3610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3611 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3612 *@@@%%%=?*=@@@%%%*)
3613 eval ac_cv_prog_make_${ac_make}_set=yes;;
3615 eval ac_cv_prog_make_${ac_make}_set=no;;
3616 esac
3617 rm -f conftest.make
3619 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3621 $as_echo "yes" >&6; }
3622 SET_MAKE=
3623 else
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3626 SET_MAKE="MAKE=${MAKE-make}"
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if ${ac_cv_prog_CC+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test -z "$ac_cv_prog_CC"; then
3674 ac_ct_CC=$CC
3675 # Extract the first word of "gcc", so it can be a program name with args.
3676 set dummy gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$ac_ct_CC"; then
3683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3692 ac_cv_prog_ac_ct_CC="gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703 if test -n "$ac_ct_CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705 $as_echo "$ac_ct_CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3711 if test "x$ac_ct_CC" = x; then
3712 CC=""
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720 CC=$ac_ct_CC
3722 else
3723 CC="$ac_cv_prog_CC"
3726 if test -z "$CC"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_CC="${ac_tool_prefix}cc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 # Extract the first word of "cc", so it can be a program name with args.
3769 set dummy cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CC+:} false; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 ac_prog_rejected=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3787 ac_prog_rejected=yes
3788 continue
3790 ac_cv_prog_CC="cc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3798 if test $ac_prog_rejected = yes; then
3799 # We found a bogon in the path, so make sure we never use it.
3800 set dummy $ac_cv_prog_CC
3801 shift
3802 if test $# != 0; then
3803 # We chose a different compiler from the bogus one.
3804 # However, it has the same basename, so the bogon will be chosen
3805 # first if we set CC to just the basename; use the full file name.
3806 shift
3807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in cl.exe
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$CC" && break
3865 done
3867 if test -z "$CC"; then
3868 ac_ct_CC=$CC
3869 for ac_prog in cl.exe
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3888 ac_cv_prog_ac_ct_CC="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$ac_ct_CC" && break
3909 done
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3919 esac
3920 CC=$ac_ct_CC
3927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3929 as_fn_error $? "no acceptable C compiler found in \$PATH
3930 See \`config.log' for more details" "$LINENO" 5; }
3932 # Provide some information about the compiler.
3933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 set X $ac_compile
3935 ac_compiler=$2
3936 for ac_option in --version -v -V -qversion; do
3937 { { ac_try="$ac_compiler $ac_option >&5"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3945 ac_status=$?
3946 if test -s conftest.err; then
3947 sed '10a\
3948 ... rest of stderr output deleted ...
3949 10q' conftest.err >conftest.er1
3950 cat conftest.er1 >&5
3952 rm -f conftest.er1 conftest.err
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 done
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 main ()
3965 return 0;
3967 _ACEOF
3968 ac_clean_files_save=$ac_clean_files
3969 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3970 # Try to create an executable without -o first, disregard a.out.
3971 # It will help us diagnose broken compilers, and finding out an intuition
3972 # of exeext.
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3974 $as_echo_n "checking whether the C compiler works... " >&6; }
3975 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3977 # The possible output files:
3978 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3980 ac_rmfiles=
3981 for ac_file in $ac_files
3983 case $ac_file in
3984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3985 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3986 esac
3987 done
3988 rm -f $ac_rmfiles
3990 if { { ac_try="$ac_link_default"
3991 case "(($ac_try" in
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3994 esac
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_link_default") 2>&5
3998 ac_status=$?
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; then :
4001 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4002 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4003 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4004 # so that the user can short-circuit this test for compilers unknown to
4005 # Autoconf.
4006 for ac_file in $ac_files ''
4008 test -f "$ac_file" || continue
4009 case $ac_file in
4010 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4012 [ab].out )
4013 # We found the default executable, but exeext='' is most
4014 # certainly right.
4015 break;;
4016 *.* )
4017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4018 then :; else
4019 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4021 # We set ac_cv_exeext here because the later test for it is not
4022 # safe: cross compilers may not add the suffix if given an `-o'
4023 # argument, so we may need to know it at that point already.
4024 # Even if this section looks crufty: it has the advantage of
4025 # actually working.
4026 break;;
4028 break;;
4029 esac
4030 done
4031 test "$ac_cv_exeext" = no && ac_cv_exeext=
4033 else
4034 ac_file=''
4036 if test -z "$ac_file"; then :
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4039 $as_echo "$as_me: failed program was:" >&5
4040 sed 's/^/| /' conftest.$ac_ext >&5
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error 77 "C compiler cannot create executables
4045 See \`config.log' for more details" "$LINENO" 5; }
4046 else
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4048 $as_echo "yes" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4051 $as_echo_n "checking for C compiler default output file name... " >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4053 $as_echo "$ac_file" >&6; }
4054 ac_exeext=$ac_cv_exeext
4056 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4057 ac_clean_files=$ac_clean_files_save
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4059 $as_echo_n "checking for suffix of executables... " >&6; }
4060 if { { ac_try="$ac_link"
4061 case "(($ac_try" in
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4064 esac
4065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4066 $as_echo "$ac_try_echo"; } >&5
4067 (eval "$ac_link") 2>&5
4068 ac_status=$?
4069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4070 test $ac_status = 0; }; then :
4071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4073 # work properly (i.e., refer to `conftest.exe'), while it won't with
4074 # `rm'.
4075 for ac_file in conftest.exe conftest conftest.*; do
4076 test -f "$ac_file" || continue
4077 case $ac_file in
4078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4080 break;;
4081 * ) break;;
4082 esac
4083 done
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 compute suffix of executables: cannot compile and link
4088 See \`config.log' for more details" "$LINENO" 5; }
4090 rm -f conftest conftest$ac_cv_exeext
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4092 $as_echo "$ac_cv_exeext" >&6; }
4094 rm -f conftest.$ac_ext
4095 EXEEXT=$ac_cv_exeext
4096 ac_exeext=$EXEEXT
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4099 #include <stdio.h>
4101 main ()
4103 FILE *f = fopen ("conftest.out", "w");
4104 return ferror (f) || fclose (f) != 0;
4107 return 0;
4109 _ACEOF
4110 ac_clean_files="$ac_clean_files conftest.out"
4111 # Check that the compiler produces executables we can run. If not, either
4112 # the compiler is broken, or we cross compile.
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4114 $as_echo_n "checking whether we are cross compiling... " >&6; }
4115 if test "$cross_compiling" != yes; then
4116 { { ac_try="$ac_link"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_link") 2>&5
4124 ac_status=$?
4125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4126 test $ac_status = 0; }
4127 if { ac_try='./conftest$ac_cv_exeext'
4128 { { case "(($ac_try" in
4129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130 *) ac_try_echo=$ac_try;;
4131 esac
4132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4133 $as_echo "$ac_try_echo"; } >&5
4134 (eval "$ac_try") 2>&5
4135 ac_status=$?
4136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4137 test $ac_status = 0; }; }; then
4138 cross_compiling=no
4139 else
4140 if test "$cross_compiling" = maybe; then
4141 cross_compiling=yes
4142 else
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error $? "cannot run C compiled programs.
4146 If you meant to cross compile, use \`--host'.
4147 See \`config.log' for more details" "$LINENO" 5; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4152 $as_echo "$cross_compiling" >&6; }
4154 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4155 ac_clean_files=$ac_clean_files_save
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4157 $as_echo_n "checking for suffix of object files... " >&6; }
4158 if ${ac_cv_objext+:} false; then :
4159 $as_echo_n "(cached) " >&6
4160 else
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4165 main ()
4169 return 0;
4171 _ACEOF
4172 rm -f conftest.o conftest.obj
4173 if { { ac_try="$ac_compile"
4174 case "(($ac_try" in
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4177 esac
4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4179 $as_echo "$ac_try_echo"; } >&5
4180 (eval "$ac_compile") 2>&5
4181 ac_status=$?
4182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4183 test $ac_status = 0; }; then :
4184 for ac_file in conftest.o conftest.obj conftest.*; do
4185 test -f "$ac_file" || continue;
4186 case $ac_file in
4187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4188 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4189 break;;
4190 esac
4191 done
4192 else
4193 $as_echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.$ac_ext >&5
4196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4198 as_fn_error $? "cannot compute suffix of object files: cannot compile
4199 See \`config.log' for more details" "$LINENO" 5; }
4201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4204 $as_echo "$ac_cv_objext" >&6; }
4205 OBJEXT=$ac_cv_objext
4206 ac_objext=$OBJEXT
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4209 if ${ac_cv_c_compiler_gnu+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4216 main ()
4218 #ifndef __GNUC__
4219 choke me
4220 #endif
4223 return 0;
4225 _ACEOF
4226 if ac_fn_c_try_compile "$LINENO"; then :
4227 ac_compiler_gnu=yes
4228 else
4229 ac_compiler_gnu=no
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4237 if test $ac_compiler_gnu = yes; then
4238 GCC=yes
4239 else
4240 GCC=
4242 ac_test_CFLAGS=${CFLAGS+set}
4243 ac_save_CFLAGS=$CFLAGS
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4246 if ${ac_cv_prog_cc_g+:} false; then :
4247 $as_echo_n "(cached) " >&6
4248 else
4249 ac_save_c_werror_flag=$ac_c_werror_flag
4250 ac_c_werror_flag=yes
4251 ac_cv_prog_cc_g=no
4252 CFLAGS="-g"
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 if ac_fn_c_try_compile "$LINENO"; then :
4265 ac_cv_prog_cc_g=yes
4266 else
4267 CFLAGS=""
4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 /* end confdefs.h. */
4272 main ()
4276 return 0;
4278 _ACEOF
4279 if ac_fn_c_try_compile "$LINENO"; then :
4281 else
4282 ac_c_werror_flag=$ac_save_c_werror_flag
4283 CFLAGS="-g"
4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4288 main ()
4292 return 0;
4294 _ACEOF
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_g=yes
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 ac_c_werror_flag=$ac_save_c_werror_flag
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4306 $as_echo "$ac_cv_prog_cc_g" >&6; }
4307 if test "$ac_test_CFLAGS" = set; then
4308 CFLAGS=$ac_save_CFLAGS
4309 elif test $ac_cv_prog_cc_g = yes; then
4310 if test "$GCC" = yes; then
4311 CFLAGS="-g -O2"
4312 else
4313 CFLAGS="-g"
4315 else
4316 if test "$GCC" = yes; then
4317 CFLAGS="-O2"
4318 else
4319 CFLAGS=
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4324 if ${ac_cv_prog_cc_c89+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 ac_cv_prog_cc_c89=no
4328 ac_save_CC=$CC
4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4330 /* end confdefs.h. */
4331 #include <stdarg.h>
4332 #include <stdio.h>
4333 struct stat;
4334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4335 struct buf { int x; };
4336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4337 static char *e (p, i)
4338 char **p;
4339 int i;
4341 return p[i];
4343 static char *f (char * (*g) (char **, int), char **p, ...)
4345 char *s;
4346 va_list v;
4347 va_start (v,p);
4348 s = g (p, va_arg (v,int));
4349 va_end (v);
4350 return s;
4353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4354 function prototypes and stuff, but not '\xHH' hex character constants.
4355 These don't provoke an error unfortunately, instead are silently treated
4356 as 'x'. The following induces an error, until -std is added to get
4357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4358 array size at least. It's necessary to write '\x00'==0 to get something
4359 that's true only with -std. */
4360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4362 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4363 inside strings and character constants. */
4364 #define FOO(x) 'x'
4365 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4367 int test (int i, double x);
4368 struct s1 {int (*f) (int a);};
4369 struct s2 {int (*f) (double a);};
4370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4371 int argc;
4372 char **argv;
4374 main ()
4376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4378 return 0;
4380 _ACEOF
4381 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4382 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4384 CC="$ac_save_CC $ac_arg"
4385 if ac_fn_c_try_compile "$LINENO"; then :
4386 ac_cv_prog_cc_c89=$ac_arg
4388 rm -f core conftest.err conftest.$ac_objext
4389 test "x$ac_cv_prog_cc_c89" != "xno" && break
4390 done
4391 rm -f conftest.$ac_ext
4392 CC=$ac_save_CC
4395 # AC_CACHE_VAL
4396 case "x$ac_cv_prog_cc_c89" in
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4399 $as_echo "none needed" >&6; } ;;
4400 xno)
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4402 $as_echo "unsupported" >&6; } ;;
4404 CC="$CC $ac_cv_prog_cc_c89"
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4406 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4407 esac
4408 if test "x$ac_cv_prog_cc_c89" != xno; then :
4412 ac_ext=c
4413 ac_cpp='$CPP $CPPFLAGS'
4414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4418 ac_ext=cpp
4419 ac_cpp='$CXXCPP $CPPFLAGS'
4420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4423 if test -z "$CXX"; then
4424 if test -n "$CCC"; then
4425 CXX=$CCC
4426 else
4427 if test -n "$ac_tool_prefix"; then
4428 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CXX+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CXX"; then
4438 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CXX=$ac_cv_prog_CXX
4458 if test -n "$CXX"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4460 $as_echo "$CXX" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 test -n "$CXX" && break
4468 done
4470 if test -z "$CXX"; then
4471 ac_ct_CXX=$CXX
4472 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy $ac_prog; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 if test -n "$ac_ct_CXX"; then
4482 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4483 else
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4487 IFS=$as_save_IFS
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_CXX="$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4501 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4502 if test -n "$ac_ct_CXX"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4504 $as_echo "$ac_ct_CXX" >&6; }
4505 else
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$ac_ct_CXX" && break
4512 done
4514 if test "x$ac_ct_CXX" = x; then
4515 CXX="g++"
4516 else
4517 case $cross_compiling:$ac_tool_warned in
4518 yes:)
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521 ac_tool_warned=yes ;;
4522 esac
4523 CXX=$ac_ct_CXX
4529 # Provide some information about the compiler.
4530 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4531 set X $ac_compile
4532 ac_compiler=$2
4533 for ac_option in --version -v -V -qversion; do
4534 { { ac_try="$ac_compiler $ac_option >&5"
4535 case "(($ac_try" in
4536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4538 esac
4539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4540 $as_echo "$ac_try_echo"; } >&5
4541 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4542 ac_status=$?
4543 if test -s conftest.err; then
4544 sed '10a\
4545 ... rest of stderr output deleted ...
4546 10q' conftest.err >conftest.er1
4547 cat conftest.er1 >&5
4549 rm -f conftest.er1 conftest.err
4550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4551 test $ac_status = 0; }
4552 done
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4555 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4556 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4557 $as_echo_n "(cached) " >&6
4558 else
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4563 main ()
4565 #ifndef __GNUC__
4566 choke me
4567 #endif
4570 return 0;
4572 _ACEOF
4573 if ac_fn_cxx_try_compile "$LINENO"; then :
4574 ac_compiler_gnu=yes
4575 else
4576 ac_compiler_gnu=no
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4583 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4584 if test $ac_compiler_gnu = yes; then
4585 GXX=yes
4586 else
4587 GXX=
4589 ac_test_CXXFLAGS=${CXXFLAGS+set}
4590 ac_save_CXXFLAGS=$CXXFLAGS
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4592 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4593 if ${ac_cv_prog_cxx_g+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4597 ac_cxx_werror_flag=yes
4598 ac_cv_prog_cxx_g=no
4599 CXXFLAGS="-g"
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4608 return 0;
4610 _ACEOF
4611 if ac_fn_cxx_try_compile "$LINENO"; then :
4612 ac_cv_prog_cxx_g=yes
4613 else
4614 CXXFLAGS=""
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4623 return 0;
4625 _ACEOF
4626 if ac_fn_cxx_try_compile "$LINENO"; then :
4628 else
4629 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4630 CXXFLAGS="-g"
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 main ()
4639 return 0;
4641 _ACEOF
4642 if ac_fn_cxx_try_compile "$LINENO"; then :
4643 ac_cv_prog_cxx_g=yes
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4653 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4654 if test "$ac_test_CXXFLAGS" = set; then
4655 CXXFLAGS=$ac_save_CXXFLAGS
4656 elif test $ac_cv_prog_cxx_g = yes; then
4657 if test "$GXX" = yes; then
4658 CXXFLAGS="-g -O2"
4659 else
4660 CXXFLAGS="-g"
4662 else
4663 if test "$GXX" = yes; then
4664 CXXFLAGS="-O2"
4665 else
4666 CXXFLAGS=
4669 ac_ext=c
4670 ac_cpp='$CPP $CPPFLAGS'
4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675 if test -n "$ac_tool_prefix"; then
4676 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4677 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_CPPBIN+:} false; then :
4681 $as_echo_n "(cached) " >&6
4682 else
4683 if test -n "$CPPBIN"; then
4684 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4685 else
4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 for as_dir in $PATH
4689 IFS=$as_save_IFS
4690 test -z "$as_dir" && as_dir=.
4691 for ac_exec_ext in '' $ac_executable_extensions; do
4692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4693 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 break 2
4697 done
4698 done
4699 IFS=$as_save_IFS
4703 CPPBIN=$ac_cv_prog_CPPBIN
4704 if test -n "$CPPBIN"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4706 $as_echo "$CPPBIN" >&6; }
4707 else
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4714 if test -z "$ac_cv_prog_CPPBIN"; then
4715 ac_ct_CPPBIN=$CPPBIN
4716 # Extract the first word of "cpp", so it can be a program name with args.
4717 set dummy cpp; ac_word=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4721 $as_echo_n "(cached) " >&6
4722 else
4723 if test -n "$ac_ct_CPPBIN"; then
4724 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4725 else
4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 for as_dir in $PATH
4729 IFS=$as_save_IFS
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4733 ac_cv_prog_ac_ct_CPPBIN="cpp"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4735 break 2
4737 done
4738 done
4739 IFS=$as_save_IFS
4743 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4744 if test -n "$ac_ct_CPPBIN"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4746 $as_echo "$ac_ct_CPPBIN" >&6; }
4747 else
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4752 if test "x$ac_ct_CPPBIN" = x; then
4753 CPPBIN="cpp"
4754 else
4755 case $cross_compiling:$ac_tool_warned in
4756 yes:)
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759 ac_tool_warned=yes ;;
4760 esac
4761 CPPBIN=$ac_ct_CPPBIN
4763 else
4764 CPPBIN="$ac_cv_prog_CPPBIN"
4768 cat >>confdefs.h <<_ACEOF
4769 #define EXEEXT "$ac_exeext"
4770 _ACEOF
4772 if test -n "$ac_tool_prefix"; then
4773 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4774 set dummy ${ac_tool_prefix}ld; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_prog_LD+:} false; then :
4778 $as_echo_n "(cached) " >&6
4779 else
4780 if test -n "$LD"; then
4781 ac_cv_prog_LD="$LD" # Let the user override the test.
4782 else
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 for as_dir in $PATH
4786 IFS=$as_save_IFS
4787 test -z "$as_dir" && as_dir=.
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_LD="${ac_tool_prefix}ld"
4791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 break 2
4794 done
4795 done
4796 IFS=$as_save_IFS
4800 LD=$ac_cv_prog_LD
4801 if test -n "$LD"; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4803 $as_echo "$LD" >&6; }
4804 else
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4811 if test -z "$ac_cv_prog_LD"; then
4812 ac_ct_LD=$LD
4813 # Extract the first word of "ld", so it can be a program name with args.
4814 set dummy ld; ac_word=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if test -n "$ac_ct_LD"; then
4821 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4822 else
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4826 IFS=$as_save_IFS
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4830 ac_cv_prog_ac_ct_LD="ld"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 break 2
4834 done
4835 done
4836 IFS=$as_save_IFS
4840 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4841 if test -n "$ac_ct_LD"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4843 $as_echo "$ac_ct_LD" >&6; }
4844 else
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4849 if test "x$ac_ct_LD" = x; then
4850 LD=""
4851 else
4852 case $cross_compiling:$ac_tool_warned in
4853 yes:)
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4856 ac_tool_warned=yes ;;
4857 esac
4858 LD=$ac_ct_LD
4860 else
4861 LD="$ac_cv_prog_LD"
4865 case $host in
4866 *-darwin*)
4867 if test "x$enable_win64" = "xyes"
4868 then
4869 CC="$CC -m64"
4870 CXX="$CXX -m64"
4871 host_cpu="x86_64"
4872 notice_platform="64-bit "
4873 TARGETFLAGS="-m64"
4875 else
4876 CC="$CC -m32"
4877 CXX="$CXX -m32"
4878 host_cpu="i386"
4879 notice_platform="32-bit "
4880 TARGETFLAGS="-m32"
4882 enable_win16=${enable_win16:-yes}
4884 with_fontconfig=${with_fontconfig:-no}
4886 x86_64*|amd64*)
4887 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4888 then
4889 CC="$CC -m32"
4890 CXX="$CXX -m32"
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4892 $as_echo_n "checking whether $CC works... " >&6; }
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4898 main ()
4902 return 0;
4904 _ACEOF
4905 if ac_fn_c_try_link "$LINENO"; then :
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907 $as_echo "yes" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4911 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4913 rm -f core conftest.err conftest.$ac_objext \
4914 conftest$ac_exeext conftest.$ac_ext
4915 host_cpu="i386"
4916 notice_platform="32-bit "
4917 TARGETFLAGS="-m32"
4919 enable_win16=${enable_win16:-yes}
4920 else
4921 if test "x${GCC}" = "xyes"
4922 then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4924 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4927 #include <stdarg.h>
4929 main ()
4931 void func(__builtin_ms_va_list *args);
4933 return 0;
4935 _ACEOF
4936 if ac_fn_c_try_compile "$LINENO"; then :
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4938 $as_echo "yes" >&6; }
4939 else
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 host_cpu="x86_64"
4947 TARGETFLAGS="-m64"
4951 arm*)
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4953 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4956 int ac_test(int i) { return i; }
4958 main ()
4960 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4962 return 0;
4964 _ACEOF
4965 if ac_fn_c_try_link "$LINENO"; then :
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4967 $as_echo "yes" >&6; }
4968 else
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4971 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4973 rm -f core conftest.err conftest.$ac_objext \
4974 conftest$ac_exeext conftest.$ac_ext
4975 CFLAGS="$CFLAGS -marm"
4976 TARGETFLAGS="-marm"
4979 *-mingw32*|*-cygwin*)
4980 enable_win16=${enable_win16:-no}
4981 CFLAGS="$CFLAGS -D_WIN32"
4983 i[3456789]86*)
4984 enable_win16=${enable_win16:-yes}
4986 esac
4988 enable_win16=${enable_win16:-no}
4989 enable_win64=${enable_win64:-no}
4991 enable_winetest=${enable_winetest:-$enable_tests}
4993 if test -n "$with_wine64"
4994 then
4995 if test "x$enable_win64" = "xyes"
4996 then
4997 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4998 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5000 enable_fonts=${enable_fonts:-no}
5001 enable_server=${enable_server:-no}
5002 elif test "x$enable_win64" = "xyes"
5003 then
5004 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5008 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5009 if ${wine_cv_toolsdir+:} false; then :
5010 $as_echo_n "(cached) " >&6
5011 else
5012 wine_cv_toolsdir="$with_wine_tools"
5013 if test -z "$with_wine_tools"; then
5014 if test "$cross_compiling" = "yes"; then
5015 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5016 elif test -n "$with_wine64"; then
5017 wine_cv_toolsdir="$with_wine64"
5020 if test -z "$wine_cv_toolsdir"; then
5021 wine_makedep=tools/makedep
5022 wine_cv_toolsdir="\$(top_builddir)"
5023 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5024 wine_makedep=$wine_cv_toolsdir/tools/makedep
5025 case "$wine_cv_toolsdir" in
5026 /*) ;;
5027 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5028 esac
5029 enable_tools=${enable_tools:-no}
5030 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5031 else
5032 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5036 $as_echo "$wine_cv_toolsdir" >&6; }
5037 TOOLSDIR=$wine_cv_toolsdir
5039 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5040 then
5041 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5045 for ac_prog in flex
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_FLEX+:} false; then :
5052 $as_echo_n "(cached) " >&6
5053 else
5054 if test -n "$FLEX"; then
5055 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_FLEX="$ac_prog"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 FLEX=$ac_cv_prog_FLEX
5075 if test -n "$FLEX"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5077 $as_echo "$FLEX" >&6; }
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5084 test -n "$FLEX" && break
5085 done
5086 test -n "$FLEX" || FLEX="none"
5088 if test "$FLEX" = "none"
5089 then
5090 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5093 $as_echo_n "checking whether flex is recent enough... " >&6; }
5094 cat >conftest.l <<EOF
5095 %top{
5096 #include "prediluvian.h"
5100 if $FLEX -t conftest.l >/dev/null 2>&5
5101 then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5103 $as_echo "yes" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5110 for ac_prog in bison
5112 # Extract the first word of "$ac_prog", so it can be a program name with args.
5113 set dummy $ac_prog; ac_word=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if ${ac_cv_prog_BISON+:} false; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 if test -n "$BISON"; then
5120 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5121 else
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH
5125 IFS=$as_save_IFS
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5129 ac_cv_prog_BISON="$ac_prog"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 break 2
5133 done
5134 done
5135 IFS=$as_save_IFS
5139 BISON=$ac_cv_prog_BISON
5140 if test -n "$BISON"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5142 $as_echo "$BISON" >&6; }
5143 else
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5149 test -n "$BISON" && break
5150 done
5151 test -n "$BISON" || BISON="none"
5153 if test "$BISON" = "none"
5154 then
5155 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5158 if test -n "$ac_tool_prefix"; then
5159 for ac_prog in ar gar
5161 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5162 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_AR+:} false; then :
5166 $as_echo_n "(cached) " >&6
5167 else
5168 if test -n "$AR"; then
5169 ac_cv_prog_AR="$AR" # Let the user override the test.
5170 else
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH
5174 IFS=$as_save_IFS
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5182 done
5183 done
5184 IFS=$as_save_IFS
5188 AR=$ac_cv_prog_AR
5189 if test -n "$AR"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5191 $as_echo "$AR" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5198 test -n "$AR" && break
5199 done
5201 if test -z "$AR"; then
5202 ac_ct_AR=$AR
5203 for ac_prog in ar gar
5205 # Extract the first word of "$ac_prog", so it can be a program name with args.
5206 set dummy $ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$ac_ct_AR"; then
5213 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_ac_ct_AR="$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5233 if test -n "$ac_ct_AR"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5235 $as_echo "$ac_ct_AR" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$ac_ct_AR" && break
5243 done
5245 if test "x$ac_ct_AR" = x; then
5246 AR="ar"
5247 else
5248 case $cross_compiling:$ac_tool_warned in
5249 yes:)
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned=yes ;;
5253 esac
5254 AR=$ac_ct_AR
5258 if test -n "$ac_tool_prefix"; then
5259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5260 set dummy ${ac_tool_prefix}strip; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_STRIP+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 if test -n "$STRIP"; then
5267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5282 IFS=$as_save_IFS
5286 STRIP=$ac_cv_prog_STRIP
5287 if test -n "$STRIP"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5289 $as_echo "$STRIP" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5297 if test -z "$ac_cv_prog_STRIP"; then
5298 ac_ct_STRIP=$STRIP
5299 # Extract the first word of "strip", so it can be a program name with args.
5300 set dummy strip; ac_word=$2
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302 $as_echo_n "checking for $ac_word... " >&6; }
5303 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5304 $as_echo_n "(cached) " >&6
5305 else
5306 if test -n "$ac_ct_STRIP"; then
5307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5316 ac_cv_prog_ac_ct_STRIP="strip"
5317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5327 if test -n "$ac_ct_STRIP"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5329 $as_echo "$ac_ct_STRIP" >&6; }
5330 else
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332 $as_echo "no" >&6; }
5335 if test "x$ac_ct_STRIP" = x; then
5336 STRIP="strip"
5337 else
5338 case $cross_compiling:$ac_tool_warned in
5339 yes:)
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5342 ac_tool_warned=yes ;;
5343 esac
5344 STRIP=$ac_ct_STRIP
5346 else
5347 STRIP="$ac_cv_prog_STRIP"
5350 ARFLAGS=rc
5352 if test -n "$ac_tool_prefix"; then
5353 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5354 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if ${ac_cv_prog_RANLIB+:} false; then :
5358 $as_echo_n "(cached) " >&6
5359 else
5360 if test -n "$RANLIB"; then
5361 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5362 else
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364 for as_dir in $PATH
5366 IFS=$as_save_IFS
5367 test -z "$as_dir" && as_dir=.
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 break 2
5374 done
5375 done
5376 IFS=$as_save_IFS
5380 RANLIB=$ac_cv_prog_RANLIB
5381 if test -n "$RANLIB"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5383 $as_echo "$RANLIB" >&6; }
5384 else
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5391 if test -z "$ac_cv_prog_RANLIB"; then
5392 ac_ct_RANLIB=$RANLIB
5393 # Extract the first word of "ranlib", so it can be a program name with args.
5394 set dummy ranlib; ac_word=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5398 $as_echo_n "(cached) " >&6
5399 else
5400 if test -n "$ac_ct_RANLIB"; then
5401 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5402 else
5403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5404 for as_dir in $PATH
5406 IFS=$as_save_IFS
5407 test -z "$as_dir" && as_dir=.
5408 for ac_exec_ext in '' $ac_executable_extensions; do
5409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_prog_ac_ct_RANLIB="ranlib"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 break 2
5414 done
5415 done
5416 IFS=$as_save_IFS
5420 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5421 if test -n "$ac_ct_RANLIB"; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5423 $as_echo "$ac_ct_RANLIB" >&6; }
5424 else
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 $as_echo "no" >&6; }
5429 if test "x$ac_ct_RANLIB" = x; then
5430 RANLIB=":"
5431 else
5432 case $cross_compiling:$ac_tool_warned in
5433 yes:)
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5436 ac_tool_warned=yes ;;
5437 esac
5438 RANLIB=$ac_ct_RANLIB
5440 else
5441 RANLIB="$ac_cv_prog_RANLIB"
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5445 $as_echo_n "checking whether ln -s works... " >&6; }
5446 LN_S=$as_ln_s
5447 if test "$LN_S" = "ln -s"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5450 else
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5452 $as_echo "no, using $LN_S" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5456 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5457 if ${ac_cv_path_GREP+:} false; then :
5458 $as_echo_n "(cached) " >&6
5459 else
5460 if test -z "$GREP"; then
5461 ac_path_GREP_found=false
5462 # Loop through the user's path and test for each of PROGNAME-LIST
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_prog in grep ggrep; do
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5471 as_fn_executable_p "$ac_path_GREP" || continue
5472 # Check for GNU ac_path_GREP and select it if it is found.
5473 # Check for GNU $ac_path_GREP
5474 case `"$ac_path_GREP" --version 2>&1` in
5475 *GNU*)
5476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5478 ac_count=0
5479 $as_echo_n 0123456789 >"conftest.in"
5480 while :
5482 cat "conftest.in" "conftest.in" >"conftest.tmp"
5483 mv "conftest.tmp" "conftest.in"
5484 cp "conftest.in" "conftest.nl"
5485 $as_echo 'GREP' >> "conftest.nl"
5486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5488 as_fn_arith $ac_count + 1 && ac_count=$as_val
5489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5490 # Best one so far, save it but keep looking for a better one
5491 ac_cv_path_GREP="$ac_path_GREP"
5492 ac_path_GREP_max=$ac_count
5494 # 10*(2^10) chars as input seems more than enough
5495 test $ac_count -gt 10 && break
5496 done
5497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5498 esac
5500 $ac_path_GREP_found && break 3
5501 done
5502 done
5503 done
5504 IFS=$as_save_IFS
5505 if test -z "$ac_cv_path_GREP"; then
5506 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5508 else
5509 ac_cv_path_GREP=$GREP
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5514 $as_echo "$ac_cv_path_GREP" >&6; }
5515 GREP="$ac_cv_path_GREP"
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5519 $as_echo_n "checking for egrep... " >&6; }
5520 if ${ac_cv_path_EGREP+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5524 then ac_cv_path_EGREP="$GREP -E"
5525 else
5526 if test -z "$EGREP"; then
5527 ac_path_EGREP_found=false
5528 # Loop through the user's path and test for each of PROGNAME-LIST
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_prog in egrep; do
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5537 as_fn_executable_p "$ac_path_EGREP" || continue
5538 # Check for GNU ac_path_EGREP and select it if it is found.
5539 # Check for GNU $ac_path_EGREP
5540 case `"$ac_path_EGREP" --version 2>&1` in
5541 *GNU*)
5542 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5544 ac_count=0
5545 $as_echo_n 0123456789 >"conftest.in"
5546 while :
5548 cat "conftest.in" "conftest.in" >"conftest.tmp"
5549 mv "conftest.tmp" "conftest.in"
5550 cp "conftest.in" "conftest.nl"
5551 $as_echo 'EGREP' >> "conftest.nl"
5552 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5553 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5554 as_fn_arith $ac_count + 1 && ac_count=$as_val
5555 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5556 # Best one so far, save it but keep looking for a better one
5557 ac_cv_path_EGREP="$ac_path_EGREP"
5558 ac_path_EGREP_max=$ac_count
5560 # 10*(2^10) chars as input seems more than enough
5561 test $ac_count -gt 10 && break
5562 done
5563 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5564 esac
5566 $ac_path_EGREP_found && break 3
5567 done
5568 done
5569 done
5570 IFS=$as_save_IFS
5571 if test -z "$ac_cv_path_EGREP"; then
5572 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5574 else
5575 ac_cv_path_EGREP=$EGREP
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5581 $as_echo "$ac_cv_path_EGREP" >&6; }
5582 EGREP="$ac_cv_path_EGREP"
5585 # Extract the first word of "ldconfig", so it can be a program name with args.
5586 set dummy ldconfig; ac_word=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_path_LDCONFIG+:} false; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 case $LDCONFIG in
5593 [\\/]* | ?:[\\/]*)
5594 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in /sbin /usr/sbin $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5612 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5614 esac
5616 LDCONFIG=$ac_cv_path_LDCONFIG
5617 if test -n "$LDCONFIG"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5619 $as_echo "$LDCONFIG" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5626 for ac_prog in msgfmt
5628 # Extract the first word of "$ac_prog", so it can be a program name with args.
5629 set dummy $ac_prog; ac_word=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_MSGFMT+:} false; then :
5633 $as_echo_n "(cached) " >&6
5634 else
5635 if test -n "$MSGFMT"; then
5636 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 test -z "$as_dir" && as_dir=.
5643 for ac_exec_ext in '' $ac_executable_extensions; do
5644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_MSGFMT="$ac_prog"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 break 2
5649 done
5650 done
5651 IFS=$as_save_IFS
5655 MSGFMT=$ac_cv_prog_MSGFMT
5656 if test -n "$MSGFMT"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5658 $as_echo "$MSGFMT" >&6; }
5659 else
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5665 test -n "$MSGFMT" && break
5666 done
5667 test -n "$MSGFMT" || MSGFMT="false"
5669 if ${ac_tool_prefix+:} false; then :
5670 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5671 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 $as_echo_n "checking for $ac_word... " >&6; }
5674 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 if test -n "$PKG_CONFIG"; then
5678 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5683 IFS=$as_save_IFS
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5687 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 break 2
5691 done
5692 done
5693 IFS=$as_save_IFS
5697 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5698 if test -n "$PKG_CONFIG"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5700 $as_echo "$PKG_CONFIG" >&6; }
5701 else
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5708 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5709 if test "x$cross_compiling" = xyes; then :
5711 else
5712 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5713 # Extract the first word of "pkg-config", so it can be a program name with args.
5714 set dummy pkg-config; ac_word=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5718 $as_echo_n "(cached) " >&6
5719 else
5720 if test -n "$PKG_CONFIG"; then
5721 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5726 IFS=$as_save_IFS
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_PKG_CONFIG="pkg-config"
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5741 if test -n "$PKG_CONFIG"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5743 $as_echo "$PKG_CONFIG" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5751 else
5752 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5755 if test "x$enable_maintainer_mode" != "xyes"
5756 then
5757 FONTFORGE=""
5758 RSVG=""
5759 CONVERT=""
5760 ICOTOOL=""
5761 else
5762 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5763 for ac_prog in fontforge
5765 # Extract the first word of "$ac_prog", so it can be a program name with args.
5766 set dummy $ac_prog; ac_word=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if ${ac_cv_prog_FONTFORGE+:} false; then :
5770 $as_echo_n "(cached) " >&6
5771 else
5772 if test -n "$FONTFORGE"; then
5773 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5774 else
5775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 for as_dir in $PATH
5778 IFS=$as_save_IFS
5779 test -z "$as_dir" && as_dir=.
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5782 ac_cv_prog_FONTFORGE="$ac_prog"
5783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 break 2
5786 done
5787 done
5788 IFS=$as_save_IFS
5792 FONTFORGE=$ac_cv_prog_FONTFORGE
5793 if test -n "$FONTFORGE"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5795 $as_echo "$FONTFORGE" >&6; }
5796 else
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 test -n "$FONTFORGE" && break
5803 done
5804 test -n "$FONTFORGE" || FONTFORGE="false"
5806 for ac_prog in rsvg-convert rsvg
5808 # Extract the first word of "$ac_prog", so it can be a program name with args.
5809 set dummy $ac_prog; ac_word=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if ${ac_cv_prog_RSVG+:} false; then :
5813 $as_echo_n "(cached) " >&6
5814 else
5815 if test -n "$RSVG"; then
5816 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5817 else
5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819 for as_dir in $PATH
5821 IFS=$as_save_IFS
5822 test -z "$as_dir" && as_dir=.
5823 for ac_exec_ext in '' $ac_executable_extensions; do
5824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5825 ac_cv_prog_RSVG="$ac_prog"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 break 2
5829 done
5830 done
5831 IFS=$as_save_IFS
5835 RSVG=$ac_cv_prog_RSVG
5836 if test -n "$RSVG"; then
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5838 $as_echo "$RSVG" >&6; }
5839 else
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 test -n "$RSVG" && break
5846 done
5847 test -n "$RSVG" || RSVG="false"
5849 for ac_prog in convert
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_CONVERT+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$CONVERT"; then
5859 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_CONVERT="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 CONVERT=$ac_cv_prog_CONVERT
5879 if test -n "$CONVERT"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5881 $as_echo "$CONVERT" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$CONVERT" && break
5889 done
5890 test -n "$CONVERT" || CONVERT="false"
5892 for ac_prog in icotool
5894 # Extract the first word of "$ac_prog", so it can be a program name with args.
5895 set dummy $ac_prog; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_ICOTOOL+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 if test -n "$ICOTOOL"; then
5902 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_ICOTOOL="$ac_prog"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 break 2
5915 done
5916 done
5917 IFS=$as_save_IFS
5921 ICOTOOL=$ac_cv_prog_ICOTOOL
5922 if test -n "$ICOTOOL"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5924 $as_echo "$ICOTOOL" >&6; }
5925 else
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5931 test -n "$ICOTOOL" && break
5932 done
5933 test -n "$ICOTOOL" || ICOTOOL="false"
5935 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5936 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5938 if test "$CONVERT" = false
5939 then
5940 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5943 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5944 convert_version=`convert --version | head -n1`
5945 if test "x$convert_version" != "x"
5946 then
5947 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5948 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5949 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5950 then
5951 CONVERT=false
5954 if test "$CONVERT" = false
5955 then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5957 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5958 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5961 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5965 if test "$ICOTOOL" = false
5966 then
5967 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5968 else
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5970 $as_echo_n "checking for recent enough icotool... " >&6; }
5971 icotool_version=`icotool --version | head -n1`
5972 if test "x$icotool_version" != "x"
5973 then
5974 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5975 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5976 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5977 then
5978 ICOTOOL=false
5979 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5982 if test "$ICOTOOL" = false
5983 then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5985 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5986 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5989 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5993 with_gettext=yes
5994 with_gettextpo=yes
5995 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5998 test "x$with_gettext" != xno || MSGFMT=false
5999 if test "$MSGFMT" != "false"
6000 then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6002 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6003 cat >conftest.po <<EOF
6004 # comment
6005 msgctxt "ctxt"
6006 msgid "id"
6007 msgstr "str"
6009 if $MSGFMT -o /dev/null conftest.po 2>&5
6010 then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6012 $as_echo "yes" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6015 $as_echo "no" >&6; }
6016 MSGFMT=false
6019 if test "$MSGFMT" = false; then :
6020 case "x$with_gettext" in
6021 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6022 xno) ;;
6023 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6024 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6025 esac
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6030 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6031 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6032 $as_echo_n "(cached) " >&6
6033 else
6034 ac_check_lib_save_LIBS=$LIBS
6035 LIBS="-li386 $LIBS"
6036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6039 /* Override any GCC internal prototype to avoid an error.
6040 Use char because int might match the return type of a GCC
6041 builtin and then its argument prototype would still apply. */
6042 #ifdef __cplusplus
6043 extern "C"
6044 #endif
6045 char i386_set_ldt ();
6047 main ()
6049 return i386_set_ldt ();
6051 return 0;
6053 _ACEOF
6054 if ac_fn_c_try_link "$LINENO"; then :
6055 ac_cv_lib_i386_i386_set_ldt=yes
6056 else
6057 ac_cv_lib_i386_i386_set_ldt=no
6059 rm -f core conftest.err conftest.$ac_objext \
6060 conftest$ac_exeext conftest.$ac_ext
6061 LIBS=$ac_check_lib_save_LIBS
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6064 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6065 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6066 cat >>confdefs.h <<_ACEOF
6067 #define HAVE_LIBI386 1
6068 _ACEOF
6070 LIBS="-li386 $LIBS"
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6075 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6076 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 ac_check_lib_save_LIBS=$LIBS
6080 LIBS="-lossaudio $LIBS"
6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6084 /* Override any GCC internal prototype to avoid an error.
6085 Use char because int might match the return type of a GCC
6086 builtin and then its argument prototype would still apply. */
6087 #ifdef __cplusplus
6088 extern "C"
6089 #endif
6090 char _oss_ioctl ();
6092 main ()
6094 return _oss_ioctl ();
6096 return 0;
6098 _ACEOF
6099 if ac_fn_c_try_link "$LINENO"; then :
6100 ac_cv_lib_ossaudio__oss_ioctl=yes
6101 else
6102 ac_cv_lib_ossaudio__oss_ioctl=no
6104 rm -f core conftest.err conftest.$ac_objext \
6105 conftest$ac_exeext conftest.$ac_ext
6106 LIBS=$ac_check_lib_save_LIBS
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6109 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6110 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6111 cat >>confdefs.h <<_ACEOF
6112 #define HAVE_LIBOSSAUDIO 1
6113 _ACEOF
6115 LIBS="-lossaudio $LIBS"
6120 OPENGL_LIBS=""
6124 # Check whether --enable-largefile was given.
6125 if test "${enable_largefile+set}" = set; then :
6126 enableval=$enable_largefile;
6129 if test "$enable_largefile" != no; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6132 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6133 if ${ac_cv_sys_largefile_CC+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 ac_cv_sys_largefile_CC=no
6137 if test "$GCC" != yes; then
6138 ac_save_CC=$CC
6139 while :; do
6140 # IRIX 6.2 and later do not support large files by default,
6141 # so use the C compiler's -n32 option if that helps.
6142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6144 #include <sys/types.h>
6145 /* Check that off_t can represent 2**63 - 1 correctly.
6146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6147 since some C++ compilers masquerading as C compilers
6148 incorrectly reject 9223372036854775807. */
6149 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6151 && LARGE_OFF_T % 2147483647 == 1)
6152 ? 1 : -1];
6154 main ()
6158 return 0;
6160 _ACEOF
6161 if ac_fn_c_try_compile "$LINENO"; then :
6162 break
6164 rm -f core conftest.err conftest.$ac_objext
6165 CC="$CC -n32"
6166 if ac_fn_c_try_compile "$LINENO"; then :
6167 ac_cv_sys_largefile_CC=' -n32'; break
6169 rm -f core conftest.err conftest.$ac_objext
6170 break
6171 done
6172 CC=$ac_save_CC
6173 rm -f conftest.$ac_ext
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6177 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6178 if test "$ac_cv_sys_largefile_CC" != no; then
6179 CC=$CC$ac_cv_sys_largefile_CC
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6183 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6184 if ${ac_cv_sys_file_offset_bits+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 while :; do
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6198 ? 1 : -1];
6200 main ()
6204 return 0;
6206 _ACEOF
6207 if ac_fn_c_try_compile "$LINENO"; then :
6208 ac_cv_sys_file_offset_bits=no; break
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6212 /* end confdefs.h. */
6213 #define _FILE_OFFSET_BITS 64
6214 #include <sys/types.h>
6215 /* Check that off_t can represent 2**63 - 1 correctly.
6216 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6217 since some C++ compilers masquerading as C compilers
6218 incorrectly reject 9223372036854775807. */
6219 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6220 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6221 && LARGE_OFF_T % 2147483647 == 1)
6222 ? 1 : -1];
6224 main ()
6228 return 0;
6230 _ACEOF
6231 if ac_fn_c_try_compile "$LINENO"; then :
6232 ac_cv_sys_file_offset_bits=64; break
6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6235 ac_cv_sys_file_offset_bits=unknown
6236 break
6237 done
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6240 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6241 case $ac_cv_sys_file_offset_bits in #(
6242 no | unknown) ;;
6244 cat >>confdefs.h <<_ACEOF
6245 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6246 _ACEOF
6248 esac
6249 rm -rf conftest*
6250 if test $ac_cv_sys_file_offset_bits = unknown; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6252 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6253 if ${ac_cv_sys_large_files+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 while :; do
6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6259 #include <sys/types.h>
6260 /* Check that off_t can represent 2**63 - 1 correctly.
6261 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6262 since some C++ compilers masquerading as C compilers
6263 incorrectly reject 9223372036854775807. */
6264 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6265 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6266 && LARGE_OFF_T % 2147483647 == 1)
6267 ? 1 : -1];
6269 main ()
6273 return 0;
6275 _ACEOF
6276 if ac_fn_c_try_compile "$LINENO"; then :
6277 ac_cv_sys_large_files=no; break
6279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #define _LARGE_FILES 1
6283 #include <sys/types.h>
6284 /* Check that off_t can represent 2**63 - 1 correctly.
6285 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6286 since some C++ compilers masquerading as C compilers
6287 incorrectly reject 9223372036854775807. */
6288 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6289 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6290 && LARGE_OFF_T % 2147483647 == 1)
6291 ? 1 : -1];
6293 main ()
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_compile "$LINENO"; then :
6301 ac_cv_sys_large_files=1; break
6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6304 ac_cv_sys_large_files=unknown
6305 break
6306 done
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6309 $as_echo "$ac_cv_sys_large_files" >&6; }
6310 case $ac_cv_sys_large_files in #(
6311 no | unknown) ;;
6313 cat >>confdefs.h <<_ACEOF
6314 #define _LARGE_FILES $ac_cv_sys_large_files
6315 _ACEOF
6317 esac
6318 rm -rf conftest*
6325 ac_ext=c
6326 ac_cpp='$CPP $CPPFLAGS'
6327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6331 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6332 # On Suns, sometimes $CPP names a directory.
6333 if test -n "$CPP" && test -d "$CPP"; then
6334 CPP=
6336 if test -z "$CPP"; then
6337 if ${ac_cv_prog_CPP+:} false; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 # Double quotes because CPP needs to be expanded
6341 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6343 ac_preproc_ok=false
6344 for ac_c_preproc_warn_flag in '' yes
6346 # Use a header file that comes with gcc, so configuring glibc
6347 # with a fresh cross-compiler works.
6348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6349 # <limits.h> exists even on freestanding compilers.
6350 # On the NeXT, cc -E runs the code through the compiler's parser,
6351 # not just through cpp. "Syntax error" is here to catch this case.
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #ifdef __STDC__
6355 # include <limits.h>
6356 #else
6357 # include <assert.h>
6358 #endif
6359 Syntax error
6360 _ACEOF
6361 if ac_fn_c_try_cpp "$LINENO"; then :
6363 else
6364 # Broken: fails on valid input.
6365 continue
6367 rm -f conftest.err conftest.i conftest.$ac_ext
6369 # OK, works on sane cases. Now check whether nonexistent headers
6370 # can be detected and how.
6371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 /* end confdefs.h. */
6373 #include <ac_nonexistent.h>
6374 _ACEOF
6375 if ac_fn_c_try_cpp "$LINENO"; then :
6376 # Broken: success on invalid input.
6377 continue
6378 else
6379 # Passes both tests.
6380 ac_preproc_ok=:
6381 break
6383 rm -f conftest.err conftest.i conftest.$ac_ext
6385 done
6386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6387 rm -f conftest.i conftest.err conftest.$ac_ext
6388 if $ac_preproc_ok; then :
6389 break
6392 done
6393 ac_cv_prog_CPP=$CPP
6396 CPP=$ac_cv_prog_CPP
6397 else
6398 ac_cv_prog_CPP=$CPP
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6401 $as_echo "$CPP" >&6; }
6402 ac_preproc_ok=false
6403 for ac_c_preproc_warn_flag in '' yes
6405 # Use a header file that comes with gcc, so configuring glibc
6406 # with a fresh cross-compiler works.
6407 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6408 # <limits.h> exists even on freestanding compilers.
6409 # On the NeXT, cc -E runs the code through the compiler's parser,
6410 # not just through cpp. "Syntax error" is here to catch this case.
6411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6412 /* end confdefs.h. */
6413 #ifdef __STDC__
6414 # include <limits.h>
6415 #else
6416 # include <assert.h>
6417 #endif
6418 Syntax error
6419 _ACEOF
6420 if ac_fn_c_try_cpp "$LINENO"; then :
6422 else
6423 # Broken: fails on valid input.
6424 continue
6426 rm -f conftest.err conftest.i conftest.$ac_ext
6428 # OK, works on sane cases. Now check whether nonexistent headers
6429 # can be detected and how.
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #include <ac_nonexistent.h>
6433 _ACEOF
6434 if ac_fn_c_try_cpp "$LINENO"; then :
6435 # Broken: success on invalid input.
6436 continue
6437 else
6438 # Passes both tests.
6439 ac_preproc_ok=:
6440 break
6442 rm -f conftest.err conftest.i conftest.$ac_ext
6444 done
6445 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6446 rm -f conftest.i conftest.err conftest.$ac_ext
6447 if $ac_preproc_ok; then :
6449 else
6450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6452 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6453 See \`config.log' for more details" "$LINENO" 5; }
6456 ac_ext=c
6457 ac_cpp='$CPP $CPPFLAGS'
6458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6464 $as_echo_n "checking for ANSI C header files... " >&6; }
6465 if ${ac_cv_header_stdc+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <stdlib.h>
6471 #include <stdarg.h>
6472 #include <string.h>
6473 #include <float.h>
6476 main ()
6480 return 0;
6482 _ACEOF
6483 if ac_fn_c_try_compile "$LINENO"; then :
6484 ac_cv_header_stdc=yes
6485 else
6486 ac_cv_header_stdc=no
6488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6490 if test $ac_cv_header_stdc = yes; then
6491 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 /* end confdefs.h. */
6494 #include <string.h>
6496 _ACEOF
6497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6498 $EGREP "memchr" >/dev/null 2>&1; then :
6500 else
6501 ac_cv_header_stdc=no
6503 rm -f conftest*
6507 if test $ac_cv_header_stdc = yes; then
6508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6510 /* end confdefs.h. */
6511 #include <stdlib.h>
6513 _ACEOF
6514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6515 $EGREP "free" >/dev/null 2>&1; then :
6517 else
6518 ac_cv_header_stdc=no
6520 rm -f conftest*
6524 if test $ac_cv_header_stdc = yes; then
6525 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6526 if test "$cross_compiling" = yes; then :
6528 else
6529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 /* end confdefs.h. */
6531 #include <ctype.h>
6532 #include <stdlib.h>
6533 #if ((' ' & 0x0FF) == 0x020)
6534 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6535 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6536 #else
6537 # define ISLOWER(c) \
6538 (('a' <= (c) && (c) <= 'i') \
6539 || ('j' <= (c) && (c) <= 'r') \
6540 || ('s' <= (c) && (c) <= 'z'))
6541 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6542 #endif
6544 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6546 main ()
6548 int i;
6549 for (i = 0; i < 256; i++)
6550 if (XOR (islower (i), ISLOWER (i))
6551 || toupper (i) != TOUPPER (i))
6552 return 2;
6553 return 0;
6555 _ACEOF
6556 if ac_fn_c_try_run "$LINENO"; then :
6558 else
6559 ac_cv_header_stdc=no
6561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6562 conftest.$ac_objext conftest.beam conftest.$ac_ext
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6568 $as_echo "$ac_cv_header_stdc" >&6; }
6569 if test $ac_cv_header_stdc = yes; then
6571 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6575 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6576 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6577 inttypes.h stdint.h unistd.h
6578 do :
6579 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6580 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6582 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6583 cat >>confdefs.h <<_ACEOF
6584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6589 done
6592 for ac_header in \
6593 AL/al.h \
6594 ApplicationServices/ApplicationServices.h \
6595 AudioToolbox/AudioConverter.h \
6596 AudioUnit/AudioUnit.h \
6597 AudioUnit/AudioComponent.h \
6598 CL/cl.h \
6599 Carbon/Carbon.h \
6600 CoreAudio/CoreAudio.h \
6601 CoreServices/CoreServices.h \
6602 DiskArbitration/DiskArbitration.h \
6603 IOKit/IOKitLib.h \
6604 IOKit/hid/IOHIDLib.h \
6605 OpenAL/al.h \
6606 OpenCL/opencl.h \
6607 QuickTime/ImageCompression.h \
6608 Security/Security.h \
6609 alias.h \
6610 alsa/asoundlib.h \
6611 arpa/inet.h \
6612 arpa/nameser.h \
6613 asm/types.h \
6614 asm/user.h \
6615 curses.h \
6616 direct.h \
6617 dirent.h \
6618 dlfcn.h \
6619 elf.h \
6620 float.h \
6621 fnmatch.h \
6622 getopt.h \
6623 gettext-po.h \
6624 grp.h \
6625 gsm.h \
6626 gsm/gsm.h \
6627 ieeefp.h \
6628 inet/mib2.h \
6629 io.h \
6630 kstat.h \
6631 lber.h \
6632 ldap.h \
6633 libproc.h \
6634 link.h \
6635 linux/cdrom.h \
6636 linux/compiler.h \
6637 linux/filter.h \
6638 linux/hdreg.h \
6639 linux/input.h \
6640 linux/ioctl.h \
6641 linux/joystick.h \
6642 linux/major.h \
6643 linux/param.h \
6644 linux/serial.h \
6645 linux/types.h \
6646 linux/ucdrom.h \
6647 lwp.h \
6648 mach-o/nlist.h \
6649 mach-o/loader.h \
6650 mach/mach.h \
6651 mach/machine.h \
6652 machine/cpu.h \
6653 machine/limits.h \
6654 machine/sysarch.h \
6655 mntent.h \
6656 ncurses.h \
6657 netdb.h \
6658 netinet/in.h \
6659 netinet/in_systm.h \
6660 netinet/tcp.h \
6661 netinet/tcp_fsm.h \
6662 pcap/pcap.h \
6663 poll.h \
6664 port.h \
6665 process.h \
6666 pthread.h \
6667 pwd.h \
6668 sched.h \
6669 scsi/scsi.h \
6670 scsi/scsi_ioctl.h \
6671 scsi/sg.h \
6672 stdbool.h \
6673 stdint.h \
6674 stropts.h \
6675 sys/asoundlib.h \
6676 sys/attr.h \
6677 sys/cdio.h \
6678 sys/elf32.h \
6679 sys/epoll.h \
6680 sys/event.h \
6681 sys/exec_elf.h \
6682 sys/filio.h \
6683 sys/inotify.h \
6684 sys/ioctl.h \
6685 sys/ipc.h \
6686 sys/limits.h \
6687 sys/link.h \
6688 sys/mman.h \
6689 sys/modem.h \
6690 sys/msg.h \
6691 sys/mtio.h \
6692 sys/param.h \
6693 sys/poll.h \
6694 sys/prctl.h \
6695 sys/protosw.h \
6696 sys/ptrace.h \
6697 sys/queue.h \
6698 sys/resource.h \
6699 sys/scsiio.h \
6700 sys/shm.h \
6701 sys/signal.h \
6702 sys/socket.h \
6703 sys/socketvar.h \
6704 sys/sockio.h \
6705 sys/statvfs.h \
6706 sys/strtio.h \
6707 sys/syscall.h \
6708 sys/tihdr.h \
6709 sys/time.h \
6710 sys/timeout.h \
6711 sys/times.h \
6712 sys/uio.h \
6713 sys/user.h \
6714 sys/utsname.h \
6715 sys/vm86.h \
6716 sys/vnode.h \
6717 sys/wait.h \
6718 syscall.h \
6719 termios.h \
6720 unistd.h \
6721 utime.h \
6722 valgrind/memcheck.h \
6723 valgrind/valgrind.h \
6724 zlib.h
6726 do :
6727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6730 cat >>confdefs.h <<_ACEOF
6731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6732 _ACEOF
6736 done
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6739 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6740 if ${ac_cv_header_stat_broken+:} false; then :
6741 $as_echo_n "(cached) " >&6
6742 else
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <sys/types.h>
6746 #include <sys/stat.h>
6748 #if defined S_ISBLK && defined S_IFDIR
6749 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6750 #endif
6752 #if defined S_ISBLK && defined S_IFCHR
6753 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6754 #endif
6756 #if defined S_ISLNK && defined S_IFREG
6757 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6758 #endif
6760 #if defined S_ISSOCK && defined S_IFREG
6761 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6762 #endif
6764 _ACEOF
6765 if ac_fn_c_try_compile "$LINENO"; then :
6766 ac_cv_header_stat_broken=no
6767 else
6768 ac_cv_header_stat_broken=yes
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6773 $as_echo "$ac_cv_header_stat_broken" >&6; }
6774 if test $ac_cv_header_stat_broken = yes; then
6776 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6782 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6783 do :
6784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6786 #ifdef HAVE_SYS_PARAM_H
6787 # include <sys/param.h>
6788 #endif
6790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6791 cat >>confdefs.h <<_ACEOF
6792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6793 _ACEOF
6797 done
6800 for ac_header in \
6801 netinet/ip.h \
6802 net/if.h \
6803 net/if_arp.h \
6804 net/if_dl.h \
6805 net/if_types.h \
6806 net/route.h \
6807 netinet/if_ether.h \
6808 netinet/if_inarp.h \
6809 netinet/in_pcb.h \
6810 netinet/ip_icmp.h \
6811 netinet/ip_var.h \
6812 netinet/udp.h \
6813 netipx/ipx.h \
6814 sys/un.h \
6816 do :
6817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6818 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6819 #ifdef HAVE_SYS_SOCKET_H
6820 # include <sys/socket.h>
6821 #endif
6822 #ifdef HAVE_SYS_SOCKETVAR_H
6823 # include <sys/socketvar.h>
6824 #endif
6825 #ifdef HAVE_NET_ROUTE_H
6826 # include <net/route.h>
6827 #endif
6828 #ifdef HAVE_NETINET_IN_H
6829 # include <netinet/in.h>
6830 #endif
6831 #ifdef HAVE_NETINET_IN_SYSTM_H
6832 # include <netinet/in_systm.h>
6833 #endif
6834 #ifdef HAVE_NET_IF_H
6835 # include <net/if.h>
6836 #endif
6837 #ifdef HAVE_NETINET_IP_H
6838 # include <netinet/ip.h>
6839 #endif
6841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6842 cat >>confdefs.h <<_ACEOF
6843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6844 _ACEOF
6848 done
6851 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6852 do :
6853 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6854 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6855 #ifdef HAVE_ALIAS_H
6856 # include <alias.h>
6857 #endif
6858 #ifdef HAVE_SYS_SOCKET_H
6859 # include <sys/socket.h>
6860 #endif
6861 #ifdef HAVE_SYS_SOCKETVAR_H
6862 # include <sys/socketvar.h>
6863 #endif
6864 #ifdef HAVE_SYS_TIMEOUT_H
6865 # include <sys/timeout.h>
6866 #endif
6867 #ifdef HAVE_NETINET_IN_H
6868 # include <netinet/in.h>
6869 #endif
6870 #ifdef HAVE_NETINET_IN_SYSTM_H
6871 # include <netinet/in_systm.h>
6872 #endif
6873 #ifdef HAVE_NETINET_IP_H
6874 # include <netinet/ip.h>
6875 #endif
6876 #ifdef HAVE_NETINET_IP_VAR_H
6877 # include <netinet/ip_var.h>
6878 #endif
6879 #ifdef HAVE_NETINET_IP_ICMP_H
6880 # include <netinet/ip_icmp.h>
6881 #endif
6882 #ifdef HAVE_NETINET_UDP_H
6883 # include <netinet/udp.h>
6884 #endif
6885 #ifdef HAVE_NETINET_TCP_H
6886 # include <netinet/tcp.h>
6887 #endif
6888 #ifdef HAVE_NETINET_TCP_TIMER_H
6889 #include <netinet/tcp_timer.h>
6890 #endif
6892 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6893 cat >>confdefs.h <<_ACEOF
6894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6895 _ACEOF
6899 done
6902 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6903 do :
6904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6906 #ifdef HAVE_ASM_TYPES_H
6907 # include <asm/types.h>
6908 #endif
6909 #ifdef HAVE_SYS_SOCKET_H
6910 # include <sys/socket.h>
6911 #endif
6912 #ifdef HAVE_LINUX_TYPES_H
6913 # include <linux/types.h>
6914 #endif
6916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6917 cat >>confdefs.h <<_ACEOF
6918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6919 _ACEOF
6923 done
6926 for ac_header in mach-o/dyld_images.h
6927 do :
6928 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6929 # include <stdbool.h>
6930 #endif
6931 #ifdef HAVE_STDINT_H
6932 # include <stdint.h>
6933 #endif
6935 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6938 _ACEOF
6942 done
6945 for ac_header in resolv.h
6946 do :
6947 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6948 #ifdef HAVE_SYS_SOCKET_H
6949 # include <sys/socket.h>
6950 #endif
6951 #ifdef HAVE_NETINET_IN_H
6952 # include <netinet/in.h>
6953 #endif
6954 #ifdef HAVE_ARPA_NAMESER_H
6955 # include <arpa/nameser.h>
6956 #endif
6958 if test "x$ac_cv_header_resolv_h" = xyes; then :
6959 cat >>confdefs.h <<_ACEOF
6960 #define HAVE_RESOLV_H 1
6961 _ACEOF
6965 done
6968 for ac_header in ifaddrs.h
6969 do :
6970 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6972 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6973 cat >>confdefs.h <<_ACEOF
6974 #define HAVE_IFADDRS_H 1
6975 _ACEOF
6979 done
6982 for ac_header in sys/ucontext.h
6983 do :
6984 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6986 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6987 cat >>confdefs.h <<_ACEOF
6988 #define HAVE_SYS_UCONTEXT_H 1
6989 _ACEOF
6993 done
6996 for ac_header in sys/thr.h
6997 do :
6998 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6999 #ifdef HAVE_SYS_UCONTEXT_H
7000 #include <sys/ucontext.h>
7001 #endif
7003 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_SYS_THR_H 1
7006 _ACEOF
7010 done
7013 for ac_header in pthread_np.h
7014 do :
7015 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7016 #include <pthread.h>
7017 #endif
7019 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7020 cat >>confdefs.h <<_ACEOF
7021 #define HAVE_PTHREAD_NP_H 1
7022 _ACEOF
7026 done
7029 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7030 do :
7031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7032 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7033 #include <sys/time.h>
7034 #endif
7035 #include <sys/types.h>
7036 #ifdef HAVE_ASM_TYPES_H
7037 #include <asm/types.h>
7038 #endif
7040 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7041 cat >>confdefs.h <<_ACEOF
7042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7043 _ACEOF
7047 done
7050 for ac_header in libprocstat.h
7051 do :
7052 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7053 #include <sys/param.h>
7054 #endif
7055 #ifdef HAVE_SYS_QUEUE_H
7056 #include <sys/queue.h>
7057 #endif
7058 #ifdef HAVE_SYS_SOCKET_H
7059 #include <sys/socket.h>
7060 #endif
7062 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7063 cat >>confdefs.h <<_ACEOF
7064 #define HAVE_LIBPROCSTAT_H 1
7065 _ACEOF
7069 done
7073 dlldir="\${libdir}/wine"
7075 DLLPREFIX=""
7077 DLLFLAGS="-D_REENTRANT"
7079 LDRPATH_INSTALL=""
7081 LDRPATH_LOCAL=""
7083 LIBEXT="so"
7084 DLLEXT=".so"
7085 IMPLIBEXT="def"
7086 STATIC_IMPLIBEXT="def.a"
7087 # Extract the first word of "ldd", so it can be a program name with args.
7088 set dummy ldd; ac_word=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 $as_echo_n "checking for $ac_word... " >&6; }
7091 if ${ac_cv_path_LDD+:} false; then :
7092 $as_echo_n "(cached) " >&6
7093 else
7094 case $LDD in
7095 [\\/]* | ?:[\\/]*)
7096 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 as_dummy="/sbin:/usr/sbin:$PATH"
7101 for as_dir in $as_dummy
7103 IFS=$as_save_IFS
7104 test -z "$as_dir" && as_dir=.
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7107 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109 break 2
7111 done
7112 done
7113 IFS=$as_save_IFS
7115 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7117 esac
7119 LDD=$ac_cv_path_LDD
7120 if test -n "$LDD"; then
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7122 $as_echo "$LDD" >&6; }
7123 else
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7129 if test -n "$ac_tool_prefix"; then
7130 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7131 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_prog_READELF+:} false; then :
7135 $as_echo_n "(cached) " >&6
7136 else
7137 if test -n "$READELF"; then
7138 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7139 else
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 for as_dir in $PATH
7143 IFS=$as_save_IFS
7144 test -z "$as_dir" && as_dir=.
7145 for ac_exec_ext in '' $ac_executable_extensions; do
7146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 break 2
7151 done
7152 done
7153 IFS=$as_save_IFS
7157 READELF=$ac_cv_prog_READELF
7158 if test -n "$READELF"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7160 $as_echo "$READELF" >&6; }
7161 else
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7168 if test -z "$ac_cv_prog_READELF"; then
7169 ac_ct_READELF=$READELF
7170 # Extract the first word of "readelf", so it can be a program name with args.
7171 set dummy readelf; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 if test -n "$ac_ct_READELF"; then
7178 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7183 IFS=$as_save_IFS
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_ac_ct_READELF="readelf"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189 break 2
7191 done
7192 done
7193 IFS=$as_save_IFS
7197 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7198 if test -n "$ac_ct_READELF"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7200 $as_echo "$ac_ct_READELF" >&6; }
7201 else
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7206 if test "x$ac_ct_READELF" = x; then
7207 READELF="true"
7208 else
7209 case $cross_compiling:$ac_tool_warned in
7210 yes:)
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213 ac_tool_warned=yes ;;
7214 esac
7215 READELF=$ac_ct_READELF
7217 else
7218 READELF="$ac_cv_prog_READELF"
7221 wine_rules_file=conf$$rules.make
7222 rm -f $wine_rules_file
7223 ALL_POT_FILES=""
7224 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7225 ALL_TEST_RESOURCES=""
7228 wine_fn_append_file ()
7230 as_fn_append $1 " \\$as_nl $2"
7233 wine_fn_ignore_file ()
7235 case "$1" in
7236 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7237 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7238 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7239 esac
7242 wine_fn_append_rule ()
7244 $as_echo "$1" >>$wine_rules_file
7247 wine_fn_has_flag ()
7249 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7252 wine_fn_depend_rules ()
7254 wine_fn_append_rule \
7255 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7256 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7257 depend: $ac_dir/depend
7258 .PHONY: $ac_dir/depend
7259 $ac_dir/depend: \$(MAKEDEP) dummy
7260 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7263 wine_fn_pot_rules ()
7265 test "x$with_gettextpo" = xyes || return
7267 if wine_fn_has_flag mc
7268 then
7269 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7270 wine_fn_append_rule \
7271 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7272 @cd $ac_dir && \$(MAKE) msg.pot
7273 $ac_dir/msg.pot: tools/wmc include"
7275 if wine_fn_has_flag po
7276 then
7277 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7278 wine_fn_append_rule \
7279 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7280 @cd $ac_dir && \$(MAKE) rsrc.pot
7281 $ac_dir/rsrc.pot: tools/wrc include"
7285 wine_fn_all_rules ()
7287 wine_fn_depend_rules
7288 wine_fn_append_rule \
7289 "all: $ac_dir
7290 .PHONY: $ac_dir
7291 $ac_dir: $ac_dir/Makefile dummy
7292 @cd $ac_dir && \$(MAKE)"
7295 wine_fn_install_rules ()
7297 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7299 wine_fn_append_rule \
7300 ".PHONY: $ac_dir/install $ac_dir/uninstall
7301 $ac_dir/install:: $ac_dir
7302 @cd $ac_dir && \$(MAKE) install
7303 $ac_dir/uninstall:: $ac_dir/Makefile
7304 @cd $ac_dir && \$(MAKE) uninstall
7305 install:: $ac_dir/install
7306 __uninstall__: $ac_dir/uninstall"
7308 if wine_fn_has_flag install-lib
7309 then
7310 wine_fn_append_rule \
7311 ".PHONY: $ac_dir/install-lib
7312 $ac_dir/install-lib:: $ac_dir
7313 @cd $ac_dir && \$(MAKE) install-lib
7314 install-lib:: $ac_dir/install-lib"
7317 if wine_fn_has_flag install-dev
7318 then
7319 wine_fn_append_rule \
7320 ".PHONY: $ac_dir/install-dev
7321 $ac_dir/install-dev:: $ac_dir
7322 @cd $ac_dir && \$(MAKE) install-dev
7323 install-dev:: $ac_dir/install-dev"
7327 wine_fn_clean_rules ()
7329 ac_clean=$@
7330 ac_extraclean="$ac_dir/Makefile"
7331 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7332 case $ac_dir in
7333 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7334 esac
7336 if wine_fn_has_flag clean
7337 then
7338 wine_fn_append_rule \
7339 "__clean__: $ac_dir/clean
7340 .PHONY: $ac_dir/clean
7341 $ac_dir/clean: $ac_dir/Makefile
7342 @cd $ac_dir && \$(MAKE) clean
7343 \$(RM) $ac_extraclean"
7344 else
7345 wine_fn_append_rule \
7346 "__clean__: $ac_dir/clean
7347 .PHONY: $ac_dir/clean
7348 $ac_dir/clean: dummy
7349 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7353 wine_fn_disabled_rules ()
7355 ac_clean=$@
7356 ac_extraclean="$ac_dir/Makefile"
7357 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7359 wine_fn_append_rule \
7360 "__clean__: $ac_dir/clean
7361 .PHONY: $ac_dir/clean
7362 $ac_dir/clean: dummy
7363 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7366 wine_fn_config_makefile ()
7368 ac_dir=$1
7369 ac_enable=$2
7370 ac_flags=$3
7372 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7373 wine_fn_disabled_rules; return
7375 wine_fn_all_rules
7376 wine_fn_install_rules
7377 wine_fn_clean_rules
7380 wine_fn_config_lib ()
7382 ac_name=$1
7383 ac_flags=$2
7384 ac_dir=dlls/$ac_name
7385 ac_deps="include"
7387 if test "x$enable_tools" = xno; then :
7389 else
7390 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7392 wine_fn_all_rules
7393 wine_fn_clean_rules
7395 wine_fn_append_rule \
7396 ".PHONY: $ac_dir/install $ac_dir/uninstall
7397 $ac_dir/install:: $ac_dir
7398 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7399 $ac_dir/uninstall::
7400 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7401 install install-dev:: $ac_dir/install
7402 __uninstall__: $ac_dir/uninstall
7403 __builddeps__: $ac_dir
7404 $ac_dir: $ac_deps"
7407 wine_fn_config_dll ()
7409 ac_name=$1
7410 ac_dir=dlls/$ac_name
7411 ac_enable=$2
7412 ac_flags=$3
7413 ac_implib=${4:-$ac_name}
7414 ac_file=$ac_dir/lib$ac_implib
7415 ac_dll=$ac_name
7416 ac_deps="include"
7417 ac_implibflags=""
7419 if test "x$enable_tools" = xno; then :
7421 else
7422 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7424 case $ac_name in
7425 *16) ac_implibflags=" -m16" ;;
7426 *.*) ;;
7427 *) ac_dll=$ac_dll.dll ;;
7428 esac
7430 ac_clean=
7431 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7432 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7433 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7434 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7436 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7437 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7438 then
7439 wine_fn_depend_rules
7440 wine_fn_clean_rules $ac_clean
7441 else
7442 wine_fn_disabled_rules $ac_clean
7443 return
7445 else
7446 wine_fn_all_rules
7447 wine_fn_clean_rules $ac_clean
7448 wine_fn_append_rule \
7449 "$ac_dir: __builddeps__
7450 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7451 @cd $ac_dir && \$(MAKE) \$@
7452 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7453 install install-lib:: $ac_dir/install-lib
7454 __uninstall__: $ac_dir/uninstall"
7455 if test -n "$DLLEXT"
7456 then
7457 wine_fn_append_rule \
7458 "$ac_dir/install-lib:: $ac_dir
7459 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7460 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7461 $ac_dir/uninstall::
7462 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7463 else
7464 wine_fn_append_rule \
7465 "$ac_dir/install-lib:: $ac_dir
7466 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7467 $ac_dir/uninstall::
7468 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7471 wine_fn_pot_rules
7474 if wine_fn_has_flag staticimplib
7475 then
7476 wine_fn_append_rule \
7477 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7478 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7479 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7480 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7481 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7482 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7483 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7484 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7485 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7486 $ac_dir/uninstall::
7487 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 install install-dev:: $ac_dir/install-dev
7489 __uninstall__: $ac_dir/uninstall"
7491 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7492 then
7493 wine_fn_append_rule \
7494 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7495 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7496 $ac_dir/uninstall::
7497 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7500 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7501 then
7502 wine_fn_append_rule \
7503 "__builddeps__: $ac_file.cross.a
7504 $ac_file.cross.a: $ac_dir/Makefile dummy
7505 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7508 elif wine_fn_has_flag implib
7509 then
7510 wine_fn_append_rule \
7511 "__builddeps__: $ac_file.$IMPLIBEXT
7512 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7513 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7514 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7515 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7516 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7517 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7518 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7519 $ac_dir/uninstall::
7520 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7521 install install-dev:: $ac_dir/install-dev
7522 __uninstall__: $ac_dir/uninstall"
7523 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7524 then
7525 wine_fn_append_rule \
7526 "__builddeps__: $ac_file.cross.a
7527 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7528 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7531 if test "$ac_name" != "$ac_implib"
7532 then
7533 wine_fn_append_rule \
7534 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7535 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7536 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7537 clean::
7538 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7539 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7540 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7541 then
7542 wine_fn_append_rule \
7543 "__builddeps__: dlls/lib$ac_implib.cross.a
7544 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7545 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7546 clean::
7547 \$(RM) dlls/lib$ac_implib.cross.a"
7548 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7554 wine_fn_config_program ()
7556 ac_name=$1
7557 ac_dir=programs/$ac_name
7558 ac_enable=$2
7559 ac_flags=$3
7560 ac_program=$ac_name
7562 case $ac_name in
7563 *.*) ;;
7564 *) ac_program=$ac_program.exe ;;
7565 esac
7567 ac_clean=
7568 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7569 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7570 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7571 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7573 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7574 wine_fn_disabled_rules $ac_clean; return
7577 wine_fn_all_rules
7578 wine_fn_clean_rules $ac_clean
7579 wine_fn_append_rule "$ac_dir: __builddeps__"
7580 wine_fn_pot_rules
7582 wine_fn_has_flag install || return
7583 wine_fn_append_rule \
7584 ".PHONY: $ac_dir/install $ac_dir/uninstall
7585 install install-lib:: $ac_dir/install
7586 __uninstall__: $ac_dir/uninstall"
7588 if test -n "$DLLEXT"
7589 then
7590 wine_fn_append_rule \
7591 "$ac_dir/install:: $ac_dir
7592 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7593 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7594 $ac_dir/uninstall::
7595 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7597 if test -z "$with_wine64" && wine_fn_has_flag installbin
7598 then
7599 wine_fn_append_rule \
7600 "$ac_dir/install:: __tooldeps__
7601 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7602 $ac_dir/uninstall::
7603 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7605 else
7606 wine_fn_append_rule \
7607 "$ac_dir/install:: $ac_dir
7608 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7609 $ac_dir/uninstall::
7610 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7613 if test -z "$with_wine64" && wine_fn_has_flag manpage
7614 then
7615 wine_fn_append_rule \
7616 "$ac_dir/install:: $ac_dir
7617 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7618 $ac_dir/uninstall::
7619 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7623 wine_fn_config_test ()
7625 ac_dir=$1
7626 ac_name=$2
7627 ac_flags=$3
7629 ac_clean=
7630 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7631 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7633 if test "x$enable_tests" = xno; then :
7634 wine_fn_disabled_rules $ac_clean; return
7637 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7638 wine_fn_all_rules
7639 wine_fn_clean_rules $ac_clean
7641 wine_fn_append_rule \
7642 "$ac_dir: programs/winetest/Makefile __builddeps__
7643 programs/winetest: $ac_dir
7644 check test: $ac_dir/test
7645 .PHONY: $ac_dir/test
7646 $ac_dir/test: dummy
7647 @cd $ac_dir && \$(MAKE) test
7648 testclean::
7649 \$(RM) $ac_dir/*.ok"
7651 if test -n "$CROSSTARGET"
7652 then
7653 wine_fn_append_rule \
7654 "crosstest: $ac_dir/crosstest
7655 .PHONY: $ac_dir/crosstest
7656 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7657 @cd $ac_dir && \$(MAKE) crosstest"
7661 wine_fn_config_tool ()
7663 ac_dir=$1
7664 ac_flags=$2
7665 if test "x$enable_tools" = xno; then :
7666 return
7669 wine_fn_all_rules
7670 wine_fn_install_rules
7671 wine_fn_clean_rules
7673 wine_fn_append_rule "__tooldeps__: $ac_dir"
7674 wine_fn_append_rule "$ac_dir: libs/port"
7675 case $ac_dir in
7676 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7677 esac
7680 wine_fn_config_symlink ()
7682 ac_linkdir=
7683 if test "x$1" = "x-d"
7684 then
7685 ac_linkdir=$2
7686 shift; shift
7688 ac_links=$@
7689 wine_fn_append_rule \
7690 "$ac_links:
7691 @./config.status \$@
7692 distclean::
7693 \$(RM) $ac_links"
7694 for f in $ac_links; do wine_fn_ignore_file $f; done
7695 test -n "$ac_linkdir" || return
7696 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7699 wine_binary="wine"
7700 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7701 loader_programs="$wine_binary wine-installed"
7702 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7704 LOADER_RULES="
7705 all: wine.inf
7707 install install-lib:: wine-installed
7708 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7710 uninstall::
7711 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7715 case $host_os in
7716 cygwin*|mingw32*)
7717 if test -n "$ac_tool_prefix"; then
7718 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7719 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721 $as_echo_n "checking for $ac_word... " >&6; }
7722 if ${ac_cv_prog_DLLTOOL+:} false; then :
7723 $as_echo_n "(cached) " >&6
7724 else
7725 if test -n "$DLLTOOL"; then
7726 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7727 else
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 for as_dir in $PATH
7731 IFS=$as_save_IFS
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7735 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737 break 2
7739 done
7740 done
7741 IFS=$as_save_IFS
7745 DLLTOOL=$ac_cv_prog_DLLTOOL
7746 if test -n "$DLLTOOL"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7748 $as_echo "$DLLTOOL" >&6; }
7749 else
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751 $as_echo "no" >&6; }
7756 if test -z "$ac_cv_prog_DLLTOOL"; then
7757 ac_ct_DLLTOOL=$DLLTOOL
7758 # Extract the first word of "dlltool", so it can be a program name with args.
7759 set dummy dlltool; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7761 $as_echo_n "checking for $ac_word... " >&6; }
7762 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7763 $as_echo_n "(cached) " >&6
7764 else
7765 if test -n "$ac_ct_DLLTOOL"; then
7766 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7767 else
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 for as_dir in $PATH
7771 IFS=$as_save_IFS
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7775 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 break 2
7779 done
7780 done
7781 IFS=$as_save_IFS
7785 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7786 if test -n "$ac_ct_DLLTOOL"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7788 $as_echo "$ac_ct_DLLTOOL" >&6; }
7789 else
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7791 $as_echo "no" >&6; }
7794 if test "x$ac_ct_DLLTOOL" = x; then
7795 DLLTOOL="false"
7796 else
7797 case $cross_compiling:$ac_tool_warned in
7798 yes:)
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7801 ac_tool_warned=yes ;;
7802 esac
7803 DLLTOOL=$ac_ct_DLLTOOL
7805 else
7806 DLLTOOL="$ac_cv_prog_DLLTOOL"
7809 LIBEXT="dll"
7810 DLLEXT=""
7811 IMPLIBEXT="a"
7812 STATIC_IMPLIBEXT="a"
7813 enable_iphlpapi=${enable_iphlpapi:-no}
7814 enable_kernel32=${enable_kernel32:-no}
7815 enable_msvcrt=${enable_msvcrt:-no}
7816 enable_ntdll=${enable_ntdll:-no}
7817 enable_ws2_32=${enable_ws2_32:-no}
7818 enable_loader=${enable_loader:-no}
7819 enable_server=${enable_server:-no}
7820 with_x=${with_x:-no}
7821 with_pthread=${with_pthread:-no}
7823 crtlibs=""
7824 case $host_os in
7825 mingw32*)
7826 crtlibs="-lmsvcrt"
7827 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7829 esac
7831 libwine_targets="libwine.dll libwine.a"
7832 LIBWINE_RULES="
7833 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7835 all: libwine.dll libwine.a
7837 libwine.a: \$(srcdir)/wine.def
7838 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7840 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7841 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7843 install install-lib:: libwine.dll
7844 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7846 install install-dev:: libwine.a
7847 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7849 uninstall::
7850 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7855 darwin*|macosx*)
7856 for ac_header in libunwind.h
7857 do :
7858 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7860 cat >>confdefs.h <<_ACEOF
7861 #define HAVE_LIBUNWIND_H 1
7862 _ACEOF
7866 done
7868 LIBEXT="dylib"
7869 DLLFLAGS="$DLLFLAGS -fPIC"
7870 LIBWINE_LDFLAGS="-multiply_defined suppress"
7871 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7872 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7873 COREFOUNDATION_LIBS="-framework CoreFoundation"
7875 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7877 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7879 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7881 CORESERVICES_LIBS="-framework CoreServices"
7883 APPKIT_LIBS="-framework AppKit"
7885 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7887 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7888 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7889 $as_echo_n "(cached) " >&6
7890 else
7891 ac_wine_try_cflags_saved=$CFLAGS
7892 CFLAGS="$CFLAGS -Wl,-no_pie"
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 int main(int argc, char **argv) { return 0; }
7896 _ACEOF
7897 if ac_fn_c_try_link "$LINENO"; then :
7898 ac_cv_cflags__Wl__no_pie=yes
7899 else
7900 ac_cv_cflags__Wl__no_pie=no
7902 rm -f core conftest.err conftest.$ac_objext \
7903 conftest$ac_exeext conftest.$ac_ext
7904 CFLAGS=$ac_wine_try_cflags_saved
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7907 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7908 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7909 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7911 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7912 then
7913 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7916 if test "$ac_cv_header_Security_Security_h" = "yes"
7917 then
7918 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7920 ac_save_LIBS="$LIBS"
7921 LIBS="$LIBS $SECURITY_LIBS"
7922 for ac_func in SSLCopyPeerCertificates
7923 do :
7924 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7925 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7928 _ACEOF
7931 done
7933 LIBS="$ac_save_LIBS"
7934 with_gnutls=${with_gnutls:-no}
7936 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7937 then
7938 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7939 then
7940 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7942 else
7943 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7946 ac_save_LIBS="$LIBS"
7947 LIBS="$LIBS $COREAUDIO_LIBS"
7948 for ac_func in AUGraphAddNode
7949 do :
7950 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7951 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7952 cat >>confdefs.h <<_ACEOF
7953 #define HAVE_AUGRAPHADDNODE 1
7954 _ACEOF
7957 done
7959 LIBS="$ac_save_LIBS"
7961 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7962 then
7963 OPENAL_LIBS="-framework OpenAL"
7966 cat >>confdefs.h <<_ACEOF
7967 #define HAVE_OPENAL 1
7968 _ACEOF
7970 ac_cv_lib_openal=yes
7972 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7973 then
7974 OPENCL_LIBS="-framework OpenCL"
7976 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7978 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7979 then
7980 ac_save_LIBS="$LIBS"
7981 LIBS="$LIBS $IOKIT_LIBS"
7982 for ac_func in IOHIDManagerCreate
7983 do :
7984 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7985 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7986 cat >>confdefs.h <<_ACEOF
7987 #define HAVE_IOHIDMANAGERCREATE 1
7988 _ACEOF
7991 done
7993 LIBS="$ac_save_LIBS"
7995 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7996 then
7997 ac_save_LIBS="$LIBS"
7998 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8000 $as_echo_n "checking for the QuickTime framework... " >&6; }
8001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 /* end confdefs.h. */
8003 #include <QuickTime/ImageCompression.h>
8005 main ()
8007 CodecManagerVersion(NULL);
8009 return 0;
8011 _ACEOF
8012 if ac_fn_c_try_link "$LINENO"; then :
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8014 $as_echo "yes" >&6; }
8015 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8017 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8021 ac_cv_header_QuickTime_ImageCompression_h=no
8023 rm -f core conftest.err conftest.$ac_objext \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS="$ac_save_LIBS"
8027 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8028 then
8029 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8031 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8032 then
8033 CARBON_LIBS="-framework Carbon"
8037 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8038 then
8039 ac_save_LIBS="$LIBS"
8040 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8041 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8042 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8043 enable_winemac_drv=${enable_winemac_drv:-yes}
8046 LIBS="$ac_save_LIBS"
8049 if test "x$enable_win16" = "xyes"
8050 then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8052 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8053 if test "$cross_compiling" = yes; then :
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8055 $as_echo "cross-compiling, assuming yes" >&6; }
8056 else
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 asm(".text\n"
8060 "bad:\tnop;nop\n"
8061 "good:\tnop;nop\n\t"
8062 ".globl _testfunc\n"
8063 "_testfunc:\tcallw good");
8064 extern void testfunc();
8066 main ()
8068 unsigned short *p = (unsigned short *)testfunc;
8069 return p[0] != 0xe866 || p[1] != 0xfffa
8071 return 0;
8073 _ACEOF
8074 if ac_fn_c_try_run "$LINENO"; then :
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8076 $as_echo "yes" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8080 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
8082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8083 conftest.$ac_objext conftest.beam conftest.$ac_ext
8088 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8089 LIBWINE_RULES="
8090 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8092 all: libwine.dylib
8094 libwine.$libwine_version.dylib: \$(OBJS)
8095 \$(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 \$@
8097 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8098 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8100 libwine.dylib: libwine.$libwine_soversion.dylib
8101 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8103 install install-lib:: libwine.$libwine_version.dylib
8104 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8105 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8107 install install-dev::
8108 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8110 uninstall::
8111 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8115 as_fn_append LOADER_RULES "
8116 $wine_binary: main.o wine_info.plist
8117 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8119 wine-installed: main.o wine_info.plist
8120 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8124 linux-android*)
8125 DLLFLAGS="$DLLFLAGS -fPIC"
8126 DLLPREFIX="lib"
8127 LDEXECFLAGS=""
8128 dlldir="\${libdir}"
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8131 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 ac_wine_try_cflags_saved=$CFLAGS
8135 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8139 _ACEOF
8140 if ac_fn_c_try_link "$LINENO"; then :
8141 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8142 else
8143 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147 CFLAGS=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8151 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8152 LDEXECFLAGS="-Wl,--export-dynamic"
8154 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8156 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8157 if eval \${$as_ac_var+:} false; then :
8158 $as_echo_n "(cached) " >&6
8159 else
8160 ac_wine_try_cflags_saved=$CFLAGS
8161 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8168 else
8169 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8177 $as_echo "$ac_res" >&6; }
8178 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8179 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8180 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8181 else
8182 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8184 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8185 if eval \${$as_ac_var+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 ac_wine_try_cflags_saved=$CFLAGS
8189 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
8196 else
8197 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8205 $as_echo "$ac_res" >&6; }
8206 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8207 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8208 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8213 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8214 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8215 $as_echo_n "(cached) " >&6
8216 else
8217 ac_wine_try_cflags_saved=$CFLAGS
8218 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8221 int main(int argc, char **argv) { return 0; }
8222 _ACEOF
8223 if ac_fn_c_try_link "$LINENO"; then :
8224 ac_cv_cflags__Wl___enable_new_dtags=yes
8225 else
8226 ac_cv_cflags__Wl___enable_new_dtags=no
8228 rm -f core conftest.err conftest.$ac_objext \
8229 conftest$ac_exeext conftest.$ac_ext
8230 CFLAGS=$ac_wine_try_cflags_saved
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8233 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8234 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8235 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8238 case $host_cpu in
8239 *i[3456789]86* | x86_64)
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8242 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8253 else
8254 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8261 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8262 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8263 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8266 esac
8268 libwine_targets="libwine.so"
8269 LIBWINE_RULES="
8270 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8272 all: libwine.so
8274 libwine.so: \$(OBJS)
8275 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8277 install install-lib:: libwine.so
8278 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8280 uninstall::
8281 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8285 as_fn_append LOADER_RULES "
8286 $wine_binary: main.o
8287 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8289 wine-installed: main.o
8290 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8295 DLLFLAGS="$DLLFLAGS -fPIC"
8296 LDEXECFLAGS=""
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8298 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8299 if ${ac_cv_c_dll_gnuelf+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 void myfunc() {}
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 ac_cv_c_dll_gnuelf="yes"
8310 else
8311 ac_cv_c_dll_gnuelf="no"
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8318 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8319 if test "$ac_cv_c_dll_gnuelf" = "yes"
8320 then
8321 LDSHARED="\$(CC) -shared"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8323 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8324 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 ac_wine_try_cflags_saved=$CFLAGS
8328 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
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__fPIC__shared__Wl__soname_confest_so_1=yes
8335 else
8336 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=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__fPIC__shared__Wl__soname_confest_so_1" >&5
8343 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8344 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8345 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8346 else
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8348 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8349 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 ac_wine_try_cflags_saved=$CFLAGS
8353 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8356 int main(int argc, char **argv) { return 0; }
8357 _ACEOF
8358 if ac_fn_c_try_link "$LINENO"; then :
8359 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8360 else
8361 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8363 rm -f core conftest.err conftest.$ac_objext \
8364 conftest$ac_exeext conftest.$ac_ext
8365 CFLAGS=$ac_wine_try_cflags_saved
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8368 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8369 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8370 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8374 echo '{ global: *; };' >conftest.map
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8376 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8377 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8378 $as_echo_n "(cached) " >&6
8379 else
8380 ac_wine_try_cflags_saved=$CFLAGS
8381 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8383 /* end confdefs.h. */
8384 int main(int argc, char **argv) { return 0; }
8385 _ACEOF
8386 if ac_fn_c_try_link "$LINENO"; then :
8387 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8388 else
8389 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8391 rm -f core conftest.err conftest.$ac_objext \
8392 conftest$ac_exeext conftest.$ac_ext
8393 CFLAGS=$ac_wine_try_cflags_saved
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8396 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8397 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8398 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8400 rm -f conftest.map
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8403 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8404 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8415 else
8416 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8423 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8424 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8425 LDEXECFLAGS="-Wl,--export-dynamic"
8428 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8430 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8431 if eval \${$as_ac_var+:} false; then :
8432 $as_echo_n "(cached) " >&6
8433 else
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8438 int main(int argc, char **argv) { return 0; }
8439 _ACEOF
8440 if ac_fn_c_try_link "$LINENO"; then :
8441 eval "$as_ac_var=yes"
8442 else
8443 eval "$as_ac_var=no"
8445 rm -f core conftest.err conftest.$ac_objext \
8446 conftest$ac_exeext conftest.$ac_ext
8447 CFLAGS=$ac_wine_try_cflags_saved
8449 eval ac_res=\$$as_ac_var
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8451 $as_echo "$ac_res" >&6; }
8452 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8453 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8454 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8455 else
8456 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8459 if eval \${$as_ac_var+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 eval "$as_ac_var=yes"
8470 else
8471 eval "$as_ac_var=no"
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 eval ac_res=\$$as_ac_var
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8479 $as_echo "$ac_res" >&6; }
8480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8481 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8482 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8487 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8488 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 int main(int argc, char **argv) { return 0; }
8496 _ACEOF
8497 if ac_fn_c_try_link "$LINENO"; then :
8498 ac_cv_cflags__Wl___enable_new_dtags=yes
8499 else
8500 ac_cv_cflags__Wl___enable_new_dtags=no
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 CFLAGS=$ac_wine_try_cflags_saved
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8507 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8508 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8509 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8512 case $host_cpu in
8513 *i[3456789]86* | x86_64)
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8515 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8516 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 ac_wine_try_cflags_saved=$CFLAGS
8520 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 int main(int argc, char **argv) { return 0; }
8524 _ACEOF
8525 if ac_fn_c_try_link "$LINENO"; then :
8526 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8527 else
8528 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 CFLAGS=$ac_wine_try_cflags_saved
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8535 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8536 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8537 case $host_os in
8538 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8539 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8540 esac
8543 # Extract the first word of "prelink", so it can be a program name with args.
8544 set dummy prelink; ac_word=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8546 $as_echo_n "checking for $ac_word... " >&6; }
8547 if ${ac_cv_path_PRELINK+:} false; then :
8548 $as_echo_n "(cached) " >&6
8549 else
8550 case $PRELINK in
8551 [\\/]* | ?:[\\/]*)
8552 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556 for as_dir in /sbin /usr/sbin $PATH
8558 IFS=$as_save_IFS
8559 test -z "$as_dir" && as_dir=.
8560 for ac_exec_ext in '' $ac_executable_extensions; do
8561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8562 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564 break 2
8566 done
8567 done
8568 IFS=$as_save_IFS
8570 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8572 esac
8574 PRELINK=$ac_cv_path_PRELINK
8575 if test -n "$PRELINK"; then
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8577 $as_echo "$PRELINK" >&6; }
8578 else
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8580 $as_echo "no" >&6; }
8584 if test "x$PRELINK" = xfalse
8585 then
8586 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8589 esac
8591 else
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8593 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8594 if ${ac_cv_c_dll_unixware+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 void myfunc() {}
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 ac_cv_c_dll_unixware="yes"
8605 else
8606 ac_cv_c_dll_unixware="no"
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8613 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8614 if test "$ac_cv_c_dll_unixware" = "yes"
8615 then
8616 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8619 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8620 LIBWINE_RULES="
8621 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8623 all: libwine.so
8625 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8626 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8628 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8629 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8631 libwine.so: libwine.so.$libwine_soversion
8632 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8634 install install-lib:: libwine.so.$libwine_version
8635 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8636 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8638 install install-dev::
8639 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8641 uninstall::
8642 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8646 as_fn_append LOADER_RULES "
8647 $wine_binary: main.o
8648 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8650 wine-installed: main.o
8651 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8654 esac
8656 as_fn_append LIBWINE_RULES "
8657 EXTRA_TARGETS = $libwine_targets
8660 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8661 enable_winemac_drv=${enable_winemac_drv:-no}
8663 CROSSTARGET=""
8665 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8666 then
8667 case "$host_cpu" in
8668 i[3456789]86*)
8669 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
8670 mingw32-gcc" ;;
8671 x86_64)
8672 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 " ;;
8674 ac_prefix_list="" ;;
8675 esac
8676 for ac_prog in $ac_prefix_list
8678 # Extract the first word of "$ac_prog", so it can be a program name with args.
8679 set dummy $ac_prog; ac_word=$2
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8681 $as_echo_n "checking for $ac_word... " >&6; }
8682 if ${ac_cv_prog_CROSSCC+:} false; then :
8683 $as_echo_n "(cached) " >&6
8684 else
8685 if test -n "$CROSSCC"; then
8686 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8687 else
8688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8689 for as_dir in $PATH
8691 IFS=$as_save_IFS
8692 test -z "$as_dir" && as_dir=.
8693 for ac_exec_ext in '' $ac_executable_extensions; do
8694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8695 ac_cv_prog_CROSSCC="$ac_prog"
8696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 break 2
8699 done
8700 done
8701 IFS=$as_save_IFS
8705 CROSSCC=$ac_cv_prog_CROSSCC
8706 if test -n "$CROSSCC"; then
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8708 $as_echo "$CROSSCC" >&6; }
8709 else
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8711 $as_echo "no" >&6; }
8715 test -n "$CROSSCC" && break
8716 done
8717 test -n "$CROSSCC" || CROSSCC="false"
8719 if test "$CROSSCC" != "false"
8720 then
8721 ac_save_CC="$CC"
8722 CC="$CROSSCC"
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8724 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8729 main ()
8733 return 0;
8735 _ACEOF
8736 if ac_fn_c_try_compile "$LINENO"; then :
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8738 $as_echo "yes" >&6; }
8739 set x $CROSSCC
8740 shift
8741 while test $# -ge 1
8743 case "$1" in
8744 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8745 esac
8746 shift
8747 done
8748 else
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8750 $as_echo "no" >&6; }
8752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8753 CC="$ac_save_CC"
8758 if test "$ac_cv_header_pthread_h" = "yes"
8759 then
8760 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8761 if test "x$ac_cv_func_pthread_create" = xyes; then :
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8765 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8766 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_check_lib_save_LIBS=$LIBS
8770 LIBS="-lpthread $LIBS"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8774 /* Override any GCC internal prototype to avoid an error.
8775 Use char because int might match the return type of a GCC
8776 builtin and then its argument prototype would still apply. */
8777 #ifdef __cplusplus
8778 extern "C"
8779 #endif
8780 char pthread_create ();
8782 main ()
8784 return pthread_create ();
8786 return 0;
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 ac_cv_lib_pthread_pthread_create=yes
8791 else
8792 ac_cv_lib_pthread_pthread_create=no
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 LIBS=$ac_check_lib_save_LIBS
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8799 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8800 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8801 PTHREAD_LIBS="-lpthread"
8808 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8809 case "x$with_pthread" in
8810 xno) ;;
8811 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8812 Wine cannot support threads without libpthread.
8813 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8814 esac
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8819 $as_echo_n "checking for X... " >&6; }
8822 # Check whether --with-x was given.
8823 if test "${with_x+set}" = set; then :
8824 withval=$with_x;
8827 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8828 if test "x$with_x" = xno; then
8829 # The user explicitly disabled X.
8830 have_x=disabled
8831 else
8832 case $x_includes,$x_libraries in #(
8833 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8834 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 # One or both of the vars are not set, and there is no cached value.
8838 ac_x_includes=no ac_x_libraries=no
8839 rm -f -r conftest.dir
8840 if mkdir conftest.dir; then
8841 cd conftest.dir
8842 cat >Imakefile <<'_ACEOF'
8843 incroot:
8844 @echo incroot='${INCROOT}'
8845 usrlibdir:
8846 @echo usrlibdir='${USRLIBDIR}'
8847 libdir:
8848 @echo libdir='${LIBDIR}'
8849 _ACEOF
8850 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8851 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8852 for ac_var in incroot usrlibdir libdir; do
8853 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8854 done
8855 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8856 for ac_extension in a so sl dylib la dll; do
8857 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8858 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8859 ac_im_usrlibdir=$ac_im_libdir; break
8861 done
8862 # Screen out bogus values from the imake configuration. They are
8863 # bogus both because they are the default anyway, and because
8864 # using them would break gcc on systems where it needs fixed includes.
8865 case $ac_im_incroot in
8866 /usr/include) ac_x_includes= ;;
8867 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8868 esac
8869 case $ac_im_usrlibdir in
8870 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8871 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8872 esac
8874 cd ..
8875 rm -f -r conftest.dir
8878 # Standard set of common directories for X headers.
8879 # Check X11 before X11Rn because it is often a symlink to the current release.
8880 ac_x_header_dirs='
8881 /usr/X11/include
8882 /usr/X11R7/include
8883 /usr/X11R6/include
8884 /usr/X11R5/include
8885 /usr/X11R4/include
8887 /usr/include/X11
8888 /usr/include/X11R7
8889 /usr/include/X11R6
8890 /usr/include/X11R5
8891 /usr/include/X11R4
8893 /usr/local/X11/include
8894 /usr/local/X11R7/include
8895 /usr/local/X11R6/include
8896 /usr/local/X11R5/include
8897 /usr/local/X11R4/include
8899 /usr/local/include/X11
8900 /usr/local/include/X11R7
8901 /usr/local/include/X11R6
8902 /usr/local/include/X11R5
8903 /usr/local/include/X11R4
8905 /usr/X386/include
8906 /usr/x386/include
8907 /usr/XFree86/include/X11
8909 /usr/include
8910 /usr/local/include
8911 /usr/unsupported/include
8912 /usr/athena/include
8913 /usr/local/x11r5/include
8914 /usr/lpp/Xamples/include
8916 /usr/openwin/include
8917 /usr/openwin/share/include'
8919 if test "$ac_x_includes" = no; then
8920 # Guess where to find include files, by looking for Xlib.h.
8921 # First, try using that file with no special directory specified.
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8924 #include <X11/Xlib.h>
8925 _ACEOF
8926 if ac_fn_c_try_cpp "$LINENO"; then :
8927 # We can compile using X headers with no special include directory.
8928 ac_x_includes=
8929 else
8930 for ac_dir in $ac_x_header_dirs; do
8931 if test -r "$ac_dir/X11/Xlib.h"; then
8932 ac_x_includes=$ac_dir
8933 break
8935 done
8937 rm -f conftest.err conftest.i conftest.$ac_ext
8938 fi # $ac_x_includes = no
8940 if test "$ac_x_libraries" = no; then
8941 # Check for the libraries.
8942 # See if we find them without any special options.
8943 # Don't add to $LIBS permanently.
8944 ac_save_LIBS=$LIBS
8945 LIBS="-lX11 $LIBS"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8948 #include <X11/Xlib.h>
8950 main ()
8952 XrmInitialize ()
8954 return 0;
8956 _ACEOF
8957 if ac_fn_c_try_link "$LINENO"; then :
8958 LIBS=$ac_save_LIBS
8959 # We can link X programs with no special library path.
8960 ac_x_libraries=
8961 else
8962 LIBS=$ac_save_LIBS
8963 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8965 # Don't even attempt the hair of trying to link an X program!
8966 for ac_extension in a so sl dylib la dll; do
8967 if test -r "$ac_dir/libX11.$ac_extension"; then
8968 ac_x_libraries=$ac_dir
8969 break 2
8971 done
8972 done
8974 rm -f core conftest.err conftest.$ac_objext \
8975 conftest$ac_exeext conftest.$ac_ext
8976 fi # $ac_x_libraries = no
8978 case $ac_x_includes,$ac_x_libraries in #(
8979 no,* | *,no | *\'*)
8980 # Didn't find X, or a directory has "'" in its name.
8981 ac_cv_have_x="have_x=no";; #(
8983 # Record where we found X for the cache.
8984 ac_cv_have_x="have_x=yes\
8985 ac_x_includes='$ac_x_includes'\
8986 ac_x_libraries='$ac_x_libraries'"
8987 esac
8989 ;; #(
8990 *) have_x=yes;;
8991 esac
8992 eval "$ac_cv_have_x"
8993 fi # $with_x != no
8995 if test "$have_x" != yes; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8997 $as_echo "$have_x" >&6; }
8998 no_x=yes
8999 else
9000 # If each of the values was on the command line, it overrides each guess.
9001 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9002 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9003 # Update the cache value to reflect the command line values.
9004 ac_cv_have_x="have_x=yes\
9005 ac_x_includes='$x_includes'\
9006 ac_x_libraries='$x_libraries'"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9008 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9011 if test "$no_x" = yes; then
9012 # Not all programs may use this symbol, but it does not hurt to define it.
9014 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9016 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9017 else
9018 if test -n "$x_includes"; then
9019 X_CFLAGS="$X_CFLAGS -I$x_includes"
9022 # It would also be nice to do this for all -L options, not just this one.
9023 if test -n "$x_libraries"; then
9024 X_LIBS="$X_LIBS -L$x_libraries"
9025 # For Solaris; some versions of Sun CC require a space after -R and
9026 # others require no space. Words are not sufficient . . . .
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9028 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9029 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9030 ac_xsave_c_werror_flag=$ac_c_werror_flag
9031 ac_c_werror_flag=yes
9032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9033 /* end confdefs.h. */
9036 main ()
9040 return 0;
9042 _ACEOF
9043 if ac_fn_c_try_link "$LINENO"; then :
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9046 X_LIBS="$X_LIBS -R$x_libraries"
9047 else
9048 LIBS="$ac_xsave_LIBS -R $x_libraries"
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9053 main ()
9057 return 0;
9059 _ACEOF
9060 if ac_fn_c_try_link "$LINENO"; then :
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9062 $as_echo "yes" >&6; }
9063 X_LIBS="$X_LIBS -R $x_libraries"
9064 else
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9066 $as_echo "neither works" >&6; }
9068 rm -f core conftest.err conftest.$ac_objext \
9069 conftest$ac_exeext conftest.$ac_ext
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 ac_c_werror_flag=$ac_xsave_c_werror_flag
9074 LIBS=$ac_xsave_LIBS
9077 # Check for system-dependent libraries X programs must link with.
9078 # Do this before checking for the system-independent R6 libraries
9079 # (-lICE), since we may need -lsocket or whatever for X linking.
9081 if test "$ISC" = yes; then
9082 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9083 else
9084 # Martyn Johnson says this is needed for Ultrix, if the X
9085 # libraries were built with DECnet support. And Karl Berry says
9086 # the Alpha needs dnet_stub (dnet does not exist).
9087 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9094 #ifdef __cplusplus
9095 extern "C"
9096 #endif
9097 char XOpenDisplay ();
9099 main ()
9101 return XOpenDisplay ();
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_link "$LINENO"; then :
9108 else
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9110 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9111 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9112 $as_echo_n "(cached) " >&6
9113 else
9114 ac_check_lib_save_LIBS=$LIBS
9115 LIBS="-ldnet $LIBS"
9116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9117 /* end confdefs.h. */
9119 /* Override any GCC internal prototype to avoid an error.
9120 Use char because int might match the return type of a GCC
9121 builtin and then its argument prototype would still apply. */
9122 #ifdef __cplusplus
9123 extern "C"
9124 #endif
9125 char dnet_ntoa ();
9127 main ()
9129 return dnet_ntoa ();
9131 return 0;
9133 _ACEOF
9134 if ac_fn_c_try_link "$LINENO"; then :
9135 ac_cv_lib_dnet_dnet_ntoa=yes
9136 else
9137 ac_cv_lib_dnet_dnet_ntoa=no
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 LIBS=$ac_check_lib_save_LIBS
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9144 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9145 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9146 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9149 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9151 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9152 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9153 $as_echo_n "(cached) " >&6
9154 else
9155 ac_check_lib_save_LIBS=$LIBS
9156 LIBS="-ldnet_stub $LIBS"
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9160 /* Override any GCC internal prototype to avoid an error.
9161 Use char because int might match the return type of a GCC
9162 builtin and then its argument prototype would still apply. */
9163 #ifdef __cplusplus
9164 extern "C"
9165 #endif
9166 char dnet_ntoa ();
9168 main ()
9170 return dnet_ntoa ();
9172 return 0;
9174 _ACEOF
9175 if ac_fn_c_try_link "$LINENO"; then :
9176 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9177 else
9178 ac_cv_lib_dnet_stub_dnet_ntoa=no
9180 rm -f core conftest.err conftest.$ac_objext \
9181 conftest$ac_exeext conftest.$ac_ext
9182 LIBS=$ac_check_lib_save_LIBS
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9185 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9186 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9187 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 LIBS="$ac_xsave_LIBS"
9196 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9197 # to get the SysV transport functions.
9198 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9199 # needs -lnsl.
9200 # The nsl library prevents programs from opening the X display
9201 # on Irix 5.2, according to T.E. Dickey.
9202 # The functions gethostbyname, getservbyname, and inet_addr are
9203 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9204 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9205 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9209 if test $ac_cv_func_gethostbyname = no; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9211 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9212 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9213 $as_echo_n "(cached) " >&6
9214 else
9215 ac_check_lib_save_LIBS=$LIBS
9216 LIBS="-lnsl $LIBS"
9217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 #endif
9226 char gethostbyname ();
9228 main ()
9230 return gethostbyname ();
9232 return 0;
9234 _ACEOF
9235 if ac_fn_c_try_link "$LINENO"; then :
9236 ac_cv_lib_nsl_gethostbyname=yes
9237 else
9238 ac_cv_lib_nsl_gethostbyname=no
9240 rm -f core conftest.err conftest.$ac_objext \
9241 conftest$ac_exeext conftest.$ac_ext
9242 LIBS=$ac_check_lib_save_LIBS
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9245 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9246 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9250 if test $ac_cv_lib_nsl_gethostbyname = no; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9252 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9253 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9254 $as_echo_n "(cached) " >&6
9255 else
9256 ac_check_lib_save_LIBS=$LIBS
9257 LIBS="-lbsd $LIBS"
9258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9259 /* end confdefs.h. */
9261 /* Override any GCC internal prototype to avoid an error.
9262 Use char because int might match the return type of a GCC
9263 builtin and then its argument prototype would still apply. */
9264 #ifdef __cplusplus
9265 extern "C"
9266 #endif
9267 char gethostbyname ();
9269 main ()
9271 return gethostbyname ();
9273 return 0;
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 ac_cv_lib_bsd_gethostbyname=yes
9278 else
9279 ac_cv_lib_bsd_gethostbyname=no
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9283 LIBS=$ac_check_lib_save_LIBS
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9286 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9287 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9294 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9295 # socket/setsockopt and other routines are undefined under SCO ODT
9296 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9297 # on later versions), says Simon Leinen: it contains gethostby*
9298 # variants that don't use the name server (or something). -lsocket
9299 # must be given before -lnsl if both are needed. We assume that
9300 # if connect needs -lnsl, so does gethostbyname.
9301 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9302 if test "x$ac_cv_func_connect" = xyes; then :
9306 if test $ac_cv_func_connect = no; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9308 $as_echo_n "checking for connect in -lsocket... " >&6; }
9309 if ${ac_cv_lib_socket_connect+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_check_lib_save_LIBS=$LIBS
9313 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9320 #ifdef __cplusplus
9321 extern "C"
9322 #endif
9323 char connect ();
9325 main ()
9327 return connect ();
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_lib_socket_connect=yes
9334 else
9335 ac_cv_lib_socket_connect=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 LIBS=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9342 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9343 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9344 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9349 # Guillermo Gomez says -lposix is necessary on A/UX.
9350 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9351 if test "x$ac_cv_func_remove" = xyes; then :
9355 if test $ac_cv_func_remove = no; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9357 $as_echo_n "checking for remove in -lposix... " >&6; }
9358 if ${ac_cv_lib_posix_remove+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_check_lib_save_LIBS=$LIBS
9362 LIBS="-lposix $LIBS"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9366 /* Override any GCC internal prototype to avoid an error.
9367 Use char because int might match the return type of a GCC
9368 builtin and then its argument prototype would still apply. */
9369 #ifdef __cplusplus
9370 extern "C"
9371 #endif
9372 char remove ();
9374 main ()
9376 return remove ();
9378 return 0;
9380 _ACEOF
9381 if ac_fn_c_try_link "$LINENO"; then :
9382 ac_cv_lib_posix_remove=yes
9383 else
9384 ac_cv_lib_posix_remove=no
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 LIBS=$ac_check_lib_save_LIBS
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9391 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9392 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9398 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9399 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9400 if test "x$ac_cv_func_shmat" = xyes; then :
9404 if test $ac_cv_func_shmat = no; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9406 $as_echo_n "checking for shmat in -lipc... " >&6; }
9407 if ${ac_cv_lib_ipc_shmat+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lipc $LIBS"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char shmat ();
9423 main ()
9425 return shmat ();
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_lib_ipc_shmat=yes
9432 else
9433 ac_cv_lib_ipc_shmat=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9440 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9441 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9442 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9448 # Check for libraries that X11R6 Xt/Xaw programs need.
9449 ac_save_LDFLAGS=$LDFLAGS
9450 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9451 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9452 # check for ICE first), but we must link in the order -lSM -lICE or
9453 # we get undefined symbols. So assume we have SM if we have ICE.
9454 # These have to be linked with before -lX11, unlike the other
9455 # libraries we check for below, so use a different variable.
9456 # John Interrante, Karl Berry
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9458 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9459 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9460 $as_echo_n "(cached) " >&6
9461 else
9462 ac_check_lib_save_LIBS=$LIBS
9463 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9470 #ifdef __cplusplus
9471 extern "C"
9472 #endif
9473 char IceConnectionNumber ();
9475 main ()
9477 return IceConnectionNumber ();
9479 return 0;
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"; then :
9483 ac_cv_lib_ICE_IceConnectionNumber=yes
9484 else
9485 ac_cv_lib_ICE_IceConnectionNumber=no
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_lib_save_LIBS
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9492 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9493 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9494 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9497 LDFLAGS=$ac_save_LDFLAGS
9502 if test "$have_x" = "yes"
9503 then
9504 ac_save_CPPFLAGS="$CPPFLAGS"
9505 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9508 $as_echo_n "checking for -lX11... " >&6; }
9509 if ${ac_cv_lib_soname_X11+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_check_soname_save_LIBS=$LIBS
9513 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 #endif
9523 char XCreateWindow ();
9525 main ()
9527 return XCreateWindow ();
9529 return 0;
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533 case "$LIBEXT" in
9534 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9535 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'` ;;
9536 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9537 if ${ac_cv_lib_soname_X11:+false} :; then :
9538 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9539 fi ;;
9540 esac
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_soname_save_LIBS
9546 if ${ac_cv_lib_soname_X11:+false} :; then :
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9548 $as_echo "not found" >&6; }
9550 else
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9552 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9554 cat >>confdefs.h <<_ACEOF
9555 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9556 _ACEOF
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9561 $as_echo_n "checking for -lXext... " >&6; }
9562 if ${ac_cv_lib_soname_Xext+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_check_soname_save_LIBS=$LIBS
9566 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9570 /* Override any GCC internal prototype to avoid an error.
9571 Use char because int might match the return type of a GCC
9572 builtin and then its argument prototype would still apply. */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 char XextCreateExtension ();
9578 main ()
9580 return XextCreateExtension ();
9582 return 0;
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 case "$LIBEXT" in
9587 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9588 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'` ;;
9589 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9590 if ${ac_cv_lib_soname_Xext:+false} :; then :
9591 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9592 fi ;;
9593 esac
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 LIBS=$ac_check_soname_save_LIBS
9599 if ${ac_cv_lib_soname_Xext:+false} :; then :
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9601 $as_echo "not found" >&6; }
9603 else
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9605 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9607 cat >>confdefs.h <<_ACEOF
9608 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9609 _ACEOF
9611 X_LIBS="$X_LIBS -lXext"
9613 X_LIBS="$X_LIBS -lX11"
9615 for ac_header in X11/Xlib.h \
9616 X11/XKBlib.h \
9617 X11/Xutil.h \
9618 X11/Xcursor/Xcursor.h \
9619 X11/extensions/shape.h \
9620 X11/extensions/XInput.h \
9621 X11/extensions/XInput2.h \
9622 X11/extensions/XShm.h \
9623 X11/extensions/Xcomposite.h \
9624 X11/extensions/Xinerama.h \
9625 X11/extensions/Xrandr.h \
9626 X11/extensions/Xrender.h \
9627 X11/extensions/xf86vmode.h \
9628 X11/extensions/xf86vmproto.h
9629 do :
9630 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9631 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9632 # include <X11/Xlib.h>
9633 #endif
9634 #ifdef HAVE_X11_XUTIL_H
9635 # include <X11/Xutil.h>
9636 #endif
9638 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9639 cat >>confdefs.h <<_ACEOF
9640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9641 _ACEOF
9645 done
9648 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9649 then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9651 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9652 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_check_lib_save_LIBS=$LIBS
9656 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char XkbQueryExtension ();
9668 main ()
9670 return XkbQueryExtension ();
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_lib_X11_XkbQueryExtension=yes
9677 else
9678 ac_cv_lib_X11_XkbQueryExtension=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9685 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9686 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9688 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9694 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9695 then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9697 $as_echo_n "checking for -lXcursor... " >&6; }
9698 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_soname_save_LIBS=$LIBS
9702 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char XcursorImageLoadCursor ();
9714 main ()
9716 return XcursorImageLoadCursor ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 case "$LIBEXT" in
9723 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9724 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'` ;;
9725 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9726 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9727 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9728 fi ;;
9729 esac
9731 rm -f core conftest.err conftest.$ac_objext \
9732 conftest$ac_exeext conftest.$ac_ext
9733 LIBS=$ac_check_soname_save_LIBS
9735 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9737 $as_echo "not found" >&6; }
9739 else
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9741 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9743 cat >>confdefs.h <<_ACEOF
9744 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9745 _ACEOF
9750 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9751 case "x$with_xcursor" in
9752 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9753 xno) ;;
9754 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9755 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9756 esac
9759 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9760 then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9762 $as_echo_n "checking for -lXi... " >&6; }
9763 if ${ac_cv_lib_soname_Xi+:} false; then :
9764 $as_echo_n "(cached) " >&6
9765 else
9766 ac_check_soname_save_LIBS=$LIBS
9767 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9771 /* Override any GCC internal prototype to avoid an error.
9772 Use char because int might match the return type of a GCC
9773 builtin and then its argument prototype would still apply. */
9774 #ifdef __cplusplus
9775 extern "C"
9776 #endif
9777 char XOpenDevice ();
9779 main ()
9781 return XOpenDevice ();
9783 return 0;
9785 _ACEOF
9786 if ac_fn_c_try_link "$LINENO"; then :
9787 case "$LIBEXT" in
9788 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9789 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'` ;;
9790 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9791 if ${ac_cv_lib_soname_Xi:+false} :; then :
9792 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9793 fi ;;
9794 esac
9796 rm -f core conftest.err conftest.$ac_objext \
9797 conftest$ac_exeext conftest.$ac_ext
9798 LIBS=$ac_check_soname_save_LIBS
9800 if ${ac_cv_lib_soname_Xi:+false} :; then :
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9802 $as_echo "not found" >&6; }
9804 else
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9806 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9808 cat >>confdefs.h <<_ACEOF
9809 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9810 _ACEOF
9815 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9816 case "x$with_xinput" in
9817 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9818 xno) ;;
9819 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9820 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9821 esac
9824 if test "x$ac_cv_lib_soname_Xi" != x
9825 then
9826 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9827 case "x$with_xinput2" in
9828 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9829 xno) ;;
9830 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9831 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9832 esac
9836 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9837 then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9839 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9840 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9841 $as_echo_n "(cached) " >&6
9842 else
9843 ac_check_lib_save_LIBS=$LIBS
9844 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9851 #ifdef __cplusplus
9852 extern "C"
9853 #endif
9854 char XShmQueryExtension ();
9856 main ()
9858 return XShmQueryExtension ();
9860 return 0;
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 ac_cv_lib_Xext_XShmQueryExtension=yes
9865 else
9866 ac_cv_lib_Xext_XShmQueryExtension=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LIBS=$ac_check_lib_save_LIBS
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9873 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9874 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9876 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9881 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9882 case "x$with_xshm" in
9883 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9884 xno) ;;
9885 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9886 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9887 esac
9890 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9891 then
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9893 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9894 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9902 /* Override any GCC internal prototype to avoid an error.
9903 Use char because int might match the return type of a GCC
9904 builtin and then its argument prototype would still apply. */
9905 #ifdef __cplusplus
9906 extern "C"
9907 #endif
9908 char XShapeQueryExtension ();
9910 main ()
9912 return XShapeQueryExtension ();
9914 return 0;
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"; then :
9918 ac_cv_lib_Xext_XShapeQueryExtension=yes
9919 else
9920 ac_cv_lib_Xext_XShapeQueryExtension=no
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_lib_save_LIBS
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9927 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9928 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9930 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9935 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9936 case "x$with_xshape" in
9937 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9938 xno) ;;
9939 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9940 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9941 esac
9944 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9945 then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9947 $as_echo_n "checking for -lXxf86vm... " >&6; }
9948 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9949 $as_echo_n "(cached) " >&6
9950 else
9951 ac_check_soname_save_LIBS=$LIBS
9952 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9959 #ifdef __cplusplus
9960 extern "C"
9961 #endif
9962 char XF86VidModeQueryExtension ();
9964 main ()
9966 return XF86VidModeQueryExtension ();
9968 return 0;
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 case "$LIBEXT" in
9973 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9974 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'` ;;
9975 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9976 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9977 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9978 fi ;;
9979 esac
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LIBS=$ac_check_soname_save_LIBS
9985 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9987 $as_echo "not found" >&6; }
9989 else
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9991 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9993 cat >>confdefs.h <<_ACEOF
9994 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9995 _ACEOF
10000 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10001 case "x$with_xxf86vm" in
10002 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10003 xno) ;;
10004 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10005 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10006 esac
10009 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10010 then
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10012 $as_echo_n "checking for -lXrender... " >&6; }
10013 if ${ac_cv_lib_soname_Xrender+:} false; then :
10014 $as_echo_n "(cached) " >&6
10015 else
10016 ac_check_soname_save_LIBS=$LIBS
10017 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10021 /* Override any GCC internal prototype to avoid an error.
10022 Use char because int might match the return type of a GCC
10023 builtin and then its argument prototype would still apply. */
10024 #ifdef __cplusplus
10025 extern "C"
10026 #endif
10027 char XRenderQueryExtension ();
10029 main ()
10031 return XRenderQueryExtension ();
10033 return 0;
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 case "$LIBEXT" in
10038 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10039 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'` ;;
10040 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10041 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10042 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 fi ;;
10044 esac
10046 rm -f core conftest.err conftest.$ac_objext \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_soname_save_LIBS
10050 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10052 $as_echo "not found" >&6; }
10054 else
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10056 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10058 cat >>confdefs.h <<_ACEOF
10059 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10060 _ACEOF
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10063 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10064 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XRenderSetPictureTransform ();
10080 main ()
10082 return XRenderSetPictureTransform ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10089 else
10090 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10097 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10098 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10100 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10105 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10106 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XRenderCreateLinearGradient ();
10122 main ()
10124 return XRenderCreateLinearGradient ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10131 else
10132 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_lib_save_LIBS
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10139 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10140 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10142 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10149 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10150 case "x$with_xrender" in
10151 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10152 xno) ;;
10153 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10154 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10155 esac
10158 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10159 then
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10162 #include <X11/Xlib.h>
10163 #include <X11/extensions/Xrandr.h>
10165 main ()
10167 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10169 return 0;
10171 _ACEOF
10172 if ac_fn_c_try_compile "$LINENO"; then :
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10174 $as_echo_n "checking for -lXrandr... " >&6; }
10175 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_check_soname_save_LIBS=$LIBS
10179 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XRRQueryExtension ();
10191 main ()
10193 return XRRQueryExtension ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"; then :
10199 case "$LIBEXT" in
10200 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10201 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'` ;;
10202 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10203 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10204 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10205 fi ;;
10206 esac
10208 rm -f core conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_soname_save_LIBS
10212 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10214 $as_echo "not found" >&6; }
10216 else
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10218 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10220 cat >>confdefs.h <<_ACEOF
10221 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10222 _ACEOF
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 #include <X11/Xlib.h>
10227 #include <X11/extensions/Xrandr.h>
10229 main ()
10231 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10233 return 0;
10235 _ACEOF
10236 if ac_fn_c_try_compile "$LINENO"; then :
10238 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10246 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10247 case "x$with_xrandr" in
10248 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10249 xno) ;;
10250 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10251 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10252 esac
10255 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10256 then
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10260 #include <X11/extensions/Xinerama.h>
10262 main ()
10264 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10266 return 0;
10268 _ACEOF
10269 if ac_fn_c_try_compile "$LINENO"; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10271 $as_echo_n "checking for -lXinerama... " >&6; }
10272 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_soname_save_LIBS=$LIBS
10276 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char XineramaQueryScreens ();
10288 main ()
10290 return XineramaQueryScreens ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 case "$LIBEXT" in
10297 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10298 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'` ;;
10299 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10300 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10301 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10302 fi ;;
10303 esac
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_soname_save_LIBS
10309 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10313 else
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10315 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10317 cat >>confdefs.h <<_ACEOF
10318 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10319 _ACEOF
10324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10326 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10327 case "x$with_xinerama" in
10328 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10329 xno) ;;
10330 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10331 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10332 esac
10335 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10336 then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10338 $as_echo_n "checking for -lXcomposite... " >&6; }
10339 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_check_soname_save_LIBS=$LIBS
10343 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 char XCompositeRedirectWindow ();
10355 main ()
10357 return XCompositeRedirectWindow ();
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 case "$LIBEXT" in
10364 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10365 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'` ;;
10366 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10367 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10368 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10369 fi ;;
10370 esac
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_soname_save_LIBS
10376 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10378 $as_echo "not found" >&6; }
10380 else
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10382 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10384 cat >>confdefs.h <<_ACEOF
10385 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10386 _ACEOF
10391 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10392 case "x$with_xcomposite" in
10393 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10394 xno) ;;
10395 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10396 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10397 esac
10400 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10401 #include <X11/Xlib.h>
10402 #endif
10404 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10406 cat >>confdefs.h <<_ACEOF
10407 #define HAVE_XICCALLBACK_CALLBACK 1
10408 _ACEOF
10412 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10413 #include <X11/Xlib.h>
10414 #endif
10416 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10418 cat >>confdefs.h <<_ACEOF
10419 #define HAVE_XEVENT_XCOOKIE 1
10420 _ACEOF
10427 opengl_msg=""
10428 if test "x$with_opengl" != "xno"
10429 then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10431 $as_echo_n "checking for -lGL... " >&6; }
10432 if ${ac_cv_lib_soname_GL+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_check_soname_save_LIBS=$LIBS
10436 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10443 #ifdef __cplusplus
10444 extern "C"
10445 #endif
10446 char glXCreateContext ();
10448 main ()
10450 return glXCreateContext ();
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 case "$LIBEXT" in
10457 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if ${ac_cv_lib_soname_GL:+false} :; then :
10461 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 fi ;;
10463 esac
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_soname_save_LIBS
10469 if ${ac_cv_lib_soname_GL:+false} :; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10473 $as_echo_n "checking for -lGL... " >&6; }
10474 if ${ac_cv_lib_soname_GL+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_check_soname_save_LIBS=$LIBS
10478 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"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485 #ifdef __cplusplus
10486 extern "C"
10487 #endif
10488 char glXCreateContext ();
10490 main ()
10492 return glXCreateContext ();
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 case "$LIBEXT" in
10499 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10500 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'` ;;
10501 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10502 if ${ac_cv_lib_soname_GL:+false} :; then :
10503 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10504 fi ;;
10505 esac
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_soname_save_LIBS
10511 if ${ac_cv_lib_soname_GL:+false} :; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10513 $as_echo "not found" >&6; }
10514 if test -f /usr/X11R6/lib/libGL.a
10515 then
10516 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10517 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10518 else
10519 opengl_msg="No OpenGL library found on this system."
10521 else
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10523 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10525 cat >>confdefs.h <<_ACEOF
10526 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10527 _ACEOF
10529 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"
10531 else
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10533 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10535 cat >>confdefs.h <<_ACEOF
10536 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10537 _ACEOF
10539 OPENGL_LIBS="-lGL"
10541 if test "x$with_glu" != "xno"
10542 then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10544 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10545 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_lib_save_LIBS=$LIBS
10549 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char gluLookAt ();
10561 main ()
10563 return gluLookAt ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 ac_cv_lib_GLU_gluLookAt=yes
10570 else
10571 ac_cv_lib_GLU_gluLookAt=no
10573 rm -f core conftest.err conftest.$ac_objext \
10574 conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10578 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10579 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10583 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10584 case "x$with_glu" in
10585 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10586 xno) ;;
10587 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10588 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10589 esac
10593 if test "x$with_osmesa" != "xno"
10594 then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10596 $as_echo_n "checking for -lOSMesa... " >&6; }
10597 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_check_soname_save_LIBS=$LIBS
10601 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10608 #ifdef __cplusplus
10609 extern "C"
10610 #endif
10611 char glAccum ();
10613 main ()
10615 return glAccum ();
10617 return 0;
10619 _ACEOF
10620 if ac_fn_c_try_link "$LINENO"; then :
10621 case "$LIBEXT" in
10622 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10623 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'` ;;
10624 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10625 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10626 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10627 fi ;;
10628 esac
10630 rm -f core conftest.err conftest.$ac_objext \
10631 conftest$ac_exeext conftest.$ac_ext
10632 LIBS=$ac_check_soname_save_LIBS
10634 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10636 $as_echo "not found" >&6; }
10638 else
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10640 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10642 cat >>confdefs.h <<_ACEOF
10643 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10644 _ACEOF
10648 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10649 case "x$with_osmesa" in
10650 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10651 xno) ;;
10652 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10653 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10654 esac
10658 if test -n "$opengl_msg"; then :
10659 case "x$with_opengl" in
10660 x) as_fn_append wine_warnings "|$opengl_msg
10661 OpenGL and Direct3D won't be supported." ;;
10662 xno) ;;
10663 *) as_fn_error $? "$opengl_msg
10664 OpenGL and Direct3D won't be supported.
10665 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10666 esac
10669 CPPFLAGS="$ac_save_CPPFLAGS"
10670 else
10671 X_CFLAGS=""
10672 X_LIBS=""
10673 enable_winex11_drv=${enable_winex11_drv:-no}
10675 if test "x$X_LIBS" = "x"; then :
10676 case "x$with_x" in
10677 xno) ;;
10678 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10679 without X support, which probably isn't what you want. You will need
10680 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10681 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10682 esac
10685 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10687 if test "$ac_cv_header_CL_cl_h" = "yes"
10688 then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10690 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10691 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_check_lib_save_LIBS=$LIBS
10695 LIBS="-lOpenCL $LIBS"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10699 /* Override any GCC internal prototype to avoid an error.
10700 Use char because int might match the return type of a GCC
10701 builtin and then its argument prototype would still apply. */
10702 #ifdef __cplusplus
10703 extern "C"
10704 #endif
10705 char clGetPlatformInfo ();
10707 main ()
10709 return clGetPlatformInfo ();
10711 return 0;
10713 _ACEOF
10714 if ac_fn_c_try_link "$LINENO"; then :
10715 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10716 else
10717 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10719 rm -f core conftest.err conftest.$ac_objext \
10720 conftest$ac_exeext conftest.$ac_ext
10721 LIBS=$ac_check_lib_save_LIBS
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10724 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10725 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10726 OPENCL_LIBS="-lOpenCL"
10731 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10732 case "x$with_opencl" in
10733 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10734 xno) ;;
10735 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10736 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10737 esac
10739 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10741 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10744 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10745 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lpcap $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char pcap_create ();
10761 main ()
10763 return pcap_create ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_pcap_pcap_create=yes
10770 else
10771 ac_cv_lib_pcap_pcap_create=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10778 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10779 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10780 LIBPCAP="-lpcap"
10785 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10786 case "x$with_pcap" in
10787 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10788 xno) ;;
10789 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10790 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10791 esac
10793 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10796 if test "x$with_xml" != "xno"
10797 then
10798 if ${XML2_CFLAGS:+false} :; then :
10799 if ${PKG_CONFIG+:} false; then :
10800 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10803 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10804 if ${XML2_LIBS:+false} :; then :
10805 if ${PKG_CONFIG+:} false; then :
10806 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10809 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10810 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10811 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10812 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10813 ac_save_CPPFLAGS=$CPPFLAGS
10814 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10815 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10816 do :
10817 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10818 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10819 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10820 cat >>confdefs.h <<_ACEOF
10821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10822 _ACEOF
10826 done
10828 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"
10829 then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10831 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10832 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-lxml2 $XML2_LIBS $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char xmlParseMemory ();
10848 main ()
10850 return xmlParseMemory ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 ac_cv_lib_xml2_xmlParseMemory=yes
10857 else
10858 ac_cv_lib_xml2_xmlParseMemory=no
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10865 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10866 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10868 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10870 else
10871 XML2_LIBS=""
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10875 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10876 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10877 $as_echo_n "(cached) " >&6
10878 else
10879 ac_check_lib_save_LIBS=$LIBS
10880 LIBS="-lxml2 $XML2_LIBS $LIBS"
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char xmlReadMemory ();
10892 main ()
10894 return xmlReadMemory ();
10896 return 0;
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"; then :
10900 ac_cv_lib_xml2_xmlReadMemory=yes
10901 else
10902 ac_cv_lib_xml2_xmlReadMemory=no
10904 rm -f core conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10909 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10910 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10912 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10917 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10918 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10919 $as_echo_n "(cached) " >&6
10920 else
10921 ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-lxml2 $XML2_LIBS $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char xmlNewDocPI ();
10934 main ()
10936 return xmlNewDocPI ();
10938 return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_xml2_xmlNewDocPI=yes
10943 else
10944 ac_cv_lib_xml2_xmlNewDocPI=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10951 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10952 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10954 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10959 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10961 $as_echo_n "(cached) " >&6
10962 else
10963 ac_check_lib_save_LIBS=$LIBS
10964 LIBS="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10971 #ifdef __cplusplus
10972 extern "C"
10973 #endif
10974 char xmlSchemaSetParserStructuredErrors ();
10976 main ()
10978 return xmlSchemaSetParserStructuredErrors ();
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10985 else
10986 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10996 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11001 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char xmlSchemaSetValidStructuredErrors ();
11018 main ()
11020 return xmlSchemaSetValidStructuredErrors ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11027 else
11028 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11038 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11043 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11044 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_lib_save_LIBS=$LIBS
11048 LIBS="-lxml2 $XML2_LIBS $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char xmlFirstElementChild ();
11060 main ()
11062 return xmlFirstElementChild ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 ac_cv_lib_xml2_xmlFirstElementChild=yes
11069 else
11070 ac_cv_lib_xml2_xmlFirstElementChild=no
11072 rm -f core conftest.err conftest.$ac_objext \
11073 conftest$ac_exeext conftest.$ac_ext
11074 LIBS=$ac_check_lib_save_LIBS
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11077 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11078 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11080 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11084 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11086 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11088 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11092 else
11093 XML2_CFLAGS=""
11094 XML2_LIBS=""
11096 CPPFLAGS=$ac_save_CPPFLAGS
11097 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11098 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11101 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11102 case "x$with_xml" in
11103 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11104 xno) ;;
11105 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11106 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11107 esac
11110 if test "x$with_xslt" != "xno"
11111 then
11112 if ${XSLT_CFLAGS:+false} :; then :
11113 if ${PKG_CONFIG+:} false; then :
11114 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11117 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11118 if ${XSLT_LIBS:+false} :; then :
11119 if ${PKG_CONFIG+:} false; then :
11120 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11123 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11124 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11125 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11126 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11127 ac_save_CPPFLAGS=$CPPFLAGS
11128 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11129 for ac_header in libxslt/pattern.h libxslt/transform.h
11130 do :
11131 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11132 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11133 # include <libxslt/pattern.h>
11134 #endif
11136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11137 cat >>confdefs.h <<_ACEOF
11138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11139 _ACEOF
11143 done
11145 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11146 then
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11148 $as_echo_n "checking for -lxslt... " >&6; }
11149 if ${ac_cv_lib_soname_xslt+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_soname_save_LIBS=$LIBS
11153 LIBS="-lxslt $XSLT_LIBS $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char xsltCompilePattern ();
11165 main ()
11167 return xsltCompilePattern ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 case "$LIBEXT" in
11174 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11175 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'` ;;
11176 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11177 if ${ac_cv_lib_soname_xslt:+false} :; then :
11178 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11179 fi ;;
11180 esac
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_soname_save_LIBS
11186 if ${ac_cv_lib_soname_xslt:+false} :; then :
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11188 $as_echo "not found" >&6; }
11190 else
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11192 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11194 cat >>confdefs.h <<_ACEOF
11195 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11196 _ACEOF
11200 else
11201 XSLT_CFLAGS=""
11203 CPPFLAGS=$ac_save_CPPFLAGS
11204 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11205 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11208 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11209 case "x$with_xslt" in
11210 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11211 xno) ;;
11212 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11213 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11214 esac
11217 if test "x$with_dbus" != "xno"
11218 then
11219 if ${DBUS_CFLAGS:+false} :; then :
11220 if ${PKG_CONFIG+:} false; then :
11221 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11225 if ${DBUS_LIBS:+false} :; then :
11226 if ${PKG_CONFIG+:} false; then :
11227 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11232 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11233 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11234 ac_save_CPPFLAGS=$CPPFLAGS
11235 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11236 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11237 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11239 $as_echo_n "checking for -ldbus-1... " >&6; }
11240 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_soname_save_LIBS=$LIBS
11244 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char dbus_connection_close ();
11256 main ()
11258 return dbus_connection_close ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 case "$LIBEXT" in
11265 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11266 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'` ;;
11267 *) 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'`
11268 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11269 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11270 fi ;;
11271 esac
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_soname_save_LIBS
11277 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11279 $as_echo "not found" >&6; }
11280 DBUS_CFLAGS=""
11281 else
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11283 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11285 cat >>confdefs.h <<_ACEOF
11286 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11287 _ACEOF
11291 else
11292 DBUS_CFLAGS=""
11296 CPPFLAGS=$ac_save_CPPFLAGS
11297 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11298 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11301 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11302 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11303 case "x$with_dbus" in
11304 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11305 xno) ;;
11306 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11307 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11308 esac
11311 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11312 then
11313 if ${HAL_CFLAGS:+false} :; then :
11314 if ${PKG_CONFIG+:} false; then :
11315 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11319 if ${HAL_LIBS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11325 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11326 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11328 ac_save_CPPFLAGS=$CPPFLAGS
11329 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11330 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11331 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11333 $as_echo_n "checking for -lhal... " >&6; }
11334 if ${ac_cv_lib_soname_hal+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-lhal $HAL_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char libhal_ctx_new ();
11350 main ()
11352 return libhal_ctx_new ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 case "$LIBEXT" in
11359 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11362 if ${ac_cv_lib_soname_hal:+false} :; then :
11363 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 fi ;;
11365 esac
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_hal:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11374 HAL_CFLAGS=""
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11377 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11379 cat >>confdefs.h <<_ACEOF
11380 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11381 _ACEOF
11385 else
11386 HAL_CFLAGS=""
11390 CPPFLAGS=$ac_save_CPPFLAGS
11391 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11394 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11395 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11396 case "x$with_hal" in
11397 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11398 xno) ;;
11399 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11400 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11401 esac
11405 if test "x$with_gnutls" != "xno"
11406 then
11407 if ${GNUTLS_CFLAGS:+false} :; then :
11408 if ${PKG_CONFIG+:} false; then :
11409 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11413 if ${GNUTLS_LIBS:+false} :; then :
11414 if ${PKG_CONFIG+:} false; then :
11415 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11420 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11421 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11422 ac_save_CPPFLAGS=$CPPFLAGS
11423 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11424 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11425 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 #include <gnutls/gnutls.h>
11429 #include <gnutls/crypto.h>
11431 main ()
11433 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11435 return 0;
11437 _ACEOF
11438 if ac_fn_c_try_compile "$LINENO"; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11440 $as_echo_n "checking for -lgnutls... " >&6; }
11441 if ${ac_cv_lib_soname_gnutls+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_soname_save_LIBS=$LIBS
11445 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char gnutls_global_init ();
11457 main ()
11459 return gnutls_global_init ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 case "$LIBEXT" in
11466 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11467 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11468 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11469 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11470 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11471 fi ;;
11472 esac
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_soname_save_LIBS
11478 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11480 $as_echo "not found" >&6; }
11481 GNUTLS_CFLAGS=""
11482 else
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11484 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11486 cat >>confdefs.h <<_ACEOF
11487 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11488 _ACEOF
11493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11494 else
11495 GNUTLS_CFLAGS=""
11499 CPPFLAGS=$ac_save_CPPFLAGS
11500 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11501 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11504 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11505 case "x$with_gnutls" in
11506 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11507 xno) ;;
11508 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11509 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11510 esac
11513 CURSES_LIBS=""
11514 if test "$ac_cv_header_ncurses_h" = "yes"
11515 then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11517 $as_echo_n "checking for -lncurses... " >&6; }
11518 if ${ac_cv_lib_soname_ncurses+:} false; then :
11519 $as_echo_n "(cached) " >&6
11520 else
11521 ac_check_soname_save_LIBS=$LIBS
11522 LIBS="-lncurses $LIBS"
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11529 #ifdef __cplusplus
11530 extern "C"
11531 #endif
11532 char waddch ();
11534 main ()
11536 return waddch ();
11538 return 0;
11540 _ACEOF
11541 if ac_fn_c_try_link "$LINENO"; then :
11542 case "$LIBEXT" in
11543 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11544 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'` ;;
11545 *) 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'`
11546 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11547 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11548 fi ;;
11549 esac
11551 rm -f core conftest.err conftest.$ac_objext \
11552 conftest$ac_exeext conftest.$ac_ext
11553 LIBS=$ac_check_soname_save_LIBS
11555 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11557 $as_echo "not found" >&6; }
11559 else
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11561 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11563 cat >>confdefs.h <<_ACEOF
11564 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11565 _ACEOF
11567 CURSES_LIBS="-lncurses"
11569 elif test "$ac_cv_header_curses_h" = "yes"
11570 then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11572 $as_echo_n "checking for -lcurses... " >&6; }
11573 if ${ac_cv_lib_soname_curses+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_soname_save_LIBS=$LIBS
11577 LIBS="-lcurses $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char waddch ();
11589 main ()
11591 return waddch ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 case "$LIBEXT" in
11598 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_curses:+false} :; then :
11602 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11603 fi ;;
11604 esac
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_curses:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11614 else
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11616 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11620 _ACEOF
11622 CURSES_LIBS="-lcurses"
11625 ac_save_LIBS="$LIBS"
11626 LIBS="$LIBS $CURSES_LIBS"
11627 for ac_func in mousemask
11628 do :
11629 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11630 if test "x$ac_cv_func_mousemask" = xyes; then :
11631 cat >>confdefs.h <<_ACEOF
11632 #define HAVE_MOUSEMASK 1
11633 _ACEOF
11636 done
11638 LIBS="$ac_save_LIBS"
11639 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11640 case "x$with_curses" in
11641 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11642 xno) ;;
11643 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11644 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11645 esac
11648 if test "x$with_sane" != "xno"
11649 then
11650 if ${SANE_CFLAGS:+false} :; then :
11651 if ${PKG_CONFIG+:} false; then :
11652 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11655 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11656 if ${SANE_LIBS:+false} :; then :
11657 if ${PKG_CONFIG+:} false; then :
11658 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11661 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11663 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11664 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11665 ac_save_CPPFLAGS=$CPPFLAGS
11666 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11667 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11668 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11670 $as_echo_n "checking for -lsane... " >&6; }
11671 if ${ac_cv_lib_soname_sane+:} false; then :
11672 $as_echo_n "(cached) " >&6
11673 else
11674 ac_check_soname_save_LIBS=$LIBS
11675 LIBS="-lsane $SANE_LIBS $LIBS"
11676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11682 #ifdef __cplusplus
11683 extern "C"
11684 #endif
11685 char sane_init ();
11687 main ()
11689 return sane_init ();
11691 return 0;
11693 _ACEOF
11694 if ac_fn_c_try_link "$LINENO"; then :
11695 case "$LIBEXT" in
11696 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11697 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'` ;;
11698 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11699 if ${ac_cv_lib_soname_sane:+false} :; then :
11700 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11701 fi ;;
11702 esac
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_soname_save_LIBS
11708 if ${ac_cv_lib_soname_sane:+false} :; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11711 SANE_CFLAGS=""
11712 else
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11714 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11716 cat >>confdefs.h <<_ACEOF
11717 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11718 _ACEOF
11722 else
11723 SANE_CFLAGS=""
11727 CPPFLAGS=$ac_save_CPPFLAGS
11728 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11729 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11732 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11733 case "x$with_sane" in
11734 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11735 xno) ;;
11736 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11737 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11738 esac
11741 if test "x$with_v4l" != "xno"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11744 $as_echo_n "checking for -lv4l1... " >&6; }
11745 if ${ac_cv_lib_soname_v4l1+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lv4l1 $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char v4l1_open ();
11761 main ()
11763 return v4l1_open ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11773 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11774 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11788 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11792 _ACEOF
11797 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11798 case "x$with_v4l" in
11799 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11800 xno) ;;
11801 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11802 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11803 esac
11806 if test "x$with_gphoto" != "xno"
11807 then
11808 if ${GPHOTO2_CFLAGS:+false} :; then :
11809 if ${PKG_CONFIG+:} false; then :
11810 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11813 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11814 if ${GPHOTO2_LIBS:+false} :; then :
11815 if ${PKG_CONFIG+:} false; then :
11816 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11819 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11820 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11822 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11823 ac_save_CPPFLAGS=$CPPFLAGS
11824 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11825 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11826 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11828 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11829 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11830 $as_echo_n "(cached) " >&6
11831 else
11832 ac_check_lib_save_LIBS=$LIBS
11833 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 /* Override any GCC internal prototype to avoid an error.
11838 Use char because int might match the return type of a GCC
11839 builtin and then its argument prototype would still apply. */
11840 #ifdef __cplusplus
11841 extern "C"
11842 #endif
11843 char gp_camera_new ();
11845 main ()
11847 return gp_camera_new ();
11849 return 0;
11851 _ACEOF
11852 if ac_fn_c_try_link "$LINENO"; then :
11853 ac_cv_lib_gphoto2_gp_camera_new=yes
11854 else
11855 ac_cv_lib_gphoto2_gp_camera_new=no
11857 rm -f core conftest.err conftest.$ac_objext \
11858 conftest$ac_exeext conftest.$ac_ext
11859 LIBS=$ac_check_lib_save_LIBS
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11862 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11863 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11865 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11867 else
11868 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11871 else
11872 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11876 CPPFLAGS=$ac_save_CPPFLAGS
11877 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11878 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11880 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11881 if ${PKG_CONFIG+:} false; then :
11882 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11885 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11886 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11887 if ${PKG_CONFIG+:} false; then :
11888 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11891 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11892 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11893 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11894 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11895 ac_save_CPPFLAGS=$CPPFLAGS
11896 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11897 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11898 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11900 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11901 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11902 $as_echo_n "(cached) " >&6
11903 else
11904 ac_check_lib_save_LIBS=$LIBS
11905 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11907 /* end confdefs.h. */
11909 /* Override any GCC internal prototype to avoid an error.
11910 Use char because int might match the return type of a GCC
11911 builtin and then its argument prototype would still apply. */
11912 #ifdef __cplusplus
11913 extern "C"
11914 #endif
11915 char gp_port_info_list_new ();
11917 main ()
11919 return gp_port_info_list_new ();
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_link "$LINENO"; then :
11925 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11926 else
11927 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_lib_save_LIBS
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11934 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11935 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11937 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11939 else
11940 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11943 else
11944 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11948 CPPFLAGS=$ac_save_CPPFLAGS
11949 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11950 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11953 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11954 case "x$with_gphoto" in
11955 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11956 xno) ;;
11957 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11958 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11959 esac
11961 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11962 case "x$with_gphoto" in
11963 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11966 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11967 esac
11971 if test "$ac_cv_header_resolv_h" = "yes"
11972 then
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11974 $as_echo_n "checking for resolver library... " >&6; }
11975 if ${ac_cv_have_resolv+:} false; then :
11976 $as_echo_n "(cached) " >&6
11977 else
11978 ac_save_LIBS="$LIBS"
11979 for lib in '' -lresolv
11981 LIBS="$lib $ac_save_LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11984 #ifdef HAVE_NETINET_IN_H
11985 #include <netinet/in.h>
11986 #endif
11987 #include <resolv.h>
11989 main ()
11991 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11993 return 0;
11995 _ACEOF
11996 if ac_fn_c_try_link "$LINENO"; then :
11997 ac_cv_have_resolv=${lib:-"none required"}
11998 else
11999 ac_cv_have_resolv="not found"
12001 rm -f core conftest.err conftest.$ac_objext \
12002 conftest$ac_exeext conftest.$ac_ext
12003 test "x$ac_cv_have_resolv" = "xnot found" || break
12004 done
12005 LIBS="$ac_save_LIBS"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12008 $as_echo "$ac_cv_have_resolv" >&6; }
12010 case "$ac_cv_have_resolv" in
12011 "not found") ;;
12012 "none required")
12014 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12017 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12019 RESOLV_LIBS=$ac_cv_have_resolv
12021 esac
12024 if test "x$with_cms" != "xno"
12025 then
12026 if ${LCMS2_CFLAGS:+false} :; then :
12027 if ${PKG_CONFIG+:} false; then :
12028 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12032 if ${LCMS2_LIBS:+false} :; then :
12033 if ${PKG_CONFIG+:} false; then :
12034 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12038 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12039 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12040 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12041 ac_save_CPPFLAGS=$CPPFLAGS
12042 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12043 for ac_header in lcms2.h
12044 do :
12045 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12046 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12047 cat >>confdefs.h <<_ACEOF
12048 #define HAVE_LCMS2_H 1
12049 _ACEOF
12053 done
12055 if test "$ac_cv_header_lcms2_h" = "yes"
12056 then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12058 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12059 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12060 $as_echo_n "(cached) " >&6
12061 else
12062 ac_check_lib_save_LIBS=$LIBS
12063 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char cmsOpenProfileFromFile ();
12075 main ()
12077 return cmsOpenProfileFromFile ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12084 else
12085 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12092 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12093 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12095 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12097 else
12098 LCMS2_LIBS=""
12101 else
12102 LCMS2_CFLAGS=""
12103 LCMS2_LIBS=""
12105 CPPFLAGS=$ac_save_CPPFLAGS
12106 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12107 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12110 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12111 case "x$with_cms" in
12112 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12113 xno) ;;
12114 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12115 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12116 esac
12119 if test "x$with_freetype" != "xno"
12120 then
12121 if ${FREETYPE_CFLAGS:+false} :; then :
12122 if ${PKG_CONFIG+:} false; then :
12123 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12126 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12127 if ${FREETYPE_LIBS:+false} :; then :
12128 if ${PKG_CONFIG+:} false; then :
12129 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12132 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12133 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12134 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12135 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12138 for ac_header in ft2build.h
12139 do :
12140 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12141 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_FT2BUILD_H 1
12144 _ACEOF
12148 done
12150 if test "$ac_cv_header_ft2build_h" = "yes"
12151 then
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12153 $as_echo_n "checking for -lfreetype... " >&6; }
12154 if ${ac_cv_lib_soname_freetype+:} false; then :
12155 $as_echo_n "(cached) " >&6
12156 else
12157 ac_check_soname_save_LIBS=$LIBS
12158 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 char FT_Init_FreeType ();
12170 main ()
12172 return FT_Init_FreeType ();
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_link "$LINENO"; then :
12178 case "$LIBEXT" in
12179 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12180 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'` ;;
12181 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12182 if ${ac_cv_lib_soname_freetype:+false} :; then :
12183 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12184 fi ;;
12185 esac
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_soname_save_LIBS
12191 if ${ac_cv_lib_soname_freetype:+false} :; then :
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12193 $as_echo "not found" >&6; }
12194 FREETYPE_LIBS=""
12195 else
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12197 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12199 cat >>confdefs.h <<_ACEOF
12200 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12201 _ACEOF
12204 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12206 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12207 #include FT_MODULE_H
12209 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_FT_TRUETYPEENGINETYPE 1
12213 _ACEOF
12219 else
12220 FREETYPE_CFLAGS=""
12221 FREETYPE_LIBS=""
12223 CPPFLAGS=$ac_save_CPPFLAGS
12224 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12225 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12228 if test "x$ac_cv_lib_soname_freetype" = x; then :
12229 case "x$with_freetype" in
12230 xno) ;;
12231 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12232 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12233 esac
12235 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12238 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12239 if ${ac_cv_c_ppdev+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244 #ifdef HAVE_SYS_IOCTL_H
12245 # include <sys/ioctl.h>
12246 #endif
12247 #include <linux/ppdev.h>
12249 main ()
12251 ioctl (1,PPCLAIM,0)
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_compile "$LINENO"; then :
12257 ac_cv_c_ppdev="yes"
12258 else
12259 ac_cv_c_ppdev="no"
12261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12264 $as_echo "$ac_cv_c_ppdev" >&6; }
12265 if test "$ac_cv_c_ppdev" = "yes"
12266 then
12268 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12272 ac_wine_check_funcs_save_LIBS="$LIBS"
12273 LIBS="$LIBS $PTHREAD_LIBS"
12274 for ac_func in \
12275 pthread_attr_get_np \
12276 pthread_getattr_np \
12277 pthread_getthreadid_np \
12278 pthread_get_stackaddr_np \
12279 pthread_get_stacksize_np
12280 do :
12281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12283 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12284 cat >>confdefs.h <<_ACEOF
12285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12286 _ACEOF
12289 done
12291 LIBS="$ac_wine_check_funcs_save_LIBS"
12293 if test "$ac_cv_header_zlib_h" = "yes"
12294 then
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12296 $as_echo_n "checking for inflate in -lz... " >&6; }
12297 if ${ac_cv_lib_z_inflate+:} false; then :
12298 $as_echo_n "(cached) " >&6
12299 else
12300 ac_check_lib_save_LIBS=$LIBS
12301 LIBS="-lz $LIBS"
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12305 /* Override any GCC internal prototype to avoid an error.
12306 Use char because int might match the return type of a GCC
12307 builtin and then its argument prototype would still apply. */
12308 #ifdef __cplusplus
12309 extern "C"
12310 #endif
12311 char inflate ();
12313 main ()
12315 return inflate ();
12317 return 0;
12319 _ACEOF
12320 if ac_fn_c_try_link "$LINENO"; then :
12321 ac_cv_lib_z_inflate=yes
12322 else
12323 ac_cv_lib_z_inflate=no
12325 rm -f core conftest.err conftest.$ac_objext \
12326 conftest$ac_exeext conftest.$ac_ext
12327 LIBS=$ac_check_lib_save_LIBS
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12330 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12331 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12333 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12335 Z_LIBS="-lz"
12340 if test "x$Z_LIBS" = "x"; then :
12341 case "x$with_zlib" in
12342 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12343 xno) ;;
12344 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12345 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12346 esac
12349 if test "x$enable_tools" != xno
12350 then
12351 if test "$ac_cv_header_gettext_po_h" = "yes"
12352 then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12354 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12355 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 ac_check_lib_save_LIBS=$LIBS
12359 LIBS="-lgettextpo $LIBS"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12363 /* Override any GCC internal prototype to avoid an error.
12364 Use char because int might match the return type of a GCC
12365 builtin and then its argument prototype would still apply. */
12366 #ifdef __cplusplus
12367 extern "C"
12368 #endif
12369 char po_message_msgctxt ();
12371 main ()
12373 return po_message_msgctxt ();
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_link "$LINENO"; then :
12379 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12380 else
12381 ac_cv_lib_gettextpo_po_message_msgctxt=no
12383 rm -f core conftest.err conftest.$ac_objext \
12384 conftest$ac_exeext conftest.$ac_ext
12385 LIBS=$ac_check_lib_save_LIBS
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12388 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12389 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12391 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12393 GETTEXTPO_LIBS="-lgettextpo"
12398 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12399 case "x$with_gettextpo" in
12400 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12401 xno) ;;
12402 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12403 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12404 esac
12408 if test "x$with_gstreamer" != "xno"
12409 then
12410 if ${GSTREAMER_CFLAGS:+false} :; then :
12411 if ${PKG_CONFIG+:} false; then :
12412 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12416 if ${GSTREAMER_LIBS:+false} :; then :
12417 if ${PKG_CONFIG+:} false; then :
12418 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12423 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12424 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12425 ac_save_CPPFLAGS=$CPPFLAGS
12426 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12427 ac_gst_incl=""
12428 for i in $GSTREAMER_CFLAGS
12430 case "$i" in
12431 -I*) ac_gst_incl="$ac_gst_incl $i";;
12432 esac
12433 done
12434 GSTREAMER_CFLAGS=$ac_gst_incl
12435 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12436 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12437 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12438 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12439 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12441 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12444 #include <gst/app/gstappsink.h>
12446 main ()
12448 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12450 return 0;
12452 _ACEOF
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12455 $as_echo "yes" >&6; }
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12457 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12458 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12459 $as_echo_n "(cached) " >&6
12460 else
12461 ac_check_lib_save_LIBS=$LIBS
12462 LIBS="-lgstreamer-0.10 $LIBS"
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12469 #ifdef __cplusplus
12470 extern "C"
12471 #endif
12472 char gst_pad_get_caps_reffed ();
12474 main ()
12476 return gst_pad_get_caps_reffed ();
12478 return 0;
12480 _ACEOF
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12483 else
12484 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 LIBS=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12491 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12492 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12494 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12495 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 ac_check_lib_save_LIBS=$LIBS
12499 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 /* Override any GCC internal prototype to avoid an error.
12504 Use char because int might match the return type of a GCC
12505 builtin and then its argument prototype would still apply. */
12506 #ifdef __cplusplus
12507 extern "C"
12508 #endif
12509 char gst_app_buffer_new ();
12511 main ()
12513 return gst_app_buffer_new ();
12515 return 0;
12517 _ACEOF
12518 if ac_fn_c_try_link "$LINENO"; then :
12519 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12520 else
12521 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12523 rm -f core conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 LIBS=$ac_check_lib_save_LIBS
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12528 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12529 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12535 else
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12537 $as_echo "no" >&6; }
12539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12543 else
12544 GSTREAMER_CFLAGS=""
12548 CPPFLAGS=$ac_save_CPPFLAGS
12549 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12550 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12553 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12554 case "x$with_gstreamer" in
12555 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12556 xno) ;;
12557 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12558 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12559 esac
12561 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12563 ALSA_LIBS=""
12565 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12566 then
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12568 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12569 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12570 $as_echo_n "(cached) " >&6
12571 else
12572 ac_check_lib_save_LIBS=$LIBS
12573 LIBS="-lasound $LIBS"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 /* Override any GCC internal prototype to avoid an error.
12578 Use char because int might match the return type of a GCC
12579 builtin and then its argument prototype would still apply. */
12580 #ifdef __cplusplus
12581 extern "C"
12582 #endif
12583 char snd_pcm_hw_params_get_access_mask ();
12585 main ()
12587 return snd_pcm_hw_params_get_access_mask ();
12589 return 0;
12591 _ACEOF
12592 if ac_fn_c_try_link "$LINENO"; then :
12593 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12594 else
12595 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12597 rm -f core conftest.err conftest.$ac_objext \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_lib_save_LIBS
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12602 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12603 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12606 #ifdef HAVE_ALSA_ASOUNDLIB_H
12607 #include <alsa/asoundlib.h>
12608 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12609 #include <sys/asoundlib.h>
12610 #endif
12612 main ()
12614 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12616 return 0;
12618 _ACEOF
12619 if ac_fn_c_try_compile "$LINENO"; then :
12620 ALSA_LIBS="-lasound"
12622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12627 if test "x$with_oss" != xno
12628 then
12629 ac_save_CPPFLAGS="$CPPFLAGS"
12630 if test -f /etc/oss.conf
12631 then
12632 . /etc/oss.conf
12634 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12635 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12636 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12637 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12638 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12640 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12642 cat >>confdefs.h <<_ACEOF
12643 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12644 _ACEOF
12646 OSS4_CFLAGS="$ac_oss_incl"
12653 CPPFLAGS="$ac_save_CPPFLAGS"
12654 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12655 then
12656 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12660 if test "x$with_capi" != "xno"
12661 then
12662 if ${CAPI20_CFLAGS:+false} :; then :
12663 if ${PKG_CONFIG+:} false; then :
12664 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12668 if ${CAPI20_LIBS:+false} :; then :
12669 if ${PKG_CONFIG+:} false; then :
12670 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12675 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12677 ac_save_CPPFLAGS=$CPPFLAGS
12678 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12679 for ac_header in capi20.h linux/capi.h
12680 do :
12681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12685 cat >>confdefs.h <<_ACEOF
12686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12687 _ACEOF
12691 done
12693 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12696 $as_echo_n "checking for -lcapi20... " >&6; }
12697 if ${ac_cv_lib_soname_capi20+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char capi20_register ();
12713 main ()
12715 return capi20_register ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 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'` ;;
12724 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if ${ac_cv_lib_soname_capi20:+false} :; then :
12726 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12730 rm -f core conftest.err conftest.$ac_objext \
12731 conftest$ac_exeext conftest.$ac_ext
12732 LIBS=$ac_check_soname_save_LIBS
12734 if ${ac_cv_lib_soname_capi20:+false} :; then :
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12736 $as_echo "not found" >&6; }
12738 else
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12740 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12742 cat >>confdefs.h <<_ACEOF
12743 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12744 _ACEOF
12749 CPPFLAGS=$ac_save_CPPFLAGS
12750 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12751 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12754 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12755 case "x$with_capi" in
12756 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12759 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12760 esac
12763 CUPS_CFLAGS=""
12765 if test "x$with_cups" != "xno"
12766 then
12767 ac_save_CPPFLAGS="$CPPFLAGS"
12768 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12769 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12770 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12771 for ac_header in cups/cups.h
12772 do :
12773 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12774 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12775 cat >>confdefs.h <<_ACEOF
12776 #define HAVE_CUPS_CUPS_H 1
12777 _ACEOF
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12779 $as_echo_n "checking for -lcups... " >&6; }
12780 if ${ac_cv_lib_soname_cups+:} false; then :
12781 $as_echo_n "(cached) " >&6
12782 else
12783 ac_check_soname_save_LIBS=$LIBS
12784 LIBS="-lcups $ac_cups_libs $LIBS"
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 /* Override any GCC internal prototype to avoid an error.
12789 Use char because int might match the return type of a GCC
12790 builtin and then its argument prototype would still apply. */
12791 #ifdef __cplusplus
12792 extern "C"
12793 #endif
12794 char cupsGetDefault ();
12796 main ()
12798 return cupsGetDefault ();
12800 return 0;
12802 _ACEOF
12803 if ac_fn_c_try_link "$LINENO"; then :
12804 case "$LIBEXT" in
12805 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12806 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'` ;;
12807 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12808 if ${ac_cv_lib_soname_cups:+false} :; then :
12809 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12810 fi ;;
12811 esac
12813 rm -f core conftest.err conftest.$ac_objext \
12814 conftest$ac_exeext conftest.$ac_ext
12815 LIBS=$ac_check_soname_save_LIBS
12817 if ${ac_cv_lib_soname_cups:+false} :; then :
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12819 $as_echo "not found" >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12823 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12825 cat >>confdefs.h <<_ACEOF
12826 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12827 _ACEOF
12829 CUPS_CFLAGS="$ac_cups_cflags"
12833 done
12835 CPPFLAGS="$ac_save_CPPFLAGS"
12837 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12838 case "x$with_cups" in
12839 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12840 xno) ;;
12841 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12842 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12843 esac
12846 if test "x$with_fontconfig" != "xno"
12847 then
12848 if ${FONTCONFIG_CFLAGS:+false} :; then :
12849 if ${PKG_CONFIG+:} false; then :
12850 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12853 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12854 if ${FONTCONFIG_LIBS:+false} :; then :
12855 if ${PKG_CONFIG+:} false; then :
12856 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12859 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12861 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12862 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12863 ac_save_CPPFLAGS=$CPPFLAGS
12864 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12865 for ac_header in fontconfig/fontconfig.h
12866 do :
12867 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12868 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12869 cat >>confdefs.h <<_ACEOF
12870 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12871 _ACEOF
12875 done
12877 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12878 then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12880 $as_echo_n "checking for -lfontconfig... " >&6; }
12881 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
12884 ac_check_soname_save_LIBS=$LIBS
12885 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12889 /* Override any GCC internal prototype to avoid an error.
12890 Use char because int might match the return type of a GCC
12891 builtin and then its argument prototype would still apply. */
12892 #ifdef __cplusplus
12893 extern "C"
12894 #endif
12895 char FcInit ();
12897 main ()
12899 return FcInit ();
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_link "$LINENO"; then :
12905 case "$LIBEXT" in
12906 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12907 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'` ;;
12908 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12909 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12910 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12911 fi ;;
12912 esac
12914 rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
12916 LIBS=$ac_check_soname_save_LIBS
12918 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12920 $as_echo "not found" >&6; }
12921 FONTCONFIG_CFLAGS=""
12922 else
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12924 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12926 cat >>confdefs.h <<_ACEOF
12927 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12928 _ACEOF
12932 else
12933 FONTCONFIG_CFLAGS=""
12935 CPPFLAGS=$ac_save_CPPFLAGS
12936 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12937 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12940 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12941 case "x$with_fontconfig" in
12942 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12943 xno) ;;
12944 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12945 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12946 esac
12949 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12950 then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12952 $as_echo_n "checking for -lgsm... " >&6; }
12953 if ${ac_cv_lib_soname_gsm+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
12956 ac_check_soname_save_LIBS=$LIBS
12957 LIBS="-lgsm $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char gsm_create ();
12969 main ()
12971 return gsm_create ();
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 case "$LIBEXT" in
12978 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12979 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'` ;;
12980 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12981 if ${ac_cv_lib_soname_gsm:+false} :; then :
12982 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12983 fi ;;
12984 esac
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12988 LIBS=$ac_check_soname_save_LIBS
12990 if ${ac_cv_lib_soname_gsm:+false} :; then :
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12992 $as_echo "not found" >&6; }
12994 else
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12996 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12998 cat >>confdefs.h <<_ACEOF
12999 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13000 _ACEOF
13005 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13006 case "x$with_gsm" in
13007 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13008 xno) ;;
13009 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13010 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13011 esac
13014 if test "x$with_jpeg" != "xno"
13015 then
13016 if ${JPEG_CFLAGS:+false} :; then :
13017 if ${PKG_CONFIG+:} false; then :
13018 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13022 if ${JPEG_LIBS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13029 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13030 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13031 ac_save_CPPFLAGS=$CPPFLAGS
13032 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13033 for ac_header in jpeglib.h
13034 do :
13035 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13036 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13037 cat >>confdefs.h <<_ACEOF
13038 #define HAVE_JPEGLIB_H 1
13039 _ACEOF
13043 done
13045 if test "$ac_cv_header_jpeglib_h" = "yes"
13046 then
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13048 $as_echo_n "checking for -ljpeg... " >&6; }
13049 if ${ac_cv_lib_soname_jpeg+:} false; then :
13050 $as_echo_n "(cached) " >&6
13051 else
13052 ac_check_soname_save_LIBS=$LIBS
13053 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13060 #ifdef __cplusplus
13061 extern "C"
13062 #endif
13063 char jpeg_start_decompress ();
13065 main ()
13067 return jpeg_start_decompress ();
13069 return 0;
13071 _ACEOF
13072 if ac_fn_c_try_link "$LINENO"; then :
13073 case "$LIBEXT" in
13074 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13075 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'` ;;
13076 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13077 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13078 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13079 fi ;;
13080 esac
13082 rm -f core conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13084 LIBS=$ac_check_soname_save_LIBS
13086 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13088 $as_echo "not found" >&6; }
13089 JPEG_CFLAGS=""
13090 else
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13092 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13094 cat >>confdefs.h <<_ACEOF
13095 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13096 _ACEOF
13100 else
13101 JPEG_CFLAGS=""
13103 CPPFLAGS=$ac_save_CPPFLAGS
13104 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13105 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13108 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13109 case "x$with_jpeg" in
13110 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13111 xno) ;;
13112 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13113 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13114 esac
13117 if test "x$with_png" != "xno"
13118 then
13119 if ${PNG_CFLAGS:+false} :; then :
13120 if ${PKG_CONFIG+:} false; then :
13121 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13124 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13125 if ${PNG_LIBS:+false} :; then :
13126 if ${PKG_CONFIG+:} false; then :
13127 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13130 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13132 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13133 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13134 ac_save_CPPFLAGS=$CPPFLAGS
13135 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13136 for ac_header in png.h
13137 do :
13138 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13139 if test "x$ac_cv_header_png_h" = xyes; then :
13140 cat >>confdefs.h <<_ACEOF
13141 #define HAVE_PNG_H 1
13142 _ACEOF
13146 done
13148 if test "$ac_cv_header_png_h" = "yes"
13149 then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13151 $as_echo_n "checking for -lpng... " >&6; }
13152 if ${ac_cv_lib_soname_png+:} false; then :
13153 $as_echo_n "(cached) " >&6
13154 else
13155 ac_check_soname_save_LIBS=$LIBS
13156 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13160 /* Override any GCC internal prototype to avoid an error.
13161 Use char because int might match the return type of a GCC
13162 builtin and then its argument prototype would still apply. */
13163 #ifdef __cplusplus
13164 extern "C"
13165 #endif
13166 char png_create_read_struct ();
13168 main ()
13170 return png_create_read_struct ();
13172 return 0;
13174 _ACEOF
13175 if ac_fn_c_try_link "$LINENO"; then :
13176 case "$LIBEXT" in
13177 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13178 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'` ;;
13179 *) 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'`
13180 if ${ac_cv_lib_soname_png:+false} :; then :
13181 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13182 fi ;;
13183 esac
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13187 LIBS=$ac_check_soname_save_LIBS
13189 if ${ac_cv_lib_soname_png:+false} :; then :
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13191 $as_echo "not found" >&6; }
13192 PNG_CFLAGS=""
13193 else
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13195 $as_echo "$ac_cv_lib_soname_png" >&6; }
13197 cat >>confdefs.h <<_ACEOF
13198 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13199 _ACEOF
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13203 #include <png.h>
13205 main ()
13207 typeof(png_set_expand_gray_1_2_4_to_8) *p
13209 return 0;
13211 _ACEOF
13212 if ac_fn_c_try_compile "$LINENO"; then :
13214 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219 else
13220 PNG_CFLAGS=""
13222 CPPFLAGS=$ac_save_CPPFLAGS
13223 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13224 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13227 if test "x$ac_cv_lib_soname_png" = "x"; then :
13228 case "x$with_png" in
13229 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13230 xno) ;;
13231 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13232 This is an error since --with-png was requested." "$LINENO" 5 ;;
13233 esac
13236 if test "x$with_tiff" != "xno"
13237 then
13238 if ${TIFF_CFLAGS:+false} :; then :
13239 if ${PKG_CONFIG+:} false; then :
13240 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13244 if ${TIFF_LIBS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13251 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13252 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13253 ac_save_CPPFLAGS=$CPPFLAGS
13254 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13255 for ac_header in tiffio.h
13256 do :
13257 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13258 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13259 cat >>confdefs.h <<_ACEOF
13260 #define HAVE_TIFFIO_H 1
13261 _ACEOF
13265 done
13267 if test "$ac_cv_header_tiffio_h" = "yes"
13268 then
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13270 $as_echo_n "checking for -ltiff... " >&6; }
13271 if ${ac_cv_lib_soname_tiff+:} false; then :
13272 $as_echo_n "(cached) " >&6
13273 else
13274 ac_check_soname_save_LIBS=$LIBS
13275 LIBS="-ltiff $TIFF_LIBS $LIBS"
13276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13282 #ifdef __cplusplus
13283 extern "C"
13284 #endif
13285 char TIFFClientOpen ();
13287 main ()
13289 return TIFFClientOpen ();
13291 return 0;
13293 _ACEOF
13294 if ac_fn_c_try_link "$LINENO"; then :
13295 case "$LIBEXT" in
13296 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13297 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'` ;;
13298 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13299 if ${ac_cv_lib_soname_tiff:+false} :; then :
13300 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13301 fi ;;
13302 esac
13304 rm -f core conftest.err conftest.$ac_objext \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_soname_save_LIBS
13308 if ${ac_cv_lib_soname_tiff:+false} :; then :
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13310 $as_echo "not found" >&6; }
13312 else
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13314 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13316 cat >>confdefs.h <<_ACEOF
13317 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13318 _ACEOF
13323 CPPFLAGS=$ac_save_CPPFLAGS
13324 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13325 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13328 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13329 case "x$with_tiff" in
13330 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13331 xno) ;;
13332 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13333 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13334 esac
13337 if test "x$with_mpg123" != "xno"
13338 then
13339 if ${MPG123_CFLAGS:+false} :; then :
13340 if ${PKG_CONFIG+:} false; then :
13341 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13345 if ${MPG123_LIBS:+false} :; then :
13346 if ${PKG_CONFIG+:} false; then :
13347 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13351 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13352 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13353 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13354 ac_save_CPPFLAGS=$CPPFLAGS
13355 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13356 for ac_header in mpg123.h
13357 do :
13358 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13359 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13360 cat >>confdefs.h <<_ACEOF
13361 #define HAVE_MPG123_H 1
13362 _ACEOF
13366 done
13368 if test "$ac_cv_header_mpg123_h" = "yes"
13369 then
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13371 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13372 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13373 $as_echo_n "(cached) " >&6
13374 else
13375 ac_check_lib_save_LIBS=$LIBS
13376 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13383 #ifdef __cplusplus
13384 extern "C"
13385 #endif
13386 char mpg123_feed ();
13388 main ()
13390 return mpg123_feed ();
13392 return 0;
13394 _ACEOF
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 ac_cv_lib_mpg123_mpg123_feed=yes
13397 else
13398 ac_cv_lib_mpg123_mpg123_feed=no
13400 rm -f core conftest.err conftest.$ac_objext \
13401 conftest$ac_exeext conftest.$ac_ext
13402 LIBS=$ac_check_lib_save_LIBS
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13405 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13406 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13408 else
13409 MPG123_LIBS=""
13412 else
13413 MPG123_CFLAGS=""
13414 MPG123_LIBS=""
13416 CPPFLAGS=$ac_save_CPPFLAGS
13417 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13418 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13421 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13422 case "x$with_mpg123" in
13423 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13424 xno) ;;
13425 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13426 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13427 esac
13429 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}
13431 if test "$ac_cv_header_AL_al_h" = "yes"
13432 then
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13434 $as_echo_n "checking for -lopenal... " >&6; }
13435 if ${ac_cv_lib_soname_openal+:} false; then :
13436 $as_echo_n "(cached) " >&6
13437 else
13438 ac_check_soname_save_LIBS=$LIBS
13439 LIBS="-lopenal $LIBS"
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13443 /* Override any GCC internal prototype to avoid an error.
13444 Use char because int might match the return type of a GCC
13445 builtin and then its argument prototype would still apply. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char alGetSource3i ();
13451 main ()
13453 return alGetSource3i ();
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_link "$LINENO"; then :
13459 case "$LIBEXT" in
13460 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13461 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'` ;;
13462 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13463 if ${ac_cv_lib_soname_openal:+false} :; then :
13464 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13465 fi ;;
13466 esac
13468 rm -f core conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13470 LIBS=$ac_check_soname_save_LIBS
13472 if ${ac_cv_lib_soname_openal:+false} :; then :
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13474 $as_echo "not found" >&6; }
13476 else
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13478 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13480 cat >>confdefs.h <<_ACEOF
13481 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13482 _ACEOF
13484 OPENAL_LIBS="-lopenal"
13486 ac_cv_lib_openal=yes
13488 cat >>confdefs.h <<_ACEOF
13489 #define HAVE_OPENAL 1
13490 _ACEOF
13494 if test "x$ac_cv_lib_openal" != xyes; then :
13495 case "x$with_openal" in
13496 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13497 xno) ;;
13498 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13499 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13500 esac
13502 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13504 if test "$ac_cv_header_kstat_h" = "yes"
13505 then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13507 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13508 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_lib_save_LIBS=$LIBS
13512 LIBS="-lkstat $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char kstat_open ();
13524 main ()
13526 return kstat_open ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 ac_cv_lib_kstat_kstat_open=yes
13533 else
13534 ac_cv_lib_kstat_kstat_open=no
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_lib_save_LIBS
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13541 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13542 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13544 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13546 KSTAT_LIBS="-lkstat"
13552 if test "$ac_cv_header_libprocstat_h" = "yes"
13553 then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13555 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13556 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_check_lib_save_LIBS=$LIBS
13560 LIBS="-lprocstat $LIBS"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13564 /* Override any GCC internal prototype to avoid an error.
13565 Use char because int might match the return type of a GCC
13566 builtin and then its argument prototype would still apply. */
13567 #ifdef __cplusplus
13568 extern "C"
13569 #endif
13570 char procstat_open_sysctl ();
13572 main ()
13574 return procstat_open_sysctl ();
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_link "$LINENO"; then :
13580 ac_cv_lib_procstat_procstat_open_sysctl=yes
13581 else
13582 ac_cv_lib_procstat_procstat_open_sysctl=no
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_lib_save_LIBS
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13589 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13590 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13592 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13594 PROCSTAT_LIBS="-lprocstat"
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13601 $as_echo_n "checking for -lodbc... " >&6; }
13602 if ${ac_cv_lib_soname_odbc+:} false; then :
13603 $as_echo_n "(cached) " >&6
13604 else
13605 ac_check_soname_save_LIBS=$LIBS
13606 LIBS="-lodbc $LIBS"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char SQLConnect ();
13618 main ()
13620 return SQLConnect ();
13622 return 0;
13624 _ACEOF
13625 if ac_fn_c_try_link "$LINENO"; then :
13626 case "$LIBEXT" in
13627 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13628 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'` ;;
13629 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13630 if ${ac_cv_lib_soname_odbc:+false} :; then :
13631 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13632 fi ;;
13633 esac
13635 rm -f core conftest.err conftest.$ac_objext \
13636 conftest$ac_exeext conftest.$ac_ext
13637 LIBS=$ac_check_soname_save_LIBS
13639 if ${ac_cv_lib_soname_odbc:+false} :; then :
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13641 $as_echo "not found" >&6; }
13642 cat >>confdefs.h <<_ACEOF
13643 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13644 _ACEOF
13646 else
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13648 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13650 cat >>confdefs.h <<_ACEOF
13651 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13652 _ACEOF
13657 if test "x$with_netapi" != "xno"
13658 then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13660 $as_echo_n "checking for -lnetapi... " >&6; }
13661 if ${ac_cv_lib_soname_netapi+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 ac_check_soname_save_LIBS=$LIBS
13665 LIBS="-lnetapi $LIBS"
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13669 /* Override any GCC internal prototype to avoid an error.
13670 Use char because int might match the return type of a GCC
13671 builtin and then its argument prototype would still apply. */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char libnetapi_init ();
13677 main ()
13679 return libnetapi_init ();
13681 return 0;
13683 _ACEOF
13684 if ac_fn_c_try_link "$LINENO"; then :
13685 case "$LIBEXT" in
13686 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13687 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'` ;;
13688 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13689 if ${ac_cv_lib_soname_netapi:+false} :; then :
13690 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13691 fi ;;
13692 esac
13694 rm -f core conftest.err conftest.$ac_objext \
13695 conftest$ac_exeext conftest.$ac_ext
13696 LIBS=$ac_check_soname_save_LIBS
13698 if ${ac_cv_lib_soname_netapi:+false} :; then :
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13700 $as_echo "not found" >&6; }
13701 cat >>confdefs.h <<_ACEOF
13702 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13703 _ACEOF
13705 else
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13707 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13709 cat >>confdefs.h <<_ACEOF
13710 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13711 _ACEOF
13717 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13718 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13719 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13720 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13722 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13723 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13724 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13725 then
13726 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13730 EXTRACFLAGS=""
13732 if test "x${GCC}" = "xyes"
13733 then
13734 EXTRACFLAGS="-Wall -pipe"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13737 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13738 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 if test "$cross_compiling" = yes; then :
13742 ac_cv_c_gcc_strength_bug="yes"
13743 else
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 int L[4] = {0,1,2,3};
13748 main ()
13750 static int Array[3];
13751 unsigned int B = 3;
13752 int i;
13753 for(i=0; i<B; i++) Array[i] = i - 3;
13754 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13755 L[i] = 4;
13756 return (Array[1] != -2 || L[2] != 3)
13758 return 0;
13760 _ACEOF
13761 if ac_fn_c_try_run "$LINENO"; then :
13762 ac_cv_c_gcc_strength_bug="no"
13763 else
13764 ac_cv_c_gcc_strength_bug="yes"
13766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13767 conftest.$ac_objext conftest.beam conftest.$ac_ext
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13772 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13773 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13774 then
13775 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13779 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13780 if ${ac_cv_cflags__fno_builtin+:} false; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 ac_wine_try_cflags_saved=$CFLAGS
13784 CFLAGS="$CFLAGS -fno-builtin"
13785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13787 int main(int argc, char **argv) { return 0; }
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"; then :
13790 ac_cv_cflags__fno_builtin=yes
13791 else
13792 ac_cv_cflags__fno_builtin=no
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 CFLAGS=$ac_wine_try_cflags_saved
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13799 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13800 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13801 BUILTINFLAG="-fno-builtin"
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13805 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13806 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13807 $as_echo_n "(cached) " >&6
13808 else
13809 ac_wine_try_cflags_saved=$CFLAGS
13810 CFLAGS="$CFLAGS -fno-strict-aliasing"
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 int main(int argc, char **argv) { return 0; }
13814 _ACEOF
13815 if ac_fn_c_try_link "$LINENO"; then :
13816 ac_cv_cflags__fno_strict_aliasing=yes
13817 else
13818 ac_cv_cflags__fno_strict_aliasing=no
13820 rm -f core conftest.err conftest.$ac_objext \
13821 conftest$ac_exeext conftest.$ac_ext
13822 CFLAGS=$ac_wine_try_cflags_saved
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13825 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13826 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13827 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13829 saved_CFLAGS=$CFLAGS
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13831 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13832 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 int main(int argc, char **argv) { return 0; }
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_cflags__Werror_unknown_warning_option=yes
13843 else
13844 ac_cv_cflags__Werror_unknown_warning_option=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 CFLAGS=$ac_wine_try_cflags_saved
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13851 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13852 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13853 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13856 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13857 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 ac_wine_try_cflags_saved=$CFLAGS
13861 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 int main(int argc, char **argv) { return 0; }
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"; then :
13867 ac_cv_cflags__Wdeclaration_after_statement=yes
13868 else
13869 ac_cv_cflags__Wdeclaration_after_statement=no
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 CFLAGS=$ac_wine_try_cflags_saved
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13876 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13877 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13878 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13881 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13882 if ${ac_cv_cflags__Wempty_body+:} false; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 ac_wine_try_cflags_saved=$CFLAGS
13886 CFLAGS="$CFLAGS -Wempty-body"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 ac_cv_cflags__Wempty_body=yes
13893 else
13894 ac_cv_cflags__Wempty_body=no
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13898 CFLAGS=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13901 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13902 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13903 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13906 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13907 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13908 $as_echo_n "(cached) " >&6
13909 else
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -Wignored-qualifiers"
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 int main(int argc, char **argv) { return 0; }
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 ac_cv_cflags__Wignored_qualifiers=yes
13918 else
13919 ac_cv_cflags__Wignored_qualifiers=no
13921 rm -f core conftest.err conftest.$ac_objext \
13922 conftest$ac_exeext conftest.$ac_ext
13923 CFLAGS=$ac_wine_try_cflags_saved
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13926 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13927 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13928 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13931 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13932 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13933 $as_echo_n "(cached) " >&6
13934 else
13935 ac_wine_try_cflags_saved=$CFLAGS
13936 CFLAGS="$CFLAGS -Wstrict-prototypes"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 int main(int argc, char **argv) { return 0; }
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"; then :
13942 ac_cv_cflags__Wstrict_prototypes=yes
13943 else
13944 ac_cv_cflags__Wstrict_prototypes=no
13946 rm -f core conftest.err conftest.$ac_objext \
13947 conftest$ac_exeext conftest.$ac_ext
13948 CFLAGS=$ac_wine_try_cflags_saved
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13951 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13952 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13953 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13956 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13957 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13958 $as_echo_n "(cached) " >&6
13959 else
13960 ac_wine_try_cflags_saved=$CFLAGS
13961 CFLAGS="$CFLAGS -Wtype-limits"
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int main(int argc, char **argv) { return 0; }
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 ac_cv_cflags__Wtype_limits=yes
13968 else
13969 ac_cv_cflags__Wtype_limits=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 CFLAGS=$ac_wine_try_cflags_saved
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13976 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13977 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13978 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13981 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13982 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 ac_wine_try_cflags_saved=$CFLAGS
13986 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_cflags__Wunused_but_set_parameter=yes
13993 else
13994 ac_cv_cflags__Wunused_but_set_parameter=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 CFLAGS=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14001 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14002 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14003 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14006 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14007 if ${ac_cv_cflags__Wvla+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -Wvla"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__Wvla=yes
14018 else
14019 ac_cv_cflags__Wvla=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14026 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14027 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14028 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14031 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14032 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_wine_try_cflags_saved=$CFLAGS
14036 CFLAGS="$CFLAGS -Wwrite-strings"
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14038 /* end confdefs.h. */
14039 int main(int argc, char **argv) { return 0; }
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 ac_cv_cflags__Wwrite_strings=yes
14043 else
14044 ac_cv_cflags__Wwrite_strings=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 CFLAGS=$ac_wine_try_cflags_saved
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14051 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14052 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14053 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14057 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14058 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_wine_try_cflags_saved=$CFLAGS
14062 CFLAGS="$CFLAGS -Wpointer-arith"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14065 int main(int argc, char **argv) { return 0; }
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"; then :
14068 ac_cv_cflags__Wpointer_arith=yes
14069 else
14070 ac_cv_cflags__Wpointer_arith=no
14072 rm -f core conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074 CFLAGS=$ac_wine_try_cflags_saved
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14077 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14078 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14079 saved_string_h_CFLAGS=$CFLAGS
14080 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14082 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14083 if ${ac_cv_c_string_h_warnings+:} false; then :
14084 $as_echo_n "(cached) " >&6
14085 else
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14088 #include <string.h>
14090 main ()
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_compile "$LINENO"; then :
14098 ac_cv_c_string_h_warnings=no
14099 else
14100 ac_cv_c_string_h_warnings=yes
14102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14105 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14106 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14107 CFLAGS=$saved_string_h_CFLAGS
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14111 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14112 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_wine_try_cflags_saved=$CFLAGS
14116 CFLAGS="$CFLAGS -Wlogical-op"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14119 int main(int argc, char **argv) { return 0; }
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"; then :
14122 ac_cv_cflags__Wlogical_op=yes
14123 else
14124 ac_cv_cflags__Wlogical_op=no
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14128 CFLAGS=$ac_wine_try_cflags_saved
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14131 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14132 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14133 saved_string_h_CFLAGS=$CFLAGS
14134 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14136 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14137 if ${ac_cv_c_logicalop_noisy+:} false; then :
14138 $as_echo_n "(cached) " >&6
14139 else
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 #include <string.h>
14143 char*f(const char *h,char n) {return strchr(h,n);}
14145 main ()
14149 return 0;
14151 _ACEOF
14152 if ac_fn_c_try_compile "$LINENO"; then :
14153 ac_cv_c_logicalop_noisy=no
14154 else
14155 ac_cv_c_logicalop_noisy=yes
14157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14160 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14161 CFLAGS=$saved_string_h_CFLAGS
14162 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14165 CFLAGS=$saved_CFLAGS
14167 for ac_flag in $CFLAGS; do
14168 case $ac_flag in
14169 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14170 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14171 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14172 $as_echo_n "(cached) " >&6
14173 else
14174 ac_wine_try_cflags_saved=$CFLAGS
14175 CFLAGS="$CFLAGS -gdwarf-2"
14176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14178 int main(int argc, char **argv) { return 0; }
14179 _ACEOF
14180 if ac_fn_c_try_link "$LINENO"; then :
14181 ac_cv_cflags__gdwarf_2=yes
14182 else
14183 ac_cv_cflags__gdwarf_2=no
14185 rm -f core conftest.err conftest.$ac_objext \
14186 conftest$ac_exeext conftest.$ac_ext
14187 CFLAGS=$ac_wine_try_cflags_saved
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14190 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14191 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14192 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14195 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14196 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_wine_try_cflags_saved=$CFLAGS
14200 CFLAGS="$CFLAGS -gstrict-dwarf"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 int main(int argc, char **argv) { return 0; }
14204 _ACEOF
14205 if ac_fn_c_try_link "$LINENO"; then :
14206 ac_cv_cflags__gstrict_dwarf=yes
14207 else
14208 ac_cv_cflags__gstrict_dwarf=no
14210 rm -f core conftest.err conftest.$ac_objext \
14211 conftest$ac_exeext conftest.$ac_ext
14212 CFLAGS=$ac_wine_try_cflags_saved
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14215 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14216 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14217 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14218 fi ;;
14219 esac
14220 done
14222 case $host_cpu in
14223 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14224 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14225 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14226 $as_echo_n "(cached) " >&6
14227 else
14228 ac_wine_try_cflags_saved=$CFLAGS
14229 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 int main(int argc, char **argv) { return 0; }
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 ac_cv_cflags__fno_omit_frame_pointer=yes
14236 else
14237 ac_cv_cflags__fno_omit_frame_pointer=no
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14241 CFLAGS=$ac_wine_try_cflags_saved
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14244 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14245 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14246 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14247 fi ;;
14248 esac
14250 case $host in
14251 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14252 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14253 if ${ac_cv_cflags__Wno_format+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_wine_try_cflags_saved=$CFLAGS
14257 CFLAGS="$CFLAGS -Wno-format"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 int main(int argc, char **argv) { return 0; }
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"; then :
14263 ac_cv_cflags__Wno_format=yes
14264 else
14265 ac_cv_cflags__Wno_format=no
14267 rm -f core conftest.err conftest.$ac_objext \
14268 conftest$ac_exeext conftest.$ac_ext
14269 CFLAGS=$ac_wine_try_cflags_saved
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14272 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14273 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14274 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14275 fi ;;
14276 esac
14278 if test "x$enable_maintainer_mode" = "xyes"
14279 then
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14281 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14282 if ${ac_cv_cflags__Werror+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 ac_wine_try_cflags_saved=$CFLAGS
14286 CFLAGS="$CFLAGS -Werror"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_cflags__Werror=yes
14293 else
14294 ac_cv_cflags__Werror=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14301 $as_echo "$ac_cv_cflags__Werror" >&6; }
14302 if test "x$ac_cv_cflags__Werror" = xyes; then :
14303 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14307 saved_CFLAGS="$CFLAGS"
14308 CFLAGS="$CFLAGS -Werror"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14310 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14311 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14316 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14318 main ()
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_compile "$LINENO"; then :
14326 ac_cv_have_ms_hook_prologue="yes"
14327 else
14328 ac_cv_have_ms_hook_prologue="no"
14330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14333 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14334 CFLAGS="$saved_CFLAGS"
14335 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14336 then
14338 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14340 else
14341 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14348 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14349 if ${ac_cv_c_fortify_enabled+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14354 #include <string.h>
14356 main ()
14358 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14359 #error Fortify enabled
14360 #endif
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_compile "$LINENO"; then :
14366 ac_cv_c_fortify_enabled=no
14367 else
14368 ac_cv_c_fortify_enabled=yes
14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14373 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14374 if test "$ac_cv_c_fortify_enabled" = yes
14375 then
14376 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14381 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14382 if ${ac_cv_c_extern_prefix+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 extern int ac_test;
14389 main ()
14391 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14393 return 0;
14395 _ACEOF
14396 if ac_fn_c_try_link "$LINENO"; then :
14397 ac_cv_c_extern_prefix="yes"
14398 else
14399 ac_cv_c_extern_prefix="no"
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14405 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14407 case $host_cpu in
14408 *i[3456789]86*)
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14410 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14411 if ${ac_cv_c_stdcall_suffix+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14416 #ifndef _MSC_VER
14417 #define __stdcall __attribute__((__stdcall__))
14418 #endif
14419 int __stdcall ac_test(int i) { return i; }
14421 main ()
14423 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14425 return 0;
14427 _ACEOF
14428 if ac_fn_c_try_link "$LINENO"; then :
14429 ac_cv_c_stdcall_suffix="yes"
14430 else
14431 ac_cv_c_stdcall_suffix="no"
14433 rm -f core conftest.err conftest.$ac_objext \
14434 conftest$ac_exeext conftest.$ac_ext
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14437 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14438 *) ac_cv_c_stdcall_suffix="no" ;;
14439 esac
14442 if test "$ac_cv_c_extern_prefix" = "yes"
14443 then
14444 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14446 asm_name_prefix="_"
14447 else
14448 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14450 asm_name_prefix=""
14454 if test "$ac_cv_c_stdcall_suffix" = "yes"
14455 then
14456 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14458 else
14459 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14465 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14466 if ${ac_cv_asm_func_def+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14473 main ()
14475 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14477 return 0;
14479 _ACEOF
14480 if ac_fn_c_try_link "$LINENO"; then :
14481 ac_cv_asm_func_def=".def"
14482 else
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14487 main ()
14489 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_asm_func_def=".type @function"
14496 else
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14501 main ()
14503 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14505 return 0;
14507 _ACEOF
14508 if ac_fn_c_try_link "$LINENO"; then :
14509 ac_cv_asm_func_def=".type 2"
14510 else
14511 ac_cv_asm_func_def="unknown"
14513 rm -f core conftest.err conftest.$ac_objext \
14514 conftest$ac_exeext conftest.$ac_ext
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14523 $as_echo "$ac_cv_asm_func_def" >&6; }
14526 case "$ac_cv_asm_func_def" in
14527 ".def")
14528 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14530 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14531 ".type @function")
14532 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14534 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14535 ".type 2")
14536 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14538 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14540 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14542 asm_func_header="" ;;
14543 esac
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14546 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14547 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14548 $as_echo_n "(cached) " >&6
14549 else
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14552 asm(".text\n\t.long 0");
14554 main ()
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_compile "$LINENO"; then :
14562 ac_cv_c_asm_outside_funcs="yes"
14563 else
14564 ac_cv_c_asm_outside_funcs="no"
14566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14569 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14572 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14573 if ${ac_cv_c_dot_previous+:} false; then :
14574 $as_echo_n "(cached) " >&6
14575 else
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14580 main ()
14582 asm(".text\nac_test:\t.long 0\n\t.previous");
14584 return 0;
14586 _ACEOF
14587 if ac_fn_c_try_link "$LINENO"; then :
14588 ac_cv_c_dot_previous="yes"
14589 else
14590 ac_cv_c_dot_previous="no"
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14596 $as_echo "$ac_cv_c_dot_previous" >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14599 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14600 if ${ac_cv_c_cfi_support+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14605 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14607 main ()
14611 return 0;
14613 _ACEOF
14614 if ac_fn_c_try_compile "$LINENO"; then :
14615 ac_cv_c_cfi_support="yes"
14616 else
14617 ac_cv_c_cfi_support="no"
14619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14622 $as_echo "$ac_cv_c_cfi_support" >&6; }
14624 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14625 asm_func_trailer=""
14626 if test "$ac_cv_c_dot_previous" = "yes"
14627 then
14628 asm_func_trailer="\\n\\t.previous"
14630 if test "$ac_cv_c_cfi_support" = "yes"
14631 then
14632 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14633 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14635 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14637 UNWINDFLAGS=-fasynchronous-unwind-tables
14639 else
14640 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14642 if test "x$enable_win64" = "xyes"
14643 then
14644 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14648 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14651 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14652 then
14653 cat >>confdefs.h <<_ACEOF
14654 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14655 _ACEOF
14657 else
14658 cat >>confdefs.h <<_ACEOF
14659 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14660 _ACEOF
14664 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14667 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14671 case $build_os in
14672 cygwin*|mingw32*) TOOLSEXT=".exe"
14674 esac
14676 case $host_os in
14677 linux*)
14678 case $host_cpu in
14679 *i[3456789]86*|x86_64*)
14680 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14681 loader_programs="$loader_programs $wine_binary-preloader"
14682 as_fn_append LOADER_RULES "
14683 $wine_binary-preloader: preloader.o
14684 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14686 install install-lib:: $wine_binary-preloader
14687 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14689 uninstall::
14690 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14692 preloader_EXTRADEFS = $BUILTINFLAG
14693 " ;;
14694 esac
14696 esac
14697 as_fn_append LOADER_RULES "
14698 PROGRAMS = $loader_programs
14702 ac_save_CFLAGS="$CFLAGS"
14703 CFLAGS="$CFLAGS $BUILTINFLAG"
14704 for ac_func in \
14705 __res_get_state \
14706 __res_getservers \
14707 _finite \
14708 _isnan \
14709 _pclose \
14710 _popen \
14711 _snprintf \
14712 _spawnvp \
14713 _strdup \
14714 _stricmp \
14715 _strnicmp \
14716 _strtoi64 \
14717 _strtoui64 \
14718 _vsnprintf \
14719 asctime_r \
14720 chsize \
14721 dlopen \
14722 epoll_create \
14723 ffs \
14724 finitef \
14725 fnmatch \
14726 fork \
14727 fpclass \
14728 fstatfs \
14729 fstatvfs \
14730 ftruncate \
14731 futimens \
14732 futimes \
14733 futimesat \
14734 getattrlist \
14735 getdirentries \
14736 getopt_long_only \
14737 getpwuid \
14738 gettimeofday \
14739 getuid \
14740 if_nameindex \
14741 isnanf \
14742 kqueue \
14743 lstat \
14744 memmove \
14745 mmap \
14746 pclose \
14747 pipe2 \
14748 poll \
14749 popen \
14750 port_create \
14751 prctl \
14752 pread \
14753 proc_pidinfo \
14754 pwrite \
14755 readdir \
14756 readlink \
14757 sched_yield \
14758 select \
14759 setproctitle \
14760 setrlimit \
14761 settimeofday \
14762 sigaltstack \
14763 sigprocmask \
14764 snprintf \
14765 statfs \
14766 statvfs \
14767 strcasecmp \
14768 strdup \
14769 strerror \
14770 strncasecmp \
14771 strtold \
14772 strtoll \
14773 strtoull \
14774 symlink \
14775 tcdrain \
14776 thr_kill2 \
14777 timegm \
14778 usleep \
14779 vsnprintf
14781 do :
14782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14785 cat >>confdefs.h <<_ACEOF
14786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14787 _ACEOF
14790 done
14792 CFLAGS="$ac_save_CFLAGS"
14794 if test "$ac_cv_func_dlopen" = no
14795 then
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14797 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14798 if ${ac_cv_lib_dl_dlopen+:} false; then :
14799 $as_echo_n "(cached) " >&6
14800 else
14801 ac_check_lib_save_LIBS=$LIBS
14802 LIBS="-ldl $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h. */
14806 /* Override any GCC internal prototype to avoid an error.
14807 Use char because int might match the return type of a GCC
14808 builtin and then its argument prototype would still apply. */
14809 #ifdef __cplusplus
14810 extern "C"
14811 #endif
14812 char dlopen ();
14814 main ()
14816 return dlopen ();
14818 return 0;
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_lib_dl_dlopen=yes
14823 else
14824 ac_cv_lib_dl_dlopen=no
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14831 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14832 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14833 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14834 DL_LIBS="-ldl"
14839 ac_wine_check_funcs_save_LIBS="$LIBS"
14840 LIBS="$LIBS $DL_LIBS"
14841 for ac_func in dladdr
14842 do :
14843 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14844 if test "x$ac_cv_func_dladdr" = xyes; then :
14845 cat >>confdefs.h <<_ACEOF
14846 #define HAVE_DLADDR 1
14847 _ACEOF
14850 done
14852 LIBS="$ac_wine_check_funcs_save_LIBS"
14854 if test "$ac_cv_func_poll" = no
14855 then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14857 $as_echo_n "checking for poll in -lpoll... " >&6; }
14858 if ${ac_cv_lib_poll_poll+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_check_lib_save_LIBS=$LIBS
14862 LIBS="-lpoll $LIBS"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14866 /* Override any GCC internal prototype to avoid an error.
14867 Use char because int might match the return type of a GCC
14868 builtin and then its argument prototype would still apply. */
14869 #ifdef __cplusplus
14870 extern "C"
14871 #endif
14872 char poll ();
14874 main ()
14876 return poll ();
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_lib_poll_poll=yes
14883 else
14884 ac_cv_lib_poll_poll=no
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_lib_save_LIBS
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14891 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14892 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14893 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14894 POLL_LIBS="-lpoll"
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14901 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14902 if ${ac_cv_search_gethostbyname+:} false; then :
14903 $as_echo_n "(cached) " >&6
14904 else
14905 ac_func_search_save_LIBS=$LIBS
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14907 /* end confdefs.h. */
14909 /* Override any GCC internal prototype to avoid an error.
14910 Use char because int might match the return type of a GCC
14911 builtin and then its argument prototype would still apply. */
14912 #ifdef __cplusplus
14913 extern "C"
14914 #endif
14915 char gethostbyname ();
14917 main ()
14919 return gethostbyname ();
14921 return 0;
14923 _ACEOF
14924 for ac_lib in '' nsl; do
14925 if test -z "$ac_lib"; then
14926 ac_res="none required"
14927 else
14928 ac_res=-l$ac_lib
14929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_search_gethostbyname=$ac_res
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext
14936 if ${ac_cv_search_gethostbyname+:} false; then :
14937 break
14939 done
14940 if ${ac_cv_search_gethostbyname+:} false; then :
14942 else
14943 ac_cv_search_gethostbyname=no
14945 rm conftest.$ac_ext
14946 LIBS=$ac_func_search_save_LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14949 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14950 ac_res=$ac_cv_search_gethostbyname
14951 if test "$ac_res" != no; then :
14952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14958 $as_echo_n "checking for library containing connect... " >&6; }
14959 if ${ac_cv_search_connect+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 ac_func_search_save_LIBS=$LIBS
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 #ifdef __cplusplus
14970 extern "C"
14971 #endif
14972 char connect ();
14974 main ()
14976 return connect ();
14978 return 0;
14980 _ACEOF
14981 for ac_lib in '' socket; do
14982 if test -z "$ac_lib"; then
14983 ac_res="none required"
14984 else
14985 ac_res=-l$ac_lib
14986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14988 if ac_fn_c_try_link "$LINENO"; then :
14989 ac_cv_search_connect=$ac_res
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext
14993 if ${ac_cv_search_connect+:} false; then :
14994 break
14996 done
14997 if ${ac_cv_search_connect+:} false; then :
14999 else
15000 ac_cv_search_connect=no
15002 rm conftest.$ac_ext
15003 LIBS=$ac_func_search_save_LIBS
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15006 $as_echo "$ac_cv_search_connect" >&6; }
15007 ac_res=$ac_cv_search_connect
15008 if test "$ac_res" != no; then :
15009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15015 $as_echo_n "checking for library containing inet_aton... " >&6; }
15016 if ${ac_cv_search_inet_aton+:} false; then :
15017 $as_echo_n "(cached) " >&6
15018 else
15019 ac_func_search_save_LIBS=$LIBS
15020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15026 #ifdef __cplusplus
15027 extern "C"
15028 #endif
15029 char inet_aton ();
15031 main ()
15033 return inet_aton ();
15035 return 0;
15037 _ACEOF
15038 for ac_lib in '' resolv; do
15039 if test -z "$ac_lib"; then
15040 ac_res="none required"
15041 else
15042 ac_res=-l$ac_lib
15043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15045 if ac_fn_c_try_link "$LINENO"; then :
15046 ac_cv_search_inet_aton=$ac_res
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext
15050 if ${ac_cv_search_inet_aton+:} false; then :
15051 break
15053 done
15054 if ${ac_cv_search_inet_aton+:} false; then :
15056 else
15057 ac_cv_search_inet_aton=no
15059 rm conftest.$ac_ext
15060 LIBS=$ac_func_search_save_LIBS
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15063 $as_echo "$ac_cv_search_inet_aton" >&6; }
15064 ac_res=$ac_cv_search_inet_aton
15065 if test "$ac_res" != no; then :
15066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15071 for ac_func in \
15072 getaddrinfo \
15073 getnameinfo \
15074 getnetbyname \
15075 getprotobyname \
15076 getprotobynumber \
15077 getservbyport \
15078 inet_addr \
15079 inet_network \
15080 inet_ntop \
15081 inet_pton \
15082 sendmsg \
15083 socketpair \
15085 do :
15086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15089 cat >>confdefs.h <<_ACEOF
15090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15091 _ACEOF
15094 done
15097 ac_save_LIBS=$LIBS
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15099 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15100 if ${ac_cv_search_clock_gettime+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 ac_func_search_save_LIBS=$LIBS
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15107 /* Override any GCC internal prototype to avoid an error.
15108 Use char because int might match the return type of a GCC
15109 builtin and then its argument prototype would still apply. */
15110 #ifdef __cplusplus
15111 extern "C"
15112 #endif
15113 char clock_gettime ();
15115 main ()
15117 return clock_gettime ();
15119 return 0;
15121 _ACEOF
15122 for ac_lib in '' rt; do
15123 if test -z "$ac_lib"; then
15124 ac_res="none required"
15125 else
15126 ac_res=-l$ac_lib
15127 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15129 if ac_fn_c_try_link "$LINENO"; then :
15130 ac_cv_search_clock_gettime=$ac_res
15132 rm -f core conftest.err conftest.$ac_objext \
15133 conftest$ac_exeext
15134 if ${ac_cv_search_clock_gettime+:} false; then :
15135 break
15137 done
15138 if ${ac_cv_search_clock_gettime+:} false; then :
15140 else
15141 ac_cv_search_clock_gettime=no
15143 rm conftest.$ac_ext
15144 LIBS=$ac_func_search_save_LIBS
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15147 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15148 ac_res=$ac_cv_search_clock_gettime
15149 if test "$ac_res" != no; then :
15150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15152 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15154 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15158 LIBS=$ac_save_LIBS
15160 LDAP_LIBS=""
15162 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15163 then
15164 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15166 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15168 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15169 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15170 $as_echo_n "(cached) " >&6
15171 else
15172 ac_check_lib_save_LIBS=$LIBS
15173 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15177 /* Override any GCC internal prototype to avoid an error.
15178 Use char because int might match the return type of a GCC
15179 builtin and then its argument prototype would still apply. */
15180 #ifdef __cplusplus
15181 extern "C"
15182 #endif
15183 char ldap_initialize ();
15185 main ()
15187 return ldap_initialize ();
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"; then :
15193 ac_cv_lib_ldap_r_ldap_initialize=yes
15194 else
15195 ac_cv_lib_ldap_r_ldap_initialize=no
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199 LIBS=$ac_check_lib_save_LIBS
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15202 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15203 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15205 $as_echo_n "checking for ber_init in -llber... " >&6; }
15206 if ${ac_cv_lib_lber_ber_init+:} false; then :
15207 $as_echo_n "(cached) " >&6
15208 else
15209 ac_check_lib_save_LIBS=$LIBS
15210 LIBS="-llber $PTHREAD_LIBS $LIBS"
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15214 /* Override any GCC internal prototype to avoid an error.
15215 Use char because int might match the return type of a GCC
15216 builtin and then its argument prototype would still apply. */
15217 #ifdef __cplusplus
15218 extern "C"
15219 #endif
15220 char ber_init ();
15222 main ()
15224 return ber_init ();
15226 return 0;
15228 _ACEOF
15229 if ac_fn_c_try_link "$LINENO"; then :
15230 ac_cv_lib_lber_ber_init=yes
15231 else
15232 ac_cv_lib_lber_ber_init=no
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_lib_save_LIBS
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15239 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15240 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15242 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15244 LDAP_LIBS="-lldap_r -llber"
15251 ac_wine_check_funcs_save_LIBS="$LIBS"
15252 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15253 for ac_func in \
15254 ldap_count_references \
15255 ldap_first_reference \
15256 ldap_next_reference \
15257 ldap_parse_reference \
15258 ldap_parse_sort_control \
15259 ldap_parse_sortresponse_control \
15260 ldap_parse_vlv_control \
15261 ldap_parse_vlvresponse_control
15262 do :
15263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15265 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15266 cat >>confdefs.h <<_ACEOF
15267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15268 _ACEOF
15271 done
15273 LIBS="$ac_wine_check_funcs_save_LIBS"
15275 if test "x$LDAP_LIBS" = "x"; then :
15276 case "x$with_ldap" in
15277 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15278 xno) ;;
15279 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15280 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15281 esac
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15285 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15286 if ${wine_cv_one_arg_mkdir+:} false; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291 #include <sys/stat.h>
15293 main ()
15295 mkdir("foo");
15297 return 0;
15299 _ACEOF
15300 if ac_fn_c_try_compile "$LINENO"; then :
15301 wine_cv_one_arg_mkdir=yes
15302 else
15303 wine_cv_one_arg_mkdir=no
15305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15308 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15309 if test "$wine_cv_one_arg_mkdir" = "yes"
15310 then
15312 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15317 $as_echo_n "checking for sched_setaffinity... " >&6; }
15318 if ${wine_cv_have_sched_setaffinity+:} false; then :
15319 $as_echo_n "(cached) " >&6
15320 else
15321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15322 /* end confdefs.h. */
15323 #define _GNU_SOURCE
15324 #include <sched.h>
15326 main ()
15328 sched_setaffinity(0, 0, 0);
15330 return 0;
15332 _ACEOF
15333 if ac_fn_c_try_link "$LINENO"; then :
15334 wine_cv_have_sched_setaffinity=yes
15335 else
15336 wine_cv_have_sched_setaffinity=no
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext conftest.$ac_ext
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15342 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15343 if test "$wine_cv_have_sched_setaffinity" = "yes"
15344 then
15346 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15351 $as_echo_n "checking for fallocate... " >&6; }
15352 if ${wine_cv_have_fallocate+:} false; then :
15353 $as_echo_n "(cached) " >&6
15354 else
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15357 #define _GNU_SOURCE
15358 #include <fcntl.h>
15360 main ()
15362 fallocate(-1, 0, 0, 0);
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_link "$LINENO"; then :
15368 wine_cv_have_fallocate=yes
15369 else
15370 wine_cv_have_fallocate=no
15372 rm -f core conftest.err conftest.$ac_objext \
15373 conftest$ac_exeext conftest.$ac_ext
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15376 $as_echo "$wine_cv_have_fallocate" >&6; }
15377 if test "$wine_cv_have_fallocate" = "yes"
15378 then
15380 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15386 $as_echo_n "checking for inline... " >&6; }
15387 if ${ac_cv_c_inline+:} false; then :
15388 $as_echo_n "(cached) " >&6
15389 else
15390 ac_cv_c_inline=no
15391 for ac_kw in inline __inline__ __inline; do
15392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 /* end confdefs.h. */
15394 #ifndef __cplusplus
15395 typedef int foo_t;
15396 static $ac_kw foo_t static_foo () {return 0; }
15397 $ac_kw foo_t foo () {return 0; }
15398 #endif
15400 _ACEOF
15401 if ac_fn_c_try_compile "$LINENO"; then :
15402 ac_cv_c_inline=$ac_kw
15404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15405 test "$ac_cv_c_inline" != no && break
15406 done
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15410 $as_echo "$ac_cv_c_inline" >&6; }
15412 case $ac_cv_c_inline in
15413 inline | yes) ;;
15415 case $ac_cv_c_inline in
15416 no) ac_val=;;
15417 *) ac_val=$ac_cv_c_inline;;
15418 esac
15419 cat >>confdefs.h <<_ACEOF
15420 #ifndef __cplusplus
15421 #define inline $ac_val
15422 #endif
15423 _ACEOF
15425 esac
15427 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15428 if test "x$ac_cv_type_mode_t" = xyes; then :
15430 cat >>confdefs.h <<_ACEOF
15431 #define HAVE_MODE_T 1
15432 _ACEOF
15436 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15437 if test "x$ac_cv_type_off_t" = xyes; then :
15439 cat >>confdefs.h <<_ACEOF
15440 #define HAVE_OFF_T 1
15441 _ACEOF
15445 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15446 if test "x$ac_cv_type_pid_t" = xyes; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define HAVE_PID_T 1
15450 _ACEOF
15454 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15455 if test "x$ac_cv_type_size_t" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_SIZE_T 1
15459 _ACEOF
15463 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15464 if test "x$ac_cv_type_ssize_t" = xyes; then :
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_SSIZE_T 1
15468 _ACEOF
15472 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15473 if test "x$ac_cv_type_long_long" = xyes; then :
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_LONG_LONG 1
15477 _ACEOF
15481 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15482 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_FSBLKCNT_T 1
15486 _ACEOF
15490 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15491 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15493 cat >>confdefs.h <<_ACEOF
15494 #define HAVE_FSFILCNT_T 1
15495 _ACEOF
15500 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15501 #include <signal.h>
15503 if test "x$ac_cv_type_sigset_t" = xyes; then :
15505 cat >>confdefs.h <<_ACEOF
15506 #define HAVE_SIGSET_T 1
15507 _ACEOF
15512 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15514 if test "x$ac_cv_type_request_sense" = xyes; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define HAVE_REQUEST_SENSE 1
15518 _ACEOF
15524 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15525 #ifdef HAVE_SYS_SOCKET_H
15526 #include <sys/socket.h>
15527 #endif
15528 #ifdef HAVE_SYS_SOCKETVAR_H
15529 #include <sys/socketvar.h>
15530 #endif
15531 #ifdef HAVE_NET_ROUTE_H
15532 #include <net/route.h>
15533 #endif
15534 #ifdef HAVE_NETINET_IN_H
15535 #include <netinet/in.h>
15536 #endif
15537 #ifdef HAVE_NETINET_IN_SYSTM_H
15538 #include <netinet/in_systm.h>
15539 #endif
15540 #ifdef HAVE_NETINET_IP_H
15541 #include <netinet/ip.h>
15542 #endif
15543 #ifdef HAVE_NETINET_IN_PCB_H
15544 #include <netinet/in_pcb.h>
15545 #endif
15547 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_STRUCT_XINPGEN 1
15551 _ACEOF
15557 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15558 #include <link.h>
15559 #endif
15560 #ifdef HAVE_SYS_LINK_H
15561 #include <sys/link.h>
15562 #endif
15564 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define HAVE_STRUCT_R_DEBUG 1
15568 _ACEOF
15572 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15573 #include <link.h>
15574 #endif
15575 #ifdef HAVE_SYS_LINK_H
15576 #include <sys/link.h>
15577 #endif
15579 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define HAVE_STRUCT_LINK_MAP 1
15583 _ACEOF
15589 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15590 #include <linux/input.h>
15591 #endif
15593 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15595 cat >>confdefs.h <<_ACEOF
15596 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15597 _ACEOF
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15604 $as_echo_n "checking for sigaddset... " >&6; }
15605 if ${wine_cv_have_sigaddset+:} false; then :
15606 $as_echo_n "(cached) " >&6
15607 else
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610 #include <signal.h>
15612 main ()
15614 sigset_t set; sigaddset(&set,SIGTERM);
15616 return 0;
15618 _ACEOF
15619 if ac_fn_c_try_link "$LINENO"; then :
15620 wine_cv_have_sigaddset=yes
15621 else
15622 wine_cv_have_sigaddset=no
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext conftest.$ac_ext
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15628 $as_echo "$wine_cv_have_sigaddset" >&6; }
15629 if test "$wine_cv_have_sigaddset" = "yes"
15630 then
15632 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15638 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15639 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15640 $as_echo_n "(cached) " >&6
15641 else
15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15643 /* end confdefs.h. */
15644 #include <netdb.h>
15646 main ()
15649 char *name=0;
15650 struct hostent he;
15651 struct hostent *result;
15652 char *buf=0;
15653 int bufsize=0;
15654 int errnr;
15655 char *addr=0;
15656 int addrlen=0;
15657 int addrtype=0;
15658 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15659 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15662 return 0;
15664 _ACEOF
15665 if ac_fn_c_try_link "$LINENO"; then :
15666 wine_cv_linux_gethostbyname_r_6=yes
15667 else
15668 wine_cv_linux_gethostbyname_r_6=no
15671 rm -f core conftest.err conftest.$ac_objext \
15672 conftest$ac_exeext conftest.$ac_ext
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15676 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15677 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15678 then
15680 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15684 if test "$ac_cv_header_linux_joystick_h" = "yes"
15685 then
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15687 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15688 if ${wine_cv_linux_joystick_22_api+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 #include <sys/ioctl.h>
15695 #include <sys/types.h>
15696 #include <linux/joystick.h>
15698 struct js_event blub;
15699 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15700 #error "no 2.2 header"
15701 #endif
15704 main ()
15706 /*empty*/
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_compile "$LINENO"; then :
15712 wine_cv_linux_joystick_22_api=yes
15713 else
15714 wine_cv_linux_joystick_22_api=no
15716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15720 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15721 if test "$wine_cv_linux_joystick_22_api" = "yes"
15722 then
15724 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15730 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_PARAM_H
15732 # include <sys/param.h>
15733 #endif
15734 #ifdef HAVE_SYS_MOUNT_H
15735 # include <sys/mount.h>
15736 #endif
15737 #ifdef HAVE_SYS_VFS_H
15738 # include <sys/vfs.h>
15739 #endif
15740 #ifdef HAVE_SYS_STATFS_H
15741 # include <sys/statfs.h>
15742 #endif
15744 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15746 cat >>confdefs.h <<_ACEOF
15747 #define HAVE_STRUCT_STATFS_F_BFREE 1
15748 _ACEOF
15752 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_PARAM_H
15754 # include <sys/param.h>
15755 #endif
15756 #ifdef HAVE_SYS_MOUNT_H
15757 # include <sys/mount.h>
15758 #endif
15759 #ifdef HAVE_SYS_VFS_H
15760 # include <sys/vfs.h>
15761 #endif
15762 #ifdef HAVE_SYS_STATFS_H
15763 # include <sys/statfs.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15777 #endif
15778 #ifdef HAVE_SYS_MOUNT_H
15779 # include <sys/mount.h>
15780 #endif
15781 #ifdef HAVE_SYS_VFS_H
15782 # include <sys/vfs.h>
15783 #endif
15784 #ifdef HAVE_SYS_STATFS_H
15785 # include <sys/statfs.h>
15786 #endif
15788 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15792 _ACEOF
15796 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15797 #ifdef HAVE_SYS_PARAM_H
15798 # include <sys/param.h>
15799 #endif
15800 #ifdef HAVE_SYS_MOUNT_H
15801 # include <sys/mount.h>
15802 #endif
15803 #ifdef HAVE_SYS_VFS_H
15804 # include <sys/vfs.h>
15805 #endif
15806 #ifdef HAVE_SYS_STATFS_H
15807 # include <sys/statfs.h>
15808 #endif
15810 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_STRUCT_STATFS_F_FFREE 1
15814 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_PARAM_H
15820 # include <sys/param.h>
15821 #endif
15822 #ifdef HAVE_SYS_MOUNT_H
15823 # include <sys/mount.h>
15824 #endif
15825 #ifdef HAVE_SYS_VFS_H
15826 # include <sys/vfs.h>
15827 #endif
15828 #ifdef HAVE_SYS_STATFS_H
15829 # include <sys/statfs.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15836 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_PARAM_H
15842 # include <sys/param.h>
15843 #endif
15844 #ifdef HAVE_SYS_MOUNT_H
15845 # include <sys/mount.h>
15846 #endif
15847 #ifdef HAVE_SYS_VFS_H
15848 # include <sys/vfs.h>
15849 #endif
15850 #ifdef HAVE_SYS_STATFS_H
15851 # include <sys/statfs.h>
15852 #endif
15854 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15858 _ACEOF
15864 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15865 #include <sys/statvfs.h>
15866 #endif
15868 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15872 _ACEOF
15878 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15879 #include <dirent.h>
15880 #endif
15882 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15886 _ACEOF
15892 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15893 #ifdef HAVE_SYS_SOCKET_H
15894 # include <sys/socket.h>
15895 #endif
15896 #ifdef HAVE_SYS_UN_H
15897 # include <sys/un.h>
15898 #endif
15900 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15902 cat >>confdefs.h <<_ACEOF
15903 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15904 _ACEOF
15908 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15909 #ifdef HAVE_SYS_SOCKET_H
15910 # include <sys/socket.h>
15911 #endif
15912 #ifdef HAVE_SYS_UN_H
15913 # include <sys/un.h>
15914 #endif
15916 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15918 cat >>confdefs.h <<_ACEOF
15919 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15920 _ACEOF
15924 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15925 #ifdef HAVE_SYS_SOCKET_H
15926 # include <sys/socket.h>
15927 #endif
15928 #ifdef HAVE_SYS_UN_H
15929 # include <sys/un.h>
15930 #endif
15932 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15934 cat >>confdefs.h <<_ACEOF
15935 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15936 _ACEOF
15942 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15943 #ifdef HAVE_SCSI_SG_H
15944 #include <scsi/sg.h>
15945 #endif
15947 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_SCSIREQ_T_CMD 1
15951 _ACEOF
15955 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>
15956 #ifdef HAVE_SCSI_SG_H
15957 #include <scsi/sg.h>
15958 #endif
15960 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15962 cat >>confdefs.h <<_ACEOF
15963 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15964 _ACEOF
15970 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15972 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_SIGINFO_T_SI_FD 1
15976 _ACEOF
15982 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15983 #ifdef HAVE_SYS_MTIO_H
15984 #include <sys/mtio.h>
15985 #endif
15987 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15991 _ACEOF
15995 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15996 #ifdef HAVE_SYS_MTIO_H
15997 #include <sys/mtio.h>
15998 #endif
16000 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16002 cat >>confdefs.h <<_ACEOF
16003 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16004 _ACEOF
16008 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16009 #ifdef HAVE_SYS_MTIO_H
16010 #include <sys/mtio.h>
16011 #endif
16013 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16017 _ACEOF
16023 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16024 #include <getopt.h>
16025 #endif
16027 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT_OPTION_NAME 1
16031 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16038 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16042 _ACEOF
16046 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16047 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define HAVE_STRUCT_STAT_ST_MTIM 1
16051 _ACEOF
16055 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16056 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16060 _ACEOF
16064 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16065 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16067 cat >>confdefs.h <<_ACEOF
16068 #define HAVE_STRUCT_STAT_ST_CTIM 1
16069 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16074 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16078 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16083 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_STRUCT_STAT_ST_ATIM 1
16087 _ACEOF
16091 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16092 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16096 _ACEOF
16100 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16101 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16105 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16110 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16114 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16119 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16121 cat >>confdefs.h <<_ACEOF
16122 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16123 _ACEOF
16127 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16128 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16132 _ACEOF
16136 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16137 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16141 _ACEOF
16147 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
16148 #include <sys/types.h>
16149 #endif
16150 #ifdef HAVE_NETINET_IN_H
16151 #include <netinet/in.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16158 _ACEOF
16164 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16165 #include <resolv.h>
16166 #endif
16168 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_STRUCT___RES_STATE 1
16172 _ACEOF
16178 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
16179 #include <resolv.h>
16180 #endif
16182 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16186 _ACEOF
16192 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16193 #include <sys/types.h>
16194 #endif
16195 #ifdef HAVE_NETINET_IN_H
16196 # include <netinet/in.h>
16197 #endif
16198 #ifdef HAVE_ARPA_NAMESER_H
16199 # include <arpa/nameser.h>
16200 #endif
16202 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_NS_MSG__MSG_PTR 1
16206 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16213 #include <sys/types.h>
16214 #endif
16215 #ifdef HAVE_NETINET_IP_H
16216 #include <netinet/ip.h>
16217 #endif
16218 #ifdef HAVE_NETINET_IP_ICMP_H
16219 #include <netinet/ip_icmp.h>
16220 #endif
16221 #ifdef HAVE_NETINET_ICMP_VAR_H
16222 #include <netinet/icmp_var.h>
16223 #endif
16225 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16229 _ACEOF
16235 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16236 #include <sys/types.h>
16237 #endif
16238 #ifdef HAVE_ALIAS_H
16239 #include <alias.h>
16240 #endif
16241 #ifdef HAVE_SYS_SOCKET_H
16242 #include <sys/socket.h>
16243 #endif
16244 #ifdef HAVE_SYS_SOCKETVAR_H
16245 #include <sys/socketvar.h>
16246 #endif
16247 #ifdef HAVE_SYS_TIMEOUT_H
16248 #include <sys/timeout.h>
16249 #endif
16250 #ifdef HAVE_NETINET_IN_H
16251 #include <netinet/in.h>
16252 #endif
16253 #ifdef HAVE_NETINET_IN_SYSTM_H
16254 #include <netinet/in_systm.h>
16255 #endif
16256 #ifdef HAVE_NETINET_IP_H
16257 #include <netinet/ip.h>
16258 #endif
16259 #ifdef HAVE_NETINET_IP_VAR_H
16260 #include <netinet/ip_var.h>
16261 #endif
16262 #ifdef HAVE_NETINET_IP_ICMP_H
16263 #include <netinet/ip_icmp.h>
16264 #endif
16265 #ifdef HAVE_NETINET_ICMP_VAR_H
16266 #include <netinet/icmp_var.h>
16267 #endif
16269 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16273 _ACEOF
16279 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16280 #include <sys/types.h>
16281 #endif
16282 #ifdef HAVE_SYS_SOCKETVAR_H
16283 #include <sys/socketvar.h>
16284 #endif
16285 #ifdef HAVE_NETINET_IN_H
16286 #include <netinet/in.h>
16287 #endif
16288 #ifdef HAVE_NETINET_IP_VAR_H
16289 #include <netinet/ip_var.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16296 _ACEOF
16302 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
16303 #include <netinet/ip_var.h>
16304 #endif
16306 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16310 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16317 #include <sys/types.h>
16318 #endif
16319 #ifdef HAVE_SYS_SOCKETVAR_H
16320 #include <sys/socketvar.h>
16321 #endif
16322 #ifdef HAVE_NETINET_IN_H
16323 #include <netinet/in.h>
16324 #endif
16325 #ifdef HAVE_NETINET_TCP_H
16326 #include <netinet/tcp.h>
16327 #endif
16328 #ifdef HAVE_NETINET_TCP_VAR_H
16329 #include <netinet/tcp_var.h>
16330 #endif
16332 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16336 _ACEOF
16342 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
16343 #include <netinet/tcp_var.h>
16344 #endif
16346 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16350 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16357 #include <sys/types.h>
16358 #endif
16359 #ifdef HAVE_NETINET_IN_H
16360 #include <netinet/in.h>
16361 #endif
16362 #ifdef HAVE_NETINET_IP_VAR_H
16363 #include <netinet/ip_var.h>
16364 #endif
16365 #ifdef HAVE_NETINET_UDP_H
16366 #include <netinet/udp.h>
16367 #endif
16368 #ifdef HAVE_NETINET_UDP_VAR_H
16369 #include <netinet/udp_var.h>
16370 #endif
16372 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16374 cat >>confdefs.h <<_ACEOF
16375 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16376 _ACEOF
16382 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16383 #include <sys/types.h>
16384 #endif
16385 #ifdef HAVE_NET_IF_H
16386 # include <net/if.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16393 _ACEOF
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16400 $as_echo_n "checking for timezone variable... " >&6; }
16401 if ${ac_cv_have_timezone+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16406 #include <time.h>
16408 main ()
16410 timezone = 1
16412 return 0;
16414 _ACEOF
16415 if ac_fn_c_try_link "$LINENO"; then :
16416 ac_cv_have_timezone="yes"
16417 else
16418 ac_cv_have_timezone="no"
16420 rm -f core conftest.err conftest.$ac_objext \
16421 conftest$ac_exeext conftest.$ac_ext
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16424 $as_echo "$ac_cv_have_timezone" >&6; }
16425 if test "$ac_cv_have_timezone" = "yes"
16426 then
16428 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16432 $as_echo_n "checking for daylight variable... " >&6; }
16433 if ${ac_cv_have_daylight+:} false; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16438 #include <time.h>
16440 main ()
16442 daylight = 1
16444 return 0;
16446 _ACEOF
16447 if ac_fn_c_try_link "$LINENO"; then :
16448 ac_cv_have_daylight="yes"
16449 else
16450 ac_cv_have_daylight="no"
16452 rm -f core conftest.err conftest.$ac_objext \
16453 conftest$ac_exeext conftest.$ac_ext
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16456 $as_echo "$ac_cv_have_daylight" >&6; }
16457 if test "$ac_cv_have_daylight" = "yes"
16458 then
16460 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16464 ac_save_LIBS="$LIBS"
16465 LIBS="$LIBS -lm"
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16467 $as_echo_n "checking for isfinite... " >&6; }
16468 if ${ac_cv_have_isfinite+:} false; then :
16469 $as_echo_n "(cached) " >&6
16470 else
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16473 #define _GNU_SOURCE
16474 #include <math.h>
16476 main ()
16478 float f = 0.0; return isfinite(f)
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"; then :
16484 ac_cv_have_isfinite="yes"
16485 else
16486 ac_cv_have_isfinite="no"
16488 rm -f core conftest.err conftest.$ac_objext \
16489 conftest$ac_exeext conftest.$ac_ext
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16492 $as_echo "$ac_cv_have_isfinite" >&6; }
16493 if test "$ac_cv_have_isfinite" = "yes"
16494 then
16496 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16501 $as_echo_n "checking for isinf... " >&6; }
16502 if ${ac_cv_have_isinf+:} false; then :
16503 $as_echo_n "(cached) " >&6
16504 else
16505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16506 /* end confdefs.h. */
16507 #include <math.h>
16509 main ()
16511 float f = 0.0; return isinf(f)
16513 return 0;
16515 _ACEOF
16516 if ac_fn_c_try_link "$LINENO"; then :
16517 ac_cv_have_isinf="yes"
16518 else
16519 ac_cv_have_isinf="no"
16521 rm -f core conftest.err conftest.$ac_objext \
16522 conftest$ac_exeext conftest.$ac_ext
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16525 $as_echo "$ac_cv_have_isinf" >&6; }
16526 if test "$ac_cv_have_isinf" = "yes"
16527 then
16529 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16534 $as_echo_n "checking for isnan... " >&6; }
16535 if ${ac_cv_have_isnan+:} false; then :
16536 $as_echo_n "(cached) " >&6
16537 else
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #include <math.h>
16542 main ()
16544 float f = 0.0; return isnan(f)
16546 return 0;
16548 _ACEOF
16549 if ac_fn_c_try_link "$LINENO"; then :
16550 ac_cv_have_isnan="yes"
16551 else
16552 ac_cv_have_isnan="no"
16554 rm -f core conftest.err conftest.$ac_objext \
16555 conftest$ac_exeext conftest.$ac_ext
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16558 $as_echo "$ac_cv_have_isnan" >&6; }
16559 if test "$ac_cv_have_isnan" = "yes"
16560 then
16562 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16566 for ac_func in \
16567 cbrt \
16568 cbrtf \
16569 erf \
16570 erff \
16571 exp2 \
16572 exp2f \
16573 llrint \
16574 llrintf \
16575 llround \
16576 llroundf \
16577 log2 \
16578 log2f \
16579 lrint \
16580 lrintf \
16581 lround \
16582 lroundf \
16583 rint \
16584 rintf \
16585 round \
16586 roundf \
16587 trunc \
16588 truncf
16590 do :
16591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16593 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16596 _ACEOF
16599 done
16601 LIBS="$ac_save_LIBS"
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16604 $as_echo_n "checking for __builtin_clz... " >&6; }
16605 if ${ac_cv_have___builtin_clz+:} false; then :
16606 $as_echo_n "(cached) " >&6
16607 else
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16612 main ()
16614 return __builtin_clz(1)
16616 return 0;
16618 _ACEOF
16619 if ac_fn_c_try_link "$LINENO"; then :
16620 ac_cv_have___builtin_clz="yes"
16621 else
16622 ac_cv_have___builtin_clz="no"
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16628 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16629 if test "$ac_cv_have___builtin_clz" = "yes"
16630 then
16632 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16637 case $host_cpu in
16638 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16639 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16640 if ${ac_cv_cpp_def___i386__+:} false; then :
16641 $as_echo_n "(cached) " >&6
16642 else
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16645 #ifndef __i386__
16647 #endif
16648 _ACEOF
16649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16650 $EGREP "yes" >/dev/null 2>&1; then :
16651 ac_cv_cpp_def___i386__=yes
16652 else
16653 ac_cv_cpp_def___i386__=no
16655 rm -f conftest*
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16659 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16660 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16661 CFLAGS="$CFLAGS -D__i386__"
16662 LINTFLAGS="$LINTFLAGS -D__i386__"
16663 fi ;;
16664 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16665 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16666 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16667 $as_echo_n "(cached) " >&6
16668 else
16669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16671 #ifndef __x86_64__
16673 #endif
16674 _ACEOF
16675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16676 $EGREP "yes" >/dev/null 2>&1; then :
16677 ac_cv_cpp_def___x86_64__=yes
16678 else
16679 ac_cv_cpp_def___x86_64__=no
16681 rm -f conftest*
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16685 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16686 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16687 CFLAGS="$CFLAGS -D__x86_64__"
16688 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16689 fi ;;
16690 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16691 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16692 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16693 $as_echo_n "(cached) " >&6
16694 else
16695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h. */
16697 #ifndef __sparc64__
16699 #endif
16700 _ACEOF
16701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16702 $EGREP "yes" >/dev/null 2>&1; then :
16703 ac_cv_cpp_def___sparc64__=yes
16704 else
16705 ac_cv_cpp_def___sparc64__=no
16707 rm -f conftest*
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16711 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16712 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16713 CFLAGS="$CFLAGS -D__sparc64__"
16714 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16715 fi ;;
16716 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16717 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16718 if ${ac_cv_cpp_def___sparc__+:} false; then :
16719 $as_echo_n "(cached) " >&6
16720 else
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #ifndef __sparc__
16725 #endif
16726 _ACEOF
16727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16728 $EGREP "yes" >/dev/null 2>&1; then :
16729 ac_cv_cpp_def___sparc__=yes
16730 else
16731 ac_cv_cpp_def___sparc__=no
16733 rm -f conftest*
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16737 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16738 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16739 CFLAGS="$CFLAGS -D__sparc__"
16740 LINTFLAGS="$LINTFLAGS -D__sparc__"
16741 fi ;;
16742 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16743 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16744 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748 /* end confdefs.h. */
16749 #ifndef __powerpc64__
16751 #endif
16752 _ACEOF
16753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16754 $EGREP "yes" >/dev/null 2>&1; then :
16755 ac_cv_cpp_def___powerpc64__=yes
16756 else
16757 ac_cv_cpp_def___powerpc64__=no
16759 rm -f conftest*
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16763 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16764 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16765 CFLAGS="$CFLAGS -D__powerpc64__"
16766 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16767 fi ;;
16768 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16769 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16770 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16775 #ifndef __powerpc__
16777 #endif
16778 _ACEOF
16779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16780 $EGREP "yes" >/dev/null 2>&1; then :
16781 ac_cv_cpp_def___powerpc__=yes
16782 else
16783 ac_cv_cpp_def___powerpc__=no
16785 rm -f conftest*
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16789 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16790 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16791 CFLAGS="$CFLAGS -D__powerpc__"
16792 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16793 fi ;;
16794 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16795 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16796 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16797 $as_echo_n "(cached) " >&6
16798 else
16799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16800 /* end confdefs.h. */
16801 #ifndef __aarch64__
16803 #endif
16804 _ACEOF
16805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16806 $EGREP "yes" >/dev/null 2>&1; then :
16807 ac_cv_cpp_def___aarch64__=yes
16808 else
16809 ac_cv_cpp_def___aarch64__=no
16811 rm -f conftest*
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16815 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16816 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16817 CFLAGS="$CFLAGS -D__aarch64__"
16818 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16819 fi ;;
16820 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16821 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16822 if ${ac_cv_cpp_def___arm__+:} false; then :
16823 $as_echo_n "(cached) " >&6
16824 else
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16827 #ifndef __arm__
16829 #endif
16830 _ACEOF
16831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16832 $EGREP "yes" >/dev/null 2>&1; then :
16833 ac_cv_cpp_def___arm__=yes
16834 else
16835 ac_cv_cpp_def___arm__=no
16837 rm -f conftest*
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16841 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16842 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16843 CFLAGS="$CFLAGS -D__arm__"
16844 LINTFLAGS="$LINTFLAGS -D__arm__"
16845 fi ;;
16846 esac
16848 case $host_vendor in
16849 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16850 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16851 if ${ac_cv_cpp_def___sun__+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #ifndef __sun__
16858 #endif
16859 _ACEOF
16860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16861 $EGREP "yes" >/dev/null 2>&1; then :
16862 ac_cv_cpp_def___sun__=yes
16863 else
16864 ac_cv_cpp_def___sun__=no
16866 rm -f conftest*
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16870 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16871 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16872 CFLAGS="$CFLAGS -D__sun__"
16873 LINTFLAGS="$LINTFLAGS -D__sun__"
16874 fi ;;
16875 esac
16881 ac_config_commands="$ac_config_commands include/stamp-h"
16883 $as_echo_n "creating Makefile rules..." >&6
16885 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16886 SOCKET_LIBS = $SOCKET_LIBS
16887 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16888 IOKIT_LIBS = $IOKIT_LIBS
16889 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16890 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16891 CORESERVICES_LIBS = $CORESERVICES_LIBS
16892 APPKIT_LIBS = $APPKIT_LIBS
16893 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16894 SECURITY_LIBS = $SECURITY_LIBS
16895 COREAUDIO_LIBS = $COREAUDIO_LIBS
16896 OPENAL_LIBS = $OPENAL_LIBS
16897 OPENCL_LIBS = $OPENCL_LIBS
16898 QUICKTIME_LIBS = $QUICKTIME_LIBS
16899 CARBON_LIBS = $CARBON_LIBS
16900 PTHREAD_LIBS = $PTHREAD_LIBS
16901 X_CFLAGS = $X_CFLAGS
16902 X_PRE_LIBS = $X_PRE_LIBS
16903 X_LIBS = $X_LIBS
16904 X_EXTRA_LIBS = $X_EXTRA_LIBS
16905 XML2_CFLAGS = $XML2_CFLAGS
16906 XML2_LIBS = $XML2_LIBS
16907 XSLT_CFLAGS = $XSLT_CFLAGS
16908 XSLT_LIBS = $XSLT_LIBS
16909 DBUS_CFLAGS = $DBUS_CFLAGS
16910 DBUS_LIBS = $DBUS_LIBS
16911 HAL_CFLAGS = $HAL_CFLAGS
16912 HAL_LIBS = $HAL_LIBS
16913 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16914 GNUTLS_LIBS = $GNUTLS_LIBS
16915 SANE_CFLAGS = $SANE_CFLAGS
16916 SANE_LIBS = $SANE_LIBS
16917 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16918 GPHOTO2_LIBS = $GPHOTO2_LIBS
16919 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16920 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16921 RESOLV_LIBS = $RESOLV_LIBS
16922 LCMS2_CFLAGS = $LCMS2_CFLAGS
16923 LCMS2_LIBS = $LCMS2_LIBS
16924 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16925 FREETYPE_LIBS = $FREETYPE_LIBS
16926 Z_LIBS = $Z_LIBS
16927 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16928 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16929 GSTREAMER_LIBS = $GSTREAMER_LIBS
16930 ALSA_LIBS = $ALSA_LIBS
16931 OSS4_CFLAGS = $OSS4_CFLAGS
16932 CAPI20_CFLAGS = $CAPI20_CFLAGS
16933 CAPI20_LIBS = $CAPI20_LIBS
16934 CUPS_CFLAGS = $CUPS_CFLAGS
16935 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16936 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16937 JPEG_CFLAGS = $JPEG_CFLAGS
16938 JPEG_LIBS = $JPEG_LIBS
16939 PNG_CFLAGS = $PNG_CFLAGS
16940 PNG_LIBS = $PNG_LIBS
16941 TIFF_CFLAGS = $TIFF_CFLAGS
16942 TIFF_LIBS = $TIFF_LIBS
16943 MPG123_CFLAGS = $MPG123_CFLAGS
16944 MPG123_LIBS = $MPG123_LIBS
16945 KSTAT_LIBS = $KSTAT_LIBS
16946 PROCSTAT_LIBS = $PROCSTAT_LIBS
16947 DL_LIBS = $DL_LIBS
16948 POLL_LIBS = $POLL_LIBS
16949 RT_LIBS = $RT_LIBS
16950 LDAP_LIBS = $LDAP_LIBS
16955 wine_fn_append_rule "
16956 # Rules automatically generated by configure
16958 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16960 .INIT: Makefile
16961 .MAKEFILEDEPS:
16962 all: Makefile
16963 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16964 @./config.status Make.tmp Makefile"
16966 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16967 .gitignore: config.status
16968 @./config.status .gitignore"
16970 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16971 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16973 if test "x$enable_fonts" != xno; then
16974 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16975 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16976 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16977 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16978 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16980 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16981 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16982 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16983 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16984 ac_config_links="$ac_config_links wine:tools/winewrapper"
16985 wine_fn_config_symlink wine
16986 if test "x$enable_win64" != xno; then
16987 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16988 wine_fn_config_symlink wine64
16991 wine_fn_config_dll acledit enable_acledit
16992 wine_fn_config_dll aclui enable_aclui implib
16993 wine_fn_config_dll activeds enable_activeds implib
16994 wine_fn_config_dll actxprxy enable_actxprxy clean
16995 wine_fn_config_lib adsiid
16996 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16997 wine_fn_config_test dlls/advapi32/tests advapi32_test
16998 wine_fn_config_dll advpack enable_advpack implib
16999 wine_fn_config_test dlls/advpack/tests advpack_test
17000 wine_fn_config_dll amstream enable_amstream clean
17001 wine_fn_config_test dlls/amstream/tests amstream_test
17002 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17010 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17011 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17013 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17016 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17017 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17020 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17023 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17024 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17027 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17028 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17029 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17033 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17036 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17038 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17040 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17041 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17046 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17052 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17053 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17059 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17060 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17062 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17063 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17064 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17065 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17069 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17070 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17071 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17072 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17073 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17074 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17075 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17076 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17077 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17078 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17079 wine_fn_config_dll apphelp enable_apphelp
17080 wine_fn_config_test dlls/apphelp/tests apphelp_test
17081 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17082 wine_fn_config_dll atl enable_atl clean,implib
17083 wine_fn_config_test dlls/atl/tests atl_test
17084 wine_fn_config_dll atl100 enable_atl100 clean,implib
17085 wine_fn_config_test dlls/atl100/tests atl100_test
17086 wine_fn_config_dll atl110 enable_atl110 clean
17087 wine_fn_config_dll atl80 enable_atl80 clean,implib
17088 wine_fn_config_test dlls/atl80/tests atl80_test
17089 wine_fn_config_dll atl90 enable_atl90 clean
17090 wine_fn_config_dll authz enable_authz
17091 wine_fn_config_dll avicap32 enable_avicap32 implib
17092 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17093 wine_fn_config_test dlls/avifil32/tests avifil32_test
17094 wine_fn_config_dll avifile.dll16 enable_win16
17095 wine_fn_config_dll avrt enable_avrt implib
17096 wine_fn_config_dll bcrypt enable_bcrypt
17097 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17098 wine_fn_config_dll browseui enable_browseui clean,po
17099 wine_fn_config_test dlls/browseui/tests browseui_test
17100 wine_fn_config_dll cabinet enable_cabinet implib
17101 wine_fn_config_test dlls/cabinet/tests cabinet_test
17102 wine_fn_config_dll capi2032 enable_capi2032 implib
17103 wine_fn_config_dll cards enable_cards implib
17104 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17105 wine_fn_config_dll clusapi enable_clusapi implib
17106 wine_fn_config_dll combase enable_combase
17107 wine_fn_config_test dlls/combase/tests combase_test
17108 wine_fn_config_dll comcat enable_comcat
17109 wine_fn_config_test dlls/comcat/tests comcat_test
17110 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17111 wine_fn_config_test dlls/comctl32/tests comctl32_test
17112 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17113 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17114 wine_fn_config_dll comm.drv16 enable_win16
17115 wine_fn_config_dll commdlg.dll16 enable_win16
17116 wine_fn_config_dll compobj.dll16 enable_win16
17117 wine_fn_config_dll compstui enable_compstui implib
17118 wine_fn_config_dll comsvcs enable_comsvcs implib
17119 wine_fn_config_dll connect enable_connect
17120 wine_fn_config_dll credui enable_credui implib,po
17121 wine_fn_config_test dlls/credui/tests credui_test
17122 wine_fn_config_dll crtdll enable_crtdll implib
17123 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17124 wine_fn_config_test dlls/crypt32/tests crypt32_test
17125 wine_fn_config_dll cryptdlg enable_cryptdlg po
17126 wine_fn_config_dll cryptdll enable_cryptdll implib
17127 wine_fn_config_dll cryptext enable_cryptext
17128 wine_fn_config_dll cryptnet enable_cryptnet implib
17129 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17130 wine_fn_config_dll cryptui enable_cryptui implib,po
17131 wine_fn_config_test dlls/cryptui/tests cryptui_test
17132 wine_fn_config_dll ctapi32 enable_ctapi32
17133 wine_fn_config_dll ctl3d.dll16 enable_win16
17134 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17135 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17136 wine_fn_config_dll d2d1 enable_d2d1 implib
17137 wine_fn_config_test dlls/d2d1/tests d2d1_test
17138 wine_fn_config_dll d3d10 enable_d3d10 implib
17139 wine_fn_config_test dlls/d3d10/tests d3d10_test
17140 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17141 wine_fn_config_dll d3d10core enable_d3d10core implib
17142 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17143 wine_fn_config_dll d3d11 enable_d3d11
17144 wine_fn_config_dll d3d8 enable_d3d8 implib
17145 wine_fn_config_test dlls/d3d8/tests d3d8_test
17146 wine_fn_config_dll d3d9 enable_d3d9 implib
17147 wine_fn_config_test dlls/d3d9/tests d3d9_test
17148 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17149 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17150 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17151 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17152 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17153 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17154 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17155 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17156 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17157 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17158 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17159 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17160 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17161 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17162 wine_fn_config_dll d3dim enable_d3dim implib
17163 wine_fn_config_dll d3drm enable_d3drm implib
17164 wine_fn_config_test dlls/d3drm/tests d3drm_test
17165 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17166 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17167 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17168 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17169 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17170 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17171 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17172 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17173 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17174 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17175 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17176 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17177 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17178 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17179 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17180 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17181 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17182 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17183 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17184 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17185 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17186 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17187 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17188 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17189 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17190 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17191 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17192 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17193 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17194 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17195 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17196 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17197 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17198 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17199 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17200 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17201 wine_fn_config_dll davclnt enable_davclnt
17202 wine_fn_config_dll dbgeng enable_dbgeng implib
17203 wine_fn_config_dll dbghelp enable_dbghelp implib
17204 wine_fn_config_dll dciman32 enable_dciman32 implib
17205 wine_fn_config_dll ddeml.dll16 enable_win16
17206 wine_fn_config_dll ddraw enable_ddraw clean,implib
17207 wine_fn_config_test dlls/ddraw/tests ddraw_test
17208 wine_fn_config_dll ddrawex enable_ddrawex clean
17209 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17210 wine_fn_config_dll devenum enable_devenum clean,po
17211 wine_fn_config_test dlls/devenum/tests devenum_test
17212 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17213 wine_fn_config_dll difxapi enable_difxapi
17214 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17215 wine_fn_config_test dlls/dinput/tests dinput_test
17216 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17217 wine_fn_config_test dlls/dinput8/tests dinput8_test
17218 wine_fn_config_dll dispdib.dll16 enable_win16
17219 wine_fn_config_dll dispex enable_dispex clean
17220 wine_fn_config_test dlls/dispex/tests dispex_test
17221 wine_fn_config_dll display.drv16 enable_win16
17222 wine_fn_config_dll dmband enable_dmband clean
17223 wine_fn_config_test dlls/dmband/tests dmband_test
17224 wine_fn_config_dll dmcompos enable_dmcompos clean
17225 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17226 wine_fn_config_dll dmime enable_dmime clean
17227 wine_fn_config_test dlls/dmime/tests dmime_test
17228 wine_fn_config_dll dmloader enable_dmloader clean
17229 wine_fn_config_test dlls/dmloader/tests dmloader_test
17230 wine_fn_config_dll dmscript enable_dmscript clean
17231 wine_fn_config_test dlls/dmscript/tests dmscript_test
17232 wine_fn_config_dll dmstyle enable_dmstyle clean
17233 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17234 wine_fn_config_dll dmsynth enable_dmsynth clean
17235 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17236 wine_fn_config_dll dmusic enable_dmusic clean
17237 wine_fn_config_test dlls/dmusic/tests dmusic_test
17238 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17239 wine_fn_config_dll dnsapi enable_dnsapi implib
17240 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17241 wine_fn_config_dll dplay enable_dplay implib
17242 wine_fn_config_dll dplayx enable_dplayx clean,implib
17243 wine_fn_config_test dlls/dplayx/tests dplayx_test
17244 wine_fn_config_dll dpnaddr enable_dpnaddr
17245 wine_fn_config_dll dpnet enable_dpnet clean,implib
17246 wine_fn_config_test dlls/dpnet/tests dpnet_test
17247 wine_fn_config_dll dpnhpast enable_dpnhpast
17248 wine_fn_config_dll dpnlobby enable_dpnlobby
17249 wine_fn_config_dll dpvoice enable_dpvoice clean
17250 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17251 wine_fn_config_dll dpwsockx enable_dpwsockx
17252 wine_fn_config_dll drmclien enable_drmclien
17253 wine_fn_config_dll dsound enable_dsound clean,implib
17254 wine_fn_config_test dlls/dsound/tests dsound_test
17255 wine_fn_config_dll dssenh enable_dssenh
17256 wine_fn_config_test dlls/dssenh/tests dssenh_test
17257 wine_fn_config_dll dswave enable_dswave clean
17258 wine_fn_config_test dlls/dswave/tests dswave_test
17259 wine_fn_config_dll dwmapi enable_dwmapi implib
17260 wine_fn_config_dll dwrite enable_dwrite implib
17261 wine_fn_config_test dlls/dwrite/tests dwrite_test
17262 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17263 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17264 wine_fn_config_lib dxerr8
17265 wine_fn_config_lib dxerr9
17266 wine_fn_config_dll dxgi enable_dxgi implib
17267 wine_fn_config_test dlls/dxgi/tests dxgi_test
17268 wine_fn_config_lib dxguid
17269 wine_fn_config_dll dxva2 enable_dxva2
17270 wine_fn_config_dll evr enable_evr
17271 wine_fn_config_dll explorerframe enable_explorerframe clean
17272 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17273 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17274 wine_fn_config_dll faultrep enable_faultrep implib
17275 wine_fn_config_test dlls/faultrep/tests faultrep_test
17276 wine_fn_config_dll fltlib enable_fltlib
17277 wine_fn_config_dll fntcache enable_fntcache
17278 wine_fn_config_dll fontsub enable_fontsub
17279 wine_fn_config_dll fusion enable_fusion
17280 wine_fn_config_test dlls/fusion/tests fusion_test
17281 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17282 wine_fn_config_dll gameux enable_gameux clean
17283 wine_fn_config_test dlls/gameux/tests gameux_test
17284 wine_fn_config_dll gdi.exe16 enable_win16
17285 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17286 wine_fn_config_test dlls/gdi32/tests gdi32_test
17287 wine_fn_config_dll gdiplus enable_gdiplus implib
17288 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17289 wine_fn_config_dll glu32 enable_glu32 implib
17290 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17291 wine_fn_config_dll gpkcsp enable_gpkcsp
17292 wine_fn_config_dll hal enable_hal
17293 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17294 wine_fn_config_dll hid enable_hid implib
17295 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17296 wine_fn_config_dll hlink enable_hlink clean,implib
17297 wine_fn_config_test dlls/hlink/tests hlink_test
17298 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17299 wine_fn_config_dll httpapi enable_httpapi
17300 wine_fn_config_dll iccvid enable_iccvid po
17301 wine_fn_config_dll icmp enable_icmp
17302 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17303 wine_fn_config_test dlls/ieframe/tests ieframe_test
17304 wine_fn_config_dll ifsmgr.vxd enable_win16
17305 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17306 wine_fn_config_dll imagehlp enable_imagehlp implib
17307 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17308 wine_fn_config_dll imm.dll16 enable_win16
17309 wine_fn_config_dll imm32 enable_imm32 implib
17310 wine_fn_config_test dlls/imm32/tests imm32_test
17311 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17312 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17313 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17314 wine_fn_config_dll inetmib1 enable_inetmib1
17315 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17316 wine_fn_config_dll infosoft enable_infosoft clean
17317 wine_fn_config_test dlls/infosoft/tests infosoft_test
17318 wine_fn_config_dll initpki enable_initpki
17319 wine_fn_config_dll inkobj enable_inkobj
17320 wine_fn_config_dll inseng enable_inseng clean
17321 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17322 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17323 wine_fn_config_dll itircl enable_itircl
17324 wine_fn_config_dll itss enable_itss clean
17325 wine_fn_config_test dlls/itss/tests itss_test
17326 wine_fn_config_dll joy.cpl enable_joy_cpl po
17327 wine_fn_config_dll jscript enable_jscript clean,po
17328 wine_fn_config_test dlls/jscript/tests jscript_test
17329 wine_fn_config_dll jsproxy enable_jsproxy implib
17330 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17331 wine_fn_config_test dlls/kernel32/tests kernel32_test
17332 wine_fn_config_dll keyboard.drv16 enable_win16
17333 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17334 wine_fn_config_dll ksuser enable_ksuser
17335 wine_fn_config_dll ktmw32 enable_ktmw32
17336 wine_fn_config_dll loadperf enable_loadperf implib
17337 wine_fn_config_dll localspl enable_localspl po
17338 wine_fn_config_test dlls/localspl/tests localspl_test
17339 wine_fn_config_dll localui enable_localui po
17340 wine_fn_config_test dlls/localui/tests localui_test
17341 wine_fn_config_dll lz32 enable_lz32 implib
17342 wine_fn_config_test dlls/lz32/tests lz32_test
17343 wine_fn_config_dll lzexpand.dll16 enable_win16
17344 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17345 wine_fn_config_test dlls/mapi32/tests mapi32_test
17346 wine_fn_config_dll mapistub enable_mapistub
17347 wine_fn_config_dll mciavi32 enable_mciavi32
17348 wine_fn_config_dll mcicda enable_mcicda
17349 wine_fn_config_dll mciqtz32 enable_mciqtz32
17350 wine_fn_config_dll mciseq enable_mciseq
17351 wine_fn_config_dll mciwave enable_mciwave
17352 wine_fn_config_dll mf enable_mf
17353 wine_fn_config_dll mfplat enable_mfplat
17354 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17355 wine_fn_config_dll mgmtapi enable_mgmtapi
17356 wine_fn_config_dll midimap enable_midimap
17357 wine_fn_config_dll mlang enable_mlang clean,implib
17358 wine_fn_config_test dlls/mlang/tests mlang_test
17359 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17360 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17361 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17362 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17363 wine_fn_config_dll mmdevldr.vxd enable_win16
17364 wine_fn_config_dll mmsystem.dll16 enable_win16
17365 wine_fn_config_dll monodebg.vxd enable_win16
17366 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17367 wine_fn_config_dll mouse.drv16 enable_win16
17368 wine_fn_config_dll mpr enable_mpr implib,po
17369 wine_fn_config_test dlls/mpr/tests mpr_test
17370 wine_fn_config_dll mprapi enable_mprapi implib
17371 wine_fn_config_dll msacm.dll16 enable_win16
17372 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17373 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17374 wine_fn_config_test dlls/msacm32/tests msacm32_test
17375 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17376 wine_fn_config_dll msasn1 enable_msasn1 implib
17377 wine_fn_config_dll mscat32 enable_mscat32
17378 wine_fn_config_dll mscms enable_mscms implib
17379 wine_fn_config_test dlls/mscms/tests mscms_test
17380 wine_fn_config_dll mscoree enable_mscoree clean
17381 wine_fn_config_test dlls/mscoree/tests mscoree_test
17382 wine_fn_config_dll msctf enable_msctf clean
17383 wine_fn_config_test dlls/msctf/tests msctf_test
17384 wine_fn_config_dll msctfp enable_msctfp clean
17385 wine_fn_config_dll msdaps enable_msdaps clean
17386 wine_fn_config_dll msdmo enable_msdmo implib
17387 wine_fn_config_test dlls/msdmo/tests msdmo_test
17388 wine_fn_config_dll msftedit enable_msftedit
17389 wine_fn_config_dll msg711.acm enable_msg711_acm
17390 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17391 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17392 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17393 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17394 wine_fn_config_dll msi enable_msi clean,implib,po
17395 wine_fn_config_test dlls/msi/tests msi_test
17396 wine_fn_config_dll msident enable_msident clean
17397 wine_fn_config_dll msimg32 enable_msimg32 implib
17398 wine_fn_config_dll msimsg enable_msimsg
17399 wine_fn_config_dll msimtf enable_msimtf clean
17400 wine_fn_config_dll msisip enable_msisip
17401 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17402 wine_fn_config_dll msls31 enable_msls31
17403 wine_fn_config_dll msnet32 enable_msnet32
17404 wine_fn_config_dll mspatcha enable_mspatcha implib
17405 wine_fn_config_dll msrle32 enable_msrle32 po
17406 wine_fn_config_test dlls/msrle32/tests msrle32_test
17407 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17408 wine_fn_config_dll mssign32 enable_mssign32
17409 wine_fn_config_dll mssip32 enable_mssip32
17410 wine_fn_config_dll mstask enable_mstask clean
17411 wine_fn_config_test dlls/mstask/tests mstask_test
17412 wine_fn_config_dll msvcirt enable_msvcirt
17413 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17414 wine_fn_config_dll msvcm80 enable_msvcm80
17415 wine_fn_config_dll msvcm90 enable_msvcm90
17416 wine_fn_config_dll msvcp100 enable_msvcp100
17417 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17418 wine_fn_config_dll msvcp110 enable_msvcp110
17419 wine_fn_config_dll msvcp120 enable_msvcp120
17420 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17421 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17422 wine_fn_config_dll msvcp60 enable_msvcp60
17423 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17424 wine_fn_config_dll msvcp70 enable_msvcp70
17425 wine_fn_config_dll msvcp71 enable_msvcp71
17426 wine_fn_config_dll msvcp80 enable_msvcp80
17427 wine_fn_config_dll msvcp90 enable_msvcp90
17428 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17429 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17430 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17431 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17432 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17433 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17434 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17435 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17436 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17437 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17438 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17439 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17440 wine_fn_config_dll msvcrt enable_msvcrt implib
17441 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17442 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17443 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17444 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17445 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17446 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17447 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17448 wine_fn_config_dll msvidc32 enable_msvidc32 po
17449 wine_fn_config_dll msvideo.dll16 enable_win16
17450 wine_fn_config_dll mswsock enable_mswsock implib
17451 wine_fn_config_dll msxml enable_msxml clean
17452 wine_fn_config_dll msxml2 enable_msxml2 clean
17453 wine_fn_config_dll msxml3 enable_msxml3 clean
17454 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17455 wine_fn_config_dll msxml4 enable_msxml4 clean
17456 wine_fn_config_dll msxml6 enable_msxml6 clean
17457 wine_fn_config_dll nddeapi enable_nddeapi implib
17458 wine_fn_config_dll ndis.sys enable_ndis_sys
17459 wine_fn_config_dll netapi32 enable_netapi32 implib
17460 wine_fn_config_test dlls/netapi32/tests netapi32_test
17461 wine_fn_config_dll netcfgx enable_netcfgx clean
17462 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17463 wine_fn_config_dll netprofm enable_netprofm clean
17464 wine_fn_config_test dlls/netprofm/tests netprofm_test
17465 wine_fn_config_dll newdev enable_newdev implib
17466 wine_fn_config_dll normaliz enable_normaliz implib
17467 wine_fn_config_dll npmshtml enable_npmshtml
17468 wine_fn_config_dll npptools enable_npptools
17469 wine_fn_config_dll ntdll enable_ntdll implib
17470 wine_fn_config_test dlls/ntdll/tests ntdll_test
17471 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17472 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17473 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17474 wine_fn_config_dll ntprint enable_ntprint
17475 wine_fn_config_test dlls/ntprint/tests ntprint_test
17476 wine_fn_config_dll objsel enable_objsel clean
17477 wine_fn_config_dll odbc32 enable_odbc32 implib
17478 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17479 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17480 wine_fn_config_dll odbccu32 enable_odbccu32
17481 wine_fn_config_dll ole2.dll16 enable_win16
17482 wine_fn_config_dll ole2conv.dll16 enable_win16
17483 wine_fn_config_dll ole2disp.dll16 enable_win16
17484 wine_fn_config_dll ole2nls.dll16 enable_win16
17485 wine_fn_config_dll ole2prox.dll16 enable_win16
17486 wine_fn_config_dll ole2thk.dll16 enable_win16
17487 wine_fn_config_dll ole32 enable_ole32 clean,implib
17488 wine_fn_config_test dlls/ole32/tests ole32_test
17489 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17490 wine_fn_config_test dlls/oleacc/tests oleacc_test
17491 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17492 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17493 wine_fn_config_dll olecli.dll16 enable_win16
17494 wine_fn_config_dll olecli32 enable_olecli32 implib
17495 wine_fn_config_dll oledb32 enable_oledb32 clean
17496 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17497 wine_fn_config_dll oledlg enable_oledlg implib,po
17498 wine_fn_config_test dlls/oledlg/tests oledlg_test
17499 wine_fn_config_dll olepro32 enable_olepro32 implib
17500 wine_fn_config_dll olesvr.dll16 enable_win16
17501 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17502 wine_fn_config_dll olethk32 enable_olethk32
17503 wine_fn_config_dll openal32 enable_openal32
17504 wine_fn_config_dll opencl enable_opencl
17505 wine_fn_config_dll opengl32 enable_opengl32 implib
17506 wine_fn_config_test dlls/opengl32/tests opengl32_test
17507 wine_fn_config_dll packager enable_packager clean
17508 wine_fn_config_test dlls/packager/tests packager_test
17509 wine_fn_config_dll pdh enable_pdh implib
17510 wine_fn_config_test dlls/pdh/tests pdh_test
17511 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17512 wine_fn_config_dll pidgen enable_pidgen
17513 wine_fn_config_dll powrprof enable_powrprof implib
17514 wine_fn_config_dll printui enable_printui
17515 wine_fn_config_dll prntvpt enable_prntvpt
17516 wine_fn_config_dll propsys enable_propsys clean,implib
17517 wine_fn_config_test dlls/propsys/tests propsys_test
17518 wine_fn_config_dll psapi enable_psapi implib
17519 wine_fn_config_test dlls/psapi/tests psapi_test
17520 wine_fn_config_dll pstorec enable_pstorec clean
17521 wine_fn_config_dll qcap enable_qcap
17522 wine_fn_config_test dlls/qcap/tests qcap_test
17523 wine_fn_config_dll qedit enable_qedit clean
17524 wine_fn_config_test dlls/qedit/tests qedit_test
17525 wine_fn_config_dll qmgr enable_qmgr clean
17526 wine_fn_config_test dlls/qmgr/tests qmgr_test
17527 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17528 wine_fn_config_dll quartz enable_quartz clean,implib
17529 wine_fn_config_test dlls/quartz/tests quartz_test clean
17530 wine_fn_config_dll query enable_query
17531 wine_fn_config_dll rasapi16.dll16 enable_win16
17532 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17533 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17534 wine_fn_config_dll rasdlg enable_rasdlg implib
17535 wine_fn_config_dll regapi enable_regapi
17536 wine_fn_config_dll resutils enable_resutils implib
17537 wine_fn_config_dll riched20 enable_riched20 clean,implib
17538 wine_fn_config_test dlls/riched20/tests riched20_test
17539 wine_fn_config_dll riched32 enable_riched32
17540 wine_fn_config_test dlls/riched32/tests riched32_test
17541 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17542 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17543 wine_fn_config_dll rsabase enable_rsabase
17544 wine_fn_config_dll rsaenh enable_rsaenh implib
17545 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17546 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17547 wine_fn_config_dll rtutils enable_rtutils implib
17548 wine_fn_config_dll samlib enable_samlib
17549 wine_fn_config_dll sane.ds enable_sane_ds po
17550 wine_fn_config_dll scarddlg enable_scarddlg
17551 wine_fn_config_dll sccbase enable_sccbase
17552 wine_fn_config_dll schannel enable_schannel
17553 wine_fn_config_test dlls/schannel/tests schannel_test
17554 wine_fn_config_dll schedsvc enable_schedsvc clean
17555 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17556 wine_fn_config_dll scrrun enable_scrrun clean
17557 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17558 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17559 wine_fn_config_dll secur32 enable_secur32 implib
17560 wine_fn_config_test dlls/secur32/tests secur32_test
17561 wine_fn_config_dll security enable_security
17562 wine_fn_config_dll sensapi enable_sensapi implib
17563 wine_fn_config_dll serialui enable_serialui implib,po
17564 wine_fn_config_test dlls/serialui/tests serialui_test
17565 wine_fn_config_dll setupapi enable_setupapi implib,po
17566 wine_fn_config_test dlls/setupapi/tests setupapi_test
17567 wine_fn_config_dll setupx.dll16 enable_win16
17568 wine_fn_config_dll sfc enable_sfc implib
17569 wine_fn_config_dll sfc_os enable_sfc_os implib
17570 wine_fn_config_dll shdoclc enable_shdoclc po
17571 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17572 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17573 wine_fn_config_dll shell.dll16 enable_win16
17574 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17575 wine_fn_config_test dlls/shell32/tests shell32_test
17576 wine_fn_config_dll shfolder enable_shfolder implib
17577 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17578 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17579 wine_fn_config_dll slbcsp enable_slbcsp
17580 wine_fn_config_dll slc enable_slc implib
17581 wine_fn_config_test dlls/slc/tests slc_test
17582 wine_fn_config_dll snmpapi enable_snmpapi implib
17583 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17584 wine_fn_config_dll softpub enable_softpub
17585 wine_fn_config_dll sound.drv16 enable_win16
17586 wine_fn_config_dll spoolss enable_spoolss implib
17587 wine_fn_config_test dlls/spoolss/tests spoolss_test
17588 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17589 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17590 wine_fn_config_dll sti enable_sti clean,implib
17591 wine_fn_config_test dlls/sti/tests sti_test
17592 wine_fn_config_dll storage.dll16 enable_win16
17593 wine_fn_config_dll stress.dll16 enable_win16
17594 wine_fn_config_lib strmbase
17595 wine_fn_config_lib strmiids
17596 wine_fn_config_dll svrapi enable_svrapi
17597 wine_fn_config_dll sxs enable_sxs implib
17598 wine_fn_config_test dlls/sxs/tests sxs_test
17599 wine_fn_config_dll system.drv16 enable_win16
17600 wine_fn_config_dll t2embed enable_t2embed
17601 wine_fn_config_dll tapi32 enable_tapi32 implib
17602 wine_fn_config_dll taskschd enable_taskschd clean
17603 wine_fn_config_test dlls/taskschd/tests taskschd_test
17604 wine_fn_config_dll toolhelp.dll16 enable_win16
17605 wine_fn_config_dll traffic enable_traffic
17606 wine_fn_config_dll twain.dll16 enable_win16
17607 wine_fn_config_dll twain_32 enable_twain_32
17608 wine_fn_config_test dlls/twain_32/tests twain_32_test
17609 wine_fn_config_dll typelib.dll16 enable_win16
17610 wine_fn_config_dll unicows enable_unicows implib
17611 wine_fn_config_dll updspapi enable_updspapi
17612 wine_fn_config_dll url enable_url implib
17613 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17614 wine_fn_config_test dlls/urlmon/tests urlmon_test
17615 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17616 wine_fn_config_dll user.exe16 enable_win16
17617 wine_fn_config_dll user32 enable_user32 clean,implib,po
17618 wine_fn_config_test dlls/user32/tests user32_test
17619 wine_fn_config_dll userenv enable_userenv implib
17620 wine_fn_config_test dlls/userenv/tests userenv_test
17621 wine_fn_config_dll usp10 enable_usp10 implib
17622 wine_fn_config_test dlls/usp10/tests usp10_test
17623 wine_fn_config_lib uuid
17624 wine_fn_config_dll uxtheme enable_uxtheme implib
17625 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17626 wine_fn_config_dll vbscript enable_vbscript clean
17627 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17628 wine_fn_config_dll vcomp enable_vcomp
17629 wine_fn_config_dll vcomp100 enable_vcomp100
17630 wine_fn_config_dll vcomp90 enable_vcomp90
17631 wine_fn_config_dll vdhcp.vxd enable_win16
17632 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17633 wine_fn_config_dll ver.dll16 enable_win16
17634 wine_fn_config_dll version enable_version implib
17635 wine_fn_config_test dlls/version/tests version_test
17636 wine_fn_config_dll vmm.vxd enable_win16
17637 wine_fn_config_dll vnbt.vxd enable_win16
17638 wine_fn_config_dll vnetbios.vxd enable_win16
17639 wine_fn_config_dll vssapi enable_vssapi
17640 wine_fn_config_dll vtdapi.vxd enable_win16
17641 wine_fn_config_dll vwin32.vxd enable_win16
17642 wine_fn_config_dll w32skrnl enable_win16
17643 wine_fn_config_dll w32sys.dll16 enable_win16
17644 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17645 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17646 wine_fn_config_dll wbemprox enable_wbemprox clean
17647 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17648 wine_fn_config_dll webservices enable_webservices implib
17649 wine_fn_config_dll wer enable_wer implib
17650 wine_fn_config_test dlls/wer/tests wer_test
17651 wine_fn_config_dll wevtapi enable_wevtapi
17652 wine_fn_config_dll wiaservc enable_wiaservc clean
17653 wine_fn_config_dll win32s16.dll16 enable_win16
17654 wine_fn_config_dll win87em.dll16 enable_win16
17655 wine_fn_config_dll winaspi.dll16 enable_win16
17656 wine_fn_config_dll windebug.dll16 enable_win16
17657 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17658 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17659 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17660 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17661 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17662 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17663 wine_fn_config_lib winecrt0
17664 wine_fn_config_dll wined3d enable_wined3d implib
17665 wine_fn_config_dll winegstreamer enable_winegstreamer
17666 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17667 wine_fn_config_dll winemac.drv enable_winemac_drv
17668 wine_fn_config_dll winemapi enable_winemapi
17669 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17670 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17671 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17672 wine_fn_config_dll wineps16.drv16 enable_win16
17673 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17674 wine_fn_config_dll winex11.drv enable_winex11_drv
17675 wine_fn_config_dll wing.dll16 enable_win16
17676 wine_fn_config_dll wing32 enable_wing32
17677 wine_fn_config_dll winhttp enable_winhttp clean,implib
17678 wine_fn_config_test dlls/winhttp/tests winhttp_test
17679 wine_fn_config_dll wininet enable_wininet implib,po
17680 wine_fn_config_test dlls/wininet/tests wininet_test
17681 wine_fn_config_dll winmm enable_winmm implib,po
17682 wine_fn_config_test dlls/winmm/tests winmm_test
17683 wine_fn_config_dll winnls.dll16 enable_win16
17684 wine_fn_config_dll winnls32 enable_winnls32 implib
17685 wine_fn_config_dll winscard enable_winscard implib
17686 wine_fn_config_dll winsock.dll16 enable_win16
17687 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17688 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17689 wine_fn_config_dll winsta enable_winsta
17690 wine_fn_config_dll wintab.dll16 enable_win16
17691 wine_fn_config_dll wintab32 enable_wintab32 implib
17692 wine_fn_config_test dlls/wintab32/tests wintab32_test
17693 wine_fn_config_dll wintrust enable_wintrust implib
17694 wine_fn_config_test dlls/wintrust/tests wintrust_test
17695 wine_fn_config_dll wlanapi enable_wlanapi
17696 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17697 wine_fn_config_test dlls/wldap32/tests wldap32_test
17698 wine_fn_config_dll wmi enable_wmi
17699 wine_fn_config_dll wmiutils enable_wmiutils clean
17700 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17701 wine_fn_config_dll wmp enable_wmp clean
17702 wine_fn_config_test dlls/wmp/tests wmp_test
17703 wine_fn_config_dll wmvcore enable_wmvcore
17704 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17705 wine_fn_config_dll wow32 enable_win16 implib
17706 wine_fn_config_dll wpcap enable_wpcap
17707 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17708 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17709 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17710 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17711 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17712 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17713 wine_fn_config_dll wsock32 enable_wsock32 implib
17714 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17715 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17716 wine_fn_config_dll wuapi enable_wuapi clean
17717 wine_fn_config_dll wuaueng enable_wuaueng
17718 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17719 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17720 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17721 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17722 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17723 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17724 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17725 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17726 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17727 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17728 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17729 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17730 wine_fn_config_dll xinput1_1 enable_xinput1_1
17731 wine_fn_config_dll xinput1_2 enable_xinput1_2
17732 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17733 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17734 wine_fn_config_dll xinput1_4 enable_xinput1_4
17735 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17736 wine_fn_config_dll xmllite enable_xmllite implib
17737 wine_fn_config_test dlls/xmllite/tests xmllite_test
17738 wine_fn_config_dll xolehlp enable_xolehlp
17739 wine_fn_config_dll xpsprint enable_xpsprint
17740 wine_fn_config_dll xpssvcs enable_xpssvcs
17741 wine_fn_config_makefile documentation enable_documentation clean
17742 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17743 wine_fn_config_makefile include enable_include clean,install-dev
17744 wine_fn_config_makefile libs/port enable_libs_port
17745 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17746 wine_fn_config_makefile libs/wpp enable_libs_wpp
17747 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17748 wine_fn_config_program arp enable_arp install
17749 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17750 wine_fn_config_program attrib enable_attrib install,po
17751 wine_fn_config_program cabarc enable_cabarc install
17752 wine_fn_config_program cacls enable_cacls install
17753 wine_fn_config_program clock enable_clock install,po
17754 wine_fn_config_program cmd enable_cmd install,po
17755 wine_fn_config_test programs/cmd/tests cmd.exe_test
17756 wine_fn_config_program conhost enable_conhost install
17757 wine_fn_config_program control enable_control install
17758 wine_fn_config_program cscript enable_cscript clean,install
17759 wine_fn_config_program dpnsvr enable_dpnsvr install
17760 wine_fn_config_program dxdiag enable_dxdiag install,po
17761 wine_fn_config_program eject enable_eject install
17762 wine_fn_config_program expand enable_expand install
17763 wine_fn_config_program explorer enable_explorer install,po
17764 wine_fn_config_program extrac32 enable_extrac32 install
17765 wine_fn_config_program findstr enable_findstr install
17766 wine_fn_config_program hh enable_hh install
17767 wine_fn_config_program hostname enable_hostname install,po
17768 wine_fn_config_program icinfo enable_icinfo install
17769 wine_fn_config_program iexplore enable_iexplore install
17770 wine_fn_config_program ipconfig enable_ipconfig install,po
17771 wine_fn_config_program lodctr enable_lodctr install
17772 wine_fn_config_program mofcomp enable_mofcomp install
17773 wine_fn_config_program mshta enable_mshta install
17774 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17775 wine_fn_config_program net enable_net install,po
17776 wine_fn_config_program netsh enable_netsh install
17777 wine_fn_config_program netstat enable_netstat install,po
17778 wine_fn_config_program ngen enable_ngen install
17779 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17780 wine_fn_config_program oleview enable_oleview install,po
17781 wine_fn_config_program ping enable_ping install
17782 wine_fn_config_program plugplay enable_plugplay install
17783 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17784 wine_fn_config_program progman enable_progman install,po
17785 wine_fn_config_program reg enable_reg install,po
17786 wine_fn_config_test programs/reg/tests reg.exe_test
17787 wine_fn_config_program regasm enable_regasm install
17788 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17789 wine_fn_config_test programs/regedit/tests regedit.exe_test
17790 wine_fn_config_program regsvcs enable_regsvcs install
17791 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17792 wine_fn_config_program rpcss enable_rpcss clean,install
17793 wine_fn_config_program rundll.exe16 enable_win16 install
17794 wine_fn_config_program rundll32 enable_rundll32 install
17795 wine_fn_config_program sc enable_sc install
17796 wine_fn_config_program schtasks enable_schtasks install
17797 wine_fn_config_program sdbinst enable_sdbinst install
17798 wine_fn_config_program secedit enable_secedit install
17799 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17800 wine_fn_config_program services enable_services clean,install
17801 wine_fn_config_test programs/services/tests services.exe_test
17802 wine_fn_config_program spoolsv enable_spoolsv install
17803 wine_fn_config_program start enable_start install,po
17804 wine_fn_config_program svchost enable_svchost install
17805 wine_fn_config_program systeminfo enable_systeminfo install
17806 wine_fn_config_program taskkill enable_taskkill install,po
17807 wine_fn_config_program tasklist enable_tasklist install
17808 wine_fn_config_program taskmgr enable_taskmgr install,po
17809 wine_fn_config_program termsv enable_termsv install
17810 wine_fn_config_program uninstaller enable_uninstaller install,po
17811 wine_fn_config_program unlodctr enable_unlodctr install
17812 wine_fn_config_program view enable_view install,po
17813 wine_fn_config_program wevtutil enable_wevtutil install
17814 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17815 wine_fn_config_program winebrowser enable_winebrowser install
17816 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17817 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17818 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17819 wine_fn_config_program winedevice enable_winedevice install
17820 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17821 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17822 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17823 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17824 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17825 wine_fn_config_program winetest enable_winetest clean
17826 wine_fn_config_program winevdm enable_win16 install
17827 wine_fn_config_program winhelp.exe16 enable_win16 install
17828 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17829 wine_fn_config_program winoldap.mod16 enable_win16 install
17830 wine_fn_config_program winver enable_winver install
17831 wine_fn_config_program wmic enable_wmic install,po
17832 wine_fn_config_program wordpad enable_wordpad install,po
17833 wine_fn_config_program write enable_write install,po
17834 wine_fn_config_program wscript enable_wscript clean,install
17835 wine_fn_config_test programs/wscript/tests wscript.exe_test
17836 wine_fn_config_program wusa enable_wusa install
17837 wine_fn_config_program xcopy enable_xcopy install,po
17838 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17839 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17840 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17841 wine_fn_config_tool tools/sfnt2fon clean
17842 wine_fn_config_tool tools/widl clean,install-dev,manpage
17843 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17844 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17845 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17846 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17847 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17849 LINGUAS="\
17850 ar \
17851 bg \
17852 ca \
17853 cs \
17854 da \
17855 de \
17856 el \
17857 en \
17858 en_US \
17859 eo \
17860 es \
17861 fa \
17862 fi \
17863 fr \
17864 he \
17865 hi \
17866 hr \
17867 hu \
17868 it \
17869 ja \
17870 ko \
17871 lt \
17872 ml \
17873 nb_NO \
17874 nl \
17875 or \
17876 pa \
17877 pl \
17878 pt_BR \
17879 pt_PT \
17880 rm \
17881 ro \
17882 ru \
17883 sk \
17884 sl \
17885 sr_RS@cyrillic \
17886 sr_RS@latin \
17887 sv \
17888 te \
17889 th \
17890 tr \
17891 uk \
17892 wa \
17893 zh_CN \
17894 zh_TW"
17899 wine_fn_ignore_file ".gitignore"
17900 wine_fn_ignore_file "Makefile"
17901 wine_fn_ignore_file "TAGS"
17902 wine_fn_ignore_file "tags"
17903 wine_fn_ignore_file "autom4te.cache"
17904 wine_fn_ignore_file "config.cache"
17905 wine_fn_ignore_file "config.log"
17906 wine_fn_ignore_file "config.status"
17907 wine_fn_ignore_file "configure.lineno"
17908 wine_fn_ignore_file "include/config.h"
17909 wine_fn_ignore_file "include/stamp-h"
17910 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17912 if test "x$enable_tools" != xno
17913 then
17914 wine_fn_ignore_file "tools/makedep$ac_exeext"
17915 ac_config_commands="$ac_config_commands tools/makedep"
17919 ac_config_commands="$ac_config_commands Makefile"
17922 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17926 if test "x$enable_maintainer_mode" = xyes
17927 then
17928 wine_fn_append_rule "configure: configure.ac aclocal.m4
17929 autoconf --warnings=all
17930 include/config.h.in: include/stamp-h.in
17931 include/stamp-h.in: configure.ac aclocal.m4
17932 autoheader --warnings=all
17933 @echo timestamp > \$@"
17936 if test "x$with_gettextpo" = xyes
17937 then
17938 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17939 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17940 \$(LINGUAS:%=po/%.po): po/wine.pot
17941 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17942 po/wine.pot: \$(ALL_POT_FILES)
17943 msgcat -o \$@ \$(ALL_POT_FILES)"
17946 if test "$MSGFMT" != false
17947 then
17948 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17949 clean::
17950 \$(RM) \$(LINGUAS:%=po/%.mo)"
17952 posrc="po"
17953 test "$srcdir" = . || posrc="$srcdir/po"
17954 for i in $LINGUAS
17956 wine_fn_ignore_file "po/$i.mo"
17957 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17958 \$(MSGFMT) -o \$@ $posrc/$i.po"
17959 done
17960 else
17961 LINGUAS=
17964 if test "x$enable_tools" != xno
17965 then
17966 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17967 @./config.status tools/makedep
17968 Makefile: tools/makedep$ac_exeext
17969 distclean:: clean
17970 \$(RM) tools/makedep$ac_exeext"
17971 else
17972 wine_fn_append_rule "\$(MAKEDEP):
17973 @echo \"You need to run make in $TOOLSDIR first\" && false"
17976 if test -n "$with_wine64"
17977 then
17978 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17979 fonts server tools:
17980 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17981 $with_wine64/loader/wine:
17982 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17983 $with_wine64/loader/wine-preloader:
17984 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17985 clean::
17986 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17987 else
17988 as_fn_append LOADER_RULES "
17989 install install-lib:: wine.inf install-man-pages
17990 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17991 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17993 uninstall::
17994 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17998 if test "$srcdir" = .
17999 then
18000 ac_config_commands="$ac_config_commands .gitignore"
18004 $as_echo " done" >&6
18005 cat >confcache <<\_ACEOF
18006 # This file is a shell script that caches the results of configure
18007 # tests run on this system so they can be shared between configure
18008 # scripts and configure runs, see configure's option --config-cache.
18009 # It is not useful on other systems. If it contains results you don't
18010 # want to keep, you may remove or edit it.
18012 # config.status only pays attention to the cache file if you give it
18013 # the --recheck option to rerun configure.
18015 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18017 # following values.
18019 _ACEOF
18021 # The following way of writing the cache mishandles newlines in values,
18022 # but we know of no workaround that is simple, portable, and efficient.
18023 # So, we kill variables containing newlines.
18024 # Ultrix sh set writes to stderr and can't be redirected directly,
18025 # and sets the high bit in the cache file unless we assign to the vars.
18027 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18028 eval ac_val=\$$ac_var
18029 case $ac_val in #(
18030 *${as_nl}*)
18031 case $ac_var in #(
18032 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18033 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18034 esac
18035 case $ac_var in #(
18036 _ | IFS | as_nl) ;; #(
18037 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18038 *) { eval $ac_var=; unset $ac_var;} ;;
18039 esac ;;
18040 esac
18041 done
18043 (set) 2>&1 |
18044 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18045 *${as_nl}ac_space=\ *)
18046 # `set' does not quote correctly, so add quotes: double-quote
18047 # substitution turns \\\\ into \\, and sed turns \\ into \.
18048 sed -n \
18049 "s/'/'\\\\''/g;
18050 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18051 ;; #(
18053 # `set' quotes correctly as required by POSIX, so do not add quotes.
18054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18056 esac |
18057 sort
18059 sed '
18060 /^ac_cv_env_/b end
18061 t clear
18062 :clear
18063 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18064 t end
18065 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18066 :end' >>confcache
18067 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18068 if test -w "$cache_file"; then
18069 if test "x$cache_file" != "x/dev/null"; then
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18071 $as_echo "$as_me: updating cache $cache_file" >&6;}
18072 if test ! -f "$cache_file" || test -h "$cache_file"; then
18073 cat confcache >"$cache_file"
18074 else
18075 case $cache_file in #(
18076 */* | ?:*)
18077 mv -f confcache "$cache_file"$$ &&
18078 mv -f "$cache_file"$$ "$cache_file" ;; #(
18080 mv -f confcache "$cache_file" ;;
18081 esac
18084 else
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18086 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18089 rm -f confcache
18091 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18092 # Let make expand exec_prefix.
18093 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18095 DEFS=-DHAVE_CONFIG_H
18097 ac_libobjs=
18098 ac_ltlibobjs=
18100 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18101 # 1. Remove the extension, and $U if already installed.
18102 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18103 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18104 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18105 # will be set to the directory where LIBOBJS objects are built.
18106 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18107 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18108 done
18109 LIBOBJS=$ac_libobjs
18111 LTLIBOBJS=$ac_ltlibobjs
18115 : "${CONFIG_STATUS=./config.status}"
18116 ac_write_fail=0
18117 ac_clean_files_save=$ac_clean_files
18118 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18120 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18121 as_write_fail=0
18122 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18123 #! $SHELL
18124 # Generated by $as_me.
18125 # Run this file to recreate the current configuration.
18126 # Compiler output produced by configure, useful for debugging
18127 # configure, is in config.log if it exists.
18129 debug=false
18130 ac_cs_recheck=false
18131 ac_cs_silent=false
18133 SHELL=\${CONFIG_SHELL-$SHELL}
18134 export SHELL
18135 _ASEOF
18136 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18137 ## -------------------- ##
18138 ## M4sh Initialization. ##
18139 ## -------------------- ##
18141 # Be more Bourne compatible
18142 DUALCASE=1; export DUALCASE # for MKS sh
18143 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18144 emulate sh
18145 NULLCMD=:
18146 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18147 # is contrary to our usage. Disable this feature.
18148 alias -g '${1+"$@"}'='"$@"'
18149 setopt NO_GLOB_SUBST
18150 else
18151 case `(set -o) 2>/dev/null` in #(
18152 *posix*) :
18153 set -o posix ;; #(
18154 *) :
18156 esac
18160 as_nl='
18162 export as_nl
18163 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18164 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18165 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18166 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18167 # Prefer a ksh shell builtin over an external printf program on Solaris,
18168 # but without wasting forks for bash or zsh.
18169 if test -z "$BASH_VERSION$ZSH_VERSION" \
18170 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18171 as_echo='print -r --'
18172 as_echo_n='print -rn --'
18173 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18174 as_echo='printf %s\n'
18175 as_echo_n='printf %s'
18176 else
18177 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18178 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18179 as_echo_n='/usr/ucb/echo -n'
18180 else
18181 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18182 as_echo_n_body='eval
18183 arg=$1;
18184 case $arg in #(
18185 *"$as_nl"*)
18186 expr "X$arg" : "X\\(.*\\)$as_nl";
18187 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18188 esac;
18189 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18191 export as_echo_n_body
18192 as_echo_n='sh -c $as_echo_n_body as_echo'
18194 export as_echo_body
18195 as_echo='sh -c $as_echo_body as_echo'
18198 # The user is always right.
18199 if test "${PATH_SEPARATOR+set}" != set; then
18200 PATH_SEPARATOR=:
18201 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18202 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18203 PATH_SEPARATOR=';'
18208 # IFS
18209 # We need space, tab and new line, in precisely that order. Quoting is
18210 # there to prevent editors from complaining about space-tab.
18211 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18212 # splitting by setting IFS to empty value.)
18213 IFS=" "" $as_nl"
18215 # Find who we are. Look in the path if we contain no directory separator.
18216 as_myself=
18217 case $0 in #((
18218 *[\\/]* ) as_myself=$0 ;;
18219 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18220 for as_dir in $PATH
18222 IFS=$as_save_IFS
18223 test -z "$as_dir" && as_dir=.
18224 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18225 done
18226 IFS=$as_save_IFS
18229 esac
18230 # We did not find ourselves, most probably we were run as `sh COMMAND'
18231 # in which case we are not to be found in the path.
18232 if test "x$as_myself" = x; then
18233 as_myself=$0
18235 if test ! -f "$as_myself"; then
18236 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18237 exit 1
18240 # Unset variables that we do not need and which cause bugs (e.g. in
18241 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18242 # suppresses any "Segmentation fault" message there. '((' could
18243 # trigger a bug in pdksh 5.2.14.
18244 for as_var in BASH_ENV ENV MAIL MAILPATH
18245 do eval test x\${$as_var+set} = xset \
18246 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18247 done
18248 PS1='$ '
18249 PS2='> '
18250 PS4='+ '
18252 # NLS nuisances.
18253 LC_ALL=C
18254 export LC_ALL
18255 LANGUAGE=C
18256 export LANGUAGE
18258 # CDPATH.
18259 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18262 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18263 # ----------------------------------------
18264 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18265 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18266 # script with STATUS, using 1 if that was 0.
18267 as_fn_error ()
18269 as_status=$1; test $as_status -eq 0 && as_status=1
18270 if test "$4"; then
18271 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18272 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18274 $as_echo "$as_me: error: $2" >&2
18275 as_fn_exit $as_status
18276 } # as_fn_error
18279 # as_fn_set_status STATUS
18280 # -----------------------
18281 # Set $? to STATUS, without forking.
18282 as_fn_set_status ()
18284 return $1
18285 } # as_fn_set_status
18287 # as_fn_exit STATUS
18288 # -----------------
18289 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18290 as_fn_exit ()
18292 set +e
18293 as_fn_set_status $1
18294 exit $1
18295 } # as_fn_exit
18297 # as_fn_unset VAR
18298 # ---------------
18299 # Portably unset VAR.
18300 as_fn_unset ()
18302 { eval $1=; unset $1;}
18304 as_unset=as_fn_unset
18305 # as_fn_append VAR VALUE
18306 # ----------------------
18307 # Append the text in VALUE to the end of the definition contained in VAR. Take
18308 # advantage of any shell optimizations that allow amortized linear growth over
18309 # repeated appends, instead of the typical quadratic growth present in naive
18310 # implementations.
18311 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18312 eval 'as_fn_append ()
18314 eval $1+=\$2
18316 else
18317 as_fn_append ()
18319 eval $1=\$$1\$2
18321 fi # as_fn_append
18323 # as_fn_arith ARG...
18324 # ------------------
18325 # Perform arithmetic evaluation on the ARGs, and store the result in the
18326 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18327 # must be portable across $(()) and expr.
18328 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18329 eval 'as_fn_arith ()
18331 as_val=$(( $* ))
18333 else
18334 as_fn_arith ()
18336 as_val=`expr "$@" || test $? -eq 1`
18338 fi # as_fn_arith
18341 if expr a : '\(a\)' >/dev/null 2>&1 &&
18342 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18343 as_expr=expr
18344 else
18345 as_expr=false
18348 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18349 as_basename=basename
18350 else
18351 as_basename=false
18354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18355 as_dirname=dirname
18356 else
18357 as_dirname=false
18360 as_me=`$as_basename -- "$0" ||
18361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18362 X"$0" : 'X\(//\)$' \| \
18363 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18364 $as_echo X/"$0" |
18365 sed '/^.*\/\([^/][^/]*\)\/*$/{
18366 s//\1/
18369 /^X\/\(\/\/\)$/{
18370 s//\1/
18373 /^X\/\(\/\).*/{
18374 s//\1/
18377 s/.*/./; q'`
18379 # Avoid depending upon Character Ranges.
18380 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18381 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18382 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18383 as_cr_digits='0123456789'
18384 as_cr_alnum=$as_cr_Letters$as_cr_digits
18386 ECHO_C= ECHO_N= ECHO_T=
18387 case `echo -n x` in #(((((
18388 -n*)
18389 case `echo 'xy\c'` in
18390 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18391 xy) ECHO_C='\c';;
18392 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18393 ECHO_T=' ';;
18394 esac;;
18396 ECHO_N='-n';;
18397 esac
18399 rm -f conf$$ conf$$.exe conf$$.file
18400 if test -d conf$$.dir; then
18401 rm -f conf$$.dir/conf$$.file
18402 else
18403 rm -f conf$$.dir
18404 mkdir conf$$.dir 2>/dev/null
18406 if (echo >conf$$.file) 2>/dev/null; then
18407 if ln -s conf$$.file conf$$ 2>/dev/null; then
18408 as_ln_s='ln -s'
18409 # ... but there are two gotchas:
18410 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18411 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18412 # In both cases, we have to default to `cp -pR'.
18413 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18414 as_ln_s='cp -pR'
18415 elif ln conf$$.file conf$$ 2>/dev/null; then
18416 as_ln_s=ln
18417 else
18418 as_ln_s='cp -pR'
18420 else
18421 as_ln_s='cp -pR'
18423 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18424 rmdir conf$$.dir 2>/dev/null
18427 # as_fn_mkdir_p
18428 # -------------
18429 # Create "$as_dir" as a directory, including parents if necessary.
18430 as_fn_mkdir_p ()
18433 case $as_dir in #(
18434 -*) as_dir=./$as_dir;;
18435 esac
18436 test -d "$as_dir" || eval $as_mkdir_p || {
18437 as_dirs=
18438 while :; do
18439 case $as_dir in #(
18440 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18441 *) as_qdir=$as_dir;;
18442 esac
18443 as_dirs="'$as_qdir' $as_dirs"
18444 as_dir=`$as_dirname -- "$as_dir" ||
18445 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18446 X"$as_dir" : 'X\(//\)[^/]' \| \
18447 X"$as_dir" : 'X\(//\)$' \| \
18448 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18449 $as_echo X"$as_dir" |
18450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18451 s//\1/
18454 /^X\(\/\/\)[^/].*/{
18455 s//\1/
18458 /^X\(\/\/\)$/{
18459 s//\1/
18462 /^X\(\/\).*/{
18463 s//\1/
18466 s/.*/./; q'`
18467 test -d "$as_dir" && break
18468 done
18469 test -z "$as_dirs" || eval "mkdir $as_dirs"
18470 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18473 } # as_fn_mkdir_p
18474 if mkdir -p . 2>/dev/null; then
18475 as_mkdir_p='mkdir -p "$as_dir"'
18476 else
18477 test -d ./-p && rmdir ./-p
18478 as_mkdir_p=false
18482 # as_fn_executable_p FILE
18483 # -----------------------
18484 # Test if FILE is an executable regular file.
18485 as_fn_executable_p ()
18487 test -f "$1" && test -x "$1"
18488 } # as_fn_executable_p
18489 as_test_x='test -x'
18490 as_executable_p=as_fn_executable_p
18492 # Sed expression to map a string onto a valid CPP name.
18493 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18495 # Sed expression to map a string onto a valid variable name.
18496 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18499 exec 6>&1
18500 ## ----------------------------------- ##
18501 ## Main body of $CONFIG_STATUS script. ##
18502 ## ----------------------------------- ##
18503 _ASEOF
18504 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18507 # Save the log message, to keep $0 and so on meaningful, and to
18508 # report actual input values of CONFIG_FILES etc. instead of their
18509 # values after options handling.
18510 ac_log="
18511 This file was extended by Wine $as_me 1.7.47, which was
18512 generated by GNU Autoconf 2.69. Invocation command line was
18514 CONFIG_FILES = $CONFIG_FILES
18515 CONFIG_HEADERS = $CONFIG_HEADERS
18516 CONFIG_LINKS = $CONFIG_LINKS
18517 CONFIG_COMMANDS = $CONFIG_COMMANDS
18518 $ $0 $@
18520 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18523 _ACEOF
18525 case $ac_config_files in *"
18526 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18527 esac
18529 case $ac_config_headers in *"
18530 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18531 esac
18534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18535 # Files that config.status was made for.
18536 config_files="$ac_config_files"
18537 config_headers="$ac_config_headers"
18538 config_links="$ac_config_links"
18539 config_commands="$ac_config_commands"
18541 _ACEOF
18543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18544 ac_cs_usage="\
18545 \`$as_me' instantiates files and other configuration actions
18546 from templates according to the current configuration. Unless the files
18547 and actions are specified as TAGs, all are instantiated by default.
18549 Usage: $0 [OPTION]... [TAG]...
18551 -h, --help print this help, then exit
18552 -V, --version print version number and configuration settings, then exit
18553 --config print configuration, then exit
18554 -q, --quiet, --silent
18555 do not print progress messages
18556 -d, --debug don't remove temporary files
18557 --recheck update $as_me by reconfiguring in the same conditions
18558 --file=FILE[:TEMPLATE]
18559 instantiate the configuration file FILE
18560 --header=FILE[:TEMPLATE]
18561 instantiate the configuration header FILE
18563 Configuration files:
18564 $config_files
18566 Configuration headers:
18567 $config_headers
18569 Configuration links:
18570 $config_links
18572 Configuration commands:
18573 $config_commands
18575 Report bugs to <wine-devel@winehq.org>.
18576 Wine home page: <http://www.winehq.org>."
18578 _ACEOF
18579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18580 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18581 ac_cs_version="\\
18582 Wine config.status 1.7.47
18583 configured by $0, generated by GNU Autoconf 2.69,
18584 with options \\"\$ac_cs_config\\"
18586 Copyright (C) 2012 Free Software Foundation, Inc.
18587 This config.status script is free software; the Free Software Foundation
18588 gives unlimited permission to copy, distribute and modify it."
18590 ac_pwd='$ac_pwd'
18591 srcdir='$srcdir'
18592 test -n "\$AWK" || AWK=awk
18593 _ACEOF
18595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18596 # The default lists apply if the user does not specify any file.
18597 ac_need_defaults=:
18598 while test $# != 0
18600 case $1 in
18601 --*=?*)
18602 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18603 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18604 ac_shift=:
18606 --*=)
18607 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18608 ac_optarg=
18609 ac_shift=:
18612 ac_option=$1
18613 ac_optarg=$2
18614 ac_shift=shift
18616 esac
18618 case $ac_option in
18619 # Handling of the options.
18620 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18621 ac_cs_recheck=: ;;
18622 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18623 $as_echo "$ac_cs_version"; exit ;;
18624 --config | --confi | --conf | --con | --co | --c )
18625 $as_echo "$ac_cs_config"; exit ;;
18626 --debug | --debu | --deb | --de | --d | -d )
18627 debug=: ;;
18628 --file | --fil | --fi | --f )
18629 $ac_shift
18630 case $ac_optarg in
18631 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18632 '') as_fn_error $? "missing file argument" ;;
18633 esac
18634 as_fn_append CONFIG_FILES " '$ac_optarg'"
18635 ac_need_defaults=false;;
18636 --header | --heade | --head | --hea )
18637 $ac_shift
18638 case $ac_optarg in
18639 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18640 esac
18641 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18642 ac_need_defaults=false;;
18643 --he | --h)
18644 # Conflict between --help and --header
18645 as_fn_error $? "ambiguous option: \`$1'
18646 Try \`$0 --help' for more information.";;
18647 --help | --hel | -h )
18648 $as_echo "$ac_cs_usage"; exit ;;
18649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18650 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18651 ac_cs_silent=: ;;
18653 # This is an error.
18654 -*) as_fn_error $? "unrecognized option: \`$1'
18655 Try \`$0 --help' for more information." ;;
18657 *) as_fn_append ac_config_targets " $1"
18658 ac_need_defaults=false ;;
18660 esac
18661 shift
18662 done
18664 ac_configure_extra_args=
18666 if $ac_cs_silent; then
18667 exec 6>/dev/null
18668 ac_configure_extra_args="$ac_configure_extra_args --silent"
18671 _ACEOF
18672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18673 if \$ac_cs_recheck; then
18674 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18675 shift
18676 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18677 CONFIG_SHELL='$SHELL'
18678 export CONFIG_SHELL
18679 exec "\$@"
18682 _ACEOF
18683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18684 exec 5>>config.log
18686 echo
18687 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18688 ## Running $as_me. ##
18689 _ASBOX
18690 $as_echo "$ac_log"
18691 } >&5
18693 _ACEOF
18694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 # INIT-COMMANDS
18698 wine_fn_output_makedep ()
18700 as_dir=tools; as_fn_mkdir_p
18701 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18703 wine_fn_output_makefile ()
18705 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18706 `cat $wine_rules_file`
18707 _WINE_EOF
18708 as_fn_error $? "could not create Makefile" "$LINENO" 5
18710 wine_fn_output_gitignore ()
18712 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18713 $GITIGNORE
18714 _WINE_EOF
18715 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18718 _ACEOF
18720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18722 # Handling of arguments.
18723 for ac_config_target in $ac_config_targets
18725 case $ac_config_target in
18726 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18727 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18728 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18729 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18730 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18731 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18732 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18733 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18734 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18735 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18736 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18737 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18738 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18739 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18741 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18742 esac
18743 done
18746 # If the user did not use the arguments to specify the items to instantiate,
18747 # then the envvar interface is used. Set only those that are not.
18748 # We use the long form for the default assignment because of an extremely
18749 # bizarre bug on SunOS 4.1.3.
18750 if $ac_need_defaults; then
18751 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18752 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18753 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18754 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18757 # Have a temporary directory for convenience. Make it in the build tree
18758 # simply because there is no reason against having it here, and in addition,
18759 # creating and moving files from /tmp can sometimes cause problems.
18760 # Hook for its removal unless debugging.
18761 # Note that there is a small window in which the directory will not be cleaned:
18762 # after its creation but before its name has been assigned to `$tmp'.
18763 $debug ||
18765 tmp= ac_tmp=
18766 trap 'exit_status=$?
18767 : "${ac_tmp:=$tmp}"
18768 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18770 trap 'as_fn_exit 1' 1 2 13 15
18772 # Create a (secure) tmp directory for tmp files.
18775 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18776 test -d "$tmp"
18777 } ||
18779 tmp=./conf$$-$RANDOM
18780 (umask 077 && mkdir "$tmp")
18781 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18782 ac_tmp=$tmp
18784 # Set up the scripts for CONFIG_FILES section.
18785 # No need to generate them if there are no CONFIG_FILES.
18786 # This happens for instance with `./config.status config.h'.
18787 if test -n "$CONFIG_FILES"; then
18790 ac_cr=`echo X | tr X '\015'`
18791 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18792 # But we know of no other shell where ac_cr would be empty at this
18793 # point, so we can use a bashism as a fallback.
18794 if test "x$ac_cr" = x; then
18795 eval ac_cr=\$\'\\r\'
18797 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18798 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18799 ac_cs_awk_cr='\\r'
18800 else
18801 ac_cs_awk_cr=$ac_cr
18804 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18805 _ACEOF
18809 echo "cat >conf$$subs.awk <<_ACEOF" &&
18810 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18811 echo "_ACEOF"
18812 } >conf$$subs.sh ||
18813 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18814 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18815 ac_delim='%!_!# '
18816 for ac_last_try in false false false false false :; do
18817 . ./conf$$subs.sh ||
18818 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18820 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18821 if test $ac_delim_n = $ac_delim_num; then
18822 break
18823 elif $ac_last_try; then
18824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18825 else
18826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18828 done
18829 rm -f conf$$subs.sh
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18833 _ACEOF
18834 sed -n '
18836 s/^/S["/; s/!.*/"]=/
18839 s/^[^!]*!//
18840 :repl
18841 t repl
18842 s/'"$ac_delim"'$//
18843 t delim
18846 s/\(.\{148\}\)..*/\1/
18847 t more1
18848 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18851 b repl
18852 :more1
18853 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18856 s/.\{148\}//
18857 t nl
18858 :delim
18860 s/\(.\{148\}\)..*/\1/
18861 t more2
18862 s/["\\]/\\&/g; s/^/"/; s/$/"/
18865 :more2
18866 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18869 s/.\{148\}//
18870 t delim
18871 ' <conf$$subs.awk | sed '
18872 /^[^""]/{
18874 s/\n//
18876 ' >>$CONFIG_STATUS || ac_write_fail=1
18877 rm -f conf$$subs.awk
18878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18879 _ACAWK
18880 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18881 for (key in S) S_is_set[key] = 1
18882 FS = "\a"
18886 line = $ 0
18887 nfields = split(line, field, "@")
18888 substed = 0
18889 len = length(field[1])
18890 for (i = 2; i < nfields; i++) {
18891 key = field[i]
18892 keylen = length(key)
18893 if (S_is_set[key]) {
18894 value = S[key]
18895 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18896 len += length(value) + length(field[++i])
18897 substed = 1
18898 } else
18899 len += 1 + keylen
18902 print line
18905 _ACAWK
18906 _ACEOF
18907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18908 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18909 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18910 else
18912 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18913 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18914 _ACEOF
18916 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18917 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18918 # trailing colons and then remove the whole line if VPATH becomes empty
18919 # (actually we leave an empty line to preserve line numbers).
18920 if test "x$srcdir" = x.; then
18921 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18923 s///
18924 s/^/:/
18925 s/[ ]*$/:/
18926 s/:\$(srcdir):/:/g
18927 s/:\${srcdir}:/:/g
18928 s/:@srcdir@:/:/g
18929 s/^:*//
18930 s/:*$//
18932 s/\(=[ ]*\).*/\1/
18934 s/\n//
18935 s/^[^=]*=[ ]*$//
18939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18940 fi # test -n "$CONFIG_FILES"
18942 # Set up the scripts for CONFIG_HEADERS section.
18943 # No need to generate them if there are no CONFIG_HEADERS.
18944 # This happens for instance with `./config.status Makefile'.
18945 if test -n "$CONFIG_HEADERS"; then
18946 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18947 BEGIN {
18948 _ACEOF
18950 # Transform confdefs.h into an awk script `defines.awk', embedded as
18951 # here-document in config.status, that substitutes the proper values into
18952 # config.h.in to produce config.h.
18954 # Create a delimiter string that does not exist in confdefs.h, to ease
18955 # handling of long lines.
18956 ac_delim='%!_!# '
18957 for ac_last_try in false false :; do
18958 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18959 if test -z "$ac_tt"; then
18960 break
18961 elif $ac_last_try; then
18962 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18963 else
18964 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18966 done
18968 # For the awk script, D is an array of macro values keyed by name,
18969 # likewise P contains macro parameters if any. Preserve backslash
18970 # newline sequences.
18972 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18973 sed -n '
18974 s/.\{148\}/&'"$ac_delim"'/g
18975 t rset
18976 :rset
18977 s/^[ ]*#[ ]*define[ ][ ]*/ /
18978 t def
18980 :def
18981 s/\\$//
18982 t bsnl
18983 s/["\\]/\\&/g
18984 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18985 D["\1"]=" \3"/p
18986 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18988 :bsnl
18989 s/["\\]/\\&/g
18990 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18991 D["\1"]=" \3\\\\\\n"\\/p
18992 t cont
18993 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18994 t cont
18996 :cont
18998 s/.\{148\}/&'"$ac_delim"'/g
18999 t clear
19000 :clear
19001 s/\\$//
19002 t bsnlc
19003 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19005 :bsnlc
19006 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19007 b cont
19008 ' <confdefs.h | sed '
19009 s/'"$ac_delim"'/"\\\
19010 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19013 for (key in D) D_is_set[key] = 1
19014 FS = "\a"
19016 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19017 line = \$ 0
19018 split(line, arg, " ")
19019 if (arg[1] == "#") {
19020 defundef = arg[2]
19021 mac1 = arg[3]
19022 } else {
19023 defundef = substr(arg[1], 2)
19024 mac1 = arg[2]
19026 split(mac1, mac2, "(") #)
19027 macro = mac2[1]
19028 prefix = substr(line, 1, index(line, defundef) - 1)
19029 if (D_is_set[macro]) {
19030 # Preserve the white space surrounding the "#".
19031 print prefix "define", macro P[macro] D[macro]
19032 next
19033 } else {
19034 # Replace #undef with comments. This is necessary, for example,
19035 # in the case of _POSIX_SOURCE, which is predefined and required
19036 # on some systems where configure will not decide to define it.
19037 if (defundef == "undef") {
19038 print "/*", prefix defundef, macro, "*/"
19039 next
19043 { print }
19044 _ACAWK
19045 _ACEOF
19046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19047 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19048 fi # test -n "$CONFIG_HEADERS"
19051 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19052 shift
19053 for ac_tag
19055 case $ac_tag in
19056 :[FHLC]) ac_mode=$ac_tag; continue;;
19057 esac
19058 case $ac_mode$ac_tag in
19059 :[FHL]*:*);;
19060 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19061 :[FH]-) ac_tag=-:-;;
19062 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19063 esac
19064 ac_save_IFS=$IFS
19065 IFS=:
19066 set x $ac_tag
19067 IFS=$ac_save_IFS
19068 shift
19069 ac_file=$1
19070 shift
19072 case $ac_mode in
19073 :L) ac_source=$1;;
19074 :[FH])
19075 ac_file_inputs=
19076 for ac_f
19078 case $ac_f in
19079 -) ac_f="$ac_tmp/stdin";;
19080 *) # Look for the file first in the build tree, then in the source tree
19081 # (if the path is not absolute). The absolute path cannot be DOS-style,
19082 # because $ac_f cannot contain `:'.
19083 test -f "$ac_f" ||
19084 case $ac_f in
19085 [\\/$]*) false;;
19086 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19087 esac ||
19088 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19089 esac
19090 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19091 as_fn_append ac_file_inputs " '$ac_f'"
19092 done
19094 # Let's still pretend it is `configure' which instantiates (i.e., don't
19095 # use $as_me), people would be surprised to read:
19096 # /* config.h. Generated by config.status. */
19097 configure_input='Generated from '`
19098 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19099 `' by configure.'
19100 if test x"$ac_file" != x-; then
19101 configure_input="$ac_file. $configure_input"
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19103 $as_echo "$as_me: creating $ac_file" >&6;}
19105 # Neutralize special characters interpreted by sed in replacement strings.
19106 case $configure_input in #(
19107 *\&* | *\|* | *\\* )
19108 ac_sed_conf_input=`$as_echo "$configure_input" |
19109 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19110 *) ac_sed_conf_input=$configure_input;;
19111 esac
19113 case $ac_tag in
19114 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19115 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19116 esac
19118 esac
19120 ac_dir=`$as_dirname -- "$ac_file" ||
19121 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19122 X"$ac_file" : 'X\(//\)[^/]' \| \
19123 X"$ac_file" : 'X\(//\)$' \| \
19124 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19125 $as_echo X"$ac_file" |
19126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19127 s//\1/
19130 /^X\(\/\/\)[^/].*/{
19131 s//\1/
19134 /^X\(\/\/\)$/{
19135 s//\1/
19138 /^X\(\/\).*/{
19139 s//\1/
19142 s/.*/./; q'`
19143 as_dir="$ac_dir"; as_fn_mkdir_p
19144 ac_builddir=.
19146 case "$ac_dir" in
19147 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19149 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19150 # A ".." for each directory in $ac_dir_suffix.
19151 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19152 case $ac_top_builddir_sub in
19153 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19154 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19155 esac ;;
19156 esac
19157 ac_abs_top_builddir=$ac_pwd
19158 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19159 # for backward compatibility:
19160 ac_top_builddir=$ac_top_build_prefix
19162 case $srcdir in
19163 .) # We are building in place.
19164 ac_srcdir=.
19165 ac_top_srcdir=$ac_top_builddir_sub
19166 ac_abs_top_srcdir=$ac_pwd ;;
19167 [\\/]* | ?:[\\/]* ) # Absolute name.
19168 ac_srcdir=$srcdir$ac_dir_suffix;
19169 ac_top_srcdir=$srcdir
19170 ac_abs_top_srcdir=$srcdir ;;
19171 *) # Relative name.
19172 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19173 ac_top_srcdir=$ac_top_build_prefix$srcdir
19174 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19175 esac
19176 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19179 case $ac_mode in
19182 # CONFIG_FILE
19185 _ACEOF
19187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19188 # If the template does not know about datarootdir, expand it.
19189 # FIXME: This hack should be removed a few years after 2.60.
19190 ac_datarootdir_hack=; ac_datarootdir_seen=
19191 ac_sed_dataroot='
19192 /datarootdir/ {
19196 /@datadir@/p
19197 /@docdir@/p
19198 /@infodir@/p
19199 /@localedir@/p
19200 /@mandir@/p'
19201 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19202 *datarootdir*) ac_datarootdir_seen=yes;;
19203 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19205 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19206 _ACEOF
19207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19208 ac_datarootdir_hack='
19209 s&@datadir@&$datadir&g
19210 s&@docdir@&$docdir&g
19211 s&@infodir@&$infodir&g
19212 s&@localedir@&$localedir&g
19213 s&@mandir@&$mandir&g
19214 s&\\\${datarootdir}&$datarootdir&g' ;;
19215 esac
19216 _ACEOF
19218 # Neutralize VPATH when `$srcdir' = `.'.
19219 # Shell code in configure.ac might set extrasub.
19220 # FIXME: do we really want to maintain this feature?
19221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19222 ac_sed_extra="$ac_vpsub
19223 $extrasub
19224 _ACEOF
19225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19227 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19228 s|@configure_input@|$ac_sed_conf_input|;t t
19229 s&@top_builddir@&$ac_top_builddir_sub&;t t
19230 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19231 s&@srcdir@&$ac_srcdir&;t t
19232 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19233 s&@top_srcdir@&$ac_top_srcdir&;t t
19234 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19235 s&@builddir@&$ac_builddir&;t t
19236 s&@abs_builddir@&$ac_abs_builddir&;t t
19237 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19238 $ac_datarootdir_hack
19240 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19241 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19243 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19244 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19245 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19246 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19248 which seems to be undefined. Please make sure it is defined" >&5
19249 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19250 which seems to be undefined. Please make sure it is defined" >&2;}
19252 rm -f "$ac_tmp/stdin"
19253 case $ac_file in
19254 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19255 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19256 esac \
19257 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19261 # CONFIG_HEADER
19263 if test x"$ac_file" != x-; then
19265 $as_echo "/* $configure_input */" \
19266 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19267 } >"$ac_tmp/config.h" \
19268 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19269 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19271 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19272 else
19273 rm -f "$ac_file"
19274 mv "$ac_tmp/config.h" "$ac_file" \
19275 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19277 else
19278 $as_echo "/* $configure_input */" \
19279 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19280 || as_fn_error $? "could not create -" "$LINENO" 5
19285 # CONFIG_LINK
19288 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19290 else
19291 # Prefer the file from the source tree if names are identical.
19292 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19293 ac_source=$srcdir/$ac_source
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19297 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19299 if test ! -r "$ac_source"; then
19300 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19302 rm -f "$ac_file"
19304 # Try a relative symlink, then a hard link, then a copy.
19305 case $ac_source in
19306 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19307 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19308 esac
19309 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19310 ln "$ac_source" "$ac_file" 2>/dev/null ||
19311 cp -p "$ac_source" "$ac_file" ||
19312 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19315 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19316 $as_echo "$as_me: executing $ac_file commands" >&6;}
19318 esac
19321 case $ac_file$ac_mode in
19322 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19323 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19324 "Makefile":C) wine_fn_output_makefile Makefile ;;
19325 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19327 esac
19328 done # for ac_tag
19331 as_fn_exit 0
19332 _ACEOF
19333 ac_clean_files=$ac_clean_files_save
19335 test $ac_write_fail = 0 ||
19336 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19339 # configure is writing to config.log, and then calls config.status.
19340 # config.status does its own redirection, appending to config.log.
19341 # Unfortunately, on DOS this fails, as config.log is still kept open
19342 # by configure, so config.status won't be able to write to it; its
19343 # output is simply discarded. So we exec the FD to /dev/null,
19344 # effectively closing config.log, so it can be properly (re)opened and
19345 # appended to by config.status. When coming back to configure, we
19346 # need to make the FD available again.
19347 if test "$no_create" != yes; then
19348 ac_cs_success=:
19349 ac_config_status_args=
19350 test "$silent" = yes &&
19351 ac_config_status_args="$ac_config_status_args --quiet"
19352 exec 5>/dev/null
19353 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19354 exec 5>>config.log
19355 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19356 # would make configure fail if this is the last instruction.
19357 $ac_cs_success || as_fn_exit 1
19359 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19361 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19365 if test "$no_create" = "yes"
19366 then
19367 exit 0
19370 ac_save_IFS="$IFS"
19371 if test "x$wine_notices != "x; then
19372 echo >&6
19373 IFS="|"
19374 for msg in $wine_notices; do
19375 IFS="$ac_save_IFS"
19376 if ${msg:+false} :; then :
19378 else
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19380 $as_echo "$as_me: $msg" >&6;}
19382 done
19384 IFS="|"
19385 for msg in $wine_warnings; do
19386 IFS="$ac_save_IFS"
19387 if ${msg:+false} :; then :
19389 else
19390 echo >&2
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19392 $as_echo "$as_me: WARNING: $msg" >&2;}
19394 done
19395 IFS="$ac_save_IFS"
19397 $as_echo "
19398 $as_me: Finished. Do '${ac_make}' to compile Wine.
19399 " >&6