qmgr: Add a stub implementation of IBackgroundCopyJobHttpOptions.
[wine.git] / configure
bloba1040974830257a711fd5564c57726248e8ad0a7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.45.
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.45'
584 PACKAGE_STRING='Wine 1.7.45'
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_d3dim
988 enable_d3drm
989 enable_d3dx10_33
990 enable_d3dx10_34
991 enable_d3dx10_35
992 enable_d3dx10_36
993 enable_d3dx10_37
994 enable_d3dx10_38
995 enable_d3dx10_39
996 enable_d3dx10_40
997 enable_d3dx10_41
998 enable_d3dx10_42
999 enable_d3dx10_43
1000 enable_d3dx11_42
1001 enable_d3dx11_43
1002 enable_d3dx9_24
1003 enable_d3dx9_25
1004 enable_d3dx9_26
1005 enable_d3dx9_27
1006 enable_d3dx9_28
1007 enable_d3dx9_29
1008 enable_d3dx9_30
1009 enable_d3dx9_31
1010 enable_d3dx9_32
1011 enable_d3dx9_33
1012 enable_d3dx9_34
1013 enable_d3dx9_35
1014 enable_d3dx9_36
1015 enable_d3dx9_37
1016 enable_d3dx9_38
1017 enable_d3dx9_39
1018 enable_d3dx9_40
1019 enable_d3dx9_41
1020 enable_d3dx9_42
1021 enable_d3dx9_43
1022 enable_d3dxof
1023 enable_dbgeng
1024 enable_dbghelp
1025 enable_dciman32
1026 enable_ddraw
1027 enable_ddrawex
1028 enable_devenum
1029 enable_dhcpcsvc
1030 enable_difxapi
1031 enable_dinput
1032 enable_dinput8
1033 enable_dispex
1034 enable_dmband
1035 enable_dmcompos
1036 enable_dmime
1037 enable_dmloader
1038 enable_dmscript
1039 enable_dmstyle
1040 enable_dmsynth
1041 enable_dmusic
1042 enable_dmusic32
1043 enable_dnsapi
1044 enable_dplay
1045 enable_dplayx
1046 enable_dpnaddr
1047 enable_dpnet
1048 enable_dpnhpast
1049 enable_dpnlobby
1050 enable_dpvoice
1051 enable_dpwsockx
1052 enable_drmclien
1053 enable_dsound
1054 enable_dssenh
1055 enable_dswave
1056 enable_dwmapi
1057 enable_dwrite
1058 enable_dxdiagn
1059 enable_dxgi
1060 enable_dxva2
1061 enable_evr
1062 enable_explorerframe
1063 enable_ext_ms_win_gdi_devcaps_l1_1_0
1064 enable_faultrep
1065 enable_fltlib
1066 enable_fntcache
1067 enable_fontsub
1068 enable_fusion
1069 enable_fwpuclnt
1070 enable_gameux
1071 enable_gdi32
1072 enable_gdiplus
1073 enable_glu32
1074 enable_gphoto2_ds
1075 enable_gpkcsp
1076 enable_hal
1077 enable_hhctrl_ocx
1078 enable_hid
1079 enable_hlink
1080 enable_hnetcfg
1081 enable_httpapi
1082 enable_iccvid
1083 enable_icmp
1084 enable_ieframe
1085 enable_imaadp32_acm
1086 enable_imagehlp
1087 enable_imm32
1088 enable_inetcomm
1089 enable_inetcpl_cpl
1090 enable_inetmib1
1091 enable_infosoft
1092 enable_initpki
1093 enable_inkobj
1094 enable_inseng
1095 enable_iphlpapi
1096 enable_itircl
1097 enable_itss
1098 enable_joy_cpl
1099 enable_jscript
1100 enable_jsproxy
1101 enable_kernel32
1102 enable_ksuser
1103 enable_ktmw32
1104 enable_loadperf
1105 enable_localspl
1106 enable_localui
1107 enable_lz32
1108 enable_mapi32
1109 enable_mapistub
1110 enable_mciavi32
1111 enable_mcicda
1112 enable_mciqtz32
1113 enable_mciseq
1114 enable_mciwave
1115 enable_mf
1116 enable_mfplat
1117 enable_mfreadwrite
1118 enable_mgmtapi
1119 enable_midimap
1120 enable_mlang
1121 enable_mmcndmgr
1122 enable_mmdevapi
1123 enable_mountmgr_sys
1124 enable_mpr
1125 enable_mprapi
1126 enable_msacm32_drv
1127 enable_msacm32
1128 enable_msadp32_acm
1129 enable_msasn1
1130 enable_mscat32
1131 enable_mscms
1132 enable_mscoree
1133 enable_msctf
1134 enable_msctfp
1135 enable_msdaps
1136 enable_msdmo
1137 enable_msftedit
1138 enable_msg711_acm
1139 enable_msgsm32_acm
1140 enable_mshtml_tlb
1141 enable_mshtml
1142 enable_msi
1143 enable_msident
1144 enable_msimg32
1145 enable_msimsg
1146 enable_msimtf
1147 enable_msisip
1148 enable_msisys_ocx
1149 enable_msls31
1150 enable_msnet32
1151 enable_mspatcha
1152 enable_msrle32
1153 enable_mssign32
1154 enable_mssip32
1155 enable_mstask
1156 enable_msvcirt
1157 enable_msvcm80
1158 enable_msvcm90
1159 enable_msvcp100
1160 enable_msvcp110
1161 enable_msvcp120
1162 enable_msvcp120_app
1163 enable_msvcp60
1164 enable_msvcp70
1165 enable_msvcp71
1166 enable_msvcp80
1167 enable_msvcp90
1168 enable_msvcr100
1169 enable_msvcr110
1170 enable_msvcr120
1171 enable_msvcr120_app
1172 enable_msvcr70
1173 enable_msvcr71
1174 enable_msvcr80
1175 enable_msvcr90
1176 enable_msvcrt
1177 enable_msvcrt20
1178 enable_msvcrt40
1179 enable_msvcrtd
1180 enable_msvfw32
1181 enable_msvidc32
1182 enable_mswsock
1183 enable_msxml
1184 enable_msxml2
1185 enable_msxml3
1186 enable_msxml4
1187 enable_msxml6
1188 enable_nddeapi
1189 enable_ndis_sys
1190 enable_netapi32
1191 enable_netcfgx
1192 enable_netprofm
1193 enable_newdev
1194 enable_normaliz
1195 enable_npmshtml
1196 enable_npptools
1197 enable_ntdll
1198 enable_ntdsapi
1199 enable_ntoskrnl_exe
1200 enable_ntprint
1201 enable_objsel
1202 enable_odbc32
1203 enable_odbccp32
1204 enable_odbccu32
1205 enable_ole32
1206 enable_oleacc
1207 enable_oleaut32
1208 enable_olecli32
1209 enable_oledb32
1210 enable_oledlg
1211 enable_olepro32
1212 enable_olesvr32
1213 enable_olethk32
1214 enable_openal32
1215 enable_opencl
1216 enable_opengl32
1217 enable_packager
1218 enable_pdh
1219 enable_photometadatahandler
1220 enable_pidgen
1221 enable_powrprof
1222 enable_printui
1223 enable_prntvpt
1224 enable_propsys
1225 enable_psapi
1226 enable_pstorec
1227 enable_qcap
1228 enable_qedit
1229 enable_qmgr
1230 enable_qmgrprxy
1231 enable_quartz
1232 enable_query
1233 enable_rasapi32
1234 enable_rasdlg
1235 enable_regapi
1236 enable_resutils
1237 enable_riched20
1238 enable_riched32
1239 enable_rpcrt4
1240 enable_rsabase
1241 enable_rsaenh
1242 enable_rstrtmgr
1243 enable_rtutils
1244 enable_samlib
1245 enable_sane_ds
1246 enable_scarddlg
1247 enable_sccbase
1248 enable_schannel
1249 enable_schedsvc
1250 enable_scrrun
1251 enable_scsiport_sys
1252 enable_secur32
1253 enable_security
1254 enable_sensapi
1255 enable_serialui
1256 enable_setupapi
1257 enable_sfc
1258 enable_sfc_os
1259 enable_shdoclc
1260 enable_shdocvw
1261 enable_shell32
1262 enable_shfolder
1263 enable_shlwapi
1264 enable_slbcsp
1265 enable_slc
1266 enable_snmpapi
1267 enable_softpub
1268 enable_spoolss
1269 enable_stdole2_tlb
1270 enable_stdole32_tlb
1271 enable_sti
1272 enable_svrapi
1273 enable_sxs
1274 enable_t2embed
1275 enable_tapi32
1276 enable_taskschd
1277 enable_traffic
1278 enable_twain_32
1279 enable_unicows
1280 enable_updspapi
1281 enable_url
1282 enable_urlmon
1283 enable_usbd_sys
1284 enable_user32
1285 enable_userenv
1286 enable_usp10
1287 enable_uxtheme
1288 enable_vbscript
1289 enable_vcomp
1290 enable_vcomp100
1291 enable_vcomp90
1292 enable_vdmdbg
1293 enable_version
1294 enable_vssapi
1295 enable_wbemdisp
1296 enable_wbemprox
1297 enable_webservices
1298 enable_wer
1299 enable_wevtapi
1300 enable_wiaservc
1301 enable_windowscodecs
1302 enable_windowscodecsext
1303 enable_winealsa_drv
1304 enable_winecoreaudio_drv
1305 enable_wined3d
1306 enable_winegstreamer
1307 enable_winejoystick_drv
1308 enable_winemac_drv
1309 enable_winemapi
1310 enable_winemp3_acm
1311 enable_wineoss_drv
1312 enable_wineps_drv
1313 enable_wineqtdecoder
1314 enable_winex11_drv
1315 enable_wing32
1316 enable_winhttp
1317 enable_wininet
1318 enable_winmm
1319 enable_winnls32
1320 enable_winscard
1321 enable_winspool_drv
1322 enable_winsta
1323 enable_wintab32
1324 enable_wintrust
1325 enable_wlanapi
1326 enable_wldap32
1327 enable_wmi
1328 enable_wmiutils
1329 enable_wmp
1330 enable_wmvcore
1331 enable_wnaspi32
1332 enable_wpcap
1333 enable_ws2_32
1334 enable_wshom_ocx
1335 enable_wsnmp32
1336 enable_wsock32
1337 enable_wtsapi32
1338 enable_wuapi
1339 enable_wuaueng
1340 enable_x3daudio1_1
1341 enable_x3daudio1_2
1342 enable_x3daudio1_3
1343 enable_x3daudio1_4
1344 enable_x3daudio1_5
1345 enable_x3daudio1_6
1346 enable_x3daudio1_7
1347 enable_xapofx1_1
1348 enable_xapofx1_3
1349 enable_xapofx1_4
1350 enable_xapofx1_5
1351 enable_xaudio2_7
1352 enable_xinput1_1
1353 enable_xinput1_2
1354 enable_xinput1_3
1355 enable_xinput1_4
1356 enable_xinput9_1_0
1357 enable_xmllite
1358 enable_xolehlp
1359 enable_xpsprint
1360 enable_xpssvcs
1361 enable_documentation
1362 enable_fonts
1363 enable_include
1364 enable_libs_port
1365 enable_libs_wine
1366 enable_libs_wpp
1367 enable_loader
1368 enable_arp
1369 enable_aspnet_regiis
1370 enable_attrib
1371 enable_cabarc
1372 enable_cacls
1373 enable_clock
1374 enable_cmd
1375 enable_conhost
1376 enable_control
1377 enable_cscript
1378 enable_dpnsvr
1379 enable_dxdiag
1380 enable_eject
1381 enable_expand
1382 enable_explorer
1383 enable_extrac32
1384 enable_findstr
1385 enable_hh
1386 enable_hostname
1387 enable_icinfo
1388 enable_iexplore
1389 enable_ipconfig
1390 enable_lodctr
1391 enable_mofcomp
1392 enable_mshta
1393 enable_msiexec
1394 enable_net
1395 enable_netsh
1396 enable_netstat
1397 enable_ngen
1398 enable_notepad
1399 enable_oleview
1400 enable_ping
1401 enable_plugplay
1402 enable_presentationfontcache
1403 enable_progman
1404 enable_reg
1405 enable_regasm
1406 enable_regedit
1407 enable_regsvcs
1408 enable_regsvr32
1409 enable_rpcss
1410 enable_rundll32
1411 enable_sc
1412 enable_schtasks
1413 enable_sdbinst
1414 enable_secedit
1415 enable_servicemodelreg
1416 enable_services
1417 enable_spoolsv
1418 enable_start
1419 enable_svchost
1420 enable_systeminfo
1421 enable_taskkill
1422 enable_tasklist
1423 enable_taskmgr
1424 enable_termsv
1425 enable_uninstaller
1426 enable_unlodctr
1427 enable_view
1428 enable_wevtutil
1429 enable_wineboot
1430 enable_winebrowser
1431 enable_winecfg
1432 enable_wineconsole
1433 enable_winedbg
1434 enable_winedevice
1435 enable_winefile
1436 enable_winemenubuilder
1437 enable_winemine
1438 enable_winemsibuilder
1439 enable_winepath
1440 enable_winetest
1441 enable_winhlp32
1442 enable_winver
1443 enable_wmic
1444 enable_wordpad
1445 enable_write
1446 enable_wscript
1447 enable_wusa
1448 enable_xcopy
1449 enable_server
1450 enable_tools
1452 ac_precious_vars='build_alias
1453 host_alias
1454 target_alias
1456 CFLAGS
1457 LDFLAGS
1458 LIBS
1459 CPPFLAGS
1461 CXXFLAGS
1464 XMKMF
1465 XML2_CFLAGS
1466 XML2_LIBS
1467 XSLT_CFLAGS
1468 XSLT_LIBS
1469 DBUS_CFLAGS
1470 DBUS_LIBS
1471 HAL_CFLAGS
1472 HAL_LIBS
1473 GNUTLS_CFLAGS
1474 GNUTLS_LIBS
1475 SANE_CFLAGS
1476 SANE_LIBS
1477 GPHOTO2_CFLAGS
1478 GPHOTO2_LIBS
1479 GPHOTO2_PORT_CFLAGS
1480 GPHOTO2_PORT_LIBS
1481 LCMS2_CFLAGS
1482 LCMS2_LIBS
1483 FREETYPE_CFLAGS
1484 FREETYPE_LIBS
1485 GSTREAMER_CFLAGS
1486 GSTREAMER_LIBS
1487 CAPI20_CFLAGS
1488 CAPI20_LIBS
1489 FONTCONFIG_CFLAGS
1490 FONTCONFIG_LIBS
1491 JPEG_CFLAGS
1492 JPEG_LIBS
1493 PNG_CFLAGS
1494 PNG_LIBS
1495 TIFF_CFLAGS
1496 TIFF_LIBS
1497 MPG123_CFLAGS
1498 MPG123_LIBS'
1501 # Initialize some variables set by options.
1502 ac_init_help=
1503 ac_init_version=false
1504 ac_unrecognized_opts=
1505 ac_unrecognized_sep=
1506 # The variables have the same names as the options, with
1507 # dashes changed to underlines.
1508 cache_file=/dev/null
1509 exec_prefix=NONE
1510 no_create=
1511 no_recursion=
1512 prefix=NONE
1513 program_prefix=NONE
1514 program_suffix=NONE
1515 program_transform_name=s,x,x,
1516 silent=
1517 site=
1518 srcdir=
1519 verbose=
1520 x_includes=NONE
1521 x_libraries=NONE
1523 # Installation directory options.
1524 # These are left unexpanded so users can "make install exec_prefix=/foo"
1525 # and all the variables that are supposed to be based on exec_prefix
1526 # by default will actually change.
1527 # Use braces instead of parens because sh, perl, etc. also accept them.
1528 # (The list follows the same order as the GNU Coding Standards.)
1529 bindir='${exec_prefix}/bin'
1530 sbindir='${exec_prefix}/sbin'
1531 libexecdir='${exec_prefix}/libexec'
1532 datarootdir='${prefix}/share'
1533 datadir='${datarootdir}'
1534 sysconfdir='${prefix}/etc'
1535 sharedstatedir='${prefix}/com'
1536 localstatedir='${prefix}/var'
1537 includedir='${prefix}/include'
1538 oldincludedir='/usr/include'
1539 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1540 infodir='${datarootdir}/info'
1541 htmldir='${docdir}'
1542 dvidir='${docdir}'
1543 pdfdir='${docdir}'
1544 psdir='${docdir}'
1545 libdir='${exec_prefix}/lib'
1546 localedir='${datarootdir}/locale'
1547 mandir='${datarootdir}/man'
1549 ac_prev=
1550 ac_dashdash=
1551 for ac_option
1553 # If the previous option needs an argument, assign it.
1554 if test -n "$ac_prev"; then
1555 eval $ac_prev=\$ac_option
1556 ac_prev=
1557 continue
1560 case $ac_option in
1561 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1562 *=) ac_optarg= ;;
1563 *) ac_optarg=yes ;;
1564 esac
1566 # Accept the important Cygnus configure options, so we can diagnose typos.
1568 case $ac_dashdash$ac_option in
1570 ac_dashdash=yes ;;
1572 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1573 ac_prev=bindir ;;
1574 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1575 bindir=$ac_optarg ;;
1577 -build | --build | --buil | --bui | --bu)
1578 ac_prev=build_alias ;;
1579 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1580 build_alias=$ac_optarg ;;
1582 -cache-file | --cache-file | --cache-fil | --cache-fi \
1583 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1584 ac_prev=cache_file ;;
1585 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1586 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1587 cache_file=$ac_optarg ;;
1589 --config-cache | -C)
1590 cache_file=config.cache ;;
1592 -datadir | --datadir | --datadi | --datad)
1593 ac_prev=datadir ;;
1594 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1595 datadir=$ac_optarg ;;
1597 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1598 | --dataroo | --dataro | --datar)
1599 ac_prev=datarootdir ;;
1600 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1601 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1602 datarootdir=$ac_optarg ;;
1604 -disable-* | --disable-*)
1605 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608 as_fn_error $? "invalid feature name: $ac_useropt"
1609 ac_useropt_orig=$ac_useropt
1610 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_$ac_useropt"
1614 "*) ;;
1615 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1616 ac_unrecognized_sep=', ';;
1617 esac
1618 eval enable_$ac_useropt=no ;;
1620 -docdir | --docdir | --docdi | --doc | --do)
1621 ac_prev=docdir ;;
1622 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1623 docdir=$ac_optarg ;;
1625 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1626 ac_prev=dvidir ;;
1627 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1628 dvidir=$ac_optarg ;;
1630 -enable-* | --enable-*)
1631 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1632 # Reject names that are not valid shell variable names.
1633 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1634 as_fn_error $? "invalid feature name: $ac_useropt"
1635 ac_useropt_orig=$ac_useropt
1636 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1637 case $ac_user_opts in
1639 "enable_$ac_useropt"
1640 "*) ;;
1641 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1642 ac_unrecognized_sep=', ';;
1643 esac
1644 eval enable_$ac_useropt=\$ac_optarg ;;
1646 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1647 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1648 | --exec | --exe | --ex)
1649 ac_prev=exec_prefix ;;
1650 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1651 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1652 | --exec=* | --exe=* | --ex=*)
1653 exec_prefix=$ac_optarg ;;
1655 -gas | --gas | --ga | --g)
1656 # Obsolete; use --with-gas.
1657 with_gas=yes ;;
1659 -help | --help | --hel | --he | -h)
1660 ac_init_help=long ;;
1661 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1662 ac_init_help=recursive ;;
1663 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1664 ac_init_help=short ;;
1666 -host | --host | --hos | --ho)
1667 ac_prev=host_alias ;;
1668 -host=* | --host=* | --hos=* | --ho=*)
1669 host_alias=$ac_optarg ;;
1671 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1672 ac_prev=htmldir ;;
1673 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1674 | --ht=*)
1675 htmldir=$ac_optarg ;;
1677 -includedir | --includedir | --includedi | --included | --include \
1678 | --includ | --inclu | --incl | --inc)
1679 ac_prev=includedir ;;
1680 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1681 | --includ=* | --inclu=* | --incl=* | --inc=*)
1682 includedir=$ac_optarg ;;
1684 -infodir | --infodir | --infodi | --infod | --info | --inf)
1685 ac_prev=infodir ;;
1686 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1687 infodir=$ac_optarg ;;
1689 -libdir | --libdir | --libdi | --libd)
1690 ac_prev=libdir ;;
1691 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1692 libdir=$ac_optarg ;;
1694 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1695 | --libexe | --libex | --libe)
1696 ac_prev=libexecdir ;;
1697 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1698 | --libexe=* | --libex=* | --libe=*)
1699 libexecdir=$ac_optarg ;;
1701 -localedir | --localedir | --localedi | --localed | --locale)
1702 ac_prev=localedir ;;
1703 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1704 localedir=$ac_optarg ;;
1706 -localstatedir | --localstatedir | --localstatedi | --localstated \
1707 | --localstate | --localstat | --localsta | --localst | --locals)
1708 ac_prev=localstatedir ;;
1709 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1710 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1711 localstatedir=$ac_optarg ;;
1713 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1714 ac_prev=mandir ;;
1715 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1716 mandir=$ac_optarg ;;
1718 -nfp | --nfp | --nf)
1719 # Obsolete; use --without-fp.
1720 with_fp=no ;;
1722 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1723 | --no-cr | --no-c | -n)
1724 no_create=yes ;;
1726 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1727 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1728 no_recursion=yes ;;
1730 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1731 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1732 | --oldin | --oldi | --old | --ol | --o)
1733 ac_prev=oldincludedir ;;
1734 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1735 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1736 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1737 oldincludedir=$ac_optarg ;;
1739 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1740 ac_prev=prefix ;;
1741 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1742 prefix=$ac_optarg ;;
1744 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1745 | --program-pre | --program-pr | --program-p)
1746 ac_prev=program_prefix ;;
1747 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1748 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1749 program_prefix=$ac_optarg ;;
1751 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1752 | --program-suf | --program-su | --program-s)
1753 ac_prev=program_suffix ;;
1754 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1755 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1756 program_suffix=$ac_optarg ;;
1758 -program-transform-name | --program-transform-name \
1759 | --program-transform-nam | --program-transform-na \
1760 | --program-transform-n | --program-transform- \
1761 | --program-transform | --program-transfor \
1762 | --program-transfo | --program-transf \
1763 | --program-trans | --program-tran \
1764 | --progr-tra | --program-tr | --program-t)
1765 ac_prev=program_transform_name ;;
1766 -program-transform-name=* | --program-transform-name=* \
1767 | --program-transform-nam=* | --program-transform-na=* \
1768 | --program-transform-n=* | --program-transform-=* \
1769 | --program-transform=* | --program-transfor=* \
1770 | --program-transfo=* | --program-transf=* \
1771 | --program-trans=* | --program-tran=* \
1772 | --progr-tra=* | --program-tr=* | --program-t=*)
1773 program_transform_name=$ac_optarg ;;
1775 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1776 ac_prev=pdfdir ;;
1777 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1778 pdfdir=$ac_optarg ;;
1780 -psdir | --psdir | --psdi | --psd | --ps)
1781 ac_prev=psdir ;;
1782 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1783 psdir=$ac_optarg ;;
1785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1786 | -silent | --silent | --silen | --sile | --sil)
1787 silent=yes ;;
1789 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1790 ac_prev=sbindir ;;
1791 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1792 | --sbi=* | --sb=*)
1793 sbindir=$ac_optarg ;;
1795 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1796 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1797 | --sharedst | --shareds | --shared | --share | --shar \
1798 | --sha | --sh)
1799 ac_prev=sharedstatedir ;;
1800 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1801 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1802 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1803 | --sha=* | --sh=*)
1804 sharedstatedir=$ac_optarg ;;
1806 -site | --site | --sit)
1807 ac_prev=site ;;
1808 -site=* | --site=* | --sit=*)
1809 site=$ac_optarg ;;
1811 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1812 ac_prev=srcdir ;;
1813 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1814 srcdir=$ac_optarg ;;
1816 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1817 | --syscon | --sysco | --sysc | --sys | --sy)
1818 ac_prev=sysconfdir ;;
1819 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1820 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1821 sysconfdir=$ac_optarg ;;
1823 -target | --target | --targe | --targ | --tar | --ta | --t)
1824 ac_prev=target_alias ;;
1825 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1826 target_alias=$ac_optarg ;;
1828 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1829 verbose=yes ;;
1831 -version | --version | --versio | --versi | --vers | -V)
1832 ac_init_version=: ;;
1834 -with-* | --with-*)
1835 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1836 # Reject names that are not valid shell variable names.
1837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1838 as_fn_error $? "invalid package name: $ac_useropt"
1839 ac_useropt_orig=$ac_useropt
1840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1841 case $ac_user_opts in
1843 "with_$ac_useropt"
1844 "*) ;;
1845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1846 ac_unrecognized_sep=', ';;
1847 esac
1848 eval with_$ac_useropt=\$ac_optarg ;;
1850 -without-* | --without-*)
1851 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1852 # Reject names that are not valid shell variable names.
1853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1854 as_fn_error $? "invalid package name: $ac_useropt"
1855 ac_useropt_orig=$ac_useropt
1856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857 case $ac_user_opts in
1859 "with_$ac_useropt"
1860 "*) ;;
1861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1862 ac_unrecognized_sep=', ';;
1863 esac
1864 eval with_$ac_useropt=no ;;
1866 --x)
1867 # Obsolete; use --with-x.
1868 with_x=yes ;;
1870 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1871 | --x-incl | --x-inc | --x-in | --x-i)
1872 ac_prev=x_includes ;;
1873 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1874 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1875 x_includes=$ac_optarg ;;
1877 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1878 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1879 ac_prev=x_libraries ;;
1880 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1881 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1882 x_libraries=$ac_optarg ;;
1884 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1885 Try \`$0 --help' for more information"
1888 *=*)
1889 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1890 # Reject names that are not valid shell variable names.
1891 case $ac_envvar in #(
1892 '' | [0-9]* | *[!_$as_cr_alnum]* )
1893 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1894 esac
1895 eval $ac_envvar=\$ac_optarg
1896 export $ac_envvar ;;
1899 # FIXME: should be removed in autoconf 3.0.
1900 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1901 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1902 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1903 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1906 esac
1907 done
1909 if test -n "$ac_prev"; then
1910 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1911 as_fn_error $? "missing argument to $ac_option"
1914 if test -n "$ac_unrecognized_opts"; then
1915 case $enable_option_checking in
1916 no) ;;
1917 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1918 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1919 esac
1922 # Check all directory arguments for consistency.
1923 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1924 datadir sysconfdir sharedstatedir localstatedir includedir \
1925 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1926 libdir localedir mandir
1928 eval ac_val=\$$ac_var
1929 # Remove trailing slashes.
1930 case $ac_val in
1931 */ )
1932 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1933 eval $ac_var=\$ac_val;;
1934 esac
1935 # Be sure to have absolute directory names.
1936 case $ac_val in
1937 [\\/$]* | ?:[\\/]* ) continue;;
1938 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1939 esac
1940 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1941 done
1943 # There might be people who depend on the old broken behavior: `$host'
1944 # used to hold the argument of --host etc.
1945 # FIXME: To remove some day.
1946 build=$build_alias
1947 host=$host_alias
1948 target=$target_alias
1950 # FIXME: To remove some day.
1951 if test "x$host_alias" != x; then
1952 if test "x$build_alias" = x; then
1953 cross_compiling=maybe
1954 elif test "x$build_alias" != "x$host_alias"; then
1955 cross_compiling=yes
1959 ac_tool_prefix=
1960 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1962 test "$silent" = yes && exec 6>/dev/null
1965 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1966 ac_ls_di=`ls -di .` &&
1967 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1968 as_fn_error $? "working directory cannot be determined"
1969 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1970 as_fn_error $? "pwd does not report name of working directory"
1973 # Find the source files, if location was not specified.
1974 if test -z "$srcdir"; then
1975 ac_srcdir_defaulted=yes
1976 # Try the directory containing this script, then the parent directory.
1977 ac_confdir=`$as_dirname -- "$as_myself" ||
1978 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1979 X"$as_myself" : 'X\(//\)[^/]' \| \
1980 X"$as_myself" : 'X\(//\)$' \| \
1981 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1982 $as_echo X"$as_myself" |
1983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1984 s//\1/
1987 /^X\(\/\/\)[^/].*/{
1988 s//\1/
1991 /^X\(\/\/\)$/{
1992 s//\1/
1995 /^X\(\/\).*/{
1996 s//\1/
1999 s/.*/./; q'`
2000 srcdir=$ac_confdir
2001 if test ! -r "$srcdir/$ac_unique_file"; then
2002 srcdir=..
2004 else
2005 ac_srcdir_defaulted=no
2007 if test ! -r "$srcdir/$ac_unique_file"; then
2008 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2009 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2011 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2012 ac_abs_confdir=`(
2013 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2014 pwd)`
2015 # When building in place, set srcdir=.
2016 if test "$ac_abs_confdir" = "$ac_pwd"; then
2017 srcdir=.
2019 # Remove unnecessary trailing slashes from srcdir.
2020 # Double slashes in file names in object file debugging info
2021 # mess up M-x gdb in Emacs.
2022 case $srcdir in
2023 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2024 esac
2025 for ac_var in $ac_precious_vars; do
2026 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2027 eval ac_env_${ac_var}_value=\$${ac_var}
2028 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2029 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2030 done
2033 # Report the --help message.
2035 if test "$ac_init_help" = "long"; then
2036 # Omit some internal or obsolete options to make the list less imposing.
2037 # This message is too long to be a string in the A/UX 3.1 sh.
2038 cat <<_ACEOF
2039 \`configure' configures Wine 1.7.45 to adapt to many kinds of systems.
2041 Usage: $0 [OPTION]... [VAR=VALUE]...
2043 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2044 VAR=VALUE. See below for descriptions of some of the useful variables.
2046 Defaults for the options are specified in brackets.
2048 Configuration:
2049 -h, --help display this help and exit
2050 --help=short display options specific to this package
2051 --help=recursive display the short help of all the included packages
2052 -V, --version display version information and exit
2053 -q, --quiet, --silent do not print \`checking ...' messages
2054 --cache-file=FILE cache test results in FILE [disabled]
2055 -C, --config-cache alias for \`--cache-file=config.cache'
2056 -n, --no-create do not create output files
2057 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2059 Installation directories:
2060 --prefix=PREFIX install architecture-independent files in PREFIX
2061 [$ac_default_prefix]
2062 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2063 [PREFIX]
2065 By default, \`make install' will install all the files in
2066 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2067 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2068 for instance \`--prefix=\$HOME'.
2070 For better control, use the options below.
2072 Fine tuning of the installation directories:
2073 --bindir=DIR user executables [EPREFIX/bin]
2074 --sbindir=DIR system admin executables [EPREFIX/sbin]
2075 --libexecdir=DIR program executables [EPREFIX/libexec]
2076 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2077 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2078 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2079 --libdir=DIR object code libraries [EPREFIX/lib]
2080 --includedir=DIR C header files [PREFIX/include]
2081 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2082 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2083 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2084 --infodir=DIR info documentation [DATAROOTDIR/info]
2085 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2086 --mandir=DIR man documentation [DATAROOTDIR/man]
2087 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2088 --htmldir=DIR html documentation [DOCDIR]
2089 --dvidir=DIR dvi documentation [DOCDIR]
2090 --pdfdir=DIR pdf documentation [DOCDIR]
2091 --psdir=DIR ps documentation [DOCDIR]
2092 _ACEOF
2094 cat <<\_ACEOF
2096 X features:
2097 --x-includes=DIR X include files are in DIR
2098 --x-libraries=DIR X library files are in DIR
2100 System types:
2101 --build=BUILD configure for building on BUILD [guessed]
2102 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2103 _ACEOF
2106 if test -n "$ac_init_help"; then
2107 case $ac_init_help in
2108 short | recursive ) echo "Configuration of Wine 1.7.45:";;
2109 esac
2110 cat <<\_ACEOF
2112 Optional Features:
2113 --disable-option-checking ignore unrecognized --enable/--with options
2114 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2115 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2116 --disable-win16 do not include Win16 support
2117 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2118 binaries)
2119 --disable-tests do not build the regression tests
2120 --enable-maintainer-mode
2121 enable maintainer-specific build rules
2122 --disable-largefile omit support for large files
2124 Optional Packages:
2125 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2126 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2127 --without-alsa do not use the Alsa sound support
2128 --without-capi do not use CAPI (ISDN support)
2129 --without-cms do not use CMS (color management support)
2130 --without-coreaudio do not use the CoreAudio sound support
2131 --without-cups do not use CUPS
2132 --without-curses do not use (n)curses
2133 --without-dbus do not use DBus (dynamic device support)
2134 --without-fontconfig do not use fontconfig
2135 --without-freetype do not use the FreeType library
2136 --without-gettext do not use gettext
2137 --with-gettextpo use the GetTextPO library to rebuild po files
2138 --without-gphoto do not use gphoto (Digital Camera support)
2139 --without-glu do not use the GLU library
2140 --without-gnutls do not use GnuTLS (schannel support)
2141 --without-gsm do not use libgsm (GSM 06.10 codec support)
2142 --without-gstreamer do not use GStreamer (codecs support)
2143 --without-hal do not use HAL (dynamic device support)
2144 --without-jpeg do not use JPEG
2145 --without-ldap do not use LDAP
2146 --without-mpg123 do not use the mpg123 library
2147 --without-netapi do not use the Samba NetAPI library
2148 --without-openal do not use OpenAL
2149 --without-opencl do not use OpenCL
2150 --without-opengl do not use OpenGL
2151 --without-osmesa do not use the OSMesa library
2152 --without-oss do not use the OSS sound support
2153 --without-pcap do not use the Packet Capture library
2154 --without-png do not use PNG
2155 --without-pthread do not use the pthread library
2156 --without-sane do not use SANE (scanner support)
2157 --without-tiff do not use TIFF
2158 --without-v4l do not use v4l1 (v4l support)
2159 --without-xcomposite do not use the Xcomposite extension
2160 --without-xcursor do not use the Xcursor extension
2161 --without-xinerama do not use Xinerama (multi-monitor support)
2162 --without-xinput do not use the Xinput extension
2163 --without-xinput2 do not use the Xinput 2 extension
2164 --without-xml do not use XML
2165 --without-xrandr do not use Xrandr (resolution changes)
2166 --without-xrender do not use the Xrender extension
2167 --without-xshape do not use the Xshape extension
2168 --without-xshm do not use XShm (shared memory extension)
2169 --without-xslt do not use XSLT
2170 --without-xxf86vm do not use XFree video mode extension
2171 --without-zlib do not use Zlib (data compression)
2172 --with-wine-tools=DIR use Wine tools from directory DIR
2173 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2174 --with-x use the X Window System
2176 Some influential environment variables:
2177 CC C compiler command
2178 CFLAGS C compiler flags
2179 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2180 nonstandard directory <lib dir>
2181 LIBS libraries to pass to the linker, e.g. -l<library>
2182 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2183 you have headers in a nonstandard directory <include dir>
2184 CXX C++ compiler command
2185 CXXFLAGS C++ compiler flags
2186 CPP C preprocessor
2187 XMKMF Path to xmkmf, Makefile generator for X Window System
2188 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2189 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2190 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2191 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2192 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2193 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2194 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2195 HAL_LIBS Linker flags for hal, overriding pkg-config
2196 GNUTLS_CFLAGS
2197 C compiler flags for gnutls, overriding pkg-config
2198 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2199 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2200 SANE_LIBS Linker flags for libsane, overriding pkg-config
2201 GPHOTO2_CFLAGS
2202 C compiler flags for libgphoto2, overriding pkg-config
2203 GPHOTO2_LIBS
2204 Linker flags for libgphoto2, overriding pkg-config
2205 GPHOTO2_PORT_CFLAGS
2206 C compiler flags for libgphoto2_port, overriding pkg-config
2207 GPHOTO2_PORT_LIBS
2208 Linker flags for libgphoto2_port, overriding pkg-config
2209 LCMS2_CFLAGS
2210 C compiler flags for lcms2, overriding pkg-config
2211 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2212 FREETYPE_CFLAGS
2213 C compiler flags for freetype2, overriding pkg-config
2214 FREETYPE_LIBS
2215 Linker flags for freetype2, overriding pkg-config
2216 GSTREAMER_CFLAGS
2217 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2218 GSTREAMER_LIBS
2219 Linker flags for gstreamer-app-0.10, overriding pkg-config
2220 CAPI20_CFLAGS
2221 C compiler flags for capi20, overriding pkg-config
2222 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2223 FONTCONFIG_CFLAGS
2224 C compiler flags for fontconfig, overriding pkg-config
2225 FONTCONFIG_LIBS
2226 Linker flags for fontconfig, overriding pkg-config
2227 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2228 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2229 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2230 PNG_LIBS Linker flags for libpng, overriding pkg-config
2231 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2232 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2233 MPG123_CFLAGS
2234 C compiler flags for libmpg123, overriding pkg-config
2235 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2237 Use these variables to override the choices made by `configure' or to help
2238 it to find libraries and programs with nonstandard names/locations.
2240 Report bugs to <wine-devel@winehq.org>.
2241 Wine home page: <http://www.winehq.org>.
2242 _ACEOF
2243 ac_status=$?
2246 if test "$ac_init_help" = "recursive"; then
2247 # If there are subdirs, report their specific --help.
2248 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2249 test -d "$ac_dir" ||
2250 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2251 continue
2252 ac_builddir=.
2254 case "$ac_dir" in
2255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2258 # A ".." for each directory in $ac_dir_suffix.
2259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2260 case $ac_top_builddir_sub in
2261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2263 esac ;;
2264 esac
2265 ac_abs_top_builddir=$ac_pwd
2266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2267 # for backward compatibility:
2268 ac_top_builddir=$ac_top_build_prefix
2270 case $srcdir in
2271 .) # We are building in place.
2272 ac_srcdir=.
2273 ac_top_srcdir=$ac_top_builddir_sub
2274 ac_abs_top_srcdir=$ac_pwd ;;
2275 [\\/]* | ?:[\\/]* ) # Absolute name.
2276 ac_srcdir=$srcdir$ac_dir_suffix;
2277 ac_top_srcdir=$srcdir
2278 ac_abs_top_srcdir=$srcdir ;;
2279 *) # Relative name.
2280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2281 ac_top_srcdir=$ac_top_build_prefix$srcdir
2282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2283 esac
2284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2286 cd "$ac_dir" || { ac_status=$?; continue; }
2287 # Check for guested configure.
2288 if test -f "$ac_srcdir/configure.gnu"; then
2289 echo &&
2290 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2291 elif test -f "$ac_srcdir/configure"; then
2292 echo &&
2293 $SHELL "$ac_srcdir/configure" --help=recursive
2294 else
2295 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2296 fi || ac_status=$?
2297 cd "$ac_pwd" || { ac_status=$?; break; }
2298 done
2301 test -n "$ac_init_help" && exit $ac_status
2302 if $ac_init_version; then
2303 cat <<\_ACEOF
2304 Wine configure 1.7.45
2305 generated by GNU Autoconf 2.69
2307 Copyright (C) 2012 Free Software Foundation, Inc.
2308 This configure script is free software; the Free Software Foundation
2309 gives unlimited permission to copy, distribute and modify it.
2310 _ACEOF
2311 exit
2314 ## ------------------------ ##
2315 ## Autoconf initialization. ##
2316 ## ------------------------ ##
2318 # ac_fn_c_try_compile LINENO
2319 # --------------------------
2320 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2321 ac_fn_c_try_compile ()
2323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324 rm -f conftest.$ac_objext
2325 if { { ac_try="$ac_compile"
2326 case "(($ac_try" in
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2329 esac
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_compile") 2>conftest.err
2333 ac_status=$?
2334 if test -s conftest.err; then
2335 grep -v '^ *+' conftest.err >conftest.er1
2336 cat conftest.er1 >&5
2337 mv -f conftest.er1 conftest.err
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; } && {
2341 test -z "$ac_c_werror_flag" ||
2342 test ! -s conftest.err
2343 } && test -s conftest.$ac_objext; then :
2344 ac_retval=0
2345 else
2346 $as_echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2349 ac_retval=1
2351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2352 as_fn_set_status $ac_retval
2354 } # ac_fn_c_try_compile
2356 # ac_fn_cxx_try_compile LINENO
2357 # ----------------------------
2358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2359 ac_fn_cxx_try_compile ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 rm -f conftest.$ac_objext
2363 if { { ac_try="$ac_compile"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2369 $as_echo "$ac_try_echo"; } >&5
2370 (eval "$ac_compile") 2>conftest.err
2371 ac_status=$?
2372 if test -s conftest.err; then
2373 grep -v '^ *+' conftest.err >conftest.er1
2374 cat conftest.er1 >&5
2375 mv -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; } && {
2379 test -z "$ac_cxx_werror_flag" ||
2380 test ! -s conftest.err
2381 } && test -s conftest.$ac_objext; then :
2382 ac_retval=0
2383 else
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 ac_retval=1
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390 as_fn_set_status $ac_retval
2392 } # ac_fn_cxx_try_compile
2394 # ac_fn_c_try_link LINENO
2395 # -----------------------
2396 # Try to link conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_c_try_link ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext conftest$ac_exeext
2401 if { { ac_try="$ac_link"
2402 case "(($ac_try" in
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>conftest.err
2409 ac_status=$?
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_c_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest$ac_exeext && {
2420 test "$cross_compiling" = yes ||
2421 test -x conftest$ac_exeext
2422 }; then :
2423 ac_retval=0
2424 else
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=1
2430 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2431 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2432 # interfere with the next link command; also delete a directory that is
2433 # left behind by Apple's compiler. We do this before executing the actions.
2434 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 as_fn_set_status $ac_retval
2438 } # ac_fn_c_try_link
2440 # ac_fn_c_try_cpp LINENO
2441 # ----------------------
2442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2443 ac_fn_c_try_cpp ()
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 if { { ac_try="$ac_cpp conftest.$ac_ext"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2454 ac_status=$?
2455 if test -s conftest.err; then
2456 grep -v '^ *+' conftest.err >conftest.er1
2457 cat conftest.er1 >&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } > conftest.i && {
2462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2464 }; then :
2465 ac_retval=0
2466 else
2467 $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2470 ac_retval=1
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status $ac_retval
2475 } # ac_fn_c_try_cpp
2477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2478 # -------------------------------------------------------
2479 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2480 # the include files in INCLUDES and setting the cache variable VAR
2481 # accordingly.
2482 ac_fn_c_check_header_mongrel ()
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 if eval \${$3+:} false; then :
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2487 $as_echo_n "checking for $2... " >&6; }
2488 if eval \${$3+:} false; then :
2489 $as_echo_n "(cached) " >&6
2491 eval ac_res=\$$3
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2493 $as_echo "$ac_res" >&6; }
2494 else
2495 # Is the header compilable?
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2497 $as_echo_n "checking $2 usability... " >&6; }
2498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h. */
2501 #include <$2>
2502 _ACEOF
2503 if ac_fn_c_try_compile "$LINENO"; then :
2504 ac_header_compiler=yes
2505 else
2506 ac_header_compiler=no
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2510 $as_echo "$ac_header_compiler" >&6; }
2512 # Is the header present?
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2514 $as_echo_n "checking $2 presence... " >&6; }
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2517 #include <$2>
2518 _ACEOF
2519 if ac_fn_c_try_cpp "$LINENO"; then :
2520 ac_header_preproc=yes
2521 else
2522 ac_header_preproc=no
2524 rm -f conftest.err conftest.i conftest.$ac_ext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2526 $as_echo "$ac_header_preproc" >&6; }
2528 # So? What about this header?
2529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2530 yes:no: )
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2532 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2534 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2536 no:yes:* )
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2538 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2540 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2542 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2544 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2547 ( $as_echo "## ------------------------------------ ##
2548 ## Report this to wine-devel@winehq.org ##
2549 ## ------------------------------------ ##"
2550 ) | sed "s/^/$as_me: WARNING: /" >&2
2552 esac
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if eval \${$3+:} false; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 eval "$3=\$ac_header_compiler"
2560 eval ac_res=\$$3
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2562 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 } # ac_fn_c_check_header_mongrel
2568 # ac_fn_c_try_run LINENO
2569 # ----------------------
2570 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2571 # that executables *can* be run.
2572 ac_fn_c_try_run ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 if { { ac_try="$ac_link"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_link") 2>&5
2583 ac_status=$?
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2586 { { case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_try") 2>&5
2593 ac_status=$?
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; }; }; then :
2596 ac_retval=0
2597 else
2598 $as_echo "$as_me: program exited with status $ac_status" >&5
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2602 ac_retval=$ac_status
2604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 as_fn_set_status $ac_retval
2608 } # ac_fn_c_try_run
2610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2611 # -------------------------------------------------------
2612 # Tests whether HEADER exists and can be compiled using the include files in
2613 # INCLUDES, setting the cache variable VAR accordingly.
2614 ac_fn_c_check_header_compile ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2625 #include <$2>
2626 _ACEOF
2627 if ac_fn_c_try_compile "$LINENO"; then :
2628 eval "$3=yes"
2629 else
2630 eval "$3=no"
2632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2634 eval ac_res=\$$3
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_header_compile
2641 # ac_fn_c_check_func LINENO FUNC VAR
2642 # ----------------------------------
2643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2644 ac_fn_c_check_func ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2648 $as_echo_n "checking for $2... " >&6; }
2649 if eval \${$3+:} false; then :
2650 $as_echo_n "(cached) " >&6
2651 else
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2654 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2656 #define $2 innocuous_$2
2658 /* System header to define __stub macros and hopefully few prototypes,
2659 which can conflict with char $2 (); below.
2660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2661 <limits.h> exists even on freestanding compilers. */
2663 #ifdef __STDC__
2664 # include <limits.h>
2665 #else
2666 # include <assert.h>
2667 #endif
2669 #undef $2
2671 /* Override any GCC internal prototype to avoid an error.
2672 Use char because int might match the return type of a GCC
2673 builtin and then its argument prototype would still apply. */
2674 #ifdef __cplusplus
2675 extern "C"
2676 #endif
2677 char $2 ();
2678 /* The GNU C library defines this for functions which it implements
2679 to always fail with ENOSYS. Some functions are actually named
2680 something starting with __ and the normal name is an alias. */
2681 #if defined __stub_$2 || defined __stub___$2
2682 choke me
2683 #endif
2686 main ()
2688 return $2 ();
2690 return 0;
2692 _ACEOF
2693 if ac_fn_c_try_link "$LINENO"; then :
2694 eval "$3=yes"
2695 else
2696 eval "$3=no"
2698 rm -f core conftest.err conftest.$ac_objext \
2699 conftest$ac_exeext conftest.$ac_ext
2701 eval ac_res=\$$3
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_func
2708 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2709 # ----------------------------------------------------
2710 # Tries to find if the field MEMBER exists in type AGGR, after including
2711 # INCLUDES, setting cache variable VAR accordingly.
2712 ac_fn_c_check_member ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2716 $as_echo_n "checking for $2.$3... " >&6; }
2717 if eval \${$4+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2724 main ()
2726 static $2 ac_aggr;
2727 if (ac_aggr.$3)
2728 return 0;
2730 return 0;
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 eval "$4=yes"
2735 else
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2740 main ()
2742 static $2 ac_aggr;
2743 if (sizeof ac_aggr.$3)
2744 return 0;
2746 return 0;
2748 _ACEOF
2749 if ac_fn_c_try_compile "$LINENO"; then :
2750 eval "$4=yes"
2751 else
2752 eval "$4=no"
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 eval ac_res=\$$4
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_member
2765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2766 # -------------------------------------------
2767 # Tests whether TYPE exists after having included INCLUDES, setting cache
2768 # variable VAR accordingly.
2769 ac_fn_c_check_type ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \${$3+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 eval "$3=no"
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2782 main ()
2784 if (sizeof ($2))
2785 return 0;
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2795 main ()
2797 if (sizeof (($2)))
2798 return 0;
2800 return 0;
2802 _ACEOF
2803 if ac_fn_c_try_compile "$LINENO"; then :
2805 else
2806 eval "$3=yes"
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 eval ac_res=\$$3
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 } # ac_fn_c_check_type
2818 cat >config.log <<_ACEOF
2819 This file contains any messages produced by compilers while
2820 running configure, to aid debugging if configure makes a mistake.
2822 It was created by Wine $as_me 1.7.45, which was
2823 generated by GNU Autoconf 2.69. Invocation command line was
2825 $ $0 $@
2827 _ACEOF
2828 exec 5>>config.log
2830 cat <<_ASUNAME
2831 ## --------- ##
2832 ## Platform. ##
2833 ## --------- ##
2835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2842 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2844 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2845 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2847 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2848 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2849 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2850 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2852 _ASUNAME
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 $as_echo "PATH: $as_dir"
2860 done
2861 IFS=$as_save_IFS
2863 } >&5
2865 cat >&5 <<_ACEOF
2868 ## ----------- ##
2869 ## Core tests. ##
2870 ## ----------- ##
2872 _ACEOF
2875 # Keep a trace of the command line.
2876 # Strip out --no-create and --no-recursion so they do not pile up.
2877 # Strip out --silent because we don't want to record it for future runs.
2878 # Also quote any args containing shell meta-characters.
2879 # Make two passes to allow for proper duplicate-argument suppression.
2880 ac_configure_args=
2881 ac_configure_args0=
2882 ac_configure_args1=
2883 ac_must_keep_next=false
2884 for ac_pass in 1 2
2886 for ac_arg
2888 case $ac_arg in
2889 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2891 | -silent | --silent | --silen | --sile | --sil)
2892 continue ;;
2893 *\'*)
2894 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2895 esac
2896 case $ac_pass in
2897 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2899 as_fn_append ac_configure_args1 " '$ac_arg'"
2900 if test $ac_must_keep_next = true; then
2901 ac_must_keep_next=false # Got value, back to normal.
2902 else
2903 case $ac_arg in
2904 *=* | --config-cache | -C | -disable-* | --disable-* \
2905 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2906 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2907 | -with-* | --with-* | -without-* | --without-* | --x)
2908 case "$ac_configure_args0 " in
2909 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2910 esac
2912 -* ) ac_must_keep_next=true ;;
2913 esac
2915 as_fn_append ac_configure_args " '$ac_arg'"
2917 esac
2918 done
2919 done
2920 { ac_configure_args0=; unset ac_configure_args0;}
2921 { ac_configure_args1=; unset ac_configure_args1;}
2923 # When interrupted or exit'd, cleanup temporary files, and complete
2924 # config.log. We remove comments because anyway the quotes in there
2925 # would cause problems or look ugly.
2926 # WARNING: Use '\'' to represent an apostrophe within the trap.
2927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2928 trap 'exit_status=$?
2929 # Save into config.log some information that might help in debugging.
2931 echo
2933 $as_echo "## ---------------- ##
2934 ## Cache variables. ##
2935 ## ---------------- ##"
2936 echo
2937 # The following way of writing the cache mishandles newlines in values,
2939 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2940 eval ac_val=\$$ac_var
2941 case $ac_val in #(
2942 *${as_nl}*)
2943 case $ac_var in #(
2944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2946 esac
2947 case $ac_var in #(
2948 _ | IFS | as_nl) ;; #(
2949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2950 *) { eval $ac_var=; unset $ac_var;} ;;
2951 esac ;;
2952 esac
2953 done
2954 (set) 2>&1 |
2955 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2956 *${as_nl}ac_space=\ *)
2957 sed -n \
2958 "s/'\''/'\''\\\\'\'''\''/g;
2959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2960 ;; #(
2962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2964 esac |
2965 sort
2967 echo
2969 $as_echo "## ----------------- ##
2970 ## Output variables. ##
2971 ## ----------------- ##"
2972 echo
2973 for ac_var in $ac_subst_vars
2975 eval ac_val=\$$ac_var
2976 case $ac_val in
2977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2978 esac
2979 $as_echo "$ac_var='\''$ac_val'\''"
2980 done | sort
2981 echo
2983 if test -n "$ac_subst_files"; then
2984 $as_echo "## ------------------- ##
2985 ## File substitutions. ##
2986 ## ------------------- ##"
2987 echo
2988 for ac_var in $ac_subst_files
2990 eval ac_val=\$$ac_var
2991 case $ac_val in
2992 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2993 esac
2994 $as_echo "$ac_var='\''$ac_val'\''"
2995 done | sort
2996 echo
2999 if test -s confdefs.h; then
3000 $as_echo "## ----------- ##
3001 ## confdefs.h. ##
3002 ## ----------- ##"
3003 echo
3004 cat confdefs.h
3005 echo
3007 test "$ac_signal" != 0 &&
3008 $as_echo "$as_me: caught signal $ac_signal"
3009 $as_echo "$as_me: exit $exit_status"
3010 } >&5
3011 rm -f core *.core core.conftest.* &&
3012 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3013 exit $exit_status
3015 for ac_signal in 1 2 13 15; do
3016 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3017 done
3018 ac_signal=0
3020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3021 rm -f -r conftest* confdefs.h
3023 $as_echo "/* confdefs.h */" > confdefs.h
3025 # Predefined preprocessor variables.
3027 cat >>confdefs.h <<_ACEOF
3028 #define PACKAGE_NAME "$PACKAGE_NAME"
3029 _ACEOF
3031 cat >>confdefs.h <<_ACEOF
3032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3033 _ACEOF
3035 cat >>confdefs.h <<_ACEOF
3036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3037 _ACEOF
3039 cat >>confdefs.h <<_ACEOF
3040 #define PACKAGE_STRING "$PACKAGE_STRING"
3041 _ACEOF
3043 cat >>confdefs.h <<_ACEOF
3044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3045 _ACEOF
3047 cat >>confdefs.h <<_ACEOF
3048 #define PACKAGE_URL "$PACKAGE_URL"
3049 _ACEOF
3052 # Let the site file select an alternate cache file if it wants to.
3053 # Prefer an explicitly selected file to automatically selected ones.
3054 ac_site_file1=NONE
3055 ac_site_file2=NONE
3056 if test -n "$CONFIG_SITE"; then
3057 # We do not want a PATH search for config.site.
3058 case $CONFIG_SITE in #((
3059 -*) ac_site_file1=./$CONFIG_SITE;;
3060 */*) ac_site_file1=$CONFIG_SITE;;
3061 *) ac_site_file1=./$CONFIG_SITE;;
3062 esac
3063 elif test "x$prefix" != xNONE; then
3064 ac_site_file1=$prefix/share/config.site
3065 ac_site_file2=$prefix/etc/config.site
3066 else
3067 ac_site_file1=$ac_default_prefix/share/config.site
3068 ac_site_file2=$ac_default_prefix/etc/config.site
3070 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3072 test "x$ac_site_file" = xNONE && continue
3073 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3076 sed 's/^/| /' "$ac_site_file" >&5
3077 . "$ac_site_file" \
3078 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error $? "failed to load site script $ac_site_file
3081 See \`config.log' for more details" "$LINENO" 5; }
3083 done
3085 if test -r "$cache_file"; then
3086 # Some versions of bash will fail to source /dev/null (special files
3087 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3088 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3090 $as_echo "$as_me: loading cache $cache_file" >&6;}
3091 case $cache_file in
3092 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3093 *) . "./$cache_file";;
3094 esac
3096 else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3098 $as_echo "$as_me: creating cache $cache_file" >&6;}
3099 >$cache_file
3102 # Check that the precious variables saved in the cache have kept the same
3103 # value.
3104 ac_cache_corrupted=false
3105 for ac_var in $ac_precious_vars; do
3106 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3107 eval ac_new_set=\$ac_env_${ac_var}_set
3108 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3109 eval ac_new_val=\$ac_env_${ac_var}_value
3110 case $ac_old_set,$ac_new_set in
3111 set,)
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3113 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3114 ac_cache_corrupted=: ;;
3115 ,set)
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3117 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3118 ac_cache_corrupted=: ;;
3119 ,);;
3121 if test "x$ac_old_val" != "x$ac_new_val"; then
3122 # differences in whitespace do not lead to failure.
3123 ac_old_val_w=`echo x $ac_old_val`
3124 ac_new_val_w=`echo x $ac_new_val`
3125 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3128 ac_cache_corrupted=:
3129 else
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3132 eval $ac_var=\$ac_old_val
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3135 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3137 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3138 fi;;
3139 esac
3140 # Pass precious variables to config.status.
3141 if test "$ac_new_set" = set; then
3142 case $ac_new_val in
3143 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 *) ac_arg=$ac_var=$ac_new_val ;;
3145 esac
3146 case " $ac_configure_args " in
3147 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3148 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3149 esac
3151 done
3152 if $ac_cache_corrupted; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3157 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3159 ## -------------------- ##
3160 ## Main body of script. ##
3161 ## -------------------- ##
3163 ac_ext=c
3164 ac_cpp='$CPP $CPPFLAGS'
3165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171 ac_config_headers="$ac_config_headers include/config.h"
3173 ac_aux_dir=
3174 for ac_dir in tools "$srcdir"/tools; do
3175 if test -f "$ac_dir/install-sh"; then
3176 ac_aux_dir=$ac_dir
3177 ac_install_sh="$ac_aux_dir/install-sh -c"
3178 break
3179 elif test -f "$ac_dir/install.sh"; then
3180 ac_aux_dir=$ac_dir
3181 ac_install_sh="$ac_aux_dir/install.sh -c"
3182 break
3183 elif test -f "$ac_dir/shtool"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/shtool install -c"
3186 break
3188 done
3189 if test -z "$ac_aux_dir"; then
3190 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3193 # These three variables are undocumented and unsupported,
3194 # and are intended to be withdrawn in a future Autoconf release.
3195 # They can cause serious problems if a builder's source tree is in a directory
3196 # whose full name contains unusual characters.
3197 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3198 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3199 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3203 libwine_version="1.0"
3207 # Check whether --enable-win16 was given.
3208 if test "${enable_win16+set}" = set; then :
3209 enableval=$enable_win16;
3212 # Check whether --enable-win64 was given.
3213 if test "${enable_win64+set}" = set; then :
3214 enableval=$enable_win64;
3217 # Check whether --enable-tests was given.
3218 if test "${enable_tests+set}" = set; then :
3219 enableval=$enable_tests;
3222 # Check whether --enable-maintainer-mode was given.
3223 if test "${enable_maintainer_mode+set}" = set; then :
3224 enableval=$enable_maintainer_mode;
3229 # Check whether --with-alsa was given.
3230 if test "${with_alsa+set}" = set; then :
3231 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3235 # Check whether --with-capi was given.
3236 if test "${with_capi+set}" = set; then :
3237 withval=$with_capi;
3241 # Check whether --with-cms was given.
3242 if test "${with_cms+set}" = set; then :
3243 withval=$with_cms;
3247 # Check whether --with-coreaudio was given.
3248 if test "${with_coreaudio+set}" = set; then :
3249 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3253 # Check whether --with-cups was given.
3254 if test "${with_cups+set}" = set; then :
3255 withval=$with_cups;
3259 # Check whether --with-curses was given.
3260 if test "${with_curses+set}" = set; then :
3261 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3265 # Check whether --with-dbus was given.
3266 if test "${with_dbus+set}" = set; then :
3267 withval=$with_dbus;
3271 # Check whether --with-fontconfig was given.
3272 if test "${with_fontconfig+set}" = set; then :
3273 withval=$with_fontconfig;
3277 # Check whether --with-freetype was given.
3278 if test "${with_freetype+set}" = set; then :
3279 withval=$with_freetype;
3283 # Check whether --with-gettext was given.
3284 if test "${with_gettext+set}" = set; then :
3285 withval=$with_gettext;
3289 # Check whether --with-gettextpo was given.
3290 if test "${with_gettextpo+set}" = set; then :
3291 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3295 # Check whether --with-gphoto was given.
3296 if test "${with_gphoto+set}" = set; then :
3297 withval=$with_gphoto;
3301 # Check whether --with-glu was given.
3302 if test "${with_glu+set}" = set; then :
3303 withval=$with_glu;
3307 # Check whether --with-gnutls was given.
3308 if test "${with_gnutls+set}" = set; then :
3309 withval=$with_gnutls;
3313 # Check whether --with-gsm was given.
3314 if test "${with_gsm+set}" = set; then :
3315 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3319 # Check whether --with-gstreamer was given.
3320 if test "${with_gstreamer+set}" = set; then :
3321 withval=$with_gstreamer;
3325 # Check whether --with-hal was given.
3326 if test "${with_hal+set}" = set; then :
3327 withval=$with_hal;
3331 # Check whether --with-jpeg was given.
3332 if test "${with_jpeg+set}" = set; then :
3333 withval=$with_jpeg;
3337 # Check whether --with-ldap was given.
3338 if test "${with_ldap+set}" = set; then :
3339 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3343 # Check whether --with-mpg123 was given.
3344 if test "${with_mpg123+set}" = set; then :
3345 withval=$with_mpg123;
3349 # Check whether --with-netapi was given.
3350 if test "${with_netapi+set}" = set; then :
3351 withval=$with_netapi;
3355 # Check whether --with-openal was given.
3356 if test "${with_openal+set}" = set; then :
3357 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3361 # Check whether --with-opencl was given.
3362 if test "${with_opencl+set}" = set; then :
3363 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3367 # Check whether --with-opengl was given.
3368 if test "${with_opengl+set}" = set; then :
3369 withval=$with_opengl;
3373 # Check whether --with-osmesa was given.
3374 if test "${with_osmesa+set}" = set; then :
3375 withval=$with_osmesa;
3379 # Check whether --with-oss was given.
3380 if test "${with_oss+set}" = set; then :
3381 withval=$with_oss;
3385 # Check whether --with-pcap was given.
3386 if test "${with_pcap+set}" = set; then :
3387 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3391 # Check whether --with-png was given.
3392 if test "${with_png+set}" = set; then :
3393 withval=$with_png;
3397 # Check whether --with-pthread was given.
3398 if test "${with_pthread+set}" = set; then :
3399 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3403 # Check whether --with-sane was given.
3404 if test "${with_sane+set}" = set; then :
3405 withval=$with_sane;
3409 # Check whether --with-tiff was given.
3410 if test "${with_tiff+set}" = set; then :
3411 withval=$with_tiff;
3415 # Check whether --with-v4l was given.
3416 if test "${with_v4l+set}" = set; then :
3417 withval=$with_v4l;
3421 # Check whether --with-xcomposite was given.
3422 if test "${with_xcomposite+set}" = set; then :
3423 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3427 # Check whether --with-xcursor was given.
3428 if test "${with_xcursor+set}" = set; then :
3429 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3433 # Check whether --with-xinerama was given.
3434 if test "${with_xinerama+set}" = set; then :
3435 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3439 # Check whether --with-xinput was given.
3440 if test "${with_xinput+set}" = set; then :
3441 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3445 # Check whether --with-xinput2 was given.
3446 if test "${with_xinput2+set}" = set; then :
3447 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3451 # Check whether --with-xml was given.
3452 if test "${with_xml+set}" = set; then :
3453 withval=$with_xml;
3457 # Check whether --with-xrandr was given.
3458 if test "${with_xrandr+set}" = set; then :
3459 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3463 # Check whether --with-xrender was given.
3464 if test "${with_xrender+set}" = set; then :
3465 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3469 # Check whether --with-xshape was given.
3470 if test "${with_xshape+set}" = set; then :
3471 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3475 # Check whether --with-xshm was given.
3476 if test "${with_xshm+set}" = set; then :
3477 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3481 # Check whether --with-xslt was given.
3482 if test "${with_xslt+set}" = set; then :
3483 withval=$with_xslt;
3487 # Check whether --with-xxf86vm was given.
3488 if test "${with_xxf86vm+set}" = set; then :
3489 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
3493 # Check whether --with-zlib was given.
3494 if test "${with_zlib+set}" = set; then :
3495 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3500 # Check whether --with-wine-tools was given.
3501 if test "${with_wine_tools+set}" = set; then :
3502 withval=$with_wine_tools;
3506 # Check whether --with-wine64 was given.
3507 if test "${with_wine64+set}" = set; then :
3508 withval=$with_wine64;
3512 # Make sure we can run config.sub.
3513 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3514 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3517 $as_echo_n "checking build system type... " >&6; }
3518 if ${ac_cv_build+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 ac_build_alias=$build_alias
3522 test "x$ac_build_alias" = x &&
3523 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3524 test "x$ac_build_alias" = x &&
3525 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3526 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3527 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3531 $as_echo "$ac_cv_build" >&6; }
3532 case $ac_cv_build in
3533 *-*-*) ;;
3534 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3535 esac
3536 build=$ac_cv_build
3537 ac_save_IFS=$IFS; IFS='-'
3538 set x $ac_cv_build
3539 shift
3540 build_cpu=$1
3541 build_vendor=$2
3542 shift; shift
3543 # Remember, the first character of IFS is used to create $*,
3544 # except with old shells:
3545 build_os=$*
3546 IFS=$ac_save_IFS
3547 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3551 $as_echo_n "checking host system type... " >&6; }
3552 if ${ac_cv_host+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test "x$host_alias" = x; then
3556 ac_cv_host=$ac_cv_build
3557 else
3558 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3559 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3564 $as_echo "$ac_cv_host" >&6; }
3565 case $ac_cv_host in
3566 *-*-*) ;;
3567 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3568 esac
3569 host=$ac_cv_host
3570 ac_save_IFS=$IFS; IFS='-'
3571 set x $ac_cv_host
3572 shift
3573 host_cpu=$1
3574 host_vendor=$2
3575 shift; shift
3576 # Remember, the first character of IFS is used to create $*,
3577 # except with old shells:
3578 host_os=$*
3579 IFS=$ac_save_IFS
3580 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3584 case "$srcdir" in
3585 .) ;;
3586 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3587 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3588 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3589 fi ;;
3590 esac
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3595 set x ${MAKE-make}
3596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 cat >conftest.make <<\_ACEOF
3601 SHELL = /bin/sh
3602 all:
3603 @echo '@@@%%%=$(MAKE)=@@@%%%'
3604 _ACEOF
3605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3607 *@@@%%%=?*=@@@%%%*)
3608 eval ac_cv_prog_make_${ac_make}_set=yes;;
3610 eval ac_cv_prog_make_${ac_make}_set=no;;
3611 esac
3612 rm -f conftest.make
3614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 $as_echo "yes" >&6; }
3617 SET_MAKE=
3618 else
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3621 SET_MAKE="MAKE=${MAKE-make}"
3624 ac_ext=c
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 CC=$ac_cv_prog_CC
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3668 if test -z "$ac_cv_prog_CC"; then
3669 ac_ct_CC=$CC
3670 # Extract the first word of "gcc", so it can be a program name with args.
3671 set dummy gcc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC="gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 $as_echo "$ac_ct_CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3706 if test "x$ac_ct_CC" = x; then
3707 CC=""
3708 else
3709 case $cross_compiling:$ac_tool_warned in
3710 yes:)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3714 esac
3715 CC=$ac_ct_CC
3717 else
3718 CC="$ac_cv_prog_CC"
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}cc; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3729 else
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3736 IFS=$as_save_IFS
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_CC="${ac_tool_prefix}cc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 break 2
3744 done
3745 done
3746 IFS=$as_save_IFS
3750 CC=$ac_cv_prog_CC
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 # Extract the first word of "cc", so it can be a program name with args.
3764 set dummy cc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3772 else
3773 ac_prog_rejected=no
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3777 IFS=$as_save_IFS
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3782 ac_prog_rejected=yes
3783 continue
3785 ac_cv_prog_CC="cc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3793 if test $ac_prog_rejected = yes; then
3794 # We found a bogon in the path, so make sure we never use it.
3795 set dummy $ac_cv_prog_CC
3796 shift
3797 if test $# != 0; then
3798 # We chose a different compiler from the bogus one.
3799 # However, it has the same basename, so the bogon will be chosen
3800 # first if we set CC to just the basename; use the full file name.
3801 shift
3802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3807 CC=$ac_cv_prog_CC
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC="$CC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 CC=$ac_cv_prog_CC
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$CC" && break
3860 done
3862 if test -z "$CC"; then
3863 ac_ct_CC=$CC
3864 for ac_prog in cl.exe
3866 # Extract the first word of "$ac_prog", so it can be a program name with args.
3867 set dummy $ac_prog; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 if test -n "$ac_ct_CC"; then
3874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_CC="$ac_prog"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3889 IFS=$as_save_IFS
3893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3894 if test -n "$ac_ct_CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3896 $as_echo "$ac_ct_CC" >&6; }
3897 else
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3903 test -n "$ac_ct_CC" && break
3904 done
3906 if test "x$ac_ct_CC" = x; then
3907 CC=""
3908 else
3909 case $cross_compiling:$ac_tool_warned in
3910 yes:)
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3914 esac
3915 CC=$ac_ct_CC
3922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $? "no acceptable C compiler found in \$PATH
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 # Provide some information about the compiler.
3928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3929 set X $ac_compile
3930 ac_compiler=$2
3931 for ac_option in --version -v -V -qversion; do
3932 { { ac_try="$ac_compiler $ac_option >&5"
3933 case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3940 ac_status=$?
3941 if test -s conftest.err; then
3942 sed '10a\
3943 ... rest of stderr output deleted ...
3944 10q' conftest.err >conftest.er1
3945 cat conftest.er1 >&5
3947 rm -f conftest.er1 conftest.err
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }
3950 done
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3956 main ()
3960 return 0;
3962 _ACEOF
3963 ac_clean_files_save=$ac_clean_files
3964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3965 # Try to create an executable without -o first, disregard a.out.
3966 # It will help us diagnose broken compilers, and finding out an intuition
3967 # of exeext.
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3969 $as_echo_n "checking whether the C compiler works... " >&6; }
3970 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3972 # The possible output files:
3973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3975 ac_rmfiles=
3976 for ac_file in $ac_files
3978 case $ac_file in
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3980 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3981 esac
3982 done
3983 rm -f $ac_rmfiles
3985 if { { ac_try="$ac_link_default"
3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link_default") 2>&5
3993 ac_status=$?
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }; then :
3996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3997 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3998 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3999 # so that the user can short-circuit this test for compilers unknown to
4000 # Autoconf.
4001 for ac_file in $ac_files ''
4003 test -f "$ac_file" || continue
4004 case $ac_file in
4005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4007 [ab].out )
4008 # We found the default executable, but exeext='' is most
4009 # certainly right.
4010 break;;
4011 *.* )
4012 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4013 then :; else
4014 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4016 # We set ac_cv_exeext here because the later test for it is not
4017 # safe: cross compilers may not add the suffix if given an `-o'
4018 # argument, so we may need to know it at that point already.
4019 # Even if this section looks crufty: it has the advantage of
4020 # actually working.
4021 break;;
4023 break;;
4024 esac
4025 done
4026 test "$ac_cv_exeext" = no && ac_cv_exeext=
4028 else
4029 ac_file=''
4031 if test -z "$ac_file"; then :
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error 77 "C compiler cannot create executables
4040 See \`config.log' for more details" "$LINENO" 5; }
4041 else
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4046 $as_echo_n "checking for C compiler default output file name... " >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4048 $as_echo "$ac_file" >&6; }
4049 ac_exeext=$ac_cv_exeext
4051 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4052 ac_clean_files=$ac_clean_files_save
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4054 $as_echo_n "checking for suffix of executables... " >&6; }
4055 if { { ac_try="$ac_link"
4056 case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4063 ac_status=$?
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4067 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4068 # work properly (i.e., refer to `conftest.exe'), while it won't with
4069 # `rm'.
4070 for ac_file in conftest.exe conftest conftest.*; do
4071 test -f "$ac_file" || continue
4072 case $ac_file in
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4074 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4075 break;;
4076 * ) break;;
4077 esac
4078 done
4079 else
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4083 See \`config.log' for more details" "$LINENO" 5; }
4085 rm -f conftest conftest$ac_cv_exeext
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4087 $as_echo "$ac_cv_exeext" >&6; }
4089 rm -f conftest.$ac_ext
4090 EXEEXT=$ac_cv_exeext
4091 ac_exeext=$EXEEXT
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4094 #include <stdio.h>
4096 main ()
4098 FILE *f = fopen ("conftest.out", "w");
4099 return ferror (f) || fclose (f) != 0;
4102 return 0;
4104 _ACEOF
4105 ac_clean_files="$ac_clean_files conftest.out"
4106 # Check that the compiler produces executables we can run. If not, either
4107 # the compiler is broken, or we cross compile.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4109 $as_echo_n "checking whether we are cross compiling... " >&6; }
4110 if test "$cross_compiling" != yes; then
4111 { { ac_try="$ac_link"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }
4122 if { ac_try='./conftest$ac_cv_exeext'
4123 { { case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_try") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; }; then
4133 cross_compiling=no
4134 else
4135 if test "$cross_compiling" = maybe; then
4136 cross_compiling=yes
4137 else
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot run C compiled programs.
4141 If you meant to cross compile, use \`--host'.
4142 See \`config.log' for more details" "$LINENO" 5; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4147 $as_echo "$cross_compiling" >&6; }
4149 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4150 ac_clean_files=$ac_clean_files_save
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4152 $as_echo_n "checking for suffix of object files... " >&6; }
4153 if ${ac_cv_objext+:} false; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4164 return 0;
4166 _ACEOF
4167 rm -f conftest.o conftest.obj
4168 if { { ac_try="$ac_compile"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_compile") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 for ac_file in conftest.o conftest.obj conftest.*; do
4180 test -f "$ac_file" || continue;
4181 case $ac_file in
4182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4184 break;;
4185 esac
4186 done
4187 else
4188 $as_echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $? "cannot compute suffix of object files: cannot compile
4194 See \`config.log' for more details" "$LINENO" 5; }
4196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4199 $as_echo "$ac_cv_objext" >&6; }
4200 OBJEXT=$ac_cv_objext
4201 ac_objext=$OBJEXT
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4203 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4204 if ${ac_cv_c_compiler_gnu+:} false; then :
4205 $as_echo_n "(cached) " >&6
4206 else
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4211 main ()
4213 #ifndef __GNUC__
4214 choke me
4215 #endif
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_compiler_gnu=yes
4223 else
4224 ac_compiler_gnu=no
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4231 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4232 if test $ac_compiler_gnu = yes; then
4233 GCC=yes
4234 else
4235 GCC=
4237 ac_test_CFLAGS=${CFLAGS+set}
4238 ac_save_CFLAGS=$CFLAGS
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4241 if ${ac_cv_prog_cc_g+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_save_c_werror_flag=$ac_c_werror_flag
4245 ac_c_werror_flag=yes
4246 ac_cv_prog_cc_g=no
4247 CFLAGS="-g"
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 main ()
4256 return 0;
4258 _ACEOF
4259 if ac_fn_c_try_compile "$LINENO"; then :
4260 ac_cv_prog_cc_g=yes
4261 else
4262 CFLAGS=""
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4267 main ()
4271 return 0;
4273 _ACEOF
4274 if ac_fn_c_try_compile "$LINENO"; then :
4276 else
4277 ac_c_werror_flag=$ac_save_c_werror_flag
4278 CFLAGS="-g"
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4283 main ()
4287 return 0;
4289 _ACEOF
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 ac_cv_prog_cc_g=yes
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_c_werror_flag=$ac_save_c_werror_flag
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4301 $as_echo "$ac_cv_prog_cc_g" >&6; }
4302 if test "$ac_test_CFLAGS" = set; then
4303 CFLAGS=$ac_save_CFLAGS
4304 elif test $ac_cv_prog_cc_g = yes; then
4305 if test "$GCC" = yes; then
4306 CFLAGS="-g -O2"
4307 else
4308 CFLAGS="-g"
4310 else
4311 if test "$GCC" = yes; then
4312 CFLAGS="-O2"
4313 else
4314 CFLAGS=
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4318 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4319 if ${ac_cv_prog_cc_c89+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 ac_cv_prog_cc_c89=no
4323 ac_save_CC=$CC
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4326 #include <stdarg.h>
4327 #include <stdio.h>
4328 struct stat;
4329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4330 struct buf { int x; };
4331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4332 static char *e (p, i)
4333 char **p;
4334 int i;
4336 return p[i];
4338 static char *f (char * (*g) (char **, int), char **p, ...)
4340 char *s;
4341 va_list v;
4342 va_start (v,p);
4343 s = g (p, va_arg (v,int));
4344 va_end (v);
4345 return s;
4348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4349 function prototypes and stuff, but not '\xHH' hex character constants.
4350 These don't provoke an error unfortunately, instead are silently treated
4351 as 'x'. The following induces an error, until -std is added to get
4352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4353 array size at least. It's necessary to write '\x00'==0 to get something
4354 that's true only with -std. */
4355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4358 inside strings and character constants. */
4359 #define FOO(x) 'x'
4360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4362 int test (int i, double x);
4363 struct s1 {int (*f) (int a);};
4364 struct s2 {int (*f) (double a);};
4365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4366 int argc;
4367 char **argv;
4369 main ()
4371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4373 return 0;
4375 _ACEOF
4376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4379 CC="$ac_save_CC $ac_arg"
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_c89=$ac_arg
4383 rm -f core conftest.err conftest.$ac_objext
4384 test "x$ac_cv_prog_cc_c89" != "xno" && break
4385 done
4386 rm -f conftest.$ac_ext
4387 CC=$ac_save_CC
4390 # AC_CACHE_VAL
4391 case "x$ac_cv_prog_cc_c89" in
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4394 $as_echo "none needed" >&6; } ;;
4395 xno)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4397 $as_echo "unsupported" >&6; } ;;
4399 CC="$CC $ac_cv_prog_cc_c89"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4402 esac
4403 if test "x$ac_cv_prog_cc_c89" != xno; then :
4407 ac_ext=c
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413 ac_ext=cpp
4414 ac_cpp='$CXXCPP $CPPFLAGS'
4415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4418 if test -z "$CXX"; then
4419 if test -n "$CCC"; then
4420 CXX=$CCC
4421 else
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CXX+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CXX"; then
4433 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CXX=$ac_cv_prog_CXX
4453 if test -n "$CXX"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4455 $as_echo "$CXX" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$CXX" && break
4463 done
4465 if test -z "$CXX"; then
4466 ac_ct_CXX=$CXX
4467 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4469 # Extract the first word of "$ac_prog", so it can be a program name with args.
4470 set dummy $ac_prog; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$ac_ct_CXX"; then
4477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4497 if test -n "$ac_ct_CXX"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4499 $as_echo "$ac_ct_CXX" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$ac_ct_CXX" && break
4507 done
4509 if test "x$ac_ct_CXX" = x; then
4510 CXX="g++"
4511 else
4512 case $cross_compiling:$ac_tool_warned in
4513 yes:)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4517 esac
4518 CXX=$ac_ct_CXX
4524 # Provide some information about the compiler.
4525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4526 set X $ac_compile
4527 ac_compiler=$2
4528 for ac_option in --version -v -V -qversion; do
4529 { { ac_try="$ac_compiler $ac_option >&5"
4530 case "(($ac_try" in
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4533 esac
4534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4535 $as_echo "$ac_try_echo"; } >&5
4536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4537 ac_status=$?
4538 if test -s conftest.err; then
4539 sed '10a\
4540 ... rest of stderr output deleted ...
4541 10q' conftest.err >conftest.er1
4542 cat conftest.er1 >&5
4544 rm -f conftest.er1 conftest.err
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }
4547 done
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4550 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4551 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4560 #ifndef __GNUC__
4561 choke me
4562 #endif
4565 return 0;
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_compiler_gnu=yes
4570 else
4571 ac_compiler_gnu=no
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4579 if test $ac_compiler_gnu = yes; then
4580 GXX=yes
4581 else
4582 GXX=
4584 ac_test_CXXFLAGS=${CXXFLAGS+set}
4585 ac_save_CXXFLAGS=$CXXFLAGS
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4588 if ${ac_cv_prog_cxx_g+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4592 ac_cxx_werror_flag=yes
4593 ac_cv_prog_cxx_g=no
4594 CXXFLAGS="-g"
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_cxx_try_compile "$LINENO"; then :
4607 ac_cv_prog_cxx_g=yes
4608 else
4609 CXXFLAGS=""
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_cxx_try_compile "$LINENO"; then :
4623 else
4624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4625 CXXFLAGS="-g"
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4630 main ()
4634 return 0;
4636 _ACEOF
4637 if ac_fn_cxx_try_compile "$LINENO"; then :
4638 ac_cv_prog_cxx_g=yes
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4648 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4649 if test "$ac_test_CXXFLAGS" = set; then
4650 CXXFLAGS=$ac_save_CXXFLAGS
4651 elif test $ac_cv_prog_cxx_g = yes; then
4652 if test "$GXX" = yes; then
4653 CXXFLAGS="-g -O2"
4654 else
4655 CXXFLAGS="-g"
4657 else
4658 if test "$GXX" = yes; then
4659 CXXFLAGS="-O2"
4660 else
4661 CXXFLAGS=
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 if test -n "$ac_tool_prefix"; then
4671 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4672 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_CPPBIN+:} false; then :
4676 $as_echo_n "(cached) " >&6
4677 else
4678 if test -n "$CPPBIN"; then
4679 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4680 else
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 for as_dir in $PATH
4684 IFS=$as_save_IFS
4685 test -z "$as_dir" && as_dir=.
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4688 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 break 2
4692 done
4693 done
4694 IFS=$as_save_IFS
4698 CPPBIN=$ac_cv_prog_CPPBIN
4699 if test -n "$CPPBIN"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4701 $as_echo "$CPPBIN" >&6; }
4702 else
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4709 if test -z "$ac_cv_prog_CPPBIN"; then
4710 ac_ct_CPPBIN=$CPPBIN
4711 # Extract the first word of "cpp", so it can be a program name with args.
4712 set dummy cpp; ac_word=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4716 $as_echo_n "(cached) " >&6
4717 else
4718 if test -n "$ac_ct_CPPBIN"; then
4719 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=.
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_ac_ct_CPPBIN="cpp"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4739 if test -n "$ac_ct_CPPBIN"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4741 $as_echo "$ac_ct_CPPBIN" >&6; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4747 if test "x$ac_ct_CPPBIN" = x; then
4748 CPPBIN="cpp"
4749 else
4750 case $cross_compiling:$ac_tool_warned in
4751 yes:)
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4754 ac_tool_warned=yes ;;
4755 esac
4756 CPPBIN=$ac_ct_CPPBIN
4758 else
4759 CPPBIN="$ac_cv_prog_CPPBIN"
4763 cat >>confdefs.h <<_ACEOF
4764 #define EXEEXT "$ac_exeext"
4765 _ACEOF
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4769 set dummy ${ac_tool_prefix}ld; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_LD+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 if test -n "$LD"; then
4776 ac_cv_prog_LD="$LD" # Let the user override the test.
4777 else
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH
4781 IFS=$as_save_IFS
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_LD="${ac_tool_prefix}ld"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 break 2
4789 done
4790 done
4791 IFS=$as_save_IFS
4795 LD=$ac_cv_prog_LD
4796 if test -n "$LD"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4798 $as_echo "$LD" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4806 if test -z "$ac_cv_prog_LD"; then
4807 ac_ct_LD=$LD
4808 # Extract the first word of "ld", so it can be a program name with args.
4809 set dummy ld; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 if test -n "$ac_ct_LD"; then
4816 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4817 else
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_ac_ct_LD="ld"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 break 2
4829 done
4830 done
4831 IFS=$as_save_IFS
4835 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4836 if test -n "$ac_ct_LD"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4838 $as_echo "$ac_ct_LD" >&6; }
4839 else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4844 if test "x$ac_ct_LD" = x; then
4845 LD=""
4846 else
4847 case $cross_compiling:$ac_tool_warned in
4848 yes:)
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4851 ac_tool_warned=yes ;;
4852 esac
4853 LD=$ac_ct_LD
4855 else
4856 LD="$ac_cv_prog_LD"
4860 case $host in
4861 *-darwin*)
4862 if test "x$enable_win64" = "xyes"
4863 then
4864 CC="$CC -m64"
4865 CXX="$CXX -m64"
4866 host_cpu="x86_64"
4867 notice_platform="64-bit "
4868 TARGETFLAGS="-m64"
4870 else
4871 CC="$CC -m32"
4872 CXX="$CXX -m32"
4873 host_cpu="i386"
4874 notice_platform="32-bit "
4875 TARGETFLAGS="-m32"
4877 enable_win16=${enable_win16:-yes}
4879 with_fontconfig=${with_fontconfig:-no}
4881 x86_64*|amd64*)
4882 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4883 then
4884 CC="$CC -m32"
4885 CXX="$CXX -m32"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4887 $as_echo_n "checking whether $CC works... " >&6; }
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4893 main ()
4897 return 0;
4899 _ACEOF
4900 if ac_fn_c_try_link "$LINENO"; then :
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4908 rm -f core conftest.err conftest.$ac_objext \
4909 conftest$ac_exeext conftest.$ac_ext
4910 host_cpu="i386"
4911 notice_platform="32-bit "
4912 TARGETFLAGS="-m32"
4914 enable_win16=${enable_win16:-yes}
4915 else
4916 if test "x${GCC}" = "xyes"
4917 then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4919 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4922 #include <stdarg.h>
4924 main ()
4926 void func(__builtin_ms_va_list *args);
4928 return 0;
4930 _ACEOF
4931 if ac_fn_c_try_compile "$LINENO"; then :
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4934 else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 host_cpu="x86_64"
4942 TARGETFLAGS="-m64"
4946 arm*)
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4948 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 int ac_test(int i) { return i; }
4953 main ()
4955 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_link "$LINENO"; then :
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962 $as_echo "yes" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4968 rm -f core conftest.err conftest.$ac_objext \
4969 conftest$ac_exeext conftest.$ac_ext
4970 CFLAGS="$CFLAGS -marm"
4971 TARGETFLAGS="-marm"
4974 *-mingw32*|*-cygwin*)
4975 enable_win16=${enable_win16:-no}
4976 CFLAGS="$CFLAGS -D_WIN32"
4978 i[3456789]86*)
4979 enable_win16=${enable_win16:-yes}
4981 esac
4983 enable_win16=${enable_win16:-no}
4984 enable_win64=${enable_win64:-no}
4986 enable_winetest=${enable_winetest:-$enable_tests}
4988 if test -n "$with_wine64"
4989 then
4990 if test "x$enable_win64" = "xyes"
4991 then
4992 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4993 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4995 enable_fonts=${enable_fonts:-no}
4996 enable_server=${enable_server:-no}
4997 elif test "x$enable_win64" = "xyes"
4998 then
4999 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5003 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5004 if ${wine_cv_toolsdir+:} false; then :
5005 $as_echo_n "(cached) " >&6
5006 else
5007 wine_cv_toolsdir="$with_wine_tools"
5008 if test -z "$with_wine_tools"; then
5009 if test "$cross_compiling" = "yes"; then
5010 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5011 elif test -n "$with_wine64"; then
5012 wine_cv_toolsdir="$with_wine64"
5015 if test -z "$wine_cv_toolsdir"; then
5016 wine_makedep=tools/makedep
5017 wine_cv_toolsdir="\$(top_builddir)"
5018 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5019 wine_makedep=$wine_cv_toolsdir/tools/makedep
5020 case "$wine_cv_toolsdir" in
5021 /*) ;;
5022 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5023 esac
5024 enable_tools=${enable_tools:-no}
5025 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5026 else
5027 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5031 $as_echo "$wine_cv_toolsdir" >&6; }
5032 TOOLSDIR=$wine_cv_toolsdir
5034 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5035 then
5036 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5040 for ac_prog in flex
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy $ac_prog; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_FLEX+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$FLEX"; then
5050 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_FLEX="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 FLEX=$ac_cv_prog_FLEX
5070 if test -n "$FLEX"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5072 $as_echo "$FLEX" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$FLEX" && break
5080 done
5081 test -n "$FLEX" || FLEX="none"
5083 if test "$FLEX" = "none"
5084 then
5085 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5088 $as_echo_n "checking whether flex is recent enough... " >&6; }
5089 cat >conftest.l <<EOF
5090 %top{
5091 #include "prediluvian.h"
5095 if $FLEX -t conftest.l >/dev/null 2>&5
5096 then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5098 $as_echo "yes" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5105 for ac_prog in bison
5107 # Extract the first word of "$ac_prog", so it can be a program name with args.
5108 set dummy $ac_prog; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_BISON+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$BISON"; then
5115 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_BISON="$ac_prog"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 BISON=$ac_cv_prog_BISON
5135 if test -n "$BISON"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5137 $as_echo "$BISON" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5144 test -n "$BISON" && break
5145 done
5146 test -n "$BISON" || BISON="none"
5148 if test "$BISON" = "none"
5149 then
5150 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5153 if test -n "$ac_tool_prefix"; then
5154 for ac_prog in ar gar
5156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_AR+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$AR"; then
5164 ac_cv_prog_AR="$AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5173 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 AR=$ac_cv_prog_AR
5184 if test -n "$AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5186 $as_echo "$AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$AR" && break
5194 done
5196 if test -z "$AR"; then
5197 ac_ct_AR=$AR
5198 for ac_prog in ar gar
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy $ac_prog; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5205 $as_echo_n "(cached) " >&6
5206 else
5207 if test -n "$ac_ct_AR"; then
5208 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_ac_ct_AR="$ac_prog"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5228 if test -n "$ac_ct_AR"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5230 $as_echo "$ac_ct_AR" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5237 test -n "$ac_ct_AR" && break
5238 done
5240 if test "x$ac_ct_AR" = x; then
5241 AR="ar"
5242 else
5243 case $cross_compiling:$ac_tool_warned in
5244 yes:)
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned=yes ;;
5248 esac
5249 AR=$ac_ct_AR
5253 if test -n "$ac_tool_prefix"; then
5254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5255 set dummy ${ac_tool_prefix}strip; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_STRIP+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$STRIP"; then
5262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 STRIP=$ac_cv_prog_STRIP
5282 if test -n "$STRIP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5284 $as_echo "$STRIP" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5292 if test -z "$ac_cv_prog_STRIP"; then
5293 ac_ct_STRIP=$STRIP
5294 # Extract the first word of "strip", so it can be a program name with args.
5295 set dummy strip; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 if test -n "$ac_ct_STRIP"; then
5302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_ac_ct_STRIP="strip"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5322 if test -n "$ac_ct_STRIP"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5324 $as_echo "$ac_ct_STRIP" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5330 if test "x$ac_ct_STRIP" = x; then
5331 STRIP="strip"
5332 else
5333 case $cross_compiling:$ac_tool_warned in
5334 yes:)
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337 ac_tool_warned=yes ;;
5338 esac
5339 STRIP=$ac_ct_STRIP
5341 else
5342 STRIP="$ac_cv_prog_STRIP"
5345 ARFLAGS=rc
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_RANLIB+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if test -n "$RANLIB"; then
5356 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5371 IFS=$as_save_IFS
5375 RANLIB=$ac_cv_prog_RANLIB
5376 if test -n "$RANLIB"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5378 $as_echo "$RANLIB" >&6; }
5379 else
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_RANLIB"; then
5387 ac_ct_RANLIB=$RANLIB
5388 # Extract the first word of "ranlib", so it can be a program name with args.
5389 set dummy ranlib; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 if test -n "$ac_ct_RANLIB"; then
5396 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5401 IFS=$as_save_IFS
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_RANLIB="ranlib"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 break 2
5409 done
5410 done
5411 IFS=$as_save_IFS
5415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5416 if test -n "$ac_ct_RANLIB"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5418 $as_echo "$ac_ct_RANLIB" >&6; }
5419 else
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_RANLIB" = x; then
5425 RANLIB=":"
5426 else
5427 case $cross_compiling:$ac_tool_warned in
5428 yes:)
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5432 esac
5433 RANLIB=$ac_ct_RANLIB
5435 else
5436 RANLIB="$ac_cv_prog_RANLIB"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5440 $as_echo_n "checking whether ln -s works... " >&6; }
5441 LN_S=$as_ln_s
5442 if test "$LN_S" = "ln -s"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5444 $as_echo "yes" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5447 $as_echo "no, using $LN_S" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5452 if ${ac_cv_path_GREP+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -z "$GREP"; then
5456 ac_path_GREP_found=false
5457 # Loop through the user's path and test for each of PROGNAME-LIST
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_prog in grep ggrep; do
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5466 as_fn_executable_p "$ac_path_GREP" || continue
5467 # Check for GNU ac_path_GREP and select it if it is found.
5468 # Check for GNU $ac_path_GREP
5469 case `"$ac_path_GREP" --version 2>&1` in
5470 *GNU*)
5471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5473 ac_count=0
5474 $as_echo_n 0123456789 >"conftest.in"
5475 while :
5477 cat "conftest.in" "conftest.in" >"conftest.tmp"
5478 mv "conftest.tmp" "conftest.in"
5479 cp "conftest.in" "conftest.nl"
5480 $as_echo 'GREP' >> "conftest.nl"
5481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5483 as_fn_arith $ac_count + 1 && ac_count=$as_val
5484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5485 # Best one so far, save it but keep looking for a better one
5486 ac_cv_path_GREP="$ac_path_GREP"
5487 ac_path_GREP_max=$ac_count
5489 # 10*(2^10) chars as input seems more than enough
5490 test $ac_count -gt 10 && break
5491 done
5492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5493 esac
5495 $ac_path_GREP_found && break 3
5496 done
5497 done
5498 done
5499 IFS=$as_save_IFS
5500 if test -z "$ac_cv_path_GREP"; then
5501 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5503 else
5504 ac_cv_path_GREP=$GREP
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5509 $as_echo "$ac_cv_path_GREP" >&6; }
5510 GREP="$ac_cv_path_GREP"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5514 $as_echo_n "checking for egrep... " >&6; }
5515 if ${ac_cv_path_EGREP+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5519 then ac_cv_path_EGREP="$GREP -E"
5520 else
5521 if test -z "$EGREP"; then
5522 ac_path_EGREP_found=false
5523 # Loop through the user's path and test for each of PROGNAME-LIST
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_prog in egrep; do
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5532 as_fn_executable_p "$ac_path_EGREP" || continue
5533 # Check for GNU ac_path_EGREP and select it if it is found.
5534 # Check for GNU $ac_path_EGREP
5535 case `"$ac_path_EGREP" --version 2>&1` in
5536 *GNU*)
5537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5539 ac_count=0
5540 $as_echo_n 0123456789 >"conftest.in"
5541 while :
5543 cat "conftest.in" "conftest.in" >"conftest.tmp"
5544 mv "conftest.tmp" "conftest.in"
5545 cp "conftest.in" "conftest.nl"
5546 $as_echo 'EGREP' >> "conftest.nl"
5547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5549 as_fn_arith $ac_count + 1 && ac_count=$as_val
5550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5551 # Best one so far, save it but keep looking for a better one
5552 ac_cv_path_EGREP="$ac_path_EGREP"
5553 ac_path_EGREP_max=$ac_count
5555 # 10*(2^10) chars as input seems more than enough
5556 test $ac_count -gt 10 && break
5557 done
5558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5559 esac
5561 $ac_path_EGREP_found && break 3
5562 done
5563 done
5564 done
5565 IFS=$as_save_IFS
5566 if test -z "$ac_cv_path_EGREP"; then
5567 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5569 else
5570 ac_cv_path_EGREP=$EGREP
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5576 $as_echo "$ac_cv_path_EGREP" >&6; }
5577 EGREP="$ac_cv_path_EGREP"
5580 # Extract the first word of "ldconfig", so it can be a program name with args.
5581 set dummy ldconfig; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_path_LDCONFIG+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 case $LDCONFIG in
5588 [\\/]* | ?:[\\/]*)
5589 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in /sbin /usr/sbin $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5607 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5609 esac
5611 LDCONFIG=$ac_cv_path_LDCONFIG
5612 if test -n "$LDCONFIG"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5614 $as_echo "$LDCONFIG" >&6; }
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5621 for ac_prog in msgfmt
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_MSGFMT+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$MSGFMT"; then
5631 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_MSGFMT="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 MSGFMT=$ac_cv_prog_MSGFMT
5651 if test -n "$MSGFMT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5653 $as_echo "$MSGFMT" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$MSGFMT" && break
5661 done
5662 test -n "$MSGFMT" || MSGFMT="false"
5664 if ${ac_tool_prefix+:} false; then :
5665 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$PKG_CONFIG"; then
5673 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5693 if test -n "$PKG_CONFIG"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5695 $as_echo "$PKG_CONFIG" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5703 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5704 if test "x$cross_compiling" = xyes; then :
5706 else
5707 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5708 # Extract the first word of "pkg-config", so it can be a program name with args.
5709 set dummy pkg-config; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -n "$PKG_CONFIG"; then
5716 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_PKG_CONFIG="pkg-config"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5736 if test -n "$PKG_CONFIG"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5738 $as_echo "$PKG_CONFIG" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5746 else
5747 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5750 if test "x$enable_maintainer_mode" != "xyes"
5751 then
5752 FONTFORGE=""
5753 RSVG=""
5754 CONVERT=""
5755 ICOTOOL=""
5756 else
5757 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5758 for ac_prog in fontforge
5760 # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy $ac_prog; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_FONTFORGE+:} false; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$FONTFORGE"; then
5768 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_FONTFORGE="$ac_prog"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5781 done
5782 done
5783 IFS=$as_save_IFS
5787 FONTFORGE=$ac_cv_prog_FONTFORGE
5788 if test -n "$FONTFORGE"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5790 $as_echo "$FONTFORGE" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5797 test -n "$FONTFORGE" && break
5798 done
5799 test -n "$FONTFORGE" || FONTFORGE="false"
5801 for ac_prog in rsvg-convert rsvg
5803 # Extract the first word of "$ac_prog", so it can be a program name with args.
5804 set dummy $ac_prog; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_RSVG+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 if test -n "$RSVG"; then
5811 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5816 IFS=$as_save_IFS
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_RSVG="$ac_prog"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 break 2
5824 done
5825 done
5826 IFS=$as_save_IFS
5830 RSVG=$ac_cv_prog_RSVG
5831 if test -n "$RSVG"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5833 $as_echo "$RSVG" >&6; }
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5840 test -n "$RSVG" && break
5841 done
5842 test -n "$RSVG" || RSVG="false"
5844 for ac_prog in convert
5846 # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_CONVERT+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if test -n "$CONVERT"; then
5854 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_CONVERT="$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 CONVERT=$ac_cv_prog_CONVERT
5874 if test -n "$CONVERT"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5876 $as_echo "$CONVERT" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$CONVERT" && break
5884 done
5885 test -n "$CONVERT" || CONVERT="false"
5887 for ac_prog in icotool
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_ICOTOOL+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$ICOTOOL"; then
5897 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_ICOTOOL="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 ICOTOOL=$ac_cv_prog_ICOTOOL
5917 if test -n "$ICOTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5919 $as_echo "$ICOTOOL" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$ICOTOOL" && break
5927 done
5928 test -n "$ICOTOOL" || ICOTOOL="false"
5930 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5931 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5933 if test "$CONVERT" = false
5934 then
5935 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5938 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5939 convert_version=`convert --version | head -n1`
5940 if test "x$convert_version" != "x"
5941 then
5942 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5945 then
5946 CONVERT=false
5949 if test "$CONVERT" = false
5950 then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5952 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5953 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5956 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5960 if test "$ICOTOOL" = false
5961 then
5962 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5965 $as_echo_n "checking for recent enough icotool... " >&6; }
5966 icotool_version=`icotool --version | head -n1`
5967 if test "x$icotool_version" != "x"
5968 then
5969 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5970 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5971 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5972 then
5973 ICOTOOL=false
5974 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5977 if test "$ICOTOOL" = false
5978 then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5980 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5981 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5984 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5988 with_gettext=yes
5989 with_gettextpo=yes
5990 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5993 test "x$with_gettext" != xno || MSGFMT=false
5994 if test "$MSGFMT" != "false"
5995 then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5997 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5998 cat >conftest.po <<EOF
5999 # comment
6000 msgctxt "ctxt"
6001 msgid "id"
6002 msgstr "str"
6004 if $MSGFMT -o /dev/null conftest.po 2>&5
6005 then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6007 $as_echo "yes" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6011 MSGFMT=false
6014 if test "$MSGFMT" = false; then :
6015 case "x$with_gettext" in
6016 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6017 xno) ;;
6018 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6019 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6020 esac
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6025 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6026 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 ac_check_lib_save_LIBS=$LIBS
6030 LIBS="-li386 $LIBS"
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6034 /* Override any GCC internal prototype to avoid an error.
6035 Use char because int might match the return type of a GCC
6036 builtin and then its argument prototype would still apply. */
6037 #ifdef __cplusplus
6038 extern "C"
6039 #endif
6040 char i386_set_ldt ();
6042 main ()
6044 return i386_set_ldt ();
6046 return 0;
6048 _ACEOF
6049 if ac_fn_c_try_link "$LINENO"; then :
6050 ac_cv_lib_i386_i386_set_ldt=yes
6051 else
6052 ac_cv_lib_i386_i386_set_ldt=no
6054 rm -f core conftest.err conftest.$ac_objext \
6055 conftest$ac_exeext conftest.$ac_ext
6056 LIBS=$ac_check_lib_save_LIBS
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6059 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6060 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6061 cat >>confdefs.h <<_ACEOF
6062 #define HAVE_LIBI386 1
6063 _ACEOF
6065 LIBS="-li386 $LIBS"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6070 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6071 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 ac_check_lib_save_LIBS=$LIBS
6075 LIBS="-lossaudio $LIBS"
6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6079 /* Override any GCC internal prototype to avoid an error.
6080 Use char because int might match the return type of a GCC
6081 builtin and then its argument prototype would still apply. */
6082 #ifdef __cplusplus
6083 extern "C"
6084 #endif
6085 char _oss_ioctl ();
6087 main ()
6089 return _oss_ioctl ();
6091 return 0;
6093 _ACEOF
6094 if ac_fn_c_try_link "$LINENO"; then :
6095 ac_cv_lib_ossaudio__oss_ioctl=yes
6096 else
6097 ac_cv_lib_ossaudio__oss_ioctl=no
6099 rm -f core conftest.err conftest.$ac_objext \
6100 conftest$ac_exeext conftest.$ac_ext
6101 LIBS=$ac_check_lib_save_LIBS
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6104 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6105 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6106 cat >>confdefs.h <<_ACEOF
6107 #define HAVE_LIBOSSAUDIO 1
6108 _ACEOF
6110 LIBS="-lossaudio $LIBS"
6115 OPENGL_LIBS=""
6119 # Check whether --enable-largefile was given.
6120 if test "${enable_largefile+set}" = set; then :
6121 enableval=$enable_largefile;
6124 if test "$enable_largefile" != no; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6127 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6128 if ${ac_cv_sys_largefile_CC+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 ac_cv_sys_largefile_CC=no
6132 if test "$GCC" != yes; then
6133 ac_save_CC=$CC
6134 while :; do
6135 # IRIX 6.2 and later do not support large files by default,
6136 # so use the C compiler's -n32 option if that helps.
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6139 #include <sys/types.h>
6140 /* Check that off_t can represent 2**63 - 1 correctly.
6141 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6142 since some C++ compilers masquerading as C compilers
6143 incorrectly reject 9223372036854775807. */
6144 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6145 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6146 && LARGE_OFF_T % 2147483647 == 1)
6147 ? 1 : -1];
6149 main ()
6153 return 0;
6155 _ACEOF
6156 if ac_fn_c_try_compile "$LINENO"; then :
6157 break
6159 rm -f core conftest.err conftest.$ac_objext
6160 CC="$CC -n32"
6161 if ac_fn_c_try_compile "$LINENO"; then :
6162 ac_cv_sys_largefile_CC=' -n32'; break
6164 rm -f core conftest.err conftest.$ac_objext
6165 break
6166 done
6167 CC=$ac_save_CC
6168 rm -f conftest.$ac_ext
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6172 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6173 if test "$ac_cv_sys_largefile_CC" != no; then
6174 CC=$CC$ac_cv_sys_largefile_CC
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6178 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6179 if ${ac_cv_sys_file_offset_bits+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 while :; do
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #include <sys/types.h>
6186 /* Check that off_t can represent 2**63 - 1 correctly.
6187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6188 since some C++ compilers masquerading as C compilers
6189 incorrectly reject 9223372036854775807. */
6190 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6192 && LARGE_OFF_T % 2147483647 == 1)
6193 ? 1 : -1];
6195 main ()
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_compile "$LINENO"; then :
6203 ac_cv_sys_file_offset_bits=no; break
6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #define _FILE_OFFSET_BITS 64
6209 #include <sys/types.h>
6210 /* Check that off_t can represent 2**63 - 1 correctly.
6211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6212 since some C++ compilers masquerading as C compilers
6213 incorrectly reject 9223372036854775807. */
6214 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6216 && LARGE_OFF_T % 2147483647 == 1)
6217 ? 1 : -1];
6219 main ()
6223 return 0;
6225 _ACEOF
6226 if ac_fn_c_try_compile "$LINENO"; then :
6227 ac_cv_sys_file_offset_bits=64; break
6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 ac_cv_sys_file_offset_bits=unknown
6231 break
6232 done
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6235 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6236 case $ac_cv_sys_file_offset_bits in #(
6237 no | unknown) ;;
6239 cat >>confdefs.h <<_ACEOF
6240 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6241 _ACEOF
6243 esac
6244 rm -rf conftest*
6245 if test $ac_cv_sys_file_offset_bits = unknown; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6247 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6248 if ${ac_cv_sys_large_files+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 while :; do
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6262 ? 1 : -1];
6264 main ()
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_sys_large_files=no; break
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #define _LARGE_FILES 1
6278 #include <sys/types.h>
6279 /* Check that off_t can represent 2**63 - 1 correctly.
6280 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6281 since some C++ compilers masquerading as C compilers
6282 incorrectly reject 9223372036854775807. */
6283 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6285 && LARGE_OFF_T % 2147483647 == 1)
6286 ? 1 : -1];
6288 main ()
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_compile "$LINENO"; then :
6296 ac_cv_sys_large_files=1; break
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299 ac_cv_sys_large_files=unknown
6300 break
6301 done
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6304 $as_echo "$ac_cv_sys_large_files" >&6; }
6305 case $ac_cv_sys_large_files in #(
6306 no | unknown) ;;
6308 cat >>confdefs.h <<_ACEOF
6309 #define _LARGE_FILES $ac_cv_sys_large_files
6310 _ACEOF
6312 esac
6313 rm -rf conftest*
6320 ac_ext=c
6321 ac_cpp='$CPP $CPPFLAGS'
6322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6326 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6327 # On Suns, sometimes $CPP names a directory.
6328 if test -n "$CPP" && test -d "$CPP"; then
6329 CPP=
6331 if test -z "$CPP"; then
6332 if ${ac_cv_prog_CPP+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 # Double quotes because CPP needs to be expanded
6336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6338 ac_preproc_ok=false
6339 for ac_c_preproc_warn_flag in '' yes
6341 # Use a header file that comes with gcc, so configuring glibc
6342 # with a fresh cross-compiler works.
6343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6344 # <limits.h> exists even on freestanding compilers.
6345 # On the NeXT, cc -E runs the code through the compiler's parser,
6346 # not just through cpp. "Syntax error" is here to catch this case.
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #ifdef __STDC__
6350 # include <limits.h>
6351 #else
6352 # include <assert.h>
6353 #endif
6354 Syntax error
6355 _ACEOF
6356 if ac_fn_c_try_cpp "$LINENO"; then :
6358 else
6359 # Broken: fails on valid input.
6360 continue
6362 rm -f conftest.err conftest.i conftest.$ac_ext
6364 # OK, works on sane cases. Now check whether nonexistent headers
6365 # can be detected and how.
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <ac_nonexistent.h>
6369 _ACEOF
6370 if ac_fn_c_try_cpp "$LINENO"; then :
6371 # Broken: success on invalid input.
6372 continue
6373 else
6374 # Passes both tests.
6375 ac_preproc_ok=:
6376 break
6378 rm -f conftest.err conftest.i conftest.$ac_ext
6380 done
6381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6382 rm -f conftest.i conftest.err conftest.$ac_ext
6383 if $ac_preproc_ok; then :
6384 break
6387 done
6388 ac_cv_prog_CPP=$CPP
6391 CPP=$ac_cv_prog_CPP
6392 else
6393 ac_cv_prog_CPP=$CPP
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6396 $as_echo "$CPP" >&6; }
6397 ac_preproc_ok=false
6398 for ac_c_preproc_warn_flag in '' yes
6400 # Use a header file that comes with gcc, so configuring glibc
6401 # with a fresh cross-compiler works.
6402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6403 # <limits.h> exists even on freestanding compilers.
6404 # On the NeXT, cc -E runs the code through the compiler's parser,
6405 # not just through cpp. "Syntax error" is here to catch this case.
6406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6408 #ifdef __STDC__
6409 # include <limits.h>
6410 #else
6411 # include <assert.h>
6412 #endif
6413 Syntax error
6414 _ACEOF
6415 if ac_fn_c_try_cpp "$LINENO"; then :
6417 else
6418 # Broken: fails on valid input.
6419 continue
6421 rm -f conftest.err conftest.i conftest.$ac_ext
6423 # OK, works on sane cases. Now check whether nonexistent headers
6424 # can be detected and how.
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <ac_nonexistent.h>
6428 _ACEOF
6429 if ac_fn_c_try_cpp "$LINENO"; then :
6430 # Broken: success on invalid input.
6431 continue
6432 else
6433 # Passes both tests.
6434 ac_preproc_ok=:
6435 break
6437 rm -f conftest.err conftest.i conftest.$ac_ext
6439 done
6440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6441 rm -f conftest.i conftest.err conftest.$ac_ext
6442 if $ac_preproc_ok; then :
6444 else
6445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6447 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6448 See \`config.log' for more details" "$LINENO" 5; }
6451 ac_ext=c
6452 ac_cpp='$CPP $CPPFLAGS'
6453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6459 $as_echo_n "checking for ANSI C header files... " >&6; }
6460 if ${ac_cv_header_stdc+:} false; then :
6461 $as_echo_n "(cached) " >&6
6462 else
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <stdlib.h>
6466 #include <stdarg.h>
6467 #include <string.h>
6468 #include <float.h>
6471 main ()
6475 return 0;
6477 _ACEOF
6478 if ac_fn_c_try_compile "$LINENO"; then :
6479 ac_cv_header_stdc=yes
6480 else
6481 ac_cv_header_stdc=no
6483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485 if test $ac_cv_header_stdc = yes; then
6486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <string.h>
6491 _ACEOF
6492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6493 $EGREP "memchr" >/dev/null 2>&1; then :
6495 else
6496 ac_cv_header_stdc=no
6498 rm -f conftest*
6502 if test $ac_cv_header_stdc = yes; then
6503 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #include <stdlib.h>
6508 _ACEOF
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "free" >/dev/null 2>&1; then :
6512 else
6513 ac_cv_header_stdc=no
6515 rm -f conftest*
6519 if test $ac_cv_header_stdc = yes; then
6520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6521 if test "$cross_compiling" = yes; then :
6523 else
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <ctype.h>
6527 #include <stdlib.h>
6528 #if ((' ' & 0x0FF) == 0x020)
6529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 #else
6532 # define ISLOWER(c) \
6533 (('a' <= (c) && (c) <= 'i') \
6534 || ('j' <= (c) && (c) <= 'r') \
6535 || ('s' <= (c) && (c) <= 'z'))
6536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6537 #endif
6539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6541 main ()
6543 int i;
6544 for (i = 0; i < 256; i++)
6545 if (XOR (islower (i), ISLOWER (i))
6546 || toupper (i) != TOUPPER (i))
6547 return 2;
6548 return 0;
6550 _ACEOF
6551 if ac_fn_c_try_run "$LINENO"; then :
6553 else
6554 ac_cv_header_stdc=no
6556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6557 conftest.$ac_objext conftest.beam conftest.$ac_ext
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6563 $as_echo "$ac_cv_header_stdc" >&6; }
6564 if test $ac_cv_header_stdc = yes; then
6566 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6570 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6571 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6572 inttypes.h stdint.h unistd.h
6573 do :
6574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6575 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6578 cat >>confdefs.h <<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 _ACEOF
6584 done
6587 for ac_header in \
6588 AL/al.h \
6589 ApplicationServices/ApplicationServices.h \
6590 AudioToolbox/AudioConverter.h \
6591 AudioUnit/AudioUnit.h \
6592 AudioUnit/AudioComponent.h \
6593 CL/cl.h \
6594 Carbon/Carbon.h \
6595 CoreAudio/CoreAudio.h \
6596 CoreServices/CoreServices.h \
6597 DiskArbitration/DiskArbitration.h \
6598 IOKit/IOKitLib.h \
6599 IOKit/hid/IOHIDLib.h \
6600 OpenAL/al.h \
6601 OpenCL/opencl.h \
6602 QuickTime/ImageCompression.h \
6603 Security/Security.h \
6604 alias.h \
6605 alsa/asoundlib.h \
6606 arpa/inet.h \
6607 arpa/nameser.h \
6608 asm/types.h \
6609 asm/user.h \
6610 curses.h \
6611 direct.h \
6612 dirent.h \
6613 dlfcn.h \
6614 elf.h \
6615 float.h \
6616 fnmatch.h \
6617 getopt.h \
6618 gettext-po.h \
6619 grp.h \
6620 gsm.h \
6621 gsm/gsm.h \
6622 ieeefp.h \
6623 inet/mib2.h \
6624 io.h \
6625 kstat.h \
6626 lber.h \
6627 ldap.h \
6628 libproc.h \
6629 libunwind.h \
6630 link.h \
6631 linux/cdrom.h \
6632 linux/compiler.h \
6633 linux/filter.h \
6634 linux/hdreg.h \
6635 linux/input.h \
6636 linux/ioctl.h \
6637 linux/joystick.h \
6638 linux/major.h \
6639 linux/param.h \
6640 linux/serial.h \
6641 linux/types.h \
6642 linux/ucdrom.h \
6643 lwp.h \
6644 mach-o/nlist.h \
6645 mach-o/loader.h \
6646 mach/mach.h \
6647 mach/machine.h \
6648 machine/cpu.h \
6649 machine/limits.h \
6650 machine/sysarch.h \
6651 mntent.h \
6652 ncurses.h \
6653 netdb.h \
6654 netinet/in.h \
6655 netinet/in_systm.h \
6656 netinet/tcp.h \
6657 netinet/tcp_fsm.h \
6658 pcap/pcap.h \
6659 poll.h \
6660 port.h \
6661 process.h \
6662 pthread.h \
6663 pwd.h \
6664 sched.h \
6665 scsi/scsi.h \
6666 scsi/scsi_ioctl.h \
6667 scsi/sg.h \
6668 stdbool.h \
6669 stdint.h \
6670 stropts.h \
6671 sys/asoundlib.h \
6672 sys/attr.h \
6673 sys/cdio.h \
6674 sys/elf32.h \
6675 sys/epoll.h \
6676 sys/event.h \
6677 sys/exec_elf.h \
6678 sys/filio.h \
6679 sys/inotify.h \
6680 sys/ioctl.h \
6681 sys/ipc.h \
6682 sys/limits.h \
6683 sys/link.h \
6684 sys/mman.h \
6685 sys/modem.h \
6686 sys/msg.h \
6687 sys/mtio.h \
6688 sys/param.h \
6689 sys/poll.h \
6690 sys/prctl.h \
6691 sys/protosw.h \
6692 sys/ptrace.h \
6693 sys/queue.h \
6694 sys/resource.h \
6695 sys/scsiio.h \
6696 sys/shm.h \
6697 sys/signal.h \
6698 sys/socket.h \
6699 sys/socketvar.h \
6700 sys/sockio.h \
6701 sys/statvfs.h \
6702 sys/strtio.h \
6703 sys/syscall.h \
6704 sys/tihdr.h \
6705 sys/time.h \
6706 sys/timeout.h \
6707 sys/times.h \
6708 sys/uio.h \
6709 sys/user.h \
6710 sys/utsname.h \
6711 sys/vm86.h \
6712 sys/vnode.h \
6713 sys/wait.h \
6714 syscall.h \
6715 termios.h \
6716 unistd.h \
6717 utime.h \
6718 valgrind/memcheck.h \
6719 valgrind/valgrind.h \
6720 zlib.h
6722 do :
6723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6726 cat >>confdefs.h <<_ACEOF
6727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6728 _ACEOF
6732 done
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6735 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6736 if ${ac_cv_header_stat_broken+:} false; then :
6737 $as_echo_n "(cached) " >&6
6738 else
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 #include <sys/types.h>
6742 #include <sys/stat.h>
6744 #if defined S_ISBLK && defined S_IFDIR
6745 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6746 #endif
6748 #if defined S_ISBLK && defined S_IFCHR
6749 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6750 #endif
6752 #if defined S_ISLNK && defined S_IFREG
6753 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6754 #endif
6756 #if defined S_ISSOCK && defined S_IFREG
6757 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6758 #endif
6760 _ACEOF
6761 if ac_fn_c_try_compile "$LINENO"; then :
6762 ac_cv_header_stat_broken=no
6763 else
6764 ac_cv_header_stat_broken=yes
6766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6769 $as_echo "$ac_cv_header_stat_broken" >&6; }
6770 if test $ac_cv_header_stat_broken = yes; then
6772 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6778 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6779 do :
6780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6781 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6782 #ifdef HAVE_SYS_PARAM_H
6783 # include <sys/param.h>
6784 #endif
6786 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6787 cat >>confdefs.h <<_ACEOF
6788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6789 _ACEOF
6793 done
6796 for ac_header in \
6797 netinet/ip.h \
6798 net/if.h \
6799 net/if_arp.h \
6800 net/if_dl.h \
6801 net/if_types.h \
6802 net/route.h \
6803 netinet/if_ether.h \
6804 netinet/if_inarp.h \
6805 netinet/in_pcb.h \
6806 netinet/ip_icmp.h \
6807 netinet/ip_var.h \
6808 netinet/udp.h \
6809 netipx/ipx.h \
6810 sys/un.h \
6812 do :
6813 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6814 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6817 #endif
6818 #ifdef HAVE_SYS_SOCKETVAR_H
6819 # include <sys/socketvar.h>
6820 #endif
6821 #ifdef HAVE_NET_ROUTE_H
6822 # include <net/route.h>
6823 #endif
6824 #ifdef HAVE_NETINET_IN_H
6825 # include <netinet/in.h>
6826 #endif
6827 #ifdef HAVE_NETINET_IN_SYSTM_H
6828 # include <netinet/in_systm.h>
6829 #endif
6830 #ifdef HAVE_NET_IF_H
6831 # include <net/if.h>
6832 #endif
6833 #ifdef HAVE_NETINET_IP_H
6834 # include <netinet/ip.h>
6835 #endif
6837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 _ACEOF
6844 done
6847 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6848 do :
6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6851 #ifdef HAVE_ALIAS_H
6852 # include <alias.h>
6853 #endif
6854 #ifdef HAVE_SYS_SOCKET_H
6855 # include <sys/socket.h>
6856 #endif
6857 #ifdef HAVE_SYS_SOCKETVAR_H
6858 # include <sys/socketvar.h>
6859 #endif
6860 #ifdef HAVE_SYS_TIMEOUT_H
6861 # include <sys/timeout.h>
6862 #endif
6863 #ifdef HAVE_NETINET_IN_H
6864 # include <netinet/in.h>
6865 #endif
6866 #ifdef HAVE_NETINET_IN_SYSTM_H
6867 # include <netinet/in_systm.h>
6868 #endif
6869 #ifdef HAVE_NETINET_IP_H
6870 # include <netinet/ip.h>
6871 #endif
6872 #ifdef HAVE_NETINET_IP_VAR_H
6873 # include <netinet/ip_var.h>
6874 #endif
6875 #ifdef HAVE_NETINET_IP_ICMP_H
6876 # include <netinet/ip_icmp.h>
6877 #endif
6878 #ifdef HAVE_NETINET_UDP_H
6879 # include <netinet/udp.h>
6880 #endif
6881 #ifdef HAVE_NETINET_TCP_H
6882 # include <netinet/tcp.h>
6883 #endif
6884 #ifdef HAVE_NETINET_TCP_TIMER_H
6885 #include <netinet/tcp_timer.h>
6886 #endif
6888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6889 cat >>confdefs.h <<_ACEOF
6890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6891 _ACEOF
6895 done
6898 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6899 do :
6900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6901 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6902 #ifdef HAVE_ASM_TYPES_H
6903 # include <asm/types.h>
6904 #endif
6905 #ifdef HAVE_SYS_SOCKET_H
6906 # include <sys/socket.h>
6907 #endif
6908 #ifdef HAVE_LINUX_TYPES_H
6909 # include <linux/types.h>
6910 #endif
6912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6913 cat >>confdefs.h <<_ACEOF
6914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6915 _ACEOF
6919 done
6922 for ac_header in mach-o/dyld_images.h
6923 do :
6924 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6925 # include <stdbool.h>
6926 #endif
6927 #ifdef HAVE_STDINT_H
6928 # include <stdint.h>
6929 #endif
6931 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6932 cat >>confdefs.h <<_ACEOF
6933 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6934 _ACEOF
6938 done
6941 for ac_header in resolv.h
6942 do :
6943 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6944 #ifdef HAVE_SYS_SOCKET_H
6945 # include <sys/socket.h>
6946 #endif
6947 #ifdef HAVE_NETINET_IN_H
6948 # include <netinet/in.h>
6949 #endif
6950 #ifdef HAVE_ARPA_NAMESER_H
6951 # include <arpa/nameser.h>
6952 #endif
6954 if test "x$ac_cv_header_resolv_h" = xyes; then :
6955 cat >>confdefs.h <<_ACEOF
6956 #define HAVE_RESOLV_H 1
6957 _ACEOF
6961 done
6964 for ac_header in ifaddrs.h
6965 do :
6966 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6968 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6969 cat >>confdefs.h <<_ACEOF
6970 #define HAVE_IFADDRS_H 1
6971 _ACEOF
6975 done
6978 for ac_header in sys/ucontext.h
6979 do :
6980 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6982 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6983 cat >>confdefs.h <<_ACEOF
6984 #define HAVE_SYS_UCONTEXT_H 1
6985 _ACEOF
6989 done
6992 for ac_header in sys/thr.h
6993 do :
6994 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6995 #ifdef HAVE_SYS_UCONTEXT_H
6996 #include <sys/ucontext.h>
6997 #endif
6999 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_SYS_THR_H 1
7002 _ACEOF
7006 done
7009 for ac_header in pthread_np.h
7010 do :
7011 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7012 #include <pthread.h>
7013 #endif
7015 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7016 cat >>confdefs.h <<_ACEOF
7017 #define HAVE_PTHREAD_NP_H 1
7018 _ACEOF
7022 done
7025 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7026 do :
7027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7028 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7029 #include <sys/time.h>
7030 #endif
7031 #include <sys/types.h>
7032 #ifdef HAVE_ASM_TYPES_H
7033 #include <asm/types.h>
7034 #endif
7036 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7039 _ACEOF
7043 done
7046 for ac_header in libprocstat.h
7047 do :
7048 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7049 #include <sys/param.h>
7050 #endif
7051 #ifdef HAVE_SYS_QUEUE_H
7052 #include <sys/queue.h>
7053 #endif
7054 #ifdef HAVE_SYS_SOCKET_H
7055 #include <sys/socket.h>
7056 #endif
7058 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7059 cat >>confdefs.h <<_ACEOF
7060 #define HAVE_LIBPROCSTAT_H 1
7061 _ACEOF
7065 done
7069 dlldir="\${libdir}/wine"
7071 DLLPREFIX=""
7073 DLLFLAGS="-D_REENTRANT"
7075 LDRPATH_INSTALL=""
7077 LDRPATH_LOCAL=""
7079 LIBEXT="so"
7080 DLLEXT=".so"
7081 IMPLIBEXT="def"
7082 STATIC_IMPLIBEXT="def.a"
7083 # Extract the first word of "ldd", so it can be a program name with args.
7084 set dummy ldd; ac_word=$2
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7086 $as_echo_n "checking for $ac_word... " >&6; }
7087 if ${ac_cv_path_LDD+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 case $LDD in
7091 [\\/]* | ?:[\\/]*)
7092 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 as_dummy="/sbin:/usr/sbin:$PATH"
7097 for as_dir in $as_dummy
7099 IFS=$as_save_IFS
7100 test -z "$as_dir" && as_dir=.
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7111 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7113 esac
7115 LDD=$ac_cv_path_LDD
7116 if test -n "$LDD"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7118 $as_echo "$LDD" >&6; }
7119 else
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7127 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_READELF+:} false; then :
7131 $as_echo_n "(cached) " >&6
7132 else
7133 if test -n "$READELF"; then
7134 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7139 IFS=$as_save_IFS
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 break 2
7147 done
7148 done
7149 IFS=$as_save_IFS
7153 READELF=$ac_cv_prog_READELF
7154 if test -n "$READELF"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7156 $as_echo "$READELF" >&6; }
7157 else
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7164 if test -z "$ac_cv_prog_READELF"; then
7165 ac_ct_READELF=$READELF
7166 # Extract the first word of "readelf", so it can be a program name with args.
7167 set dummy readelf; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 if test -n "$ac_ct_READELF"; then
7174 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7175 else
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 for as_dir in $PATH
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 ac_cv_prog_ac_ct_READELF="readelf"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185 break 2
7187 done
7188 done
7189 IFS=$as_save_IFS
7193 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7194 if test -n "$ac_ct_READELF"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7196 $as_echo "$ac_ct_READELF" >&6; }
7197 else
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7202 if test "x$ac_ct_READELF" = x; then
7203 READELF="true"
7204 else
7205 case $cross_compiling:$ac_tool_warned in
7206 yes:)
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned=yes ;;
7210 esac
7211 READELF=$ac_ct_READELF
7213 else
7214 READELF="$ac_cv_prog_READELF"
7217 wine_rules_file=conf$$rules.make
7218 rm -f $wine_rules_file
7219 ALL_POT_FILES=""
7220 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7221 ALL_TEST_RESOURCES=""
7224 wine_fn_append_file ()
7226 as_fn_append $1 " \\$as_nl $2"
7229 wine_fn_ignore_file ()
7231 case "$1" in
7232 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7233 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7234 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7235 esac
7238 wine_fn_append_rule ()
7240 $as_echo "$1" >>$wine_rules_file
7243 wine_fn_has_flag ()
7245 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7248 wine_fn_depend_rules ()
7250 wine_fn_append_rule \
7251 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7252 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7253 depend: $ac_dir/depend
7254 .PHONY: $ac_dir/depend
7255 $ac_dir/depend: \$(MAKEDEP) dummy
7256 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7259 wine_fn_pot_rules ()
7261 test "x$with_gettextpo" = xyes || return
7263 if wine_fn_has_flag mc
7264 then
7265 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7266 wine_fn_append_rule \
7267 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7268 @cd $ac_dir && \$(MAKE) msg.pot
7269 $ac_dir/msg.pot: tools/wmc include"
7271 if wine_fn_has_flag po
7272 then
7273 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7274 wine_fn_append_rule \
7275 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7276 @cd $ac_dir && \$(MAKE) rsrc.pot
7277 $ac_dir/rsrc.pot: tools/wrc include"
7281 wine_fn_all_rules ()
7283 wine_fn_depend_rules
7284 wine_fn_append_rule \
7285 "all: $ac_dir
7286 .PHONY: $ac_dir
7287 $ac_dir: $ac_dir/Makefile dummy
7288 @cd $ac_dir && \$(MAKE)"
7291 wine_fn_install_rules ()
7293 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7295 wine_fn_append_rule \
7296 ".PHONY: $ac_dir/install $ac_dir/uninstall
7297 $ac_dir/install:: $ac_dir
7298 @cd $ac_dir && \$(MAKE) install
7299 $ac_dir/uninstall:: $ac_dir/Makefile
7300 @cd $ac_dir && \$(MAKE) uninstall
7301 install:: $ac_dir/install
7302 __uninstall__: $ac_dir/uninstall"
7304 if wine_fn_has_flag install-lib
7305 then
7306 wine_fn_append_rule \
7307 ".PHONY: $ac_dir/install-lib
7308 $ac_dir/install-lib:: $ac_dir
7309 @cd $ac_dir && \$(MAKE) install-lib
7310 install-lib:: $ac_dir/install-lib"
7313 if wine_fn_has_flag install-dev
7314 then
7315 wine_fn_append_rule \
7316 ".PHONY: $ac_dir/install-dev
7317 $ac_dir/install-dev:: $ac_dir
7318 @cd $ac_dir && \$(MAKE) install-dev
7319 install-dev:: $ac_dir/install-dev"
7323 wine_fn_clean_rules ()
7325 ac_clean=$@
7326 ac_extraclean="$ac_dir/Makefile"
7327 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7328 case $ac_dir in
7329 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7330 esac
7332 if wine_fn_has_flag clean
7333 then
7334 wine_fn_append_rule \
7335 "__clean__: $ac_dir/clean
7336 .PHONY: $ac_dir/clean
7337 $ac_dir/clean: $ac_dir/Makefile
7338 @cd $ac_dir && \$(MAKE) clean
7339 \$(RM) $ac_extraclean"
7340 else
7341 wine_fn_append_rule \
7342 "__clean__: $ac_dir/clean
7343 .PHONY: $ac_dir/clean
7344 $ac_dir/clean: dummy
7345 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7349 wine_fn_disabled_rules ()
7351 ac_clean=$@
7352 ac_extraclean="$ac_dir/Makefile"
7353 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7355 wine_fn_append_rule \
7356 "__clean__: $ac_dir/clean
7357 .PHONY: $ac_dir/clean
7358 $ac_dir/clean: dummy
7359 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7362 wine_fn_config_makefile ()
7364 ac_dir=$1
7365 ac_enable=$2
7366 ac_flags=$3
7368 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7369 wine_fn_disabled_rules; return
7371 wine_fn_all_rules
7372 wine_fn_install_rules
7373 wine_fn_clean_rules
7376 wine_fn_config_lib ()
7378 ac_name=$1
7379 ac_flags=$2
7380 ac_dir=dlls/$ac_name
7381 ac_deps="include"
7383 if test "x$enable_tools" = xno; then :
7385 else
7386 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7388 wine_fn_all_rules
7389 wine_fn_clean_rules
7391 wine_fn_append_rule \
7392 ".PHONY: $ac_dir/install $ac_dir/uninstall
7393 $ac_dir/install:: $ac_dir
7394 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7395 $ac_dir/uninstall::
7396 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7397 install install-dev:: $ac_dir/install
7398 __uninstall__: $ac_dir/uninstall
7399 __builddeps__: $ac_dir
7400 $ac_dir: $ac_deps"
7403 wine_fn_config_dll ()
7405 ac_name=$1
7406 ac_dir=dlls/$ac_name
7407 ac_enable=$2
7408 ac_flags=$3
7409 ac_implib=${4:-$ac_name}
7410 ac_file=$ac_dir/lib$ac_implib
7411 ac_dll=$ac_name
7412 ac_deps="include"
7413 ac_implibflags=""
7415 if test "x$enable_tools" = xno; then :
7417 else
7418 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7420 case $ac_name in
7421 *16) ac_implibflags=" -m16" ;;
7422 *.*) ;;
7423 *) ac_dll=$ac_dll.dll ;;
7424 esac
7426 ac_clean=
7427 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7428 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7429 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7430 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7432 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7433 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7434 then
7435 wine_fn_depend_rules
7436 wine_fn_clean_rules $ac_clean
7437 else
7438 wine_fn_disabled_rules $ac_clean
7439 return
7441 else
7442 wine_fn_all_rules
7443 wine_fn_clean_rules $ac_clean
7444 wine_fn_append_rule \
7445 "$ac_dir: __builddeps__
7446 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7447 @cd $ac_dir && \$(MAKE) \$@
7448 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7449 install install-lib:: $ac_dir/install-lib
7450 __uninstall__: $ac_dir/uninstall"
7451 if test -n "$DLLEXT"
7452 then
7453 wine_fn_append_rule \
7454 "$ac_dir/install-lib:: $ac_dir
7455 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7456 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7457 $ac_dir/uninstall::
7458 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7459 else
7460 wine_fn_append_rule \
7461 "$ac_dir/install-lib:: $ac_dir
7462 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7463 $ac_dir/uninstall::
7464 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7467 wine_fn_pot_rules
7470 if wine_fn_has_flag staticimplib
7471 then
7472 wine_fn_append_rule \
7473 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7474 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7475 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7476 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7477 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7478 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7479 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7480 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7481 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7482 $ac_dir/uninstall::
7483 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7484 install install-dev:: $ac_dir/install-dev
7485 __uninstall__: $ac_dir/uninstall"
7487 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7488 then
7489 wine_fn_append_rule \
7490 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7491 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7492 $ac_dir/uninstall::
7493 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7496 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7497 then
7498 wine_fn_append_rule \
7499 "__builddeps__: $ac_file.cross.a
7500 $ac_file.cross.a: $ac_dir/Makefile dummy
7501 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7504 elif wine_fn_has_flag implib
7505 then
7506 wine_fn_append_rule \
7507 "__builddeps__: $ac_file.$IMPLIBEXT
7508 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7509 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7510 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7511 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7512 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7513 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7514 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7515 $ac_dir/uninstall::
7516 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7517 install install-dev:: $ac_dir/install-dev
7518 __uninstall__: $ac_dir/uninstall"
7519 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7520 then
7521 wine_fn_append_rule \
7522 "__builddeps__: $ac_file.cross.a
7523 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7524 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7527 if test "$ac_name" != "$ac_implib"
7528 then
7529 wine_fn_append_rule \
7530 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7531 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7532 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7533 clean::
7534 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7535 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7536 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7537 then
7538 wine_fn_append_rule \
7539 "__builddeps__: dlls/lib$ac_implib.cross.a
7540 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7541 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7542 clean::
7543 \$(RM) dlls/lib$ac_implib.cross.a"
7544 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7550 wine_fn_config_program ()
7552 ac_name=$1
7553 ac_dir=programs/$ac_name
7554 ac_enable=$2
7555 ac_flags=$3
7556 ac_program=$ac_name
7558 case $ac_name in
7559 *.*) ;;
7560 *) ac_program=$ac_program.exe ;;
7561 esac
7563 ac_clean=
7564 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7565 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7566 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7567 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7569 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7570 wine_fn_disabled_rules $ac_clean; return
7573 wine_fn_all_rules
7574 wine_fn_clean_rules $ac_clean
7575 wine_fn_append_rule "$ac_dir: __builddeps__"
7576 wine_fn_pot_rules
7578 wine_fn_has_flag install || return
7579 wine_fn_append_rule \
7580 ".PHONY: $ac_dir/install $ac_dir/uninstall
7581 install install-lib:: $ac_dir/install
7582 __uninstall__: $ac_dir/uninstall"
7584 if test -n "$DLLEXT"
7585 then
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: $ac_dir
7588 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7589 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7590 $ac_dir/uninstall::
7591 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7593 if test -z "$with_wine64" && wine_fn_has_flag installbin
7594 then
7595 wine_fn_append_rule \
7596 "$ac_dir/install:: __tooldeps__
7597 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7598 $ac_dir/uninstall::
7599 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7601 else
7602 wine_fn_append_rule \
7603 "$ac_dir/install:: $ac_dir
7604 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7605 $ac_dir/uninstall::
7606 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7609 if test -z "$with_wine64" && wine_fn_has_flag manpage
7610 then
7611 wine_fn_append_rule \
7612 "$ac_dir/install:: $ac_dir
7613 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7614 $ac_dir/uninstall::
7615 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7619 wine_fn_config_test ()
7621 ac_dir=$1
7622 ac_name=$2
7623 ac_flags=$3
7625 ac_clean=
7626 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7627 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7629 if test "x$enable_tests" = xno; then :
7630 wine_fn_disabled_rules $ac_clean; return
7633 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7634 wine_fn_all_rules
7635 wine_fn_clean_rules $ac_clean
7637 wine_fn_append_rule \
7638 "$ac_dir: programs/winetest/Makefile __builddeps__
7639 programs/winetest: $ac_dir
7640 check test: $ac_dir/test
7641 .PHONY: $ac_dir/test
7642 $ac_dir/test: dummy
7643 @cd $ac_dir && \$(MAKE) test
7644 testclean::
7645 \$(RM) $ac_dir/*.ok"
7647 if test -n "$CROSSTARGET"
7648 then
7649 wine_fn_append_rule \
7650 "crosstest: $ac_dir/crosstest
7651 .PHONY: $ac_dir/crosstest
7652 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7653 @cd $ac_dir && \$(MAKE) crosstest"
7657 wine_fn_config_tool ()
7659 ac_dir=$1
7660 ac_flags=$2
7661 if test "x$enable_tools" = xno; then :
7662 return
7665 wine_fn_all_rules
7666 wine_fn_install_rules
7667 wine_fn_clean_rules
7669 wine_fn_append_rule "__tooldeps__: $ac_dir"
7670 wine_fn_append_rule "$ac_dir: libs/port"
7671 case $ac_dir in
7672 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7673 esac
7676 wine_fn_config_symlink ()
7678 ac_linkdir=
7679 if test "x$1" = "x-d"
7680 then
7681 ac_linkdir=$2
7682 shift; shift
7684 ac_links=$@
7685 wine_fn_append_rule \
7686 "$ac_links:
7687 @./config.status \$@
7688 distclean::
7689 \$(RM) $ac_links"
7690 for f in $ac_links; do wine_fn_ignore_file $f; done
7691 test -n "$ac_linkdir" || return
7692 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7695 wine_binary="wine"
7696 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7697 loader_programs="$wine_binary wine-installed"
7698 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7700 LOADER_RULES="
7701 all: wine.inf
7703 install install-lib:: wine-installed
7704 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7706 uninstall::
7707 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7711 case $host_os in
7712 cygwin*|mingw32*)
7713 if test -n "$ac_tool_prefix"; then
7714 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7715 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_DLLTOOL+:} false; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 if test -n "$DLLTOOL"; then
7722 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7723 else
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 for as_dir in $PATH
7727 IFS=$as_save_IFS
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7731 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 break 2
7735 done
7736 done
7737 IFS=$as_save_IFS
7741 DLLTOOL=$ac_cv_prog_DLLTOOL
7742 if test -n "$DLLTOOL"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7744 $as_echo "$DLLTOOL" >&6; }
7745 else
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7752 if test -z "$ac_cv_prog_DLLTOOL"; then
7753 ac_ct_DLLTOOL=$DLLTOOL
7754 # Extract the first word of "dlltool", so it can be a program name with args.
7755 set dummy dlltool; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7759 $as_echo_n "(cached) " >&6
7760 else
7761 if test -n "$ac_ct_DLLTOOL"; then
7762 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7763 else
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7765 for as_dir in $PATH
7767 IFS=$as_save_IFS
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7773 break 2
7775 done
7776 done
7777 IFS=$as_save_IFS
7781 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7782 if test -n "$ac_ct_DLLTOOL"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7784 $as_echo "$ac_ct_DLLTOOL" >&6; }
7785 else
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7790 if test "x$ac_ct_DLLTOOL" = x; then
7791 DLLTOOL="false"
7792 else
7793 case $cross_compiling:$ac_tool_warned in
7794 yes:)
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7797 ac_tool_warned=yes ;;
7798 esac
7799 DLLTOOL=$ac_ct_DLLTOOL
7801 else
7802 DLLTOOL="$ac_cv_prog_DLLTOOL"
7805 LIBEXT="dll"
7806 DLLEXT=""
7807 IMPLIBEXT="a"
7808 STATIC_IMPLIBEXT="a"
7809 enable_iphlpapi=${enable_iphlpapi:-no}
7810 enable_kernel32=${enable_kernel32:-no}
7811 enable_msvcrt=${enable_msvcrt:-no}
7812 enable_ntdll=${enable_ntdll:-no}
7813 enable_ws2_32=${enable_ws2_32:-no}
7814 enable_loader=${enable_loader:-no}
7815 enable_server=${enable_server:-no}
7816 with_x=${with_x:-no}
7817 with_pthread=${with_pthread:-no}
7819 crtlibs=""
7820 case $host_os in
7821 mingw32*)
7822 crtlibs="-lmsvcrt"
7823 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7825 esac
7827 libwine_targets="libwine.dll libwine.a"
7828 LIBWINE_RULES="
7829 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7831 all: libwine.dll libwine.a
7833 libwine.a: \$(srcdir)/wine.def
7834 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7836 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7837 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7839 install install-lib:: libwine.dll
7840 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7842 install install-dev:: libwine.a
7843 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7845 uninstall::
7846 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7851 darwin*|macosx*)
7852 LIBEXT="dylib"
7853 DLLFLAGS="$DLLFLAGS -fPIC"
7854 LIBWINE_LDFLAGS="-multiply_defined suppress"
7855 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7856 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7857 COREFOUNDATION_LIBS="-framework CoreFoundation"
7859 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7861 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7863 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7865 CORESERVICES_LIBS="-framework CoreServices"
7867 APPKIT_LIBS="-framework AppKit"
7869 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7871 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7872 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7873 $as_echo_n "(cached) " >&6
7874 else
7875 ac_wine_try_cflags_saved=$CFLAGS
7876 CFLAGS="$CFLAGS -Wl,-no_pie"
7877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7878 /* end confdefs.h. */
7879 int main(int argc, char **argv) { return 0; }
7880 _ACEOF
7881 if ac_fn_c_try_link "$LINENO"; then :
7882 ac_cv_cflags__Wl__no_pie=yes
7883 else
7884 ac_cv_cflags__Wl__no_pie=no
7886 rm -f core conftest.err conftest.$ac_objext \
7887 conftest$ac_exeext conftest.$ac_ext
7888 CFLAGS=$ac_wine_try_cflags_saved
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7891 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7892 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7893 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7895 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7896 then
7897 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7900 if test "$ac_cv_header_Security_Security_h" = "yes"
7901 then
7902 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7904 ac_save_LIBS="$LIBS"
7905 LIBS="$LIBS $SECURITY_LIBS"
7906 for ac_func in SSLCopyPeerCertificates
7907 do :
7908 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7909 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7910 cat >>confdefs.h <<_ACEOF
7911 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7912 _ACEOF
7915 done
7917 LIBS="$ac_save_LIBS"
7918 with_gnutls=${with_gnutls:-no}
7920 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7921 then
7922 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7923 then
7924 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7926 else
7927 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7930 ac_save_LIBS="$LIBS"
7931 LIBS="$LIBS $COREAUDIO_LIBS"
7932 for ac_func in AUGraphAddNode
7933 do :
7934 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7935 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7936 cat >>confdefs.h <<_ACEOF
7937 #define HAVE_AUGRAPHADDNODE 1
7938 _ACEOF
7941 done
7943 LIBS="$ac_save_LIBS"
7945 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7946 then
7947 OPENAL_LIBS="-framework OpenAL"
7950 cat >>confdefs.h <<_ACEOF
7951 #define HAVE_OPENAL 1
7952 _ACEOF
7954 ac_cv_lib_openal=yes
7956 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7957 then
7958 OPENCL_LIBS="-framework OpenCL"
7960 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7962 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7963 then
7964 ac_save_LIBS="$LIBS"
7965 LIBS="$LIBS $IOKIT_LIBS"
7966 for ac_func in IOHIDManagerCreate
7967 do :
7968 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7969 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7970 cat >>confdefs.h <<_ACEOF
7971 #define HAVE_IOHIDMANAGERCREATE 1
7972 _ACEOF
7975 done
7977 LIBS="$ac_save_LIBS"
7979 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7980 then
7981 ac_save_LIBS="$LIBS"
7982 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7984 $as_echo_n "checking for the QuickTime framework... " >&6; }
7985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7987 #include <QuickTime/ImageCompression.h>
7989 main ()
7991 CodecManagerVersion(NULL);
7993 return 0;
7995 _ACEOF
7996 if ac_fn_c_try_link "$LINENO"; then :
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7998 $as_echo "yes" >&6; }
7999 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8001 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8005 ac_cv_header_QuickTime_ImageCompression_h=no
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 LIBS="$ac_save_LIBS"
8011 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8012 then
8013 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8015 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8016 then
8017 CARBON_LIBS="-framework Carbon"
8021 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8022 then
8023 ac_save_LIBS="$LIBS"
8024 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8025 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8026 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8027 enable_winemac_drv=${enable_winemac_drv:-yes}
8030 LIBS="$ac_save_LIBS"
8033 if test "x$enable_win16" = "xyes"
8034 then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8036 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8037 if test "$cross_compiling" = yes; then :
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8039 $as_echo "cross-compiling, assuming yes" >&6; }
8040 else
8041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8042 /* end confdefs.h. */
8043 asm(".text\n"
8044 "bad:\tnop;nop\n"
8045 "good:\tnop;nop\n\t"
8046 ".globl _testfunc\n"
8047 "_testfunc:\tcallw good");
8048 extern void testfunc();
8050 main ()
8052 unsigned short *p = (unsigned short *)testfunc;
8053 return p[0] != 0xe866 || p[1] != 0xfffa
8055 return 0;
8057 _ACEOF
8058 if ac_fn_c_try_run "$LINENO"; then :
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8060 $as_echo "yes" >&6; }
8061 else
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8063 $as_echo "no" >&6; }
8064 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
8066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8067 conftest.$ac_objext conftest.beam conftest.$ac_ext
8072 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8073 LIBWINE_RULES="
8074 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8076 all: libwine.dylib
8078 libwine.$libwine_version.dylib: \$(OBJS)
8079 \$(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 \$@
8081 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8082 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8084 libwine.dylib: libwine.$libwine_soversion.dylib
8085 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8087 install install-lib:: libwine.$libwine_version.dylib
8088 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8089 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8091 install install-dev::
8092 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8094 uninstall::
8095 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8099 as_fn_append LOADER_RULES "
8100 $wine_binary: main.o wine_info.plist
8101 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8103 wine-installed: main.o wine_info.plist
8104 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8108 linux-android*)
8109 DLLFLAGS="$DLLFLAGS -fPIC"
8110 DLLPREFIX="lib"
8111 LDEXECFLAGS=""
8112 dlldir="\${libdir}"
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8115 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 ac_wine_try_cflags_saved=$CFLAGS
8119 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 int main(int argc, char **argv) { return 0; }
8123 _ACEOF
8124 if ac_fn_c_try_link "$LINENO"; then :
8125 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8126 else
8127 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8129 rm -f core conftest.err conftest.$ac_objext \
8130 conftest$ac_exeext conftest.$ac_ext
8131 CFLAGS=$ac_wine_try_cflags_saved
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8134 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8135 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8136 LDEXECFLAGS="-Wl,--export-dynamic"
8138 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8140 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8141 if eval \${$as_ac_var+:} false; then :
8142 $as_echo_n "(cached) " >&6
8143 else
8144 ac_wine_try_cflags_saved=$CFLAGS
8145 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 int main(int argc, char **argv) { return 0; }
8149 _ACEOF
8150 if ac_fn_c_try_link "$LINENO"; then :
8151 eval "$as_ac_var=yes"
8152 else
8153 eval "$as_ac_var=no"
8155 rm -f core conftest.err conftest.$ac_objext \
8156 conftest$ac_exeext conftest.$ac_ext
8157 CFLAGS=$ac_wine_try_cflags_saved
8159 eval ac_res=\$$as_ac_var
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8161 $as_echo "$ac_res" >&6; }
8162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8163 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8164 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8165 else
8166 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8169 if eval \${$as_ac_var+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_wine_try_cflags_saved=$CFLAGS
8173 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8177 _ACEOF
8178 if ac_fn_c_try_link "$LINENO"; then :
8179 eval "$as_ac_var=yes"
8180 else
8181 eval "$as_ac_var=no"
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 eval ac_res=\$$as_ac_var
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8189 $as_echo "$ac_res" >&6; }
8190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8191 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8192 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8197 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8198 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8199 $as_echo_n "(cached) " >&6
8200 else
8201 ac_wine_try_cflags_saved=$CFLAGS
8202 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8205 int main(int argc, char **argv) { return 0; }
8206 _ACEOF
8207 if ac_fn_c_try_link "$LINENO"; then :
8208 ac_cv_cflags__Wl___enable_new_dtags=yes
8209 else
8210 ac_cv_cflags__Wl___enable_new_dtags=no
8212 rm -f core conftest.err conftest.$ac_objext \
8213 conftest$ac_exeext conftest.$ac_ext
8214 CFLAGS=$ac_wine_try_cflags_saved
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8217 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8218 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8219 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8222 case $host_cpu in
8223 *i[3456789]86* | x86_64)
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8225 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8226 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8227 $as_echo_n "(cached) " >&6
8228 else
8229 ac_wine_try_cflags_saved=$CFLAGS
8230 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8234 _ACEOF
8235 if ac_fn_c_try_link "$LINENO"; then :
8236 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8237 else
8238 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8240 rm -f core conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 CFLAGS=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8245 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8246 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8247 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8250 esac
8252 libwine_targets="libwine.so"
8253 LIBWINE_RULES="
8254 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8256 all: libwine.so
8258 libwine.so: \$(OBJS)
8259 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8261 install install-lib:: libwine.so
8262 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8264 uninstall::
8265 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8269 as_fn_append LOADER_RULES "
8270 $wine_binary: main.o
8271 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8273 wine-installed: main.o
8274 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8279 DLLFLAGS="$DLLFLAGS -fPIC"
8280 LDEXECFLAGS=""
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8282 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8283 if ${ac_cv_c_dll_gnuelf+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 void myfunc() {}
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 ac_cv_c_dll_gnuelf="yes"
8294 else
8295 ac_cv_c_dll_gnuelf="no"
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8302 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8303 if test "$ac_cv_c_dll_gnuelf" = "yes"
8304 then
8305 LDSHARED="\$(CC) -shared"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8307 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8308 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8309 $as_echo_n "(cached) " >&6
8310 else
8311 ac_wine_try_cflags_saved=$CFLAGS
8312 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8315 int main(int argc, char **argv) { return 0; }
8316 _ACEOF
8317 if ac_fn_c_try_link "$LINENO"; then :
8318 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8319 else
8320 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8322 rm -f core conftest.err conftest.$ac_objext \
8323 conftest$ac_exeext conftest.$ac_ext
8324 CFLAGS=$ac_wine_try_cflags_saved
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8327 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8328 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8329 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8330 else
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8332 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8333 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 ac_wine_try_cflags_saved=$CFLAGS
8337 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8339 /* end confdefs.h. */
8340 int main(int argc, char **argv) { return 0; }
8341 _ACEOF
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8344 else
8345 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 CFLAGS=$ac_wine_try_cflags_saved
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8352 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8353 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8354 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8358 echo '{ global: *; };' >conftest.map
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8360 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8361 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_wine_try_cflags_saved=$CFLAGS
8365 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8368 int main(int argc, char **argv) { return 0; }
8369 _ACEOF
8370 if ac_fn_c_try_link "$LINENO"; then :
8371 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8372 else
8373 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8375 rm -f core conftest.err conftest.$ac_objext \
8376 conftest$ac_exeext conftest.$ac_ext
8377 CFLAGS=$ac_wine_try_cflags_saved
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8380 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8381 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8382 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8384 rm -f conftest.map
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8388 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8399 else
8400 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8407 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8408 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8409 LDEXECFLAGS="-Wl,--export-dynamic"
8412 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8415 if eval \${$as_ac_var+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 eval "$as_ac_var=yes"
8426 else
8427 eval "$as_ac_var=no"
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 eval ac_res=\$$as_ac_var
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8435 $as_echo "$ac_res" >&6; }
8436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8437 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8438 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8439 else
8440 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8443 if eval \${$as_ac_var+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 eval "$as_ac_var=yes"
8454 else
8455 eval "$as_ac_var=no"
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 eval ac_res=\$$as_ac_var
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8463 $as_echo "$ac_res" >&6; }
8464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8465 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8466 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8471 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8472 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__Wl___enable_new_dtags=yes
8483 else
8484 ac_cv_cflags__Wl___enable_new_dtags=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8491 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8492 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8493 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8496 case $host_cpu in
8497 *i[3456789]86* | x86_64)
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8499 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8500 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_wine_try_cflags_saved=$CFLAGS
8504 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8507 int main(int argc, char **argv) { return 0; }
8508 _ACEOF
8509 if ac_fn_c_try_link "$LINENO"; then :
8510 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8511 else
8512 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8514 rm -f core conftest.err conftest.$ac_objext \
8515 conftest$ac_exeext conftest.$ac_ext
8516 CFLAGS=$ac_wine_try_cflags_saved
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8519 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8520 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8521 case $host_os in
8522 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8523 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8524 esac
8527 # Extract the first word of "prelink", so it can be a program name with args.
8528 set dummy prelink; ac_word=$2
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8530 $as_echo_n "checking for $ac_word... " >&6; }
8531 if ${ac_cv_path_PRELINK+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 case $PRELINK in
8535 [\\/]* | ?:[\\/]*)
8536 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in /sbin /usr/sbin $PATH
8542 IFS=$as_save_IFS
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548 break 2
8550 done
8551 done
8552 IFS=$as_save_IFS
8554 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8556 esac
8558 PRELINK=$ac_cv_path_PRELINK
8559 if test -n "$PRELINK"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8561 $as_echo "$PRELINK" >&6; }
8562 else
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8568 if test "x$PRELINK" = xfalse
8569 then
8570 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8573 esac
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8577 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8578 if ${ac_cv_c_dll_unixware+:} false; then :
8579 $as_echo_n "(cached) " >&6
8580 else
8581 ac_wine_try_cflags_saved=$CFLAGS
8582 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 void myfunc() {}
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 ac_cv_c_dll_unixware="yes"
8589 else
8590 ac_cv_c_dll_unixware="no"
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 CFLAGS=$ac_wine_try_cflags_saved
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8597 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8598 if test "$ac_cv_c_dll_unixware" = "yes"
8599 then
8600 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8603 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8604 LIBWINE_RULES="
8605 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8607 all: libwine.so
8609 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8610 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8612 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8613 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8615 libwine.so: libwine.so.$libwine_soversion
8616 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8618 install install-lib:: libwine.so.$libwine_version
8619 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8620 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8622 install install-dev::
8623 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8625 uninstall::
8626 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8630 as_fn_append LOADER_RULES "
8631 $wine_binary: main.o
8632 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8634 wine-installed: main.o
8635 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8638 esac
8640 as_fn_append LIBWINE_RULES "
8641 EXTRA_TARGETS = $libwine_targets
8644 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8645 enable_winemac_drv=${enable_winemac_drv:-no}
8647 CROSSTARGET=""
8649 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8650 then
8651 case "$host_cpu" in
8652 i[3456789]86*)
8653 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
8654 mingw32-gcc" ;;
8655 x86_64)
8656 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 " ;;
8658 ac_prefix_list="" ;;
8659 esac
8660 for ac_prog in $ac_prefix_list
8662 # Extract the first word of "$ac_prog", so it can be a program name with args.
8663 set dummy $ac_prog; ac_word=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if ${ac_cv_prog_CROSSCC+:} false; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 if test -n "$CROSSCC"; then
8670 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8671 else
8672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 for as_dir in $PATH
8675 IFS=$as_save_IFS
8676 test -z "$as_dir" && as_dir=.
8677 for ac_exec_ext in '' $ac_executable_extensions; do
8678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8679 ac_cv_prog_CROSSCC="$ac_prog"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8681 break 2
8683 done
8684 done
8685 IFS=$as_save_IFS
8689 CROSSCC=$ac_cv_prog_CROSSCC
8690 if test -n "$CROSSCC"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8692 $as_echo "$CROSSCC" >&6; }
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8699 test -n "$CROSSCC" && break
8700 done
8701 test -n "$CROSSCC" || CROSSCC="false"
8703 if test "$CROSSCC" != "false"
8704 then
8705 ac_save_CC="$CC"
8706 CC="$CROSSCC"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8708 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8713 main ()
8717 return 0;
8719 _ACEOF
8720 if ac_fn_c_try_compile "$LINENO"; then :
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8722 $as_echo "yes" >&6; }
8723 set x $CROSSCC
8724 shift
8725 while test $# -ge 1
8727 case "$1" in
8728 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8729 esac
8730 shift
8731 done
8732 else
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734 $as_echo "no" >&6; }
8736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 CC="$ac_save_CC"
8742 if test "$ac_cv_header_pthread_h" = "yes"
8743 then
8744 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8745 if test "x$ac_cv_func_pthread_create" = xyes; then :
8747 else
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8749 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8750 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 ac_check_lib_save_LIBS=$LIBS
8754 LIBS="-lpthread $LIBS"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8758 /* Override any GCC internal prototype to avoid an error.
8759 Use char because int might match the return type of a GCC
8760 builtin and then its argument prototype would still apply. */
8761 #ifdef __cplusplus
8762 extern "C"
8763 #endif
8764 char pthread_create ();
8766 main ()
8768 return pthread_create ();
8770 return 0;
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 ac_cv_lib_pthread_pthread_create=yes
8775 else
8776 ac_cv_lib_pthread_pthread_create=no
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 LIBS=$ac_check_lib_save_LIBS
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8783 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8784 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8785 PTHREAD_LIBS="-lpthread"
8792 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8793 case "x$with_pthread" in
8794 xno) ;;
8795 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8796 Wine cannot support threads without libpthread.
8797 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8798 esac
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8803 $as_echo_n "checking for X... " >&6; }
8806 # Check whether --with-x was given.
8807 if test "${with_x+set}" = set; then :
8808 withval=$with_x;
8811 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8812 if test "x$with_x" = xno; then
8813 # The user explicitly disabled X.
8814 have_x=disabled
8815 else
8816 case $x_includes,$x_libraries in #(
8817 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8818 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8819 $as_echo_n "(cached) " >&6
8820 else
8821 # One or both of the vars are not set, and there is no cached value.
8822 ac_x_includes=no ac_x_libraries=no
8823 rm -f -r conftest.dir
8824 if mkdir conftest.dir; then
8825 cd conftest.dir
8826 cat >Imakefile <<'_ACEOF'
8827 incroot:
8828 @echo incroot='${INCROOT}'
8829 usrlibdir:
8830 @echo usrlibdir='${USRLIBDIR}'
8831 libdir:
8832 @echo libdir='${LIBDIR}'
8833 _ACEOF
8834 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8835 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8836 for ac_var in incroot usrlibdir libdir; do
8837 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8838 done
8839 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8840 for ac_extension in a so sl dylib la dll; do
8841 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8842 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8843 ac_im_usrlibdir=$ac_im_libdir; break
8845 done
8846 # Screen out bogus values from the imake configuration. They are
8847 # bogus both because they are the default anyway, and because
8848 # using them would break gcc on systems where it needs fixed includes.
8849 case $ac_im_incroot in
8850 /usr/include) ac_x_includes= ;;
8851 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8852 esac
8853 case $ac_im_usrlibdir in
8854 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8855 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8856 esac
8858 cd ..
8859 rm -f -r conftest.dir
8862 # Standard set of common directories for X headers.
8863 # Check X11 before X11Rn because it is often a symlink to the current release.
8864 ac_x_header_dirs='
8865 /usr/X11/include
8866 /usr/X11R7/include
8867 /usr/X11R6/include
8868 /usr/X11R5/include
8869 /usr/X11R4/include
8871 /usr/include/X11
8872 /usr/include/X11R7
8873 /usr/include/X11R6
8874 /usr/include/X11R5
8875 /usr/include/X11R4
8877 /usr/local/X11/include
8878 /usr/local/X11R7/include
8879 /usr/local/X11R6/include
8880 /usr/local/X11R5/include
8881 /usr/local/X11R4/include
8883 /usr/local/include/X11
8884 /usr/local/include/X11R7
8885 /usr/local/include/X11R6
8886 /usr/local/include/X11R5
8887 /usr/local/include/X11R4
8889 /usr/X386/include
8890 /usr/x386/include
8891 /usr/XFree86/include/X11
8893 /usr/include
8894 /usr/local/include
8895 /usr/unsupported/include
8896 /usr/athena/include
8897 /usr/local/x11r5/include
8898 /usr/lpp/Xamples/include
8900 /usr/openwin/include
8901 /usr/openwin/share/include'
8903 if test "$ac_x_includes" = no; then
8904 # Guess where to find include files, by looking for Xlib.h.
8905 # First, try using that file with no special directory specified.
8906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8907 /* end confdefs.h. */
8908 #include <X11/Xlib.h>
8909 _ACEOF
8910 if ac_fn_c_try_cpp "$LINENO"; then :
8911 # We can compile using X headers with no special include directory.
8912 ac_x_includes=
8913 else
8914 for ac_dir in $ac_x_header_dirs; do
8915 if test -r "$ac_dir/X11/Xlib.h"; then
8916 ac_x_includes=$ac_dir
8917 break
8919 done
8921 rm -f conftest.err conftest.i conftest.$ac_ext
8922 fi # $ac_x_includes = no
8924 if test "$ac_x_libraries" = no; then
8925 # Check for the libraries.
8926 # See if we find them without any special options.
8927 # Don't add to $LIBS permanently.
8928 ac_save_LIBS=$LIBS
8929 LIBS="-lX11 $LIBS"
8930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8931 /* end confdefs.h. */
8932 #include <X11/Xlib.h>
8934 main ()
8936 XrmInitialize ()
8938 return 0;
8940 _ACEOF
8941 if ac_fn_c_try_link "$LINENO"; then :
8942 LIBS=$ac_save_LIBS
8943 # We can link X programs with no special library path.
8944 ac_x_libraries=
8945 else
8946 LIBS=$ac_save_LIBS
8947 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8949 # Don't even attempt the hair of trying to link an X program!
8950 for ac_extension in a so sl dylib la dll; do
8951 if test -r "$ac_dir/libX11.$ac_extension"; then
8952 ac_x_libraries=$ac_dir
8953 break 2
8955 done
8956 done
8958 rm -f core conftest.err conftest.$ac_objext \
8959 conftest$ac_exeext conftest.$ac_ext
8960 fi # $ac_x_libraries = no
8962 case $ac_x_includes,$ac_x_libraries in #(
8963 no,* | *,no | *\'*)
8964 # Didn't find X, or a directory has "'" in its name.
8965 ac_cv_have_x="have_x=no";; #(
8967 # Record where we found X for the cache.
8968 ac_cv_have_x="have_x=yes\
8969 ac_x_includes='$ac_x_includes'\
8970 ac_x_libraries='$ac_x_libraries'"
8971 esac
8973 ;; #(
8974 *) have_x=yes;;
8975 esac
8976 eval "$ac_cv_have_x"
8977 fi # $with_x != no
8979 if test "$have_x" != yes; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8981 $as_echo "$have_x" >&6; }
8982 no_x=yes
8983 else
8984 # If each of the values was on the command line, it overrides each guess.
8985 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8986 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8987 # Update the cache value to reflect the command line values.
8988 ac_cv_have_x="have_x=yes\
8989 ac_x_includes='$x_includes'\
8990 ac_x_libraries='$x_libraries'"
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8992 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8995 if test "$no_x" = yes; then
8996 # Not all programs may use this symbol, but it does not hurt to define it.
8998 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9000 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9001 else
9002 if test -n "$x_includes"; then
9003 X_CFLAGS="$X_CFLAGS -I$x_includes"
9006 # It would also be nice to do this for all -L options, not just this one.
9007 if test -n "$x_libraries"; then
9008 X_LIBS="$X_LIBS -L$x_libraries"
9009 # For Solaris; some versions of Sun CC require a space after -R and
9010 # others require no space. Words are not sufficient . . . .
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9012 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9013 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9014 ac_xsave_c_werror_flag=$ac_c_werror_flag
9015 ac_c_werror_flag=yes
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9020 main ()
9024 return 0;
9026 _ACEOF
9027 if ac_fn_c_try_link "$LINENO"; then :
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9029 $as_echo "no" >&6; }
9030 X_LIBS="$X_LIBS -R$x_libraries"
9031 else
9032 LIBS="$ac_xsave_LIBS -R $x_libraries"
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9037 main ()
9041 return 0;
9043 _ACEOF
9044 if ac_fn_c_try_link "$LINENO"; then :
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9046 $as_echo "yes" >&6; }
9047 X_LIBS="$X_LIBS -R $x_libraries"
9048 else
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9050 $as_echo "neither works" >&6; }
9052 rm -f core conftest.err conftest.$ac_objext \
9053 conftest$ac_exeext conftest.$ac_ext
9055 rm -f core conftest.err conftest.$ac_objext \
9056 conftest$ac_exeext conftest.$ac_ext
9057 ac_c_werror_flag=$ac_xsave_c_werror_flag
9058 LIBS=$ac_xsave_LIBS
9061 # Check for system-dependent libraries X programs must link with.
9062 # Do this before checking for the system-independent R6 libraries
9063 # (-lICE), since we may need -lsocket or whatever for X linking.
9065 if test "$ISC" = yes; then
9066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9067 else
9068 # Martyn Johnson says this is needed for Ultrix, if the X
9069 # libraries were built with DECnet support. And Karl Berry says
9070 # the Alpha needs dnet_stub (dnet does not exist).
9071 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078 #ifdef __cplusplus
9079 extern "C"
9080 #endif
9081 char XOpenDisplay ();
9083 main ()
9085 return XOpenDisplay ();
9087 return 0;
9089 _ACEOF
9090 if ac_fn_c_try_link "$LINENO"; then :
9092 else
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9094 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9095 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9096 $as_echo_n "(cached) " >&6
9097 else
9098 ac_check_lib_save_LIBS=$LIBS
9099 LIBS="-ldnet $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9106 #ifdef __cplusplus
9107 extern "C"
9108 #endif
9109 char dnet_ntoa ();
9111 main ()
9113 return dnet_ntoa ();
9115 return 0;
9117 _ACEOF
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 ac_cv_lib_dnet_dnet_ntoa=yes
9120 else
9121 ac_cv_lib_dnet_dnet_ntoa=no
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9125 LIBS=$ac_check_lib_save_LIBS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9128 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9129 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9130 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9133 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9135 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9136 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_check_lib_save_LIBS=$LIBS
9140 LIBS="-ldnet_stub $LIBS"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9144 /* Override any GCC internal prototype to avoid an error.
9145 Use char because int might match the return type of a GCC
9146 builtin and then its argument prototype would still apply. */
9147 #ifdef __cplusplus
9148 extern "C"
9149 #endif
9150 char dnet_ntoa ();
9152 main ()
9154 return dnet_ntoa ();
9156 return 0;
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9161 else
9162 ac_cv_lib_dnet_stub_dnet_ntoa=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 LIBS=$ac_check_lib_save_LIBS
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9169 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9170 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9171 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9176 rm -f core conftest.err conftest.$ac_objext \
9177 conftest$ac_exeext conftest.$ac_ext
9178 LIBS="$ac_xsave_LIBS"
9180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9181 # to get the SysV transport functions.
9182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9183 # needs -lnsl.
9184 # The nsl library prevents programs from opening the X display
9185 # on Irix 5.2, according to T.E. Dickey.
9186 # The functions gethostbyname, getservbyname, and inet_addr are
9187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9188 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9189 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9193 if test $ac_cv_func_gethostbyname = no; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9195 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9196 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 ac_check_lib_save_LIBS=$LIBS
9200 LIBS="-lnsl $LIBS"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char gethostbyname ();
9212 main ()
9214 return gethostbyname ();
9216 return 0;
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9220 ac_cv_lib_nsl_gethostbyname=yes
9221 else
9222 ac_cv_lib_nsl_gethostbyname=no
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_lib_save_LIBS
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9229 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9230 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9234 if test $ac_cv_lib_nsl_gethostbyname = no; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9236 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9237 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_lib_save_LIBS=$LIBS
9241 LIBS="-lbsd $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char gethostbyname ();
9253 main ()
9255 return gethostbyname ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_lib_bsd_gethostbyname=yes
9262 else
9263 ac_cv_lib_bsd_gethostbyname=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9270 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9271 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9278 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9279 # socket/setsockopt and other routines are undefined under SCO ODT
9280 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9281 # on later versions), says Simon Leinen: it contains gethostby*
9282 # variants that don't use the name server (or something). -lsocket
9283 # must be given before -lnsl if both are needed. We assume that
9284 # if connect needs -lnsl, so does gethostbyname.
9285 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9286 if test "x$ac_cv_func_connect" = xyes; then :
9290 if test $ac_cv_func_connect = no; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9292 $as_echo_n "checking for connect in -lsocket... " >&6; }
9293 if ${ac_cv_lib_socket_connect+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_lib_save_LIBS=$LIBS
9297 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char connect ();
9309 main ()
9311 return connect ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_lib_socket_connect=yes
9318 else
9319 ac_cv_lib_socket_connect=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9326 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9327 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9328 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9333 # Guillermo Gomez says -lposix is necessary on A/UX.
9334 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9335 if test "x$ac_cv_func_remove" = xyes; then :
9339 if test $ac_cv_func_remove = no; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9341 $as_echo_n "checking for remove in -lposix... " >&6; }
9342 if ${ac_cv_lib_posix_remove+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-lposix $LIBS"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9353 #ifdef __cplusplus
9354 extern "C"
9355 #endif
9356 char remove ();
9358 main ()
9360 return remove ();
9362 return 0;
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_lib_posix_remove=yes
9367 else
9368 ac_cv_lib_posix_remove=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS=$ac_check_lib_save_LIBS
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9375 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9376 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9382 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9383 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9384 if test "x$ac_cv_func_shmat" = xyes; then :
9388 if test $ac_cv_func_shmat = no; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9390 $as_echo_n "checking for shmat in -lipc... " >&6; }
9391 if ${ac_cv_lib_ipc_shmat+:} false; then :
9392 $as_echo_n "(cached) " >&6
9393 else
9394 ac_check_lib_save_LIBS=$LIBS
9395 LIBS="-lipc $LIBS"
9396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9397 /* end confdefs.h. */
9399 /* Override any GCC internal prototype to avoid an error.
9400 Use char because int might match the return type of a GCC
9401 builtin and then its argument prototype would still apply. */
9402 #ifdef __cplusplus
9403 extern "C"
9404 #endif
9405 char shmat ();
9407 main ()
9409 return shmat ();
9411 return 0;
9413 _ACEOF
9414 if ac_fn_c_try_link "$LINENO"; then :
9415 ac_cv_lib_ipc_shmat=yes
9416 else
9417 ac_cv_lib_ipc_shmat=no
9419 rm -f core conftest.err conftest.$ac_objext \
9420 conftest$ac_exeext conftest.$ac_ext
9421 LIBS=$ac_check_lib_save_LIBS
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9424 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9425 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9432 # Check for libraries that X11R6 Xt/Xaw programs need.
9433 ac_save_LDFLAGS=$LDFLAGS
9434 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9436 # check for ICE first), but we must link in the order -lSM -lICE or
9437 # we get undefined symbols. So assume we have SM if we have ICE.
9438 # These have to be linked with before -lX11, unlike the other
9439 # libraries we check for below, so use a different variable.
9440 # John Interrante, Karl Berry
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9442 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9443 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_lib_save_LIBS=$LIBS
9447 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char IceConnectionNumber ();
9459 main ()
9461 return IceConnectionNumber ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_lib_ICE_IceConnectionNumber=yes
9468 else
9469 ac_cv_lib_ICE_IceConnectionNumber=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LIBS=$ac_check_lib_save_LIBS
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9476 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9477 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9478 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9481 LDFLAGS=$ac_save_LDFLAGS
9486 if test "$have_x" = "yes"
9487 then
9488 ac_save_CPPFLAGS="$CPPFLAGS"
9489 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9492 $as_echo_n "checking for -lX11... " >&6; }
9493 if ${ac_cv_lib_soname_X11+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_check_soname_save_LIBS=$LIBS
9497 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9501 /* Override any GCC internal prototype to avoid an error.
9502 Use char because int might match the return type of a GCC
9503 builtin and then its argument prototype would still apply. */
9504 #ifdef __cplusplus
9505 extern "C"
9506 #endif
9507 char XCreateWindow ();
9509 main ()
9511 return XCreateWindow ();
9513 return 0;
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 case "$LIBEXT" in
9518 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9519 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'` ;;
9520 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9521 if ${ac_cv_lib_soname_X11:+false} :; then :
9522 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9523 fi ;;
9524 esac
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LIBS=$ac_check_soname_save_LIBS
9530 if ${ac_cv_lib_soname_X11:+false} :; then :
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9532 $as_echo "not found" >&6; }
9534 else
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9536 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9538 cat >>confdefs.h <<_ACEOF
9539 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9540 _ACEOF
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9545 $as_echo_n "checking for -lXext... " >&6; }
9546 if ${ac_cv_lib_soname_Xext+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_check_soname_save_LIBS=$LIBS
9550 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9557 #ifdef __cplusplus
9558 extern "C"
9559 #endif
9560 char XextCreateExtension ();
9562 main ()
9564 return XextCreateExtension ();
9566 return 0;
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 case "$LIBEXT" in
9571 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9572 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'` ;;
9573 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9574 if ${ac_cv_lib_soname_Xext:+false} :; then :
9575 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9576 fi ;;
9577 esac
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_soname_save_LIBS
9583 if ${ac_cv_lib_soname_Xext:+false} :; then :
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9585 $as_echo "not found" >&6; }
9587 else
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9589 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9591 cat >>confdefs.h <<_ACEOF
9592 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9593 _ACEOF
9595 X_LIBS="$X_LIBS -lXext"
9597 X_LIBS="$X_LIBS -lX11"
9599 for ac_header in X11/Xlib.h \
9600 X11/XKBlib.h \
9601 X11/Xutil.h \
9602 X11/Xcursor/Xcursor.h \
9603 X11/extensions/shape.h \
9604 X11/extensions/XInput.h \
9605 X11/extensions/XInput2.h \
9606 X11/extensions/XShm.h \
9607 X11/extensions/Xcomposite.h \
9608 X11/extensions/Xinerama.h \
9609 X11/extensions/Xrandr.h \
9610 X11/extensions/Xrender.h \
9611 X11/extensions/xf86vmode.h \
9612 X11/extensions/xf86vmproto.h
9613 do :
9614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9616 # include <X11/Xlib.h>
9617 #endif
9618 #ifdef HAVE_X11_XUTIL_H
9619 # include <X11/Xutil.h>
9620 #endif
9622 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9623 cat >>confdefs.h <<_ACEOF
9624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9625 _ACEOF
9629 done
9632 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9633 then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9635 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9636 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_check_lib_save_LIBS=$LIBS
9640 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9647 #ifdef __cplusplus
9648 extern "C"
9649 #endif
9650 char XkbQueryExtension ();
9652 main ()
9654 return XkbQueryExtension ();
9656 return 0;
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_lib_X11_XkbQueryExtension=yes
9661 else
9662 ac_cv_lib_X11_XkbQueryExtension=no
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_lib_save_LIBS
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9669 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9670 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9672 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9678 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9679 then
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9681 $as_echo_n "checking for -lXcursor... " >&6; }
9682 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684 else
9685 ac_check_soname_save_LIBS=$LIBS
9686 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9693 #ifdef __cplusplus
9694 extern "C"
9695 #endif
9696 char XcursorImageLoadCursor ();
9698 main ()
9700 return XcursorImageLoadCursor ();
9702 return 0;
9704 _ACEOF
9705 if ac_fn_c_try_link "$LINENO"; then :
9706 case "$LIBEXT" in
9707 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9710 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9711 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9712 fi ;;
9713 esac
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9723 else
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9725 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9729 _ACEOF
9734 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9735 case "x$with_xcursor" in
9736 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9737 xno) ;;
9738 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9739 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9740 esac
9743 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9744 then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9746 $as_echo_n "checking for -lXi... " >&6; }
9747 if ${ac_cv_lib_soname_Xi+:} false; then :
9748 $as_echo_n "(cached) " >&6
9749 else
9750 ac_check_soname_save_LIBS=$LIBS
9751 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9753 /* end confdefs.h. */
9755 /* Override any GCC internal prototype to avoid an error.
9756 Use char because int might match the return type of a GCC
9757 builtin and then its argument prototype would still apply. */
9758 #ifdef __cplusplus
9759 extern "C"
9760 #endif
9761 char XOpenDevice ();
9763 main ()
9765 return XOpenDevice ();
9767 return 0;
9769 _ACEOF
9770 if ac_fn_c_try_link "$LINENO"; then :
9771 case "$LIBEXT" in
9772 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9773 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'` ;;
9774 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9775 if ${ac_cv_lib_soname_Xi:+false} :; then :
9776 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9777 fi ;;
9778 esac
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_soname_save_LIBS
9784 if ${ac_cv_lib_soname_Xi:+false} :; then :
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9786 $as_echo "not found" >&6; }
9788 else
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9790 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9792 cat >>confdefs.h <<_ACEOF
9793 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9794 _ACEOF
9799 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9800 case "x$with_xinput" in
9801 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9802 xno) ;;
9803 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9804 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9805 esac
9808 if test "x$ac_cv_lib_soname_Xi" != x
9809 then
9810 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9811 case "x$with_xinput2" in
9812 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9813 xno) ;;
9814 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9815 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9816 esac
9820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9821 then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9823 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9824 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_lib_save_LIBS=$LIBS
9828 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char XShmQueryExtension ();
9840 main ()
9842 return XShmQueryExtension ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_lib_Xext_XShmQueryExtension=yes
9849 else
9850 ac_cv_lib_Xext_XShmQueryExtension=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 LIBS=$ac_check_lib_save_LIBS
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9857 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9858 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9860 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9865 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9866 case "x$with_xshm" in
9867 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9868 xno) ;;
9869 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9870 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9871 esac
9874 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9875 then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9877 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9878 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9879 $as_echo_n "(cached) " >&6
9880 else
9881 ac_check_lib_save_LIBS=$LIBS
9882 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 #endif
9892 char XShapeQueryExtension ();
9894 main ()
9896 return XShapeQueryExtension ();
9898 return 0;
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_lib_Xext_XShapeQueryExtension=yes
9903 else
9904 ac_cv_lib_Xext_XShapeQueryExtension=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 LIBS=$ac_check_lib_save_LIBS
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9911 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9912 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9914 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9919 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9920 case "x$with_xshape" in
9921 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9922 xno) ;;
9923 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9924 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9925 esac
9928 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9929 then
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9931 $as_echo_n "checking for -lXxf86vm... " >&6; }
9932 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_check_soname_save_LIBS=$LIBS
9936 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9943 #ifdef __cplusplus
9944 extern "C"
9945 #endif
9946 char XF86VidModeQueryExtension ();
9948 main ()
9950 return XF86VidModeQueryExtension ();
9952 return 0;
9954 _ACEOF
9955 if ac_fn_c_try_link "$LINENO"; then :
9956 case "$LIBEXT" in
9957 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9958 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'` ;;
9959 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9960 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9961 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 fi ;;
9963 esac
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 LIBS=$ac_check_soname_save_LIBS
9969 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9971 $as_echo "not found" >&6; }
9973 else
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9975 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9977 cat >>confdefs.h <<_ACEOF
9978 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9979 _ACEOF
9984 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9985 case "x$with_xxf86vm" in
9986 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9987 xno) ;;
9988 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9989 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9990 esac
9993 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9994 then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9996 $as_echo_n "checking for -lXrender... " >&6; }
9997 if ${ac_cv_lib_soname_Xrender+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XRenderQueryExtension ();
10013 main ()
10015 return XRenderQueryExtension ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10026 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 $as_echo "not found" >&6; }
10038 else
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10040 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10042 cat >>confdefs.h <<_ACEOF
10043 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10044 _ACEOF
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10047 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10048 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_check_lib_save_LIBS=$LIBS
10052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10059 #ifdef __cplusplus
10060 extern "C"
10061 #endif
10062 char XRenderSetPictureTransform ();
10064 main ()
10066 return XRenderSetPictureTransform ();
10068 return 0;
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10073 else
10074 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10076 rm -f core conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10078 LIBS=$ac_check_lib_save_LIBS
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10081 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10082 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10084 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10089 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10090 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10091 $as_echo_n "(cached) " >&6
10092 else
10093 ac_check_lib_save_LIBS=$LIBS
10094 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10101 #ifdef __cplusplus
10102 extern "C"
10103 #endif
10104 char XRenderCreateLinearGradient ();
10106 main ()
10108 return XRenderCreateLinearGradient ();
10110 return 0;
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"; then :
10114 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10115 else
10116 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10118 rm -f core conftest.err conftest.$ac_objext \
10119 conftest$ac_exeext conftest.$ac_ext
10120 LIBS=$ac_check_lib_save_LIBS
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10123 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10124 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10126 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10133 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10134 case "x$with_xrender" in
10135 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10136 xno) ;;
10137 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10138 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10139 esac
10142 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10143 then
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 #include <X11/Xlib.h>
10147 #include <X11/extensions/Xrandr.h>
10149 main ()
10151 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10153 return 0;
10155 _ACEOF
10156 if ac_fn_c_try_compile "$LINENO"; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10158 $as_echo_n "checking for -lXrandr... " >&6; }
10159 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10160 $as_echo_n "(cached) " >&6
10161 else
10162 ac_check_soname_save_LIBS=$LIBS
10163 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10170 #ifdef __cplusplus
10171 extern "C"
10172 #endif
10173 char XRRQueryExtension ();
10175 main ()
10177 return XRRQueryExtension ();
10179 return 0;
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 case "$LIBEXT" in
10184 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10185 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'` ;;
10186 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10187 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10188 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10189 fi ;;
10190 esac
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 LIBS=$ac_check_soname_save_LIBS
10196 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10198 $as_echo "not found" >&6; }
10200 else
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10202 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10204 cat >>confdefs.h <<_ACEOF
10205 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10206 _ACEOF
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10210 #include <X11/Xlib.h>
10211 #include <X11/extensions/Xrandr.h>
10213 main ()
10215 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_compile "$LINENO"; then :
10222 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10230 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10231 case "x$with_xrandr" in
10232 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10233 xno) ;;
10234 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10235 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10236 esac
10239 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10240 then
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 #include <X11/Xlib.h>
10244 #include <X11/extensions/Xinerama.h>
10246 main ()
10248 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_compile "$LINENO"; then :
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10255 $as_echo_n "checking for -lXinerama... " >&6; }
10256 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10264 /* Override any GCC internal prototype to avoid an error.
10265 Use char because int might match the return type of a GCC
10266 builtin and then its argument prototype would still apply. */
10267 #ifdef __cplusplus
10268 extern "C"
10269 #endif
10270 char XineramaQueryScreens ();
10272 main ()
10274 return XineramaQueryScreens ();
10276 return 0;
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 case "$LIBEXT" in
10281 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10282 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'` ;;
10283 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10284 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10285 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10286 fi ;;
10287 esac
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_soname_save_LIBS
10293 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10295 $as_echo "not found" >&6; }
10297 else
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10299 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10301 cat >>confdefs.h <<_ACEOF
10302 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10303 _ACEOF
10308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10310 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10311 case "x$with_xinerama" in
10312 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10313 xno) ;;
10314 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10315 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10316 esac
10319 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10320 then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10322 $as_echo_n "checking for -lXcomposite... " >&6; }
10323 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_soname_save_LIBS=$LIBS
10327 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XCompositeRedirectWindow ();
10339 main ()
10341 return XCompositeRedirectWindow ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 case "$LIBEXT" in
10348 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10352 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10353 fi ;;
10354 esac
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10366 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10370 _ACEOF
10375 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10376 case "x$with_xcomposite" in
10377 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10378 xno) ;;
10379 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10380 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10381 esac
10384 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10385 #include <X11/Xlib.h>
10386 #endif
10388 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10390 cat >>confdefs.h <<_ACEOF
10391 #define HAVE_XICCALLBACK_CALLBACK 1
10392 _ACEOF
10396 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10397 #include <X11/Xlib.h>
10398 #endif
10400 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10402 cat >>confdefs.h <<_ACEOF
10403 #define HAVE_XEVENT_XCOOKIE 1
10404 _ACEOF
10411 opengl_msg=""
10412 if test "x$with_opengl" != "xno"
10413 then
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10415 $as_echo_n "checking for -lGL... " >&6; }
10416 if ${ac_cv_lib_soname_GL+:} false; then :
10417 $as_echo_n "(cached) " >&6
10418 else
10419 ac_check_soname_save_LIBS=$LIBS
10420 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10424 /* Override any GCC internal prototype to avoid an error.
10425 Use char because int might match the return type of a GCC
10426 builtin and then its argument prototype would still apply. */
10427 #ifdef __cplusplus
10428 extern "C"
10429 #endif
10430 char glXCreateContext ();
10432 main ()
10434 return glXCreateContext ();
10436 return 0;
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 case "$LIBEXT" in
10441 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10442 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'` ;;
10443 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10444 if ${ac_cv_lib_soname_GL:+false} :; then :
10445 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10446 fi ;;
10447 esac
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_soname_save_LIBS
10453 if ${ac_cv_lib_soname_GL:+false} :; then :
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10455 $as_echo "not found" >&6; }
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10457 $as_echo_n "checking for -lGL... " >&6; }
10458 if ${ac_cv_lib_soname_GL+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_check_soname_save_LIBS=$LIBS
10462 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"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10469 #ifdef __cplusplus
10470 extern "C"
10471 #endif
10472 char glXCreateContext ();
10474 main ()
10476 return glXCreateContext ();
10478 return 0;
10480 _ACEOF
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 case "$LIBEXT" in
10483 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10484 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'` ;;
10485 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10486 if ${ac_cv_lib_soname_GL:+false} :; then :
10487 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10488 fi ;;
10489 esac
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_soname_save_LIBS
10495 if ${ac_cv_lib_soname_GL:+false} :; then :
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10497 $as_echo "not found" >&6; }
10498 if test -f /usr/X11R6/lib/libGL.a
10499 then
10500 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10501 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10502 else
10503 opengl_msg="No OpenGL library found on this system."
10505 else
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10507 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10509 cat >>confdefs.h <<_ACEOF
10510 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10511 _ACEOF
10513 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"
10515 else
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10517 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10519 cat >>confdefs.h <<_ACEOF
10520 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10521 _ACEOF
10523 OPENGL_LIBS="-lGL"
10525 if test "x$with_glu" != "xno"
10526 then
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10528 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10529 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10530 $as_echo_n "(cached) " >&6
10531 else
10532 ac_check_lib_save_LIBS=$LIBS
10533 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char gluLookAt ();
10545 main ()
10547 return gluLookAt ();
10549 return 0;
10551 _ACEOF
10552 if ac_fn_c_try_link "$LINENO"; then :
10553 ac_cv_lib_GLU_gluLookAt=yes
10554 else
10555 ac_cv_lib_GLU_gluLookAt=no
10557 rm -f core conftest.err conftest.$ac_objext \
10558 conftest$ac_exeext conftest.$ac_ext
10559 LIBS=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10562 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10563 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10567 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10568 case "x$with_glu" in
10569 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10572 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10573 esac
10577 if test "x$with_osmesa" != "xno"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10580 $as_echo_n "checking for -lOSMesa... " >&6; }
10581 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_check_soname_save_LIBS=$LIBS
10585 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char glAccum ();
10597 main ()
10599 return glAccum ();
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 case "$LIBEXT" in
10606 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10607 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'` ;;
10608 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10609 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10610 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10611 fi ;;
10612 esac
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_soname_save_LIBS
10618 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10620 $as_echo "not found" >&6; }
10622 else
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10624 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10626 cat >>confdefs.h <<_ACEOF
10627 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10628 _ACEOF
10632 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10633 case "x$with_osmesa" in
10634 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10635 xno) ;;
10636 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10637 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10638 esac
10642 if test -n "$opengl_msg"; then :
10643 case "x$with_opengl" in
10644 x) as_fn_append wine_warnings "|$opengl_msg
10645 OpenGL and Direct3D won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "$opengl_msg
10648 OpenGL and Direct3D won't be supported.
10649 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10650 esac
10653 CPPFLAGS="$ac_save_CPPFLAGS"
10654 else
10655 X_CFLAGS=""
10656 X_LIBS=""
10657 enable_winex11_drv=${enable_winex11_drv:-no}
10659 if test "x$X_LIBS" = "x"; then :
10660 case "x$with_x" in
10661 xno) ;;
10662 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10663 without X support, which probably isn't what you want. You will need
10664 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10665 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10666 esac
10669 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10671 if test "$ac_cv_header_CL_cl_h" = "yes"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10674 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10675 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_lib_save_LIBS=$LIBS
10679 LIBS="-lOpenCL $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char clGetPlatformInfo ();
10691 main ()
10693 return clGetPlatformInfo ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10700 else
10701 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10708 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10709 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10710 OPENCL_LIBS="-lOpenCL"
10715 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10716 case "x$with_opencl" in
10717 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10718 xno) ;;
10719 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10720 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10721 esac
10723 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10725 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10728 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10729 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_check_lib_save_LIBS=$LIBS
10733 LIBS="-lpcap $LIBS"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10740 #ifdef __cplusplus
10741 extern "C"
10742 #endif
10743 char pcap_create ();
10745 main ()
10747 return pcap_create ();
10749 return 0;
10751 _ACEOF
10752 if ac_fn_c_try_link "$LINENO"; then :
10753 ac_cv_lib_pcap_pcap_create=yes
10754 else
10755 ac_cv_lib_pcap_pcap_create=no
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_lib_save_LIBS
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10762 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10763 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10764 LIBPCAP="-lpcap"
10769 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10770 case "x$with_pcap" in
10771 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10772 xno) ;;
10773 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10774 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10775 esac
10777 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10780 if test "x$with_xml" != "xno"
10781 then
10782 if ${XML2_CFLAGS:+false} :; then :
10783 if ${PKG_CONFIG+:} false; then :
10784 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10787 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10788 if ${XML2_LIBS:+false} :; then :
10789 if ${PKG_CONFIG+:} false; then :
10790 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10793 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10794 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10795 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10796 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10797 ac_save_CPPFLAGS=$CPPFLAGS
10798 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10799 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10800 do :
10801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10802 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10804 cat >>confdefs.h <<_ACEOF
10805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10806 _ACEOF
10810 done
10812 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"
10813 then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10815 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10816 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10817 $as_echo_n "(cached) " >&6
10818 else
10819 ac_check_lib_save_LIBS=$LIBS
10820 LIBS="-lxml2 $XML2_LIBS $LIBS"
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10824 /* Override any GCC internal prototype to avoid an error.
10825 Use char because int might match the return type of a GCC
10826 builtin and then its argument prototype would still apply. */
10827 #ifdef __cplusplus
10828 extern "C"
10829 #endif
10830 char xmlParseMemory ();
10832 main ()
10834 return xmlParseMemory ();
10836 return 0;
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"; then :
10840 ac_cv_lib_xml2_xmlParseMemory=yes
10841 else
10842 ac_cv_lib_xml2_xmlParseMemory=no
10844 rm -f core conftest.err conftest.$ac_objext \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10849 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10850 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10852 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10854 else
10855 XML2_LIBS=""
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10859 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10860 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-lxml2 $XML2_LIBS $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char xmlReadMemory ();
10876 main ()
10878 return xmlReadMemory ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_xml2_xmlReadMemory=yes
10885 else
10886 ac_cv_lib_xml2_xmlReadMemory=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10893 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10894 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10896 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10901 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10902 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10903 $as_echo_n "(cached) " >&6
10904 else
10905 ac_check_lib_save_LIBS=$LIBS
10906 LIBS="-lxml2 $XML2_LIBS $LIBS"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char xmlNewDocPI ();
10918 main ()
10920 return xmlNewDocPI ();
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 ac_cv_lib_xml2_xmlNewDocPI=yes
10927 else
10928 ac_cv_lib_xml2_xmlNewDocPI=no
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10935 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10936 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10938 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10943 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10944 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10945 $as_echo_n "(cached) " >&6
10946 else
10947 ac_check_lib_save_LIBS=$LIBS
10948 LIBS="-lxml2 $XML2_LIBS $LIBS"
10949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char xmlSchemaSetParserStructuredErrors ();
10960 main ()
10962 return xmlSchemaSetParserStructuredErrors ();
10964 return 0;
10966 _ACEOF
10967 if ac_fn_c_try_link "$LINENO"; then :
10968 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10969 else
10970 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10972 rm -f core conftest.err conftest.$ac_objext \
10973 conftest$ac_exeext conftest.$ac_ext
10974 LIBS=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10977 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10978 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10980 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10985 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10986 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10987 $as_echo_n "(cached) " >&6
10988 else
10989 ac_check_lib_save_LIBS=$LIBS
10990 LIBS="-lxml2 $XML2_LIBS $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char xmlSchemaSetValidStructuredErrors ();
11002 main ()
11004 return xmlSchemaSetValidStructuredErrors ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11011 else
11012 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_lib_save_LIBS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11019 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11020 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11022 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11027 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11028 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11029 $as_echo_n "(cached) " >&6
11030 else
11031 ac_check_lib_save_LIBS=$LIBS
11032 LIBS="-lxml2 $XML2_LIBS $LIBS"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char xmlFirstElementChild ();
11044 main ()
11046 return xmlFirstElementChild ();
11048 return 0;
11050 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"; then :
11052 ac_cv_lib_xml2_xmlFirstElementChild=yes
11053 else
11054 ac_cv_lib_xml2_xmlFirstElementChild=no
11056 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11061 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11062 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11064 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11068 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11070 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11072 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11076 else
11077 XML2_CFLAGS=""
11078 XML2_LIBS=""
11080 CPPFLAGS=$ac_save_CPPFLAGS
11081 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11082 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11085 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11086 case "x$with_xml" in
11087 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11088 xno) ;;
11089 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11090 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11091 esac
11094 if test "x$with_xslt" != "xno"
11095 then
11096 if ${XSLT_CFLAGS:+false} :; then :
11097 if ${PKG_CONFIG+:} false; then :
11098 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11101 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11102 if ${XSLT_LIBS:+false} :; then :
11103 if ${PKG_CONFIG+:} false; then :
11104 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11107 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11108 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11109 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11110 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11111 ac_save_CPPFLAGS=$CPPFLAGS
11112 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11113 for ac_header in libxslt/pattern.h libxslt/transform.h
11114 do :
11115 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11116 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11117 # include <libxslt/pattern.h>
11118 #endif
11120 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11121 cat >>confdefs.h <<_ACEOF
11122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11123 _ACEOF
11127 done
11129 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11130 then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11132 $as_echo_n "checking for -lxslt... " >&6; }
11133 if ${ac_cv_lib_soname_xslt+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_soname_save_LIBS=$LIBS
11137 LIBS="-lxslt $XSLT_LIBS $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char xsltCompilePattern ();
11149 main ()
11151 return xsltCompilePattern ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 case "$LIBEXT" in
11158 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11159 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'` ;;
11160 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11161 if ${ac_cv_lib_soname_xslt:+false} :; then :
11162 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11163 fi ;;
11164 esac
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_soname_save_LIBS
11170 if ${ac_cv_lib_soname_xslt:+false} :; then :
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11172 $as_echo "not found" >&6; }
11174 else
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11176 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11178 cat >>confdefs.h <<_ACEOF
11179 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11180 _ACEOF
11184 else
11185 XSLT_CFLAGS=""
11187 CPPFLAGS=$ac_save_CPPFLAGS
11188 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11189 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11192 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11193 case "x$with_xslt" in
11194 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11195 xno) ;;
11196 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11197 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11198 esac
11201 if test "x$with_dbus" != "xno"
11202 then
11203 if ${DBUS_CFLAGS:+false} :; then :
11204 if ${PKG_CONFIG+:} false; then :
11205 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11209 if ${DBUS_LIBS:+false} :; then :
11210 if ${PKG_CONFIG+:} false; then :
11211 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11216 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11217 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11218 ac_save_CPPFLAGS=$CPPFLAGS
11219 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11220 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11221 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11223 $as_echo_n "checking for -ldbus-1... " >&6; }
11224 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11225 $as_echo_n "(cached) " >&6
11226 else
11227 ac_check_soname_save_LIBS=$LIBS
11228 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char dbus_connection_close ();
11240 main ()
11242 return dbus_connection_close ();
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"; then :
11248 case "$LIBEXT" in
11249 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11250 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'` ;;
11251 *) 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'`
11252 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11253 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11254 fi ;;
11255 esac
11257 rm -f core conftest.err conftest.$ac_objext \
11258 conftest$ac_exeext conftest.$ac_ext
11259 LIBS=$ac_check_soname_save_LIBS
11261 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11263 $as_echo "not found" >&6; }
11264 DBUS_CFLAGS=""
11265 else
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11267 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11269 cat >>confdefs.h <<_ACEOF
11270 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11271 _ACEOF
11275 else
11276 DBUS_CFLAGS=""
11280 CPPFLAGS=$ac_save_CPPFLAGS
11281 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11282 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11285 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11286 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11287 case "x$with_dbus" in
11288 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11289 xno) ;;
11290 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11291 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11292 esac
11295 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11296 then
11297 if ${HAL_CFLAGS:+false} :; then :
11298 if ${PKG_CONFIG+:} false; then :
11299 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11303 if ${HAL_LIBS:+false} :; then :
11304 if ${PKG_CONFIG+:} false; then :
11305 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11309 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11310 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11311 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11312 ac_save_CPPFLAGS=$CPPFLAGS
11313 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11314 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11315 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11317 $as_echo_n "checking for -lhal... " >&6; }
11318 if ${ac_cv_lib_soname_hal+:} false; then :
11319 $as_echo_n "(cached) " >&6
11320 else
11321 ac_check_soname_save_LIBS=$LIBS
11322 LIBS="-lhal $HAL_LIBS $LIBS"
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char libhal_ctx_new ();
11334 main ()
11336 return libhal_ctx_new ();
11338 return 0;
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342 case "$LIBEXT" in
11343 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11344 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'` ;;
11345 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11346 if ${ac_cv_lib_soname_hal:+false} :; then :
11347 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11348 fi ;;
11349 esac
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_soname_save_LIBS
11355 if ${ac_cv_lib_soname_hal:+false} :; then :
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11357 $as_echo "not found" >&6; }
11358 HAL_CFLAGS=""
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11361 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11363 cat >>confdefs.h <<_ACEOF
11364 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11365 _ACEOF
11369 else
11370 HAL_CFLAGS=""
11374 CPPFLAGS=$ac_save_CPPFLAGS
11375 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11376 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11378 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11379 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11380 case "x$with_hal" in
11381 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11382 xno) ;;
11383 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11384 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11385 esac
11389 if test "x$with_gnutls" != "xno"
11390 then
11391 if ${GNUTLS_CFLAGS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11397 if ${GNUTLS_LIBS:+false} :; then :
11398 if ${PKG_CONFIG+:} false; then :
11399 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11404 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11405 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11406 ac_save_CPPFLAGS=$CPPFLAGS
11407 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11408 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11409 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11412 #include <gnutls/gnutls.h>
11413 #include <gnutls/crypto.h>
11415 main ()
11417 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11419 return 0;
11421 _ACEOF
11422 if ac_fn_c_try_compile "$LINENO"; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11424 $as_echo_n "checking for -lgnutls... " >&6; }
11425 if ${ac_cv_lib_soname_gnutls+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_soname_save_LIBS=$LIBS
11429 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char gnutls_global_init ();
11441 main ()
11443 return gnutls_global_init ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 case "$LIBEXT" in
11450 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11451 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'` ;;
11452 *) 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'`
11453 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11454 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'`
11455 fi ;;
11456 esac
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_soname_save_LIBS
11462 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11464 $as_echo "not found" >&6; }
11465 GNUTLS_CFLAGS=""
11466 else
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11468 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11470 cat >>confdefs.h <<_ACEOF
11471 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11472 _ACEOF
11477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11478 else
11479 GNUTLS_CFLAGS=""
11483 CPPFLAGS=$ac_save_CPPFLAGS
11484 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11485 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11488 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11489 case "x$with_gnutls" in
11490 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11491 xno) ;;
11492 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11493 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11494 esac
11497 CURSES_LIBS=""
11498 if test "$ac_cv_header_ncurses_h" = "yes"
11499 then
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11501 $as_echo_n "checking for -lncurses... " >&6; }
11502 if ${ac_cv_lib_soname_ncurses+:} false; then :
11503 $as_echo_n "(cached) " >&6
11504 else
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lncurses $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11513 #ifdef __cplusplus
11514 extern "C"
11515 #endif
11516 char waddch ();
11518 main ()
11520 return waddch ();
11522 return 0;
11524 _ACEOF
11525 if ac_fn_c_try_link "$LINENO"; then :
11526 case "$LIBEXT" in
11527 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) 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'`
11530 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11531 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11532 fi ;;
11533 esac
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_soname_save_LIBS
11539 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11541 $as_echo "not found" >&6; }
11543 else
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11545 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11547 cat >>confdefs.h <<_ACEOF
11548 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11549 _ACEOF
11551 CURSES_LIBS="-lncurses"
11553 elif test "$ac_cv_header_curses_h" = "yes"
11554 then
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11556 $as_echo_n "checking for -lcurses... " >&6; }
11557 if ${ac_cv_lib_soname_curses+:} false; then :
11558 $as_echo_n "(cached) " >&6
11559 else
11560 ac_check_soname_save_LIBS=$LIBS
11561 LIBS="-lcurses $LIBS"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11565 /* Override any GCC internal prototype to avoid an error.
11566 Use char because int might match the return type of a GCC
11567 builtin and then its argument prototype would still apply. */
11568 #ifdef __cplusplus
11569 extern "C"
11570 #endif
11571 char waddch ();
11573 main ()
11575 return waddch ();
11577 return 0;
11579 _ACEOF
11580 if ac_fn_c_try_link "$LINENO"; then :
11581 case "$LIBEXT" in
11582 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11583 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'` ;;
11584 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11585 if ${ac_cv_lib_soname_curses:+false} :; then :
11586 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11587 fi ;;
11588 esac
11590 rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592 LIBS=$ac_check_soname_save_LIBS
11594 if ${ac_cv_lib_soname_curses:+false} :; then :
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11596 $as_echo "not found" >&6; }
11598 else
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11600 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11602 cat >>confdefs.h <<_ACEOF
11603 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11604 _ACEOF
11606 CURSES_LIBS="-lcurses"
11609 ac_save_LIBS="$LIBS"
11610 LIBS="$LIBS $CURSES_LIBS"
11611 for ac_func in mousemask
11612 do :
11613 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11614 if test "x$ac_cv_func_mousemask" = xyes; then :
11615 cat >>confdefs.h <<_ACEOF
11616 #define HAVE_MOUSEMASK 1
11617 _ACEOF
11620 done
11622 LIBS="$ac_save_LIBS"
11623 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11624 case "x$with_curses" in
11625 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11626 xno) ;;
11627 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11628 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11629 esac
11632 if test "x$with_sane" != "xno"
11633 then
11634 if ${SANE_CFLAGS:+false} :; then :
11635 if ${PKG_CONFIG+:} false; then :
11636 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11639 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11640 if ${SANE_LIBS:+false} :; then :
11641 if ${PKG_CONFIG+:} false; then :
11642 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11645 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11647 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11648 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11649 ac_save_CPPFLAGS=$CPPFLAGS
11650 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11651 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11652 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11654 $as_echo_n "checking for -lsane... " >&6; }
11655 if ${ac_cv_lib_soname_sane+:} false; then :
11656 $as_echo_n "(cached) " >&6
11657 else
11658 ac_check_soname_save_LIBS=$LIBS
11659 LIBS="-lsane $SANE_LIBS $LIBS"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11663 /* Override any GCC internal prototype to avoid an error.
11664 Use char because int might match the return type of a GCC
11665 builtin and then its argument prototype would still apply. */
11666 #ifdef __cplusplus
11667 extern "C"
11668 #endif
11669 char sane_init ();
11671 main ()
11673 return sane_init ();
11675 return 0;
11677 _ACEOF
11678 if ac_fn_c_try_link "$LINENO"; then :
11679 case "$LIBEXT" in
11680 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11681 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'` ;;
11682 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11683 if ${ac_cv_lib_soname_sane:+false} :; then :
11684 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11685 fi ;;
11686 esac
11688 rm -f core conftest.err conftest.$ac_objext \
11689 conftest$ac_exeext conftest.$ac_ext
11690 LIBS=$ac_check_soname_save_LIBS
11692 if ${ac_cv_lib_soname_sane:+false} :; then :
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11694 $as_echo "not found" >&6; }
11695 SANE_CFLAGS=""
11696 else
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11698 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11700 cat >>confdefs.h <<_ACEOF
11701 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11702 _ACEOF
11706 else
11707 SANE_CFLAGS=""
11711 CPPFLAGS=$ac_save_CPPFLAGS
11712 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11713 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11716 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11717 case "x$with_sane" in
11718 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11719 xno) ;;
11720 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11721 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11722 esac
11725 if test "x$with_v4l" != "xno"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11728 $as_echo_n "checking for -lv4l1... " >&6; }
11729 if ${ac_cv_lib_soname_v4l1+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lv4l1 $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char v4l1_open ();
11745 main ()
11747 return v4l1_open ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11758 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_soname_save_LIBS
11766 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11768 $as_echo "not found" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11772 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11774 cat >>confdefs.h <<_ACEOF
11775 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11776 _ACEOF
11781 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11782 case "x$with_v4l" in
11783 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11784 xno) ;;
11785 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11786 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11787 esac
11790 if test "x$with_gphoto" != "xno"
11791 then
11792 if ${GPHOTO2_CFLAGS:+false} :; then :
11793 if ${PKG_CONFIG+:} false; then :
11794 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11797 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11798 if ${GPHOTO2_LIBS:+false} :; then :
11799 if ${PKG_CONFIG+:} false; then :
11800 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11803 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11804 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11805 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11806 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11807 ac_save_CPPFLAGS=$CPPFLAGS
11808 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11809 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11810 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11812 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11813 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11814 $as_echo_n "(cached) " >&6
11815 else
11816 ac_check_lib_save_LIBS=$LIBS
11817 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11824 #ifdef __cplusplus
11825 extern "C"
11826 #endif
11827 char gp_camera_new ();
11829 main ()
11831 return gp_camera_new ();
11833 return 0;
11835 _ACEOF
11836 if ac_fn_c_try_link "$LINENO"; then :
11837 ac_cv_lib_gphoto2_gp_camera_new=yes
11838 else
11839 ac_cv_lib_gphoto2_gp_camera_new=no
11841 rm -f core conftest.err conftest.$ac_objext \
11842 conftest$ac_exeext conftest.$ac_ext
11843 LIBS=$ac_check_lib_save_LIBS
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11846 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11847 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11849 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11851 else
11852 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11855 else
11856 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11860 CPPFLAGS=$ac_save_CPPFLAGS
11861 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11862 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11864 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11865 if ${PKG_CONFIG+:} false; then :
11866 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11869 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11870 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11871 if ${PKG_CONFIG+:} false; then :
11872 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11875 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11876 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11877 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11878 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11879 ac_save_CPPFLAGS=$CPPFLAGS
11880 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11881 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11882 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11884 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11885 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11886 $as_echo_n "(cached) " >&6
11887 else
11888 ac_check_lib_save_LIBS=$LIBS
11889 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11893 /* Override any GCC internal prototype to avoid an error.
11894 Use char because int might match the return type of a GCC
11895 builtin and then its argument prototype would still apply. */
11896 #ifdef __cplusplus
11897 extern "C"
11898 #endif
11899 char gp_port_info_list_new ();
11901 main ()
11903 return gp_port_info_list_new ();
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_link "$LINENO"; then :
11909 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11910 else
11911 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11913 rm -f core conftest.err conftest.$ac_objext \
11914 conftest$ac_exeext conftest.$ac_ext
11915 LIBS=$ac_check_lib_save_LIBS
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11918 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11919 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11921 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11923 else
11924 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11927 else
11928 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11932 CPPFLAGS=$ac_save_CPPFLAGS
11933 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11934 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11937 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11938 case "x$with_gphoto" in
11939 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11940 xno) ;;
11941 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11942 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11943 esac
11945 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11946 case "x$with_gphoto" in
11947 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11948 xno) ;;
11949 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11950 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11951 esac
11955 if test "$ac_cv_header_resolv_h" = "yes"
11956 then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11958 $as_echo_n "checking for resolver library... " >&6; }
11959 if ${ac_cv_have_resolv+:} false; then :
11960 $as_echo_n "(cached) " >&6
11961 else
11962 ac_save_LIBS="$LIBS"
11963 for lib in '' -lresolv
11965 LIBS="$lib $ac_save_LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11968 #ifdef HAVE_NETINET_IN_H
11969 #include <netinet/in.h>
11970 #endif
11971 #include <resolv.h>
11973 main ()
11975 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 ac_cv_have_resolv=${lib:-"none required"}
11982 else
11983 ac_cv_have_resolv="not found"
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 test "x$ac_cv_have_resolv" = "xnot found" || break
11988 done
11989 LIBS="$ac_save_LIBS"
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11992 $as_echo "$ac_cv_have_resolv" >&6; }
11994 case "$ac_cv_have_resolv" in
11995 "not found") ;;
11996 "none required")
11998 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12001 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12003 RESOLV_LIBS=$ac_cv_have_resolv
12005 esac
12008 if test "x$with_cms" != "xno"
12009 then
12010 if ${LCMS2_CFLAGS:+false} :; then :
12011 if ${PKG_CONFIG+:} false; then :
12012 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12016 if ${LCMS2_LIBS:+false} :; then :
12017 if ${PKG_CONFIG+:} false; then :
12018 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12022 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12023 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12024 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12025 ac_save_CPPFLAGS=$CPPFLAGS
12026 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12027 for ac_header in lcms2.h
12028 do :
12029 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12030 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12031 cat >>confdefs.h <<_ACEOF
12032 #define HAVE_LCMS2_H 1
12033 _ACEOF
12037 done
12039 if test "$ac_cv_header_lcms2_h" = "yes"
12040 then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12042 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12043 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12044 $as_echo_n "(cached) " >&6
12045 else
12046 ac_check_lib_save_LIBS=$LIBS
12047 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char cmsOpenProfileFromFile ();
12059 main ()
12061 return cmsOpenProfileFromFile ();
12063 return 0;
12065 _ACEOF
12066 if ac_fn_c_try_link "$LINENO"; then :
12067 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12068 else
12069 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12071 rm -f core conftest.err conftest.$ac_objext \
12072 conftest$ac_exeext conftest.$ac_ext
12073 LIBS=$ac_check_lib_save_LIBS
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12076 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12077 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12079 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12081 else
12082 LCMS2_LIBS=""
12085 else
12086 LCMS2_CFLAGS=""
12087 LCMS2_LIBS=""
12089 CPPFLAGS=$ac_save_CPPFLAGS
12090 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12091 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12094 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12095 case "x$with_cms" in
12096 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12097 xno) ;;
12098 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12099 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12100 esac
12103 if test "x$with_freetype" != "xno"
12104 then
12105 if ${FREETYPE_CFLAGS:+false} :; then :
12106 if ${PKG_CONFIG+:} false; then :
12107 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12110 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12111 if ${FREETYPE_LIBS:+false} :; then :
12112 if ${PKG_CONFIG+:} false; then :
12113 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12116 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12117 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12118 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12120 ac_save_CPPFLAGS=$CPPFLAGS
12121 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12122 for ac_header in ft2build.h
12123 do :
12124 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12126 cat >>confdefs.h <<_ACEOF
12127 #define HAVE_FT2BUILD_H 1
12128 _ACEOF
12132 done
12134 if test "$ac_cv_header_ft2build_h" = "yes"
12135 then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12137 $as_echo_n "checking for -lfreetype... " >&6; }
12138 if ${ac_cv_lib_soname_freetype+:} false; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 ac_check_soname_save_LIBS=$LIBS
12142 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char FT_Init_FreeType ();
12154 main ()
12156 return FT_Init_FreeType ();
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 case "$LIBEXT" in
12163 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12164 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'` ;;
12165 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12166 if ${ac_cv_lib_soname_freetype:+false} :; then :
12167 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12168 fi ;;
12169 esac
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_soname_save_LIBS
12175 if ${ac_cv_lib_soname_freetype:+false} :; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12177 $as_echo "not found" >&6; }
12178 FREETYPE_LIBS=""
12179 else
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12181 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12183 cat >>confdefs.h <<_ACEOF
12184 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12185 _ACEOF
12188 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12190 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12191 #include FT_MODULE_H
12193 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12195 cat >>confdefs.h <<_ACEOF
12196 #define HAVE_FT_TRUETYPEENGINETYPE 1
12197 _ACEOF
12203 else
12204 FREETYPE_CFLAGS=""
12205 FREETYPE_LIBS=""
12207 CPPFLAGS=$ac_save_CPPFLAGS
12208 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12209 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12212 if test "x$ac_cv_lib_soname_freetype" = x; then :
12213 case "x$with_freetype" in
12214 xno) ;;
12215 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12216 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12217 esac
12219 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12222 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12223 if ${ac_cv_c_ppdev+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12228 #ifdef HAVE_SYS_IOCTL_H
12229 # include <sys/ioctl.h>
12230 #endif
12231 #include <linux/ppdev.h>
12233 main ()
12235 ioctl (1,PPCLAIM,0)
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_compile "$LINENO"; then :
12241 ac_cv_c_ppdev="yes"
12242 else
12243 ac_cv_c_ppdev="no"
12245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12248 $as_echo "$ac_cv_c_ppdev" >&6; }
12249 if test "$ac_cv_c_ppdev" = "yes"
12250 then
12252 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12256 ac_wine_check_funcs_save_LIBS="$LIBS"
12257 LIBS="$LIBS $PTHREAD_LIBS"
12258 for ac_func in \
12259 pthread_attr_get_np \
12260 pthread_getattr_np \
12261 pthread_getthreadid_np \
12262 pthread_get_stackaddr_np \
12263 pthread_get_stacksize_np
12264 do :
12265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12267 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12268 cat >>confdefs.h <<_ACEOF
12269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12270 _ACEOF
12273 done
12275 LIBS="$ac_wine_check_funcs_save_LIBS"
12277 if test "$ac_cv_header_zlib_h" = "yes"
12278 then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12280 $as_echo_n "checking for inflate in -lz... " >&6; }
12281 if ${ac_cv_lib_z_inflate+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_lib_save_LIBS=$LIBS
12285 LIBS="-lz $LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char inflate ();
12297 main ()
12299 return inflate ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 ac_cv_lib_z_inflate=yes
12306 else
12307 ac_cv_lib_z_inflate=no
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 LIBS=$ac_check_lib_save_LIBS
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12314 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12315 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12317 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12319 Z_LIBS="-lz"
12324 if test "x$Z_LIBS" = "x"; then :
12325 case "x$with_zlib" in
12326 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12327 xno) ;;
12328 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12329 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12330 esac
12333 if test "x$enable_tools" != xno
12334 then
12335 if test "$ac_cv_header_gettext_po_h" = "yes"
12336 then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12338 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12339 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12340 $as_echo_n "(cached) " >&6
12341 else
12342 ac_check_lib_save_LIBS=$LIBS
12343 LIBS="-lgettextpo $LIBS"
12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12347 /* Override any GCC internal prototype to avoid an error.
12348 Use char because int might match the return type of a GCC
12349 builtin and then its argument prototype would still apply. */
12350 #ifdef __cplusplus
12351 extern "C"
12352 #endif
12353 char po_message_msgctxt ();
12355 main ()
12357 return po_message_msgctxt ();
12359 return 0;
12361 _ACEOF
12362 if ac_fn_c_try_link "$LINENO"; then :
12363 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12364 else
12365 ac_cv_lib_gettextpo_po_message_msgctxt=no
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 LIBS=$ac_check_lib_save_LIBS
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12372 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12373 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12375 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12377 GETTEXTPO_LIBS="-lgettextpo"
12382 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12383 case "x$with_gettextpo" in
12384 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12385 xno) ;;
12386 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12387 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12388 esac
12392 if test "x$with_gstreamer" != "xno"
12393 then
12394 if ${GSTREAMER_CFLAGS:+false} :; then :
12395 if ${PKG_CONFIG+:} false; then :
12396 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12400 if ${GSTREAMER_LIBS:+false} :; then :
12401 if ${PKG_CONFIG+:} false; then :
12402 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12407 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12408 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12409 ac_save_CPPFLAGS=$CPPFLAGS
12410 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12411 ac_gst_incl=""
12412 for i in $GSTREAMER_CFLAGS
12414 case "$i" in
12415 -I*) ac_gst_incl="$ac_gst_incl $i";;
12416 esac
12417 done
12418 GSTREAMER_CFLAGS=$ac_gst_incl
12419 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12420 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12421 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12422 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12423 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12425 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12428 #include <gst/app/gstappsink.h>
12430 main ()
12432 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_compile "$LINENO"; then :
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12439 $as_echo "yes" >&6; }
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12441 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12442 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 ac_check_lib_save_LIBS=$LIBS
12446 LIBS="-lgstreamer-0.10 $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char gst_pad_get_caps_reffed ();
12458 main ()
12460 return gst_pad_get_caps_reffed ();
12462 return 0;
12464 _ACEOF
12465 if ac_fn_c_try_link "$LINENO"; then :
12466 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12467 else
12468 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12475 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12476 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12478 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12479 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12480 $as_echo_n "(cached) " >&6
12481 else
12482 ac_check_lib_save_LIBS=$LIBS
12483 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12487 /* Override any GCC internal prototype to avoid an error.
12488 Use char because int might match the return type of a GCC
12489 builtin and then its argument prototype would still apply. */
12490 #ifdef __cplusplus
12491 extern "C"
12492 #endif
12493 char gst_app_buffer_new ();
12495 main ()
12497 return gst_app_buffer_new ();
12499 return 0;
12501 _ACEOF
12502 if ac_fn_c_try_link "$LINENO"; then :
12503 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12504 else
12505 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_lib_save_LIBS
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12512 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12513 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12519 else
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12521 $as_echo "no" >&6; }
12523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12527 else
12528 GSTREAMER_CFLAGS=""
12532 CPPFLAGS=$ac_save_CPPFLAGS
12533 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12534 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12537 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12538 case "x$with_gstreamer" in
12539 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12540 xno) ;;
12541 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12542 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12543 esac
12545 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12547 ALSA_LIBS=""
12549 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12552 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12553 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lasound $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char snd_pcm_hw_params_get_access_mask ();
12569 main ()
12571 return snd_pcm_hw_params_get_access_mask ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12578 else
12579 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12586 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12587 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12590 #ifdef HAVE_ALSA_ASOUNDLIB_H
12591 #include <alsa/asoundlib.h>
12592 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12593 #include <sys/asoundlib.h>
12594 #endif
12596 main ()
12598 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_compile "$LINENO"; then :
12604 ALSA_LIBS="-lasound"
12606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12611 if test "x$with_oss" != xno
12612 then
12613 ac_save_CPPFLAGS="$CPPFLAGS"
12614 if test -f /etc/oss.conf
12615 then
12616 . /etc/oss.conf
12618 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12619 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12620 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12621 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12622 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12624 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12626 cat >>confdefs.h <<_ACEOF
12627 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12628 _ACEOF
12630 OSS4_CFLAGS="$ac_oss_incl"
12637 CPPFLAGS="$ac_save_CPPFLAGS"
12638 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12639 then
12640 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12644 if test "x$with_capi" != "xno"
12645 then
12646 if ${CAPI20_CFLAGS:+false} :; then :
12647 if ${PKG_CONFIG+:} false; then :
12648 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12652 if ${CAPI20_LIBS:+false} :; then :
12653 if ${PKG_CONFIG+:} false; then :
12654 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12659 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12660 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12661 ac_save_CPPFLAGS=$CPPFLAGS
12662 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12663 for ac_header in capi20.h linux/capi.h
12664 do :
12665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12669 cat >>confdefs.h <<_ACEOF
12670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12671 _ACEOF
12675 done
12677 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12678 then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12680 $as_echo_n "checking for -lcapi20... " >&6; }
12681 if ${ac_cv_lib_soname_capi20+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_soname_save_LIBS=$LIBS
12685 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char capi20_register ();
12697 main ()
12699 return capi20_register ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 case "$LIBEXT" in
12706 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12707 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'` ;;
12708 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12709 if ${ac_cv_lib_soname_capi20:+false} :; then :
12710 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12711 fi ;;
12712 esac
12714 rm -f core conftest.err conftest.$ac_objext \
12715 conftest$ac_exeext conftest.$ac_ext
12716 LIBS=$ac_check_soname_save_LIBS
12718 if ${ac_cv_lib_soname_capi20:+false} :; then :
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12720 $as_echo "not found" >&6; }
12722 else
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12724 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12726 cat >>confdefs.h <<_ACEOF
12727 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12728 _ACEOF
12733 CPPFLAGS=$ac_save_CPPFLAGS
12734 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12735 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12738 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12739 case "x$with_capi" in
12740 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12741 xno) ;;
12742 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12743 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12744 esac
12747 CUPS_CFLAGS=""
12749 if test "x$with_cups" != "xno"
12750 then
12751 ac_save_CPPFLAGS="$CPPFLAGS"
12752 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12753 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12754 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12755 for ac_header in cups/cups.h
12756 do :
12757 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12758 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12759 cat >>confdefs.h <<_ACEOF
12760 #define HAVE_CUPS_CUPS_H 1
12761 _ACEOF
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12763 $as_echo_n "checking for -lcups... " >&6; }
12764 if ${ac_cv_lib_soname_cups+:} false; then :
12765 $as_echo_n "(cached) " >&6
12766 else
12767 ac_check_soname_save_LIBS=$LIBS
12768 LIBS="-lcups $ac_cups_libs $LIBS"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12775 #ifdef __cplusplus
12776 extern "C"
12777 #endif
12778 char cupsGetDefault ();
12780 main ()
12782 return cupsGetDefault ();
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_link "$LINENO"; then :
12788 case "$LIBEXT" in
12789 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12790 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'` ;;
12791 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12792 if ${ac_cv_lib_soname_cups:+false} :; then :
12793 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12794 fi ;;
12795 esac
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_soname_save_LIBS
12801 if ${ac_cv_lib_soname_cups:+false} :; then :
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12803 $as_echo "not found" >&6; }
12805 else
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12807 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12809 cat >>confdefs.h <<_ACEOF
12810 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12811 _ACEOF
12813 CUPS_CFLAGS="$ac_cups_cflags"
12817 done
12819 CPPFLAGS="$ac_save_CPPFLAGS"
12821 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12822 case "x$with_cups" in
12823 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12824 xno) ;;
12825 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12826 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12827 esac
12830 if test "x$with_fontconfig" != "xno"
12831 then
12832 if ${FONTCONFIG_CFLAGS:+false} :; then :
12833 if ${PKG_CONFIG+:} false; then :
12834 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12837 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12838 if ${FONTCONFIG_LIBS:+false} :; then :
12839 if ${PKG_CONFIG+:} false; then :
12840 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12843 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12845 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12846 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12847 ac_save_CPPFLAGS=$CPPFLAGS
12848 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12849 for ac_header in fontconfig/fontconfig.h
12850 do :
12851 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12852 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12853 cat >>confdefs.h <<_ACEOF
12854 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12855 _ACEOF
12859 done
12861 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12862 then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12864 $as_echo_n "checking for -lfontconfig... " >&6; }
12865 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 ac_check_soname_save_LIBS=$LIBS
12869 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 /* Override any GCC internal prototype to avoid an error.
12874 Use char because int might match the return type of a GCC
12875 builtin and then its argument prototype would still apply. */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char FcInit ();
12881 main ()
12883 return FcInit ();
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_link "$LINENO"; then :
12889 case "$LIBEXT" in
12890 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12891 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'` ;;
12892 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12893 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12894 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12895 fi ;;
12896 esac
12898 rm -f core conftest.err conftest.$ac_objext \
12899 conftest$ac_exeext conftest.$ac_ext
12900 LIBS=$ac_check_soname_save_LIBS
12902 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12904 $as_echo "not found" >&6; }
12905 FONTCONFIG_CFLAGS=""
12906 else
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12908 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12910 cat >>confdefs.h <<_ACEOF
12911 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12912 _ACEOF
12916 else
12917 FONTCONFIG_CFLAGS=""
12919 CPPFLAGS=$ac_save_CPPFLAGS
12920 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12921 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12924 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12925 case "x$with_fontconfig" in
12926 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12927 xno) ;;
12928 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12929 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12930 esac
12933 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12934 then
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12936 $as_echo_n "checking for -lgsm... " >&6; }
12937 if ${ac_cv_lib_soname_gsm+:} false; then :
12938 $as_echo_n "(cached) " >&6
12939 else
12940 ac_check_soname_save_LIBS=$LIBS
12941 LIBS="-lgsm $LIBS"
12942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 /* Override any GCC internal prototype to avoid an error.
12946 Use char because int might match the return type of a GCC
12947 builtin and then its argument prototype would still apply. */
12948 #ifdef __cplusplus
12949 extern "C"
12950 #endif
12951 char gsm_create ();
12953 main ()
12955 return gsm_create ();
12957 return 0;
12959 _ACEOF
12960 if ac_fn_c_try_link "$LINENO"; then :
12961 case "$LIBEXT" in
12962 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12963 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'` ;;
12964 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12965 if ${ac_cv_lib_soname_gsm:+false} :; then :
12966 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12967 fi ;;
12968 esac
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_soname_save_LIBS
12974 if ${ac_cv_lib_soname_gsm:+false} :; then :
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12976 $as_echo "not found" >&6; }
12978 else
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12980 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12982 cat >>confdefs.h <<_ACEOF
12983 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12984 _ACEOF
12989 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12990 case "x$with_gsm" in
12991 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12992 xno) ;;
12993 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12994 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12995 esac
12998 if test "x$with_jpeg" != "xno"
12999 then
13000 if ${JPEG_CFLAGS:+false} :; then :
13001 if ${PKG_CONFIG+:} false; then :
13002 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13006 if ${JPEG_LIBS:+false} :; then :
13007 if ${PKG_CONFIG+:} false; then :
13008 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13013 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13014 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13015 ac_save_CPPFLAGS=$CPPFLAGS
13016 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13017 for ac_header in jpeglib.h
13018 do :
13019 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13020 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13021 cat >>confdefs.h <<_ACEOF
13022 #define HAVE_JPEGLIB_H 1
13023 _ACEOF
13027 done
13029 if test "$ac_cv_header_jpeglib_h" = "yes"
13030 then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13032 $as_echo_n "checking for -ljpeg... " >&6; }
13033 if ${ac_cv_lib_soname_jpeg+:} false; then :
13034 $as_echo_n "(cached) " >&6
13035 else
13036 ac_check_soname_save_LIBS=$LIBS
13037 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 char jpeg_start_decompress ();
13049 main ()
13051 return jpeg_start_decompress ();
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 case "$LIBEXT" in
13058 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13059 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'` ;;
13060 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13061 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13062 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13063 fi ;;
13064 esac
13066 rm -f core conftest.err conftest.$ac_objext \
13067 conftest$ac_exeext conftest.$ac_ext
13068 LIBS=$ac_check_soname_save_LIBS
13070 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13072 $as_echo "not found" >&6; }
13073 JPEG_CFLAGS=""
13074 else
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13076 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13078 cat >>confdefs.h <<_ACEOF
13079 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13080 _ACEOF
13084 else
13085 JPEG_CFLAGS=""
13087 CPPFLAGS=$ac_save_CPPFLAGS
13088 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13089 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13092 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13093 case "x$with_jpeg" in
13094 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13095 xno) ;;
13096 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13097 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13098 esac
13101 if test "x$with_png" != "xno"
13102 then
13103 if ${PNG_CFLAGS:+false} :; then :
13104 if ${PKG_CONFIG+:} false; then :
13105 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13108 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13109 if ${PNG_LIBS:+false} :; then :
13110 if ${PKG_CONFIG+:} false; then :
13111 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13114 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13116 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13117 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13118 ac_save_CPPFLAGS=$CPPFLAGS
13119 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13120 for ac_header in png.h
13121 do :
13122 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13123 if test "x$ac_cv_header_png_h" = xyes; then :
13124 cat >>confdefs.h <<_ACEOF
13125 #define HAVE_PNG_H 1
13126 _ACEOF
13130 done
13132 if test "$ac_cv_header_png_h" = "yes"
13133 then
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13135 $as_echo_n "checking for -lpng... " >&6; }
13136 if ${ac_cv_lib_soname_png+:} false; then :
13137 $as_echo_n "(cached) " >&6
13138 else
13139 ac_check_soname_save_LIBS=$LIBS
13140 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char png_create_read_struct ();
13152 main ()
13154 return png_create_read_struct ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 case "$LIBEXT" in
13161 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13162 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'` ;;
13163 *) 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'`
13164 if ${ac_cv_lib_soname_png:+false} :; then :
13165 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13166 fi ;;
13167 esac
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_soname_save_LIBS
13173 if ${ac_cv_lib_soname_png:+false} :; then :
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13175 $as_echo "not found" >&6; }
13176 PNG_CFLAGS=""
13177 else
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13179 $as_echo "$ac_cv_lib_soname_png" >&6; }
13181 cat >>confdefs.h <<_ACEOF
13182 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13183 _ACEOF
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13187 #include <png.h>
13189 main ()
13191 typeof(png_set_expand_gray_1_2_4_to_8) *p
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_compile "$LINENO"; then :
13198 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13203 else
13204 PNG_CFLAGS=""
13206 CPPFLAGS=$ac_save_CPPFLAGS
13207 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13208 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13211 if test "x$ac_cv_lib_soname_png" = "x"; then :
13212 case "x$with_png" in
13213 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13214 xno) ;;
13215 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13216 This is an error since --with-png was requested." "$LINENO" 5 ;;
13217 esac
13220 if test "x$with_tiff" != "xno"
13221 then
13222 if ${TIFF_CFLAGS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13228 if ${TIFF_LIBS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13235 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13236 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13237 ac_save_CPPFLAGS=$CPPFLAGS
13238 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13239 for ac_header in tiffio.h
13240 do :
13241 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13243 cat >>confdefs.h <<_ACEOF
13244 #define HAVE_TIFFIO_H 1
13245 _ACEOF
13249 done
13251 if test "$ac_cv_header_tiffio_h" = "yes"
13252 then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13254 $as_echo_n "checking for -ltiff... " >&6; }
13255 if ${ac_cv_lib_soname_tiff+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_soname_save_LIBS=$LIBS
13259 LIBS="-ltiff $TIFF_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char TIFFClientOpen ();
13271 main ()
13273 return TIFFClientOpen ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 case "$LIBEXT" in
13280 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13281 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'` ;;
13282 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13283 if ${ac_cv_lib_soname_tiff:+false} :; then :
13284 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13285 fi ;;
13286 esac
13288 rm -f core conftest.err conftest.$ac_objext \
13289 conftest$ac_exeext conftest.$ac_ext
13290 LIBS=$ac_check_soname_save_LIBS
13292 if ${ac_cv_lib_soname_tiff:+false} :; then :
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13294 $as_echo "not found" >&6; }
13296 else
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13298 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13300 cat >>confdefs.h <<_ACEOF
13301 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13302 _ACEOF
13307 CPPFLAGS=$ac_save_CPPFLAGS
13308 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13309 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13312 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13313 case "x$with_tiff" in
13314 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13315 xno) ;;
13316 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13317 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13318 esac
13321 if test "x$with_mpg123" != "xno"
13322 then
13323 if ${MPG123_CFLAGS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13329 if ${MPG123_LIBS:+false} :; then :
13330 if ${PKG_CONFIG+:} false; then :
13331 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13335 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13338 ac_save_CPPFLAGS=$CPPFLAGS
13339 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13340 for ac_header in mpg123.h
13341 do :
13342 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define HAVE_MPG123_H 1
13346 _ACEOF
13350 done
13352 if test "$ac_cv_header_mpg123_h" = "yes"
13353 then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13355 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13356 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_lib_save_LIBS=$LIBS
13360 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char mpg123_feed ();
13372 main ()
13374 return mpg123_feed ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 ac_cv_lib_mpg123_mpg123_feed=yes
13381 else
13382 ac_cv_lib_mpg123_mpg123_feed=no
13384 rm -f core conftest.err conftest.$ac_objext \
13385 conftest$ac_exeext conftest.$ac_ext
13386 LIBS=$ac_check_lib_save_LIBS
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13389 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13390 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13392 else
13393 MPG123_LIBS=""
13396 else
13397 MPG123_CFLAGS=""
13398 MPG123_LIBS=""
13400 CPPFLAGS=$ac_save_CPPFLAGS
13401 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13402 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13405 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13406 case "x$with_mpg123" in
13407 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13410 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13411 esac
13413 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}
13415 if test "$ac_cv_header_AL_al_h" = "yes"
13416 then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13418 $as_echo_n "checking for -lopenal... " >&6; }
13419 if ${ac_cv_lib_soname_openal+:} false; then :
13420 $as_echo_n "(cached) " >&6
13421 else
13422 ac_check_soname_save_LIBS=$LIBS
13423 LIBS="-lopenal $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13430 #ifdef __cplusplus
13431 extern "C"
13432 #endif
13433 char alGetSource3i ();
13435 main ()
13437 return alGetSource3i ();
13439 return 0;
13441 _ACEOF
13442 if ac_fn_c_try_link "$LINENO"; then :
13443 case "$LIBEXT" in
13444 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13445 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'` ;;
13446 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13447 if ${ac_cv_lib_soname_openal:+false} :; then :
13448 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13449 fi ;;
13450 esac
13452 rm -f core conftest.err conftest.$ac_objext \
13453 conftest$ac_exeext conftest.$ac_ext
13454 LIBS=$ac_check_soname_save_LIBS
13456 if ${ac_cv_lib_soname_openal:+false} :; then :
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13458 $as_echo "not found" >&6; }
13460 else
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13462 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13464 cat >>confdefs.h <<_ACEOF
13465 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13466 _ACEOF
13468 OPENAL_LIBS="-lopenal"
13470 ac_cv_lib_openal=yes
13472 cat >>confdefs.h <<_ACEOF
13473 #define HAVE_OPENAL 1
13474 _ACEOF
13478 if test "x$ac_cv_lib_openal" != xyes; then :
13479 case "x$with_openal" in
13480 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13481 xno) ;;
13482 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13483 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13484 esac
13486 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13488 if test "$ac_cv_header_kstat_h" = "yes"
13489 then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13491 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13492 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13493 $as_echo_n "(cached) " >&6
13494 else
13495 ac_check_lib_save_LIBS=$LIBS
13496 LIBS="-lkstat $LIBS"
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13503 #ifdef __cplusplus
13504 extern "C"
13505 #endif
13506 char kstat_open ();
13508 main ()
13510 return kstat_open ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"; then :
13516 ac_cv_lib_kstat_kstat_open=yes
13517 else
13518 ac_cv_lib_kstat_kstat_open=no
13520 rm -f core conftest.err conftest.$ac_objext \
13521 conftest$ac_exeext conftest.$ac_ext
13522 LIBS=$ac_check_lib_save_LIBS
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13525 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13526 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13528 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13530 KSTAT_LIBS="-lkstat"
13536 if test "$ac_cv_header_libprocstat_h" = "yes"
13537 then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13539 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13540 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_check_lib_save_LIBS=$LIBS
13544 LIBS="-lprocstat $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char procstat_open_sysctl ();
13556 main ()
13558 return procstat_open_sysctl ();
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 ac_cv_lib_procstat_procstat_open_sysctl=yes
13565 else
13566 ac_cv_lib_procstat_procstat_open_sysctl=no
13568 rm -f core conftest.err conftest.$ac_objext \
13569 conftest$ac_exeext conftest.$ac_ext
13570 LIBS=$ac_check_lib_save_LIBS
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13573 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13574 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13576 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13578 PROCSTAT_LIBS="-lprocstat"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13585 $as_echo_n "checking for -lodbc... " >&6; }
13586 if ${ac_cv_lib_soname_odbc+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_soname_save_LIBS=$LIBS
13590 LIBS="-lodbc $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char SQLConnect ();
13602 main ()
13604 return SQLConnect ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 case "$LIBEXT" in
13611 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13614 if ${ac_cv_lib_soname_odbc:+false} :; then :
13615 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13616 fi ;;
13617 esac
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_odbc:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13626 cat >>confdefs.h <<_ACEOF
13627 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13628 _ACEOF
13630 else
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13632 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13634 cat >>confdefs.h <<_ACEOF
13635 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13636 _ACEOF
13641 if test "x$with_netapi" != "xno"
13642 then
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13644 $as_echo_n "checking for -lnetapi... " >&6; }
13645 if ${ac_cv_lib_soname_netapi+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_check_soname_save_LIBS=$LIBS
13649 LIBS="-lnetapi $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13656 #ifdef __cplusplus
13657 extern "C"
13658 #endif
13659 char libnetapi_init ();
13661 main ()
13663 return libnetapi_init ();
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 case "$LIBEXT" in
13670 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 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'` ;;
13672 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13673 if ${ac_cv_lib_soname_netapi:+false} :; then :
13674 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13675 fi ;;
13676 esac
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_soname_save_LIBS
13682 if ${ac_cv_lib_soname_netapi:+false} :; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13684 $as_echo "not found" >&6; }
13685 cat >>confdefs.h <<_ACEOF
13686 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13687 _ACEOF
13689 else
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13691 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13693 cat >>confdefs.h <<_ACEOF
13694 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13695 _ACEOF
13701 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13702 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13703 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13704 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13706 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13707 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13708 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13709 then
13710 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13714 EXTRACFLAGS=""
13716 if test "x${GCC}" = "xyes"
13717 then
13718 EXTRACFLAGS="-Wall -pipe"
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13721 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13722 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 if test "$cross_compiling" = yes; then :
13726 ac_cv_c_gcc_strength_bug="yes"
13727 else
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 int L[4] = {0,1,2,3};
13732 main ()
13734 static int Array[3];
13735 unsigned int B = 3;
13736 int i;
13737 for(i=0; i<B; i++) Array[i] = i - 3;
13738 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13739 L[i] = 4;
13740 return (Array[1] != -2 || L[2] != 3)
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_run "$LINENO"; then :
13746 ac_cv_c_gcc_strength_bug="no"
13747 else
13748 ac_cv_c_gcc_strength_bug="yes"
13750 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13751 conftest.$ac_objext conftest.beam conftest.$ac_ext
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13756 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13757 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13758 then
13759 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13763 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13764 if ${ac_cv_cflags__fno_builtin+:} false; then :
13765 $as_echo_n "(cached) " >&6
13766 else
13767 ac_wine_try_cflags_saved=$CFLAGS
13768 CFLAGS="$CFLAGS -fno-builtin"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_cflags__fno_builtin=yes
13775 else
13776 ac_cv_cflags__fno_builtin=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 CFLAGS=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13783 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13784 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13785 BUILTINFLAG="-fno-builtin"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13789 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13790 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -fno-strict-aliasing"
13795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13798 _ACEOF
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_cflags__fno_strict_aliasing=yes
13801 else
13802 ac_cv_cflags__fno_strict_aliasing=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13809 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13810 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13811 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13813 saved_CFLAGS=$CFLAGS
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13815 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13816 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13823 int main(int argc, char **argv) { return 0; }
13824 _ACEOF
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_cflags__Werror_unknown_warning_option=yes
13827 else
13828 ac_cv_cflags__Werror_unknown_warning_option=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 CFLAGS=$ac_wine_try_cflags_saved
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13835 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13836 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13837 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13840 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13841 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13848 int main(int argc, char **argv) { return 0; }
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"; then :
13851 ac_cv_cflags__Wdeclaration_after_statement=yes
13852 else
13853 ac_cv_cflags__Wdeclaration_after_statement=no
13855 rm -f core conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13860 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13861 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13862 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13865 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13866 if ${ac_cv_cflags__Wempty_body+:} false; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 ac_wine_try_cflags_saved=$CFLAGS
13870 CFLAGS="$CFLAGS -Wempty-body"
13871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 int main(int argc, char **argv) { return 0; }
13874 _ACEOF
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_cflags__Wempty_body=yes
13877 else
13878 ac_cv_cflags__Wempty_body=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 CFLAGS=$ac_wine_try_cflags_saved
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13885 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13886 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13887 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13890 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13891 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_wine_try_cflags_saved=$CFLAGS
13895 CFLAGS="$CFLAGS -Wignored-qualifiers"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13898 int main(int argc, char **argv) { return 0; }
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"; then :
13901 ac_cv_cflags__Wignored_qualifiers=yes
13902 else
13903 ac_cv_cflags__Wignored_qualifiers=no
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 CFLAGS=$ac_wine_try_cflags_saved
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13910 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13911 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13912 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13915 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13916 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 ac_wine_try_cflags_saved=$CFLAGS
13920 CFLAGS="$CFLAGS -Wstrict-prototypes"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13923 int main(int argc, char **argv) { return 0; }
13924 _ACEOF
13925 if ac_fn_c_try_link "$LINENO"; then :
13926 ac_cv_cflags__Wstrict_prototypes=yes
13927 else
13928 ac_cv_cflags__Wstrict_prototypes=no
13930 rm -f core conftest.err conftest.$ac_objext \
13931 conftest$ac_exeext conftest.$ac_ext
13932 CFLAGS=$ac_wine_try_cflags_saved
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13935 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13936 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13937 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13940 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13941 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_wine_try_cflags_saved=$CFLAGS
13945 CFLAGS="$CFLAGS -Wtype-limits"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 int main(int argc, char **argv) { return 0; }
13949 _ACEOF
13950 if ac_fn_c_try_link "$LINENO"; then :
13951 ac_cv_cflags__Wtype_limits=yes
13952 else
13953 ac_cv_cflags__Wtype_limits=no
13955 rm -f core conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 CFLAGS=$ac_wine_try_cflags_saved
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13960 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13961 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13962 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13965 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13966 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13967 $as_echo_n "(cached) " >&6
13968 else
13969 ac_wine_try_cflags_saved=$CFLAGS
13970 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int main(int argc, char **argv) { return 0; }
13974 _ACEOF
13975 if ac_fn_c_try_link "$LINENO"; then :
13976 ac_cv_cflags__Wunused_but_set_parameter=yes
13977 else
13978 ac_cv_cflags__Wunused_but_set_parameter=no
13980 rm -f core conftest.err conftest.$ac_objext \
13981 conftest$ac_exeext conftest.$ac_ext
13982 CFLAGS=$ac_wine_try_cflags_saved
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13985 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13986 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13987 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13990 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13991 if ${ac_cv_cflags__Wvla+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_wine_try_cflags_saved=$CFLAGS
13995 CFLAGS="$CFLAGS -Wvla"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13998 int main(int argc, char **argv) { return 0; }
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 ac_cv_cflags__Wvla=yes
14002 else
14003 ac_cv_cflags__Wvla=no
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14007 CFLAGS=$ac_wine_try_cflags_saved
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14010 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14011 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14012 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14015 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14016 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_wine_try_cflags_saved=$CFLAGS
14020 CFLAGS="$CFLAGS -Wwrite-strings"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_cflags__Wwrite_strings=yes
14027 else
14028 ac_cv_cflags__Wwrite_strings=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 CFLAGS=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14035 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14036 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14037 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14041 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14042 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_wine_try_cflags_saved=$CFLAGS
14046 CFLAGS="$CFLAGS -Wpointer-arith"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14049 int main(int argc, char **argv) { return 0; }
14050 _ACEOF
14051 if ac_fn_c_try_link "$LINENO"; then :
14052 ac_cv_cflags__Wpointer_arith=yes
14053 else
14054 ac_cv_cflags__Wpointer_arith=no
14056 rm -f core conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14058 CFLAGS=$ac_wine_try_cflags_saved
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14061 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14062 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14063 saved_string_h_CFLAGS=$CFLAGS
14064 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14066 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14067 if ${ac_cv_c_string_h_warnings+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 #include <string.h>
14074 main ()
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_compile "$LINENO"; then :
14082 ac_cv_c_string_h_warnings=no
14083 else
14084 ac_cv_c_string_h_warnings=yes
14086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14089 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14090 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14091 CFLAGS=$saved_string_h_CFLAGS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14095 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14096 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14097 $as_echo_n "(cached) " >&6
14098 else
14099 ac_wine_try_cflags_saved=$CFLAGS
14100 CFLAGS="$CFLAGS -Wlogical-op"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14103 int main(int argc, char **argv) { return 0; }
14104 _ACEOF
14105 if ac_fn_c_try_link "$LINENO"; then :
14106 ac_cv_cflags__Wlogical_op=yes
14107 else
14108 ac_cv_cflags__Wlogical_op=no
14110 rm -f core conftest.err conftest.$ac_objext \
14111 conftest$ac_exeext conftest.$ac_ext
14112 CFLAGS=$ac_wine_try_cflags_saved
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14115 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14116 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14117 saved_string_h_CFLAGS=$CFLAGS
14118 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14120 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14121 if ${ac_cv_c_logicalop_noisy+:} false; then :
14122 $as_echo_n "(cached) " >&6
14123 else
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14126 #include <string.h>
14127 char*f(const char *h,char n) {return strchr(h,n);}
14129 main ()
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_compile "$LINENO"; then :
14137 ac_cv_c_logicalop_noisy=no
14138 else
14139 ac_cv_c_logicalop_noisy=yes
14141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14144 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14145 CFLAGS=$saved_string_h_CFLAGS
14146 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14149 CFLAGS=$saved_CFLAGS
14151 for ac_flag in $CFLAGS; do
14152 case $ac_flag in
14153 -g) case $host_os in
14154 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14155 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14156 if ${ac_cv_cflags__gstabsp+:} false; then :
14157 $as_echo_n "(cached) " >&6
14158 else
14159 ac_wine_try_cflags_saved=$CFLAGS
14160 CFLAGS="$CFLAGS -gstabs+"
14161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14162 /* end confdefs.h. */
14163 int main(int argc, char **argv) { return 0; }
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_cflags__gstabsp=yes
14167 else
14168 ac_cv_cflags__gstabsp=no
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 CFLAGS=$ac_wine_try_cflags_saved
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14175 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14176 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14177 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14178 fi ;;
14179 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14180 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14181 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_wine_try_cflags_saved=$CFLAGS
14185 CFLAGS="$CFLAGS -gdwarf-2"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 int main(int argc, char **argv) { return 0; }
14189 _ACEOF
14190 if ac_fn_c_try_link "$LINENO"; then :
14191 ac_cv_cflags__gdwarf_2=yes
14192 else
14193 ac_cv_cflags__gdwarf_2=no
14195 rm -f core conftest.err conftest.$ac_objext \
14196 conftest$ac_exeext conftest.$ac_ext
14197 CFLAGS=$ac_wine_try_cflags_saved
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14200 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14201 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14202 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14205 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14206 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14207 $as_echo_n "(cached) " >&6
14208 else
14209 ac_wine_try_cflags_saved=$CFLAGS
14210 CFLAGS="$CFLAGS -gstrict-dwarf"
14211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 int main(int argc, char **argv) { return 0; }
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_cflags__gstrict_dwarf=yes
14217 else
14218 ac_cv_cflags__gstrict_dwarf=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 CFLAGS=$ac_wine_try_cflags_saved
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14225 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14226 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14227 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14228 fi ;;
14229 esac ;;
14230 esac
14231 done
14233 case $host_cpu in
14234 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14235 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14236 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 ac_wine_try_cflags_saved=$CFLAGS
14240 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14243 int main(int argc, char **argv) { return 0; }
14244 _ACEOF
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_cflags__fno_omit_frame_pointer=yes
14247 else
14248 ac_cv_cflags__fno_omit_frame_pointer=no
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14252 CFLAGS=$ac_wine_try_cflags_saved
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14255 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14256 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14257 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14258 fi ;;
14259 esac
14261 case $host in
14262 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14263 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14264 if ${ac_cv_cflags__Wno_format+:} false; then :
14265 $as_echo_n "(cached) " >&6
14266 else
14267 ac_wine_try_cflags_saved=$CFLAGS
14268 CFLAGS="$CFLAGS -Wno-format"
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"; then :
14274 ac_cv_cflags__Wno_format=yes
14275 else
14276 ac_cv_cflags__Wno_format=no
14278 rm -f core conftest.err conftest.$ac_objext \
14279 conftest$ac_exeext conftest.$ac_ext
14280 CFLAGS=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14283 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14284 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14285 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14286 fi ;;
14287 esac
14289 if test "x$enable_maintainer_mode" = "xyes"
14290 then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14292 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14293 if ${ac_cv_cflags__Werror+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 ac_wine_try_cflags_saved=$CFLAGS
14297 CFLAGS="$CFLAGS -Werror"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14300 int main(int argc, char **argv) { return 0; }
14301 _ACEOF
14302 if ac_fn_c_try_link "$LINENO"; then :
14303 ac_cv_cflags__Werror=yes
14304 else
14305 ac_cv_cflags__Werror=no
14307 rm -f core conftest.err conftest.$ac_objext \
14308 conftest$ac_exeext conftest.$ac_ext
14309 CFLAGS=$ac_wine_try_cflags_saved
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14312 $as_echo "$ac_cv_cflags__Werror" >&6; }
14313 if test "x$ac_cv_cflags__Werror" = xyes; then :
14314 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14318 saved_CFLAGS="$CFLAGS"
14319 CFLAGS="$CFLAGS -Werror"
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14321 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14322 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14323 $as_echo_n "(cached) " >&6
14324 else
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14329 main ()
14333 return 0;
14335 _ACEOF
14336 if ac_fn_c_try_compile "$LINENO"; then :
14337 ac_cv_have_ms_hook_prologue="yes"
14338 else
14339 ac_cv_have_ms_hook_prologue="no"
14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14344 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14345 CFLAGS="$saved_CFLAGS"
14346 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14347 then
14349 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14351 else
14352 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14359 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14360 if ${ac_cv_c_fortify_enabled+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 #include <string.h>
14367 main ()
14369 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14370 #error Fortify enabled
14371 #endif
14373 return 0;
14375 _ACEOF
14376 if ac_fn_c_try_compile "$LINENO"; then :
14377 ac_cv_c_fortify_enabled=no
14378 else
14379 ac_cv_c_fortify_enabled=yes
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14384 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14385 if test "$ac_cv_c_fortify_enabled" = yes
14386 then
14387 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14392 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14393 if ${ac_cv_c_extern_prefix+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 extern int ac_test;
14400 main ()
14402 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14404 return 0;
14406 _ACEOF
14407 if ac_fn_c_try_link "$LINENO"; then :
14408 ac_cv_c_extern_prefix="yes"
14409 else
14410 ac_cv_c_extern_prefix="no"
14412 rm -f core conftest.err conftest.$ac_objext \
14413 conftest$ac_exeext conftest.$ac_ext
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14416 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14418 case $host_cpu in
14419 *i[3456789]86*)
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14421 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14422 if ${ac_cv_c_stdcall_suffix+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #ifndef _MSC_VER
14428 #define __stdcall __attribute__((__stdcall__))
14429 #endif
14430 int __stdcall ac_test(int i) { return i; }
14432 main ()
14434 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_c_stdcall_suffix="yes"
14441 else
14442 ac_cv_c_stdcall_suffix="no"
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14448 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14449 *) ac_cv_c_stdcall_suffix="no" ;;
14450 esac
14453 if test "$ac_cv_c_extern_prefix" = "yes"
14454 then
14455 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14457 asm_name_prefix="_"
14458 else
14459 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14461 asm_name_prefix=""
14465 if test "$ac_cv_c_stdcall_suffix" = "yes"
14466 then
14467 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14469 else
14470 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14476 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14477 if ${ac_cv_asm_func_def+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14481 /* end confdefs.h. */
14484 main ()
14486 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14488 return 0;
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_asm_func_def=".def"
14493 else
14494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14495 /* end confdefs.h. */
14498 main ()
14500 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506 ac_cv_asm_func_def=".type @function"
14507 else
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14512 main ()
14514 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14516 return 0;
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_asm_func_def=".type 2"
14521 else
14522 ac_cv_asm_func_def="unknown"
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14534 $as_echo "$ac_cv_asm_func_def" >&6; }
14537 case "$ac_cv_asm_func_def" in
14538 ".def")
14539 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14541 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14542 ".type @function")
14543 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14545 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14546 ".type 2")
14547 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14549 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14551 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14553 asm_func_header="" ;;
14554 esac
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14557 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14558 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14563 asm(".text\n\t.long 0");
14565 main ()
14569 return 0;
14571 _ACEOF
14572 if ac_fn_c_try_compile "$LINENO"; then :
14573 ac_cv_c_asm_outside_funcs="yes"
14574 else
14575 ac_cv_c_asm_outside_funcs="no"
14577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14580 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14583 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14584 if ${ac_cv_c_dot_previous+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14591 main ()
14593 asm(".text\nac_test:\t.long 0\n\t.previous");
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_c_dot_previous="yes"
14600 else
14601 ac_cv_c_dot_previous="no"
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14607 $as_echo "$ac_cv_c_dot_previous" >&6; }
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14610 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14611 if ${ac_cv_c_cfi_support+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14618 main ()
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_compile "$LINENO"; then :
14626 ac_cv_c_cfi_support="yes"
14627 else
14628 ac_cv_c_cfi_support="no"
14630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14633 $as_echo "$ac_cv_c_cfi_support" >&6; }
14635 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14636 asm_func_trailer=""
14637 if test "$ac_cv_c_dot_previous" = "yes"
14638 then
14639 asm_func_trailer="\\n\\t.previous"
14641 if test "$ac_cv_c_cfi_support" = "yes"
14642 then
14643 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14644 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14646 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14648 UNWINDFLAGS=-fasynchronous-unwind-tables
14650 else
14651 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14653 if test "x$enable_win64" = "xyes"
14654 then
14655 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14659 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14662 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14663 then
14664 cat >>confdefs.h <<_ACEOF
14665 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14666 _ACEOF
14668 else
14669 cat >>confdefs.h <<_ACEOF
14670 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14671 _ACEOF
14675 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14678 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14682 case $build_os in
14683 cygwin*|mingw32*) TOOLSEXT=".exe"
14685 esac
14687 case $host_os in
14688 linux*)
14689 case $host_cpu in
14690 *i[3456789]86*|x86_64*)
14691 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14692 loader_programs="$loader_programs $wine_binary-preloader"
14693 as_fn_append LOADER_RULES "
14694 $wine_binary-preloader: preloader.o
14695 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14697 install install-lib:: $wine_binary-preloader
14698 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14700 uninstall::
14701 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14703 preloader_EXTRADEFS = $BUILTINFLAG
14704 " ;;
14705 esac
14707 esac
14708 as_fn_append LOADER_RULES "
14709 PROGRAMS = $loader_programs
14713 ac_save_CFLAGS="$CFLAGS"
14714 CFLAGS="$CFLAGS $BUILTINFLAG"
14715 for ac_func in \
14716 __res_get_state \
14717 __res_getservers \
14718 _finite \
14719 _isnan \
14720 _pclose \
14721 _popen \
14722 _snprintf \
14723 _spawnvp \
14724 _strdup \
14725 _stricmp \
14726 _strnicmp \
14727 _strtoi64 \
14728 _strtoui64 \
14729 _vsnprintf \
14730 asctime_r \
14731 chsize \
14732 dlopen \
14733 epoll_create \
14734 ffs \
14735 finitef \
14736 fnmatch \
14737 fork \
14738 fpclass \
14739 fstatfs \
14740 fstatvfs \
14741 ftruncate \
14742 futimens \
14743 futimes \
14744 futimesat \
14745 getattrlist \
14746 getdirentries \
14747 getopt_long_only \
14748 getpwuid \
14749 gettimeofday \
14750 getuid \
14751 if_nameindex \
14752 isnanf \
14753 kqueue \
14754 lstat \
14755 memmove \
14756 mmap \
14757 pclose \
14758 pipe2 \
14759 poll \
14760 popen \
14761 port_create \
14762 prctl \
14763 pread \
14764 proc_pidinfo \
14765 pwrite \
14766 readdir \
14767 readlink \
14768 sched_yield \
14769 select \
14770 setproctitle \
14771 setrlimit \
14772 settimeofday \
14773 sigaltstack \
14774 sigprocmask \
14775 snprintf \
14776 statfs \
14777 statvfs \
14778 strcasecmp \
14779 strdup \
14780 strerror \
14781 strncasecmp \
14782 strtold \
14783 strtoll \
14784 strtoull \
14785 symlink \
14786 tcdrain \
14787 thr_kill2 \
14788 timegm \
14789 usleep \
14790 vsnprintf
14792 do :
14793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14798 _ACEOF
14801 done
14803 CFLAGS="$ac_save_CFLAGS"
14805 if test "$ac_cv_func_dlopen" = no
14806 then
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14809 if ${ac_cv_lib_dl_dlopen+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_check_lib_save_LIBS=$LIBS
14813 LIBS="-ldl $LIBS"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char dlopen ();
14825 main ()
14827 return dlopen ();
14829 return 0;
14831 _ACEOF
14832 if ac_fn_c_try_link "$LINENO"; then :
14833 ac_cv_lib_dl_dlopen=yes
14834 else
14835 ac_cv_lib_dl_dlopen=no
14837 rm -f core conftest.err conftest.$ac_objext \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_lib_save_LIBS
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14842 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14843 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14844 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14845 DL_LIBS="-ldl"
14850 ac_wine_check_funcs_save_LIBS="$LIBS"
14851 LIBS="$LIBS $DL_LIBS"
14852 for ac_func in dladdr
14853 do :
14854 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14855 if test "x$ac_cv_func_dladdr" = xyes; then :
14856 cat >>confdefs.h <<_ACEOF
14857 #define HAVE_DLADDR 1
14858 _ACEOF
14861 done
14863 LIBS="$ac_wine_check_funcs_save_LIBS"
14865 if test "$ac_cv_func_poll" = no
14866 then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14868 $as_echo_n "checking for poll in -lpoll... " >&6; }
14869 if ${ac_cv_lib_poll_poll+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_check_lib_save_LIBS=$LIBS
14873 LIBS="-lpoll $LIBS"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char poll ();
14885 main ()
14887 return poll ();
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_lib_poll_poll=yes
14894 else
14895 ac_cv_lib_poll_poll=no
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14902 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14903 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14904 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14905 POLL_LIBS="-lpoll"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14912 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14913 if ${ac_cv_search_gethostbyname+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 ac_func_search_save_LIBS=$LIBS
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14923 #ifdef __cplusplus
14924 extern "C"
14925 #endif
14926 char gethostbyname ();
14928 main ()
14930 return gethostbyname ();
14932 return 0;
14934 _ACEOF
14935 for ac_lib in '' nsl; do
14936 if test -z "$ac_lib"; then
14937 ac_res="none required"
14938 else
14939 ac_res=-l$ac_lib
14940 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 ac_cv_search_gethostbyname=$ac_res
14945 rm -f core conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext
14947 if ${ac_cv_search_gethostbyname+:} false; then :
14948 break
14950 done
14951 if ${ac_cv_search_gethostbyname+:} false; then :
14953 else
14954 ac_cv_search_gethostbyname=no
14956 rm conftest.$ac_ext
14957 LIBS=$ac_func_search_save_LIBS
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14960 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14961 ac_res=$ac_cv_search_gethostbyname
14962 if test "$ac_res" != no; then :
14963 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14969 $as_echo_n "checking for library containing connect... " >&6; }
14970 if ${ac_cv_search_connect+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_func_search_save_LIBS=$LIBS
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 #ifdef __cplusplus
14981 extern "C"
14982 #endif
14983 char connect ();
14985 main ()
14987 return connect ();
14989 return 0;
14991 _ACEOF
14992 for ac_lib in '' socket; do
14993 if test -z "$ac_lib"; then
14994 ac_res="none required"
14995 else
14996 ac_res=-l$ac_lib
14997 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 ac_cv_search_connect=$ac_res
15002 rm -f core conftest.err conftest.$ac_objext \
15003 conftest$ac_exeext
15004 if ${ac_cv_search_connect+:} false; then :
15005 break
15007 done
15008 if ${ac_cv_search_connect+:} false; then :
15010 else
15011 ac_cv_search_connect=no
15013 rm conftest.$ac_ext
15014 LIBS=$ac_func_search_save_LIBS
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15017 $as_echo "$ac_cv_search_connect" >&6; }
15018 ac_res=$ac_cv_search_connect
15019 if test "$ac_res" != no; then :
15020 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15026 $as_echo_n "checking for library containing inet_aton... " >&6; }
15027 if ${ac_cv_search_inet_aton+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 ac_func_search_save_LIBS=$LIBS
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 char inet_aton ();
15042 main ()
15044 return inet_aton ();
15046 return 0;
15048 _ACEOF
15049 for ac_lib in '' resolv; do
15050 if test -z "$ac_lib"; then
15051 ac_res="none required"
15052 else
15053 ac_res=-l$ac_lib
15054 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_search_inet_aton=$ac_res
15059 rm -f core conftest.err conftest.$ac_objext \
15060 conftest$ac_exeext
15061 if ${ac_cv_search_inet_aton+:} false; then :
15062 break
15064 done
15065 if ${ac_cv_search_inet_aton+:} false; then :
15067 else
15068 ac_cv_search_inet_aton=no
15070 rm conftest.$ac_ext
15071 LIBS=$ac_func_search_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15074 $as_echo "$ac_cv_search_inet_aton" >&6; }
15075 ac_res=$ac_cv_search_inet_aton
15076 if test "$ac_res" != no; then :
15077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15082 for ac_func in \
15083 getaddrinfo \
15084 getnameinfo \
15085 getnetbyname \
15086 getprotobyname \
15087 getprotobynumber \
15088 getservbyport \
15089 inet_addr \
15090 inet_network \
15091 inet_ntop \
15092 inet_pton \
15093 sendmsg \
15094 socketpair \
15096 do :
15097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15100 cat >>confdefs.h <<_ACEOF
15101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15102 _ACEOF
15105 done
15108 ac_save_LIBS=$LIBS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15110 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15111 if ${ac_cv_search_clock_gettime+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_func_search_save_LIBS=$LIBS
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 #ifdef __cplusplus
15122 extern "C"
15123 #endif
15124 char clock_gettime ();
15126 main ()
15128 return clock_gettime ();
15130 return 0;
15132 _ACEOF
15133 for ac_lib in '' rt; do
15134 if test -z "$ac_lib"; then
15135 ac_res="none required"
15136 else
15137 ac_res=-l$ac_lib
15138 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15140 if ac_fn_c_try_link "$LINENO"; then :
15141 ac_cv_search_clock_gettime=$ac_res
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext
15145 if ${ac_cv_search_clock_gettime+:} false; then :
15146 break
15148 done
15149 if ${ac_cv_search_clock_gettime+:} false; then :
15151 else
15152 ac_cv_search_clock_gettime=no
15154 rm conftest.$ac_ext
15155 LIBS=$ac_func_search_save_LIBS
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15158 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15159 ac_res=$ac_cv_search_clock_gettime
15160 if test "$ac_res" != no; then :
15161 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15163 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15165 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15169 LIBS=$ac_save_LIBS
15171 LDAP_LIBS=""
15173 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15174 then
15175 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15177 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15179 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15180 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_check_lib_save_LIBS=$LIBS
15184 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char ldap_initialize ();
15196 main ()
15198 return ldap_initialize ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 ac_cv_lib_ldap_r_ldap_initialize=yes
15205 else
15206 ac_cv_lib_ldap_r_ldap_initialize=no
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_lib_save_LIBS
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15213 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15214 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15216 $as_echo_n "checking for ber_init in -llber... " >&6; }
15217 if ${ac_cv_lib_lber_ber_init+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_check_lib_save_LIBS=$LIBS
15221 LIBS="-llber $PTHREAD_LIBS $LIBS"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15225 /* Override any GCC internal prototype to avoid an error.
15226 Use char because int might match the return type of a GCC
15227 builtin and then its argument prototype would still apply. */
15228 #ifdef __cplusplus
15229 extern "C"
15230 #endif
15231 char ber_init ();
15233 main ()
15235 return ber_init ();
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"; then :
15241 ac_cv_lib_lber_ber_init=yes
15242 else
15243 ac_cv_lib_lber_ber_init=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247 LIBS=$ac_check_lib_save_LIBS
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15250 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15251 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15253 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15255 LDAP_LIBS="-lldap_r -llber"
15262 ac_wine_check_funcs_save_LIBS="$LIBS"
15263 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15264 for ac_func in \
15265 ldap_count_references \
15266 ldap_first_reference \
15267 ldap_next_reference \
15268 ldap_parse_reference \
15269 ldap_parse_sort_control \
15270 ldap_parse_sortresponse_control \
15271 ldap_parse_vlv_control \
15272 ldap_parse_vlvresponse_control
15273 do :
15274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15279 _ACEOF
15282 done
15284 LIBS="$ac_wine_check_funcs_save_LIBS"
15286 if test "x$LDAP_LIBS" = "x"; then :
15287 case "x$with_ldap" in
15288 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15289 xno) ;;
15290 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15291 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15292 esac
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15296 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15297 if ${wine_cv_one_arg_mkdir+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15302 #include <sys/stat.h>
15304 main ()
15306 mkdir("foo");
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_compile "$LINENO"; then :
15312 wine_cv_one_arg_mkdir=yes
15313 else
15314 wine_cv_one_arg_mkdir=no
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15319 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15320 if test "$wine_cv_one_arg_mkdir" = "yes"
15321 then
15323 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15328 $as_echo_n "checking for sched_setaffinity... " >&6; }
15329 if ${wine_cv_have_sched_setaffinity+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334 #define _GNU_SOURCE
15335 #include <sched.h>
15337 main ()
15339 sched_setaffinity(0, 0, 0);
15341 return 0;
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 wine_cv_have_sched_setaffinity=yes
15346 else
15347 wine_cv_have_sched_setaffinity=no
15349 rm -f core conftest.err conftest.$ac_objext \
15350 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15353 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15354 if test "$wine_cv_have_sched_setaffinity" = "yes"
15355 then
15357 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15362 $as_echo_n "checking for fallocate... " >&6; }
15363 if ${wine_cv_have_fallocate+:} false; then :
15364 $as_echo_n "(cached) " >&6
15365 else
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15368 #define _GNU_SOURCE
15369 #include <fcntl.h>
15371 main ()
15373 fallocate(-1, 0, 0, 0);
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_link "$LINENO"; then :
15379 wine_cv_have_fallocate=yes
15380 else
15381 wine_cv_have_fallocate=no
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15387 $as_echo "$wine_cv_have_fallocate" >&6; }
15388 if test "$wine_cv_have_fallocate" = "yes"
15389 then
15391 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15397 $as_echo_n "checking for inline... " >&6; }
15398 if ${ac_cv_c_inline+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 ac_cv_c_inline=no
15402 for ac_kw in inline __inline__ __inline; do
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15405 #ifndef __cplusplus
15406 typedef int foo_t;
15407 static $ac_kw foo_t static_foo () {return 0; }
15408 $ac_kw foo_t foo () {return 0; }
15409 #endif
15411 _ACEOF
15412 if ac_fn_c_try_compile "$LINENO"; then :
15413 ac_cv_c_inline=$ac_kw
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416 test "$ac_cv_c_inline" != no && break
15417 done
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15421 $as_echo "$ac_cv_c_inline" >&6; }
15423 case $ac_cv_c_inline in
15424 inline | yes) ;;
15426 case $ac_cv_c_inline in
15427 no) ac_val=;;
15428 *) ac_val=$ac_cv_c_inline;;
15429 esac
15430 cat >>confdefs.h <<_ACEOF
15431 #ifndef __cplusplus
15432 #define inline $ac_val
15433 #endif
15434 _ACEOF
15436 esac
15438 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15439 if test "x$ac_cv_type_mode_t" = xyes; then :
15441 cat >>confdefs.h <<_ACEOF
15442 #define HAVE_MODE_T 1
15443 _ACEOF
15447 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15448 if test "x$ac_cv_type_off_t" = xyes; then :
15450 cat >>confdefs.h <<_ACEOF
15451 #define HAVE_OFF_T 1
15452 _ACEOF
15456 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15457 if test "x$ac_cv_type_pid_t" = xyes; then :
15459 cat >>confdefs.h <<_ACEOF
15460 #define HAVE_PID_T 1
15461 _ACEOF
15465 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15466 if test "x$ac_cv_type_size_t" = xyes; then :
15468 cat >>confdefs.h <<_ACEOF
15469 #define HAVE_SIZE_T 1
15470 _ACEOF
15474 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15475 if test "x$ac_cv_type_ssize_t" = xyes; then :
15477 cat >>confdefs.h <<_ACEOF
15478 #define HAVE_SSIZE_T 1
15479 _ACEOF
15483 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15484 if test "x$ac_cv_type_long_long" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_LONG_LONG 1
15488 _ACEOF
15492 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15493 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15495 cat >>confdefs.h <<_ACEOF
15496 #define HAVE_FSBLKCNT_T 1
15497 _ACEOF
15501 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15502 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define HAVE_FSFILCNT_T 1
15506 _ACEOF
15511 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15512 #include <signal.h>
15514 if test "x$ac_cv_type_sigset_t" = xyes; then :
15516 cat >>confdefs.h <<_ACEOF
15517 #define HAVE_SIGSET_T 1
15518 _ACEOF
15523 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15525 if test "x$ac_cv_type_request_sense" = xyes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_REQUEST_SENSE 1
15529 _ACEOF
15535 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15536 #ifdef HAVE_SYS_SOCKET_H
15537 #include <sys/socket.h>
15538 #endif
15539 #ifdef HAVE_SYS_SOCKETVAR_H
15540 #include <sys/socketvar.h>
15541 #endif
15542 #ifdef HAVE_NET_ROUTE_H
15543 #include <net/route.h>
15544 #endif
15545 #ifdef HAVE_NETINET_IN_H
15546 #include <netinet/in.h>
15547 #endif
15548 #ifdef HAVE_NETINET_IN_SYSTM_H
15549 #include <netinet/in_systm.h>
15550 #endif
15551 #ifdef HAVE_NETINET_IP_H
15552 #include <netinet/ip.h>
15553 #endif
15554 #ifdef HAVE_NETINET_IN_PCB_H
15555 #include <netinet/in_pcb.h>
15556 #endif
15558 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_STRUCT_XINPGEN 1
15562 _ACEOF
15568 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15569 #include <link.h>
15570 #endif
15571 #ifdef HAVE_SYS_LINK_H
15572 #include <sys/link.h>
15573 #endif
15575 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define HAVE_STRUCT_R_DEBUG 1
15579 _ACEOF
15583 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15584 #include <link.h>
15585 #endif
15586 #ifdef HAVE_SYS_LINK_H
15587 #include <sys/link.h>
15588 #endif
15590 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_STRUCT_LINK_MAP 1
15594 _ACEOF
15600 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15601 #include <linux/input.h>
15602 #endif
15604 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15606 cat >>confdefs.h <<_ACEOF
15607 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15608 _ACEOF
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15615 $as_echo_n "checking for sigaddset... " >&6; }
15616 if ${wine_cv_have_sigaddset+:} false; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15620 /* end confdefs.h. */
15621 #include <signal.h>
15623 main ()
15625 sigset_t set; sigaddset(&set,SIGTERM);
15627 return 0;
15629 _ACEOF
15630 if ac_fn_c_try_link "$LINENO"; then :
15631 wine_cv_have_sigaddset=yes
15632 else
15633 wine_cv_have_sigaddset=no
15635 rm -f core conftest.err conftest.$ac_objext \
15636 conftest$ac_exeext conftest.$ac_ext
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15639 $as_echo "$wine_cv_have_sigaddset" >&6; }
15640 if test "$wine_cv_have_sigaddset" = "yes"
15641 then
15643 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15649 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15650 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15655 #include <netdb.h>
15657 main ()
15660 char *name=0;
15661 struct hostent he;
15662 struct hostent *result;
15663 char *buf=0;
15664 int bufsize=0;
15665 int errnr;
15666 char *addr=0;
15667 int addrlen=0;
15668 int addrtype=0;
15669 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15670 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15673 return 0;
15675 _ACEOF
15676 if ac_fn_c_try_link "$LINENO"; then :
15677 wine_cv_linux_gethostbyname_r_6=yes
15678 else
15679 wine_cv_linux_gethostbyname_r_6=no
15682 rm -f core conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15687 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15688 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15689 then
15691 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15695 if test "$ac_cv_header_linux_joystick_h" = "yes"
15696 then
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15698 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15699 if ${wine_cv_linux_joystick_22_api+:} false; then :
15700 $as_echo_n "(cached) " >&6
15701 else
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 #include <sys/ioctl.h>
15706 #include <sys/types.h>
15707 #include <linux/joystick.h>
15709 struct js_event blub;
15710 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15711 #error "no 2.2 header"
15712 #endif
15715 main ()
15717 /*empty*/
15719 return 0;
15721 _ACEOF
15722 if ac_fn_c_try_compile "$LINENO"; then :
15723 wine_cv_linux_joystick_22_api=yes
15724 else
15725 wine_cv_linux_joystick_22_api=no
15727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15731 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15732 if test "$wine_cv_linux_joystick_22_api" = "yes"
15733 then
15735 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15741 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15742 #ifdef HAVE_SYS_PARAM_H
15743 # include <sys/param.h>
15744 #endif
15745 #ifdef HAVE_SYS_MOUNT_H
15746 # include <sys/mount.h>
15747 #endif
15748 #ifdef HAVE_SYS_VFS_H
15749 # include <sys/vfs.h>
15750 #endif
15751 #ifdef HAVE_SYS_STATFS_H
15752 # include <sys/statfs.h>
15753 #endif
15755 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_STATFS_F_BFREE 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15764 #ifdef HAVE_SYS_PARAM_H
15765 # include <sys/param.h>
15766 #endif
15767 #ifdef HAVE_SYS_MOUNT_H
15768 # include <sys/mount.h>
15769 #endif
15770 #ifdef HAVE_SYS_VFS_H
15771 # include <sys/vfs.h>
15772 #endif
15773 #ifdef HAVE_SYS_STATFS_H
15774 # include <sys/statfs.h>
15775 #endif
15777 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15781 _ACEOF
15785 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15786 #ifdef HAVE_SYS_PARAM_H
15787 # include <sys/param.h>
15788 #endif
15789 #ifdef HAVE_SYS_MOUNT_H
15790 # include <sys/mount.h>
15791 #endif
15792 #ifdef HAVE_SYS_VFS_H
15793 # include <sys/vfs.h>
15794 #endif
15795 #ifdef HAVE_SYS_STATFS_H
15796 # include <sys/statfs.h>
15797 #endif
15799 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15801 cat >>confdefs.h <<_ACEOF
15802 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15803 _ACEOF
15807 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15808 #ifdef HAVE_SYS_PARAM_H
15809 # include <sys/param.h>
15810 #endif
15811 #ifdef HAVE_SYS_MOUNT_H
15812 # include <sys/mount.h>
15813 #endif
15814 #ifdef HAVE_SYS_VFS_H
15815 # include <sys/vfs.h>
15816 #endif
15817 #ifdef HAVE_SYS_STATFS_H
15818 # include <sys/statfs.h>
15819 #endif
15821 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_STRUCT_STATFS_F_FFREE 1
15825 _ACEOF
15829 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15830 #ifdef HAVE_SYS_PARAM_H
15831 # include <sys/param.h>
15832 #endif
15833 #ifdef HAVE_SYS_MOUNT_H
15834 # include <sys/mount.h>
15835 #endif
15836 #ifdef HAVE_SYS_VFS_H
15837 # include <sys/vfs.h>
15838 #endif
15839 #ifdef HAVE_SYS_STATFS_H
15840 # include <sys/statfs.h>
15841 #endif
15843 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15847 _ACEOF
15851 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15852 #ifdef HAVE_SYS_PARAM_H
15853 # include <sys/param.h>
15854 #endif
15855 #ifdef HAVE_SYS_MOUNT_H
15856 # include <sys/mount.h>
15857 #endif
15858 #ifdef HAVE_SYS_VFS_H
15859 # include <sys/vfs.h>
15860 #endif
15861 #ifdef HAVE_SYS_STATFS_H
15862 # include <sys/statfs.h>
15863 #endif
15865 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15869 _ACEOF
15875 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15876 #include <sys/statvfs.h>
15877 #endif
15879 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15881 cat >>confdefs.h <<_ACEOF
15882 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15883 _ACEOF
15889 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15890 #include <dirent.h>
15891 #endif
15893 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15895 cat >>confdefs.h <<_ACEOF
15896 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15897 _ACEOF
15903 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15904 #ifdef HAVE_SYS_SOCKET_H
15905 # include <sys/socket.h>
15906 #endif
15907 #ifdef HAVE_SYS_UN_H
15908 # include <sys/un.h>
15909 #endif
15911 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15915 _ACEOF
15919 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15920 #ifdef HAVE_SYS_SOCKET_H
15921 # include <sys/socket.h>
15922 #endif
15923 #ifdef HAVE_SYS_UN_H
15924 # include <sys/un.h>
15925 #endif
15927 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15931 _ACEOF
15935 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15936 #ifdef HAVE_SYS_SOCKET_H
15937 # include <sys/socket.h>
15938 #endif
15939 #ifdef HAVE_SYS_UN_H
15940 # include <sys/un.h>
15941 #endif
15943 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15947 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15954 #ifdef HAVE_SCSI_SG_H
15955 #include <scsi/sg.h>
15956 #endif
15958 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_SCSIREQ_T_CMD 1
15962 _ACEOF
15966 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>
15967 #ifdef HAVE_SCSI_SG_H
15968 #include <scsi/sg.h>
15969 #endif
15971 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15975 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15983 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_SIGINFO_T_SI_FD 1
15987 _ACEOF
15993 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_MTIO_H
15995 #include <sys/mtio.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16002 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_MTIO_H
16008 #include <sys/mtio.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16015 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16020 #ifdef HAVE_SYS_MTIO_H
16021 #include <sys/mtio.h>
16022 #endif
16024 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16026 cat >>confdefs.h <<_ACEOF
16027 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16028 _ACEOF
16034 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16035 #include <getopt.h>
16036 #endif
16038 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16040 cat >>confdefs.h <<_ACEOF
16041 #define HAVE_STRUCT_OPTION_NAME 1
16042 _ACEOF
16048 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16049 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16053 _ACEOF
16057 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16058 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16060 cat >>confdefs.h <<_ACEOF
16061 #define HAVE_STRUCT_STAT_ST_MTIM 1
16062 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16067 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16071 _ACEOF
16075 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16076 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_STRUCT_STAT_ST_CTIM 1
16080 _ACEOF
16084 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16085 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16087 cat >>confdefs.h <<_ACEOF
16088 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16089 _ACEOF
16093 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16094 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_STRUCT_STAT_ST_ATIM 1
16098 _ACEOF
16102 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16103 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16105 cat >>confdefs.h <<_ACEOF
16106 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16107 _ACEOF
16111 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16112 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16116 _ACEOF
16120 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16121 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16125 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16130 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16134 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16139 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16141 cat >>confdefs.h <<_ACEOF
16142 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16143 _ACEOF
16147 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16148 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16152 _ACEOF
16158 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
16159 #include <sys/types.h>
16160 #endif
16161 #ifdef HAVE_NETINET_IN_H
16162 #include <netinet/in.h>
16163 #endif
16165 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16169 _ACEOF
16175 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16176 #include <resolv.h>
16177 #endif
16179 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_STRUCT___RES_STATE 1
16183 _ACEOF
16189 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
16190 #include <resolv.h>
16191 #endif
16193 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16197 _ACEOF
16203 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16204 #include <sys/types.h>
16205 #endif
16206 #ifdef HAVE_NETINET_IN_H
16207 # include <netinet/in.h>
16208 #endif
16209 #ifdef HAVE_ARPA_NAMESER_H
16210 # include <arpa/nameser.h>
16211 #endif
16213 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16215 cat >>confdefs.h <<_ACEOF
16216 #define HAVE_NS_MSG__MSG_PTR 1
16217 _ACEOF
16223 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16224 #include <sys/types.h>
16225 #endif
16226 #ifdef HAVE_NETINET_IP_H
16227 #include <netinet/ip.h>
16228 #endif
16229 #ifdef HAVE_NETINET_IP_ICMP_H
16230 #include <netinet/ip_icmp.h>
16231 #endif
16232 #ifdef HAVE_NETINET_ICMP_VAR_H
16233 #include <netinet/icmp_var.h>
16234 #endif
16236 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16240 _ACEOF
16246 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16247 #include <sys/types.h>
16248 #endif
16249 #ifdef HAVE_ALIAS_H
16250 #include <alias.h>
16251 #endif
16252 #ifdef HAVE_SYS_SOCKET_H
16253 #include <sys/socket.h>
16254 #endif
16255 #ifdef HAVE_SYS_SOCKETVAR_H
16256 #include <sys/socketvar.h>
16257 #endif
16258 #ifdef HAVE_SYS_TIMEOUT_H
16259 #include <sys/timeout.h>
16260 #endif
16261 #ifdef HAVE_NETINET_IN_H
16262 #include <netinet/in.h>
16263 #endif
16264 #ifdef HAVE_NETINET_IN_SYSTM_H
16265 #include <netinet/in_systm.h>
16266 #endif
16267 #ifdef HAVE_NETINET_IP_H
16268 #include <netinet/ip.h>
16269 #endif
16270 #ifdef HAVE_NETINET_IP_VAR_H
16271 #include <netinet/ip_var.h>
16272 #endif
16273 #ifdef HAVE_NETINET_IP_ICMP_H
16274 #include <netinet/ip_icmp.h>
16275 #endif
16276 #ifdef HAVE_NETINET_ICMP_VAR_H
16277 #include <netinet/icmp_var.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16284 _ACEOF
16290 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16291 #include <sys/types.h>
16292 #endif
16293 #ifdef HAVE_SYS_SOCKETVAR_H
16294 #include <sys/socketvar.h>
16295 #endif
16296 #ifdef HAVE_NETINET_IN_H
16297 #include <netinet/in.h>
16298 #endif
16299 #ifdef HAVE_NETINET_IP_VAR_H
16300 #include <netinet/ip_var.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16307 _ACEOF
16313 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
16314 #include <netinet/ip_var.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16321 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16328 #include <sys/types.h>
16329 #endif
16330 #ifdef HAVE_SYS_SOCKETVAR_H
16331 #include <sys/socketvar.h>
16332 #endif
16333 #ifdef HAVE_NETINET_IN_H
16334 #include <netinet/in.h>
16335 #endif
16336 #ifdef HAVE_NETINET_TCP_H
16337 #include <netinet/tcp.h>
16338 #endif
16339 #ifdef HAVE_NETINET_TCP_VAR_H
16340 #include <netinet/tcp_var.h>
16341 #endif
16343 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16347 _ACEOF
16353 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
16354 #include <netinet/tcp_var.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16361 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16368 #include <sys/types.h>
16369 #endif
16370 #ifdef HAVE_NETINET_IN_H
16371 #include <netinet/in.h>
16372 #endif
16373 #ifdef HAVE_NETINET_IP_VAR_H
16374 #include <netinet/ip_var.h>
16375 #endif
16376 #ifdef HAVE_NETINET_UDP_H
16377 #include <netinet/udp.h>
16378 #endif
16379 #ifdef HAVE_NETINET_UDP_VAR_H
16380 #include <netinet/udp_var.h>
16381 #endif
16383 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16387 _ACEOF
16393 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16394 #include <sys/types.h>
16395 #endif
16396 #ifdef HAVE_NET_IF_H
16397 # include <net/if.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16404 _ACEOF
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16411 $as_echo_n "checking for timezone variable... " >&6; }
16412 if ${ac_cv_have_timezone+:} false; then :
16413 $as_echo_n "(cached) " >&6
16414 else
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16417 #include <time.h>
16419 main ()
16421 timezone = 1
16423 return 0;
16425 _ACEOF
16426 if ac_fn_c_try_link "$LINENO"; then :
16427 ac_cv_have_timezone="yes"
16428 else
16429 ac_cv_have_timezone="no"
16431 rm -f core conftest.err conftest.$ac_objext \
16432 conftest$ac_exeext conftest.$ac_ext
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16435 $as_echo "$ac_cv_have_timezone" >&6; }
16436 if test "$ac_cv_have_timezone" = "yes"
16437 then
16439 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16443 $as_echo_n "checking for daylight variable... " >&6; }
16444 if ${ac_cv_have_daylight+:} false; then :
16445 $as_echo_n "(cached) " >&6
16446 else
16447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16448 /* end confdefs.h. */
16449 #include <time.h>
16451 main ()
16453 daylight = 1
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459 ac_cv_have_daylight="yes"
16460 else
16461 ac_cv_have_daylight="no"
16463 rm -f core conftest.err conftest.$ac_objext \
16464 conftest$ac_exeext conftest.$ac_ext
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16467 $as_echo "$ac_cv_have_daylight" >&6; }
16468 if test "$ac_cv_have_daylight" = "yes"
16469 then
16471 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16475 ac_save_LIBS="$LIBS"
16476 LIBS="$LIBS -lm"
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16478 $as_echo_n "checking for isfinite... " >&6; }
16479 if ${ac_cv_have_isfinite+:} false; then :
16480 $as_echo_n "(cached) " >&6
16481 else
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16484 #define _GNU_SOURCE
16485 #include <math.h>
16487 main ()
16489 float f = 0.0; return isfinite(f)
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 ac_cv_have_isfinite="yes"
16496 else
16497 ac_cv_have_isfinite="no"
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16503 $as_echo "$ac_cv_have_isfinite" >&6; }
16504 if test "$ac_cv_have_isfinite" = "yes"
16505 then
16507 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16512 $as_echo_n "checking for isinf... " >&6; }
16513 if ${ac_cv_have_isinf+:} false; then :
16514 $as_echo_n "(cached) " >&6
16515 else
16516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16518 #include <math.h>
16520 main ()
16522 float f = 0.0; return isinf(f)
16524 return 0;
16526 _ACEOF
16527 if ac_fn_c_try_link "$LINENO"; then :
16528 ac_cv_have_isinf="yes"
16529 else
16530 ac_cv_have_isinf="no"
16532 rm -f core conftest.err conftest.$ac_objext \
16533 conftest$ac_exeext conftest.$ac_ext
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16536 $as_echo "$ac_cv_have_isinf" >&6; }
16537 if test "$ac_cv_have_isinf" = "yes"
16538 then
16540 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16545 $as_echo_n "checking for isnan... " >&6; }
16546 if ${ac_cv_have_isnan+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16551 #include <math.h>
16553 main ()
16555 float f = 0.0; return isnan(f)
16557 return 0;
16559 _ACEOF
16560 if ac_fn_c_try_link "$LINENO"; then :
16561 ac_cv_have_isnan="yes"
16562 else
16563 ac_cv_have_isnan="no"
16565 rm -f core conftest.err conftest.$ac_objext \
16566 conftest$ac_exeext conftest.$ac_ext
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16569 $as_echo "$ac_cv_have_isnan" >&6; }
16570 if test "$ac_cv_have_isnan" = "yes"
16571 then
16573 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16577 for ac_func in \
16578 cbrt \
16579 cbrtf \
16580 erf \
16581 erff \
16582 exp2 \
16583 exp2f \
16584 llrint \
16585 llrintf \
16586 llround \
16587 llroundf \
16588 log2 \
16589 log2f \
16590 lrint \
16591 lrintf \
16592 lround \
16593 lroundf \
16594 rint \
16595 rintf \
16596 round \
16597 roundf \
16598 trunc \
16599 truncf
16601 do :
16602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16607 _ACEOF
16610 done
16612 LIBS="$ac_save_LIBS"
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16615 $as_echo_n "checking for __builtin_clz... " >&6; }
16616 if ${ac_cv_have___builtin_clz+:} false; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16623 main ()
16625 return __builtin_clz(1)
16627 return 0;
16629 _ACEOF
16630 if ac_fn_c_try_link "$LINENO"; then :
16631 ac_cv_have___builtin_clz="yes"
16632 else
16633 ac_cv_have___builtin_clz="no"
16635 rm -f core conftest.err conftest.$ac_objext \
16636 conftest$ac_exeext conftest.$ac_ext
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16639 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16640 if test "$ac_cv_have___builtin_clz" = "yes"
16641 then
16643 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16648 case $host_cpu in
16649 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16650 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16651 if ${ac_cv_cpp_def___i386__+:} false; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16655 /* end confdefs.h. */
16656 #ifndef __i386__
16658 #endif
16659 _ACEOF
16660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16661 $EGREP "yes" >/dev/null 2>&1; then :
16662 ac_cv_cpp_def___i386__=yes
16663 else
16664 ac_cv_cpp_def___i386__=no
16666 rm -f conftest*
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16670 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16671 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16672 CFLAGS="$CFLAGS -D__i386__"
16673 LINTFLAGS="$LINTFLAGS -D__i386__"
16674 fi ;;
16675 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16676 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16677 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16678 $as_echo_n "(cached) " >&6
16679 else
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16682 #ifndef __x86_64__
16684 #endif
16685 _ACEOF
16686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16687 $EGREP "yes" >/dev/null 2>&1; then :
16688 ac_cv_cpp_def___x86_64__=yes
16689 else
16690 ac_cv_cpp_def___x86_64__=no
16692 rm -f conftest*
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16696 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16697 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16698 CFLAGS="$CFLAGS -D__x86_64__"
16699 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16700 fi ;;
16701 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16702 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16703 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16704 $as_echo_n "(cached) " >&6
16705 else
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #ifndef __sparc64__
16710 #endif
16711 _ACEOF
16712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16713 $EGREP "yes" >/dev/null 2>&1; then :
16714 ac_cv_cpp_def___sparc64__=yes
16715 else
16716 ac_cv_cpp_def___sparc64__=no
16718 rm -f conftest*
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16722 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16723 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16724 CFLAGS="$CFLAGS -D__sparc64__"
16725 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16726 fi ;;
16727 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16728 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16729 if ${ac_cv_cpp_def___sparc__+:} false; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16734 #ifndef __sparc__
16736 #endif
16737 _ACEOF
16738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16739 $EGREP "yes" >/dev/null 2>&1; then :
16740 ac_cv_cpp_def___sparc__=yes
16741 else
16742 ac_cv_cpp_def___sparc__=no
16744 rm -f conftest*
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16748 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16749 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16750 CFLAGS="$CFLAGS -D__sparc__"
16751 LINTFLAGS="$LINTFLAGS -D__sparc__"
16752 fi ;;
16753 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16754 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16755 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16756 $as_echo_n "(cached) " >&6
16757 else
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16760 #ifndef __powerpc64__
16762 #endif
16763 _ACEOF
16764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16765 $EGREP "yes" >/dev/null 2>&1; then :
16766 ac_cv_cpp_def___powerpc64__=yes
16767 else
16768 ac_cv_cpp_def___powerpc64__=no
16770 rm -f conftest*
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16774 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16775 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16776 CFLAGS="$CFLAGS -D__powerpc64__"
16777 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16778 fi ;;
16779 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16780 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16781 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16782 $as_echo_n "(cached) " >&6
16783 else
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16786 #ifndef __powerpc__
16788 #endif
16789 _ACEOF
16790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16791 $EGREP "yes" >/dev/null 2>&1; then :
16792 ac_cv_cpp_def___powerpc__=yes
16793 else
16794 ac_cv_cpp_def___powerpc__=no
16796 rm -f conftest*
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16800 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16801 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16802 CFLAGS="$CFLAGS -D__powerpc__"
16803 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16804 fi ;;
16805 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16806 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16807 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16808 $as_echo_n "(cached) " >&6
16809 else
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #ifndef __aarch64__
16814 #endif
16815 _ACEOF
16816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16817 $EGREP "yes" >/dev/null 2>&1; then :
16818 ac_cv_cpp_def___aarch64__=yes
16819 else
16820 ac_cv_cpp_def___aarch64__=no
16822 rm -f conftest*
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16826 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16827 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16828 CFLAGS="$CFLAGS -D__aarch64__"
16829 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16830 fi ;;
16831 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16832 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16833 if ${ac_cv_cpp_def___arm__+:} false; then :
16834 $as_echo_n "(cached) " >&6
16835 else
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16838 #ifndef __arm__
16840 #endif
16841 _ACEOF
16842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16843 $EGREP "yes" >/dev/null 2>&1; then :
16844 ac_cv_cpp_def___arm__=yes
16845 else
16846 ac_cv_cpp_def___arm__=no
16848 rm -f conftest*
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16852 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16853 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16854 CFLAGS="$CFLAGS -D__arm__"
16855 LINTFLAGS="$LINTFLAGS -D__arm__"
16856 fi ;;
16857 esac
16859 case $host_vendor in
16860 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16861 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16862 if ${ac_cv_cpp_def___sun__+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16867 #ifndef __sun__
16869 #endif
16870 _ACEOF
16871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16872 $EGREP "yes" >/dev/null 2>&1; then :
16873 ac_cv_cpp_def___sun__=yes
16874 else
16875 ac_cv_cpp_def___sun__=no
16877 rm -f conftest*
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16881 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16882 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16883 CFLAGS="$CFLAGS -D__sun__"
16884 LINTFLAGS="$LINTFLAGS -D__sun__"
16885 fi ;;
16886 esac
16892 ac_config_commands="$ac_config_commands include/stamp-h"
16894 $as_echo_n "creating Makefile rules..." >&6
16896 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16897 SOCKET_LIBS = $SOCKET_LIBS
16898 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16899 IOKIT_LIBS = $IOKIT_LIBS
16900 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16901 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16902 CORESERVICES_LIBS = $CORESERVICES_LIBS
16903 APPKIT_LIBS = $APPKIT_LIBS
16904 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16905 SECURITY_LIBS = $SECURITY_LIBS
16906 COREAUDIO_LIBS = $COREAUDIO_LIBS
16907 OPENAL_LIBS = $OPENAL_LIBS
16908 OPENCL_LIBS = $OPENCL_LIBS
16909 QUICKTIME_LIBS = $QUICKTIME_LIBS
16910 CARBON_LIBS = $CARBON_LIBS
16911 PTHREAD_LIBS = $PTHREAD_LIBS
16912 X_CFLAGS = $X_CFLAGS
16913 X_PRE_LIBS = $X_PRE_LIBS
16914 X_LIBS = $X_LIBS
16915 X_EXTRA_LIBS = $X_EXTRA_LIBS
16916 XML2_CFLAGS = $XML2_CFLAGS
16917 XML2_LIBS = $XML2_LIBS
16918 XSLT_CFLAGS = $XSLT_CFLAGS
16919 XSLT_LIBS = $XSLT_LIBS
16920 DBUS_CFLAGS = $DBUS_CFLAGS
16921 DBUS_LIBS = $DBUS_LIBS
16922 HAL_CFLAGS = $HAL_CFLAGS
16923 HAL_LIBS = $HAL_LIBS
16924 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16925 GNUTLS_LIBS = $GNUTLS_LIBS
16926 SANE_CFLAGS = $SANE_CFLAGS
16927 SANE_LIBS = $SANE_LIBS
16928 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16929 GPHOTO2_LIBS = $GPHOTO2_LIBS
16930 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16931 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16932 RESOLV_LIBS = $RESOLV_LIBS
16933 LCMS2_CFLAGS = $LCMS2_CFLAGS
16934 LCMS2_LIBS = $LCMS2_LIBS
16935 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16936 FREETYPE_LIBS = $FREETYPE_LIBS
16937 Z_LIBS = $Z_LIBS
16938 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16939 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16940 GSTREAMER_LIBS = $GSTREAMER_LIBS
16941 ALSA_LIBS = $ALSA_LIBS
16942 OSS4_CFLAGS = $OSS4_CFLAGS
16943 CAPI20_CFLAGS = $CAPI20_CFLAGS
16944 CAPI20_LIBS = $CAPI20_LIBS
16945 CUPS_CFLAGS = $CUPS_CFLAGS
16946 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16947 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16948 JPEG_CFLAGS = $JPEG_CFLAGS
16949 JPEG_LIBS = $JPEG_LIBS
16950 PNG_CFLAGS = $PNG_CFLAGS
16951 PNG_LIBS = $PNG_LIBS
16952 TIFF_CFLAGS = $TIFF_CFLAGS
16953 TIFF_LIBS = $TIFF_LIBS
16954 MPG123_CFLAGS = $MPG123_CFLAGS
16955 MPG123_LIBS = $MPG123_LIBS
16956 KSTAT_LIBS = $KSTAT_LIBS
16957 PROCSTAT_LIBS = $PROCSTAT_LIBS
16958 DL_LIBS = $DL_LIBS
16959 POLL_LIBS = $POLL_LIBS
16960 RT_LIBS = $RT_LIBS
16961 LDAP_LIBS = $LDAP_LIBS
16966 wine_fn_append_rule "
16967 # Rules automatically generated by configure
16969 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16971 .INIT: Makefile
16972 .MAKEFILEDEPS:
16973 all: Makefile
16974 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16975 @./config.status Make.tmp Makefile"
16977 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16978 .gitignore: config.status
16979 @./config.status .gitignore"
16981 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16982 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16984 if test "x$enable_fonts" != xno; then
16985 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16986 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16987 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16988 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16989 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16991 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16992 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16993 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16994 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16995 ac_config_links="$ac_config_links wine:tools/winewrapper"
16996 wine_fn_config_symlink wine
16997 if test "x$enable_win64" != xno; then
16998 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16999 wine_fn_config_symlink wine64
17002 wine_fn_config_dll acledit enable_acledit
17003 wine_fn_config_dll aclui enable_aclui implib
17004 wine_fn_config_dll activeds enable_activeds implib
17005 wine_fn_config_dll actxprxy enable_actxprxy clean
17006 wine_fn_config_lib adsiid
17007 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17008 wine_fn_config_test dlls/advapi32/tests advapi32_test
17009 wine_fn_config_dll advpack enable_advpack implib
17010 wine_fn_config_test dlls/advpack/tests advpack_test
17011 wine_fn_config_dll amstream enable_amstream clean
17012 wine_fn_config_test dlls/amstream/tests amstream_test
17013 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17017 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17019 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17021 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17022 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17024 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17027 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17028 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17031 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17034 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17038 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17039 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17040 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17044 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17047 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17049 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17051 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17052 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17057 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17060 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17061 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17062 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17063 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17064 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17065 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17066 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17067 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17068 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17069 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17070 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17071 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17072 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17073 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17074 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17075 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17076 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17077 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17078 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17079 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17080 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17081 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17082 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17083 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17084 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17085 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17086 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17087 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17088 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17089 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17090 wine_fn_config_dll apphelp enable_apphelp
17091 wine_fn_config_test dlls/apphelp/tests apphelp_test
17092 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17093 wine_fn_config_dll atl enable_atl clean,implib
17094 wine_fn_config_test dlls/atl/tests atl_test
17095 wine_fn_config_dll atl100 enable_atl100 clean,implib
17096 wine_fn_config_test dlls/atl100/tests atl100_test
17097 wine_fn_config_dll atl110 enable_atl110 clean
17098 wine_fn_config_dll atl80 enable_atl80 clean,implib
17099 wine_fn_config_test dlls/atl80/tests atl80_test
17100 wine_fn_config_dll atl90 enable_atl90 clean
17101 wine_fn_config_dll authz enable_authz
17102 wine_fn_config_dll avicap32 enable_avicap32 implib
17103 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17104 wine_fn_config_test dlls/avifil32/tests avifil32_test
17105 wine_fn_config_dll avifile.dll16 enable_win16
17106 wine_fn_config_dll avrt enable_avrt implib
17107 wine_fn_config_dll bcrypt enable_bcrypt
17108 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17109 wine_fn_config_dll browseui enable_browseui clean,po
17110 wine_fn_config_test dlls/browseui/tests browseui_test
17111 wine_fn_config_dll cabinet enable_cabinet implib
17112 wine_fn_config_test dlls/cabinet/tests cabinet_test
17113 wine_fn_config_dll capi2032 enable_capi2032 implib
17114 wine_fn_config_dll cards enable_cards implib
17115 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17116 wine_fn_config_dll clusapi enable_clusapi implib
17117 wine_fn_config_dll combase enable_combase
17118 wine_fn_config_test dlls/combase/tests combase_test
17119 wine_fn_config_dll comcat enable_comcat
17120 wine_fn_config_test dlls/comcat/tests comcat_test
17121 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17122 wine_fn_config_test dlls/comctl32/tests comctl32_test
17123 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17124 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17125 wine_fn_config_dll comm.drv16 enable_win16
17126 wine_fn_config_dll commdlg.dll16 enable_win16
17127 wine_fn_config_dll compobj.dll16 enable_win16
17128 wine_fn_config_dll compstui enable_compstui implib
17129 wine_fn_config_dll comsvcs enable_comsvcs implib
17130 wine_fn_config_dll connect enable_connect
17131 wine_fn_config_dll credui enable_credui implib,po
17132 wine_fn_config_test dlls/credui/tests credui_test
17133 wine_fn_config_dll crtdll enable_crtdll implib
17134 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17135 wine_fn_config_test dlls/crypt32/tests crypt32_test
17136 wine_fn_config_dll cryptdlg enable_cryptdlg po
17137 wine_fn_config_dll cryptdll enable_cryptdll implib
17138 wine_fn_config_dll cryptext enable_cryptext
17139 wine_fn_config_dll cryptnet enable_cryptnet implib
17140 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17141 wine_fn_config_dll cryptui enable_cryptui implib,po
17142 wine_fn_config_test dlls/cryptui/tests cryptui_test
17143 wine_fn_config_dll ctapi32 enable_ctapi32
17144 wine_fn_config_dll ctl3d.dll16 enable_win16
17145 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17146 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17147 wine_fn_config_dll d2d1 enable_d2d1 implib
17148 wine_fn_config_test dlls/d2d1/tests d2d1_test
17149 wine_fn_config_dll d3d10 enable_d3d10 implib
17150 wine_fn_config_test dlls/d3d10/tests d3d10_test
17151 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17152 wine_fn_config_dll d3d10core enable_d3d10core implib
17153 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17154 wine_fn_config_dll d3d11 enable_d3d11
17155 wine_fn_config_dll d3d8 enable_d3d8 implib
17156 wine_fn_config_test dlls/d3d8/tests d3d8_test
17157 wine_fn_config_dll d3d9 enable_d3d9 implib
17158 wine_fn_config_test dlls/d3d9/tests d3d9_test
17159 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17160 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17161 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17162 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17163 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17164 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17165 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17166 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17167 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17168 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17169 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17170 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17171 wine_fn_config_dll d3dim enable_d3dim implib
17172 wine_fn_config_dll d3drm enable_d3drm implib
17173 wine_fn_config_test dlls/d3drm/tests d3drm_test
17174 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17175 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17176 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17177 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17178 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17179 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17180 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17181 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17182 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17183 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17184 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17185 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17186 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17187 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17188 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17189 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17190 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17191 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17192 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17193 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17194 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17195 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17196 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17197 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17198 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17199 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17200 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17201 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17202 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17203 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17204 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17205 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17206 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17207 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17208 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17209 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17210 wine_fn_config_dll dbgeng enable_dbgeng implib
17211 wine_fn_config_dll dbghelp enable_dbghelp implib
17212 wine_fn_config_dll dciman32 enable_dciman32 implib
17213 wine_fn_config_dll ddeml.dll16 enable_win16
17214 wine_fn_config_dll ddraw enable_ddraw clean,implib
17215 wine_fn_config_test dlls/ddraw/tests ddraw_test
17216 wine_fn_config_dll ddrawex enable_ddrawex clean
17217 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17218 wine_fn_config_dll devenum enable_devenum clean,po
17219 wine_fn_config_test dlls/devenum/tests devenum_test
17220 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17221 wine_fn_config_dll difxapi enable_difxapi
17222 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17223 wine_fn_config_test dlls/dinput/tests dinput_test
17224 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17225 wine_fn_config_test dlls/dinput8/tests dinput8_test
17226 wine_fn_config_dll dispdib.dll16 enable_win16
17227 wine_fn_config_dll dispex enable_dispex clean
17228 wine_fn_config_test dlls/dispex/tests dispex_test
17229 wine_fn_config_dll display.drv16 enable_win16
17230 wine_fn_config_dll dmband enable_dmband clean
17231 wine_fn_config_test dlls/dmband/tests dmband_test
17232 wine_fn_config_dll dmcompos enable_dmcompos clean
17233 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17234 wine_fn_config_dll dmime enable_dmime clean
17235 wine_fn_config_test dlls/dmime/tests dmime_test
17236 wine_fn_config_dll dmloader enable_dmloader clean
17237 wine_fn_config_test dlls/dmloader/tests dmloader_test
17238 wine_fn_config_dll dmscript enable_dmscript clean
17239 wine_fn_config_test dlls/dmscript/tests dmscript_test
17240 wine_fn_config_dll dmstyle enable_dmstyle clean
17241 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17242 wine_fn_config_dll dmsynth enable_dmsynth clean
17243 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17244 wine_fn_config_dll dmusic enable_dmusic clean
17245 wine_fn_config_test dlls/dmusic/tests dmusic_test
17246 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17247 wine_fn_config_dll dnsapi enable_dnsapi implib
17248 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17249 wine_fn_config_dll dplay enable_dplay implib
17250 wine_fn_config_dll dplayx enable_dplayx clean,implib
17251 wine_fn_config_test dlls/dplayx/tests dplayx_test
17252 wine_fn_config_dll dpnaddr enable_dpnaddr
17253 wine_fn_config_dll dpnet enable_dpnet clean,implib
17254 wine_fn_config_test dlls/dpnet/tests dpnet_test
17255 wine_fn_config_dll dpnhpast enable_dpnhpast
17256 wine_fn_config_dll dpnlobby enable_dpnlobby
17257 wine_fn_config_dll dpvoice enable_dpvoice clean
17258 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17259 wine_fn_config_dll dpwsockx enable_dpwsockx
17260 wine_fn_config_dll drmclien enable_drmclien
17261 wine_fn_config_dll dsound enable_dsound clean,implib
17262 wine_fn_config_test dlls/dsound/tests dsound_test
17263 wine_fn_config_dll dssenh enable_dssenh
17264 wine_fn_config_test dlls/dssenh/tests dssenh_test
17265 wine_fn_config_dll dswave enable_dswave clean
17266 wine_fn_config_test dlls/dswave/tests dswave_test
17267 wine_fn_config_dll dwmapi enable_dwmapi implib
17268 wine_fn_config_dll dwrite enable_dwrite implib
17269 wine_fn_config_test dlls/dwrite/tests dwrite_test
17270 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17271 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17272 wine_fn_config_lib dxerr8
17273 wine_fn_config_lib dxerr9
17274 wine_fn_config_dll dxgi enable_dxgi implib
17275 wine_fn_config_test dlls/dxgi/tests dxgi_test
17276 wine_fn_config_lib dxguid
17277 wine_fn_config_dll dxva2 enable_dxva2
17278 wine_fn_config_dll evr enable_evr
17279 wine_fn_config_dll explorerframe enable_explorerframe clean
17280 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17281 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17282 wine_fn_config_dll faultrep enable_faultrep implib
17283 wine_fn_config_test dlls/faultrep/tests faultrep_test
17284 wine_fn_config_dll fltlib enable_fltlib
17285 wine_fn_config_dll fntcache enable_fntcache
17286 wine_fn_config_dll fontsub enable_fontsub
17287 wine_fn_config_dll fusion enable_fusion
17288 wine_fn_config_test dlls/fusion/tests fusion_test
17289 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17290 wine_fn_config_dll gameux enable_gameux clean
17291 wine_fn_config_test dlls/gameux/tests gameux_test
17292 wine_fn_config_dll gdi.exe16 enable_win16
17293 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17294 wine_fn_config_test dlls/gdi32/tests gdi32_test
17295 wine_fn_config_dll gdiplus enable_gdiplus implib
17296 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17297 wine_fn_config_dll glu32 enable_glu32 implib
17298 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17299 wine_fn_config_dll gpkcsp enable_gpkcsp
17300 wine_fn_config_dll hal enable_hal
17301 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17302 wine_fn_config_dll hid enable_hid implib
17303 wine_fn_config_dll hlink enable_hlink clean,implib
17304 wine_fn_config_test dlls/hlink/tests hlink_test
17305 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17306 wine_fn_config_dll httpapi enable_httpapi
17307 wine_fn_config_dll iccvid enable_iccvid po
17308 wine_fn_config_dll icmp enable_icmp
17309 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17310 wine_fn_config_test dlls/ieframe/tests ieframe_test
17311 wine_fn_config_dll ifsmgr.vxd enable_win16
17312 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17313 wine_fn_config_dll imagehlp enable_imagehlp implib
17314 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17315 wine_fn_config_dll imm.dll16 enable_win16
17316 wine_fn_config_dll imm32 enable_imm32 implib
17317 wine_fn_config_test dlls/imm32/tests imm32_test
17318 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17319 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17320 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17321 wine_fn_config_dll inetmib1 enable_inetmib1
17322 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17323 wine_fn_config_dll infosoft enable_infosoft clean
17324 wine_fn_config_test dlls/infosoft/tests infosoft_test
17325 wine_fn_config_dll initpki enable_initpki
17326 wine_fn_config_dll inkobj enable_inkobj
17327 wine_fn_config_dll inseng enable_inseng clean
17328 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17329 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17330 wine_fn_config_dll itircl enable_itircl
17331 wine_fn_config_dll itss enable_itss clean
17332 wine_fn_config_test dlls/itss/tests itss_test
17333 wine_fn_config_dll joy.cpl enable_joy_cpl po
17334 wine_fn_config_dll jscript enable_jscript clean,po
17335 wine_fn_config_test dlls/jscript/tests jscript_test
17336 wine_fn_config_dll jsproxy enable_jsproxy implib
17337 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17338 wine_fn_config_test dlls/kernel32/tests kernel32_test
17339 wine_fn_config_dll keyboard.drv16 enable_win16
17340 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17341 wine_fn_config_dll ksuser enable_ksuser
17342 wine_fn_config_dll ktmw32 enable_ktmw32
17343 wine_fn_config_dll loadperf enable_loadperf implib
17344 wine_fn_config_dll localspl enable_localspl po
17345 wine_fn_config_test dlls/localspl/tests localspl_test
17346 wine_fn_config_dll localui enable_localui po
17347 wine_fn_config_test dlls/localui/tests localui_test
17348 wine_fn_config_dll lz32 enable_lz32 implib
17349 wine_fn_config_test dlls/lz32/tests lz32_test
17350 wine_fn_config_dll lzexpand.dll16 enable_win16
17351 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17352 wine_fn_config_test dlls/mapi32/tests mapi32_test
17353 wine_fn_config_dll mapistub enable_mapistub
17354 wine_fn_config_dll mciavi32 enable_mciavi32
17355 wine_fn_config_dll mcicda enable_mcicda
17356 wine_fn_config_dll mciqtz32 enable_mciqtz32
17357 wine_fn_config_dll mciseq enable_mciseq
17358 wine_fn_config_dll mciwave enable_mciwave
17359 wine_fn_config_dll mf enable_mf
17360 wine_fn_config_dll mfplat enable_mfplat
17361 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17362 wine_fn_config_dll mgmtapi enable_mgmtapi
17363 wine_fn_config_dll midimap enable_midimap
17364 wine_fn_config_dll mlang enable_mlang clean,implib
17365 wine_fn_config_test dlls/mlang/tests mlang_test
17366 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17367 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17368 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17369 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17370 wine_fn_config_dll mmdevldr.vxd enable_win16
17371 wine_fn_config_dll mmsystem.dll16 enable_win16
17372 wine_fn_config_dll monodebg.vxd enable_win16
17373 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17374 wine_fn_config_dll mouse.drv16 enable_win16
17375 wine_fn_config_dll mpr enable_mpr implib,po
17376 wine_fn_config_test dlls/mpr/tests mpr_test
17377 wine_fn_config_dll mprapi enable_mprapi implib
17378 wine_fn_config_dll msacm.dll16 enable_win16
17379 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17380 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17381 wine_fn_config_test dlls/msacm32/tests msacm32_test
17382 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17383 wine_fn_config_dll msasn1 enable_msasn1 implib
17384 wine_fn_config_dll mscat32 enable_mscat32
17385 wine_fn_config_dll mscms enable_mscms implib
17386 wine_fn_config_test dlls/mscms/tests mscms_test
17387 wine_fn_config_dll mscoree enable_mscoree clean
17388 wine_fn_config_test dlls/mscoree/tests mscoree_test
17389 wine_fn_config_dll msctf enable_msctf clean
17390 wine_fn_config_test dlls/msctf/tests msctf_test
17391 wine_fn_config_dll msctfp enable_msctfp clean
17392 wine_fn_config_dll msdaps enable_msdaps clean
17393 wine_fn_config_dll msdmo enable_msdmo implib
17394 wine_fn_config_test dlls/msdmo/tests msdmo_test
17395 wine_fn_config_dll msftedit enable_msftedit
17396 wine_fn_config_dll msg711.acm enable_msg711_acm
17397 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17398 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17399 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17400 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17401 wine_fn_config_dll msi enable_msi clean,implib,po
17402 wine_fn_config_test dlls/msi/tests msi_test
17403 wine_fn_config_dll msident enable_msident clean
17404 wine_fn_config_dll msimg32 enable_msimg32 implib
17405 wine_fn_config_dll msimsg enable_msimsg
17406 wine_fn_config_dll msimtf enable_msimtf clean
17407 wine_fn_config_dll msisip enable_msisip
17408 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17409 wine_fn_config_dll msls31 enable_msls31
17410 wine_fn_config_dll msnet32 enable_msnet32
17411 wine_fn_config_dll mspatcha enable_mspatcha implib
17412 wine_fn_config_dll msrle32 enable_msrle32 po
17413 wine_fn_config_test dlls/msrle32/tests msrle32_test
17414 wine_fn_config_dll mssign32 enable_mssign32
17415 wine_fn_config_dll mssip32 enable_mssip32
17416 wine_fn_config_dll mstask enable_mstask clean
17417 wine_fn_config_test dlls/mstask/tests mstask_test
17418 wine_fn_config_dll msvcirt enable_msvcirt
17419 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17420 wine_fn_config_dll msvcm80 enable_msvcm80
17421 wine_fn_config_dll msvcm90 enable_msvcm90
17422 wine_fn_config_dll msvcp100 enable_msvcp100
17423 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17424 wine_fn_config_dll msvcp110 enable_msvcp110
17425 wine_fn_config_dll msvcp120 enable_msvcp120
17426 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17427 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17428 wine_fn_config_dll msvcp60 enable_msvcp60
17429 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17430 wine_fn_config_dll msvcp70 enable_msvcp70
17431 wine_fn_config_dll msvcp71 enable_msvcp71
17432 wine_fn_config_dll msvcp80 enable_msvcp80
17433 wine_fn_config_dll msvcp90 enable_msvcp90
17434 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17435 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17436 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17437 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17438 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17439 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17440 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17441 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17442 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17443 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17444 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17445 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17446 wine_fn_config_dll msvcrt enable_msvcrt implib
17447 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17448 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17449 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17450 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17451 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17452 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17453 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17454 wine_fn_config_dll msvidc32 enable_msvidc32 po
17455 wine_fn_config_dll msvideo.dll16 enable_win16
17456 wine_fn_config_dll mswsock enable_mswsock implib
17457 wine_fn_config_dll msxml enable_msxml clean
17458 wine_fn_config_dll msxml2 enable_msxml2 clean
17459 wine_fn_config_dll msxml3 enable_msxml3 clean
17460 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17461 wine_fn_config_dll msxml4 enable_msxml4 clean
17462 wine_fn_config_dll msxml6 enable_msxml6 clean
17463 wine_fn_config_dll nddeapi enable_nddeapi implib
17464 wine_fn_config_dll ndis.sys enable_ndis_sys
17465 wine_fn_config_dll netapi32 enable_netapi32 implib
17466 wine_fn_config_test dlls/netapi32/tests netapi32_test
17467 wine_fn_config_dll netcfgx enable_netcfgx clean
17468 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17469 wine_fn_config_dll netprofm enable_netprofm clean
17470 wine_fn_config_test dlls/netprofm/tests netprofm_test
17471 wine_fn_config_dll newdev enable_newdev implib
17472 wine_fn_config_dll normaliz enable_normaliz implib
17473 wine_fn_config_dll npmshtml enable_npmshtml
17474 wine_fn_config_dll npptools enable_npptools
17475 wine_fn_config_dll ntdll enable_ntdll implib
17476 wine_fn_config_test dlls/ntdll/tests ntdll_test
17477 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17478 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17479 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17480 wine_fn_config_dll ntprint enable_ntprint
17481 wine_fn_config_test dlls/ntprint/tests ntprint_test
17482 wine_fn_config_dll objsel enable_objsel clean
17483 wine_fn_config_dll odbc32 enable_odbc32 implib
17484 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17485 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17486 wine_fn_config_dll odbccu32 enable_odbccu32
17487 wine_fn_config_dll ole2.dll16 enable_win16
17488 wine_fn_config_dll ole2conv.dll16 enable_win16
17489 wine_fn_config_dll ole2disp.dll16 enable_win16
17490 wine_fn_config_dll ole2nls.dll16 enable_win16
17491 wine_fn_config_dll ole2prox.dll16 enable_win16
17492 wine_fn_config_dll ole2thk.dll16 enable_win16
17493 wine_fn_config_dll ole32 enable_ole32 clean,implib
17494 wine_fn_config_test dlls/ole32/tests ole32_test
17495 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17496 wine_fn_config_test dlls/oleacc/tests oleacc_test
17497 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17498 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17499 wine_fn_config_dll olecli.dll16 enable_win16
17500 wine_fn_config_dll olecli32 enable_olecli32 implib
17501 wine_fn_config_dll oledb32 enable_oledb32 clean
17502 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17503 wine_fn_config_dll oledlg enable_oledlg implib,po
17504 wine_fn_config_test dlls/oledlg/tests oledlg_test
17505 wine_fn_config_dll olepro32 enable_olepro32 implib
17506 wine_fn_config_dll olesvr.dll16 enable_win16
17507 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17508 wine_fn_config_dll olethk32 enable_olethk32
17509 wine_fn_config_dll openal32 enable_openal32
17510 wine_fn_config_dll opencl enable_opencl
17511 wine_fn_config_dll opengl32 enable_opengl32 implib
17512 wine_fn_config_test dlls/opengl32/tests opengl32_test
17513 wine_fn_config_dll packager enable_packager clean
17514 wine_fn_config_test dlls/packager/tests packager_test
17515 wine_fn_config_dll pdh enable_pdh implib
17516 wine_fn_config_test dlls/pdh/tests pdh_test
17517 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17518 wine_fn_config_dll pidgen enable_pidgen
17519 wine_fn_config_dll powrprof enable_powrprof implib
17520 wine_fn_config_dll printui enable_printui
17521 wine_fn_config_dll prntvpt enable_prntvpt
17522 wine_fn_config_dll propsys enable_propsys clean,implib
17523 wine_fn_config_test dlls/propsys/tests propsys_test
17524 wine_fn_config_dll psapi enable_psapi implib
17525 wine_fn_config_test dlls/psapi/tests psapi_test
17526 wine_fn_config_dll pstorec enable_pstorec clean
17527 wine_fn_config_dll qcap enable_qcap
17528 wine_fn_config_test dlls/qcap/tests qcap_test
17529 wine_fn_config_dll qedit enable_qedit clean
17530 wine_fn_config_test dlls/qedit/tests qedit_test
17531 wine_fn_config_dll qmgr enable_qmgr clean
17532 wine_fn_config_test dlls/qmgr/tests qmgr_test
17533 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17534 wine_fn_config_dll quartz enable_quartz clean,implib
17535 wine_fn_config_test dlls/quartz/tests quartz_test clean
17536 wine_fn_config_dll query enable_query
17537 wine_fn_config_dll rasapi16.dll16 enable_win16
17538 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17539 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17540 wine_fn_config_dll rasdlg enable_rasdlg implib
17541 wine_fn_config_dll regapi enable_regapi
17542 wine_fn_config_dll resutils enable_resutils implib
17543 wine_fn_config_dll riched20 enable_riched20 clean,implib
17544 wine_fn_config_test dlls/riched20/tests riched20_test
17545 wine_fn_config_dll riched32 enable_riched32
17546 wine_fn_config_test dlls/riched32/tests riched32_test
17547 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17548 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17549 wine_fn_config_dll rsabase enable_rsabase
17550 wine_fn_config_dll rsaenh enable_rsaenh implib
17551 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17552 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17553 wine_fn_config_dll rtutils enable_rtutils implib
17554 wine_fn_config_dll samlib enable_samlib
17555 wine_fn_config_dll sane.ds enable_sane_ds po
17556 wine_fn_config_dll scarddlg enable_scarddlg
17557 wine_fn_config_dll sccbase enable_sccbase
17558 wine_fn_config_dll schannel enable_schannel
17559 wine_fn_config_test dlls/schannel/tests schannel_test
17560 wine_fn_config_dll schedsvc enable_schedsvc clean
17561 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17562 wine_fn_config_dll scrrun enable_scrrun clean
17563 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17564 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17565 wine_fn_config_dll secur32 enable_secur32 implib
17566 wine_fn_config_test dlls/secur32/tests secur32_test
17567 wine_fn_config_dll security enable_security
17568 wine_fn_config_dll sensapi enable_sensapi implib
17569 wine_fn_config_dll serialui enable_serialui implib,po
17570 wine_fn_config_test dlls/serialui/tests serialui_test
17571 wine_fn_config_dll setupapi enable_setupapi implib,po
17572 wine_fn_config_test dlls/setupapi/tests setupapi_test
17573 wine_fn_config_dll setupx.dll16 enable_win16
17574 wine_fn_config_dll sfc enable_sfc implib
17575 wine_fn_config_dll sfc_os enable_sfc_os implib
17576 wine_fn_config_dll shdoclc enable_shdoclc po
17577 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17578 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17579 wine_fn_config_dll shell.dll16 enable_win16
17580 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17581 wine_fn_config_test dlls/shell32/tests shell32_test
17582 wine_fn_config_dll shfolder enable_shfolder implib
17583 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17584 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17585 wine_fn_config_dll slbcsp enable_slbcsp
17586 wine_fn_config_dll slc enable_slc implib
17587 wine_fn_config_test dlls/slc/tests slc_test
17588 wine_fn_config_dll snmpapi enable_snmpapi implib
17589 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17590 wine_fn_config_dll softpub enable_softpub
17591 wine_fn_config_dll sound.drv16 enable_win16
17592 wine_fn_config_dll spoolss enable_spoolss implib
17593 wine_fn_config_test dlls/spoolss/tests spoolss_test
17594 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17595 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17596 wine_fn_config_dll sti enable_sti clean,implib
17597 wine_fn_config_test dlls/sti/tests sti_test
17598 wine_fn_config_dll storage.dll16 enable_win16
17599 wine_fn_config_dll stress.dll16 enable_win16
17600 wine_fn_config_lib strmbase
17601 wine_fn_config_lib strmiids
17602 wine_fn_config_dll svrapi enable_svrapi
17603 wine_fn_config_dll sxs enable_sxs implib
17604 wine_fn_config_test dlls/sxs/tests sxs_test
17605 wine_fn_config_dll system.drv16 enable_win16
17606 wine_fn_config_dll t2embed enable_t2embed
17607 wine_fn_config_dll tapi32 enable_tapi32 implib
17608 wine_fn_config_dll taskschd enable_taskschd clean
17609 wine_fn_config_test dlls/taskschd/tests taskschd_test
17610 wine_fn_config_dll toolhelp.dll16 enable_win16
17611 wine_fn_config_dll traffic enable_traffic
17612 wine_fn_config_dll twain.dll16 enable_win16
17613 wine_fn_config_dll twain_32 enable_twain_32
17614 wine_fn_config_test dlls/twain_32/tests twain_32_test
17615 wine_fn_config_dll typelib.dll16 enable_win16
17616 wine_fn_config_dll unicows enable_unicows implib
17617 wine_fn_config_dll updspapi enable_updspapi
17618 wine_fn_config_dll url enable_url implib
17619 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17620 wine_fn_config_test dlls/urlmon/tests urlmon_test
17621 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17622 wine_fn_config_dll user.exe16 enable_win16
17623 wine_fn_config_dll user32 enable_user32 clean,implib,po
17624 wine_fn_config_test dlls/user32/tests user32_test
17625 wine_fn_config_dll userenv enable_userenv implib
17626 wine_fn_config_test dlls/userenv/tests userenv_test
17627 wine_fn_config_dll usp10 enable_usp10 implib
17628 wine_fn_config_test dlls/usp10/tests usp10_test
17629 wine_fn_config_lib uuid
17630 wine_fn_config_dll uxtheme enable_uxtheme implib
17631 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17632 wine_fn_config_dll vbscript enable_vbscript clean
17633 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17634 wine_fn_config_dll vcomp enable_vcomp
17635 wine_fn_config_dll vcomp100 enable_vcomp100
17636 wine_fn_config_dll vcomp90 enable_vcomp90
17637 wine_fn_config_dll vdhcp.vxd enable_win16
17638 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17639 wine_fn_config_dll ver.dll16 enable_win16
17640 wine_fn_config_dll version enable_version implib
17641 wine_fn_config_test dlls/version/tests version_test
17642 wine_fn_config_dll vmm.vxd enable_win16
17643 wine_fn_config_dll vnbt.vxd enable_win16
17644 wine_fn_config_dll vnetbios.vxd enable_win16
17645 wine_fn_config_dll vssapi enable_vssapi
17646 wine_fn_config_dll vtdapi.vxd enable_win16
17647 wine_fn_config_dll vwin32.vxd enable_win16
17648 wine_fn_config_dll w32skrnl enable_win16
17649 wine_fn_config_dll w32sys.dll16 enable_win16
17650 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17651 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17652 wine_fn_config_dll wbemprox enable_wbemprox clean
17653 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17654 wine_fn_config_dll webservices enable_webservices implib
17655 wine_fn_config_dll wer enable_wer implib
17656 wine_fn_config_test dlls/wer/tests wer_test
17657 wine_fn_config_dll wevtapi enable_wevtapi
17658 wine_fn_config_dll wiaservc enable_wiaservc clean
17659 wine_fn_config_dll win32s16.dll16 enable_win16
17660 wine_fn_config_dll win87em.dll16 enable_win16
17661 wine_fn_config_dll winaspi.dll16 enable_win16
17662 wine_fn_config_dll windebug.dll16 enable_win16
17663 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17664 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17665 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17666 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17667 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17668 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17669 wine_fn_config_lib winecrt0
17670 wine_fn_config_dll wined3d enable_wined3d implib
17671 wine_fn_config_dll winegstreamer enable_winegstreamer
17672 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17673 wine_fn_config_dll winemac.drv enable_winemac_drv
17674 wine_fn_config_dll winemapi enable_winemapi
17675 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17676 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17677 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17678 wine_fn_config_dll wineps16.drv16 enable_win16
17679 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17680 wine_fn_config_dll winex11.drv enable_winex11_drv
17681 wine_fn_config_dll wing.dll16 enable_win16
17682 wine_fn_config_dll wing32 enable_wing32
17683 wine_fn_config_dll winhttp enable_winhttp clean,implib
17684 wine_fn_config_test dlls/winhttp/tests winhttp_test
17685 wine_fn_config_dll wininet enable_wininet implib,po
17686 wine_fn_config_test dlls/wininet/tests wininet_test
17687 wine_fn_config_dll winmm enable_winmm implib,po
17688 wine_fn_config_test dlls/winmm/tests winmm_test
17689 wine_fn_config_dll winnls.dll16 enable_win16
17690 wine_fn_config_dll winnls32 enable_winnls32 implib
17691 wine_fn_config_dll winscard enable_winscard implib
17692 wine_fn_config_dll winsock.dll16 enable_win16
17693 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17694 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17695 wine_fn_config_dll winsta enable_winsta
17696 wine_fn_config_dll wintab.dll16 enable_win16
17697 wine_fn_config_dll wintab32 enable_wintab32 implib
17698 wine_fn_config_test dlls/wintab32/tests wintab32_test
17699 wine_fn_config_dll wintrust enable_wintrust implib
17700 wine_fn_config_test dlls/wintrust/tests wintrust_test
17701 wine_fn_config_dll wlanapi enable_wlanapi
17702 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17703 wine_fn_config_test dlls/wldap32/tests wldap32_test
17704 wine_fn_config_dll wmi enable_wmi
17705 wine_fn_config_dll wmiutils enable_wmiutils clean
17706 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17707 wine_fn_config_dll wmp enable_wmp clean
17708 wine_fn_config_test dlls/wmp/tests wmp_test
17709 wine_fn_config_dll wmvcore enable_wmvcore
17710 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17711 wine_fn_config_dll wow32 enable_win16 implib
17712 wine_fn_config_dll wpcap enable_wpcap
17713 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17714 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17715 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17716 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17717 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17718 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17719 wine_fn_config_dll wsock32 enable_wsock32 implib
17720 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17721 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17722 wine_fn_config_dll wuapi enable_wuapi clean
17723 wine_fn_config_dll wuaueng enable_wuaueng
17724 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17725 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17726 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17727 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17728 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17729 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17730 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17731 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17732 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17733 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17734 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17735 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17736 wine_fn_config_dll xinput1_1 enable_xinput1_1
17737 wine_fn_config_dll xinput1_2 enable_xinput1_2
17738 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17739 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17740 wine_fn_config_dll xinput1_4 enable_xinput1_4
17741 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17742 wine_fn_config_dll xmllite enable_xmllite implib
17743 wine_fn_config_test dlls/xmllite/tests xmllite_test
17744 wine_fn_config_dll xolehlp enable_xolehlp
17745 wine_fn_config_dll xpsprint enable_xpsprint
17746 wine_fn_config_dll xpssvcs enable_xpssvcs
17747 wine_fn_config_makefile documentation enable_documentation clean
17748 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17749 wine_fn_config_makefile include enable_include clean,install-dev
17750 wine_fn_config_makefile libs/port enable_libs_port
17751 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17752 wine_fn_config_makefile libs/wpp enable_libs_wpp
17753 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17754 wine_fn_config_program arp enable_arp install
17755 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17756 wine_fn_config_program attrib enable_attrib install,po
17757 wine_fn_config_program cabarc enable_cabarc install
17758 wine_fn_config_program cacls enable_cacls install
17759 wine_fn_config_program clock enable_clock install,po
17760 wine_fn_config_program cmd enable_cmd install,po
17761 wine_fn_config_test programs/cmd/tests cmd.exe_test
17762 wine_fn_config_program conhost enable_conhost install
17763 wine_fn_config_program control enable_control install
17764 wine_fn_config_program cscript enable_cscript clean,install
17765 wine_fn_config_program dpnsvr enable_dpnsvr install
17766 wine_fn_config_program dxdiag enable_dxdiag install,po
17767 wine_fn_config_program eject enable_eject install
17768 wine_fn_config_program expand enable_expand install
17769 wine_fn_config_program explorer enable_explorer install,po
17770 wine_fn_config_program extrac32 enable_extrac32 install
17771 wine_fn_config_program findstr enable_findstr install
17772 wine_fn_config_program hh enable_hh install
17773 wine_fn_config_program hostname enable_hostname install,po
17774 wine_fn_config_program icinfo enable_icinfo install
17775 wine_fn_config_program iexplore enable_iexplore install
17776 wine_fn_config_program ipconfig enable_ipconfig install,po
17777 wine_fn_config_program lodctr enable_lodctr install
17778 wine_fn_config_program mofcomp enable_mofcomp install
17779 wine_fn_config_program mshta enable_mshta install
17780 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17781 wine_fn_config_program net enable_net install,po
17782 wine_fn_config_program netsh enable_netsh install
17783 wine_fn_config_program netstat enable_netstat install,po
17784 wine_fn_config_program ngen enable_ngen install
17785 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17786 wine_fn_config_program oleview enable_oleview install,po
17787 wine_fn_config_program ping enable_ping install
17788 wine_fn_config_program plugplay enable_plugplay install
17789 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17790 wine_fn_config_program progman enable_progman install,po
17791 wine_fn_config_program reg enable_reg install,po
17792 wine_fn_config_test programs/reg/tests reg.exe_test
17793 wine_fn_config_program regasm enable_regasm install
17794 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17795 wine_fn_config_test programs/regedit/tests regedit.exe_test
17796 wine_fn_config_program regsvcs enable_regsvcs install
17797 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17798 wine_fn_config_program rpcss enable_rpcss clean,install
17799 wine_fn_config_program rundll.exe16 enable_win16 install
17800 wine_fn_config_program rundll32 enable_rundll32 install
17801 wine_fn_config_program sc enable_sc install
17802 wine_fn_config_program schtasks enable_schtasks install
17803 wine_fn_config_program sdbinst enable_sdbinst install
17804 wine_fn_config_program secedit enable_secedit install
17805 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17806 wine_fn_config_program services enable_services clean,install
17807 wine_fn_config_test programs/services/tests services.exe_test
17808 wine_fn_config_program spoolsv enable_spoolsv install
17809 wine_fn_config_program start enable_start install,po
17810 wine_fn_config_program svchost enable_svchost install
17811 wine_fn_config_program systeminfo enable_systeminfo install
17812 wine_fn_config_program taskkill enable_taskkill install,po
17813 wine_fn_config_program tasklist enable_tasklist install
17814 wine_fn_config_program taskmgr enable_taskmgr install,po
17815 wine_fn_config_program termsv enable_termsv install
17816 wine_fn_config_program uninstaller enable_uninstaller install,po
17817 wine_fn_config_program unlodctr enable_unlodctr install
17818 wine_fn_config_program view enable_view install,po
17819 wine_fn_config_program wevtutil enable_wevtutil install
17820 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17821 wine_fn_config_program winebrowser enable_winebrowser install
17822 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17823 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17824 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17825 wine_fn_config_program winedevice enable_winedevice install
17826 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17827 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17828 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17829 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17830 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17831 wine_fn_config_program winetest enable_winetest clean
17832 wine_fn_config_program winevdm enable_win16 install
17833 wine_fn_config_program winhelp.exe16 enable_win16 install
17834 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17835 wine_fn_config_program winoldap.mod16 enable_win16 install
17836 wine_fn_config_program winver enable_winver install
17837 wine_fn_config_program wmic enable_wmic install,po
17838 wine_fn_config_program wordpad enable_wordpad install,po
17839 wine_fn_config_program write enable_write install,po
17840 wine_fn_config_program wscript enable_wscript clean,install
17841 wine_fn_config_test programs/wscript/tests wscript.exe_test
17842 wine_fn_config_program wusa enable_wusa install
17843 wine_fn_config_program xcopy enable_xcopy install,po
17844 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17845 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17846 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17847 wine_fn_config_tool tools/sfnt2fon clean
17848 wine_fn_config_tool tools/widl clean,install-dev,manpage
17849 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17850 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17851 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17852 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17853 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17855 LINGUAS="\
17856 ar \
17857 bg \
17858 ca \
17859 cs \
17860 da \
17861 de \
17862 el \
17863 en \
17864 en_US \
17865 eo \
17866 es \
17867 fa \
17868 fi \
17869 fr \
17870 he \
17871 hi \
17872 hr \
17873 hu \
17874 it \
17875 ja \
17876 ko \
17877 lt \
17878 ml \
17879 nb_NO \
17880 nl \
17881 or \
17882 pa \
17883 pl \
17884 pt_BR \
17885 pt_PT \
17886 rm \
17887 ro \
17888 ru \
17889 sk \
17890 sl \
17891 sr_RS@cyrillic \
17892 sr_RS@latin \
17893 sv \
17894 te \
17895 th \
17896 tr \
17897 uk \
17898 wa \
17899 zh_CN \
17900 zh_TW"
17905 wine_fn_ignore_file ".gitignore"
17906 wine_fn_ignore_file "Makefile"
17907 wine_fn_ignore_file "TAGS"
17908 wine_fn_ignore_file "tags"
17909 wine_fn_ignore_file "autom4te.cache"
17910 wine_fn_ignore_file "config.cache"
17911 wine_fn_ignore_file "config.log"
17912 wine_fn_ignore_file "config.status"
17913 wine_fn_ignore_file "configure.lineno"
17914 wine_fn_ignore_file "include/config.h"
17915 wine_fn_ignore_file "include/stamp-h"
17916 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17918 if test "x$enable_tools" != xno
17919 then
17920 wine_fn_ignore_file "tools/makedep$ac_exeext"
17921 ac_config_commands="$ac_config_commands tools/makedep"
17925 ac_config_commands="$ac_config_commands Makefile"
17928 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17932 if test "x$enable_maintainer_mode" = xyes
17933 then
17934 wine_fn_append_rule "configure: configure.ac aclocal.m4
17935 autoconf --warnings=all
17936 include/config.h.in: include/stamp-h.in
17937 include/stamp-h.in: configure.ac aclocal.m4
17938 autoheader --warnings=all
17939 @echo timestamp > \$@"
17942 if test "x$with_gettextpo" = xyes
17943 then
17944 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17945 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17946 \$(LINGUAS:%=po/%.po): po/wine.pot
17947 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17948 po/wine.pot: \$(ALL_POT_FILES)
17949 msgcat -o \$@ \$(ALL_POT_FILES)"
17952 if test "$MSGFMT" != false
17953 then
17954 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17955 clean::
17956 \$(RM) \$(LINGUAS:%=po/%.mo)"
17958 posrc="po"
17959 test "$srcdir" = . || posrc="$srcdir/po"
17960 for i in $LINGUAS
17962 wine_fn_ignore_file "po/$i.mo"
17963 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17964 \$(MSGFMT) -o \$@ $posrc/$i.po"
17965 done
17966 else
17967 LINGUAS=
17970 if test "x$enable_tools" != xno
17971 then
17972 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17973 @./config.status tools/makedep
17974 Makefile: tools/makedep$ac_exeext
17975 distclean:: clean
17976 \$(RM) tools/makedep$ac_exeext"
17977 else
17978 wine_fn_append_rule "\$(MAKEDEP):
17979 @echo \"You need to run make in $TOOLSDIR first\" && false"
17982 if test -n "$with_wine64"
17983 then
17984 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17985 fonts server tools:
17986 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17987 $with_wine64/loader/wine:
17988 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17989 $with_wine64/loader/wine-preloader:
17990 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17991 clean::
17992 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17993 else
17994 as_fn_append LOADER_RULES "
17995 install install-lib:: wine.inf install-man-pages
17996 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17997 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17999 uninstall::
18000 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18004 if test "$srcdir" = .
18005 then
18006 ac_config_commands="$ac_config_commands .gitignore"
18010 $as_echo " done" >&6
18011 cat >confcache <<\_ACEOF
18012 # This file is a shell script that caches the results of configure
18013 # tests run on this system so they can be shared between configure
18014 # scripts and configure runs, see configure's option --config-cache.
18015 # It is not useful on other systems. If it contains results you don't
18016 # want to keep, you may remove or edit it.
18018 # config.status only pays attention to the cache file if you give it
18019 # the --recheck option to rerun configure.
18021 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18022 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18023 # following values.
18025 _ACEOF
18027 # The following way of writing the cache mishandles newlines in values,
18028 # but we know of no workaround that is simple, portable, and efficient.
18029 # So, we kill variables containing newlines.
18030 # Ultrix sh set writes to stderr and can't be redirected directly,
18031 # and sets the high bit in the cache file unless we assign to the vars.
18033 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18034 eval ac_val=\$$ac_var
18035 case $ac_val in #(
18036 *${as_nl}*)
18037 case $ac_var in #(
18038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18040 esac
18041 case $ac_var in #(
18042 _ | IFS | as_nl) ;; #(
18043 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18044 *) { eval $ac_var=; unset $ac_var;} ;;
18045 esac ;;
18046 esac
18047 done
18049 (set) 2>&1 |
18050 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18051 *${as_nl}ac_space=\ *)
18052 # `set' does not quote correctly, so add quotes: double-quote
18053 # substitution turns \\\\ into \\, and sed turns \\ into \.
18054 sed -n \
18055 "s/'/'\\\\''/g;
18056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18057 ;; #(
18059 # `set' quotes correctly as required by POSIX, so do not add quotes.
18060 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18062 esac |
18063 sort
18065 sed '
18066 /^ac_cv_env_/b end
18067 t clear
18068 :clear
18069 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18070 t end
18071 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18072 :end' >>confcache
18073 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18074 if test -w "$cache_file"; then
18075 if test "x$cache_file" != "x/dev/null"; then
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18077 $as_echo "$as_me: updating cache $cache_file" >&6;}
18078 if test ! -f "$cache_file" || test -h "$cache_file"; then
18079 cat confcache >"$cache_file"
18080 else
18081 case $cache_file in #(
18082 */* | ?:*)
18083 mv -f confcache "$cache_file"$$ &&
18084 mv -f "$cache_file"$$ "$cache_file" ;; #(
18086 mv -f confcache "$cache_file" ;;
18087 esac
18090 else
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18092 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18095 rm -f confcache
18097 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18098 # Let make expand exec_prefix.
18099 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18101 DEFS=-DHAVE_CONFIG_H
18103 ac_libobjs=
18104 ac_ltlibobjs=
18106 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18107 # 1. Remove the extension, and $U if already installed.
18108 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18109 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18110 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18111 # will be set to the directory where LIBOBJS objects are built.
18112 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18113 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18114 done
18115 LIBOBJS=$ac_libobjs
18117 LTLIBOBJS=$ac_ltlibobjs
18121 : "${CONFIG_STATUS=./config.status}"
18122 ac_write_fail=0
18123 ac_clean_files_save=$ac_clean_files
18124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18127 as_write_fail=0
18128 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18129 #! $SHELL
18130 # Generated by $as_me.
18131 # Run this file to recreate the current configuration.
18132 # Compiler output produced by configure, useful for debugging
18133 # configure, is in config.log if it exists.
18135 debug=false
18136 ac_cs_recheck=false
18137 ac_cs_silent=false
18139 SHELL=\${CONFIG_SHELL-$SHELL}
18140 export SHELL
18141 _ASEOF
18142 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18143 ## -------------------- ##
18144 ## M4sh Initialization. ##
18145 ## -------------------- ##
18147 # Be more Bourne compatible
18148 DUALCASE=1; export DUALCASE # for MKS sh
18149 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18150 emulate sh
18151 NULLCMD=:
18152 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18153 # is contrary to our usage. Disable this feature.
18154 alias -g '${1+"$@"}'='"$@"'
18155 setopt NO_GLOB_SUBST
18156 else
18157 case `(set -o) 2>/dev/null` in #(
18158 *posix*) :
18159 set -o posix ;; #(
18160 *) :
18162 esac
18166 as_nl='
18168 export as_nl
18169 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18170 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18171 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18173 # Prefer a ksh shell builtin over an external printf program on Solaris,
18174 # but without wasting forks for bash or zsh.
18175 if test -z "$BASH_VERSION$ZSH_VERSION" \
18176 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18177 as_echo='print -r --'
18178 as_echo_n='print -rn --'
18179 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18180 as_echo='printf %s\n'
18181 as_echo_n='printf %s'
18182 else
18183 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18184 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18185 as_echo_n='/usr/ucb/echo -n'
18186 else
18187 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18188 as_echo_n_body='eval
18189 arg=$1;
18190 case $arg in #(
18191 *"$as_nl"*)
18192 expr "X$arg" : "X\\(.*\\)$as_nl";
18193 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18194 esac;
18195 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18197 export as_echo_n_body
18198 as_echo_n='sh -c $as_echo_n_body as_echo'
18200 export as_echo_body
18201 as_echo='sh -c $as_echo_body as_echo'
18204 # The user is always right.
18205 if test "${PATH_SEPARATOR+set}" != set; then
18206 PATH_SEPARATOR=:
18207 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18208 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18209 PATH_SEPARATOR=';'
18214 # IFS
18215 # We need space, tab and new line, in precisely that order. Quoting is
18216 # there to prevent editors from complaining about space-tab.
18217 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18218 # splitting by setting IFS to empty value.)
18219 IFS=" "" $as_nl"
18221 # Find who we are. Look in the path if we contain no directory separator.
18222 as_myself=
18223 case $0 in #((
18224 *[\\/]* ) as_myself=$0 ;;
18225 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18226 for as_dir in $PATH
18228 IFS=$as_save_IFS
18229 test -z "$as_dir" && as_dir=.
18230 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18231 done
18232 IFS=$as_save_IFS
18235 esac
18236 # We did not find ourselves, most probably we were run as `sh COMMAND'
18237 # in which case we are not to be found in the path.
18238 if test "x$as_myself" = x; then
18239 as_myself=$0
18241 if test ! -f "$as_myself"; then
18242 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18243 exit 1
18246 # Unset variables that we do not need and which cause bugs (e.g. in
18247 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18248 # suppresses any "Segmentation fault" message there. '((' could
18249 # trigger a bug in pdksh 5.2.14.
18250 for as_var in BASH_ENV ENV MAIL MAILPATH
18251 do eval test x\${$as_var+set} = xset \
18252 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18253 done
18254 PS1='$ '
18255 PS2='> '
18256 PS4='+ '
18258 # NLS nuisances.
18259 LC_ALL=C
18260 export LC_ALL
18261 LANGUAGE=C
18262 export LANGUAGE
18264 # CDPATH.
18265 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18268 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18269 # ----------------------------------------
18270 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18271 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18272 # script with STATUS, using 1 if that was 0.
18273 as_fn_error ()
18275 as_status=$1; test $as_status -eq 0 && as_status=1
18276 if test "$4"; then
18277 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18278 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18280 $as_echo "$as_me: error: $2" >&2
18281 as_fn_exit $as_status
18282 } # as_fn_error
18285 # as_fn_set_status STATUS
18286 # -----------------------
18287 # Set $? to STATUS, without forking.
18288 as_fn_set_status ()
18290 return $1
18291 } # as_fn_set_status
18293 # as_fn_exit STATUS
18294 # -----------------
18295 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18296 as_fn_exit ()
18298 set +e
18299 as_fn_set_status $1
18300 exit $1
18301 } # as_fn_exit
18303 # as_fn_unset VAR
18304 # ---------------
18305 # Portably unset VAR.
18306 as_fn_unset ()
18308 { eval $1=; unset $1;}
18310 as_unset=as_fn_unset
18311 # as_fn_append VAR VALUE
18312 # ----------------------
18313 # Append the text in VALUE to the end of the definition contained in VAR. Take
18314 # advantage of any shell optimizations that allow amortized linear growth over
18315 # repeated appends, instead of the typical quadratic growth present in naive
18316 # implementations.
18317 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18318 eval 'as_fn_append ()
18320 eval $1+=\$2
18322 else
18323 as_fn_append ()
18325 eval $1=\$$1\$2
18327 fi # as_fn_append
18329 # as_fn_arith ARG...
18330 # ------------------
18331 # Perform arithmetic evaluation on the ARGs, and store the result in the
18332 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18333 # must be portable across $(()) and expr.
18334 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18335 eval 'as_fn_arith ()
18337 as_val=$(( $* ))
18339 else
18340 as_fn_arith ()
18342 as_val=`expr "$@" || test $? -eq 1`
18344 fi # as_fn_arith
18347 if expr a : '\(a\)' >/dev/null 2>&1 &&
18348 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18349 as_expr=expr
18350 else
18351 as_expr=false
18354 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18355 as_basename=basename
18356 else
18357 as_basename=false
18360 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18361 as_dirname=dirname
18362 else
18363 as_dirname=false
18366 as_me=`$as_basename -- "$0" ||
18367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18368 X"$0" : 'X\(//\)$' \| \
18369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18370 $as_echo X/"$0" |
18371 sed '/^.*\/\([^/][^/]*\)\/*$/{
18372 s//\1/
18375 /^X\/\(\/\/\)$/{
18376 s//\1/
18379 /^X\/\(\/\).*/{
18380 s//\1/
18383 s/.*/./; q'`
18385 # Avoid depending upon Character Ranges.
18386 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18387 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18388 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18389 as_cr_digits='0123456789'
18390 as_cr_alnum=$as_cr_Letters$as_cr_digits
18392 ECHO_C= ECHO_N= ECHO_T=
18393 case `echo -n x` in #(((((
18394 -n*)
18395 case `echo 'xy\c'` in
18396 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18397 xy) ECHO_C='\c';;
18398 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18399 ECHO_T=' ';;
18400 esac;;
18402 ECHO_N='-n';;
18403 esac
18405 rm -f conf$$ conf$$.exe conf$$.file
18406 if test -d conf$$.dir; then
18407 rm -f conf$$.dir/conf$$.file
18408 else
18409 rm -f conf$$.dir
18410 mkdir conf$$.dir 2>/dev/null
18412 if (echo >conf$$.file) 2>/dev/null; then
18413 if ln -s conf$$.file conf$$ 2>/dev/null; then
18414 as_ln_s='ln -s'
18415 # ... but there are two gotchas:
18416 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18417 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18418 # In both cases, we have to default to `cp -pR'.
18419 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18420 as_ln_s='cp -pR'
18421 elif ln conf$$.file conf$$ 2>/dev/null; then
18422 as_ln_s=ln
18423 else
18424 as_ln_s='cp -pR'
18426 else
18427 as_ln_s='cp -pR'
18429 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18430 rmdir conf$$.dir 2>/dev/null
18433 # as_fn_mkdir_p
18434 # -------------
18435 # Create "$as_dir" as a directory, including parents if necessary.
18436 as_fn_mkdir_p ()
18439 case $as_dir in #(
18440 -*) as_dir=./$as_dir;;
18441 esac
18442 test -d "$as_dir" || eval $as_mkdir_p || {
18443 as_dirs=
18444 while :; do
18445 case $as_dir in #(
18446 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18447 *) as_qdir=$as_dir;;
18448 esac
18449 as_dirs="'$as_qdir' $as_dirs"
18450 as_dir=`$as_dirname -- "$as_dir" ||
18451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18452 X"$as_dir" : 'X\(//\)[^/]' \| \
18453 X"$as_dir" : 'X\(//\)$' \| \
18454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18455 $as_echo X"$as_dir" |
18456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18457 s//\1/
18460 /^X\(\/\/\)[^/].*/{
18461 s//\1/
18464 /^X\(\/\/\)$/{
18465 s//\1/
18468 /^X\(\/\).*/{
18469 s//\1/
18472 s/.*/./; q'`
18473 test -d "$as_dir" && break
18474 done
18475 test -z "$as_dirs" || eval "mkdir $as_dirs"
18476 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18479 } # as_fn_mkdir_p
18480 if mkdir -p . 2>/dev/null; then
18481 as_mkdir_p='mkdir -p "$as_dir"'
18482 else
18483 test -d ./-p && rmdir ./-p
18484 as_mkdir_p=false
18488 # as_fn_executable_p FILE
18489 # -----------------------
18490 # Test if FILE is an executable regular file.
18491 as_fn_executable_p ()
18493 test -f "$1" && test -x "$1"
18494 } # as_fn_executable_p
18495 as_test_x='test -x'
18496 as_executable_p=as_fn_executable_p
18498 # Sed expression to map a string onto a valid CPP name.
18499 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18501 # Sed expression to map a string onto a valid variable name.
18502 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18505 exec 6>&1
18506 ## ----------------------------------- ##
18507 ## Main body of $CONFIG_STATUS script. ##
18508 ## ----------------------------------- ##
18509 _ASEOF
18510 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18513 # Save the log message, to keep $0 and so on meaningful, and to
18514 # report actual input values of CONFIG_FILES etc. instead of their
18515 # values after options handling.
18516 ac_log="
18517 This file was extended by Wine $as_me 1.7.45, which was
18518 generated by GNU Autoconf 2.69. Invocation command line was
18520 CONFIG_FILES = $CONFIG_FILES
18521 CONFIG_HEADERS = $CONFIG_HEADERS
18522 CONFIG_LINKS = $CONFIG_LINKS
18523 CONFIG_COMMANDS = $CONFIG_COMMANDS
18524 $ $0 $@
18526 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18529 _ACEOF
18531 case $ac_config_files in *"
18532 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18533 esac
18535 case $ac_config_headers in *"
18536 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18537 esac
18540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18541 # Files that config.status was made for.
18542 config_files="$ac_config_files"
18543 config_headers="$ac_config_headers"
18544 config_links="$ac_config_links"
18545 config_commands="$ac_config_commands"
18547 _ACEOF
18549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18550 ac_cs_usage="\
18551 \`$as_me' instantiates files and other configuration actions
18552 from templates according to the current configuration. Unless the files
18553 and actions are specified as TAGs, all are instantiated by default.
18555 Usage: $0 [OPTION]... [TAG]...
18557 -h, --help print this help, then exit
18558 -V, --version print version number and configuration settings, then exit
18559 --config print configuration, then exit
18560 -q, --quiet, --silent
18561 do not print progress messages
18562 -d, --debug don't remove temporary files
18563 --recheck update $as_me by reconfiguring in the same conditions
18564 --file=FILE[:TEMPLATE]
18565 instantiate the configuration file FILE
18566 --header=FILE[:TEMPLATE]
18567 instantiate the configuration header FILE
18569 Configuration files:
18570 $config_files
18572 Configuration headers:
18573 $config_headers
18575 Configuration links:
18576 $config_links
18578 Configuration commands:
18579 $config_commands
18581 Report bugs to <wine-devel@winehq.org>.
18582 Wine home page: <http://www.winehq.org>."
18584 _ACEOF
18585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18586 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18587 ac_cs_version="\\
18588 Wine config.status 1.7.45
18589 configured by $0, generated by GNU Autoconf 2.69,
18590 with options \\"\$ac_cs_config\\"
18592 Copyright (C) 2012 Free Software Foundation, Inc.
18593 This config.status script is free software; the Free Software Foundation
18594 gives unlimited permission to copy, distribute and modify it."
18596 ac_pwd='$ac_pwd'
18597 srcdir='$srcdir'
18598 test -n "\$AWK" || AWK=awk
18599 _ACEOF
18601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18602 # The default lists apply if the user does not specify any file.
18603 ac_need_defaults=:
18604 while test $# != 0
18606 case $1 in
18607 --*=?*)
18608 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18610 ac_shift=:
18612 --*=)
18613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18614 ac_optarg=
18615 ac_shift=:
18618 ac_option=$1
18619 ac_optarg=$2
18620 ac_shift=shift
18622 esac
18624 case $ac_option in
18625 # Handling of the options.
18626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18627 ac_cs_recheck=: ;;
18628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18629 $as_echo "$ac_cs_version"; exit ;;
18630 --config | --confi | --conf | --con | --co | --c )
18631 $as_echo "$ac_cs_config"; exit ;;
18632 --debug | --debu | --deb | --de | --d | -d )
18633 debug=: ;;
18634 --file | --fil | --fi | --f )
18635 $ac_shift
18636 case $ac_optarg in
18637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18638 '') as_fn_error $? "missing file argument" ;;
18639 esac
18640 as_fn_append CONFIG_FILES " '$ac_optarg'"
18641 ac_need_defaults=false;;
18642 --header | --heade | --head | --hea )
18643 $ac_shift
18644 case $ac_optarg in
18645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18646 esac
18647 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18648 ac_need_defaults=false;;
18649 --he | --h)
18650 # Conflict between --help and --header
18651 as_fn_error $? "ambiguous option: \`$1'
18652 Try \`$0 --help' for more information.";;
18653 --help | --hel | -h )
18654 $as_echo "$ac_cs_usage"; exit ;;
18655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18657 ac_cs_silent=: ;;
18659 # This is an error.
18660 -*) as_fn_error $? "unrecognized option: \`$1'
18661 Try \`$0 --help' for more information." ;;
18663 *) as_fn_append ac_config_targets " $1"
18664 ac_need_defaults=false ;;
18666 esac
18667 shift
18668 done
18670 ac_configure_extra_args=
18672 if $ac_cs_silent; then
18673 exec 6>/dev/null
18674 ac_configure_extra_args="$ac_configure_extra_args --silent"
18677 _ACEOF
18678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18679 if \$ac_cs_recheck; then
18680 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18681 shift
18682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18683 CONFIG_SHELL='$SHELL'
18684 export CONFIG_SHELL
18685 exec "\$@"
18688 _ACEOF
18689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18690 exec 5>>config.log
18692 echo
18693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18694 ## Running $as_me. ##
18695 _ASBOX
18696 $as_echo "$ac_log"
18697 } >&5
18699 _ACEOF
18700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18702 # INIT-COMMANDS
18704 wine_fn_output_makedep ()
18706 as_dir=tools; as_fn_mkdir_p
18707 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18709 wine_fn_output_makefile ()
18711 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18712 `cat $wine_rules_file`
18713 _WINE_EOF
18714 as_fn_error $? "could not create Makefile" "$LINENO" 5
18716 wine_fn_output_gitignore ()
18718 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18719 $GITIGNORE
18720 _WINE_EOF
18721 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18724 _ACEOF
18726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18728 # Handling of arguments.
18729 for ac_config_target in $ac_config_targets
18731 case $ac_config_target in
18732 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18733 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18734 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18735 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18736 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18737 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18738 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18739 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18740 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18741 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18742 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18743 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18744 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18745 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18747 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18748 esac
18749 done
18752 # If the user did not use the arguments to specify the items to instantiate,
18753 # then the envvar interface is used. Set only those that are not.
18754 # We use the long form for the default assignment because of an extremely
18755 # bizarre bug on SunOS 4.1.3.
18756 if $ac_need_defaults; then
18757 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18758 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18759 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18760 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18763 # Have a temporary directory for convenience. Make it in the build tree
18764 # simply because there is no reason against having it here, and in addition,
18765 # creating and moving files from /tmp can sometimes cause problems.
18766 # Hook for its removal unless debugging.
18767 # Note that there is a small window in which the directory will not be cleaned:
18768 # after its creation but before its name has been assigned to `$tmp'.
18769 $debug ||
18771 tmp= ac_tmp=
18772 trap 'exit_status=$?
18773 : "${ac_tmp:=$tmp}"
18774 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18776 trap 'as_fn_exit 1' 1 2 13 15
18778 # Create a (secure) tmp directory for tmp files.
18781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18782 test -d "$tmp"
18783 } ||
18785 tmp=./conf$$-$RANDOM
18786 (umask 077 && mkdir "$tmp")
18787 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18788 ac_tmp=$tmp
18790 # Set up the scripts for CONFIG_FILES section.
18791 # No need to generate them if there are no CONFIG_FILES.
18792 # This happens for instance with `./config.status config.h'.
18793 if test -n "$CONFIG_FILES"; then
18796 ac_cr=`echo X | tr X '\015'`
18797 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18798 # But we know of no other shell where ac_cr would be empty at this
18799 # point, so we can use a bashism as a fallback.
18800 if test "x$ac_cr" = x; then
18801 eval ac_cr=\$\'\\r\'
18803 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18804 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18805 ac_cs_awk_cr='\\r'
18806 else
18807 ac_cs_awk_cr=$ac_cr
18810 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18811 _ACEOF
18815 echo "cat >conf$$subs.awk <<_ACEOF" &&
18816 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18817 echo "_ACEOF"
18818 } >conf$$subs.sh ||
18819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18820 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18821 ac_delim='%!_!# '
18822 for ac_last_try in false false false false false :; do
18823 . ./conf$$subs.sh ||
18824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18826 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18827 if test $ac_delim_n = $ac_delim_num; then
18828 break
18829 elif $ac_last_try; then
18830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18831 else
18832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18834 done
18835 rm -f conf$$subs.sh
18837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18838 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18839 _ACEOF
18840 sed -n '
18842 s/^/S["/; s/!.*/"]=/
18845 s/^[^!]*!//
18846 :repl
18847 t repl
18848 s/'"$ac_delim"'$//
18849 t delim
18852 s/\(.\{148\}\)..*/\1/
18853 t more1
18854 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18857 b repl
18858 :more1
18859 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18862 s/.\{148\}//
18863 t nl
18864 :delim
18866 s/\(.\{148\}\)..*/\1/
18867 t more2
18868 s/["\\]/\\&/g; s/^/"/; s/$/"/
18871 :more2
18872 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18875 s/.\{148\}//
18876 t delim
18877 ' <conf$$subs.awk | sed '
18878 /^[^""]/{
18880 s/\n//
18882 ' >>$CONFIG_STATUS || ac_write_fail=1
18883 rm -f conf$$subs.awk
18884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18885 _ACAWK
18886 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18887 for (key in S) S_is_set[key] = 1
18888 FS = "\a"
18892 line = $ 0
18893 nfields = split(line, field, "@")
18894 substed = 0
18895 len = length(field[1])
18896 for (i = 2; i < nfields; i++) {
18897 key = field[i]
18898 keylen = length(key)
18899 if (S_is_set[key]) {
18900 value = S[key]
18901 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18902 len += length(value) + length(field[++i])
18903 substed = 1
18904 } else
18905 len += 1 + keylen
18908 print line
18911 _ACAWK
18912 _ACEOF
18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18914 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18915 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18916 else
18918 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18919 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18920 _ACEOF
18922 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18923 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18924 # trailing colons and then remove the whole line if VPATH becomes empty
18925 # (actually we leave an empty line to preserve line numbers).
18926 if test "x$srcdir" = x.; then
18927 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18929 s///
18930 s/^/:/
18931 s/[ ]*$/:/
18932 s/:\$(srcdir):/:/g
18933 s/:\${srcdir}:/:/g
18934 s/:@srcdir@:/:/g
18935 s/^:*//
18936 s/:*$//
18938 s/\(=[ ]*\).*/\1/
18940 s/\n//
18941 s/^[^=]*=[ ]*$//
18945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18946 fi # test -n "$CONFIG_FILES"
18948 # Set up the scripts for CONFIG_HEADERS section.
18949 # No need to generate them if there are no CONFIG_HEADERS.
18950 # This happens for instance with `./config.status Makefile'.
18951 if test -n "$CONFIG_HEADERS"; then
18952 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18953 BEGIN {
18954 _ACEOF
18956 # Transform confdefs.h into an awk script `defines.awk', embedded as
18957 # here-document in config.status, that substitutes the proper values into
18958 # config.h.in to produce config.h.
18960 # Create a delimiter string that does not exist in confdefs.h, to ease
18961 # handling of long lines.
18962 ac_delim='%!_!# '
18963 for ac_last_try in false false :; do
18964 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18965 if test -z "$ac_tt"; then
18966 break
18967 elif $ac_last_try; then
18968 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18969 else
18970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18972 done
18974 # For the awk script, D is an array of macro values keyed by name,
18975 # likewise P contains macro parameters if any. Preserve backslash
18976 # newline sequences.
18978 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18979 sed -n '
18980 s/.\{148\}/&'"$ac_delim"'/g
18981 t rset
18982 :rset
18983 s/^[ ]*#[ ]*define[ ][ ]*/ /
18984 t def
18986 :def
18987 s/\\$//
18988 t bsnl
18989 s/["\\]/\\&/g
18990 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18991 D["\1"]=" \3"/p
18992 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18994 :bsnl
18995 s/["\\]/\\&/g
18996 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18997 D["\1"]=" \3\\\\\\n"\\/p
18998 t cont
18999 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19000 t cont
19002 :cont
19004 s/.\{148\}/&'"$ac_delim"'/g
19005 t clear
19006 :clear
19007 s/\\$//
19008 t bsnlc
19009 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19011 :bsnlc
19012 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19013 b cont
19014 ' <confdefs.h | sed '
19015 s/'"$ac_delim"'/"\\\
19016 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19019 for (key in D) D_is_set[key] = 1
19020 FS = "\a"
19022 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19023 line = \$ 0
19024 split(line, arg, " ")
19025 if (arg[1] == "#") {
19026 defundef = arg[2]
19027 mac1 = arg[3]
19028 } else {
19029 defundef = substr(arg[1], 2)
19030 mac1 = arg[2]
19032 split(mac1, mac2, "(") #)
19033 macro = mac2[1]
19034 prefix = substr(line, 1, index(line, defundef) - 1)
19035 if (D_is_set[macro]) {
19036 # Preserve the white space surrounding the "#".
19037 print prefix "define", macro P[macro] D[macro]
19038 next
19039 } else {
19040 # Replace #undef with comments. This is necessary, for example,
19041 # in the case of _POSIX_SOURCE, which is predefined and required
19042 # on some systems where configure will not decide to define it.
19043 if (defundef == "undef") {
19044 print "/*", prefix defundef, macro, "*/"
19045 next
19049 { print }
19050 _ACAWK
19051 _ACEOF
19052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19053 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19054 fi # test -n "$CONFIG_HEADERS"
19057 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19058 shift
19059 for ac_tag
19061 case $ac_tag in
19062 :[FHLC]) ac_mode=$ac_tag; continue;;
19063 esac
19064 case $ac_mode$ac_tag in
19065 :[FHL]*:*);;
19066 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19067 :[FH]-) ac_tag=-:-;;
19068 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19069 esac
19070 ac_save_IFS=$IFS
19071 IFS=:
19072 set x $ac_tag
19073 IFS=$ac_save_IFS
19074 shift
19075 ac_file=$1
19076 shift
19078 case $ac_mode in
19079 :L) ac_source=$1;;
19080 :[FH])
19081 ac_file_inputs=
19082 for ac_f
19084 case $ac_f in
19085 -) ac_f="$ac_tmp/stdin";;
19086 *) # Look for the file first in the build tree, then in the source tree
19087 # (if the path is not absolute). The absolute path cannot be DOS-style,
19088 # because $ac_f cannot contain `:'.
19089 test -f "$ac_f" ||
19090 case $ac_f in
19091 [\\/$]*) false;;
19092 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19093 esac ||
19094 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19095 esac
19096 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19097 as_fn_append ac_file_inputs " '$ac_f'"
19098 done
19100 # Let's still pretend it is `configure' which instantiates (i.e., don't
19101 # use $as_me), people would be surprised to read:
19102 # /* config.h. Generated by config.status. */
19103 configure_input='Generated from '`
19104 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19105 `' by configure.'
19106 if test x"$ac_file" != x-; then
19107 configure_input="$ac_file. $configure_input"
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19109 $as_echo "$as_me: creating $ac_file" >&6;}
19111 # Neutralize special characters interpreted by sed in replacement strings.
19112 case $configure_input in #(
19113 *\&* | *\|* | *\\* )
19114 ac_sed_conf_input=`$as_echo "$configure_input" |
19115 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19116 *) ac_sed_conf_input=$configure_input;;
19117 esac
19119 case $ac_tag in
19120 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19122 esac
19124 esac
19126 ac_dir=`$as_dirname -- "$ac_file" ||
19127 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19128 X"$ac_file" : 'X\(//\)[^/]' \| \
19129 X"$ac_file" : 'X\(//\)$' \| \
19130 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19131 $as_echo X"$ac_file" |
19132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19133 s//\1/
19136 /^X\(\/\/\)[^/].*/{
19137 s//\1/
19140 /^X\(\/\/\)$/{
19141 s//\1/
19144 /^X\(\/\).*/{
19145 s//\1/
19148 s/.*/./; q'`
19149 as_dir="$ac_dir"; as_fn_mkdir_p
19150 ac_builddir=.
19152 case "$ac_dir" in
19153 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19155 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19156 # A ".." for each directory in $ac_dir_suffix.
19157 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19158 case $ac_top_builddir_sub in
19159 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19160 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19161 esac ;;
19162 esac
19163 ac_abs_top_builddir=$ac_pwd
19164 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19165 # for backward compatibility:
19166 ac_top_builddir=$ac_top_build_prefix
19168 case $srcdir in
19169 .) # We are building in place.
19170 ac_srcdir=.
19171 ac_top_srcdir=$ac_top_builddir_sub
19172 ac_abs_top_srcdir=$ac_pwd ;;
19173 [\\/]* | ?:[\\/]* ) # Absolute name.
19174 ac_srcdir=$srcdir$ac_dir_suffix;
19175 ac_top_srcdir=$srcdir
19176 ac_abs_top_srcdir=$srcdir ;;
19177 *) # Relative name.
19178 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19179 ac_top_srcdir=$ac_top_build_prefix$srcdir
19180 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19181 esac
19182 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19185 case $ac_mode in
19188 # CONFIG_FILE
19191 _ACEOF
19193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19194 # If the template does not know about datarootdir, expand it.
19195 # FIXME: This hack should be removed a few years after 2.60.
19196 ac_datarootdir_hack=; ac_datarootdir_seen=
19197 ac_sed_dataroot='
19198 /datarootdir/ {
19202 /@datadir@/p
19203 /@docdir@/p
19204 /@infodir@/p
19205 /@localedir@/p
19206 /@mandir@/p'
19207 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19208 *datarootdir*) ac_datarootdir_seen=yes;;
19209 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19211 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19212 _ACEOF
19213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19214 ac_datarootdir_hack='
19215 s&@datadir@&$datadir&g
19216 s&@docdir@&$docdir&g
19217 s&@infodir@&$infodir&g
19218 s&@localedir@&$localedir&g
19219 s&@mandir@&$mandir&g
19220 s&\\\${datarootdir}&$datarootdir&g' ;;
19221 esac
19222 _ACEOF
19224 # Neutralize VPATH when `$srcdir' = `.'.
19225 # Shell code in configure.ac might set extrasub.
19226 # FIXME: do we really want to maintain this feature?
19227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19228 ac_sed_extra="$ac_vpsub
19229 $extrasub
19230 _ACEOF
19231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19234 s|@configure_input@|$ac_sed_conf_input|;t t
19235 s&@top_builddir@&$ac_top_builddir_sub&;t t
19236 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19237 s&@srcdir@&$ac_srcdir&;t t
19238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19239 s&@top_srcdir@&$ac_top_srcdir&;t t
19240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19241 s&@builddir@&$ac_builddir&;t t
19242 s&@abs_builddir@&$ac_abs_builddir&;t t
19243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19244 $ac_datarootdir_hack
19246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19247 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19250 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19252 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19254 which seems to be undefined. Please make sure it is defined" >&5
19255 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19256 which seems to be undefined. Please make sure it is defined" >&2;}
19258 rm -f "$ac_tmp/stdin"
19259 case $ac_file in
19260 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19261 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19262 esac \
19263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19267 # CONFIG_HEADER
19269 if test x"$ac_file" != x-; then
19271 $as_echo "/* $configure_input */" \
19272 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19273 } >"$ac_tmp/config.h" \
19274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19275 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19277 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19278 else
19279 rm -f "$ac_file"
19280 mv "$ac_tmp/config.h" "$ac_file" \
19281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19283 else
19284 $as_echo "/* $configure_input */" \
19285 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19286 || as_fn_error $? "could not create -" "$LINENO" 5
19291 # CONFIG_LINK
19294 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19296 else
19297 # Prefer the file from the source tree if names are identical.
19298 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19299 ac_source=$srcdir/$ac_source
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19303 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19305 if test ! -r "$ac_source"; then
19306 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19308 rm -f "$ac_file"
19310 # Try a relative symlink, then a hard link, then a copy.
19311 case $ac_source in
19312 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19313 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19314 esac
19315 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19316 ln "$ac_source" "$ac_file" 2>/dev/null ||
19317 cp -p "$ac_source" "$ac_file" ||
19318 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19321 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19322 $as_echo "$as_me: executing $ac_file commands" >&6;}
19324 esac
19327 case $ac_file$ac_mode in
19328 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19329 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19330 "Makefile":C) wine_fn_output_makefile Makefile ;;
19331 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19333 esac
19334 done # for ac_tag
19337 as_fn_exit 0
19338 _ACEOF
19339 ac_clean_files=$ac_clean_files_save
19341 test $ac_write_fail = 0 ||
19342 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19345 # configure is writing to config.log, and then calls config.status.
19346 # config.status does its own redirection, appending to config.log.
19347 # Unfortunately, on DOS this fails, as config.log is still kept open
19348 # by configure, so config.status won't be able to write to it; its
19349 # output is simply discarded. So we exec the FD to /dev/null,
19350 # effectively closing config.log, so it can be properly (re)opened and
19351 # appended to by config.status. When coming back to configure, we
19352 # need to make the FD available again.
19353 if test "$no_create" != yes; then
19354 ac_cs_success=:
19355 ac_config_status_args=
19356 test "$silent" = yes &&
19357 ac_config_status_args="$ac_config_status_args --quiet"
19358 exec 5>/dev/null
19359 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19360 exec 5>>config.log
19361 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19362 # would make configure fail if this is the last instruction.
19363 $ac_cs_success || as_fn_exit 1
19365 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19367 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19371 if test "$no_create" = "yes"
19372 then
19373 exit 0
19376 ac_save_IFS="$IFS"
19377 if test "x$wine_notices != "x; then
19378 echo >&6
19379 IFS="|"
19380 for msg in $wine_notices; do
19381 IFS="$ac_save_IFS"
19382 if ${msg:+false} :; then :
19384 else
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19386 $as_echo "$as_me: $msg" >&6;}
19388 done
19390 IFS="|"
19391 for msg in $wine_warnings; do
19392 IFS="$ac_save_IFS"
19393 if ${msg:+false} :; then :
19395 else
19396 echo >&2
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19398 $as_echo "$as_me: WARNING: $msg" >&2;}
19400 done
19401 IFS="$ac_save_IFS"
19403 $as_echo "
19404 $as_me: Finished. Do '${ac_make}' to compile Wine.
19405 " >&6