hidclass.sys: Add hidclass.sys.
[wine.git] / configure
blobebaa38c80e4135b7a0bc853e6111069f313b4534
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.46.
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.46'
584 PACKAGE_STRING='Wine 1.7.46'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
934 enable_apphelp
935 enable_appwiz_cpl
936 enable_atl
937 enable_atl100
938 enable_atl110
939 enable_atl80
940 enable_atl90
941 enable_authz
942 enable_avicap32
943 enable_avifil32
944 enable_avrt
945 enable_bcrypt
946 enable_browseui
947 enable_cabinet
948 enable_capi2032
949 enable_cards
950 enable_cfgmgr32
951 enable_clusapi
952 enable_combase
953 enable_comcat
954 enable_comctl32
955 enable_comdlg32
956 enable_compstui
957 enable_comsvcs
958 enable_connect
959 enable_credui
960 enable_crtdll
961 enable_crypt32
962 enable_cryptdlg
963 enable_cryptdll
964 enable_cryptext
965 enable_cryptnet
966 enable_cryptui
967 enable_ctapi32
968 enable_ctl3d32
969 enable_d2d1
970 enable_d3d10
971 enable_d3d10_1
972 enable_d3d10core
973 enable_d3d11
974 enable_d3d8
975 enable_d3d9
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
987 enable_d3dcompiler_46
988 enable_d3dcompiler_47
989 enable_d3dim
990 enable_d3drm
991 enable_d3dx10_33
992 enable_d3dx10_34
993 enable_d3dx10_35
994 enable_d3dx10_36
995 enable_d3dx10_37
996 enable_d3dx10_38
997 enable_d3dx10_39
998 enable_d3dx10_40
999 enable_d3dx10_41
1000 enable_d3dx10_42
1001 enable_d3dx10_43
1002 enable_d3dx11_42
1003 enable_d3dx11_43
1004 enable_d3dx9_24
1005 enable_d3dx9_25
1006 enable_d3dx9_26
1007 enable_d3dx9_27
1008 enable_d3dx9_28
1009 enable_d3dx9_29
1010 enable_d3dx9_30
1011 enable_d3dx9_31
1012 enable_d3dx9_32
1013 enable_d3dx9_33
1014 enable_d3dx9_34
1015 enable_d3dx9_35
1016 enable_d3dx9_36
1017 enable_d3dx9_37
1018 enable_d3dx9_38
1019 enable_d3dx9_39
1020 enable_d3dx9_40
1021 enable_d3dx9_41
1022 enable_d3dx9_42
1023 enable_d3dx9_43
1024 enable_d3dxof
1025 enable_dbgeng
1026 enable_dbghelp
1027 enable_dciman32
1028 enable_ddraw
1029 enable_ddrawex
1030 enable_devenum
1031 enable_dhcpcsvc
1032 enable_difxapi
1033 enable_dinput
1034 enable_dinput8
1035 enable_dispex
1036 enable_dmband
1037 enable_dmcompos
1038 enable_dmime
1039 enable_dmloader
1040 enable_dmscript
1041 enable_dmstyle
1042 enable_dmsynth
1043 enable_dmusic
1044 enable_dmusic32
1045 enable_dnsapi
1046 enable_dplay
1047 enable_dplayx
1048 enable_dpnaddr
1049 enable_dpnet
1050 enable_dpnhpast
1051 enable_dpnlobby
1052 enable_dpvoice
1053 enable_dpwsockx
1054 enable_drmclien
1055 enable_dsound
1056 enable_dssenh
1057 enable_dswave
1058 enable_dwmapi
1059 enable_dwrite
1060 enable_dxdiagn
1061 enable_dxgi
1062 enable_dxva2
1063 enable_evr
1064 enable_explorerframe
1065 enable_ext_ms_win_gdi_devcaps_l1_1_0
1066 enable_faultrep
1067 enable_fltlib
1068 enable_fntcache
1069 enable_fontsub
1070 enable_fusion
1071 enable_fwpuclnt
1072 enable_gameux
1073 enable_gdi32
1074 enable_gdiplus
1075 enable_glu32
1076 enable_gphoto2_ds
1077 enable_gpkcsp
1078 enable_hal
1079 enable_hhctrl_ocx
1080 enable_hid
1081 enable_hidclass_sys
1082 enable_hlink
1083 enable_hnetcfg
1084 enable_httpapi
1085 enable_iccvid
1086 enable_icmp
1087 enable_ieframe
1088 enable_imaadp32_acm
1089 enable_imagehlp
1090 enable_imm32
1091 enable_inetcomm
1092 enable_inetcpl_cpl
1093 enable_inetmib1
1094 enable_infosoft
1095 enable_initpki
1096 enable_inkobj
1097 enable_inseng
1098 enable_iphlpapi
1099 enable_itircl
1100 enable_itss
1101 enable_joy_cpl
1102 enable_jscript
1103 enable_jsproxy
1104 enable_kernel32
1105 enable_ksuser
1106 enable_ktmw32
1107 enable_loadperf
1108 enable_localspl
1109 enable_localui
1110 enable_lz32
1111 enable_mapi32
1112 enable_mapistub
1113 enable_mciavi32
1114 enable_mcicda
1115 enable_mciqtz32
1116 enable_mciseq
1117 enable_mciwave
1118 enable_mf
1119 enable_mfplat
1120 enable_mfreadwrite
1121 enable_mgmtapi
1122 enable_midimap
1123 enable_mlang
1124 enable_mmcndmgr
1125 enable_mmdevapi
1126 enable_mountmgr_sys
1127 enable_mpr
1128 enable_mprapi
1129 enable_msacm32_drv
1130 enable_msacm32
1131 enable_msadp32_acm
1132 enable_msasn1
1133 enable_mscat32
1134 enable_mscms
1135 enable_mscoree
1136 enable_msctf
1137 enable_msctfp
1138 enable_msdaps
1139 enable_msdmo
1140 enable_msftedit
1141 enable_msg711_acm
1142 enable_msgsm32_acm
1143 enable_mshtml_tlb
1144 enable_mshtml
1145 enable_msi
1146 enable_msident
1147 enable_msimg32
1148 enable_msimsg
1149 enable_msimtf
1150 enable_msisip
1151 enable_msisys_ocx
1152 enable_msls31
1153 enable_msnet32
1154 enable_mspatcha
1155 enable_msrle32
1156 enable_msscript_ocx
1157 enable_mssign32
1158 enable_mssip32
1159 enable_mstask
1160 enable_msvcirt
1161 enable_msvcm80
1162 enable_msvcm90
1163 enable_msvcp100
1164 enable_msvcp110
1165 enable_msvcp120
1166 enable_msvcp120_app
1167 enable_msvcp60
1168 enable_msvcp70
1169 enable_msvcp71
1170 enable_msvcp80
1171 enable_msvcp90
1172 enable_msvcr100
1173 enable_msvcr110
1174 enable_msvcr120
1175 enable_msvcr120_app
1176 enable_msvcr70
1177 enable_msvcr71
1178 enable_msvcr80
1179 enable_msvcr90
1180 enable_msvcrt
1181 enable_msvcrt20
1182 enable_msvcrt40
1183 enable_msvcrtd
1184 enable_msvfw32
1185 enable_msvidc32
1186 enable_mswsock
1187 enable_msxml
1188 enable_msxml2
1189 enable_msxml3
1190 enable_msxml4
1191 enable_msxml6
1192 enable_nddeapi
1193 enable_ndis_sys
1194 enable_netapi32
1195 enable_netcfgx
1196 enable_netprofm
1197 enable_newdev
1198 enable_normaliz
1199 enable_npmshtml
1200 enable_npptools
1201 enable_ntdll
1202 enable_ntdsapi
1203 enable_ntoskrnl_exe
1204 enable_ntprint
1205 enable_objsel
1206 enable_odbc32
1207 enable_odbccp32
1208 enable_odbccu32
1209 enable_ole32
1210 enable_oleacc
1211 enable_oleaut32
1212 enable_olecli32
1213 enable_oledb32
1214 enable_oledlg
1215 enable_olepro32
1216 enable_olesvr32
1217 enable_olethk32
1218 enable_openal32
1219 enable_opencl
1220 enable_opengl32
1221 enable_packager
1222 enable_pdh
1223 enable_photometadatahandler
1224 enable_pidgen
1225 enable_powrprof
1226 enable_printui
1227 enable_prntvpt
1228 enable_propsys
1229 enable_psapi
1230 enable_pstorec
1231 enable_qcap
1232 enable_qedit
1233 enable_qmgr
1234 enable_qmgrprxy
1235 enable_quartz
1236 enable_query
1237 enable_rasapi32
1238 enable_rasdlg
1239 enable_regapi
1240 enable_resutils
1241 enable_riched20
1242 enable_riched32
1243 enable_rpcrt4
1244 enable_rsabase
1245 enable_rsaenh
1246 enable_rstrtmgr
1247 enable_rtutils
1248 enable_samlib
1249 enable_sane_ds
1250 enable_scarddlg
1251 enable_sccbase
1252 enable_schannel
1253 enable_schedsvc
1254 enable_scrrun
1255 enable_scsiport_sys
1256 enable_secur32
1257 enable_security
1258 enable_sensapi
1259 enable_serialui
1260 enable_setupapi
1261 enable_sfc
1262 enable_sfc_os
1263 enable_shdoclc
1264 enable_shdocvw
1265 enable_shell32
1266 enable_shfolder
1267 enable_shlwapi
1268 enable_slbcsp
1269 enable_slc
1270 enable_snmpapi
1271 enable_softpub
1272 enable_spoolss
1273 enable_stdole2_tlb
1274 enable_stdole32_tlb
1275 enable_sti
1276 enable_svrapi
1277 enable_sxs
1278 enable_t2embed
1279 enable_tapi32
1280 enable_taskschd
1281 enable_traffic
1282 enable_twain_32
1283 enable_unicows
1284 enable_updspapi
1285 enable_url
1286 enable_urlmon
1287 enable_usbd_sys
1288 enable_user32
1289 enable_userenv
1290 enable_usp10
1291 enable_uxtheme
1292 enable_vbscript
1293 enable_vcomp
1294 enable_vcomp100
1295 enable_vcomp90
1296 enable_vdmdbg
1297 enable_version
1298 enable_vssapi
1299 enable_wbemdisp
1300 enable_wbemprox
1301 enable_webservices
1302 enable_wer
1303 enable_wevtapi
1304 enable_wiaservc
1305 enable_windowscodecs
1306 enable_windowscodecsext
1307 enable_winealsa_drv
1308 enable_winecoreaudio_drv
1309 enable_wined3d
1310 enable_winegstreamer
1311 enable_winejoystick_drv
1312 enable_winemac_drv
1313 enable_winemapi
1314 enable_winemp3_acm
1315 enable_wineoss_drv
1316 enable_wineps_drv
1317 enable_wineqtdecoder
1318 enable_winex11_drv
1319 enable_wing32
1320 enable_winhttp
1321 enable_wininet
1322 enable_winmm
1323 enable_winnls32
1324 enable_winscard
1325 enable_winspool_drv
1326 enable_winsta
1327 enable_wintab32
1328 enable_wintrust
1329 enable_wlanapi
1330 enable_wldap32
1331 enable_wmi
1332 enable_wmiutils
1333 enable_wmp
1334 enable_wmvcore
1335 enable_wnaspi32
1336 enable_wpcap
1337 enable_ws2_32
1338 enable_wshom_ocx
1339 enable_wsnmp32
1340 enable_wsock32
1341 enable_wtsapi32
1342 enable_wuapi
1343 enable_wuaueng
1344 enable_x3daudio1_1
1345 enable_x3daudio1_2
1346 enable_x3daudio1_3
1347 enable_x3daudio1_4
1348 enable_x3daudio1_5
1349 enable_x3daudio1_6
1350 enable_x3daudio1_7
1351 enable_xapofx1_1
1352 enable_xapofx1_3
1353 enable_xapofx1_4
1354 enable_xapofx1_5
1355 enable_xaudio2_7
1356 enable_xinput1_1
1357 enable_xinput1_2
1358 enable_xinput1_3
1359 enable_xinput1_4
1360 enable_xinput9_1_0
1361 enable_xmllite
1362 enable_xolehlp
1363 enable_xpsprint
1364 enable_xpssvcs
1365 enable_documentation
1366 enable_fonts
1367 enable_include
1368 enable_libs_port
1369 enable_libs_wine
1370 enable_libs_wpp
1371 enable_loader
1372 enable_arp
1373 enable_aspnet_regiis
1374 enable_attrib
1375 enable_cabarc
1376 enable_cacls
1377 enable_clock
1378 enable_cmd
1379 enable_conhost
1380 enable_control
1381 enable_cscript
1382 enable_dpnsvr
1383 enable_dxdiag
1384 enable_eject
1385 enable_expand
1386 enable_explorer
1387 enable_extrac32
1388 enable_findstr
1389 enable_hh
1390 enable_hostname
1391 enable_icinfo
1392 enable_iexplore
1393 enable_ipconfig
1394 enable_lodctr
1395 enable_mofcomp
1396 enable_mshta
1397 enable_msiexec
1398 enable_net
1399 enable_netsh
1400 enable_netstat
1401 enable_ngen
1402 enable_notepad
1403 enable_oleview
1404 enable_ping
1405 enable_plugplay
1406 enable_presentationfontcache
1407 enable_progman
1408 enable_reg
1409 enable_regasm
1410 enable_regedit
1411 enable_regsvcs
1412 enable_regsvr32
1413 enable_rpcss
1414 enable_rundll32
1415 enable_sc
1416 enable_schtasks
1417 enable_sdbinst
1418 enable_secedit
1419 enable_servicemodelreg
1420 enable_services
1421 enable_spoolsv
1422 enable_start
1423 enable_svchost
1424 enable_systeminfo
1425 enable_taskkill
1426 enable_tasklist
1427 enable_taskmgr
1428 enable_termsv
1429 enable_uninstaller
1430 enable_unlodctr
1431 enable_view
1432 enable_wevtutil
1433 enable_wineboot
1434 enable_winebrowser
1435 enable_winecfg
1436 enable_wineconsole
1437 enable_winedbg
1438 enable_winedevice
1439 enable_winefile
1440 enable_winemenubuilder
1441 enable_winemine
1442 enable_winemsibuilder
1443 enable_winepath
1444 enable_winetest
1445 enable_winhlp32
1446 enable_winver
1447 enable_wmic
1448 enable_wordpad
1449 enable_write
1450 enable_wscript
1451 enable_wusa
1452 enable_xcopy
1453 enable_server
1454 enable_tools
1456 ac_precious_vars='build_alias
1457 host_alias
1458 target_alias
1460 CFLAGS
1461 LDFLAGS
1462 LIBS
1463 CPPFLAGS
1465 CXXFLAGS
1468 XMKMF
1469 XML2_CFLAGS
1470 XML2_LIBS
1471 XSLT_CFLAGS
1472 XSLT_LIBS
1473 DBUS_CFLAGS
1474 DBUS_LIBS
1475 HAL_CFLAGS
1476 HAL_LIBS
1477 GNUTLS_CFLAGS
1478 GNUTLS_LIBS
1479 SANE_CFLAGS
1480 SANE_LIBS
1481 GPHOTO2_CFLAGS
1482 GPHOTO2_LIBS
1483 GPHOTO2_PORT_CFLAGS
1484 GPHOTO2_PORT_LIBS
1485 LCMS2_CFLAGS
1486 LCMS2_LIBS
1487 FREETYPE_CFLAGS
1488 FREETYPE_LIBS
1489 GSTREAMER_CFLAGS
1490 GSTREAMER_LIBS
1491 CAPI20_CFLAGS
1492 CAPI20_LIBS
1493 FONTCONFIG_CFLAGS
1494 FONTCONFIG_LIBS
1495 JPEG_CFLAGS
1496 JPEG_LIBS
1497 PNG_CFLAGS
1498 PNG_LIBS
1499 TIFF_CFLAGS
1500 TIFF_LIBS
1501 MPG123_CFLAGS
1502 MPG123_LIBS'
1505 # Initialize some variables set by options.
1506 ac_init_help=
1507 ac_init_version=false
1508 ac_unrecognized_opts=
1509 ac_unrecognized_sep=
1510 # The variables have the same names as the options, with
1511 # dashes changed to underlines.
1512 cache_file=/dev/null
1513 exec_prefix=NONE
1514 no_create=
1515 no_recursion=
1516 prefix=NONE
1517 program_prefix=NONE
1518 program_suffix=NONE
1519 program_transform_name=s,x,x,
1520 silent=
1521 site=
1522 srcdir=
1523 verbose=
1524 x_includes=NONE
1525 x_libraries=NONE
1527 # Installation directory options.
1528 # These are left unexpanded so users can "make install exec_prefix=/foo"
1529 # and all the variables that are supposed to be based on exec_prefix
1530 # by default will actually change.
1531 # Use braces instead of parens because sh, perl, etc. also accept them.
1532 # (The list follows the same order as the GNU Coding Standards.)
1533 bindir='${exec_prefix}/bin'
1534 sbindir='${exec_prefix}/sbin'
1535 libexecdir='${exec_prefix}/libexec'
1536 datarootdir='${prefix}/share'
1537 datadir='${datarootdir}'
1538 sysconfdir='${prefix}/etc'
1539 sharedstatedir='${prefix}/com'
1540 localstatedir='${prefix}/var'
1541 includedir='${prefix}/include'
1542 oldincludedir='/usr/include'
1543 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1544 infodir='${datarootdir}/info'
1545 htmldir='${docdir}'
1546 dvidir='${docdir}'
1547 pdfdir='${docdir}'
1548 psdir='${docdir}'
1549 libdir='${exec_prefix}/lib'
1550 localedir='${datarootdir}/locale'
1551 mandir='${datarootdir}/man'
1553 ac_prev=
1554 ac_dashdash=
1555 for ac_option
1557 # If the previous option needs an argument, assign it.
1558 if test -n "$ac_prev"; then
1559 eval $ac_prev=\$ac_option
1560 ac_prev=
1561 continue
1564 case $ac_option in
1565 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1566 *=) ac_optarg= ;;
1567 *) ac_optarg=yes ;;
1568 esac
1570 # Accept the important Cygnus configure options, so we can diagnose typos.
1572 case $ac_dashdash$ac_option in
1574 ac_dashdash=yes ;;
1576 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1577 ac_prev=bindir ;;
1578 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1579 bindir=$ac_optarg ;;
1581 -build | --build | --buil | --bui | --bu)
1582 ac_prev=build_alias ;;
1583 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1584 build_alias=$ac_optarg ;;
1586 -cache-file | --cache-file | --cache-fil | --cache-fi \
1587 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1588 ac_prev=cache_file ;;
1589 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1590 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1591 cache_file=$ac_optarg ;;
1593 --config-cache | -C)
1594 cache_file=config.cache ;;
1596 -datadir | --datadir | --datadi | --datad)
1597 ac_prev=datadir ;;
1598 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1599 datadir=$ac_optarg ;;
1601 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1602 | --dataroo | --dataro | --datar)
1603 ac_prev=datarootdir ;;
1604 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1605 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1606 datarootdir=$ac_optarg ;;
1608 -disable-* | --disable-*)
1609 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1610 # Reject names that are not valid shell variable names.
1611 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1612 as_fn_error $? "invalid feature name: $ac_useropt"
1613 ac_useropt_orig=$ac_useropt
1614 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1615 case $ac_user_opts in
1617 "enable_$ac_useropt"
1618 "*) ;;
1619 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1620 ac_unrecognized_sep=', ';;
1621 esac
1622 eval enable_$ac_useropt=no ;;
1624 -docdir | --docdir | --docdi | --doc | --do)
1625 ac_prev=docdir ;;
1626 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1627 docdir=$ac_optarg ;;
1629 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1630 ac_prev=dvidir ;;
1631 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1632 dvidir=$ac_optarg ;;
1634 -enable-* | --enable-*)
1635 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1636 # Reject names that are not valid shell variable names.
1637 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1638 as_fn_error $? "invalid feature name: $ac_useropt"
1639 ac_useropt_orig=$ac_useropt
1640 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1641 case $ac_user_opts in
1643 "enable_$ac_useropt"
1644 "*) ;;
1645 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1646 ac_unrecognized_sep=', ';;
1647 esac
1648 eval enable_$ac_useropt=\$ac_optarg ;;
1650 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1651 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1652 | --exec | --exe | --ex)
1653 ac_prev=exec_prefix ;;
1654 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1655 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1656 | --exec=* | --exe=* | --ex=*)
1657 exec_prefix=$ac_optarg ;;
1659 -gas | --gas | --ga | --g)
1660 # Obsolete; use --with-gas.
1661 with_gas=yes ;;
1663 -help | --help | --hel | --he | -h)
1664 ac_init_help=long ;;
1665 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1666 ac_init_help=recursive ;;
1667 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1668 ac_init_help=short ;;
1670 -host | --host | --hos | --ho)
1671 ac_prev=host_alias ;;
1672 -host=* | --host=* | --hos=* | --ho=*)
1673 host_alias=$ac_optarg ;;
1675 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1676 ac_prev=htmldir ;;
1677 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1678 | --ht=*)
1679 htmldir=$ac_optarg ;;
1681 -includedir | --includedir | --includedi | --included | --include \
1682 | --includ | --inclu | --incl | --inc)
1683 ac_prev=includedir ;;
1684 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1685 | --includ=* | --inclu=* | --incl=* | --inc=*)
1686 includedir=$ac_optarg ;;
1688 -infodir | --infodir | --infodi | --infod | --info | --inf)
1689 ac_prev=infodir ;;
1690 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1691 infodir=$ac_optarg ;;
1693 -libdir | --libdir | --libdi | --libd)
1694 ac_prev=libdir ;;
1695 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1696 libdir=$ac_optarg ;;
1698 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1699 | --libexe | --libex | --libe)
1700 ac_prev=libexecdir ;;
1701 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1702 | --libexe=* | --libex=* | --libe=*)
1703 libexecdir=$ac_optarg ;;
1705 -localedir | --localedir | --localedi | --localed | --locale)
1706 ac_prev=localedir ;;
1707 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1708 localedir=$ac_optarg ;;
1710 -localstatedir | --localstatedir | --localstatedi | --localstated \
1711 | --localstate | --localstat | --localsta | --localst | --locals)
1712 ac_prev=localstatedir ;;
1713 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1714 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1715 localstatedir=$ac_optarg ;;
1717 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1718 ac_prev=mandir ;;
1719 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1720 mandir=$ac_optarg ;;
1722 -nfp | --nfp | --nf)
1723 # Obsolete; use --without-fp.
1724 with_fp=no ;;
1726 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1727 | --no-cr | --no-c | -n)
1728 no_create=yes ;;
1730 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1731 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1732 no_recursion=yes ;;
1734 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1735 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1736 | --oldin | --oldi | --old | --ol | --o)
1737 ac_prev=oldincludedir ;;
1738 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1739 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1740 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1741 oldincludedir=$ac_optarg ;;
1743 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1744 ac_prev=prefix ;;
1745 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1746 prefix=$ac_optarg ;;
1748 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1749 | --program-pre | --program-pr | --program-p)
1750 ac_prev=program_prefix ;;
1751 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1752 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1753 program_prefix=$ac_optarg ;;
1755 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1756 | --program-suf | --program-su | --program-s)
1757 ac_prev=program_suffix ;;
1758 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1759 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1760 program_suffix=$ac_optarg ;;
1762 -program-transform-name | --program-transform-name \
1763 | --program-transform-nam | --program-transform-na \
1764 | --program-transform-n | --program-transform- \
1765 | --program-transform | --program-transfor \
1766 | --program-transfo | --program-transf \
1767 | --program-trans | --program-tran \
1768 | --progr-tra | --program-tr | --program-t)
1769 ac_prev=program_transform_name ;;
1770 -program-transform-name=* | --program-transform-name=* \
1771 | --program-transform-nam=* | --program-transform-na=* \
1772 | --program-transform-n=* | --program-transform-=* \
1773 | --program-transform=* | --program-transfor=* \
1774 | --program-transfo=* | --program-transf=* \
1775 | --program-trans=* | --program-tran=* \
1776 | --progr-tra=* | --program-tr=* | --program-t=*)
1777 program_transform_name=$ac_optarg ;;
1779 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1780 ac_prev=pdfdir ;;
1781 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1782 pdfdir=$ac_optarg ;;
1784 -psdir | --psdir | --psdi | --psd | --ps)
1785 ac_prev=psdir ;;
1786 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1787 psdir=$ac_optarg ;;
1789 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1790 | -silent | --silent | --silen | --sile | --sil)
1791 silent=yes ;;
1793 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1794 ac_prev=sbindir ;;
1795 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1796 | --sbi=* | --sb=*)
1797 sbindir=$ac_optarg ;;
1799 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1800 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1801 | --sharedst | --shareds | --shared | --share | --shar \
1802 | --sha | --sh)
1803 ac_prev=sharedstatedir ;;
1804 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1805 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1806 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1807 | --sha=* | --sh=*)
1808 sharedstatedir=$ac_optarg ;;
1810 -site | --site | --sit)
1811 ac_prev=site ;;
1812 -site=* | --site=* | --sit=*)
1813 site=$ac_optarg ;;
1815 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1816 ac_prev=srcdir ;;
1817 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1818 srcdir=$ac_optarg ;;
1820 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1821 | --syscon | --sysco | --sysc | --sys | --sy)
1822 ac_prev=sysconfdir ;;
1823 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1824 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1825 sysconfdir=$ac_optarg ;;
1827 -target | --target | --targe | --targ | --tar | --ta | --t)
1828 ac_prev=target_alias ;;
1829 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1830 target_alias=$ac_optarg ;;
1832 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1833 verbose=yes ;;
1835 -version | --version | --versio | --versi | --vers | -V)
1836 ac_init_version=: ;;
1838 -with-* | --with-*)
1839 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1840 # Reject names that are not valid shell variable names.
1841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1842 as_fn_error $? "invalid package name: $ac_useropt"
1843 ac_useropt_orig=$ac_useropt
1844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1845 case $ac_user_opts in
1847 "with_$ac_useropt"
1848 "*) ;;
1849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1850 ac_unrecognized_sep=', ';;
1851 esac
1852 eval with_$ac_useropt=\$ac_optarg ;;
1854 -without-* | --without-*)
1855 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1856 # Reject names that are not valid shell variable names.
1857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1858 as_fn_error $? "invalid package name: $ac_useropt"
1859 ac_useropt_orig=$ac_useropt
1860 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1861 case $ac_user_opts in
1863 "with_$ac_useropt"
1864 "*) ;;
1865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1866 ac_unrecognized_sep=', ';;
1867 esac
1868 eval with_$ac_useropt=no ;;
1870 --x)
1871 # Obsolete; use --with-x.
1872 with_x=yes ;;
1874 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1875 | --x-incl | --x-inc | --x-in | --x-i)
1876 ac_prev=x_includes ;;
1877 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1878 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1879 x_includes=$ac_optarg ;;
1881 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1882 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1883 ac_prev=x_libraries ;;
1884 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1885 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1886 x_libraries=$ac_optarg ;;
1888 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1889 Try \`$0 --help' for more information"
1892 *=*)
1893 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1894 # Reject names that are not valid shell variable names.
1895 case $ac_envvar in #(
1896 '' | [0-9]* | *[!_$as_cr_alnum]* )
1897 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1898 esac
1899 eval $ac_envvar=\$ac_optarg
1900 export $ac_envvar ;;
1903 # FIXME: should be removed in autoconf 3.0.
1904 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1905 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1906 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1907 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1910 esac
1911 done
1913 if test -n "$ac_prev"; then
1914 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1915 as_fn_error $? "missing argument to $ac_option"
1918 if test -n "$ac_unrecognized_opts"; then
1919 case $enable_option_checking in
1920 no) ;;
1921 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1922 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1923 esac
1926 # Check all directory arguments for consistency.
1927 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1928 datadir sysconfdir sharedstatedir localstatedir includedir \
1929 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1930 libdir localedir mandir
1932 eval ac_val=\$$ac_var
1933 # Remove trailing slashes.
1934 case $ac_val in
1935 */ )
1936 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1937 eval $ac_var=\$ac_val;;
1938 esac
1939 # Be sure to have absolute directory names.
1940 case $ac_val in
1941 [\\/$]* | ?:[\\/]* ) continue;;
1942 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1943 esac
1944 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1945 done
1947 # There might be people who depend on the old broken behavior: `$host'
1948 # used to hold the argument of --host etc.
1949 # FIXME: To remove some day.
1950 build=$build_alias
1951 host=$host_alias
1952 target=$target_alias
1954 # FIXME: To remove some day.
1955 if test "x$host_alias" != x; then
1956 if test "x$build_alias" = x; then
1957 cross_compiling=maybe
1958 elif test "x$build_alias" != "x$host_alias"; then
1959 cross_compiling=yes
1963 ac_tool_prefix=
1964 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1966 test "$silent" = yes && exec 6>/dev/null
1969 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1970 ac_ls_di=`ls -di .` &&
1971 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1972 as_fn_error $? "working directory cannot be determined"
1973 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1974 as_fn_error $? "pwd does not report name of working directory"
1977 # Find the source files, if location was not specified.
1978 if test -z "$srcdir"; then
1979 ac_srcdir_defaulted=yes
1980 # Try the directory containing this script, then the parent directory.
1981 ac_confdir=`$as_dirname -- "$as_myself" ||
1982 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1983 X"$as_myself" : 'X\(//\)[^/]' \| \
1984 X"$as_myself" : 'X\(//\)$' \| \
1985 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1986 $as_echo X"$as_myself" |
1987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1988 s//\1/
1991 /^X\(\/\/\)[^/].*/{
1992 s//\1/
1995 /^X\(\/\/\)$/{
1996 s//\1/
1999 /^X\(\/\).*/{
2000 s//\1/
2003 s/.*/./; q'`
2004 srcdir=$ac_confdir
2005 if test ! -r "$srcdir/$ac_unique_file"; then
2006 srcdir=..
2008 else
2009 ac_srcdir_defaulted=no
2011 if test ! -r "$srcdir/$ac_unique_file"; then
2012 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2013 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2015 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2016 ac_abs_confdir=`(
2017 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2018 pwd)`
2019 # When building in place, set srcdir=.
2020 if test "$ac_abs_confdir" = "$ac_pwd"; then
2021 srcdir=.
2023 # Remove unnecessary trailing slashes from srcdir.
2024 # Double slashes in file names in object file debugging info
2025 # mess up M-x gdb in Emacs.
2026 case $srcdir in
2027 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2028 esac
2029 for ac_var in $ac_precious_vars; do
2030 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2031 eval ac_env_${ac_var}_value=\$${ac_var}
2032 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2033 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2034 done
2037 # Report the --help message.
2039 if test "$ac_init_help" = "long"; then
2040 # Omit some internal or obsolete options to make the list less imposing.
2041 # This message is too long to be a string in the A/UX 3.1 sh.
2042 cat <<_ACEOF
2043 \`configure' configures Wine 1.7.46 to adapt to many kinds of systems.
2045 Usage: $0 [OPTION]... [VAR=VALUE]...
2047 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2048 VAR=VALUE. See below for descriptions of some of the useful variables.
2050 Defaults for the options are specified in brackets.
2052 Configuration:
2053 -h, --help display this help and exit
2054 --help=short display options specific to this package
2055 --help=recursive display the short help of all the included packages
2056 -V, --version display version information and exit
2057 -q, --quiet, --silent do not print \`checking ...' messages
2058 --cache-file=FILE cache test results in FILE [disabled]
2059 -C, --config-cache alias for \`--cache-file=config.cache'
2060 -n, --no-create do not create output files
2061 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2063 Installation directories:
2064 --prefix=PREFIX install architecture-independent files in PREFIX
2065 [$ac_default_prefix]
2066 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2067 [PREFIX]
2069 By default, \`make install' will install all the files in
2070 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2071 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2072 for instance \`--prefix=\$HOME'.
2074 For better control, use the options below.
2076 Fine tuning of the installation directories:
2077 --bindir=DIR user executables [EPREFIX/bin]
2078 --sbindir=DIR system admin executables [EPREFIX/sbin]
2079 --libexecdir=DIR program executables [EPREFIX/libexec]
2080 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2081 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2082 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2083 --libdir=DIR object code libraries [EPREFIX/lib]
2084 --includedir=DIR C header files [PREFIX/include]
2085 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2086 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2087 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2088 --infodir=DIR info documentation [DATAROOTDIR/info]
2089 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2090 --mandir=DIR man documentation [DATAROOTDIR/man]
2091 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2092 --htmldir=DIR html documentation [DOCDIR]
2093 --dvidir=DIR dvi documentation [DOCDIR]
2094 --pdfdir=DIR pdf documentation [DOCDIR]
2095 --psdir=DIR ps documentation [DOCDIR]
2096 _ACEOF
2098 cat <<\_ACEOF
2100 X features:
2101 --x-includes=DIR X include files are in DIR
2102 --x-libraries=DIR X library files are in DIR
2104 System types:
2105 --build=BUILD configure for building on BUILD [guessed]
2106 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2107 _ACEOF
2110 if test -n "$ac_init_help"; then
2111 case $ac_init_help in
2112 short | recursive ) echo "Configuration of Wine 1.7.46:";;
2113 esac
2114 cat <<\_ACEOF
2116 Optional Features:
2117 --disable-option-checking ignore unrecognized --enable/--with options
2118 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2119 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2120 --disable-win16 do not include Win16 support
2121 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2122 binaries)
2123 --disable-tests do not build the regression tests
2124 --enable-maintainer-mode
2125 enable maintainer-specific build rules
2126 --disable-largefile omit support for large files
2128 Optional Packages:
2129 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2130 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2131 --without-alsa do not use the Alsa sound support
2132 --without-capi do not use CAPI (ISDN support)
2133 --without-cms do not use CMS (color management support)
2134 --without-coreaudio do not use the CoreAudio sound support
2135 --without-cups do not use CUPS
2136 --without-curses do not use (n)curses
2137 --without-dbus do not use DBus (dynamic device support)
2138 --without-fontconfig do not use fontconfig
2139 --without-freetype do not use the FreeType library
2140 --without-gettext do not use gettext
2141 --with-gettextpo use the GetTextPO library to rebuild po files
2142 --without-gphoto do not use gphoto (Digital Camera support)
2143 --without-glu do not use the GLU library
2144 --without-gnutls do not use GnuTLS (schannel support)
2145 --without-gsm do not use libgsm (GSM 06.10 codec support)
2146 --without-gstreamer do not use GStreamer (codecs support)
2147 --without-hal do not use HAL (dynamic device support)
2148 --without-jpeg do not use JPEG
2149 --without-ldap do not use LDAP
2150 --without-mpg123 do not use the mpg123 library
2151 --without-netapi do not use the Samba NetAPI library
2152 --without-openal do not use OpenAL
2153 --without-opencl do not use OpenCL
2154 --without-opengl do not use OpenGL
2155 --without-osmesa do not use the OSMesa library
2156 --without-oss do not use the OSS sound support
2157 --without-pcap do not use the Packet Capture library
2158 --without-png do not use PNG
2159 --without-pthread do not use the pthread library
2160 --without-sane do not use SANE (scanner support)
2161 --without-tiff do not use TIFF
2162 --without-v4l do not use v4l1 (v4l support)
2163 --without-xcomposite do not use the Xcomposite extension
2164 --without-xcursor do not use the Xcursor extension
2165 --without-xinerama do not use Xinerama (multi-monitor support)
2166 --without-xinput do not use the Xinput extension
2167 --without-xinput2 do not use the Xinput 2 extension
2168 --without-xml do not use XML
2169 --without-xrandr do not use Xrandr (resolution changes)
2170 --without-xrender do not use the Xrender extension
2171 --without-xshape do not use the Xshape extension
2172 --without-xshm do not use XShm (shared memory extension)
2173 --without-xslt do not use XSLT
2174 --without-xxf86vm do not use XFree video mode extension
2175 --without-zlib do not use Zlib (data compression)
2176 --with-wine-tools=DIR use Wine tools from directory DIR
2177 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2178 --with-x use the X Window System
2180 Some influential environment variables:
2181 CC C compiler command
2182 CFLAGS C compiler flags
2183 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2184 nonstandard directory <lib dir>
2185 LIBS libraries to pass to the linker, e.g. -l<library>
2186 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2187 you have headers in a nonstandard directory <include dir>
2188 CXX C++ compiler command
2189 CXXFLAGS C++ compiler flags
2190 CPP C preprocessor
2191 XMKMF Path to xmkmf, Makefile generator for X Window System
2192 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2193 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2194 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2195 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2196 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2197 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2198 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2199 HAL_LIBS Linker flags for hal, overriding pkg-config
2200 GNUTLS_CFLAGS
2201 C compiler flags for gnutls, overriding pkg-config
2202 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2203 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2204 SANE_LIBS Linker flags for libsane, overriding pkg-config
2205 GPHOTO2_CFLAGS
2206 C compiler flags for libgphoto2, overriding pkg-config
2207 GPHOTO2_LIBS
2208 Linker flags for libgphoto2, overriding pkg-config
2209 GPHOTO2_PORT_CFLAGS
2210 C compiler flags for libgphoto2_port, overriding pkg-config
2211 GPHOTO2_PORT_LIBS
2212 Linker flags for libgphoto2_port, overriding pkg-config
2213 LCMS2_CFLAGS
2214 C compiler flags for lcms2, overriding pkg-config
2215 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2216 FREETYPE_CFLAGS
2217 C compiler flags for freetype2, overriding pkg-config
2218 FREETYPE_LIBS
2219 Linker flags for freetype2, overriding pkg-config
2220 GSTREAMER_CFLAGS
2221 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2222 GSTREAMER_LIBS
2223 Linker flags for gstreamer-app-0.10, overriding pkg-config
2224 CAPI20_CFLAGS
2225 C compiler flags for capi20, overriding pkg-config
2226 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2227 FONTCONFIG_CFLAGS
2228 C compiler flags for fontconfig, overriding pkg-config
2229 FONTCONFIG_LIBS
2230 Linker flags for fontconfig, overriding pkg-config
2231 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2232 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2233 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2234 PNG_LIBS Linker flags for libpng, overriding pkg-config
2235 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2236 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2237 MPG123_CFLAGS
2238 C compiler flags for libmpg123, overriding pkg-config
2239 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2241 Use these variables to override the choices made by `configure' or to help
2242 it to find libraries and programs with nonstandard names/locations.
2244 Report bugs to <wine-devel@winehq.org>.
2245 Wine home page: <http://www.winehq.org>.
2246 _ACEOF
2247 ac_status=$?
2250 if test "$ac_init_help" = "recursive"; then
2251 # If there are subdirs, report their specific --help.
2252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2253 test -d "$ac_dir" ||
2254 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2255 continue
2256 ac_builddir=.
2258 case "$ac_dir" in
2259 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2261 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2262 # A ".." for each directory in $ac_dir_suffix.
2263 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2264 case $ac_top_builddir_sub in
2265 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2266 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2267 esac ;;
2268 esac
2269 ac_abs_top_builddir=$ac_pwd
2270 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2271 # for backward compatibility:
2272 ac_top_builddir=$ac_top_build_prefix
2274 case $srcdir in
2275 .) # We are building in place.
2276 ac_srcdir=.
2277 ac_top_srcdir=$ac_top_builddir_sub
2278 ac_abs_top_srcdir=$ac_pwd ;;
2279 [\\/]* | ?:[\\/]* ) # Absolute name.
2280 ac_srcdir=$srcdir$ac_dir_suffix;
2281 ac_top_srcdir=$srcdir
2282 ac_abs_top_srcdir=$srcdir ;;
2283 *) # Relative name.
2284 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2285 ac_top_srcdir=$ac_top_build_prefix$srcdir
2286 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2287 esac
2288 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2290 cd "$ac_dir" || { ac_status=$?; continue; }
2291 # Check for guested configure.
2292 if test -f "$ac_srcdir/configure.gnu"; then
2293 echo &&
2294 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2295 elif test -f "$ac_srcdir/configure"; then
2296 echo &&
2297 $SHELL "$ac_srcdir/configure" --help=recursive
2298 else
2299 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2300 fi || ac_status=$?
2301 cd "$ac_pwd" || { ac_status=$?; break; }
2302 done
2305 test -n "$ac_init_help" && exit $ac_status
2306 if $ac_init_version; then
2307 cat <<\_ACEOF
2308 Wine configure 1.7.46
2309 generated by GNU Autoconf 2.69
2311 Copyright (C) 2012 Free Software Foundation, Inc.
2312 This configure script is free software; the Free Software Foundation
2313 gives unlimited permission to copy, distribute and modify it.
2314 _ACEOF
2315 exit
2318 ## ------------------------ ##
2319 ## Autoconf initialization. ##
2320 ## ------------------------ ##
2322 # ac_fn_c_try_compile LINENO
2323 # --------------------------
2324 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2325 ac_fn_c_try_compile ()
2327 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 rm -f conftest.$ac_objext
2329 if { { ac_try="$ac_compile"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2335 $as_echo "$ac_try_echo"; } >&5
2336 (eval "$ac_compile") 2>conftest.err
2337 ac_status=$?
2338 if test -s conftest.err; then
2339 grep -v '^ *+' conftest.err >conftest.er1
2340 cat conftest.er1 >&5
2341 mv -f conftest.er1 conftest.err
2343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2344 test $ac_status = 0; } && {
2345 test -z "$ac_c_werror_flag" ||
2346 test ! -s conftest.err
2347 } && test -s conftest.$ac_objext; then :
2348 ac_retval=0
2349 else
2350 $as_echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.$ac_ext >&5
2353 ac_retval=1
2355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2356 as_fn_set_status $ac_retval
2358 } # ac_fn_c_try_compile
2360 # ac_fn_cxx_try_compile LINENO
2361 # ----------------------------
2362 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2363 ac_fn_cxx_try_compile ()
2365 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2366 rm -f conftest.$ac_objext
2367 if { { ac_try="$ac_compile"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_compile") 2>conftest.err
2375 ac_status=$?
2376 if test -s conftest.err; then
2377 grep -v '^ *+' conftest.err >conftest.er1
2378 cat conftest.er1 >&5
2379 mv -f conftest.er1 conftest.err
2381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382 test $ac_status = 0; } && {
2383 test -z "$ac_cxx_werror_flag" ||
2384 test ! -s conftest.err
2385 } && test -s conftest.$ac_objext; then :
2386 ac_retval=0
2387 else
2388 $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2391 ac_retval=1
2393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2394 as_fn_set_status $ac_retval
2396 } # ac_fn_cxx_try_compile
2398 # ac_fn_c_try_link LINENO
2399 # -----------------------
2400 # Try to link conftest.$ac_ext, and return whether this succeeded.
2401 ac_fn_c_try_link ()
2403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2404 rm -f conftest.$ac_objext conftest$ac_exeext
2405 if { { ac_try="$ac_link"
2406 case "(($ac_try" in
2407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2408 *) ac_try_echo=$ac_try;;
2409 esac
2410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2411 $as_echo "$ac_try_echo"; } >&5
2412 (eval "$ac_link") 2>conftest.err
2413 ac_status=$?
2414 if test -s conftest.err; then
2415 grep -v '^ *+' conftest.err >conftest.er1
2416 cat conftest.er1 >&5
2417 mv -f conftest.er1 conftest.err
2419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2420 test $ac_status = 0; } && {
2421 test -z "$ac_c_werror_flag" ||
2422 test ! -s conftest.err
2423 } && test -s conftest$ac_exeext && {
2424 test "$cross_compiling" = yes ||
2425 test -x conftest$ac_exeext
2426 }; then :
2427 ac_retval=0
2428 else
2429 $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 ac_retval=1
2434 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2435 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2436 # interfere with the next link command; also delete a directory that is
2437 # left behind by Apple's compiler. We do this before executing the actions.
2438 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 as_fn_set_status $ac_retval
2442 } # ac_fn_c_try_link
2444 # ac_fn_c_try_cpp LINENO
2445 # ----------------------
2446 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2447 ac_fn_c_try_cpp ()
2449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2450 if { { ac_try="$ac_cpp conftest.$ac_ext"
2451 case "(($ac_try" in
2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2453 *) ac_try_echo=$ac_try;;
2454 esac
2455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2456 $as_echo "$ac_try_echo"; } >&5
2457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2458 ac_status=$?
2459 if test -s conftest.err; then
2460 grep -v '^ *+' conftest.err >conftest.er1
2461 cat conftest.er1 >&5
2462 mv -f conftest.er1 conftest.err
2464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2465 test $ac_status = 0; } > conftest.i && {
2466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2467 test ! -s conftest.err
2468 }; then :
2469 ac_retval=0
2470 else
2471 $as_echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2474 ac_retval=1
2476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2477 as_fn_set_status $ac_retval
2479 } # ac_fn_c_try_cpp
2481 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2482 # -------------------------------------------------------
2483 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2484 # the include files in INCLUDES and setting the cache variable VAR
2485 # accordingly.
2486 ac_fn_c_check_header_mongrel ()
2488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2489 if eval \${$3+:} false; then :
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2491 $as_echo_n "checking for $2... " >&6; }
2492 if eval \${$3+:} false; then :
2493 $as_echo_n "(cached) " >&6
2495 eval ac_res=\$$3
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2497 $as_echo "$ac_res" >&6; }
2498 else
2499 # Is the header compilable?
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2501 $as_echo_n "checking $2 usability... " >&6; }
2502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2505 #include <$2>
2506 _ACEOF
2507 if ac_fn_c_try_compile "$LINENO"; then :
2508 ac_header_compiler=yes
2509 else
2510 ac_header_compiler=no
2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2514 $as_echo "$ac_header_compiler" >&6; }
2516 # Is the header present?
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2518 $as_echo_n "checking $2 presence... " >&6; }
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2521 #include <$2>
2522 _ACEOF
2523 if ac_fn_c_try_cpp "$LINENO"; then :
2524 ac_header_preproc=yes
2525 else
2526 ac_header_preproc=no
2528 rm -f conftest.err conftest.i conftest.$ac_ext
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2530 $as_echo "$ac_header_preproc" >&6; }
2532 # So? What about this header?
2533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2534 yes:no: )
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2536 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2538 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2540 no:yes:* )
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2542 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2544 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2546 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2548 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2550 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2551 ( $as_echo "## ------------------------------------ ##
2552 ## Report this to wine-devel@winehq.org ##
2553 ## ------------------------------------ ##"
2554 ) | sed "s/^/$as_me: WARNING: /" >&2
2556 esac
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2558 $as_echo_n "checking for $2... " >&6; }
2559 if eval \${$3+:} false; then :
2560 $as_echo_n "(cached) " >&6
2561 else
2562 eval "$3=\$ac_header_compiler"
2564 eval ac_res=\$$3
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2566 $as_echo "$ac_res" >&6; }
2568 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2570 } # ac_fn_c_check_header_mongrel
2572 # ac_fn_c_try_run LINENO
2573 # ----------------------
2574 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2575 # that executables *can* be run.
2576 ac_fn_c_try_run ()
2578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 if { { ac_try="$ac_link"
2580 case "(($ac_try" in
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2583 esac
2584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2585 $as_echo "$ac_try_echo"; } >&5
2586 (eval "$ac_link") 2>&5
2587 ac_status=$?
2588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2589 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2590 { { case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595 $as_echo "$ac_try_echo"; } >&5
2596 (eval "$ac_try") 2>&5
2597 ac_status=$?
2598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2599 test $ac_status = 0; }; }; then :
2600 ac_retval=0
2601 else
2602 $as_echo "$as_me: program exited with status $ac_status" >&5
2603 $as_echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2606 ac_retval=$ac_status
2608 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 as_fn_set_status $ac_retval
2612 } # ac_fn_c_try_run
2614 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2615 # -------------------------------------------------------
2616 # Tests whether HEADER exists and can be compiled using the include files in
2617 # INCLUDES, setting the cache variable VAR accordingly.
2618 ac_fn_c_check_header_compile ()
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \${$3+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2629 #include <$2>
2630 _ACEOF
2631 if ac_fn_c_try_compile "$LINENO"; then :
2632 eval "$3=yes"
2633 else
2634 eval "$3=no"
2636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2638 eval ac_res=\$$3
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2640 $as_echo "$ac_res" >&6; }
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2643 } # ac_fn_c_check_header_compile
2645 # ac_fn_c_check_func LINENO FUNC VAR
2646 # ----------------------------------
2647 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2648 ac_fn_c_check_func ()
2650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2652 $as_echo_n "checking for $2... " >&6; }
2653 if eval \${$3+:} false; then :
2654 $as_echo_n "(cached) " >&6
2655 else
2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2657 /* end confdefs.h. */
2658 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2660 #define $2 innocuous_$2
2662 /* System header to define __stub macros and hopefully few prototypes,
2663 which can conflict with char $2 (); below.
2664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2665 <limits.h> exists even on freestanding compilers. */
2667 #ifdef __STDC__
2668 # include <limits.h>
2669 #else
2670 # include <assert.h>
2671 #endif
2673 #undef $2
2675 /* Override any GCC internal prototype to avoid an error.
2676 Use char because int might match the return type of a GCC
2677 builtin and then its argument prototype would still apply. */
2678 #ifdef __cplusplus
2679 extern "C"
2680 #endif
2681 char $2 ();
2682 /* The GNU C library defines this for functions which it implements
2683 to always fail with ENOSYS. Some functions are actually named
2684 something starting with __ and the normal name is an alias. */
2685 #if defined __stub_$2 || defined __stub___$2
2686 choke me
2687 #endif
2690 main ()
2692 return $2 ();
2694 return 0;
2696 _ACEOF
2697 if ac_fn_c_try_link "$LINENO"; then :
2698 eval "$3=yes"
2699 else
2700 eval "$3=no"
2702 rm -f core conftest.err conftest.$ac_objext \
2703 conftest$ac_exeext conftest.$ac_ext
2705 eval ac_res=\$$3
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2710 } # ac_fn_c_check_func
2712 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2713 # ----------------------------------------------------
2714 # Tries to find if the field MEMBER exists in type AGGR, after including
2715 # INCLUDES, setting cache variable VAR accordingly.
2716 ac_fn_c_check_member ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2720 $as_echo_n "checking for $2.$3... " >&6; }
2721 if eval \${$4+:} false; then :
2722 $as_echo_n "(cached) " >&6
2723 else
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2728 main ()
2730 static $2 ac_aggr;
2731 if (ac_aggr.$3)
2732 return 0;
2734 return 0;
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 eval "$4=yes"
2739 else
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2744 main ()
2746 static $2 ac_aggr;
2747 if (sizeof ac_aggr.$3)
2748 return 0;
2750 return 0;
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 eval "$4=yes"
2755 else
2756 eval "$4=no"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2762 eval ac_res=\$$4
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2764 $as_echo "$ac_res" >&6; }
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 } # ac_fn_c_check_member
2769 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2770 # -------------------------------------------
2771 # Tests whether TYPE exists after having included INCLUDES, setting cache
2772 # variable VAR accordingly.
2773 ac_fn_c_check_type ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2777 $as_echo_n "checking for $2... " >&6; }
2778 if eval \${$3+:} false; then :
2779 $as_echo_n "(cached) " >&6
2780 else
2781 eval "$3=no"
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2786 main ()
2788 if (sizeof ($2))
2789 return 0;
2791 return 0;
2793 _ACEOF
2794 if ac_fn_c_try_compile "$LINENO"; then :
2795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2796 /* end confdefs.h. */
2799 main ()
2801 if (sizeof (($2)))
2802 return 0;
2804 return 0;
2806 _ACEOF
2807 if ac_fn_c_try_compile "$LINENO"; then :
2809 else
2810 eval "$3=yes"
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 eval ac_res=\$$3
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2818 $as_echo "$ac_res" >&6; }
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 } # ac_fn_c_check_type
2822 cat >config.log <<_ACEOF
2823 This file contains any messages produced by compilers while
2824 running configure, to aid debugging if configure makes a mistake.
2826 It was created by Wine $as_me 1.7.46, which was
2827 generated by GNU Autoconf 2.69. Invocation command line was
2829 $ $0 $@
2831 _ACEOF
2832 exec 5>>config.log
2834 cat <<_ASUNAME
2835 ## --------- ##
2836 ## Platform. ##
2837 ## --------- ##
2839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2846 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2848 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2849 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2851 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2852 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2853 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2854 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2856 _ASUNAME
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH
2861 IFS=$as_save_IFS
2862 test -z "$as_dir" && as_dir=.
2863 $as_echo "PATH: $as_dir"
2864 done
2865 IFS=$as_save_IFS
2867 } >&5
2869 cat >&5 <<_ACEOF
2872 ## ----------- ##
2873 ## Core tests. ##
2874 ## ----------- ##
2876 _ACEOF
2879 # Keep a trace of the command line.
2880 # Strip out --no-create and --no-recursion so they do not pile up.
2881 # Strip out --silent because we don't want to record it for future runs.
2882 # Also quote any args containing shell meta-characters.
2883 # Make two passes to allow for proper duplicate-argument suppression.
2884 ac_configure_args=
2885 ac_configure_args0=
2886 ac_configure_args1=
2887 ac_must_keep_next=false
2888 for ac_pass in 1 2
2890 for ac_arg
2892 case $ac_arg in
2893 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2895 | -silent | --silent | --silen | --sile | --sil)
2896 continue ;;
2897 *\'*)
2898 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2899 esac
2900 case $ac_pass in
2901 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2903 as_fn_append ac_configure_args1 " '$ac_arg'"
2904 if test $ac_must_keep_next = true; then
2905 ac_must_keep_next=false # Got value, back to normal.
2906 else
2907 case $ac_arg in
2908 *=* | --config-cache | -C | -disable-* | --disable-* \
2909 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2910 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2911 | -with-* | --with-* | -without-* | --without-* | --x)
2912 case "$ac_configure_args0 " in
2913 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2914 esac
2916 -* ) ac_must_keep_next=true ;;
2917 esac
2919 as_fn_append ac_configure_args " '$ac_arg'"
2921 esac
2922 done
2923 done
2924 { ac_configure_args0=; unset ac_configure_args0;}
2925 { ac_configure_args1=; unset ac_configure_args1;}
2927 # When interrupted or exit'd, cleanup temporary files, and complete
2928 # config.log. We remove comments because anyway the quotes in there
2929 # would cause problems or look ugly.
2930 # WARNING: Use '\'' to represent an apostrophe within the trap.
2931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2932 trap 'exit_status=$?
2933 # Save into config.log some information that might help in debugging.
2935 echo
2937 $as_echo "## ---------------- ##
2938 ## Cache variables. ##
2939 ## ---------------- ##"
2940 echo
2941 # The following way of writing the cache mishandles newlines in values,
2943 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2944 eval ac_val=\$$ac_var
2945 case $ac_val in #(
2946 *${as_nl}*)
2947 case $ac_var in #(
2948 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2950 esac
2951 case $ac_var in #(
2952 _ | IFS | as_nl) ;; #(
2953 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2954 *) { eval $ac_var=; unset $ac_var;} ;;
2955 esac ;;
2956 esac
2957 done
2958 (set) 2>&1 |
2959 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2960 *${as_nl}ac_space=\ *)
2961 sed -n \
2962 "s/'\''/'\''\\\\'\'''\''/g;
2963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2964 ;; #(
2966 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2968 esac |
2969 sort
2971 echo
2973 $as_echo "## ----------------- ##
2974 ## Output variables. ##
2975 ## ----------------- ##"
2976 echo
2977 for ac_var in $ac_subst_vars
2979 eval ac_val=\$$ac_var
2980 case $ac_val in
2981 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2982 esac
2983 $as_echo "$ac_var='\''$ac_val'\''"
2984 done | sort
2985 echo
2987 if test -n "$ac_subst_files"; then
2988 $as_echo "## ------------------- ##
2989 ## File substitutions. ##
2990 ## ------------------- ##"
2991 echo
2992 for ac_var in $ac_subst_files
2994 eval ac_val=\$$ac_var
2995 case $ac_val in
2996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2997 esac
2998 $as_echo "$ac_var='\''$ac_val'\''"
2999 done | sort
3000 echo
3003 if test -s confdefs.h; then
3004 $as_echo "## ----------- ##
3005 ## confdefs.h. ##
3006 ## ----------- ##"
3007 echo
3008 cat confdefs.h
3009 echo
3011 test "$ac_signal" != 0 &&
3012 $as_echo "$as_me: caught signal $ac_signal"
3013 $as_echo "$as_me: exit $exit_status"
3014 } >&5
3015 rm -f core *.core core.conftest.* &&
3016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3017 exit $exit_status
3019 for ac_signal in 1 2 13 15; do
3020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3021 done
3022 ac_signal=0
3024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3025 rm -f -r conftest* confdefs.h
3027 $as_echo "/* confdefs.h */" > confdefs.h
3029 # Predefined preprocessor variables.
3031 cat >>confdefs.h <<_ACEOF
3032 #define PACKAGE_NAME "$PACKAGE_NAME"
3033 _ACEOF
3035 cat >>confdefs.h <<_ACEOF
3036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3037 _ACEOF
3039 cat >>confdefs.h <<_ACEOF
3040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3041 _ACEOF
3043 cat >>confdefs.h <<_ACEOF
3044 #define PACKAGE_STRING "$PACKAGE_STRING"
3045 _ACEOF
3047 cat >>confdefs.h <<_ACEOF
3048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3049 _ACEOF
3051 cat >>confdefs.h <<_ACEOF
3052 #define PACKAGE_URL "$PACKAGE_URL"
3053 _ACEOF
3056 # Let the site file select an alternate cache file if it wants to.
3057 # Prefer an explicitly selected file to automatically selected ones.
3058 ac_site_file1=NONE
3059 ac_site_file2=NONE
3060 if test -n "$CONFIG_SITE"; then
3061 # We do not want a PATH search for config.site.
3062 case $CONFIG_SITE in #((
3063 -*) ac_site_file1=./$CONFIG_SITE;;
3064 */*) ac_site_file1=$CONFIG_SITE;;
3065 *) ac_site_file1=./$CONFIG_SITE;;
3066 esac
3067 elif test "x$prefix" != xNONE; then
3068 ac_site_file1=$prefix/share/config.site
3069 ac_site_file2=$prefix/etc/config.site
3070 else
3071 ac_site_file1=$ac_default_prefix/share/config.site
3072 ac_site_file2=$ac_default_prefix/etc/config.site
3074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3076 test "x$ac_site_file" = xNONE && continue
3077 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3080 sed 's/^/| /' "$ac_site_file" >&5
3081 . "$ac_site_file" \
3082 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3084 as_fn_error $? "failed to load site script $ac_site_file
3085 See \`config.log' for more details" "$LINENO" 5; }
3087 done
3089 if test -r "$cache_file"; then
3090 # Some versions of bash will fail to source /dev/null (special files
3091 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3092 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3094 $as_echo "$as_me: loading cache $cache_file" >&6;}
3095 case $cache_file in
3096 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3097 *) . "./$cache_file";;
3098 esac
3100 else
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3102 $as_echo "$as_me: creating cache $cache_file" >&6;}
3103 >$cache_file
3106 # Check that the precious variables saved in the cache have kept the same
3107 # value.
3108 ac_cache_corrupted=false
3109 for ac_var in $ac_precious_vars; do
3110 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3111 eval ac_new_set=\$ac_env_${ac_var}_set
3112 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3113 eval ac_new_val=\$ac_env_${ac_var}_value
3114 case $ac_old_set,$ac_new_set in
3115 set,)
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3118 ac_cache_corrupted=: ;;
3119 ,set)
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3122 ac_cache_corrupted=: ;;
3123 ,);;
3125 if test "x$ac_old_val" != "x$ac_new_val"; then
3126 # differences in whitespace do not lead to failure.
3127 ac_old_val_w=`echo x $ac_old_val`
3128 ac_new_val_w=`echo x $ac_new_val`
3129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3132 ac_cache_corrupted=:
3133 else
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3136 eval $ac_var=\$ac_old_val
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3139 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3142 fi;;
3143 esac
3144 # Pass precious variables to config.status.
3145 if test "$ac_new_set" = set; then
3146 case $ac_new_val in
3147 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3148 *) ac_arg=$ac_var=$ac_new_val ;;
3149 esac
3150 case " $ac_configure_args " in
3151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3152 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3153 esac
3155 done
3156 if $ac_cache_corrupted; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3161 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3163 ## -------------------- ##
3164 ## Main body of script. ##
3165 ## -------------------- ##
3167 ac_ext=c
3168 ac_cpp='$CPP $CPPFLAGS'
3169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3175 ac_config_headers="$ac_config_headers include/config.h"
3177 ac_aux_dir=
3178 for ac_dir in tools "$srcdir"/tools; do
3179 if 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/install.sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install.sh -c"
3186 break
3187 elif test -f "$ac_dir/shtool"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/shtool install -c"
3190 break
3192 done
3193 if test -z "$ac_aux_dir"; then
3194 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3197 # These three variables are undocumented and unsupported,
3198 # and are intended to be withdrawn in a future Autoconf release.
3199 # They can cause serious problems if a builder's source tree is in a directory
3200 # whose full name contains unusual characters.
3201 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3202 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3203 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3207 libwine_version="1.0"
3211 # Check whether --enable-win16 was given.
3212 if test "${enable_win16+set}" = set; then :
3213 enableval=$enable_win16;
3216 # Check whether --enable-win64 was given.
3217 if test "${enable_win64+set}" = set; then :
3218 enableval=$enable_win64;
3221 # Check whether --enable-tests was given.
3222 if test "${enable_tests+set}" = set; then :
3223 enableval=$enable_tests;
3226 # Check whether --enable-maintainer-mode was given.
3227 if test "${enable_maintainer_mode+set}" = set; then :
3228 enableval=$enable_maintainer_mode;
3233 # Check whether --with-alsa was given.
3234 if test "${with_alsa+set}" = set; then :
3235 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3239 # Check whether --with-capi was given.
3240 if test "${with_capi+set}" = set; then :
3241 withval=$with_capi;
3245 # Check whether --with-cms was given.
3246 if test "${with_cms+set}" = set; then :
3247 withval=$with_cms;
3251 # Check whether --with-coreaudio was given.
3252 if test "${with_coreaudio+set}" = set; then :
3253 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3257 # Check whether --with-cups was given.
3258 if test "${with_cups+set}" = set; then :
3259 withval=$with_cups;
3263 # Check whether --with-curses was given.
3264 if test "${with_curses+set}" = set; then :
3265 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3269 # Check whether --with-dbus was given.
3270 if test "${with_dbus+set}" = set; then :
3271 withval=$with_dbus;
3275 # Check whether --with-fontconfig was given.
3276 if test "${with_fontconfig+set}" = set; then :
3277 withval=$with_fontconfig;
3281 # Check whether --with-freetype was given.
3282 if test "${with_freetype+set}" = set; then :
3283 withval=$with_freetype;
3287 # Check whether --with-gettext was given.
3288 if test "${with_gettext+set}" = set; then :
3289 withval=$with_gettext;
3293 # Check whether --with-gettextpo was given.
3294 if test "${with_gettextpo+set}" = set; then :
3295 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3299 # Check whether --with-gphoto was given.
3300 if test "${with_gphoto+set}" = set; then :
3301 withval=$with_gphoto;
3305 # Check whether --with-glu was given.
3306 if test "${with_glu+set}" = set; then :
3307 withval=$with_glu;
3311 # Check whether --with-gnutls was given.
3312 if test "${with_gnutls+set}" = set; then :
3313 withval=$with_gnutls;
3317 # Check whether --with-gsm was given.
3318 if test "${with_gsm+set}" = set; then :
3319 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3323 # Check whether --with-gstreamer was given.
3324 if test "${with_gstreamer+set}" = set; then :
3325 withval=$with_gstreamer;
3329 # Check whether --with-hal was given.
3330 if test "${with_hal+set}" = set; then :
3331 withval=$with_hal;
3335 # Check whether --with-jpeg was given.
3336 if test "${with_jpeg+set}" = set; then :
3337 withval=$with_jpeg;
3341 # Check whether --with-ldap was given.
3342 if test "${with_ldap+set}" = set; then :
3343 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3347 # Check whether --with-mpg123 was given.
3348 if test "${with_mpg123+set}" = set; then :
3349 withval=$with_mpg123;
3353 # Check whether --with-netapi was given.
3354 if test "${with_netapi+set}" = set; then :
3355 withval=$with_netapi;
3359 # Check whether --with-openal was given.
3360 if test "${with_openal+set}" = set; then :
3361 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3365 # Check whether --with-opencl was given.
3366 if test "${with_opencl+set}" = set; then :
3367 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3371 # Check whether --with-opengl was given.
3372 if test "${with_opengl+set}" = set; then :
3373 withval=$with_opengl;
3377 # Check whether --with-osmesa was given.
3378 if test "${with_osmesa+set}" = set; then :
3379 withval=$with_osmesa;
3383 # Check whether --with-oss was given.
3384 if test "${with_oss+set}" = set; then :
3385 withval=$with_oss;
3389 # Check whether --with-pcap was given.
3390 if test "${with_pcap+set}" = set; then :
3391 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3395 # Check whether --with-png was given.
3396 if test "${with_png+set}" = set; then :
3397 withval=$with_png;
3401 # Check whether --with-pthread was given.
3402 if test "${with_pthread+set}" = set; then :
3403 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3407 # Check whether --with-sane was given.
3408 if test "${with_sane+set}" = set; then :
3409 withval=$with_sane;
3413 # Check whether --with-tiff was given.
3414 if test "${with_tiff+set}" = set; then :
3415 withval=$with_tiff;
3419 # Check whether --with-v4l was given.
3420 if test "${with_v4l+set}" = set; then :
3421 withval=$with_v4l;
3425 # Check whether --with-xcomposite was given.
3426 if test "${with_xcomposite+set}" = set; then :
3427 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3431 # Check whether --with-xcursor was given.
3432 if test "${with_xcursor+set}" = set; then :
3433 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3437 # Check whether --with-xinerama was given.
3438 if test "${with_xinerama+set}" = set; then :
3439 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3443 # Check whether --with-xinput was given.
3444 if test "${with_xinput+set}" = set; then :
3445 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3449 # Check whether --with-xinput2 was given.
3450 if test "${with_xinput2+set}" = set; then :
3451 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3455 # Check whether --with-xml was given.
3456 if test "${with_xml+set}" = set; then :
3457 withval=$with_xml;
3461 # Check whether --with-xrandr was given.
3462 if test "${with_xrandr+set}" = set; then :
3463 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3467 # Check whether --with-xrender was given.
3468 if test "${with_xrender+set}" = set; then :
3469 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3473 # Check whether --with-xshape was given.
3474 if test "${with_xshape+set}" = set; then :
3475 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3479 # Check whether --with-xshm was given.
3480 if test "${with_xshm+set}" = set; then :
3481 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3485 # Check whether --with-xslt was given.
3486 if test "${with_xslt+set}" = set; then :
3487 withval=$with_xslt;
3491 # Check whether --with-xxf86vm was given.
3492 if test "${with_xxf86vm+set}" = set; then :
3493 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
3497 # Check whether --with-zlib was given.
3498 if test "${with_zlib+set}" = set; then :
3499 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3504 # Check whether --with-wine-tools was given.
3505 if test "${with_wine_tools+set}" = set; then :
3506 withval=$with_wine_tools;
3510 # Check whether --with-wine64 was given.
3511 if test "${with_wine64+set}" = set; then :
3512 withval=$with_wine64;
3516 # Make sure we can run config.sub.
3517 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3518 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3521 $as_echo_n "checking build system type... " >&6; }
3522 if ${ac_cv_build+:} false; then :
3523 $as_echo_n "(cached) " >&6
3524 else
3525 ac_build_alias=$build_alias
3526 test "x$ac_build_alias" = x &&
3527 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3528 test "x$ac_build_alias" = x &&
3529 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3530 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3531 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3535 $as_echo "$ac_cv_build" >&6; }
3536 case $ac_cv_build in
3537 *-*-*) ;;
3538 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3539 esac
3540 build=$ac_cv_build
3541 ac_save_IFS=$IFS; IFS='-'
3542 set x $ac_cv_build
3543 shift
3544 build_cpu=$1
3545 build_vendor=$2
3546 shift; shift
3547 # Remember, the first character of IFS is used to create $*,
3548 # except with old shells:
3549 build_os=$*
3550 IFS=$ac_save_IFS
3551 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3555 $as_echo_n "checking host system type... " >&6; }
3556 if ${ac_cv_host+:} false; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 if test "x$host_alias" = x; then
3560 ac_cv_host=$ac_cv_build
3561 else
3562 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3563 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3568 $as_echo "$ac_cv_host" >&6; }
3569 case $ac_cv_host in
3570 *-*-*) ;;
3571 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3572 esac
3573 host=$ac_cv_host
3574 ac_save_IFS=$IFS; IFS='-'
3575 set x $ac_cv_host
3576 shift
3577 host_cpu=$1
3578 host_vendor=$2
3579 shift; shift
3580 # Remember, the first character of IFS is used to create $*,
3581 # except with old shells:
3582 host_os=$*
3583 IFS=$ac_save_IFS
3584 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3588 case "$srcdir" in
3589 .) ;;
3590 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3591 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3592 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3593 fi ;;
3594 esac
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3598 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3599 set x ${MAKE-make}
3600 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3601 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 cat >conftest.make <<\_ACEOF
3605 SHELL = /bin/sh
3606 all:
3607 @echo '@@@%%%=$(MAKE)=@@@%%%'
3608 _ACEOF
3609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3611 *@@@%%%=?*=@@@%%%*)
3612 eval ac_cv_prog_make_${ac_make}_set=yes;;
3614 eval ac_cv_prog_make_${ac_make}_set=no;;
3615 esac
3616 rm -f conftest.make
3618 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3620 $as_echo "yes" >&6; }
3621 SET_MAKE=
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 SET_MAKE="MAKE=${MAKE-make}"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_prog_CC+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CC+:} false; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_CC+:} false; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if ${ac_cv_prog_CC+:} false; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error $? "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details" "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3951 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 ac_clean_files_save=$ac_clean_files
3968 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3969 # Try to create an executable without -o first, disregard a.out.
3970 # It will help us diagnose broken compilers, and finding out an intuition
3971 # of exeext.
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3973 $as_echo_n "checking whether the C compiler works... " >&6; }
3974 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3976 # The possible output files:
3977 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3979 ac_rmfiles=
3980 for ac_file in $ac_files
3982 case $ac_file in
3983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3984 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3985 esac
3986 done
3987 rm -f $ac_rmfiles
3989 if { { ac_try="$ac_link_default"
3990 case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link_default") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; then :
4000 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4001 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4002 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4003 # so that the user can short-circuit this test for compilers unknown to
4004 # Autoconf.
4005 for ac_file in $ac_files ''
4007 test -f "$ac_file" || continue
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4011 [ab].out )
4012 # We found the default executable, but exeext='' is most
4013 # certainly right.
4014 break;;
4015 *.* )
4016 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4017 then :; else
4018 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4020 # We set ac_cv_exeext here because the later test for it is not
4021 # safe: cross compilers may not add the suffix if given an `-o'
4022 # argument, so we may need to know it at that point already.
4023 # Even if this section looks crufty: it has the advantage of
4024 # actually working.
4025 break;;
4027 break;;
4028 esac
4029 done
4030 test "$ac_cv_exeext" = no && ac_cv_exeext=
4032 else
4033 ac_file=''
4035 if test -z "$ac_file"; then :
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4038 $as_echo "$as_me: failed program was:" >&5
4039 sed 's/^/| /' conftest.$ac_ext >&5
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4043 as_fn_error 77 "C compiler cannot create executables
4044 See \`config.log' for more details" "$LINENO" 5; }
4045 else
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4047 $as_echo "yes" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4050 $as_echo_n "checking for C compiler default output file name... " >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4052 $as_echo "$ac_file" >&6; }
4053 ac_exeext=$ac_cv_exeext
4055 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4056 ac_clean_files=$ac_clean_files_save
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4058 $as_echo_n "checking for suffix of executables... " >&6; }
4059 if { { ac_try="$ac_link"
4060 case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4063 esac
4064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4065 $as_echo "$ac_try_echo"; } >&5
4066 (eval "$ac_link") 2>&5
4067 ac_status=$?
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }; then :
4070 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4071 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4072 # work properly (i.e., refer to `conftest.exe'), while it won't with
4073 # `rm'.
4074 for ac_file in conftest.exe conftest conftest.*; do
4075 test -f "$ac_file" || continue
4076 case $ac_file in
4077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4078 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4079 break;;
4080 * ) break;;
4081 esac
4082 done
4083 else
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4087 See \`config.log' for more details" "$LINENO" 5; }
4089 rm -f conftest conftest$ac_cv_exeext
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4091 $as_echo "$ac_cv_exeext" >&6; }
4093 rm -f conftest.$ac_ext
4094 EXEEXT=$ac_cv_exeext
4095 ac_exeext=$EXEEXT
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098 #include <stdio.h>
4100 main ()
4102 FILE *f = fopen ("conftest.out", "w");
4103 return ferror (f) || fclose (f) != 0;
4106 return 0;
4108 _ACEOF
4109 ac_clean_files="$ac_clean_files conftest.out"
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 if test "$cross_compiling" != yes; then
4115 { { ac_try="$ac_link"
4116 case "(($ac_try" in
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4119 esac
4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_link") 2>&5
4123 ac_status=$?
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }
4126 if { ac_try='./conftest$ac_cv_exeext'
4127 { { case "(($ac_try" in
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4130 esac
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$ac_try_echo"; } >&5
4133 (eval "$ac_try") 2>&5
4134 ac_status=$?
4135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4136 test $ac_status = 0; }; }; then
4137 cross_compiling=no
4138 else
4139 if test "$cross_compiling" = maybe; then
4140 cross_compiling=yes
4141 else
4142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4143 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4144 as_fn_error $? "cannot run C compiled programs.
4145 If you meant to cross compile, use \`--host'.
4146 See \`config.log' for more details" "$LINENO" 5; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4151 $as_echo "$cross_compiling" >&6; }
4153 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4154 ac_clean_files=$ac_clean_files_save
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4156 $as_echo_n "checking for suffix of object files... " >&6; }
4157 if ${ac_cv_objext+:} false; then :
4158 $as_echo_n "(cached) " >&6
4159 else
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4164 main ()
4168 return 0;
4170 _ACEOF
4171 rm -f conftest.o conftest.obj
4172 if { { ac_try="$ac_compile"
4173 case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179 (eval "$ac_compile") 2>&5
4180 ac_status=$?
4181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4182 test $ac_status = 0; }; then :
4183 for ac_file in conftest.o conftest.obj conftest.*; do
4184 test -f "$ac_file" || continue;
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4187 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4188 break;;
4189 esac
4190 done
4191 else
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error $? "cannot compute suffix of object files: cannot compile
4198 See \`config.log' for more details" "$LINENO" 5; }
4200 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4203 $as_echo "$ac_cv_objext" >&6; }
4204 OBJEXT=$ac_cv_objext
4205 ac_objext=$OBJEXT
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4207 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4208 if ${ac_cv_c_compiler_gnu+:} false; then :
4209 $as_echo_n "(cached) " >&6
4210 else
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4215 main ()
4217 #ifndef __GNUC__
4218 choke me
4219 #endif
4222 return 0;
4224 _ACEOF
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_compiler_gnu=yes
4227 else
4228 ac_compiler_gnu=no
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4235 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4236 if test $ac_compiler_gnu = yes; then
4237 GCC=yes
4238 else
4239 GCC=
4241 ac_test_CFLAGS=${CFLAGS+set}
4242 ac_save_CFLAGS=$CFLAGS
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4244 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4245 if ${ac_cv_prog_cc_g+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 ac_save_c_werror_flag=$ac_c_werror_flag
4249 ac_c_werror_flag=yes
4250 ac_cv_prog_cc_g=no
4251 CFLAGS="-g"
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_cv_prog_cc_g=yes
4265 else
4266 CFLAGS=""
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4271 main ()
4275 return 0;
4277 _ACEOF
4278 if ac_fn_c_try_compile "$LINENO"; then :
4280 else
4281 ac_c_werror_flag=$ac_save_c_werror_flag
4282 CFLAGS="-g"
4283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4287 main ()
4291 return 0;
4293 _ACEOF
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_g=yes
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 ac_c_werror_flag=$ac_save_c_werror_flag
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4305 $as_echo "$ac_cv_prog_cc_g" >&6; }
4306 if test "$ac_test_CFLAGS" = set; then
4307 CFLAGS=$ac_save_CFLAGS
4308 elif test $ac_cv_prog_cc_g = yes; then
4309 if test "$GCC" = yes; then
4310 CFLAGS="-g -O2"
4311 else
4312 CFLAGS="-g"
4314 else
4315 if test "$GCC" = yes; then
4316 CFLAGS="-O2"
4317 else
4318 CFLAGS=
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4322 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4323 if ${ac_cv_prog_cc_c89+:} false; then :
4324 $as_echo_n "(cached) " >&6
4325 else
4326 ac_cv_prog_cc_c89=no
4327 ac_save_CC=$CC
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4330 #include <stdarg.h>
4331 #include <stdio.h>
4332 struct stat;
4333 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4334 struct buf { int x; };
4335 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4336 static char *e (p, i)
4337 char **p;
4338 int i;
4340 return p[i];
4342 static char *f (char * (*g) (char **, int), char **p, ...)
4344 char *s;
4345 va_list v;
4346 va_start (v,p);
4347 s = g (p, va_arg (v,int));
4348 va_end (v);
4349 return s;
4352 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4353 function prototypes and stuff, but not '\xHH' hex character constants.
4354 These don't provoke an error unfortunately, instead are silently treated
4355 as 'x'. The following induces an error, until -std is added to get
4356 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4357 array size at least. It's necessary to write '\x00'==0 to get something
4358 that's true only with -std. */
4359 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4361 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4362 inside strings and character constants. */
4363 #define FOO(x) 'x'
4364 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4366 int test (int i, double x);
4367 struct s1 {int (*f) (int a);};
4368 struct s2 {int (*f) (double a);};
4369 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4370 int argc;
4371 char **argv;
4373 main ()
4375 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4377 return 0;
4379 _ACEOF
4380 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4381 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4383 CC="$ac_save_CC $ac_arg"
4384 if ac_fn_c_try_compile "$LINENO"; then :
4385 ac_cv_prog_cc_c89=$ac_arg
4387 rm -f core conftest.err conftest.$ac_objext
4388 test "x$ac_cv_prog_cc_c89" != "xno" && break
4389 done
4390 rm -f conftest.$ac_ext
4391 CC=$ac_save_CC
4394 # AC_CACHE_VAL
4395 case "x$ac_cv_prog_cc_c89" in
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4398 $as_echo "none needed" >&6; } ;;
4399 xno)
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4401 $as_echo "unsupported" >&6; } ;;
4403 CC="$CC $ac_cv_prog_cc_c89"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4405 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4406 esac
4407 if test "x$ac_cv_prog_cc_c89" != xno; then :
4411 ac_ext=c
4412 ac_cpp='$CPP $CPPFLAGS'
4413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4417 ac_ext=cpp
4418 ac_cpp='$CXXCPP $CPPFLAGS'
4419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4422 if test -z "$CXX"; then
4423 if test -n "$CCC"; then
4424 CXX=$CCC
4425 else
4426 if test -n "$ac_tool_prefix"; then
4427 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432 $as_echo_n "checking for $ac_word... " >&6; }
4433 if ${ac_cv_prog_CXX+:} false; then :
4434 $as_echo_n "(cached) " >&6
4435 else
4436 if test -n "$CXX"; then
4437 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4438 else
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4442 IFS=$as_save_IFS
4443 test -z "$as_dir" && as_dir=.
4444 for ac_exec_ext in '' $ac_executable_extensions; do
4445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4446 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4456 CXX=$ac_cv_prog_CXX
4457 if test -n "$CXX"; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4459 $as_echo "$CXX" >&6; }
4460 else
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4466 test -n "$CXX" && break
4467 done
4469 if test -z "$CXX"; then
4470 ac_ct_CXX=$CXX
4471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4473 # Extract the first word of "$ac_prog", so it can be a program name with args.
4474 set dummy $ac_prog; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 if test -n "$ac_ct_CXX"; then
4481 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4482 else
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 for as_dir in $PATH
4486 IFS=$as_save_IFS
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4490 ac_cv_prog_ac_ct_CXX="$ac_prog"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4500 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4501 if test -n "$ac_ct_CXX"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4503 $as_echo "$ac_ct_CXX" >&6; }
4504 else
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4510 test -n "$ac_ct_CXX" && break
4511 done
4513 if test "x$ac_ct_CXX" = x; then
4514 CXX="g++"
4515 else
4516 case $cross_compiling:$ac_tool_warned in
4517 yes:)
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4520 ac_tool_warned=yes ;;
4521 esac
4522 CXX=$ac_ct_CXX
4528 # Provide some information about the compiler.
4529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4530 set X $ac_compile
4531 ac_compiler=$2
4532 for ac_option in --version -v -V -qversion; do
4533 { { ac_try="$ac_compiler $ac_option >&5"
4534 case "(($ac_try" in
4535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4536 *) ac_try_echo=$ac_try;;
4537 esac
4538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4539 $as_echo "$ac_try_echo"; } >&5
4540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4541 ac_status=$?
4542 if test -s conftest.err; then
4543 sed '10a\
4544 ... rest of stderr output deleted ...
4545 10q' conftest.err >conftest.er1
4546 cat conftest.er1 >&5
4548 rm -f conftest.er1 conftest.err
4549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550 test $ac_status = 0; }
4551 done
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4554 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4555 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4556 $as_echo_n "(cached) " >&6
4557 else
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4564 #ifndef __GNUC__
4565 choke me
4566 #endif
4569 return 0;
4571 _ACEOF
4572 if ac_fn_cxx_try_compile "$LINENO"; then :
4573 ac_compiler_gnu=yes
4574 else
4575 ac_compiler_gnu=no
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4582 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4583 if test $ac_compiler_gnu = yes; then
4584 GXX=yes
4585 else
4586 GXX=
4588 ac_test_CXXFLAGS=${CXXFLAGS+set}
4589 ac_save_CXXFLAGS=$CXXFLAGS
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4591 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4592 if ${ac_cv_prog_cxx_g+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4596 ac_cxx_werror_flag=yes
4597 ac_cv_prog_cxx_g=no
4598 CXXFLAGS="-g"
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 main ()
4607 return 0;
4609 _ACEOF
4610 if ac_fn_cxx_try_compile "$LINENO"; then :
4611 ac_cv_prog_cxx_g=yes
4612 else
4613 CXXFLAGS=""
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4618 main ()
4622 return 0;
4624 _ACEOF
4625 if ac_fn_cxx_try_compile "$LINENO"; then :
4627 else
4628 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4629 CXXFLAGS="-g"
4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h. */
4634 main ()
4638 return 0;
4640 _ACEOF
4641 if ac_fn_cxx_try_compile "$LINENO"; then :
4642 ac_cv_prog_cxx_g=yes
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4652 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4653 if test "$ac_test_CXXFLAGS" = set; then
4654 CXXFLAGS=$ac_save_CXXFLAGS
4655 elif test $ac_cv_prog_cxx_g = yes; then
4656 if test "$GXX" = yes; then
4657 CXXFLAGS="-g -O2"
4658 else
4659 CXXFLAGS="-g"
4661 else
4662 if test "$GXX" = yes; then
4663 CXXFLAGS="-O2"
4664 else
4665 CXXFLAGS=
4668 ac_ext=c
4669 ac_cpp='$CPP $CPPFLAGS'
4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4674 if test -n "$ac_tool_prefix"; then
4675 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4676 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if ${ac_cv_prog_CPPBIN+:} false; then :
4680 $as_echo_n "(cached) " >&6
4681 else
4682 if test -n "$CPPBIN"; then
4683 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 test -z "$as_dir" && as_dir=.
4690 for ac_exec_ext in '' $ac_executable_extensions; do
4691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 break 2
4696 done
4697 done
4698 IFS=$as_save_IFS
4702 CPPBIN=$ac_cv_prog_CPPBIN
4703 if test -n "$CPPBIN"; then
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4705 $as_echo "$CPPBIN" >&6; }
4706 else
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4713 if test -z "$ac_cv_prog_CPPBIN"; then
4714 ac_ct_CPPBIN=$CPPBIN
4715 # Extract the first word of "cpp", so it can be a program name with args.
4716 set dummy cpp; ac_word=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4720 $as_echo_n "(cached) " >&6
4721 else
4722 if test -n "$ac_ct_CPPBIN"; then
4723 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4724 else
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 for as_dir in $PATH
4728 IFS=$as_save_IFS
4729 test -z "$as_dir" && as_dir=.
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_ac_ct_CPPBIN="cpp"
4733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4743 if test -n "$ac_ct_CPPBIN"; then
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4745 $as_echo "$ac_ct_CPPBIN" >&6; }
4746 else
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4751 if test "x$ac_ct_CPPBIN" = x; then
4752 CPPBIN="cpp"
4753 else
4754 case $cross_compiling:$ac_tool_warned in
4755 yes:)
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4758 ac_tool_warned=yes ;;
4759 esac
4760 CPPBIN=$ac_ct_CPPBIN
4762 else
4763 CPPBIN="$ac_cv_prog_CPPBIN"
4767 cat >>confdefs.h <<_ACEOF
4768 #define EXEEXT "$ac_exeext"
4769 _ACEOF
4771 if test -n "$ac_tool_prefix"; then
4772 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4773 set dummy ${ac_tool_prefix}ld; ac_word=$2
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775 $as_echo_n "checking for $ac_word... " >&6; }
4776 if ${ac_cv_prog_LD+:} false; then :
4777 $as_echo_n "(cached) " >&6
4778 else
4779 if test -n "$LD"; then
4780 ac_cv_prog_LD="$LD" # Let the user override the test.
4781 else
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 for as_dir in $PATH
4785 IFS=$as_save_IFS
4786 test -z "$as_dir" && as_dir=.
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4789 ac_cv_prog_LD="${ac_tool_prefix}ld"
4790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 break 2
4793 done
4794 done
4795 IFS=$as_save_IFS
4799 LD=$ac_cv_prog_LD
4800 if test -n "$LD"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4802 $as_echo "$LD" >&6; }
4803 else
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4810 if test -z "$ac_cv_prog_LD"; then
4811 ac_ct_LD=$LD
4812 # Extract the first word of "ld", so it can be a program name with args.
4813 set dummy ld; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4817 $as_echo_n "(cached) " >&6
4818 else
4819 if test -n "$ac_ct_LD"; then
4820 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 test -z "$as_dir" && as_dir=.
4827 for ac_exec_ext in '' $ac_executable_extensions; do
4828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4829 ac_cv_prog_ac_ct_LD="ld"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 break 2
4833 done
4834 done
4835 IFS=$as_save_IFS
4839 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4840 if test -n "$ac_ct_LD"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4842 $as_echo "$ac_ct_LD" >&6; }
4843 else
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4848 if test "x$ac_ct_LD" = x; then
4849 LD=""
4850 else
4851 case $cross_compiling:$ac_tool_warned in
4852 yes:)
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4855 ac_tool_warned=yes ;;
4856 esac
4857 LD=$ac_ct_LD
4859 else
4860 LD="$ac_cv_prog_LD"
4864 case $host in
4865 *-darwin*)
4866 if test "x$enable_win64" = "xyes"
4867 then
4868 CC="$CC -m64"
4869 CXX="$CXX -m64"
4870 host_cpu="x86_64"
4871 notice_platform="64-bit "
4872 TARGETFLAGS="-m64"
4874 else
4875 CC="$CC -m32"
4876 CXX="$CXX -m32"
4877 host_cpu="i386"
4878 notice_platform="32-bit "
4879 TARGETFLAGS="-m32"
4881 enable_win16=${enable_win16:-yes}
4883 with_fontconfig=${with_fontconfig:-no}
4885 x86_64*|amd64*)
4886 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4887 then
4888 CC="$CC -m32"
4889 CXX="$CXX -m32"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4891 $as_echo_n "checking whether $CC works... " >&6; }
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 main ()
4901 return 0;
4903 _ACEOF
4904 if ac_fn_c_try_link "$LINENO"; then :
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4906 $as_echo "yes" >&6; }
4907 else
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4910 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4912 rm -f core conftest.err conftest.$ac_objext \
4913 conftest$ac_exeext conftest.$ac_ext
4914 host_cpu="i386"
4915 notice_platform="32-bit "
4916 TARGETFLAGS="-m32"
4918 enable_win16=${enable_win16:-yes}
4919 else
4920 if test "x${GCC}" = "xyes"
4921 then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4923 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4926 #include <stdarg.h>
4928 main ()
4930 void func(__builtin_ms_va_list *args);
4932 return 0;
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4937 $as_echo "yes" >&6; }
4938 else
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4941 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 host_cpu="x86_64"
4946 TARGETFLAGS="-m64"
4950 arm*)
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4952 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4955 int ac_test(int i) { return i; }
4957 main ()
4959 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4961 return 0;
4963 _ACEOF
4964 if ac_fn_c_try_link "$LINENO"; then :
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4972 rm -f core conftest.err conftest.$ac_objext \
4973 conftest$ac_exeext conftest.$ac_ext
4974 CFLAGS="$CFLAGS -marm"
4975 TARGETFLAGS="-marm"
4978 *-mingw32*|*-cygwin*)
4979 enable_win16=${enable_win16:-no}
4980 CFLAGS="$CFLAGS -D_WIN32"
4982 i[3456789]86*)
4983 enable_win16=${enable_win16:-yes}
4985 esac
4987 enable_win16=${enable_win16:-no}
4988 enable_win64=${enable_win64:-no}
4990 enable_winetest=${enable_winetest:-$enable_tests}
4992 if test -n "$with_wine64"
4993 then
4994 if test "x$enable_win64" = "xyes"
4995 then
4996 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4997 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4999 enable_fonts=${enable_fonts:-no}
5000 enable_server=${enable_server:-no}
5001 elif test "x$enable_win64" = "xyes"
5002 then
5003 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5007 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5008 if ${wine_cv_toolsdir+:} false; then :
5009 $as_echo_n "(cached) " >&6
5010 else
5011 wine_cv_toolsdir="$with_wine_tools"
5012 if test -z "$with_wine_tools"; then
5013 if test "$cross_compiling" = "yes"; then
5014 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5015 elif test -n "$with_wine64"; then
5016 wine_cv_toolsdir="$with_wine64"
5019 if test -z "$wine_cv_toolsdir"; then
5020 wine_makedep=tools/makedep
5021 wine_cv_toolsdir="\$(top_builddir)"
5022 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5023 wine_makedep=$wine_cv_toolsdir/tools/makedep
5024 case "$wine_cv_toolsdir" in
5025 /*) ;;
5026 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5027 esac
5028 enable_tools=${enable_tools:-no}
5029 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5030 else
5031 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5035 $as_echo "$wine_cv_toolsdir" >&6; }
5036 TOOLSDIR=$wine_cv_toolsdir
5038 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5039 then
5040 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5044 for ac_prog in flex
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_FLEX+:} false; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$FLEX"; then
5054 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5063 ac_cv_prog_FLEX="$ac_prog"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 FLEX=$ac_cv_prog_FLEX
5074 if test -n "$FLEX"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5076 $as_echo "$FLEX" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 test -n "$FLEX" && break
5084 done
5085 test -n "$FLEX" || FLEX="none"
5087 if test "$FLEX" = "none"
5088 then
5089 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5092 $as_echo_n "checking whether flex is recent enough... " >&6; }
5093 cat >conftest.l <<EOF
5094 %top{
5095 #include "prediluvian.h"
5099 if $FLEX -t conftest.l >/dev/null 2>&5
5100 then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5102 $as_echo "yes" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5106 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5109 for ac_prog in bison
5111 # Extract the first word of "$ac_prog", so it can be a program name with args.
5112 set dummy $ac_prog; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_BISON+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test -n "$BISON"; then
5119 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5124 IFS=$as_save_IFS
5125 test -z "$as_dir" && as_dir=.
5126 for ac_exec_ext in '' $ac_executable_extensions; do
5127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_BISON="$ac_prog"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 break 2
5132 done
5133 done
5134 IFS=$as_save_IFS
5138 BISON=$ac_cv_prog_BISON
5139 if test -n "$BISON"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5141 $as_echo "$BISON" >&6; }
5142 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 test -n "$BISON" && break
5149 done
5150 test -n "$BISON" || BISON="none"
5152 if test "$BISON" = "none"
5153 then
5154 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5157 if test -n "$ac_tool_prefix"; then
5158 for ac_prog in ar gar
5160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if ${ac_cv_prog_AR+:} false; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$AR"; then
5168 ac_cv_prog_AR="$AR" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5177 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 AR=$ac_cv_prog_AR
5188 if test -n "$AR"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5190 $as_echo "$AR" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5197 test -n "$AR" && break
5198 done
5200 if test -z "$AR"; then
5201 ac_ct_AR=$AR
5202 for ac_prog in ar gar
5204 # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy $ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$ac_ct_AR"; then
5212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_ac_ct_AR="$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5232 if test -n "$ac_ct_AR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5234 $as_echo "$ac_ct_AR" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$ac_ct_AR" && break
5242 done
5244 if test "x$ac_ct_AR" = x; then
5245 AR="ar"
5246 else
5247 case $cross_compiling:$ac_tool_warned in
5248 yes:)
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned=yes ;;
5252 esac
5253 AR=$ac_ct_AR
5257 if test -n "$ac_tool_prefix"; then
5258 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5259 set dummy ${ac_tool_prefix}strip; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_STRIP+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$STRIP"; then
5266 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5281 IFS=$as_save_IFS
5285 STRIP=$ac_cv_prog_STRIP
5286 if test -n "$STRIP"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5288 $as_echo "$STRIP" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5296 if test -z "$ac_cv_prog_STRIP"; then
5297 ac_ct_STRIP=$STRIP
5298 # Extract the first word of "strip", so it can be a program name with args.
5299 set dummy strip; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -n "$ac_ct_STRIP"; then
5306 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_STRIP="strip"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5326 if test -n "$ac_ct_STRIP"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5328 $as_echo "$ac_ct_STRIP" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5334 if test "x$ac_ct_STRIP" = x; then
5335 STRIP="strip"
5336 else
5337 case $cross_compiling:$ac_tool_warned in
5338 yes:)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5342 esac
5343 STRIP=$ac_ct_STRIP
5345 else
5346 STRIP="$ac_cv_prog_STRIP"
5349 ARFLAGS=rc
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_RANLIB+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$RANLIB"; then
5360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 RANLIB=$ac_cv_prog_RANLIB
5380 if test -n "$RANLIB"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5382 $as_echo "$RANLIB" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_RANLIB"; then
5391 ac_ct_RANLIB=$RANLIB
5392 # Extract the first word of "ranlib", so it can be a program name with args.
5393 set dummy ranlib; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5397 $as_echo_n "(cached) " >&6
5398 else
5399 if test -n "$ac_ct_RANLIB"; then
5400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_ac_ct_RANLIB="ranlib"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5420 if test -n "$ac_ct_RANLIB"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5422 $as_echo "$ac_ct_RANLIB" >&6; }
5423 else
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_RANLIB" = x; then
5429 RANLIB=":"
5430 else
5431 case $cross_compiling:$ac_tool_warned in
5432 yes:)
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5436 esac
5437 RANLIB=$ac_ct_RANLIB
5439 else
5440 RANLIB="$ac_cv_prog_RANLIB"
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5444 $as_echo_n "checking whether ln -s works... " >&6; }
5445 LN_S=$as_ln_s
5446 if test "$LN_S" = "ln -s"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5448 $as_echo "yes" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5451 $as_echo "no, using $LN_S" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5455 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5456 if ${ac_cv_path_GREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -z "$GREP"; then
5460 ac_path_GREP_found=false
5461 # Loop through the user's path and test for each of PROGNAME-LIST
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_prog in grep ggrep; do
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5470 as_fn_executable_p "$ac_path_GREP" || continue
5471 # Check for GNU ac_path_GREP and select it if it is found.
5472 # Check for GNU $ac_path_GREP
5473 case `"$ac_path_GREP" --version 2>&1` in
5474 *GNU*)
5475 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5477 ac_count=0
5478 $as_echo_n 0123456789 >"conftest.in"
5479 while :
5481 cat "conftest.in" "conftest.in" >"conftest.tmp"
5482 mv "conftest.tmp" "conftest.in"
5483 cp "conftest.in" "conftest.nl"
5484 $as_echo 'GREP' >> "conftest.nl"
5485 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5486 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5487 as_fn_arith $ac_count + 1 && ac_count=$as_val
5488 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5489 # Best one so far, save it but keep looking for a better one
5490 ac_cv_path_GREP="$ac_path_GREP"
5491 ac_path_GREP_max=$ac_count
5493 # 10*(2^10) chars as input seems more than enough
5494 test $ac_count -gt 10 && break
5495 done
5496 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5497 esac
5499 $ac_path_GREP_found && break 3
5500 done
5501 done
5502 done
5503 IFS=$as_save_IFS
5504 if test -z "$ac_cv_path_GREP"; then
5505 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5507 else
5508 ac_cv_path_GREP=$GREP
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5513 $as_echo "$ac_cv_path_GREP" >&6; }
5514 GREP="$ac_cv_path_GREP"
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5518 $as_echo_n "checking for egrep... " >&6; }
5519 if ${ac_cv_path_EGREP+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5523 then ac_cv_path_EGREP="$GREP -E"
5524 else
5525 if test -z "$EGREP"; then
5526 ac_path_EGREP_found=false
5527 # Loop through the user's path and test for each of PROGNAME-LIST
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5529 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5531 IFS=$as_save_IFS
5532 test -z "$as_dir" && as_dir=.
5533 for ac_prog in egrep; do
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5536 as_fn_executable_p "$ac_path_EGREP" || continue
5537 # Check for GNU ac_path_EGREP and select it if it is found.
5538 # Check for GNU $ac_path_EGREP
5539 case `"$ac_path_EGREP" --version 2>&1` in
5540 *GNU*)
5541 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5543 ac_count=0
5544 $as_echo_n 0123456789 >"conftest.in"
5545 while :
5547 cat "conftest.in" "conftest.in" >"conftest.tmp"
5548 mv "conftest.tmp" "conftest.in"
5549 cp "conftest.in" "conftest.nl"
5550 $as_echo 'EGREP' >> "conftest.nl"
5551 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5553 as_fn_arith $ac_count + 1 && ac_count=$as_val
5554 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5555 # Best one so far, save it but keep looking for a better one
5556 ac_cv_path_EGREP="$ac_path_EGREP"
5557 ac_path_EGREP_max=$ac_count
5559 # 10*(2^10) chars as input seems more than enough
5560 test $ac_count -gt 10 && break
5561 done
5562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5563 esac
5565 $ac_path_EGREP_found && break 3
5566 done
5567 done
5568 done
5569 IFS=$as_save_IFS
5570 if test -z "$ac_cv_path_EGREP"; then
5571 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5573 else
5574 ac_cv_path_EGREP=$EGREP
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5580 $as_echo "$ac_cv_path_EGREP" >&6; }
5581 EGREP="$ac_cv_path_EGREP"
5584 # Extract the first word of "ldconfig", so it can be a program name with args.
5585 set dummy ldconfig; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_path_LDCONFIG+:} false; then :
5589 $as_echo_n "(cached) " >&6
5590 else
5591 case $LDCONFIG in
5592 [\\/]* | ?:[\\/]*)
5593 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in /sbin /usr/sbin $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5611 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5613 esac
5615 LDCONFIG=$ac_cv_path_LDCONFIG
5616 if test -n "$LDCONFIG"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5618 $as_echo "$LDCONFIG" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 for ac_prog in msgfmt
5627 # Extract the first word of "$ac_prog", so it can be a program name with args.
5628 set dummy $ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_MSGFMT+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 if test -n "$MSGFMT"; then
5635 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_MSGFMT="$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5648 done
5649 done
5650 IFS=$as_save_IFS
5654 MSGFMT=$ac_cv_prog_MSGFMT
5655 if test -n "$MSGFMT"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5657 $as_echo "$MSGFMT" >&6; }
5658 else
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 test -n "$MSGFMT" && break
5665 done
5666 test -n "$MSGFMT" || MSGFMT="false"
5668 if ${ac_tool_prefix+:} false; then :
5669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5670 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$PKG_CONFIG"; then
5677 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5678 else
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in $PATH
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5690 done
5691 done
5692 IFS=$as_save_IFS
5696 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5697 if test -n "$PKG_CONFIG"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5699 $as_echo "$PKG_CONFIG" >&6; }
5700 else
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }
5707 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5708 if test "x$cross_compiling" = xyes; then :
5710 else
5711 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5712 # Extract the first word of "pkg-config", so it can be a program name with args.
5713 set dummy pkg-config; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$PKG_CONFIG"; then
5720 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_prog_PKG_CONFIG="pkg-config"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5733 done
5734 done
5735 IFS=$as_save_IFS
5739 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5740 if test -n "$PKG_CONFIG"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5742 $as_echo "$PKG_CONFIG" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5750 else
5751 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5754 if test "x$enable_maintainer_mode" != "xyes"
5755 then
5756 FONTFORGE=""
5757 RSVG=""
5758 CONVERT=""
5759 ICOTOOL=""
5760 else
5761 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5762 for ac_prog in fontforge
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy $ac_prog; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_FONTFORGE+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if test -n "$FONTFORGE"; then
5772 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_FONTFORGE="$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783 break 2
5785 done
5786 done
5787 IFS=$as_save_IFS
5791 FONTFORGE=$ac_cv_prog_FONTFORGE
5792 if test -n "$FONTFORGE"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5794 $as_echo "$FONTFORGE" >&6; }
5795 else
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$FONTFORGE" && break
5802 done
5803 test -n "$FONTFORGE" || FONTFORGE="false"
5805 for ac_prog in rsvg-convert rsvg
5807 # Extract the first word of "$ac_prog", so it can be a program name with args.
5808 set dummy $ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_RSVG+:} false; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$RSVG"; then
5815 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_RSVG="$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5828 done
5829 done
5830 IFS=$as_save_IFS
5834 RSVG=$ac_cv_prog_RSVG
5835 if test -n "$RSVG"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5837 $as_echo "$RSVG" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$RSVG" && break
5845 done
5846 test -n "$RSVG" || RSVG="false"
5848 for ac_prog in convert
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_CONVERT+:} false; then :
5855 $as_echo_n "(cached) " >&6
5856 else
5857 if test -n "$CONVERT"; then
5858 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5859 else
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 for as_dir in $PATH
5863 IFS=$as_save_IFS
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_CONVERT="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 break 2
5871 done
5872 done
5873 IFS=$as_save_IFS
5877 CONVERT=$ac_cv_prog_CONVERT
5878 if test -n "$CONVERT"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5880 $as_echo "$CONVERT" >&6; }
5881 else
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$CONVERT" && break
5888 done
5889 test -n "$CONVERT" || CONVERT="false"
5891 for ac_prog in icotool
5893 # Extract the first word of "$ac_prog", so it can be a program name with args.
5894 set dummy $ac_prog; ac_word=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if ${ac_cv_prog_ICOTOOL+:} false; then :
5898 $as_echo_n "(cached) " >&6
5899 else
5900 if test -n "$ICOTOOL"; then
5901 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5902 else
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 for as_dir in $PATH
5906 IFS=$as_save_IFS
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5910 ac_cv_prog_ICOTOOL="$ac_prog"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5912 break 2
5914 done
5915 done
5916 IFS=$as_save_IFS
5920 ICOTOOL=$ac_cv_prog_ICOTOOL
5921 if test -n "$ICOTOOL"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5923 $as_echo "$ICOTOOL" >&6; }
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5930 test -n "$ICOTOOL" && break
5931 done
5932 test -n "$ICOTOOL" || ICOTOOL="false"
5934 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5935 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5937 if test "$CONVERT" = false
5938 then
5939 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5942 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5943 convert_version=`convert --version | head -n1`
5944 if test "x$convert_version" != "x"
5945 then
5946 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5947 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5948 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5949 then
5950 CONVERT=false
5953 if test "$CONVERT" = false
5954 then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5956 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5957 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5960 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5964 if test "$ICOTOOL" = false
5965 then
5966 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5969 $as_echo_n "checking for recent enough icotool... " >&6; }
5970 icotool_version=`icotool --version | head -n1`
5971 if test "x$icotool_version" != "x"
5972 then
5973 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5974 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5975 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5976 then
5977 ICOTOOL=false
5978 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5981 if test "$ICOTOOL" = false
5982 then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5984 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5985 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5988 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5992 with_gettext=yes
5993 with_gettextpo=yes
5994 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5997 test "x$with_gettext" != xno || MSGFMT=false
5998 if test "$MSGFMT" != "false"
5999 then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6001 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6002 cat >conftest.po <<EOF
6003 # comment
6004 msgctxt "ctxt"
6005 msgid "id"
6006 msgstr "str"
6008 if $MSGFMT -o /dev/null conftest.po 2>&5
6009 then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6011 $as_echo "yes" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6015 MSGFMT=false
6018 if test "$MSGFMT" = false; then :
6019 case "x$with_gettext" in
6020 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6021 xno) ;;
6022 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6023 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6024 esac
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6029 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6030 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6031 $as_echo_n "(cached) " >&6
6032 else
6033 ac_check_lib_save_LIBS=$LIBS
6034 LIBS="-li386 $LIBS"
6035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6038 /* Override any GCC internal prototype to avoid an error.
6039 Use char because int might match the return type of a GCC
6040 builtin and then its argument prototype would still apply. */
6041 #ifdef __cplusplus
6042 extern "C"
6043 #endif
6044 char i386_set_ldt ();
6046 main ()
6048 return i386_set_ldt ();
6050 return 0;
6052 _ACEOF
6053 if ac_fn_c_try_link "$LINENO"; then :
6054 ac_cv_lib_i386_i386_set_ldt=yes
6055 else
6056 ac_cv_lib_i386_i386_set_ldt=no
6058 rm -f core conftest.err conftest.$ac_objext \
6059 conftest$ac_exeext conftest.$ac_ext
6060 LIBS=$ac_check_lib_save_LIBS
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6063 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6064 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6065 cat >>confdefs.h <<_ACEOF
6066 #define HAVE_LIBI386 1
6067 _ACEOF
6069 LIBS="-li386 $LIBS"
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6074 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6075 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 ac_check_lib_save_LIBS=$LIBS
6079 LIBS="-lossaudio $LIBS"
6080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6081 /* end confdefs.h. */
6083 /* Override any GCC internal prototype to avoid an error.
6084 Use char because int might match the return type of a GCC
6085 builtin and then its argument prototype would still apply. */
6086 #ifdef __cplusplus
6087 extern "C"
6088 #endif
6089 char _oss_ioctl ();
6091 main ()
6093 return _oss_ioctl ();
6095 return 0;
6097 _ACEOF
6098 if ac_fn_c_try_link "$LINENO"; then :
6099 ac_cv_lib_ossaudio__oss_ioctl=yes
6100 else
6101 ac_cv_lib_ossaudio__oss_ioctl=no
6103 rm -f core conftest.err conftest.$ac_objext \
6104 conftest$ac_exeext conftest.$ac_ext
6105 LIBS=$ac_check_lib_save_LIBS
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6108 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6109 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6110 cat >>confdefs.h <<_ACEOF
6111 #define HAVE_LIBOSSAUDIO 1
6112 _ACEOF
6114 LIBS="-lossaudio $LIBS"
6119 OPENGL_LIBS=""
6123 # Check whether --enable-largefile was given.
6124 if test "${enable_largefile+set}" = set; then :
6125 enableval=$enable_largefile;
6128 if test "$enable_largefile" != no; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6131 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6132 if ${ac_cv_sys_largefile_CC+:} false; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 ac_cv_sys_largefile_CC=no
6136 if test "$GCC" != yes; then
6137 ac_save_CC=$CC
6138 while :; do
6139 # IRIX 6.2 and later do not support large files by default,
6140 # so use the C compiler's -n32 option if that helps.
6141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6143 #include <sys/types.h>
6144 /* Check that off_t can represent 2**63 - 1 correctly.
6145 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6146 since some C++ compilers masquerading as C compilers
6147 incorrectly reject 9223372036854775807. */
6148 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6149 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6150 && LARGE_OFF_T % 2147483647 == 1)
6151 ? 1 : -1];
6153 main ()
6157 return 0;
6159 _ACEOF
6160 if ac_fn_c_try_compile "$LINENO"; then :
6161 break
6163 rm -f core conftest.err conftest.$ac_objext
6164 CC="$CC -n32"
6165 if ac_fn_c_try_compile "$LINENO"; then :
6166 ac_cv_sys_largefile_CC=' -n32'; break
6168 rm -f core conftest.err conftest.$ac_objext
6169 break
6170 done
6171 CC=$ac_save_CC
6172 rm -f conftest.$ac_ext
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6176 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6177 if test "$ac_cv_sys_largefile_CC" != no; then
6178 CC=$CC$ac_cv_sys_largefile_CC
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6182 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6183 if ${ac_cv_sys_file_offset_bits+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 while :; do
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #include <sys/types.h>
6190 /* Check that off_t can represent 2**63 - 1 correctly.
6191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6192 since some C++ compilers masquerading as C compilers
6193 incorrectly reject 9223372036854775807. */
6194 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6196 && LARGE_OFF_T % 2147483647 == 1)
6197 ? 1 : -1];
6199 main ()
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_compile "$LINENO"; then :
6207 ac_cv_sys_file_offset_bits=no; break
6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6212 #define _FILE_OFFSET_BITS 64
6213 #include <sys/types.h>
6214 /* Check that off_t can represent 2**63 - 1 correctly.
6215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6216 since some C++ compilers masquerading as C compilers
6217 incorrectly reject 9223372036854775807. */
6218 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6220 && LARGE_OFF_T % 2147483647 == 1)
6221 ? 1 : -1];
6223 main ()
6227 return 0;
6229 _ACEOF
6230 if ac_fn_c_try_compile "$LINENO"; then :
6231 ac_cv_sys_file_offset_bits=64; break
6233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6234 ac_cv_sys_file_offset_bits=unknown
6235 break
6236 done
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6239 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6240 case $ac_cv_sys_file_offset_bits in #(
6241 no | unknown) ;;
6243 cat >>confdefs.h <<_ACEOF
6244 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6245 _ACEOF
6247 esac
6248 rm -rf conftest*
6249 if test $ac_cv_sys_file_offset_bits = unknown; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6251 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6252 if ${ac_cv_sys_large_files+:} false; then :
6253 $as_echo_n "(cached) " >&6
6254 else
6255 while :; do
6256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #include <sys/types.h>
6259 /* Check that off_t can represent 2**63 - 1 correctly.
6260 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6261 since some C++ compilers masquerading as C compilers
6262 incorrectly reject 9223372036854775807. */
6263 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6264 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6265 && LARGE_OFF_T % 2147483647 == 1)
6266 ? 1 : -1];
6268 main ()
6272 return 0;
6274 _ACEOF
6275 if ac_fn_c_try_compile "$LINENO"; then :
6276 ac_cv_sys_large_files=no; break
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6281 #define _LARGE_FILES 1
6282 #include <sys/types.h>
6283 /* Check that off_t can represent 2**63 - 1 correctly.
6284 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6285 since some C++ compilers masquerading as C compilers
6286 incorrectly reject 9223372036854775807. */
6287 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6288 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6289 && LARGE_OFF_T % 2147483647 == 1)
6290 ? 1 : -1];
6292 main ()
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_compile "$LINENO"; then :
6300 ac_cv_sys_large_files=1; break
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 ac_cv_sys_large_files=unknown
6304 break
6305 done
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6308 $as_echo "$ac_cv_sys_large_files" >&6; }
6309 case $ac_cv_sys_large_files in #(
6310 no | unknown) ;;
6312 cat >>confdefs.h <<_ACEOF
6313 #define _LARGE_FILES $ac_cv_sys_large_files
6314 _ACEOF
6316 esac
6317 rm -rf conftest*
6324 ac_ext=c
6325 ac_cpp='$CPP $CPPFLAGS'
6326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6330 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6331 # On Suns, sometimes $CPP names a directory.
6332 if test -n "$CPP" && test -d "$CPP"; then
6333 CPP=
6335 if test -z "$CPP"; then
6336 if ${ac_cv_prog_CPP+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 # Double quotes because CPP needs to be expanded
6340 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6342 ac_preproc_ok=false
6343 for ac_c_preproc_warn_flag in '' yes
6345 # Use a header file that comes with gcc, so configuring glibc
6346 # with a fresh cross-compiler works.
6347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6348 # <limits.h> exists even on freestanding compilers.
6349 # On the NeXT, cc -E runs the code through the compiler's parser,
6350 # not just through cpp. "Syntax error" is here to catch this case.
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #ifdef __STDC__
6354 # include <limits.h>
6355 #else
6356 # include <assert.h>
6357 #endif
6358 Syntax error
6359 _ACEOF
6360 if ac_fn_c_try_cpp "$LINENO"; then :
6362 else
6363 # Broken: fails on valid input.
6364 continue
6366 rm -f conftest.err conftest.i conftest.$ac_ext
6368 # OK, works on sane cases. Now check whether nonexistent headers
6369 # can be detected and how.
6370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371 /* end confdefs.h. */
6372 #include <ac_nonexistent.h>
6373 _ACEOF
6374 if ac_fn_c_try_cpp "$LINENO"; then :
6375 # Broken: success on invalid input.
6376 continue
6377 else
6378 # Passes both tests.
6379 ac_preproc_ok=:
6380 break
6382 rm -f conftest.err conftest.i conftest.$ac_ext
6384 done
6385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6386 rm -f conftest.i conftest.err conftest.$ac_ext
6387 if $ac_preproc_ok; then :
6388 break
6391 done
6392 ac_cv_prog_CPP=$CPP
6395 CPP=$ac_cv_prog_CPP
6396 else
6397 ac_cv_prog_CPP=$CPP
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6400 $as_echo "$CPP" >&6; }
6401 ac_preproc_ok=false
6402 for ac_c_preproc_warn_flag in '' yes
6404 # Use a header file that comes with gcc, so configuring glibc
6405 # with a fresh cross-compiler works.
6406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6407 # <limits.h> exists even on freestanding compilers.
6408 # On the NeXT, cc -E runs the code through the compiler's parser,
6409 # not just through cpp. "Syntax error" is here to catch this case.
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6412 #ifdef __STDC__
6413 # include <limits.h>
6414 #else
6415 # include <assert.h>
6416 #endif
6417 Syntax error
6418 _ACEOF
6419 if ac_fn_c_try_cpp "$LINENO"; then :
6421 else
6422 # Broken: fails on valid input.
6423 continue
6425 rm -f conftest.err conftest.i conftest.$ac_ext
6427 # OK, works on sane cases. Now check whether nonexistent headers
6428 # can be detected and how.
6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6431 #include <ac_nonexistent.h>
6432 _ACEOF
6433 if ac_fn_c_try_cpp "$LINENO"; then :
6434 # Broken: success on invalid input.
6435 continue
6436 else
6437 # Passes both tests.
6438 ac_preproc_ok=:
6439 break
6441 rm -f conftest.err conftest.i conftest.$ac_ext
6443 done
6444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6445 rm -f conftest.i conftest.err conftest.$ac_ext
6446 if $ac_preproc_ok; then :
6448 else
6449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6451 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6452 See \`config.log' for more details" "$LINENO" 5; }
6455 ac_ext=c
6456 ac_cpp='$CPP $CPPFLAGS'
6457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6463 $as_echo_n "checking for ANSI C header files... " >&6; }
6464 if ${ac_cv_header_stdc+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6469 #include <stdlib.h>
6470 #include <stdarg.h>
6471 #include <string.h>
6472 #include <float.h>
6475 main ()
6479 return 0;
6481 _ACEOF
6482 if ac_fn_c_try_compile "$LINENO"; then :
6483 ac_cv_header_stdc=yes
6484 else
6485 ac_cv_header_stdc=no
6487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6489 if test $ac_cv_header_stdc = yes; then
6490 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #include <string.h>
6495 _ACEOF
6496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6497 $EGREP "memchr" >/dev/null 2>&1; then :
6499 else
6500 ac_cv_header_stdc=no
6502 rm -f conftest*
6506 if test $ac_cv_header_stdc = yes; then
6507 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6509 /* end confdefs.h. */
6510 #include <stdlib.h>
6512 _ACEOF
6513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6514 $EGREP "free" >/dev/null 2>&1; then :
6516 else
6517 ac_cv_header_stdc=no
6519 rm -f conftest*
6523 if test $ac_cv_header_stdc = yes; then
6524 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6525 if test "$cross_compiling" = yes; then :
6527 else
6528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6529 /* end confdefs.h. */
6530 #include <ctype.h>
6531 #include <stdlib.h>
6532 #if ((' ' & 0x0FF) == 0x020)
6533 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6534 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6535 #else
6536 # define ISLOWER(c) \
6537 (('a' <= (c) && (c) <= 'i') \
6538 || ('j' <= (c) && (c) <= 'r') \
6539 || ('s' <= (c) && (c) <= 'z'))
6540 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6541 #endif
6543 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6545 main ()
6547 int i;
6548 for (i = 0; i < 256; i++)
6549 if (XOR (islower (i), ISLOWER (i))
6550 || toupper (i) != TOUPPER (i))
6551 return 2;
6552 return 0;
6554 _ACEOF
6555 if ac_fn_c_try_run "$LINENO"; then :
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6561 conftest.$ac_objext conftest.beam conftest.$ac_ext
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6567 $as_echo "$ac_cv_header_stdc" >&6; }
6568 if test $ac_cv_header_stdc = yes; then
6570 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6574 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6576 inttypes.h stdint.h unistd.h
6577 do :
6578 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6579 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6581 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6582 cat >>confdefs.h <<_ACEOF
6583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6584 _ACEOF
6588 done
6591 for ac_header in \
6592 AL/al.h \
6593 ApplicationServices/ApplicationServices.h \
6594 AudioToolbox/AudioConverter.h \
6595 AudioUnit/AudioUnit.h \
6596 AudioUnit/AudioComponent.h \
6597 CL/cl.h \
6598 Carbon/Carbon.h \
6599 CoreAudio/CoreAudio.h \
6600 CoreServices/CoreServices.h \
6601 DiskArbitration/DiskArbitration.h \
6602 IOKit/IOKitLib.h \
6603 IOKit/hid/IOHIDLib.h \
6604 OpenAL/al.h \
6605 OpenCL/opencl.h \
6606 QuickTime/ImageCompression.h \
6607 Security/Security.h \
6608 alias.h \
6609 alsa/asoundlib.h \
6610 arpa/inet.h \
6611 arpa/nameser.h \
6612 asm/types.h \
6613 asm/user.h \
6614 curses.h \
6615 direct.h \
6616 dirent.h \
6617 dlfcn.h \
6618 elf.h \
6619 float.h \
6620 fnmatch.h \
6621 getopt.h \
6622 gettext-po.h \
6623 grp.h \
6624 gsm.h \
6625 gsm/gsm.h \
6626 ieeefp.h \
6627 inet/mib2.h \
6628 io.h \
6629 kstat.h \
6630 lber.h \
6631 ldap.h \
6632 libproc.h \
6633 link.h \
6634 linux/cdrom.h \
6635 linux/compiler.h \
6636 linux/filter.h \
6637 linux/hdreg.h \
6638 linux/input.h \
6639 linux/ioctl.h \
6640 linux/joystick.h \
6641 linux/major.h \
6642 linux/param.h \
6643 linux/serial.h \
6644 linux/types.h \
6645 linux/ucdrom.h \
6646 lwp.h \
6647 mach-o/nlist.h \
6648 mach-o/loader.h \
6649 mach/mach.h \
6650 mach/machine.h \
6651 machine/cpu.h \
6652 machine/limits.h \
6653 machine/sysarch.h \
6654 mntent.h \
6655 ncurses.h \
6656 netdb.h \
6657 netinet/in.h \
6658 netinet/in_systm.h \
6659 netinet/tcp.h \
6660 netinet/tcp_fsm.h \
6661 pcap/pcap.h \
6662 poll.h \
6663 port.h \
6664 process.h \
6665 pthread.h \
6666 pwd.h \
6667 sched.h \
6668 scsi/scsi.h \
6669 scsi/scsi_ioctl.h \
6670 scsi/sg.h \
6671 stdbool.h \
6672 stdint.h \
6673 stropts.h \
6674 sys/asoundlib.h \
6675 sys/attr.h \
6676 sys/cdio.h \
6677 sys/elf32.h \
6678 sys/epoll.h \
6679 sys/event.h \
6680 sys/exec_elf.h \
6681 sys/filio.h \
6682 sys/inotify.h \
6683 sys/ioctl.h \
6684 sys/ipc.h \
6685 sys/limits.h \
6686 sys/link.h \
6687 sys/mman.h \
6688 sys/modem.h \
6689 sys/msg.h \
6690 sys/mtio.h \
6691 sys/param.h \
6692 sys/poll.h \
6693 sys/prctl.h \
6694 sys/protosw.h \
6695 sys/ptrace.h \
6696 sys/queue.h \
6697 sys/resource.h \
6698 sys/scsiio.h \
6699 sys/shm.h \
6700 sys/signal.h \
6701 sys/socket.h \
6702 sys/socketvar.h \
6703 sys/sockio.h \
6704 sys/statvfs.h \
6705 sys/strtio.h \
6706 sys/syscall.h \
6707 sys/tihdr.h \
6708 sys/time.h \
6709 sys/timeout.h \
6710 sys/times.h \
6711 sys/uio.h \
6712 sys/user.h \
6713 sys/utsname.h \
6714 sys/vm86.h \
6715 sys/vnode.h \
6716 sys/wait.h \
6717 syscall.h \
6718 termios.h \
6719 unistd.h \
6720 utime.h \
6721 valgrind/memcheck.h \
6722 valgrind/valgrind.h \
6723 zlib.h
6725 do :
6726 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6727 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6728 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6729 cat >>confdefs.h <<_ACEOF
6730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6731 _ACEOF
6735 done
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6738 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6739 if ${ac_cv_header_stat_broken+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 #include <sys/types.h>
6745 #include <sys/stat.h>
6747 #if defined S_ISBLK && defined S_IFDIR
6748 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6749 #endif
6751 #if defined S_ISBLK && defined S_IFCHR
6752 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6753 #endif
6755 #if defined S_ISLNK && defined S_IFREG
6756 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6757 #endif
6759 #if defined S_ISSOCK && defined S_IFREG
6760 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6761 #endif
6763 _ACEOF
6764 if ac_fn_c_try_compile "$LINENO"; then :
6765 ac_cv_header_stat_broken=no
6766 else
6767 ac_cv_header_stat_broken=yes
6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6772 $as_echo "$ac_cv_header_stat_broken" >&6; }
6773 if test $ac_cv_header_stat_broken = yes; then
6775 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6781 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6782 do :
6783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6784 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6785 #ifdef HAVE_SYS_PARAM_H
6786 # include <sys/param.h>
6787 #endif
6789 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6790 cat >>confdefs.h <<_ACEOF
6791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6792 _ACEOF
6796 done
6799 for ac_header in \
6800 netinet/ip.h \
6801 net/if.h \
6802 net/if_arp.h \
6803 net/if_dl.h \
6804 net/if_types.h \
6805 net/route.h \
6806 netinet/if_ether.h \
6807 netinet/if_inarp.h \
6808 netinet/in_pcb.h \
6809 netinet/ip_icmp.h \
6810 netinet/ip_var.h \
6811 netinet/udp.h \
6812 netipx/ipx.h \
6813 sys/un.h \
6815 do :
6816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6817 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6818 #ifdef HAVE_SYS_SOCKET_H
6819 # include <sys/socket.h>
6820 #endif
6821 #ifdef HAVE_SYS_SOCKETVAR_H
6822 # include <sys/socketvar.h>
6823 #endif
6824 #ifdef HAVE_NET_ROUTE_H
6825 # include <net/route.h>
6826 #endif
6827 #ifdef HAVE_NETINET_IN_H
6828 # include <netinet/in.h>
6829 #endif
6830 #ifdef HAVE_NETINET_IN_SYSTM_H
6831 # include <netinet/in_systm.h>
6832 #endif
6833 #ifdef HAVE_NET_IF_H
6834 # include <net/if.h>
6835 #endif
6836 #ifdef HAVE_NETINET_IP_H
6837 # include <netinet/ip.h>
6838 #endif
6840 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6841 cat >>confdefs.h <<_ACEOF
6842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6843 _ACEOF
6847 done
6850 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6851 do :
6852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6854 #ifdef HAVE_ALIAS_H
6855 # include <alias.h>
6856 #endif
6857 #ifdef HAVE_SYS_SOCKET_H
6858 # include <sys/socket.h>
6859 #endif
6860 #ifdef HAVE_SYS_SOCKETVAR_H
6861 # include <sys/socketvar.h>
6862 #endif
6863 #ifdef HAVE_SYS_TIMEOUT_H
6864 # include <sys/timeout.h>
6865 #endif
6866 #ifdef HAVE_NETINET_IN_H
6867 # include <netinet/in.h>
6868 #endif
6869 #ifdef HAVE_NETINET_IN_SYSTM_H
6870 # include <netinet/in_systm.h>
6871 #endif
6872 #ifdef HAVE_NETINET_IP_H
6873 # include <netinet/ip.h>
6874 #endif
6875 #ifdef HAVE_NETINET_IP_VAR_H
6876 # include <netinet/ip_var.h>
6877 #endif
6878 #ifdef HAVE_NETINET_IP_ICMP_H
6879 # include <netinet/ip_icmp.h>
6880 #endif
6881 #ifdef HAVE_NETINET_UDP_H
6882 # include <netinet/udp.h>
6883 #endif
6884 #ifdef HAVE_NETINET_TCP_H
6885 # include <netinet/tcp.h>
6886 #endif
6887 #ifdef HAVE_NETINET_TCP_TIMER_H
6888 #include <netinet/tcp_timer.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6902 do :
6903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6904 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6905 #ifdef HAVE_ASM_TYPES_H
6906 # include <asm/types.h>
6907 #endif
6908 #ifdef HAVE_SYS_SOCKET_H
6909 # include <sys/socket.h>
6910 #endif
6911 #ifdef HAVE_LINUX_TYPES_H
6912 # include <linux/types.h>
6913 #endif
6915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6916 cat >>confdefs.h <<_ACEOF
6917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6918 _ACEOF
6922 done
6925 for ac_header in mach-o/dyld_images.h
6926 do :
6927 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6928 # include <stdbool.h>
6929 #endif
6930 #ifdef HAVE_STDINT_H
6931 # include <stdint.h>
6932 #endif
6934 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6935 cat >>confdefs.h <<_ACEOF
6936 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6937 _ACEOF
6941 done
6944 for ac_header in resolv.h
6945 do :
6946 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6947 #ifdef HAVE_SYS_SOCKET_H
6948 # include <sys/socket.h>
6949 #endif
6950 #ifdef HAVE_NETINET_IN_H
6951 # include <netinet/in.h>
6952 #endif
6953 #ifdef HAVE_ARPA_NAMESER_H
6954 # include <arpa/nameser.h>
6955 #endif
6957 if test "x$ac_cv_header_resolv_h" = xyes; then :
6958 cat >>confdefs.h <<_ACEOF
6959 #define HAVE_RESOLV_H 1
6960 _ACEOF
6964 done
6967 for ac_header in ifaddrs.h
6968 do :
6969 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6971 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6972 cat >>confdefs.h <<_ACEOF
6973 #define HAVE_IFADDRS_H 1
6974 _ACEOF
6978 done
6981 for ac_header in sys/ucontext.h
6982 do :
6983 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6985 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6986 cat >>confdefs.h <<_ACEOF
6987 #define HAVE_SYS_UCONTEXT_H 1
6988 _ACEOF
6992 done
6995 for ac_header in sys/thr.h
6996 do :
6997 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6998 #ifdef HAVE_SYS_UCONTEXT_H
6999 #include <sys/ucontext.h>
7000 #endif
7002 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7003 cat >>confdefs.h <<_ACEOF
7004 #define HAVE_SYS_THR_H 1
7005 _ACEOF
7009 done
7012 for ac_header in pthread_np.h
7013 do :
7014 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7015 #include <pthread.h>
7016 #endif
7018 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7019 cat >>confdefs.h <<_ACEOF
7020 #define HAVE_PTHREAD_NP_H 1
7021 _ACEOF
7025 done
7028 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7029 do :
7030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7031 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7032 #include <sys/time.h>
7033 #endif
7034 #include <sys/types.h>
7035 #ifdef HAVE_ASM_TYPES_H
7036 #include <asm/types.h>
7037 #endif
7039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7040 cat >>confdefs.h <<_ACEOF
7041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7042 _ACEOF
7046 done
7049 for ac_header in libprocstat.h
7050 do :
7051 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7052 #include <sys/param.h>
7053 #endif
7054 #ifdef HAVE_SYS_QUEUE_H
7055 #include <sys/queue.h>
7056 #endif
7057 #ifdef HAVE_SYS_SOCKET_H
7058 #include <sys/socket.h>
7059 #endif
7061 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7062 cat >>confdefs.h <<_ACEOF
7063 #define HAVE_LIBPROCSTAT_H 1
7064 _ACEOF
7068 done
7072 dlldir="\${libdir}/wine"
7074 DLLPREFIX=""
7076 DLLFLAGS="-D_REENTRANT"
7078 LDRPATH_INSTALL=""
7080 LDRPATH_LOCAL=""
7082 LIBEXT="so"
7083 DLLEXT=".so"
7084 IMPLIBEXT="def"
7085 STATIC_IMPLIBEXT="def.a"
7086 # Extract the first word of "ldd", so it can be a program name with args.
7087 set dummy ldd; ac_word=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_path_LDD+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 case $LDD in
7094 [\\/]* | ?:[\\/]*)
7095 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 as_dummy="/sbin:/usr/sbin:$PATH"
7100 for as_dir in $as_dummy
7102 IFS=$as_save_IFS
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7108 break 2
7110 done
7111 done
7112 IFS=$as_save_IFS
7114 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7116 esac
7118 LDD=$ac_cv_path_LDD
7119 if test -n "$LDD"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7121 $as_echo "$LDD" >&6; }
7122 else
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7128 if test -n "$ac_tool_prefix"; then
7129 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7130 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 $as_echo_n "checking for $ac_word... " >&6; }
7133 if ${ac_cv_prog_READELF+:} false; then :
7134 $as_echo_n "(cached) " >&6
7135 else
7136 if test -n "$READELF"; then
7137 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7138 else
7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 for as_dir in $PATH
7142 IFS=$as_save_IFS
7143 test -z "$as_dir" && as_dir=.
7144 for ac_exec_ext in '' $ac_executable_extensions; do
7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7148 break 2
7150 done
7151 done
7152 IFS=$as_save_IFS
7156 READELF=$ac_cv_prog_READELF
7157 if test -n "$READELF"; then
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7159 $as_echo "$READELF" >&6; }
7160 else
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7162 $as_echo "no" >&6; }
7167 if test -z "$ac_cv_prog_READELF"; then
7168 ac_ct_READELF=$READELF
7169 # Extract the first word of "readelf", so it can be a program name with args.
7170 set dummy readelf; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7174 $as_echo_n "(cached) " >&6
7175 else
7176 if test -n "$ac_ct_READELF"; then
7177 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7178 else
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 for as_dir in $PATH
7182 IFS=$as_save_IFS
7183 test -z "$as_dir" && as_dir=.
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_ac_ct_READELF="readelf"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 break 2
7190 done
7191 done
7192 IFS=$as_save_IFS
7196 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7197 if test -n "$ac_ct_READELF"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7199 $as_echo "$ac_ct_READELF" >&6; }
7200 else
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7205 if test "x$ac_ct_READELF" = x; then
7206 READELF="true"
7207 else
7208 case $cross_compiling:$ac_tool_warned in
7209 yes:)
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7212 ac_tool_warned=yes ;;
7213 esac
7214 READELF=$ac_ct_READELF
7216 else
7217 READELF="$ac_cv_prog_READELF"
7220 wine_rules_file=conf$$rules.make
7221 rm -f $wine_rules_file
7222 ALL_POT_FILES=""
7223 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7224 ALL_TEST_RESOURCES=""
7227 wine_fn_append_file ()
7229 as_fn_append $1 " \\$as_nl $2"
7232 wine_fn_ignore_file ()
7234 case "$1" in
7235 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7236 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7237 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7238 esac
7241 wine_fn_append_rule ()
7243 $as_echo "$1" >>$wine_rules_file
7246 wine_fn_has_flag ()
7248 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7251 wine_fn_depend_rules ()
7253 wine_fn_append_rule \
7254 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7255 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7256 depend: $ac_dir/depend
7257 .PHONY: $ac_dir/depend
7258 $ac_dir/depend: \$(MAKEDEP) dummy
7259 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7262 wine_fn_pot_rules ()
7264 test "x$with_gettextpo" = xyes || return
7266 if wine_fn_has_flag mc
7267 then
7268 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7269 wine_fn_append_rule \
7270 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7271 @cd $ac_dir && \$(MAKE) msg.pot
7272 $ac_dir/msg.pot: tools/wmc include"
7274 if wine_fn_has_flag po
7275 then
7276 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7277 wine_fn_append_rule \
7278 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7279 @cd $ac_dir && \$(MAKE) rsrc.pot
7280 $ac_dir/rsrc.pot: tools/wrc include"
7284 wine_fn_all_rules ()
7286 wine_fn_depend_rules
7287 wine_fn_append_rule \
7288 "all: $ac_dir
7289 .PHONY: $ac_dir
7290 $ac_dir: $ac_dir/Makefile dummy
7291 @cd $ac_dir && \$(MAKE)"
7294 wine_fn_install_rules ()
7296 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7298 wine_fn_append_rule \
7299 ".PHONY: $ac_dir/install $ac_dir/uninstall
7300 $ac_dir/install:: $ac_dir
7301 @cd $ac_dir && \$(MAKE) install
7302 $ac_dir/uninstall:: $ac_dir/Makefile
7303 @cd $ac_dir && \$(MAKE) uninstall
7304 install:: $ac_dir/install
7305 __uninstall__: $ac_dir/uninstall"
7307 if wine_fn_has_flag install-lib
7308 then
7309 wine_fn_append_rule \
7310 ".PHONY: $ac_dir/install-lib
7311 $ac_dir/install-lib:: $ac_dir
7312 @cd $ac_dir && \$(MAKE) install-lib
7313 install-lib:: $ac_dir/install-lib"
7316 if wine_fn_has_flag install-dev
7317 then
7318 wine_fn_append_rule \
7319 ".PHONY: $ac_dir/install-dev
7320 $ac_dir/install-dev:: $ac_dir
7321 @cd $ac_dir && \$(MAKE) install-dev
7322 install-dev:: $ac_dir/install-dev"
7326 wine_fn_clean_rules ()
7328 ac_clean=$@
7329 ac_extraclean="$ac_dir/Makefile"
7330 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7331 case $ac_dir in
7332 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7333 esac
7335 if wine_fn_has_flag clean
7336 then
7337 wine_fn_append_rule \
7338 "__clean__: $ac_dir/clean
7339 .PHONY: $ac_dir/clean
7340 $ac_dir/clean: $ac_dir/Makefile
7341 @cd $ac_dir && \$(MAKE) clean
7342 \$(RM) $ac_extraclean"
7343 else
7344 wine_fn_append_rule \
7345 "__clean__: $ac_dir/clean
7346 .PHONY: $ac_dir/clean
7347 $ac_dir/clean: dummy
7348 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7352 wine_fn_disabled_rules ()
7354 ac_clean=$@
7355 ac_extraclean="$ac_dir/Makefile"
7356 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7358 wine_fn_append_rule \
7359 "__clean__: $ac_dir/clean
7360 .PHONY: $ac_dir/clean
7361 $ac_dir/clean: dummy
7362 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7365 wine_fn_config_makefile ()
7367 ac_dir=$1
7368 ac_enable=$2
7369 ac_flags=$3
7371 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7372 wine_fn_disabled_rules; return
7374 wine_fn_all_rules
7375 wine_fn_install_rules
7376 wine_fn_clean_rules
7379 wine_fn_config_lib ()
7381 ac_name=$1
7382 ac_flags=$2
7383 ac_dir=dlls/$ac_name
7384 ac_deps="include"
7386 if test "x$enable_tools" = xno; then :
7388 else
7389 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7391 wine_fn_all_rules
7392 wine_fn_clean_rules
7394 wine_fn_append_rule \
7395 ".PHONY: $ac_dir/install $ac_dir/uninstall
7396 $ac_dir/install:: $ac_dir
7397 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7398 $ac_dir/uninstall::
7399 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7400 install install-dev:: $ac_dir/install
7401 __uninstall__: $ac_dir/uninstall
7402 __builddeps__: $ac_dir
7403 $ac_dir: $ac_deps"
7406 wine_fn_config_dll ()
7408 ac_name=$1
7409 ac_dir=dlls/$ac_name
7410 ac_enable=$2
7411 ac_flags=$3
7412 ac_implib=${4:-$ac_name}
7413 ac_file=$ac_dir/lib$ac_implib
7414 ac_dll=$ac_name
7415 ac_deps="include"
7416 ac_implibflags=""
7418 if test "x$enable_tools" = xno; then :
7420 else
7421 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7423 case $ac_name in
7424 *16) ac_implibflags=" -m16" ;;
7425 *.*) ;;
7426 *) ac_dll=$ac_dll.dll ;;
7427 esac
7429 ac_clean=
7430 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7431 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7432 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7433 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7435 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7436 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7437 then
7438 wine_fn_depend_rules
7439 wine_fn_clean_rules $ac_clean
7440 else
7441 wine_fn_disabled_rules $ac_clean
7442 return
7444 else
7445 wine_fn_all_rules
7446 wine_fn_clean_rules $ac_clean
7447 wine_fn_append_rule \
7448 "$ac_dir: __builddeps__
7449 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7450 @cd $ac_dir && \$(MAKE) \$@
7451 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7452 install install-lib:: $ac_dir/install-lib
7453 __uninstall__: $ac_dir/uninstall"
7454 if test -n "$DLLEXT"
7455 then
7456 wine_fn_append_rule \
7457 "$ac_dir/install-lib:: $ac_dir
7458 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7459 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7460 $ac_dir/uninstall::
7461 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7462 else
7463 wine_fn_append_rule \
7464 "$ac_dir/install-lib:: $ac_dir
7465 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7466 $ac_dir/uninstall::
7467 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7470 wine_fn_pot_rules
7473 if wine_fn_has_flag staticimplib
7474 then
7475 wine_fn_append_rule \
7476 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7477 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7478 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7479 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7480 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7481 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7482 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7483 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7484 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7485 $ac_dir/uninstall::
7486 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7487 install install-dev:: $ac_dir/install-dev
7488 __uninstall__: $ac_dir/uninstall"
7490 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7491 then
7492 wine_fn_append_rule \
7493 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7494 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7495 $ac_dir/uninstall::
7496 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7499 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7500 then
7501 wine_fn_append_rule \
7502 "__builddeps__: $ac_file.cross.a
7503 $ac_file.cross.a: $ac_dir/Makefile dummy
7504 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7507 elif wine_fn_has_flag implib
7508 then
7509 wine_fn_append_rule \
7510 "__builddeps__: $ac_file.$IMPLIBEXT
7511 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7512 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7513 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7514 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7515 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7516 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7517 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7518 $ac_dir/uninstall::
7519 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7520 install install-dev:: $ac_dir/install-dev
7521 __uninstall__: $ac_dir/uninstall"
7522 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7523 then
7524 wine_fn_append_rule \
7525 "__builddeps__: $ac_file.cross.a
7526 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7527 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7530 if test "$ac_name" != "$ac_implib"
7531 then
7532 wine_fn_append_rule \
7533 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7534 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7535 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7536 clean::
7537 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7538 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7539 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7540 then
7541 wine_fn_append_rule \
7542 "__builddeps__: dlls/lib$ac_implib.cross.a
7543 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7544 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7545 clean::
7546 \$(RM) dlls/lib$ac_implib.cross.a"
7547 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7553 wine_fn_config_program ()
7555 ac_name=$1
7556 ac_dir=programs/$ac_name
7557 ac_enable=$2
7558 ac_flags=$3
7559 ac_program=$ac_name
7561 case $ac_name in
7562 *.*) ;;
7563 *) ac_program=$ac_program.exe ;;
7564 esac
7566 ac_clean=
7567 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7568 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7569 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7570 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7572 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7573 wine_fn_disabled_rules $ac_clean; return
7576 wine_fn_all_rules
7577 wine_fn_clean_rules $ac_clean
7578 wine_fn_append_rule "$ac_dir: __builddeps__"
7579 wine_fn_pot_rules
7581 wine_fn_has_flag install || return
7582 wine_fn_append_rule \
7583 ".PHONY: $ac_dir/install $ac_dir/uninstall
7584 install install-lib:: $ac_dir/install
7585 __uninstall__: $ac_dir/uninstall"
7587 if test -n "$DLLEXT"
7588 then
7589 wine_fn_append_rule \
7590 "$ac_dir/install:: $ac_dir
7591 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7592 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7593 $ac_dir/uninstall::
7594 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7596 if test -z "$with_wine64" && wine_fn_has_flag installbin
7597 then
7598 wine_fn_append_rule \
7599 "$ac_dir/install:: __tooldeps__
7600 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7601 $ac_dir/uninstall::
7602 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7604 else
7605 wine_fn_append_rule \
7606 "$ac_dir/install:: $ac_dir
7607 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7608 $ac_dir/uninstall::
7609 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7612 if test -z "$with_wine64" && wine_fn_has_flag manpage
7613 then
7614 wine_fn_append_rule \
7615 "$ac_dir/install:: $ac_dir
7616 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7617 $ac_dir/uninstall::
7618 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7622 wine_fn_config_test ()
7624 ac_dir=$1
7625 ac_name=$2
7626 ac_flags=$3
7628 ac_clean=
7629 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7630 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7632 if test "x$enable_tests" = xno; then :
7633 wine_fn_disabled_rules $ac_clean; return
7636 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7637 wine_fn_all_rules
7638 wine_fn_clean_rules $ac_clean
7640 wine_fn_append_rule \
7641 "$ac_dir: programs/winetest/Makefile __builddeps__
7642 programs/winetest: $ac_dir
7643 check test: $ac_dir/test
7644 .PHONY: $ac_dir/test
7645 $ac_dir/test: dummy
7646 @cd $ac_dir && \$(MAKE) test
7647 testclean::
7648 \$(RM) $ac_dir/*.ok"
7650 if test -n "$CROSSTARGET"
7651 then
7652 wine_fn_append_rule \
7653 "crosstest: $ac_dir/crosstest
7654 .PHONY: $ac_dir/crosstest
7655 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7656 @cd $ac_dir && \$(MAKE) crosstest"
7660 wine_fn_config_tool ()
7662 ac_dir=$1
7663 ac_flags=$2
7664 if test "x$enable_tools" = xno; then :
7665 return
7668 wine_fn_all_rules
7669 wine_fn_install_rules
7670 wine_fn_clean_rules
7672 wine_fn_append_rule "__tooldeps__: $ac_dir"
7673 wine_fn_append_rule "$ac_dir: libs/port"
7674 case $ac_dir in
7675 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7676 esac
7679 wine_fn_config_symlink ()
7681 ac_linkdir=
7682 if test "x$1" = "x-d"
7683 then
7684 ac_linkdir=$2
7685 shift; shift
7687 ac_links=$@
7688 wine_fn_append_rule \
7689 "$ac_links:
7690 @./config.status \$@
7691 distclean::
7692 \$(RM) $ac_links"
7693 for f in $ac_links; do wine_fn_ignore_file $f; done
7694 test -n "$ac_linkdir" || return
7695 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7698 wine_binary="wine"
7699 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7700 loader_programs="$wine_binary wine-installed"
7701 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7703 LOADER_RULES="
7704 all: wine.inf
7706 install install-lib:: wine-installed
7707 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7709 uninstall::
7710 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7714 case $host_os in
7715 cygwin*|mingw32*)
7716 if test -n "$ac_tool_prefix"; then
7717 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7718 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if ${ac_cv_prog_DLLTOOL+:} false; then :
7722 $as_echo_n "(cached) " >&6
7723 else
7724 if test -n "$DLLTOOL"; then
7725 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7726 else
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 for as_dir in $PATH
7730 IFS=$as_save_IFS
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 break 2
7738 done
7739 done
7740 IFS=$as_save_IFS
7744 DLLTOOL=$ac_cv_prog_DLLTOOL
7745 if test -n "$DLLTOOL"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7747 $as_echo "$DLLTOOL" >&6; }
7748 else
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7755 if test -z "$ac_cv_prog_DLLTOOL"; then
7756 ac_ct_DLLTOOL=$DLLTOOL
7757 # Extract the first word of "dlltool", so it can be a program name with args.
7758 set dummy dlltool; ac_word=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7762 $as_echo_n "(cached) " >&6
7763 else
7764 if test -n "$ac_ct_DLLTOOL"; then
7765 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7766 else
7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 for as_dir in $PATH
7770 IFS=$as_save_IFS
7771 test -z "$as_dir" && as_dir=.
7772 for ac_exec_ext in '' $ac_executable_extensions; do
7773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 break 2
7778 done
7779 done
7780 IFS=$as_save_IFS
7784 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7785 if test -n "$ac_ct_DLLTOOL"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7787 $as_echo "$ac_ct_DLLTOOL" >&6; }
7788 else
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7793 if test "x$ac_ct_DLLTOOL" = x; then
7794 DLLTOOL="false"
7795 else
7796 case $cross_compiling:$ac_tool_warned in
7797 yes:)
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7800 ac_tool_warned=yes ;;
7801 esac
7802 DLLTOOL=$ac_ct_DLLTOOL
7804 else
7805 DLLTOOL="$ac_cv_prog_DLLTOOL"
7808 LIBEXT="dll"
7809 DLLEXT=""
7810 IMPLIBEXT="a"
7811 STATIC_IMPLIBEXT="a"
7812 enable_iphlpapi=${enable_iphlpapi:-no}
7813 enable_kernel32=${enable_kernel32:-no}
7814 enable_msvcrt=${enable_msvcrt:-no}
7815 enable_ntdll=${enable_ntdll:-no}
7816 enable_ws2_32=${enable_ws2_32:-no}
7817 enable_loader=${enable_loader:-no}
7818 enable_server=${enable_server:-no}
7819 with_x=${with_x:-no}
7820 with_pthread=${with_pthread:-no}
7822 crtlibs=""
7823 case $host_os in
7824 mingw32*)
7825 crtlibs="-lmsvcrt"
7826 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7828 esac
7830 libwine_targets="libwine.dll libwine.a"
7831 LIBWINE_RULES="
7832 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7834 all: libwine.dll libwine.a
7836 libwine.a: \$(srcdir)/wine.def
7837 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7839 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7840 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7842 install install-lib:: libwine.dll
7843 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7845 install install-dev:: libwine.a
7846 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7848 uninstall::
7849 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7854 darwin*|macosx*)
7855 for ac_header in libunwind.h
7856 do :
7857 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7859 cat >>confdefs.h <<_ACEOF
7860 #define HAVE_LIBUNWIND_H 1
7861 _ACEOF
7865 done
7867 LIBEXT="dylib"
7868 DLLFLAGS="$DLLFLAGS -fPIC"
7869 LIBWINE_LDFLAGS="-multiply_defined suppress"
7870 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7871 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7872 COREFOUNDATION_LIBS="-framework CoreFoundation"
7874 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7876 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7878 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7880 CORESERVICES_LIBS="-framework CoreServices"
7882 APPKIT_LIBS="-framework AppKit"
7884 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7886 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7887 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 ac_wine_try_cflags_saved=$CFLAGS
7891 CFLAGS="$CFLAGS -Wl,-no_pie"
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 int main(int argc, char **argv) { return 0; }
7895 _ACEOF
7896 if ac_fn_c_try_link "$LINENO"; then :
7897 ac_cv_cflags__Wl__no_pie=yes
7898 else
7899 ac_cv_cflags__Wl__no_pie=no
7901 rm -f core conftest.err conftest.$ac_objext \
7902 conftest$ac_exeext conftest.$ac_ext
7903 CFLAGS=$ac_wine_try_cflags_saved
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7906 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7907 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7908 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7910 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7911 then
7912 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7915 if test "$ac_cv_header_Security_Security_h" = "yes"
7916 then
7917 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7919 ac_save_LIBS="$LIBS"
7920 LIBS="$LIBS $SECURITY_LIBS"
7921 for ac_func in SSLCopyPeerCertificates
7922 do :
7923 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7924 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7925 cat >>confdefs.h <<_ACEOF
7926 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7927 _ACEOF
7930 done
7932 LIBS="$ac_save_LIBS"
7933 with_gnutls=${with_gnutls:-no}
7935 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7936 then
7937 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7938 then
7939 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7941 else
7942 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7945 ac_save_LIBS="$LIBS"
7946 LIBS="$LIBS $COREAUDIO_LIBS"
7947 for ac_func in AUGraphAddNode
7948 do :
7949 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7950 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7951 cat >>confdefs.h <<_ACEOF
7952 #define HAVE_AUGRAPHADDNODE 1
7953 _ACEOF
7956 done
7958 LIBS="$ac_save_LIBS"
7960 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7961 then
7962 OPENAL_LIBS="-framework OpenAL"
7965 cat >>confdefs.h <<_ACEOF
7966 #define HAVE_OPENAL 1
7967 _ACEOF
7969 ac_cv_lib_openal=yes
7971 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7972 then
7973 OPENCL_LIBS="-framework OpenCL"
7975 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7977 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7978 then
7979 ac_save_LIBS="$LIBS"
7980 LIBS="$LIBS $IOKIT_LIBS"
7981 for ac_func in IOHIDManagerCreate
7982 do :
7983 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7984 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7985 cat >>confdefs.h <<_ACEOF
7986 #define HAVE_IOHIDMANAGERCREATE 1
7987 _ACEOF
7990 done
7992 LIBS="$ac_save_LIBS"
7994 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7995 then
7996 ac_save_LIBS="$LIBS"
7997 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7999 $as_echo_n "checking for the QuickTime framework... " >&6; }
8000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8002 #include <QuickTime/ImageCompression.h>
8004 main ()
8006 CodecManagerVersion(NULL);
8008 return 0;
8010 _ACEOF
8011 if ac_fn_c_try_link "$LINENO"; then :
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8013 $as_echo "yes" >&6; }
8014 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8016 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8020 ac_cv_header_QuickTime_ImageCompression_h=no
8022 rm -f core conftest.err conftest.$ac_objext \
8023 conftest$ac_exeext conftest.$ac_ext
8024 LIBS="$ac_save_LIBS"
8026 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8027 then
8028 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8030 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8031 then
8032 CARBON_LIBS="-framework Carbon"
8036 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8037 then
8038 ac_save_LIBS="$LIBS"
8039 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8040 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8041 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8042 enable_winemac_drv=${enable_winemac_drv:-yes}
8045 LIBS="$ac_save_LIBS"
8048 if test "x$enable_win16" = "xyes"
8049 then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8051 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8052 if test "$cross_compiling" = yes; then :
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8054 $as_echo "cross-compiling, assuming yes" >&6; }
8055 else
8056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8057 /* end confdefs.h. */
8058 asm(".text\n"
8059 "bad:\tnop;nop\n"
8060 "good:\tnop;nop\n\t"
8061 ".globl _testfunc\n"
8062 "_testfunc:\tcallw good");
8063 extern void testfunc();
8065 main ()
8067 unsigned short *p = (unsigned short *)testfunc;
8068 return p[0] != 0xe866 || p[1] != 0xfffa
8070 return 0;
8072 _ACEOF
8073 if ac_fn_c_try_run "$LINENO"; then :
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8075 $as_echo "yes" >&6; }
8076 else
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8079 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
8081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8082 conftest.$ac_objext conftest.beam conftest.$ac_ext
8087 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8088 LIBWINE_RULES="
8089 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8091 all: libwine.dylib
8093 libwine.$libwine_version.dylib: \$(OBJS)
8094 \$(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 \$@
8096 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8097 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8099 libwine.dylib: libwine.$libwine_soversion.dylib
8100 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8102 install install-lib:: libwine.$libwine_version.dylib
8103 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8104 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8106 install install-dev::
8107 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8109 uninstall::
8110 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8114 as_fn_append LOADER_RULES "
8115 $wine_binary: main.o wine_info.plist
8116 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8118 wine-installed: main.o wine_info.plist
8119 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8123 linux-android*)
8124 DLLFLAGS="$DLLFLAGS -fPIC"
8125 DLLPREFIX="lib"
8126 LDEXECFLAGS=""
8127 dlldir="\${libdir}"
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8129 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8130 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8131 $as_echo_n "(cached) " >&6
8132 else
8133 ac_wine_try_cflags_saved=$CFLAGS
8134 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8137 int main(int argc, char **argv) { return 0; }
8138 _ACEOF
8139 if ac_fn_c_try_link "$LINENO"; then :
8140 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8141 else
8142 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8144 rm -f core conftest.err conftest.$ac_objext \
8145 conftest$ac_exeext conftest.$ac_ext
8146 CFLAGS=$ac_wine_try_cflags_saved
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8149 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8150 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8151 LDEXECFLAGS="-Wl,--export-dynamic"
8153 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8156 if eval \${$as_ac_var+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 ac_wine_try_cflags_saved=$CFLAGS
8160 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 int main(int argc, char **argv) { return 0; }
8164 _ACEOF
8165 if ac_fn_c_try_link "$LINENO"; then :
8166 eval "$as_ac_var=yes"
8167 else
8168 eval "$as_ac_var=no"
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 CFLAGS=$ac_wine_try_cflags_saved
8174 eval ac_res=\$$as_ac_var
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8176 $as_echo "$ac_res" >&6; }
8177 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8178 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8179 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8180 else
8181 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8183 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8184 if eval \${$as_ac_var+:} false; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8187 ac_wine_try_cflags_saved=$CFLAGS
8188 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8190 /* end confdefs.h. */
8191 int main(int argc, char **argv) { return 0; }
8192 _ACEOF
8193 if ac_fn_c_try_link "$LINENO"; then :
8194 eval "$as_ac_var=yes"
8195 else
8196 eval "$as_ac_var=no"
8198 rm -f core conftest.err conftest.$ac_objext \
8199 conftest$ac_exeext conftest.$ac_ext
8200 CFLAGS=$ac_wine_try_cflags_saved
8202 eval ac_res=\$$as_ac_var
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8204 $as_echo "$ac_res" >&6; }
8205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8206 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8207 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8212 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8213 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 ac_wine_try_cflags_saved=$CFLAGS
8217 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8221 _ACEOF
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 ac_cv_cflags__Wl___enable_new_dtags=yes
8224 else
8225 ac_cv_cflags__Wl___enable_new_dtags=no
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8229 CFLAGS=$ac_wine_try_cflags_saved
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8232 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8233 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8234 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8237 case $host_cpu in
8238 *i[3456789]86* | x86_64)
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8240 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8241 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8242 $as_echo_n "(cached) " >&6
8243 else
8244 ac_wine_try_cflags_saved=$CFLAGS
8245 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8249 _ACEOF
8250 if ac_fn_c_try_link "$LINENO"; then :
8251 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8252 else
8253 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8255 rm -f core conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 CFLAGS=$ac_wine_try_cflags_saved
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8260 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8261 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8262 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8265 esac
8267 libwine_targets="libwine.so"
8268 LIBWINE_RULES="
8269 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8271 all: libwine.so
8273 libwine.so: \$(OBJS)
8274 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8276 install install-lib:: libwine.so
8277 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8279 uninstall::
8280 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8284 as_fn_append LOADER_RULES "
8285 $wine_binary: main.o
8286 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8288 wine-installed: main.o
8289 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8294 DLLFLAGS="$DLLFLAGS -fPIC"
8295 LDEXECFLAGS=""
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8297 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8298 if ${ac_cv_c_dll_gnuelf+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 void myfunc() {}
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_c_dll_gnuelf="yes"
8309 else
8310 ac_cv_c_dll_gnuelf="no"
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8317 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8318 if test "$ac_cv_c_dll_gnuelf" = "yes"
8319 then
8320 LDSHARED="\$(CC) -shared"
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8322 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8323 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8324 $as_echo_n "(cached) " >&6
8325 else
8326 ac_wine_try_cflags_saved=$CFLAGS
8327 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8329 /* end confdefs.h. */
8330 int main(int argc, char **argv) { return 0; }
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8334 else
8335 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8337 rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 CFLAGS=$ac_wine_try_cflags_saved
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8342 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8343 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8344 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8345 else
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8347 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8348 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 ac_wine_try_cflags_saved=$CFLAGS
8352 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8355 int main(int argc, char **argv) { return 0; }
8356 _ACEOF
8357 if ac_fn_c_try_link "$LINENO"; then :
8358 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8359 else
8360 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8362 rm -f core conftest.err conftest.$ac_objext \
8363 conftest$ac_exeext conftest.$ac_ext
8364 CFLAGS=$ac_wine_try_cflags_saved
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8367 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8368 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8369 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8373 echo '{ global: *; };' >conftest.map
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8375 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8376 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8377 $as_echo_n "(cached) " >&6
8378 else
8379 ac_wine_try_cflags_saved=$CFLAGS
8380 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8383 int main(int argc, char **argv) { return 0; }
8384 _ACEOF
8385 if ac_fn_c_try_link "$LINENO"; then :
8386 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8387 else
8388 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 CFLAGS=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8395 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8396 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8397 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8399 rm -f conftest.map
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8402 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8403 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8404 $as_echo_n "(cached) " >&6
8405 else
8406 ac_wine_try_cflags_saved=$CFLAGS
8407 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h. */
8410 int main(int argc, char **argv) { return 0; }
8411 _ACEOF
8412 if ac_fn_c_try_link "$LINENO"; then :
8413 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8414 else
8415 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8417 rm -f core conftest.err conftest.$ac_objext \
8418 conftest$ac_exeext conftest.$ac_ext
8419 CFLAGS=$ac_wine_try_cflags_saved
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8422 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8423 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8424 LDEXECFLAGS="-Wl,--export-dynamic"
8427 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8430 if eval \${$as_ac_var+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 eval "$as_ac_var=yes"
8441 else
8442 eval "$as_ac_var=no"
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 eval ac_res=\$$as_ac_var
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8450 $as_echo "$ac_res" >&6; }
8451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8452 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8453 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8454 else
8455 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8458 if eval \${$as_ac_var+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 eval "$as_ac_var=yes"
8469 else
8470 eval "$as_ac_var=no"
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 eval ac_res=\$$as_ac_var
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8478 $as_echo "$ac_res" >&6; }
8479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8480 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8481 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8486 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8487 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 ac_cv_cflags__Wl___enable_new_dtags=yes
8498 else
8499 ac_cv_cflags__Wl___enable_new_dtags=no
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8506 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8507 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8508 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8511 case $host_cpu in
8512 *i[3456789]86* | x86_64)
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8514 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8515 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_wine_try_cflags_saved=$CFLAGS
8519 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8526 else
8527 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 CFLAGS=$ac_wine_try_cflags_saved
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8534 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8535 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8536 case $host_os in
8537 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8538 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8539 esac
8542 # Extract the first word of "prelink", so it can be a program name with args.
8543 set dummy prelink; ac_word=$2
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8545 $as_echo_n "checking for $ac_word... " >&6; }
8546 if ${ac_cv_path_PRELINK+:} false; then :
8547 $as_echo_n "(cached) " >&6
8548 else
8549 case $PRELINK in
8550 [\\/]* | ?:[\\/]*)
8551 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8555 for as_dir in /sbin /usr/sbin $PATH
8557 IFS=$as_save_IFS
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8561 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8563 break 2
8565 done
8566 done
8567 IFS=$as_save_IFS
8569 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8571 esac
8573 PRELINK=$ac_cv_path_PRELINK
8574 if test -n "$PRELINK"; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8576 $as_echo "$PRELINK" >&6; }
8577 else
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8579 $as_echo "no" >&6; }
8583 if test "x$PRELINK" = xfalse
8584 then
8585 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8588 esac
8590 else
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8592 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8593 if ${ac_cv_c_dll_unixware+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 ac_wine_try_cflags_saved=$CFLAGS
8597 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 void myfunc() {}
8601 _ACEOF
8602 if ac_fn_c_try_link "$LINENO"; then :
8603 ac_cv_c_dll_unixware="yes"
8604 else
8605 ac_cv_c_dll_unixware="no"
8607 rm -f core conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8612 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8613 if test "$ac_cv_c_dll_unixware" = "yes"
8614 then
8615 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8618 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8619 LIBWINE_RULES="
8620 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8622 all: libwine.so
8624 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8625 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8627 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8628 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8630 libwine.so: libwine.so.$libwine_soversion
8631 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8633 install install-lib:: libwine.so.$libwine_version
8634 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8635 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8637 install install-dev::
8638 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8640 uninstall::
8641 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8645 as_fn_append LOADER_RULES "
8646 $wine_binary: main.o
8647 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8649 wine-installed: main.o
8650 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8653 esac
8655 as_fn_append LIBWINE_RULES "
8656 EXTRA_TARGETS = $libwine_targets
8659 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8660 enable_winemac_drv=${enable_winemac_drv:-no}
8662 CROSSTARGET=""
8664 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8665 then
8666 case "$host_cpu" in
8667 i[3456789]86*)
8668 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
8669 mingw32-gcc" ;;
8670 x86_64)
8671 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 " ;;
8673 ac_prefix_list="" ;;
8674 esac
8675 for ac_prog in $ac_prefix_list
8677 # Extract the first word of "$ac_prog", so it can be a program name with args.
8678 set dummy $ac_prog; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8680 $as_echo_n "checking for $ac_word... " >&6; }
8681 if ${ac_cv_prog_CROSSCC+:} false; then :
8682 $as_echo_n "(cached) " >&6
8683 else
8684 if test -n "$CROSSCC"; then
8685 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8686 else
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8688 for as_dir in $PATH
8690 IFS=$as_save_IFS
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8694 ac_cv_prog_CROSSCC="$ac_prog"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8696 break 2
8698 done
8699 done
8700 IFS=$as_save_IFS
8704 CROSSCC=$ac_cv_prog_CROSSCC
8705 if test -n "$CROSSCC"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8707 $as_echo "$CROSSCC" >&6; }
8708 else
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8714 test -n "$CROSSCC" && break
8715 done
8716 test -n "$CROSSCC" || CROSSCC="false"
8718 if test "$CROSSCC" != "false"
8719 then
8720 ac_save_CC="$CC"
8721 CC="$CROSSCC"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8723 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8728 main ()
8732 return 0;
8734 _ACEOF
8735 if ac_fn_c_try_compile "$LINENO"; then :
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8737 $as_echo "yes" >&6; }
8738 set x $CROSSCC
8739 shift
8740 while test $# -ge 1
8742 case "$1" in
8743 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8744 esac
8745 shift
8746 done
8747 else
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749 $as_echo "no" >&6; }
8751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8752 CC="$ac_save_CC"
8757 if test "$ac_cv_header_pthread_h" = "yes"
8758 then
8759 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8760 if test "x$ac_cv_func_pthread_create" = xyes; then :
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8764 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8765 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_check_lib_save_LIBS=$LIBS
8769 LIBS="-lpthread $LIBS"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8773 /* Override any GCC internal prototype to avoid an error.
8774 Use char because int might match the return type of a GCC
8775 builtin and then its argument prototype would still apply. */
8776 #ifdef __cplusplus
8777 extern "C"
8778 #endif
8779 char pthread_create ();
8781 main ()
8783 return pthread_create ();
8785 return 0;
8787 _ACEOF
8788 if ac_fn_c_try_link "$LINENO"; then :
8789 ac_cv_lib_pthread_pthread_create=yes
8790 else
8791 ac_cv_lib_pthread_pthread_create=no
8793 rm -f core conftest.err conftest.$ac_objext \
8794 conftest$ac_exeext conftest.$ac_ext
8795 LIBS=$ac_check_lib_save_LIBS
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8798 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8799 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8800 PTHREAD_LIBS="-lpthread"
8807 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8808 case "x$with_pthread" in
8809 xno) ;;
8810 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8811 Wine cannot support threads without libpthread.
8812 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8813 esac
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8818 $as_echo_n "checking for X... " >&6; }
8821 # Check whether --with-x was given.
8822 if test "${with_x+set}" = set; then :
8823 withval=$with_x;
8826 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8827 if test "x$with_x" = xno; then
8828 # The user explicitly disabled X.
8829 have_x=disabled
8830 else
8831 case $x_includes,$x_libraries in #(
8832 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8833 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 # One or both of the vars are not set, and there is no cached value.
8837 ac_x_includes=no ac_x_libraries=no
8838 rm -f -r conftest.dir
8839 if mkdir conftest.dir; then
8840 cd conftest.dir
8841 cat >Imakefile <<'_ACEOF'
8842 incroot:
8843 @echo incroot='${INCROOT}'
8844 usrlibdir:
8845 @echo usrlibdir='${USRLIBDIR}'
8846 libdir:
8847 @echo libdir='${LIBDIR}'
8848 _ACEOF
8849 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8851 for ac_var in incroot usrlibdir libdir; do
8852 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8853 done
8854 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8855 for ac_extension in a so sl dylib la dll; do
8856 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8857 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8858 ac_im_usrlibdir=$ac_im_libdir; break
8860 done
8861 # Screen out bogus values from the imake configuration. They are
8862 # bogus both because they are the default anyway, and because
8863 # using them would break gcc on systems where it needs fixed includes.
8864 case $ac_im_incroot in
8865 /usr/include) ac_x_includes= ;;
8866 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8867 esac
8868 case $ac_im_usrlibdir in
8869 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8870 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8871 esac
8873 cd ..
8874 rm -f -r conftest.dir
8877 # Standard set of common directories for X headers.
8878 # Check X11 before X11Rn because it is often a symlink to the current release.
8879 ac_x_header_dirs='
8880 /usr/X11/include
8881 /usr/X11R7/include
8882 /usr/X11R6/include
8883 /usr/X11R5/include
8884 /usr/X11R4/include
8886 /usr/include/X11
8887 /usr/include/X11R7
8888 /usr/include/X11R6
8889 /usr/include/X11R5
8890 /usr/include/X11R4
8892 /usr/local/X11/include
8893 /usr/local/X11R7/include
8894 /usr/local/X11R6/include
8895 /usr/local/X11R5/include
8896 /usr/local/X11R4/include
8898 /usr/local/include/X11
8899 /usr/local/include/X11R7
8900 /usr/local/include/X11R6
8901 /usr/local/include/X11R5
8902 /usr/local/include/X11R4
8904 /usr/X386/include
8905 /usr/x386/include
8906 /usr/XFree86/include/X11
8908 /usr/include
8909 /usr/local/include
8910 /usr/unsupported/include
8911 /usr/athena/include
8912 /usr/local/x11r5/include
8913 /usr/lpp/Xamples/include
8915 /usr/openwin/include
8916 /usr/openwin/share/include'
8918 if test "$ac_x_includes" = no; then
8919 # Guess where to find include files, by looking for Xlib.h.
8920 # First, try using that file with no special directory specified.
8921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8923 #include <X11/Xlib.h>
8924 _ACEOF
8925 if ac_fn_c_try_cpp "$LINENO"; then :
8926 # We can compile using X headers with no special include directory.
8927 ac_x_includes=
8928 else
8929 for ac_dir in $ac_x_header_dirs; do
8930 if test -r "$ac_dir/X11/Xlib.h"; then
8931 ac_x_includes=$ac_dir
8932 break
8934 done
8936 rm -f conftest.err conftest.i conftest.$ac_ext
8937 fi # $ac_x_includes = no
8939 if test "$ac_x_libraries" = no; then
8940 # Check for the libraries.
8941 # See if we find them without any special options.
8942 # Don't add to $LIBS permanently.
8943 ac_save_LIBS=$LIBS
8944 LIBS="-lX11 $LIBS"
8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8946 /* end confdefs.h. */
8947 #include <X11/Xlib.h>
8949 main ()
8951 XrmInitialize ()
8953 return 0;
8955 _ACEOF
8956 if ac_fn_c_try_link "$LINENO"; then :
8957 LIBS=$ac_save_LIBS
8958 # We can link X programs with no special library path.
8959 ac_x_libraries=
8960 else
8961 LIBS=$ac_save_LIBS
8962 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8964 # Don't even attempt the hair of trying to link an X program!
8965 for ac_extension in a so sl dylib la dll; do
8966 if test -r "$ac_dir/libX11.$ac_extension"; then
8967 ac_x_libraries=$ac_dir
8968 break 2
8970 done
8971 done
8973 rm -f core conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 fi # $ac_x_libraries = no
8977 case $ac_x_includes,$ac_x_libraries in #(
8978 no,* | *,no | *\'*)
8979 # Didn't find X, or a directory has "'" in its name.
8980 ac_cv_have_x="have_x=no";; #(
8982 # Record where we found X for the cache.
8983 ac_cv_have_x="have_x=yes\
8984 ac_x_includes='$ac_x_includes'\
8985 ac_x_libraries='$ac_x_libraries'"
8986 esac
8988 ;; #(
8989 *) have_x=yes;;
8990 esac
8991 eval "$ac_cv_have_x"
8992 fi # $with_x != no
8994 if test "$have_x" != yes; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8996 $as_echo "$have_x" >&6; }
8997 no_x=yes
8998 else
8999 # If each of the values was on the command line, it overrides each guess.
9000 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9001 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9002 # Update the cache value to reflect the command line values.
9003 ac_cv_have_x="have_x=yes\
9004 ac_x_includes='$x_includes'\
9005 ac_x_libraries='$x_libraries'"
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9007 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9010 if test "$no_x" = yes; then
9011 # Not all programs may use this symbol, but it does not hurt to define it.
9013 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9015 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9016 else
9017 if test -n "$x_includes"; then
9018 X_CFLAGS="$X_CFLAGS -I$x_includes"
9021 # It would also be nice to do this for all -L options, not just this one.
9022 if test -n "$x_libraries"; then
9023 X_LIBS="$X_LIBS -L$x_libraries"
9024 # For Solaris; some versions of Sun CC require a space after -R and
9025 # others require no space. Words are not sufficient . . . .
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9027 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9028 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9029 ac_xsave_c_werror_flag=$ac_c_werror_flag
9030 ac_c_werror_flag=yes
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9035 main ()
9039 return 0;
9041 _ACEOF
9042 if ac_fn_c_try_link "$LINENO"; then :
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9045 X_LIBS="$X_LIBS -R$x_libraries"
9046 else
9047 LIBS="$ac_xsave_LIBS -R $x_libraries"
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9052 main ()
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_link "$LINENO"; then :
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9061 $as_echo "yes" >&6; }
9062 X_LIBS="$X_LIBS -R $x_libraries"
9063 else
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9065 $as_echo "neither works" >&6; }
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9070 rm -f core conftest.err conftest.$ac_objext \
9071 conftest$ac_exeext conftest.$ac_ext
9072 ac_c_werror_flag=$ac_xsave_c_werror_flag
9073 LIBS=$ac_xsave_LIBS
9076 # Check for system-dependent libraries X programs must link with.
9077 # Do this before checking for the system-independent R6 libraries
9078 # (-lICE), since we may need -lsocket or whatever for X linking.
9080 if test "$ISC" = yes; then
9081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9082 else
9083 # Martyn Johnson says this is needed for Ultrix, if the X
9084 # libraries were built with DECnet support. And Karl Berry says
9085 # the Alpha needs dnet_stub (dnet does not exist).
9086 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9090 /* Override any GCC internal prototype to avoid an error.
9091 Use char because int might match the return type of a GCC
9092 builtin and then its argument prototype would still apply. */
9093 #ifdef __cplusplus
9094 extern "C"
9095 #endif
9096 char XOpenDisplay ();
9098 main ()
9100 return XOpenDisplay ();
9102 return 0;
9104 _ACEOF
9105 if ac_fn_c_try_link "$LINENO"; then :
9107 else
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9109 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9110 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9111 $as_echo_n "(cached) " >&6
9112 else
9113 ac_check_lib_save_LIBS=$LIBS
9114 LIBS="-ldnet $LIBS"
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9121 #ifdef __cplusplus
9122 extern "C"
9123 #endif
9124 char dnet_ntoa ();
9126 main ()
9128 return dnet_ntoa ();
9130 return 0;
9132 _ACEOF
9133 if ac_fn_c_try_link "$LINENO"; then :
9134 ac_cv_lib_dnet_dnet_ntoa=yes
9135 else
9136 ac_cv_lib_dnet_dnet_ntoa=no
9138 rm -f core conftest.err conftest.$ac_objext \
9139 conftest$ac_exeext conftest.$ac_ext
9140 LIBS=$ac_check_lib_save_LIBS
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9143 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9144 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9145 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9148 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9150 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9151 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9152 $as_echo_n "(cached) " >&6
9153 else
9154 ac_check_lib_save_LIBS=$LIBS
9155 LIBS="-ldnet_stub $LIBS"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9159 /* Override any GCC internal prototype to avoid an error.
9160 Use char because int might match the return type of a GCC
9161 builtin and then its argument prototype would still apply. */
9162 #ifdef __cplusplus
9163 extern "C"
9164 #endif
9165 char dnet_ntoa ();
9167 main ()
9169 return dnet_ntoa ();
9171 return 0;
9173 _ACEOF
9174 if ac_fn_c_try_link "$LINENO"; then :
9175 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9176 else
9177 ac_cv_lib_dnet_stub_dnet_ntoa=no
9179 rm -f core conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 LIBS=$ac_check_lib_save_LIBS
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9184 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9185 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 LIBS="$ac_xsave_LIBS"
9195 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9196 # to get the SysV transport functions.
9197 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9198 # needs -lnsl.
9199 # The nsl library prevents programs from opening the X display
9200 # on Irix 5.2, according to T.E. Dickey.
9201 # The functions gethostbyname, getservbyname, and inet_addr are
9202 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9203 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9204 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9208 if test $ac_cv_func_gethostbyname = no; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9210 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9211 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_check_lib_save_LIBS=$LIBS
9215 LIBS="-lnsl $LIBS"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char gethostbyname ();
9227 main ()
9229 return gethostbyname ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 ac_cv_lib_nsl_gethostbyname=yes
9236 else
9237 ac_cv_lib_nsl_gethostbyname=no
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9244 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9245 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9249 if test $ac_cv_lib_nsl_gethostbyname = no; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9251 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9252 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 ac_check_lib_save_LIBS=$LIBS
9256 LIBS="-lbsd $LIBS"
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9260 /* Override any GCC internal prototype to avoid an error.
9261 Use char because int might match the return type of a GCC
9262 builtin and then its argument prototype would still apply. */
9263 #ifdef __cplusplus
9264 extern "C"
9265 #endif
9266 char gethostbyname ();
9268 main ()
9270 return gethostbyname ();
9272 return 0;
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 ac_cv_lib_bsd_gethostbyname=yes
9277 else
9278 ac_cv_lib_bsd_gethostbyname=no
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 LIBS=$ac_check_lib_save_LIBS
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9285 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9286 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9293 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9294 # socket/setsockopt and other routines are undefined under SCO ODT
9295 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9296 # on later versions), says Simon Leinen: it contains gethostby*
9297 # variants that don't use the name server (or something). -lsocket
9298 # must be given before -lnsl if both are needed. We assume that
9299 # if connect needs -lnsl, so does gethostbyname.
9300 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9301 if test "x$ac_cv_func_connect" = xyes; then :
9305 if test $ac_cv_func_connect = no; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9307 $as_echo_n "checking for connect in -lsocket... " >&6; }
9308 if ${ac_cv_lib_socket_connect+:} false; then :
9309 $as_echo_n "(cached) " >&6
9310 else
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9319 #ifdef __cplusplus
9320 extern "C"
9321 #endif
9322 char connect ();
9324 main ()
9326 return connect ();
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_socket_connect=yes
9333 else
9334 ac_cv_lib_socket_connect=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9341 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9342 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9343 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9348 # Guillermo Gomez says -lposix is necessary on A/UX.
9349 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9350 if test "x$ac_cv_func_remove" = xyes; then :
9354 if test $ac_cv_func_remove = no; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9356 $as_echo_n "checking for remove in -lposix... " >&6; }
9357 if ${ac_cv_lib_posix_remove+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_check_lib_save_LIBS=$LIBS
9361 LIBS="-lposix $LIBS"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9365 /* Override any GCC internal prototype to avoid an error.
9366 Use char because int might match the return type of a GCC
9367 builtin and then its argument prototype would still apply. */
9368 #ifdef __cplusplus
9369 extern "C"
9370 #endif
9371 char remove ();
9373 main ()
9375 return remove ();
9377 return 0;
9379 _ACEOF
9380 if ac_fn_c_try_link "$LINENO"; then :
9381 ac_cv_lib_posix_remove=yes
9382 else
9383 ac_cv_lib_posix_remove=no
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 LIBS=$ac_check_lib_save_LIBS
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9390 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9391 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9397 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9398 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9399 if test "x$ac_cv_func_shmat" = xyes; then :
9403 if test $ac_cv_func_shmat = no; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9405 $as_echo_n "checking for shmat in -lipc... " >&6; }
9406 if ${ac_cv_lib_ipc_shmat+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_check_lib_save_LIBS=$LIBS
9410 LIBS="-lipc $LIBS"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char shmat ();
9422 main ()
9424 return shmat ();
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_lib_ipc_shmat=yes
9431 else
9432 ac_cv_lib_ipc_shmat=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9439 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9440 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9447 # Check for libraries that X11R6 Xt/Xaw programs need.
9448 ac_save_LDFLAGS=$LDFLAGS
9449 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9450 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9451 # check for ICE first), but we must link in the order -lSM -lICE or
9452 # we get undefined symbols. So assume we have SM if we have ICE.
9453 # These have to be linked with before -lX11, unlike the other
9454 # libraries we check for below, so use a different variable.
9455 # John Interrante, Karl Berry
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9457 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9458 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 ac_check_lib_save_LIBS=$LIBS
9462 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9466 /* Override any GCC internal prototype to avoid an error.
9467 Use char because int might match the return type of a GCC
9468 builtin and then its argument prototype would still apply. */
9469 #ifdef __cplusplus
9470 extern "C"
9471 #endif
9472 char IceConnectionNumber ();
9474 main ()
9476 return IceConnectionNumber ();
9478 return 0;
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 ac_cv_lib_ICE_IceConnectionNumber=yes
9483 else
9484 ac_cv_lib_ICE_IceConnectionNumber=no
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 LIBS=$ac_check_lib_save_LIBS
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9491 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9492 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9493 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9496 LDFLAGS=$ac_save_LDFLAGS
9501 if test "$have_x" = "yes"
9502 then
9503 ac_save_CPPFLAGS="$CPPFLAGS"
9504 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9507 $as_echo_n "checking for -lX11... " >&6; }
9508 if ${ac_cv_lib_soname_X11+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 ac_check_soname_save_LIBS=$LIBS
9512 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9519 #ifdef __cplusplus
9520 extern "C"
9521 #endif
9522 char XCreateWindow ();
9524 main ()
9526 return XCreateWindow ();
9528 return 0;
9530 _ACEOF
9531 if ac_fn_c_try_link "$LINENO"; then :
9532 case "$LIBEXT" in
9533 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9534 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'` ;;
9535 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9536 if ${ac_cv_lib_soname_X11:+false} :; then :
9537 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9538 fi ;;
9539 esac
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_soname_save_LIBS
9545 if ${ac_cv_lib_soname_X11:+false} :; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9547 $as_echo "not found" >&6; }
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9551 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9553 cat >>confdefs.h <<_ACEOF
9554 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9555 _ACEOF
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9560 $as_echo_n "checking for -lXext... " >&6; }
9561 if ${ac_cv_lib_soname_Xext+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_soname_save_LIBS=$LIBS
9565 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char XextCreateExtension ();
9577 main ()
9579 return XextCreateExtension ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 case "$LIBEXT" in
9586 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9587 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'` ;;
9588 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9589 if ${ac_cv_lib_soname_Xext:+false} :; then :
9590 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9591 fi ;;
9592 esac
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LIBS=$ac_check_soname_save_LIBS
9598 if ${ac_cv_lib_soname_Xext:+false} :; then :
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9600 $as_echo "not found" >&6; }
9602 else
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9604 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9606 cat >>confdefs.h <<_ACEOF
9607 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9608 _ACEOF
9610 X_LIBS="$X_LIBS -lXext"
9612 X_LIBS="$X_LIBS -lX11"
9614 for ac_header in X11/Xlib.h \
9615 X11/XKBlib.h \
9616 X11/Xutil.h \
9617 X11/Xcursor/Xcursor.h \
9618 X11/extensions/shape.h \
9619 X11/extensions/XInput.h \
9620 X11/extensions/XInput2.h \
9621 X11/extensions/XShm.h \
9622 X11/extensions/Xcomposite.h \
9623 X11/extensions/Xinerama.h \
9624 X11/extensions/Xrandr.h \
9625 X11/extensions/Xrender.h \
9626 X11/extensions/xf86vmode.h \
9627 X11/extensions/xf86vmproto.h
9628 do :
9629 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9630 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9631 # include <X11/Xlib.h>
9632 #endif
9633 #ifdef HAVE_X11_XUTIL_H
9634 # include <X11/Xutil.h>
9635 #endif
9637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9638 cat >>confdefs.h <<_ACEOF
9639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9640 _ACEOF
9644 done
9647 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9648 then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9650 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9651 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9652 $as_echo_n "(cached) " >&6
9653 else
9654 ac_check_lib_save_LIBS=$LIBS
9655 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9662 #ifdef __cplusplus
9663 extern "C"
9664 #endif
9665 char XkbQueryExtension ();
9667 main ()
9669 return XkbQueryExtension ();
9671 return 0;
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675 ac_cv_lib_X11_XkbQueryExtension=yes
9676 else
9677 ac_cv_lib_X11_XkbQueryExtension=no
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_lib_save_LIBS
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9684 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9685 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9687 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9693 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9694 then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9696 $as_echo_n "checking for -lXcursor... " >&6; }
9697 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XcursorImageLoadCursor ();
9713 main ()
9715 return XcursorImageLoadCursor ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9726 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9740 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9744 _ACEOF
9749 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9750 case "x$with_xcursor" in
9751 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9752 xno) ;;
9753 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9754 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9755 esac
9758 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9759 then
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9761 $as_echo_n "checking for -lXi... " >&6; }
9762 if ${ac_cv_lib_soname_Xi+:} false; then :
9763 $as_echo_n "(cached) " >&6
9764 else
9765 ac_check_soname_save_LIBS=$LIBS
9766 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9773 #ifdef __cplusplus
9774 extern "C"
9775 #endif
9776 char XOpenDevice ();
9778 main ()
9780 return XOpenDevice ();
9782 return 0;
9784 _ACEOF
9785 if ac_fn_c_try_link "$LINENO"; then :
9786 case "$LIBEXT" in
9787 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9790 if ${ac_cv_lib_soname_Xi:+false} :; then :
9791 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9792 fi ;;
9793 esac
9795 rm -f core conftest.err conftest.$ac_objext \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_soname_save_LIBS
9799 if ${ac_cv_lib_soname_Xi:+false} :; then :
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9801 $as_echo "not found" >&6; }
9803 else
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9805 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9807 cat >>confdefs.h <<_ACEOF
9808 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9809 _ACEOF
9814 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9815 case "x$with_xinput" in
9816 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9817 xno) ;;
9818 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9819 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9820 esac
9823 if test "x$ac_cv_lib_soname_Xi" != x
9824 then
9825 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9826 case "x$with_xinput2" in
9827 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9828 xno) ;;
9829 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9830 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9831 esac
9835 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9836 then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9838 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9839 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_lib_save_LIBS=$LIBS
9843 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XShmQueryExtension ();
9855 main ()
9857 return XShmQueryExtension ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 ac_cv_lib_Xext_XShmQueryExtension=yes
9864 else
9865 ac_cv_lib_Xext_XShmQueryExtension=no
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_lib_save_LIBS
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9872 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9873 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9875 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9880 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9881 case "x$with_xshm" in
9882 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9883 xno) ;;
9884 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9885 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9886 esac
9889 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9890 then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9892 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9893 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9894 $as_echo_n "(cached) " >&6
9895 else
9896 ac_check_lib_save_LIBS=$LIBS
9897 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XShapeQueryExtension ();
9909 main ()
9911 return XShapeQueryExtension ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9917 ac_cv_lib_Xext_XShapeQueryExtension=yes
9918 else
9919 ac_cv_lib_Xext_XShapeQueryExtension=no
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_lib_save_LIBS
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9926 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9927 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9929 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9934 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9935 case "x$with_xshape" in
9936 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9937 xno) ;;
9938 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9939 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9940 esac
9943 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9944 then
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9946 $as_echo_n "checking for -lXxf86vm... " >&6; }
9947 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9948 $as_echo_n "(cached) " >&6
9949 else
9950 ac_check_soname_save_LIBS=$LIBS
9951 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9958 #ifdef __cplusplus
9959 extern "C"
9960 #endif
9961 char XF86VidModeQueryExtension ();
9963 main ()
9965 return XF86VidModeQueryExtension ();
9967 return 0;
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 case "$LIBEXT" in
9972 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9973 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'` ;;
9974 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9975 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9976 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9977 fi ;;
9978 esac
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 LIBS=$ac_check_soname_save_LIBS
9984 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9986 $as_echo "not found" >&6; }
9988 else
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9990 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9992 cat >>confdefs.h <<_ACEOF
9993 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9994 _ACEOF
9999 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10000 case "x$with_xxf86vm" in
10001 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10002 xno) ;;
10003 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10004 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10005 esac
10008 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10009 then
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10011 $as_echo_n "checking for -lXrender... " >&6; }
10012 if ${ac_cv_lib_soname_Xrender+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_check_soname_save_LIBS=$LIBS
10016 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10023 #ifdef __cplusplus
10024 extern "C"
10025 #endif
10026 char XRenderQueryExtension ();
10028 main ()
10030 return XRenderQueryExtension ();
10032 return 0;
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 case "$LIBEXT" in
10037 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10038 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'` ;;
10039 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10040 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10041 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10042 fi ;;
10043 esac
10045 rm -f core conftest.err conftest.$ac_objext \
10046 conftest$ac_exeext conftest.$ac_ext
10047 LIBS=$ac_check_soname_save_LIBS
10049 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10051 $as_echo "not found" >&6; }
10053 else
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10055 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10057 cat >>confdefs.h <<_ACEOF
10058 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10059 _ACEOF
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10062 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10063 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10074 #ifdef __cplusplus
10075 extern "C"
10076 #endif
10077 char XRenderSetPictureTransform ();
10079 main ()
10081 return XRenderSetPictureTransform ();
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10088 else
10089 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10096 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10097 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10099 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10104 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10105 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_check_lib_save_LIBS=$LIBS
10109 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10113 /* Override any GCC internal prototype to avoid an error.
10114 Use char because int might match the return type of a GCC
10115 builtin and then its argument prototype would still apply. */
10116 #ifdef __cplusplus
10117 extern "C"
10118 #endif
10119 char XRenderCreateLinearGradient ();
10121 main ()
10123 return XRenderCreateLinearGradient ();
10125 return 0;
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10130 else
10131 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 LIBS=$ac_check_lib_save_LIBS
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10138 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10139 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10141 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10148 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10149 case "x$with_xrender" in
10150 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10151 xno) ;;
10152 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10153 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10154 esac
10157 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10158 then
10159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 #include <X11/Xlib.h>
10162 #include <X11/extensions/Xrandr.h>
10164 main ()
10166 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10168 return 0;
10170 _ACEOF
10171 if ac_fn_c_try_compile "$LINENO"; then :
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10173 $as_echo_n "checking for -lXrandr... " >&6; }
10174 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_check_soname_save_LIBS=$LIBS
10178 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10182 /* Override any GCC internal prototype to avoid an error.
10183 Use char because int might match the return type of a GCC
10184 builtin and then its argument prototype would still apply. */
10185 #ifdef __cplusplus
10186 extern "C"
10187 #endif
10188 char XRRQueryExtension ();
10190 main ()
10192 return XRRQueryExtension ();
10194 return 0;
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 case "$LIBEXT" in
10199 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10200 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'` ;;
10201 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10202 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10203 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10204 fi ;;
10205 esac
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_soname_save_LIBS
10211 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10213 $as_echo "not found" >&6; }
10215 else
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10217 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10219 cat >>confdefs.h <<_ACEOF
10220 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10221 _ACEOF
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10225 #include <X11/Xlib.h>
10226 #include <X11/extensions/Xrandr.h>
10228 main ()
10230 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_compile "$LINENO"; then :
10237 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10245 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10246 case "x$with_xrandr" in
10247 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10248 xno) ;;
10249 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10250 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10251 esac
10254 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10255 then
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 #include <X11/Xlib.h>
10259 #include <X11/extensions/Xinerama.h>
10261 main ()
10263 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10265 return 0;
10267 _ACEOF
10268 if ac_fn_c_try_compile "$LINENO"; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10270 $as_echo_n "checking for -lXinerama... " >&6; }
10271 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_check_soname_save_LIBS=$LIBS
10275 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10279 /* Override any GCC internal prototype to avoid an error.
10280 Use char because int might match the return type of a GCC
10281 builtin and then its argument prototype would still apply. */
10282 #ifdef __cplusplus
10283 extern "C"
10284 #endif
10285 char XineramaQueryScreens ();
10287 main ()
10289 return XineramaQueryScreens ();
10291 return 0;
10293 _ACEOF
10294 if ac_fn_c_try_link "$LINENO"; then :
10295 case "$LIBEXT" in
10296 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10297 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'` ;;
10298 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10299 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10300 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10301 fi ;;
10302 esac
10304 rm -f core conftest.err conftest.$ac_objext \
10305 conftest$ac_exeext conftest.$ac_ext
10306 LIBS=$ac_check_soname_save_LIBS
10308 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10310 $as_echo "not found" >&6; }
10312 else
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10314 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10316 cat >>confdefs.h <<_ACEOF
10317 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10318 _ACEOF
10323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10325 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10326 case "x$with_xinerama" in
10327 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10328 xno) ;;
10329 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10330 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10331 esac
10334 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10335 then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10337 $as_echo_n "checking for -lXcomposite... " >&6; }
10338 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10339 $as_echo_n "(cached) " >&6
10340 else
10341 ac_check_soname_save_LIBS=$LIBS
10342 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10346 /* Override any GCC internal prototype to avoid an error.
10347 Use char because int might match the return type of a GCC
10348 builtin and then its argument prototype would still apply. */
10349 #ifdef __cplusplus
10350 extern "C"
10351 #endif
10352 char XCompositeRedirectWindow ();
10354 main ()
10356 return XCompositeRedirectWindow ();
10358 return 0;
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 case "$LIBEXT" in
10363 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10364 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'` ;;
10365 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10366 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10367 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 fi ;;
10369 esac
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_soname_save_LIBS
10375 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10377 $as_echo "not found" >&6; }
10379 else
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10381 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10383 cat >>confdefs.h <<_ACEOF
10384 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10385 _ACEOF
10390 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10391 case "x$with_xcomposite" in
10392 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10393 xno) ;;
10394 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10395 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10396 esac
10399 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10400 #include <X11/Xlib.h>
10401 #endif
10403 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10405 cat >>confdefs.h <<_ACEOF
10406 #define HAVE_XICCALLBACK_CALLBACK 1
10407 _ACEOF
10411 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10412 #include <X11/Xlib.h>
10413 #endif
10415 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10417 cat >>confdefs.h <<_ACEOF
10418 #define HAVE_XEVENT_XCOOKIE 1
10419 _ACEOF
10426 opengl_msg=""
10427 if test "x$with_opengl" != "xno"
10428 then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10430 $as_echo_n "checking for -lGL... " >&6; }
10431 if ${ac_cv_lib_soname_GL+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_check_soname_save_LIBS=$LIBS
10435 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10439 /* Override any GCC internal prototype to avoid an error.
10440 Use char because int might match the return type of a GCC
10441 builtin and then its argument prototype would still apply. */
10442 #ifdef __cplusplus
10443 extern "C"
10444 #endif
10445 char glXCreateContext ();
10447 main ()
10449 return glXCreateContext ();
10451 return 0;
10453 _ACEOF
10454 if ac_fn_c_try_link "$LINENO"; then :
10455 case "$LIBEXT" in
10456 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10457 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'` ;;
10458 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10459 if ${ac_cv_lib_soname_GL:+false} :; then :
10460 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10461 fi ;;
10462 esac
10464 rm -f core conftest.err conftest.$ac_objext \
10465 conftest$ac_exeext conftest.$ac_ext
10466 LIBS=$ac_check_soname_save_LIBS
10468 if ${ac_cv_lib_soname_GL:+false} :; then :
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10470 $as_echo "not found" >&6; }
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10472 $as_echo_n "checking for -lGL... " >&6; }
10473 if ${ac_cv_lib_soname_GL+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_check_soname_save_LIBS=$LIBS
10477 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"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char glXCreateContext ();
10489 main ()
10491 return glXCreateContext ();
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 case "$LIBEXT" in
10498 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10499 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'` ;;
10500 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10501 if ${ac_cv_lib_soname_GL:+false} :; then :
10502 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10503 fi ;;
10504 esac
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_soname_save_LIBS
10510 if ${ac_cv_lib_soname_GL:+false} :; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10512 $as_echo "not found" >&6; }
10513 if test -f /usr/X11R6/lib/libGL.a
10514 then
10515 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10516 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10517 else
10518 opengl_msg="No OpenGL library found on this system."
10520 else
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10522 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10524 cat >>confdefs.h <<_ACEOF
10525 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10526 _ACEOF
10528 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"
10530 else
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10532 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10534 cat >>confdefs.h <<_ACEOF
10535 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10536 _ACEOF
10538 OPENGL_LIBS="-lGL"
10540 if test "x$with_glu" != "xno"
10541 then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10543 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10544 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_lib_save_LIBS=$LIBS
10548 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char gluLookAt ();
10560 main ()
10562 return gluLookAt ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 ac_cv_lib_GLU_gluLookAt=yes
10569 else
10570 ac_cv_lib_GLU_gluLookAt=no
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_lib_save_LIBS
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10577 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10578 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10582 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10583 case "x$with_glu" in
10584 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10585 xno) ;;
10586 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10587 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10588 esac
10592 if test "x$with_osmesa" != "xno"
10593 then
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10595 $as_echo_n "checking for -lOSMesa... " >&6; }
10596 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 ac_check_soname_save_LIBS=$LIBS
10600 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10604 /* Override any GCC internal prototype to avoid an error.
10605 Use char because int might match the return type of a GCC
10606 builtin and then its argument prototype would still apply. */
10607 #ifdef __cplusplus
10608 extern "C"
10609 #endif
10610 char glAccum ();
10612 main ()
10614 return glAccum ();
10616 return 0;
10618 _ACEOF
10619 if ac_fn_c_try_link "$LINENO"; then :
10620 case "$LIBEXT" in
10621 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10622 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'` ;;
10623 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10624 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10625 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10626 fi ;;
10627 esac
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_soname_save_LIBS
10633 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10635 $as_echo "not found" >&6; }
10637 else
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10639 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10641 cat >>confdefs.h <<_ACEOF
10642 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10643 _ACEOF
10647 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10648 case "x$with_osmesa" in
10649 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10650 xno) ;;
10651 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10652 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10653 esac
10657 if test -n "$opengl_msg"; then :
10658 case "x$with_opengl" in
10659 x) as_fn_append wine_warnings "|$opengl_msg
10660 OpenGL and Direct3D won't be supported." ;;
10661 xno) ;;
10662 *) as_fn_error $? "$opengl_msg
10663 OpenGL and Direct3D won't be supported.
10664 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10665 esac
10668 CPPFLAGS="$ac_save_CPPFLAGS"
10669 else
10670 X_CFLAGS=""
10671 X_LIBS=""
10672 enable_winex11_drv=${enable_winex11_drv:-no}
10674 if test "x$X_LIBS" = "x"; then :
10675 case "x$with_x" in
10676 xno) ;;
10677 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10678 without X support, which probably isn't what you want. You will need
10679 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10680 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10681 esac
10684 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10686 if test "$ac_cv_header_CL_cl_h" = "yes"
10687 then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10689 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10690 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10691 $as_echo_n "(cached) " >&6
10692 else
10693 ac_check_lib_save_LIBS=$LIBS
10694 LIBS="-lOpenCL $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10701 #ifdef __cplusplus
10702 extern "C"
10703 #endif
10704 char clGetPlatformInfo ();
10706 main ()
10708 return clGetPlatformInfo ();
10710 return 0;
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10715 else
10716 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 LIBS=$ac_check_lib_save_LIBS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10723 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10724 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10725 OPENCL_LIBS="-lOpenCL"
10730 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10731 case "x$with_opencl" in
10732 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10733 xno) ;;
10734 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10735 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10736 esac
10738 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10740 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10741 then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10743 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10744 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_check_lib_save_LIBS=$LIBS
10748 LIBS="-lpcap $LIBS"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10752 /* Override any GCC internal prototype to avoid an error.
10753 Use char because int might match the return type of a GCC
10754 builtin and then its argument prototype would still apply. */
10755 #ifdef __cplusplus
10756 extern "C"
10757 #endif
10758 char pcap_create ();
10760 main ()
10762 return pcap_create ();
10764 return 0;
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"; then :
10768 ac_cv_lib_pcap_pcap_create=yes
10769 else
10770 ac_cv_lib_pcap_pcap_create=no
10772 rm -f core conftest.err conftest.$ac_objext \
10773 conftest$ac_exeext conftest.$ac_ext
10774 LIBS=$ac_check_lib_save_LIBS
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10777 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10778 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10779 LIBPCAP="-lpcap"
10784 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10785 case "x$with_pcap" in
10786 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10789 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10790 esac
10792 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10795 if test "x$with_xml" != "xno"
10796 then
10797 if ${XML2_CFLAGS:+false} :; then :
10798 if ${PKG_CONFIG+:} false; then :
10799 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10802 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10803 if ${XML2_LIBS:+false} :; then :
10804 if ${PKG_CONFIG+:} false; then :
10805 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10808 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10809 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10810 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10811 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10812 ac_save_CPPFLAGS=$CPPFLAGS
10813 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10814 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10815 do :
10816 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10817 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10818 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10819 cat >>confdefs.h <<_ACEOF
10820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10821 _ACEOF
10825 done
10827 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"
10828 then
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10830 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10831 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10832 $as_echo_n "(cached) " >&6
10833 else
10834 ac_check_lib_save_LIBS=$LIBS
10835 LIBS="-lxml2 $XML2_LIBS $LIBS"
10836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10842 #ifdef __cplusplus
10843 extern "C"
10844 #endif
10845 char xmlParseMemory ();
10847 main ()
10849 return xmlParseMemory ();
10851 return 0;
10853 _ACEOF
10854 if ac_fn_c_try_link "$LINENO"; then :
10855 ac_cv_lib_xml2_xmlParseMemory=yes
10856 else
10857 ac_cv_lib_xml2_xmlParseMemory=no
10859 rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
10861 LIBS=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10864 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10865 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10867 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10869 else
10870 XML2_LIBS=""
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10874 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10875 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10876 $as_echo_n "(cached) " >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-lxml2 $XML2_LIBS $LIBS"
10880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10886 #ifdef __cplusplus
10887 extern "C"
10888 #endif
10889 char xmlReadMemory ();
10891 main ()
10893 return xmlReadMemory ();
10895 return 0;
10897 _ACEOF
10898 if ac_fn_c_try_link "$LINENO"; then :
10899 ac_cv_lib_xml2_xmlReadMemory=yes
10900 else
10901 ac_cv_lib_xml2_xmlReadMemory=no
10903 rm -f core conftest.err conftest.$ac_objext \
10904 conftest$ac_exeext conftest.$ac_ext
10905 LIBS=$ac_check_lib_save_LIBS
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10908 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10909 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10911 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10916 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10917 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10918 $as_echo_n "(cached) " >&6
10919 else
10920 ac_check_lib_save_LIBS=$LIBS
10921 LIBS="-lxml2 $XML2_LIBS $LIBS"
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10925 /* Override any GCC internal prototype to avoid an error.
10926 Use char because int might match the return type of a GCC
10927 builtin and then its argument prototype would still apply. */
10928 #ifdef __cplusplus
10929 extern "C"
10930 #endif
10931 char xmlNewDocPI ();
10933 main ()
10935 return xmlNewDocPI ();
10937 return 0;
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 ac_cv_lib_xml2_xmlNewDocPI=yes
10942 else
10943 ac_cv_lib_xml2_xmlNewDocPI=no
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
10947 LIBS=$ac_check_lib_save_LIBS
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10950 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10951 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10953 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10958 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10959 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10960 $as_echo_n "(cached) " >&6
10961 else
10962 ac_check_lib_save_LIBS=$LIBS
10963 LIBS="-lxml2 $XML2_LIBS $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10967 /* Override any GCC internal prototype to avoid an error.
10968 Use char because int might match the return type of a GCC
10969 builtin and then its argument prototype would still apply. */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char xmlSchemaSetParserStructuredErrors ();
10975 main ()
10977 return xmlSchemaSetParserStructuredErrors ();
10979 return 0;
10981 _ACEOF
10982 if ac_fn_c_try_link "$LINENO"; then :
10983 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10984 else
10985 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10987 rm -f core conftest.err conftest.$ac_objext \
10988 conftest$ac_exeext conftest.$ac_ext
10989 LIBS=$ac_check_lib_save_LIBS
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10992 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10993 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10995 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11000 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11001 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lxml2 $XML2_LIBS $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char xmlSchemaSetValidStructuredErrors ();
11017 main ()
11019 return xmlSchemaSetValidStructuredErrors ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11026 else
11027 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11034 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11035 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11037 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11042 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11043 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11044 $as_echo_n "(cached) " >&6
11045 else
11046 ac_check_lib_save_LIBS=$LIBS
11047 LIBS="-lxml2 $XML2_LIBS $LIBS"
11048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11054 #ifdef __cplusplus
11055 extern "C"
11056 #endif
11057 char xmlFirstElementChild ();
11059 main ()
11061 return xmlFirstElementChild ();
11063 return 0;
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"; then :
11067 ac_cv_lib_xml2_xmlFirstElementChild=yes
11068 else
11069 ac_cv_lib_xml2_xmlFirstElementChild=no
11071 rm -f core conftest.err conftest.$ac_objext \
11072 conftest$ac_exeext conftest.$ac_ext
11073 LIBS=$ac_check_lib_save_LIBS
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11076 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11077 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11079 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11083 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11085 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11087 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11091 else
11092 XML2_CFLAGS=""
11093 XML2_LIBS=""
11095 CPPFLAGS=$ac_save_CPPFLAGS
11096 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11097 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11100 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11101 case "x$with_xml" in
11102 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11103 xno) ;;
11104 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11105 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11106 esac
11109 if test "x$with_xslt" != "xno"
11110 then
11111 if ${XSLT_CFLAGS:+false} :; then :
11112 if ${PKG_CONFIG+:} false; then :
11113 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11116 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11117 if ${XSLT_LIBS:+false} :; then :
11118 if ${PKG_CONFIG+:} false; then :
11119 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11122 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11123 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11124 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11125 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11126 ac_save_CPPFLAGS=$CPPFLAGS
11127 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11128 for ac_header in libxslt/pattern.h libxslt/transform.h
11129 do :
11130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11131 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11132 # include <libxslt/pattern.h>
11133 #endif
11135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11136 cat >>confdefs.h <<_ACEOF
11137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11138 _ACEOF
11142 done
11144 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11145 then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11147 $as_echo_n "checking for -lxslt... " >&6; }
11148 if ${ac_cv_lib_soname_xslt+:} false; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_soname_save_LIBS=$LIBS
11152 LIBS="-lxslt $XSLT_LIBS $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char xsltCompilePattern ();
11164 main ()
11166 return xsltCompilePattern ();
11168 return 0;
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 case "$LIBEXT" in
11173 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11174 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'` ;;
11175 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11176 if ${ac_cv_lib_soname_xslt:+false} :; then :
11177 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11178 fi ;;
11179 esac
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if ${ac_cv_lib_soname_xslt:+false} :; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11189 else
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11191 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11195 _ACEOF
11199 else
11200 XSLT_CFLAGS=""
11202 CPPFLAGS=$ac_save_CPPFLAGS
11203 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11204 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11207 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11208 case "x$with_xslt" in
11209 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11210 xno) ;;
11211 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11212 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11213 esac
11216 if test "x$with_dbus" != "xno"
11217 then
11218 if ${DBUS_CFLAGS:+false} :; then :
11219 if ${PKG_CONFIG+:} false; then :
11220 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11224 if ${DBUS_LIBS:+false} :; then :
11225 if ${PKG_CONFIG+:} false; then :
11226 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11231 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11233 ac_save_CPPFLAGS=$CPPFLAGS
11234 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11235 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11236 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11238 $as_echo_n "checking for -ldbus-1... " >&6; }
11239 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11240 $as_echo_n "(cached) " >&6
11241 else
11242 ac_check_soname_save_LIBS=$LIBS
11243 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char dbus_connection_close ();
11255 main ()
11257 return dbus_connection_close ();
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 case "$LIBEXT" in
11264 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11265 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'` ;;
11266 *) 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'`
11267 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11268 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11269 fi ;;
11270 esac
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_soname_save_LIBS
11276 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11278 $as_echo "not found" >&6; }
11279 DBUS_CFLAGS=""
11280 else
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11282 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11284 cat >>confdefs.h <<_ACEOF
11285 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11286 _ACEOF
11290 else
11291 DBUS_CFLAGS=""
11295 CPPFLAGS=$ac_save_CPPFLAGS
11296 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11297 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11300 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11301 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11302 case "x$with_dbus" in
11303 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11304 xno) ;;
11305 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11306 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11307 esac
11310 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11311 then
11312 if ${HAL_CFLAGS:+false} :; then :
11313 if ${PKG_CONFIG+:} false; then :
11314 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11318 if ${HAL_LIBS:+false} :; then :
11319 if ${PKG_CONFIG+:} false; then :
11320 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11324 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11325 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11326 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11327 ac_save_CPPFLAGS=$CPPFLAGS
11328 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11329 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11330 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11332 $as_echo_n "checking for -lhal... " >&6; }
11333 if ${ac_cv_lib_soname_hal+:} false; then :
11334 $as_echo_n "(cached) " >&6
11335 else
11336 ac_check_soname_save_LIBS=$LIBS
11337 LIBS="-lhal $HAL_LIBS $LIBS"
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11339 /* end confdefs.h. */
11341 /* Override any GCC internal prototype to avoid an error.
11342 Use char because int might match the return type of a GCC
11343 builtin and then its argument prototype would still apply. */
11344 #ifdef __cplusplus
11345 extern "C"
11346 #endif
11347 char libhal_ctx_new ();
11349 main ()
11351 return libhal_ctx_new ();
11353 return 0;
11355 _ACEOF
11356 if ac_fn_c_try_link "$LINENO"; then :
11357 case "$LIBEXT" in
11358 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11359 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'` ;;
11360 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11361 if ${ac_cv_lib_soname_hal:+false} :; then :
11362 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11363 fi ;;
11364 esac
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_soname_save_LIBS
11370 if ${ac_cv_lib_soname_hal:+false} :; then :
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11372 $as_echo "not found" >&6; }
11373 HAL_CFLAGS=""
11374 else
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11376 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11378 cat >>confdefs.h <<_ACEOF
11379 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11380 _ACEOF
11384 else
11385 HAL_CFLAGS=""
11389 CPPFLAGS=$ac_save_CPPFLAGS
11390 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11391 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11393 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11394 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11395 case "x$with_hal" in
11396 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11397 xno) ;;
11398 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11399 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11400 esac
11404 if test "x$with_gnutls" != "xno"
11405 then
11406 if ${GNUTLS_CFLAGS:+false} :; then :
11407 if ${PKG_CONFIG+:} false; then :
11408 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11412 if ${GNUTLS_LIBS:+false} :; then :
11413 if ${PKG_CONFIG+:} false; then :
11414 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11419 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11420 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11421 ac_save_CPPFLAGS=$CPPFLAGS
11422 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11423 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11424 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11427 #include <gnutls/gnutls.h>
11428 #include <gnutls/crypto.h>
11430 main ()
11432 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11434 return 0;
11436 _ACEOF
11437 if ac_fn_c_try_compile "$LINENO"; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11439 $as_echo_n "checking for -lgnutls... " >&6; }
11440 if ${ac_cv_lib_soname_gnutls+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char gnutls_global_init ();
11456 main ()
11458 return gnutls_global_init ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) 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'`
11468 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11469 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'`
11470 fi ;;
11471 esac
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11480 GNUTLS_CFLAGS=""
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11483 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11487 _ACEOF
11492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11493 else
11494 GNUTLS_CFLAGS=""
11498 CPPFLAGS=$ac_save_CPPFLAGS
11499 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11500 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11503 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11504 case "x$with_gnutls" in
11505 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11506 xno) ;;
11507 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11508 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11509 esac
11512 CURSES_LIBS=""
11513 if test "$ac_cv_header_ncurses_h" = "yes"
11514 then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11516 $as_echo_n "checking for -lncurses... " >&6; }
11517 if ${ac_cv_lib_soname_ncurses+:} false; then :
11518 $as_echo_n "(cached) " >&6
11519 else
11520 ac_check_soname_save_LIBS=$LIBS
11521 LIBS="-lncurses $LIBS"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11528 #ifdef __cplusplus
11529 extern "C"
11530 #endif
11531 char waddch ();
11533 main ()
11535 return waddch ();
11537 return 0;
11539 _ACEOF
11540 if ac_fn_c_try_link "$LINENO"; then :
11541 case "$LIBEXT" in
11542 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11543 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'` ;;
11544 *) 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'`
11545 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11546 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11547 fi ;;
11548 esac
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_soname_save_LIBS
11554 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11556 $as_echo "not found" >&6; }
11558 else
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11560 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11562 cat >>confdefs.h <<_ACEOF
11563 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11564 _ACEOF
11566 CURSES_LIBS="-lncurses"
11568 elif test "$ac_cv_header_curses_h" = "yes"
11569 then
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11571 $as_echo_n "checking for -lcurses... " >&6; }
11572 if ${ac_cv_lib_soname_curses+:} false; then :
11573 $as_echo_n "(cached) " >&6
11574 else
11575 ac_check_soname_save_LIBS=$LIBS
11576 LIBS="-lcurses $LIBS"
11577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11583 #ifdef __cplusplus
11584 extern "C"
11585 #endif
11586 char waddch ();
11588 main ()
11590 return waddch ();
11592 return 0;
11594 _ACEOF
11595 if ac_fn_c_try_link "$LINENO"; then :
11596 case "$LIBEXT" in
11597 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11598 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'` ;;
11599 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11600 if ${ac_cv_lib_soname_curses:+false} :; then :
11601 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11602 fi ;;
11603 esac
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if ${ac_cv_lib_soname_curses:+false} :; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11613 else
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11615 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11619 _ACEOF
11621 CURSES_LIBS="-lcurses"
11624 ac_save_LIBS="$LIBS"
11625 LIBS="$LIBS $CURSES_LIBS"
11626 for ac_func in mousemask
11627 do :
11628 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11629 if test "x$ac_cv_func_mousemask" = xyes; then :
11630 cat >>confdefs.h <<_ACEOF
11631 #define HAVE_MOUSEMASK 1
11632 _ACEOF
11635 done
11637 LIBS="$ac_save_LIBS"
11638 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11639 case "x$with_curses" in
11640 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11641 xno) ;;
11642 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11643 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11644 esac
11647 if test "x$with_sane" != "xno"
11648 then
11649 if ${SANE_CFLAGS:+false} :; then :
11650 if ${PKG_CONFIG+:} false; then :
11651 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11654 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11655 if ${SANE_LIBS:+false} :; then :
11656 if ${PKG_CONFIG+:} false; then :
11657 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11660 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11662 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11663 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11664 ac_save_CPPFLAGS=$CPPFLAGS
11665 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11666 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11667 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11669 $as_echo_n "checking for -lsane... " >&6; }
11670 if ${ac_cv_lib_soname_sane+:} false; then :
11671 $as_echo_n "(cached) " >&6
11672 else
11673 ac_check_soname_save_LIBS=$LIBS
11674 LIBS="-lsane $SANE_LIBS $LIBS"
11675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11681 #ifdef __cplusplus
11682 extern "C"
11683 #endif
11684 char sane_init ();
11686 main ()
11688 return sane_init ();
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"; then :
11694 case "$LIBEXT" in
11695 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11696 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'` ;;
11697 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11698 if ${ac_cv_lib_soname_sane:+false} :; then :
11699 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11700 fi ;;
11701 esac
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_soname_save_LIBS
11707 if ${ac_cv_lib_soname_sane:+false} :; then :
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11709 $as_echo "not found" >&6; }
11710 SANE_CFLAGS=""
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11713 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11715 cat >>confdefs.h <<_ACEOF
11716 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11717 _ACEOF
11721 else
11722 SANE_CFLAGS=""
11726 CPPFLAGS=$ac_save_CPPFLAGS
11727 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11728 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11731 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11732 case "x$with_sane" in
11733 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11734 xno) ;;
11735 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11736 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11737 esac
11740 if test "x$with_v4l" != "xno"
11741 then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11743 $as_echo_n "checking for -lv4l1... " >&6; }
11744 if ${ac_cv_lib_soname_v4l1+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_soname_save_LIBS=$LIBS
11748 LIBS="-lv4l1 $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char v4l1_open ();
11760 main ()
11762 return v4l1_open ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 case "$LIBEXT" in
11769 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11770 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'` ;;
11771 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11772 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11773 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11774 fi ;;
11775 esac
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_soname_save_LIBS
11781 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11783 $as_echo "not found" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11787 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11789 cat >>confdefs.h <<_ACEOF
11790 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11791 _ACEOF
11796 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11797 case "x$with_v4l" in
11798 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11799 xno) ;;
11800 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11801 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11802 esac
11805 if test "x$with_gphoto" != "xno"
11806 then
11807 if ${GPHOTO2_CFLAGS:+false} :; then :
11808 if ${PKG_CONFIG+:} false; then :
11809 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11812 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11813 if ${GPHOTO2_LIBS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11818 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11819 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11824 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11827 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11828 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_lib_save_LIBS=$LIBS
11832 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char gp_camera_new ();
11844 main ()
11846 return gp_camera_new ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 ac_cv_lib_gphoto2_gp_camera_new=yes
11853 else
11854 ac_cv_lib_gphoto2_gp_camera_new=no
11856 rm -f core conftest.err conftest.$ac_objext \
11857 conftest$ac_exeext conftest.$ac_ext
11858 LIBS=$ac_check_lib_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11861 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11862 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11864 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11866 else
11867 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11870 else
11871 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11875 CPPFLAGS=$ac_save_CPPFLAGS
11876 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11877 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11879 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11884 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11885 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11886 if ${PKG_CONFIG+:} false; then :
11887 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11890 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11891 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11893 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11894 ac_save_CPPFLAGS=$CPPFLAGS
11895 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11896 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11897 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11899 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11900 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11901 $as_echo_n "(cached) " >&6
11902 else
11903 ac_check_lib_save_LIBS=$LIBS
11904 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11906 /* end confdefs.h. */
11908 /* Override any GCC internal prototype to avoid an error.
11909 Use char because int might match the return type of a GCC
11910 builtin and then its argument prototype would still apply. */
11911 #ifdef __cplusplus
11912 extern "C"
11913 #endif
11914 char gp_port_info_list_new ();
11916 main ()
11918 return gp_port_info_list_new ();
11920 return 0;
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11925 else
11926 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11928 rm -f core conftest.err conftest.$ac_objext \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_lib_save_LIBS
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11933 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11934 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11936 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11938 else
11939 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11942 else
11943 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11947 CPPFLAGS=$ac_save_CPPFLAGS
11948 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11949 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11952 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11953 case "x$with_gphoto" in
11954 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11955 xno) ;;
11956 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11957 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11958 esac
11960 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11961 case "x$with_gphoto" in
11962 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11965 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "$ac_cv_header_resolv_h" = "yes"
11971 then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11973 $as_echo_n "checking for resolver library... " >&6; }
11974 if ${ac_cv_have_resolv+:} false; then :
11975 $as_echo_n "(cached) " >&6
11976 else
11977 ac_save_LIBS="$LIBS"
11978 for lib in '' -lresolv
11980 LIBS="$lib $ac_save_LIBS"
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11983 #ifdef HAVE_NETINET_IN_H
11984 #include <netinet/in.h>
11985 #endif
11986 #include <resolv.h>
11988 main ()
11990 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 ac_cv_have_resolv=${lib:-"none required"}
11997 else
11998 ac_cv_have_resolv="not found"
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 test "x$ac_cv_have_resolv" = "xnot found" || break
12003 done
12004 LIBS="$ac_save_LIBS"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12007 $as_echo "$ac_cv_have_resolv" >&6; }
12009 case "$ac_cv_have_resolv" in
12010 "not found") ;;
12011 "none required")
12013 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12016 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12018 RESOLV_LIBS=$ac_cv_have_resolv
12020 esac
12023 if test "x$with_cms" != "xno"
12024 then
12025 if ${LCMS2_CFLAGS:+false} :; then :
12026 if ${PKG_CONFIG+:} false; then :
12027 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12031 if ${LCMS2_LIBS:+false} :; then :
12032 if ${PKG_CONFIG+:} false; then :
12033 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12037 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12038 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12039 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12040 ac_save_CPPFLAGS=$CPPFLAGS
12041 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12042 for ac_header in lcms2.h
12043 do :
12044 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12045 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12046 cat >>confdefs.h <<_ACEOF
12047 #define HAVE_LCMS2_H 1
12048 _ACEOF
12052 done
12054 if test "$ac_cv_header_lcms2_h" = "yes"
12055 then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12057 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12058 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12059 $as_echo_n "(cached) " >&6
12060 else
12061 ac_check_lib_save_LIBS=$LIBS
12062 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12069 #ifdef __cplusplus
12070 extern "C"
12071 #endif
12072 char cmsOpenProfileFromFile ();
12074 main ()
12076 return cmsOpenProfileFromFile ();
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_link "$LINENO"; then :
12082 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12083 else
12084 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_lib_save_LIBS
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12091 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12092 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12094 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12096 else
12097 LCMS2_LIBS=""
12100 else
12101 LCMS2_CFLAGS=""
12102 LCMS2_LIBS=""
12104 CPPFLAGS=$ac_save_CPPFLAGS
12105 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12106 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12109 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12110 case "x$with_cms" in
12111 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12112 xno) ;;
12113 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12114 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12115 esac
12118 if test "x$with_freetype" != "xno"
12119 then
12120 if ${FREETYPE_CFLAGS:+false} :; then :
12121 if ${PKG_CONFIG+:} false; then :
12122 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12125 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12126 if ${FREETYPE_LIBS:+false} :; then :
12127 if ${PKG_CONFIG+:} false; then :
12128 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12131 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12132 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12133 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12134 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12135 ac_save_CPPFLAGS=$CPPFLAGS
12136 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12137 for ac_header in ft2build.h
12138 do :
12139 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12140 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12141 cat >>confdefs.h <<_ACEOF
12142 #define HAVE_FT2BUILD_H 1
12143 _ACEOF
12147 done
12149 if test "$ac_cv_header_ft2build_h" = "yes"
12150 then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12152 $as_echo_n "checking for -lfreetype... " >&6; }
12153 if ${ac_cv_lib_soname_freetype+:} false; then :
12154 $as_echo_n "(cached) " >&6
12155 else
12156 ac_check_soname_save_LIBS=$LIBS
12157 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12164 #ifdef __cplusplus
12165 extern "C"
12166 #endif
12167 char FT_Init_FreeType ();
12169 main ()
12171 return FT_Init_FreeType ();
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 case "$LIBEXT" in
12178 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12179 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'` ;;
12180 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12181 if ${ac_cv_lib_soname_freetype:+false} :; then :
12182 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12183 fi ;;
12184 esac
12186 rm -f core conftest.err conftest.$ac_objext \
12187 conftest$ac_exeext conftest.$ac_ext
12188 LIBS=$ac_check_soname_save_LIBS
12190 if ${ac_cv_lib_soname_freetype:+false} :; then :
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12192 $as_echo "not found" >&6; }
12193 FREETYPE_LIBS=""
12194 else
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12196 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12198 cat >>confdefs.h <<_ACEOF
12199 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12200 _ACEOF
12203 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12205 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12206 #include FT_MODULE_H
12208 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_FT_TRUETYPEENGINETYPE 1
12212 _ACEOF
12218 else
12219 FREETYPE_CFLAGS=""
12220 FREETYPE_LIBS=""
12222 CPPFLAGS=$ac_save_CPPFLAGS
12223 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12224 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12227 if test "x$ac_cv_lib_soname_freetype" = x; then :
12228 case "x$with_freetype" in
12229 xno) ;;
12230 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12231 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12232 esac
12234 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12237 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12238 if ${ac_cv_c_ppdev+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12243 #ifdef HAVE_SYS_IOCTL_H
12244 # include <sys/ioctl.h>
12245 #endif
12246 #include <linux/ppdev.h>
12248 main ()
12250 ioctl (1,PPCLAIM,0)
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_compile "$LINENO"; then :
12256 ac_cv_c_ppdev="yes"
12257 else
12258 ac_cv_c_ppdev="no"
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12263 $as_echo "$ac_cv_c_ppdev" >&6; }
12264 if test "$ac_cv_c_ppdev" = "yes"
12265 then
12267 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12271 ac_wine_check_funcs_save_LIBS="$LIBS"
12272 LIBS="$LIBS $PTHREAD_LIBS"
12273 for ac_func in \
12274 pthread_attr_get_np \
12275 pthread_getattr_np \
12276 pthread_getthreadid_np \
12277 pthread_get_stackaddr_np \
12278 pthread_get_stacksize_np
12279 do :
12280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12283 cat >>confdefs.h <<_ACEOF
12284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12285 _ACEOF
12288 done
12290 LIBS="$ac_wine_check_funcs_save_LIBS"
12292 if test "$ac_cv_header_zlib_h" = "yes"
12293 then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12295 $as_echo_n "checking for inflate in -lz... " >&6; }
12296 if ${ac_cv_lib_z_inflate+:} false; then :
12297 $as_echo_n "(cached) " >&6
12298 else
12299 ac_check_lib_save_LIBS=$LIBS
12300 LIBS="-lz $LIBS"
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12304 /* Override any GCC internal prototype to avoid an error.
12305 Use char because int might match the return type of a GCC
12306 builtin and then its argument prototype would still apply. */
12307 #ifdef __cplusplus
12308 extern "C"
12309 #endif
12310 char inflate ();
12312 main ()
12314 return inflate ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"; then :
12320 ac_cv_lib_z_inflate=yes
12321 else
12322 ac_cv_lib_z_inflate=no
12324 rm -f core conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12326 LIBS=$ac_check_lib_save_LIBS
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12329 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12330 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12332 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12334 Z_LIBS="-lz"
12339 if test "x$Z_LIBS" = "x"; then :
12340 case "x$with_zlib" in
12341 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12342 xno) ;;
12343 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12344 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12345 esac
12348 if test "x$enable_tools" != xno
12349 then
12350 if test "$ac_cv_header_gettext_po_h" = "yes"
12351 then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12353 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12354 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12355 $as_echo_n "(cached) " >&6
12356 else
12357 ac_check_lib_save_LIBS=$LIBS
12358 LIBS="-lgettextpo $LIBS"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12365 #ifdef __cplusplus
12366 extern "C"
12367 #endif
12368 char po_message_msgctxt ();
12370 main ()
12372 return po_message_msgctxt ();
12374 return 0;
12376 _ACEOF
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12379 else
12380 ac_cv_lib_gettextpo_po_message_msgctxt=no
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12387 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12388 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12390 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12392 GETTEXTPO_LIBS="-lgettextpo"
12397 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12398 case "x$with_gettextpo" in
12399 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12400 xno) ;;
12401 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12402 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12403 esac
12407 if test "x$with_gstreamer" != "xno"
12408 then
12409 if ${GSTREAMER_CFLAGS:+false} :; then :
12410 if ${PKG_CONFIG+:} false; then :
12411 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12415 if ${GSTREAMER_LIBS:+false} :; then :
12416 if ${PKG_CONFIG+:} false; then :
12417 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12422 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12423 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12424 ac_save_CPPFLAGS=$CPPFLAGS
12425 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12426 ac_gst_incl=""
12427 for i in $GSTREAMER_CFLAGS
12429 case "$i" in
12430 -I*) ac_gst_incl="$ac_gst_incl $i";;
12431 esac
12432 done
12433 GSTREAMER_CFLAGS=$ac_gst_incl
12434 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12435 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12436 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12437 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12438 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12440 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12443 #include <gst/app/gstappsink.h>
12445 main ()
12447 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12449 return 0;
12451 _ACEOF
12452 if ac_fn_c_try_compile "$LINENO"; then :
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12454 $as_echo "yes" >&6; }
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12456 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12457 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12458 $as_echo_n "(cached) " >&6
12459 else
12460 ac_check_lib_save_LIBS=$LIBS
12461 LIBS="-lgstreamer-0.10 $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12468 #ifdef __cplusplus
12469 extern "C"
12470 #endif
12471 char gst_pad_get_caps_reffed ();
12473 main ()
12475 return gst_pad_get_caps_reffed ();
12477 return 0;
12479 _ACEOF
12480 if ac_fn_c_try_link "$LINENO"; then :
12481 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12482 else
12483 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12485 rm -f core conftest.err conftest.$ac_objext \
12486 conftest$ac_exeext conftest.$ac_ext
12487 LIBS=$ac_check_lib_save_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12490 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12491 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12493 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12494 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12495 $as_echo_n "(cached) " >&6
12496 else
12497 ac_check_lib_save_LIBS=$LIBS
12498 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 char gst_app_buffer_new ();
12510 main ()
12512 return gst_app_buffer_new ();
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12519 else
12520 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12527 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12528 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12534 else
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 $as_echo "no" >&6; }
12538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 else
12543 GSTREAMER_CFLAGS=""
12547 CPPFLAGS=$ac_save_CPPFLAGS
12548 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12549 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12552 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12553 case "x$with_gstreamer" in
12554 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12555 xno) ;;
12556 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12557 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12558 esac
12560 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12562 ALSA_LIBS=""
12564 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12567 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12568 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_lib_save_LIBS=$LIBS
12572 LIBS="-lasound $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char snd_pcm_hw_params_get_access_mask ();
12584 main ()
12586 return snd_pcm_hw_params_get_access_mask ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12593 else
12594 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12596 rm -f core conftest.err conftest.$ac_objext \
12597 conftest$ac_exeext conftest.$ac_ext
12598 LIBS=$ac_check_lib_save_LIBS
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12601 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12602 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12605 #ifdef HAVE_ALSA_ASOUNDLIB_H
12606 #include <alsa/asoundlib.h>
12607 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12608 #include <sys/asoundlib.h>
12609 #endif
12611 main ()
12613 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12615 return 0;
12617 _ACEOF
12618 if ac_fn_c_try_compile "$LINENO"; then :
12619 ALSA_LIBS="-lasound"
12621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12626 if test "x$with_oss" != xno
12627 then
12628 ac_save_CPPFLAGS="$CPPFLAGS"
12629 if test -f /etc/oss.conf
12630 then
12631 . /etc/oss.conf
12633 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12634 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12635 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12636 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12637 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12639 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12641 cat >>confdefs.h <<_ACEOF
12642 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12643 _ACEOF
12645 OSS4_CFLAGS="$ac_oss_incl"
12652 CPPFLAGS="$ac_save_CPPFLAGS"
12653 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12654 then
12655 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12659 if test "x$with_capi" != "xno"
12660 then
12661 if ${CAPI20_CFLAGS:+false} :; then :
12662 if ${PKG_CONFIG+:} false; then :
12663 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12667 if ${CAPI20_LIBS:+false} :; then :
12668 if ${PKG_CONFIG+:} false; then :
12669 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12674 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12675 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12676 ac_save_CPPFLAGS=$CPPFLAGS
12677 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12678 for ac_header in capi20.h linux/capi.h
12679 do :
12680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12683 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12684 cat >>confdefs.h <<_ACEOF
12685 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12686 _ACEOF
12690 done
12692 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12693 then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12695 $as_echo_n "checking for -lcapi20... " >&6; }
12696 if ${ac_cv_lib_soname_capi20+:} false; then :
12697 $as_echo_n "(cached) " >&6
12698 else
12699 ac_check_soname_save_LIBS=$LIBS
12700 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12704 /* Override any GCC internal prototype to avoid an error.
12705 Use char because int might match the return type of a GCC
12706 builtin and then its argument prototype would still apply. */
12707 #ifdef __cplusplus
12708 extern "C"
12709 #endif
12710 char capi20_register ();
12712 main ()
12714 return capi20_register ();
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_link "$LINENO"; then :
12720 case "$LIBEXT" in
12721 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12722 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'` ;;
12723 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12724 if ${ac_cv_lib_soname_capi20:+false} :; then :
12725 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12726 fi ;;
12727 esac
12729 rm -f core conftest.err conftest.$ac_objext \
12730 conftest$ac_exeext conftest.$ac_ext
12731 LIBS=$ac_check_soname_save_LIBS
12733 if ${ac_cv_lib_soname_capi20:+false} :; then :
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12735 $as_echo "not found" >&6; }
12737 else
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12739 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12741 cat >>confdefs.h <<_ACEOF
12742 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12743 _ACEOF
12748 CPPFLAGS=$ac_save_CPPFLAGS
12749 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12750 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12753 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12754 case "x$with_capi" in
12755 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12758 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12759 esac
12762 CUPS_CFLAGS=""
12764 if test "x$with_cups" != "xno"
12765 then
12766 ac_save_CPPFLAGS="$CPPFLAGS"
12767 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12768 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12769 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12770 for ac_header in cups/cups.h
12771 do :
12772 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12773 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12774 cat >>confdefs.h <<_ACEOF
12775 #define HAVE_CUPS_CUPS_H 1
12776 _ACEOF
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12778 $as_echo_n "checking for -lcups... " >&6; }
12779 if ${ac_cv_lib_soname_cups+:} false; then :
12780 $as_echo_n "(cached) " >&6
12781 else
12782 ac_check_soname_save_LIBS=$LIBS
12783 LIBS="-lcups $ac_cups_libs $LIBS"
12784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12785 /* end confdefs.h. */
12787 /* Override any GCC internal prototype to avoid an error.
12788 Use char because int might match the return type of a GCC
12789 builtin and then its argument prototype would still apply. */
12790 #ifdef __cplusplus
12791 extern "C"
12792 #endif
12793 char cupsGetDefault ();
12795 main ()
12797 return cupsGetDefault ();
12799 return 0;
12801 _ACEOF
12802 if ac_fn_c_try_link "$LINENO"; then :
12803 case "$LIBEXT" in
12804 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12805 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'` ;;
12806 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12807 if ${ac_cv_lib_soname_cups:+false} :; then :
12808 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12809 fi ;;
12810 esac
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_soname_save_LIBS
12816 if ${ac_cv_lib_soname_cups:+false} :; then :
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12818 $as_echo "not found" >&6; }
12820 else
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12822 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12824 cat >>confdefs.h <<_ACEOF
12825 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12826 _ACEOF
12828 CUPS_CFLAGS="$ac_cups_cflags"
12832 done
12834 CPPFLAGS="$ac_save_CPPFLAGS"
12836 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12837 case "x$with_cups" in
12838 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12839 xno) ;;
12840 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12841 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12842 esac
12845 if test "x$with_fontconfig" != "xno"
12846 then
12847 if ${FONTCONFIG_CFLAGS:+false} :; then :
12848 if ${PKG_CONFIG+:} false; then :
12849 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12852 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12853 if ${FONTCONFIG_LIBS:+false} :; then :
12854 if ${PKG_CONFIG+:} false; then :
12855 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12858 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12860 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12861 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12862 ac_save_CPPFLAGS=$CPPFLAGS
12863 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12864 for ac_header in fontconfig/fontconfig.h
12865 do :
12866 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12867 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12868 cat >>confdefs.h <<_ACEOF
12869 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12870 _ACEOF
12874 done
12876 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12877 then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12879 $as_echo_n "checking for -lfontconfig... " >&6; }
12880 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12881 $as_echo_n "(cached) " >&6
12882 else
12883 ac_check_soname_save_LIBS=$LIBS
12884 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12886 /* end confdefs.h. */
12888 /* Override any GCC internal prototype to avoid an error.
12889 Use char because int might match the return type of a GCC
12890 builtin and then its argument prototype would still apply. */
12891 #ifdef __cplusplus
12892 extern "C"
12893 #endif
12894 char FcInit ();
12896 main ()
12898 return FcInit ();
12900 return 0;
12902 _ACEOF
12903 if ac_fn_c_try_link "$LINENO"; then :
12904 case "$LIBEXT" in
12905 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12906 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'` ;;
12907 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12908 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12909 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12910 fi ;;
12911 esac
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_soname_save_LIBS
12917 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12919 $as_echo "not found" >&6; }
12920 FONTCONFIG_CFLAGS=""
12921 else
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12923 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12925 cat >>confdefs.h <<_ACEOF
12926 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12927 _ACEOF
12931 else
12932 FONTCONFIG_CFLAGS=""
12934 CPPFLAGS=$ac_save_CPPFLAGS
12935 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12936 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12939 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12940 case "x$with_fontconfig" in
12941 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12942 xno) ;;
12943 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12944 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12945 esac
12948 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12949 then
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12951 $as_echo_n "checking for -lgsm... " >&6; }
12952 if ${ac_cv_lib_soname_gsm+:} false; then :
12953 $as_echo_n "(cached) " >&6
12954 else
12955 ac_check_soname_save_LIBS=$LIBS
12956 LIBS="-lgsm $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12963 #ifdef __cplusplus
12964 extern "C"
12965 #endif
12966 char gsm_create ();
12968 main ()
12970 return gsm_create ();
12972 return 0;
12974 _ACEOF
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 case "$LIBEXT" in
12977 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12978 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'` ;;
12979 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12980 if ${ac_cv_lib_soname_gsm:+false} :; then :
12981 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12982 fi ;;
12983 esac
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 LIBS=$ac_check_soname_save_LIBS
12989 if ${ac_cv_lib_soname_gsm:+false} :; then :
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12991 $as_echo "not found" >&6; }
12993 else
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12995 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12997 cat >>confdefs.h <<_ACEOF
12998 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12999 _ACEOF
13004 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13005 case "x$with_gsm" in
13006 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13007 xno) ;;
13008 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13009 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13010 esac
13013 if test "x$with_jpeg" != "xno"
13014 then
13015 if ${JPEG_CFLAGS:+false} :; then :
13016 if ${PKG_CONFIG+:} false; then :
13017 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13021 if ${JPEG_LIBS:+false} :; then :
13022 if ${PKG_CONFIG+:} false; then :
13023 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13028 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13029 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13030 ac_save_CPPFLAGS=$CPPFLAGS
13031 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13032 for ac_header in jpeglib.h
13033 do :
13034 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13035 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13036 cat >>confdefs.h <<_ACEOF
13037 #define HAVE_JPEGLIB_H 1
13038 _ACEOF
13042 done
13044 if test "$ac_cv_header_jpeglib_h" = "yes"
13045 then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13047 $as_echo_n "checking for -ljpeg... " >&6; }
13048 if ${ac_cv_lib_soname_jpeg+:} false; then :
13049 $as_echo_n "(cached) " >&6
13050 else
13051 ac_check_soname_save_LIBS=$LIBS
13052 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13059 #ifdef __cplusplus
13060 extern "C"
13061 #endif
13062 char jpeg_start_decompress ();
13064 main ()
13066 return jpeg_start_decompress ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"; then :
13072 case "$LIBEXT" in
13073 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13074 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'` ;;
13075 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13076 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13077 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13078 fi ;;
13079 esac
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_soname_save_LIBS
13085 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13087 $as_echo "not found" >&6; }
13088 JPEG_CFLAGS=""
13089 else
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13091 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13093 cat >>confdefs.h <<_ACEOF
13094 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13095 _ACEOF
13099 else
13100 JPEG_CFLAGS=""
13102 CPPFLAGS=$ac_save_CPPFLAGS
13103 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13104 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13107 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13108 case "x$with_jpeg" in
13109 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13110 xno) ;;
13111 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13112 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13113 esac
13116 if test "x$with_png" != "xno"
13117 then
13118 if ${PNG_CFLAGS:+false} :; then :
13119 if ${PKG_CONFIG+:} false; then :
13120 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13123 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13124 if ${PNG_LIBS:+false} :; then :
13125 if ${PKG_CONFIG+:} false; then :
13126 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13129 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13131 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13132 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13135 for ac_header in png.h
13136 do :
13137 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13138 if test "x$ac_cv_header_png_h" = xyes; then :
13139 cat >>confdefs.h <<_ACEOF
13140 #define HAVE_PNG_H 1
13141 _ACEOF
13145 done
13147 if test "$ac_cv_header_png_h" = "yes"
13148 then
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13150 $as_echo_n "checking for -lpng... " >&6; }
13151 if ${ac_cv_lib_soname_png+:} false; then :
13152 $as_echo_n "(cached) " >&6
13153 else
13154 ac_check_soname_save_LIBS=$LIBS
13155 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13162 #ifdef __cplusplus
13163 extern "C"
13164 #endif
13165 char png_create_read_struct ();
13167 main ()
13169 return png_create_read_struct ();
13171 return 0;
13173 _ACEOF
13174 if ac_fn_c_try_link "$LINENO"; then :
13175 case "$LIBEXT" in
13176 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13177 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'` ;;
13178 *) 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'`
13179 if ${ac_cv_lib_soname_png:+false} :; then :
13180 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13181 fi ;;
13182 esac
13184 rm -f core conftest.err conftest.$ac_objext \
13185 conftest$ac_exeext conftest.$ac_ext
13186 LIBS=$ac_check_soname_save_LIBS
13188 if ${ac_cv_lib_soname_png:+false} :; then :
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13190 $as_echo "not found" >&6; }
13191 PNG_CFLAGS=""
13192 else
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13194 $as_echo "$ac_cv_lib_soname_png" >&6; }
13196 cat >>confdefs.h <<_ACEOF
13197 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13198 _ACEOF
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 #include <png.h>
13204 main ()
13206 typeof(png_set_expand_gray_1_2_4_to_8) *p
13208 return 0;
13210 _ACEOF
13211 if ac_fn_c_try_compile "$LINENO"; then :
13213 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13218 else
13219 PNG_CFLAGS=""
13221 CPPFLAGS=$ac_save_CPPFLAGS
13222 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13223 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13226 if test "x$ac_cv_lib_soname_png" = "x"; then :
13227 case "x$with_png" in
13228 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13229 xno) ;;
13230 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13231 This is an error since --with-png was requested." "$LINENO" 5 ;;
13232 esac
13235 if test "x$with_tiff" != "xno"
13236 then
13237 if ${TIFF_CFLAGS:+false} :; then :
13238 if ${PKG_CONFIG+:} false; then :
13239 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13243 if ${TIFF_LIBS:+false} :; then :
13244 if ${PKG_CONFIG+:} false; then :
13245 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13250 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13251 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13252 ac_save_CPPFLAGS=$CPPFLAGS
13253 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13254 for ac_header in tiffio.h
13255 do :
13256 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13257 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13258 cat >>confdefs.h <<_ACEOF
13259 #define HAVE_TIFFIO_H 1
13260 _ACEOF
13264 done
13266 if test "$ac_cv_header_tiffio_h" = "yes"
13267 then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13269 $as_echo_n "checking for -ltiff... " >&6; }
13270 if ${ac_cv_lib_soname_tiff+:} false; then :
13271 $as_echo_n "(cached) " >&6
13272 else
13273 ac_check_soname_save_LIBS=$LIBS
13274 LIBS="-ltiff $TIFF_LIBS $LIBS"
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13281 #ifdef __cplusplus
13282 extern "C"
13283 #endif
13284 char TIFFClientOpen ();
13286 main ()
13288 return TIFFClientOpen ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 case "$LIBEXT" in
13295 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13296 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'` ;;
13297 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13298 if ${ac_cv_lib_soname_tiff:+false} :; then :
13299 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13300 fi ;;
13301 esac
13303 rm -f core conftest.err conftest.$ac_objext \
13304 conftest$ac_exeext conftest.$ac_ext
13305 LIBS=$ac_check_soname_save_LIBS
13307 if ${ac_cv_lib_soname_tiff:+false} :; then :
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13309 $as_echo "not found" >&6; }
13311 else
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13313 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13315 cat >>confdefs.h <<_ACEOF
13316 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13317 _ACEOF
13322 CPPFLAGS=$ac_save_CPPFLAGS
13323 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13324 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13327 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13328 case "x$with_tiff" in
13329 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13330 xno) ;;
13331 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13332 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13333 esac
13336 if test "x$with_mpg123" != "xno"
13337 then
13338 if ${MPG123_CFLAGS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13344 if ${MPG123_LIBS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13350 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13351 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13352 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13353 ac_save_CPPFLAGS=$CPPFLAGS
13354 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13355 for ac_header in mpg123.h
13356 do :
13357 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13358 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13359 cat >>confdefs.h <<_ACEOF
13360 #define HAVE_MPG123_H 1
13361 _ACEOF
13365 done
13367 if test "$ac_cv_header_mpg123_h" = "yes"
13368 then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13370 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13371 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13372 $as_echo_n "(cached) " >&6
13373 else
13374 ac_check_lib_save_LIBS=$LIBS
13375 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13377 /* end confdefs.h. */
13379 /* Override any GCC internal prototype to avoid an error.
13380 Use char because int might match the return type of a GCC
13381 builtin and then its argument prototype would still apply. */
13382 #ifdef __cplusplus
13383 extern "C"
13384 #endif
13385 char mpg123_feed ();
13387 main ()
13389 return mpg123_feed ();
13391 return 0;
13393 _ACEOF
13394 if ac_fn_c_try_link "$LINENO"; then :
13395 ac_cv_lib_mpg123_mpg123_feed=yes
13396 else
13397 ac_cv_lib_mpg123_mpg123_feed=no
13399 rm -f core conftest.err conftest.$ac_objext \
13400 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_lib_save_LIBS
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13404 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13405 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13407 else
13408 MPG123_LIBS=""
13411 else
13412 MPG123_CFLAGS=""
13413 MPG123_LIBS=""
13415 CPPFLAGS=$ac_save_CPPFLAGS
13416 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13417 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13420 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13421 case "x$with_mpg123" in
13422 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13423 xno) ;;
13424 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13425 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13426 esac
13428 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}
13430 if test "$ac_cv_header_AL_al_h" = "yes"
13431 then
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13433 $as_echo_n "checking for -lopenal... " >&6; }
13434 if ${ac_cv_lib_soname_openal+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_soname_save_LIBS=$LIBS
13438 LIBS="-lopenal $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char alGetSource3i ();
13450 main ()
13452 return alGetSource3i ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 case "$LIBEXT" in
13459 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13460 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'` ;;
13461 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13462 if ${ac_cv_lib_soname_openal:+false} :; then :
13463 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 fi ;;
13465 esac
13467 rm -f core conftest.err conftest.$ac_objext \
13468 conftest$ac_exeext conftest.$ac_ext
13469 LIBS=$ac_check_soname_save_LIBS
13471 if ${ac_cv_lib_soname_openal:+false} :; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13473 $as_echo "not found" >&6; }
13475 else
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13477 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13479 cat >>confdefs.h <<_ACEOF
13480 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13481 _ACEOF
13483 OPENAL_LIBS="-lopenal"
13485 ac_cv_lib_openal=yes
13487 cat >>confdefs.h <<_ACEOF
13488 #define HAVE_OPENAL 1
13489 _ACEOF
13493 if test "x$ac_cv_lib_openal" != xyes; then :
13494 case "x$with_openal" in
13495 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13496 xno) ;;
13497 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13498 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13499 esac
13501 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13503 if test "$ac_cv_header_kstat_h" = "yes"
13504 then
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13506 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13507 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13508 $as_echo_n "(cached) " >&6
13509 else
13510 ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-lkstat $LIBS"
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 /* Override any GCC internal prototype to avoid an error.
13516 Use char because int might match the return type of a GCC
13517 builtin and then its argument prototype would still apply. */
13518 #ifdef __cplusplus
13519 extern "C"
13520 #endif
13521 char kstat_open ();
13523 main ()
13525 return kstat_open ();
13527 return 0;
13529 _ACEOF
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 ac_cv_lib_kstat_kstat_open=yes
13532 else
13533 ac_cv_lib_kstat_kstat_open=no
13535 rm -f core conftest.err conftest.$ac_objext \
13536 conftest$ac_exeext conftest.$ac_ext
13537 LIBS=$ac_check_lib_save_LIBS
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13540 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13541 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13543 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13545 KSTAT_LIBS="-lkstat"
13551 if test "$ac_cv_header_libprocstat_h" = "yes"
13552 then
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13554 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13555 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13556 $as_echo_n "(cached) " >&6
13557 else
13558 ac_check_lib_save_LIBS=$LIBS
13559 LIBS="-lprocstat $LIBS"
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13563 /* Override any GCC internal prototype to avoid an error.
13564 Use char because int might match the return type of a GCC
13565 builtin and then its argument prototype would still apply. */
13566 #ifdef __cplusplus
13567 extern "C"
13568 #endif
13569 char procstat_open_sysctl ();
13571 main ()
13573 return procstat_open_sysctl ();
13575 return 0;
13577 _ACEOF
13578 if ac_fn_c_try_link "$LINENO"; then :
13579 ac_cv_lib_procstat_procstat_open_sysctl=yes
13580 else
13581 ac_cv_lib_procstat_procstat_open_sysctl=no
13583 rm -f core conftest.err conftest.$ac_objext \
13584 conftest$ac_exeext conftest.$ac_ext
13585 LIBS=$ac_check_lib_save_LIBS
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13588 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13589 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13591 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13593 PROCSTAT_LIBS="-lprocstat"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13600 $as_echo_n "checking for -lodbc... " >&6; }
13601 if ${ac_cv_lib_soname_odbc+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_soname_save_LIBS=$LIBS
13605 LIBS="-lodbc $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char SQLConnect ();
13617 main ()
13619 return SQLConnect ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 case "$LIBEXT" in
13626 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13627 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'` ;;
13628 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13629 if ${ac_cv_lib_soname_odbc:+false} :; then :
13630 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13631 fi ;;
13632 esac
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 LIBS=$ac_check_soname_save_LIBS
13638 if ${ac_cv_lib_soname_odbc:+false} :; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13640 $as_echo "not found" >&6; }
13641 cat >>confdefs.h <<_ACEOF
13642 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13643 _ACEOF
13645 else
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13647 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13649 cat >>confdefs.h <<_ACEOF
13650 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13651 _ACEOF
13656 if test "x$with_netapi" != "xno"
13657 then
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13659 $as_echo_n "checking for -lnetapi... " >&6; }
13660 if ${ac_cv_lib_soname_netapi+:} false; then :
13661 $as_echo_n "(cached) " >&6
13662 else
13663 ac_check_soname_save_LIBS=$LIBS
13664 LIBS="-lnetapi $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13668 /* Override any GCC internal prototype to avoid an error.
13669 Use char because int might match the return type of a GCC
13670 builtin and then its argument prototype would still apply. */
13671 #ifdef __cplusplus
13672 extern "C"
13673 #endif
13674 char libnetapi_init ();
13676 main ()
13678 return libnetapi_init ();
13680 return 0;
13682 _ACEOF
13683 if ac_fn_c_try_link "$LINENO"; then :
13684 case "$LIBEXT" in
13685 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13686 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'` ;;
13687 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13688 if ${ac_cv_lib_soname_netapi:+false} :; then :
13689 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13690 fi ;;
13691 esac
13693 rm -f core conftest.err conftest.$ac_objext \
13694 conftest$ac_exeext conftest.$ac_ext
13695 LIBS=$ac_check_soname_save_LIBS
13697 if ${ac_cv_lib_soname_netapi:+false} :; then :
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13699 $as_echo "not found" >&6; }
13700 cat >>confdefs.h <<_ACEOF
13701 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13702 _ACEOF
13704 else
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13706 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13708 cat >>confdefs.h <<_ACEOF
13709 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13710 _ACEOF
13716 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13717 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13718 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13719 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13721 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13722 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13723 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13724 then
13725 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13729 EXTRACFLAGS=""
13731 if test "x${GCC}" = "xyes"
13732 then
13733 EXTRACFLAGS="-Wall -pipe"
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13736 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13737 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13738 $as_echo_n "(cached) " >&6
13739 else
13740 if test "$cross_compiling" = yes; then :
13741 ac_cv_c_gcc_strength_bug="yes"
13742 else
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int L[4] = {0,1,2,3};
13747 main ()
13749 static int Array[3];
13750 unsigned int B = 3;
13751 int i;
13752 for(i=0; i<B; i++) Array[i] = i - 3;
13753 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13754 L[i] = 4;
13755 return (Array[1] != -2 || L[2] != 3)
13757 return 0;
13759 _ACEOF
13760 if ac_fn_c_try_run "$LINENO"; then :
13761 ac_cv_c_gcc_strength_bug="no"
13762 else
13763 ac_cv_c_gcc_strength_bug="yes"
13765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13766 conftest.$ac_objext conftest.beam conftest.$ac_ext
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13771 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13772 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13773 then
13774 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13778 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13779 if ${ac_cv_cflags__fno_builtin+:} false; then :
13780 $as_echo_n "(cached) " >&6
13781 else
13782 ac_wine_try_cflags_saved=$CFLAGS
13783 CFLAGS="$CFLAGS -fno-builtin"
13784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 /* end confdefs.h. */
13786 int main(int argc, char **argv) { return 0; }
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"; then :
13789 ac_cv_cflags__fno_builtin=yes
13790 else
13791 ac_cv_cflags__fno_builtin=no
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13795 CFLAGS=$ac_wine_try_cflags_saved
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13798 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13799 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13800 BUILTINFLAG="-fno-builtin"
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13804 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13805 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 ac_wine_try_cflags_saved=$CFLAGS
13809 CFLAGS="$CFLAGS -fno-strict-aliasing"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13812 int main(int argc, char **argv) { return 0; }
13813 _ACEOF
13814 if ac_fn_c_try_link "$LINENO"; then :
13815 ac_cv_cflags__fno_strict_aliasing=yes
13816 else
13817 ac_cv_cflags__fno_strict_aliasing=no
13819 rm -f core conftest.err conftest.$ac_objext \
13820 conftest$ac_exeext conftest.$ac_ext
13821 CFLAGS=$ac_wine_try_cflags_saved
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13824 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13825 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13826 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13828 saved_CFLAGS=$CFLAGS
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13830 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13831 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_wine_try_cflags_saved=$CFLAGS
13835 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13838 int main(int argc, char **argv) { return 0; }
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 ac_cv_cflags__Werror_unknown_warning_option=yes
13842 else
13843 ac_cv_cflags__Werror_unknown_warning_option=no
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 CFLAGS=$ac_wine_try_cflags_saved
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13850 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13851 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13852 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13855 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13856 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13857 $as_echo_n "(cached) " >&6
13858 else
13859 ac_wine_try_cflags_saved=$CFLAGS
13860 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 int main(int argc, char **argv) { return 0; }
13864 _ACEOF
13865 if ac_fn_c_try_link "$LINENO"; then :
13866 ac_cv_cflags__Wdeclaration_after_statement=yes
13867 else
13868 ac_cv_cflags__Wdeclaration_after_statement=no
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 CFLAGS=$ac_wine_try_cflags_saved
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13875 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13876 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13877 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13880 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13881 if ${ac_cv_cflags__Wempty_body+:} false; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 ac_wine_try_cflags_saved=$CFLAGS
13885 CFLAGS="$CFLAGS -Wempty-body"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 int main(int argc, char **argv) { return 0; }
13889 _ACEOF
13890 if ac_fn_c_try_link "$LINENO"; then :
13891 ac_cv_cflags__Wempty_body=yes
13892 else
13893 ac_cv_cflags__Wempty_body=no
13895 rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 CFLAGS=$ac_wine_try_cflags_saved
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13900 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13901 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13902 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13905 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13906 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13907 $as_echo_n "(cached) " >&6
13908 else
13909 ac_wine_try_cflags_saved=$CFLAGS
13910 CFLAGS="$CFLAGS -Wignored-qualifiers"
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 int main(int argc, char **argv) { return 0; }
13914 _ACEOF
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_cflags__Wignored_qualifiers=yes
13917 else
13918 ac_cv_cflags__Wignored_qualifiers=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 CFLAGS=$ac_wine_try_cflags_saved
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13925 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13926 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13927 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13930 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13931 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13932 $as_echo_n "(cached) " >&6
13933 else
13934 ac_wine_try_cflags_saved=$CFLAGS
13935 CFLAGS="$CFLAGS -Wstrict-prototypes"
13936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13937 /* end confdefs.h. */
13938 int main(int argc, char **argv) { return 0; }
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"; then :
13941 ac_cv_cflags__Wstrict_prototypes=yes
13942 else
13943 ac_cv_cflags__Wstrict_prototypes=no
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 CFLAGS=$ac_wine_try_cflags_saved
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13950 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13951 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13952 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13955 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13956 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 ac_wine_try_cflags_saved=$CFLAGS
13960 CFLAGS="$CFLAGS -Wtype-limits"
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13963 int main(int argc, char **argv) { return 0; }
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 ac_cv_cflags__Wtype_limits=yes
13967 else
13968 ac_cv_cflags__Wtype_limits=no
13970 rm -f core conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 CFLAGS=$ac_wine_try_cflags_saved
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13975 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13976 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13977 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13980 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13981 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_wine_try_cflags_saved=$CFLAGS
13985 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13988 int main(int argc, char **argv) { return 0; }
13989 _ACEOF
13990 if ac_fn_c_try_link "$LINENO"; then :
13991 ac_cv_cflags__Wunused_but_set_parameter=yes
13992 else
13993 ac_cv_cflags__Wunused_but_set_parameter=no
13995 rm -f core conftest.err conftest.$ac_objext \
13996 conftest$ac_exeext conftest.$ac_ext
13997 CFLAGS=$ac_wine_try_cflags_saved
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14000 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14001 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14002 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14005 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14006 if ${ac_cv_cflags__Wvla+:} false; then :
14007 $as_echo_n "(cached) " >&6
14008 else
14009 ac_wine_try_cflags_saved=$CFLAGS
14010 CFLAGS="$CFLAGS -Wvla"
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14013 int main(int argc, char **argv) { return 0; }
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_cflags__Wvla=yes
14017 else
14018 ac_cv_cflags__Wvla=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 CFLAGS=$ac_wine_try_cflags_saved
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14025 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14026 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14027 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14030 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14031 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_wine_try_cflags_saved=$CFLAGS
14035 CFLAGS="$CFLAGS -Wwrite-strings"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14038 int main(int argc, char **argv) { return 0; }
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_cflags__Wwrite_strings=yes
14042 else
14043 ac_cv_cflags__Wwrite_strings=no
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14047 CFLAGS=$ac_wine_try_cflags_saved
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14050 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14051 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14052 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14056 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14057 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 ac_wine_try_cflags_saved=$CFLAGS
14061 CFLAGS="$CFLAGS -Wpointer-arith"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14064 int main(int argc, char **argv) { return 0; }
14065 _ACEOF
14066 if ac_fn_c_try_link "$LINENO"; then :
14067 ac_cv_cflags__Wpointer_arith=yes
14068 else
14069 ac_cv_cflags__Wpointer_arith=no
14071 rm -f core conftest.err conftest.$ac_objext \
14072 conftest$ac_exeext conftest.$ac_ext
14073 CFLAGS=$ac_wine_try_cflags_saved
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14076 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14077 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14078 saved_string_h_CFLAGS=$CFLAGS
14079 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14081 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14082 if ${ac_cv_c_string_h_warnings+:} false; then :
14083 $as_echo_n "(cached) " >&6
14084 else
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 #include <string.h>
14089 main ()
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_compile "$LINENO"; then :
14097 ac_cv_c_string_h_warnings=no
14098 else
14099 ac_cv_c_string_h_warnings=yes
14101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14104 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14105 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14106 CFLAGS=$saved_string_h_CFLAGS
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14110 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14111 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14112 $as_echo_n "(cached) " >&6
14113 else
14114 ac_wine_try_cflags_saved=$CFLAGS
14115 CFLAGS="$CFLAGS -Wlogical-op"
14116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14117 /* end confdefs.h. */
14118 int main(int argc, char **argv) { return 0; }
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 ac_cv_cflags__Wlogical_op=yes
14122 else
14123 ac_cv_cflags__Wlogical_op=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 CFLAGS=$ac_wine_try_cflags_saved
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14130 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14131 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14132 saved_string_h_CFLAGS=$CFLAGS
14133 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14135 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14136 if ${ac_cv_c_logicalop_noisy+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 #include <string.h>
14142 char*f(const char *h,char n) {return strchr(h,n);}
14144 main ()
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_compile "$LINENO"; then :
14152 ac_cv_c_logicalop_noisy=no
14153 else
14154 ac_cv_c_logicalop_noisy=yes
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14159 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14160 CFLAGS=$saved_string_h_CFLAGS
14161 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14164 CFLAGS=$saved_CFLAGS
14166 for ac_flag in $CFLAGS; do
14167 case $ac_flag in
14168 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14169 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14170 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14171 $as_echo_n "(cached) " >&6
14172 else
14173 ac_wine_try_cflags_saved=$CFLAGS
14174 CFLAGS="$CFLAGS -gdwarf-2"
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 int main(int argc, char **argv) { return 0; }
14178 _ACEOF
14179 if ac_fn_c_try_link "$LINENO"; then :
14180 ac_cv_cflags__gdwarf_2=yes
14181 else
14182 ac_cv_cflags__gdwarf_2=no
14184 rm -f core conftest.err conftest.$ac_objext \
14185 conftest$ac_exeext conftest.$ac_ext
14186 CFLAGS=$ac_wine_try_cflags_saved
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14189 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14190 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14191 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14194 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14195 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_wine_try_cflags_saved=$CFLAGS
14199 CFLAGS="$CFLAGS -gstrict-dwarf"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 int main(int argc, char **argv) { return 0; }
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_cflags__gstrict_dwarf=yes
14206 else
14207 ac_cv_cflags__gstrict_dwarf=no
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 CFLAGS=$ac_wine_try_cflags_saved
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14214 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14215 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14216 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14217 fi ;;
14218 esac
14219 done
14221 case $host_cpu in
14222 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14223 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14224 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_wine_try_cflags_saved=$CFLAGS
14228 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_cflags__fno_omit_frame_pointer=yes
14235 else
14236 ac_cv_cflags__fno_omit_frame_pointer=no
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 CFLAGS=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14243 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14244 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14245 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14246 fi ;;
14247 esac
14249 case $host in
14250 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14251 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14252 if ${ac_cv_cflags__Wno_format+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_wine_try_cflags_saved=$CFLAGS
14256 CFLAGS="$CFLAGS -Wno-format"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14259 int main(int argc, char **argv) { return 0; }
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"; then :
14262 ac_cv_cflags__Wno_format=yes
14263 else
14264 ac_cv_cflags__Wno_format=no
14266 rm -f core conftest.err conftest.$ac_objext \
14267 conftest$ac_exeext conftest.$ac_ext
14268 CFLAGS=$ac_wine_try_cflags_saved
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14271 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14272 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14273 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14274 fi ;;
14275 esac
14277 if test "x$enable_maintainer_mode" = "xyes"
14278 then
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14280 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14281 if ${ac_cv_cflags__Werror+:} false; then :
14282 $as_echo_n "(cached) " >&6
14283 else
14284 ac_wine_try_cflags_saved=$CFLAGS
14285 CFLAGS="$CFLAGS -Werror"
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 int main(int argc, char **argv) { return 0; }
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_cflags__Werror=yes
14292 else
14293 ac_cv_cflags__Werror=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 CFLAGS=$ac_wine_try_cflags_saved
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14300 $as_echo "$ac_cv_cflags__Werror" >&6; }
14301 if test "x$ac_cv_cflags__Werror" = xyes; then :
14302 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14306 saved_CFLAGS="$CFLAGS"
14307 CFLAGS="$CFLAGS -Werror"
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14309 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14310 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14317 main ()
14321 return 0;
14323 _ACEOF
14324 if ac_fn_c_try_compile "$LINENO"; then :
14325 ac_cv_have_ms_hook_prologue="yes"
14326 else
14327 ac_cv_have_ms_hook_prologue="no"
14329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14332 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14333 CFLAGS="$saved_CFLAGS"
14334 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14335 then
14337 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14339 else
14340 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14347 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14348 if ${ac_cv_c_fortify_enabled+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14353 #include <string.h>
14355 main ()
14357 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14358 #error Fortify enabled
14359 #endif
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_compile "$LINENO"; then :
14365 ac_cv_c_fortify_enabled=no
14366 else
14367 ac_cv_c_fortify_enabled=yes
14369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14372 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14373 if test "$ac_cv_c_fortify_enabled" = yes
14374 then
14375 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14380 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14381 if ${ac_cv_c_extern_prefix+:} false; then :
14382 $as_echo_n "(cached) " >&6
14383 else
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14386 extern int ac_test;
14388 main ()
14390 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_c_extern_prefix="yes"
14397 else
14398 ac_cv_c_extern_prefix="no"
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14404 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14406 case $host_cpu in
14407 *i[3456789]86*)
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14409 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14410 if ${ac_cv_c_stdcall_suffix+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 #ifndef _MSC_VER
14416 #define __stdcall __attribute__((__stdcall__))
14417 #endif
14418 int __stdcall ac_test(int i) { return i; }
14420 main ()
14422 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_c_stdcall_suffix="yes"
14429 else
14430 ac_cv_c_stdcall_suffix="no"
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14436 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14437 *) ac_cv_c_stdcall_suffix="no" ;;
14438 esac
14441 if test "$ac_cv_c_extern_prefix" = "yes"
14442 then
14443 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14445 asm_name_prefix="_"
14446 else
14447 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14449 asm_name_prefix=""
14453 if test "$ac_cv_c_stdcall_suffix" = "yes"
14454 then
14455 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14457 else
14458 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14464 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14465 if ${ac_cv_asm_func_def+:} false; then :
14466 $as_echo_n "(cached) " >&6
14467 else
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14472 main ()
14474 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14476 return 0;
14478 _ACEOF
14479 if ac_fn_c_try_link "$LINENO"; then :
14480 ac_cv_asm_func_def=".def"
14481 else
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14486 main ()
14488 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_asm_func_def=".type @function"
14495 else
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14500 main ()
14502 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14504 return 0;
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508 ac_cv_asm_func_def=".type 2"
14509 else
14510 ac_cv_asm_func_def="unknown"
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14515 rm -f core conftest.err conftest.$ac_objext \
14516 conftest$ac_exeext conftest.$ac_ext
14518 rm -f core conftest.err conftest.$ac_objext \
14519 conftest$ac_exeext conftest.$ac_ext
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14522 $as_echo "$ac_cv_asm_func_def" >&6; }
14525 case "$ac_cv_asm_func_def" in
14526 ".def")
14527 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14529 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14530 ".type @function")
14531 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14533 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14534 ".type 2")
14535 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14537 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14539 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14541 asm_func_header="" ;;
14542 esac
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14545 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14546 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 asm(".text\n\t.long 0");
14553 main ()
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_compile "$LINENO"; then :
14561 ac_cv_c_asm_outside_funcs="yes"
14562 else
14563 ac_cv_c_asm_outside_funcs="no"
14565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14568 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14571 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14572 if ${ac_cv_c_dot_previous+:} false; then :
14573 $as_echo_n "(cached) " >&6
14574 else
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14579 main ()
14581 asm(".text\nac_test:\t.long 0\n\t.previous");
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_c_dot_previous="yes"
14588 else
14589 ac_cv_c_dot_previous="no"
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14595 $as_echo "$ac_cv_c_dot_previous" >&6; }
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14598 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14599 if ${ac_cv_c_cfi_support+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14604 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14606 main ()
14610 return 0;
14612 _ACEOF
14613 if ac_fn_c_try_compile "$LINENO"; then :
14614 ac_cv_c_cfi_support="yes"
14615 else
14616 ac_cv_c_cfi_support="no"
14618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14621 $as_echo "$ac_cv_c_cfi_support" >&6; }
14623 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14624 asm_func_trailer=""
14625 if test "$ac_cv_c_dot_previous" = "yes"
14626 then
14627 asm_func_trailer="\\n\\t.previous"
14629 if test "$ac_cv_c_cfi_support" = "yes"
14630 then
14631 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14632 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14634 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14636 UNWINDFLAGS=-fasynchronous-unwind-tables
14638 else
14639 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14641 if test "x$enable_win64" = "xyes"
14642 then
14643 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14647 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14650 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14651 then
14652 cat >>confdefs.h <<_ACEOF
14653 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14654 _ACEOF
14656 else
14657 cat >>confdefs.h <<_ACEOF
14658 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14659 _ACEOF
14663 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14666 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14670 case $build_os in
14671 cygwin*|mingw32*) TOOLSEXT=".exe"
14673 esac
14675 case $host_os in
14676 linux*)
14677 case $host_cpu in
14678 *i[3456789]86*|x86_64*)
14679 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14680 loader_programs="$loader_programs $wine_binary-preloader"
14681 as_fn_append LOADER_RULES "
14682 $wine_binary-preloader: preloader.o
14683 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14685 install install-lib:: $wine_binary-preloader
14686 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14688 uninstall::
14689 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14691 preloader_EXTRADEFS = $BUILTINFLAG
14692 " ;;
14693 esac
14695 esac
14696 as_fn_append LOADER_RULES "
14697 PROGRAMS = $loader_programs
14701 ac_save_CFLAGS="$CFLAGS"
14702 CFLAGS="$CFLAGS $BUILTINFLAG"
14703 for ac_func in \
14704 __res_get_state \
14705 __res_getservers \
14706 _finite \
14707 _isnan \
14708 _pclose \
14709 _popen \
14710 _snprintf \
14711 _spawnvp \
14712 _strdup \
14713 _stricmp \
14714 _strnicmp \
14715 _strtoi64 \
14716 _strtoui64 \
14717 _vsnprintf \
14718 asctime_r \
14719 chsize \
14720 dlopen \
14721 epoll_create \
14722 ffs \
14723 finitef \
14724 fnmatch \
14725 fork \
14726 fpclass \
14727 fstatfs \
14728 fstatvfs \
14729 ftruncate \
14730 futimens \
14731 futimes \
14732 futimesat \
14733 getattrlist \
14734 getdirentries \
14735 getopt_long_only \
14736 getpwuid \
14737 gettimeofday \
14738 getuid \
14739 if_nameindex \
14740 isnanf \
14741 kqueue \
14742 lstat \
14743 memmove \
14744 mmap \
14745 pclose \
14746 pipe2 \
14747 poll \
14748 popen \
14749 port_create \
14750 prctl \
14751 pread \
14752 proc_pidinfo \
14753 pwrite \
14754 readdir \
14755 readlink \
14756 sched_yield \
14757 select \
14758 setproctitle \
14759 setrlimit \
14760 settimeofday \
14761 sigaltstack \
14762 sigprocmask \
14763 snprintf \
14764 statfs \
14765 statvfs \
14766 strcasecmp \
14767 strdup \
14768 strerror \
14769 strncasecmp \
14770 strtold \
14771 strtoll \
14772 strtoull \
14773 symlink \
14774 tcdrain \
14775 thr_kill2 \
14776 timegm \
14777 usleep \
14778 vsnprintf
14780 do :
14781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14783 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14784 cat >>confdefs.h <<_ACEOF
14785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14786 _ACEOF
14789 done
14791 CFLAGS="$ac_save_CFLAGS"
14793 if test "$ac_cv_func_dlopen" = no
14794 then
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14796 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14797 if ${ac_cv_lib_dl_dlopen+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-ldl $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char dlopen ();
14813 main ()
14815 return dlopen ();
14817 return 0;
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_lib_dl_dlopen=yes
14822 else
14823 ac_cv_lib_dl_dlopen=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14830 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14831 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14832 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14833 DL_LIBS="-ldl"
14838 ac_wine_check_funcs_save_LIBS="$LIBS"
14839 LIBS="$LIBS $DL_LIBS"
14840 for ac_func in dladdr
14841 do :
14842 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14843 if test "x$ac_cv_func_dladdr" = xyes; then :
14844 cat >>confdefs.h <<_ACEOF
14845 #define HAVE_DLADDR 1
14846 _ACEOF
14849 done
14851 LIBS="$ac_wine_check_funcs_save_LIBS"
14853 if test "$ac_cv_func_poll" = no
14854 then
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14856 $as_echo_n "checking for poll in -lpoll... " >&6; }
14857 if ${ac_cv_lib_poll_poll+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 ac_check_lib_save_LIBS=$LIBS
14861 LIBS="-lpoll $LIBS"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14865 /* Override any GCC internal prototype to avoid an error.
14866 Use char because int might match the return type of a GCC
14867 builtin and then its argument prototype would still apply. */
14868 #ifdef __cplusplus
14869 extern "C"
14870 #endif
14871 char poll ();
14873 main ()
14875 return poll ();
14877 return 0;
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_lib_poll_poll=yes
14882 else
14883 ac_cv_lib_poll_poll=no
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14887 LIBS=$ac_check_lib_save_LIBS
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14890 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14891 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14892 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14893 POLL_LIBS="-lpoll"
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14900 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14901 if ${ac_cv_search_gethostbyname+:} false; then :
14902 $as_echo_n "(cached) " >&6
14903 else
14904 ac_func_search_save_LIBS=$LIBS
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14908 /* Override any GCC internal prototype to avoid an error.
14909 Use char because int might match the return type of a GCC
14910 builtin and then its argument prototype would still apply. */
14911 #ifdef __cplusplus
14912 extern "C"
14913 #endif
14914 char gethostbyname ();
14916 main ()
14918 return gethostbyname ();
14920 return 0;
14922 _ACEOF
14923 for ac_lib in '' nsl; do
14924 if test -z "$ac_lib"; then
14925 ac_res="none required"
14926 else
14927 ac_res=-l$ac_lib
14928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14930 if ac_fn_c_try_link "$LINENO"; then :
14931 ac_cv_search_gethostbyname=$ac_res
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext
14935 if ${ac_cv_search_gethostbyname+:} false; then :
14936 break
14938 done
14939 if ${ac_cv_search_gethostbyname+:} false; then :
14941 else
14942 ac_cv_search_gethostbyname=no
14944 rm conftest.$ac_ext
14945 LIBS=$ac_func_search_save_LIBS
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14948 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14949 ac_res=$ac_cv_search_gethostbyname
14950 if test "$ac_res" != no; then :
14951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14957 $as_echo_n "checking for library containing connect... " >&6; }
14958 if ${ac_cv_search_connect+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 ac_func_search_save_LIBS=$LIBS
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14968 #ifdef __cplusplus
14969 extern "C"
14970 #endif
14971 char connect ();
14973 main ()
14975 return connect ();
14977 return 0;
14979 _ACEOF
14980 for ac_lib in '' socket; do
14981 if test -z "$ac_lib"; then
14982 ac_res="none required"
14983 else
14984 ac_res=-l$ac_lib
14985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 ac_cv_search_connect=$ac_res
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext
14992 if ${ac_cv_search_connect+:} false; then :
14993 break
14995 done
14996 if ${ac_cv_search_connect+:} false; then :
14998 else
14999 ac_cv_search_connect=no
15001 rm conftest.$ac_ext
15002 LIBS=$ac_func_search_save_LIBS
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15005 $as_echo "$ac_cv_search_connect" >&6; }
15006 ac_res=$ac_cv_search_connect
15007 if test "$ac_res" != no; then :
15008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15014 $as_echo_n "checking for library containing inet_aton... " >&6; }
15015 if ${ac_cv_search_inet_aton+:} false; then :
15016 $as_echo_n "(cached) " >&6
15017 else
15018 ac_func_search_save_LIBS=$LIBS
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15022 /* Override any GCC internal prototype to avoid an error.
15023 Use char because int might match the return type of a GCC
15024 builtin and then its argument prototype would still apply. */
15025 #ifdef __cplusplus
15026 extern "C"
15027 #endif
15028 char inet_aton ();
15030 main ()
15032 return inet_aton ();
15034 return 0;
15036 _ACEOF
15037 for ac_lib in '' resolv; do
15038 if test -z "$ac_lib"; then
15039 ac_res="none required"
15040 else
15041 ac_res=-l$ac_lib
15042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_search_inet_aton=$ac_res
15047 rm -f core conftest.err conftest.$ac_objext \
15048 conftest$ac_exeext
15049 if ${ac_cv_search_inet_aton+:} false; then :
15050 break
15052 done
15053 if ${ac_cv_search_inet_aton+:} false; then :
15055 else
15056 ac_cv_search_inet_aton=no
15058 rm conftest.$ac_ext
15059 LIBS=$ac_func_search_save_LIBS
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15062 $as_echo "$ac_cv_search_inet_aton" >&6; }
15063 ac_res=$ac_cv_search_inet_aton
15064 if test "$ac_res" != no; then :
15065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15070 for ac_func in \
15071 getaddrinfo \
15072 getnameinfo \
15073 getnetbyname \
15074 getprotobyname \
15075 getprotobynumber \
15076 getservbyport \
15077 inet_addr \
15078 inet_network \
15079 inet_ntop \
15080 inet_pton \
15081 sendmsg \
15082 socketpair \
15084 do :
15085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15087 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15088 cat >>confdefs.h <<_ACEOF
15089 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15090 _ACEOF
15093 done
15096 ac_save_LIBS=$LIBS
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15098 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15099 if ${ac_cv_search_clock_gettime+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 ac_func_search_save_LIBS=$LIBS
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15106 /* Override any GCC internal prototype to avoid an error.
15107 Use char because int might match the return type of a GCC
15108 builtin and then its argument prototype would still apply. */
15109 #ifdef __cplusplus
15110 extern "C"
15111 #endif
15112 char clock_gettime ();
15114 main ()
15116 return clock_gettime ();
15118 return 0;
15120 _ACEOF
15121 for ac_lib in '' rt; do
15122 if test -z "$ac_lib"; then
15123 ac_res="none required"
15124 else
15125 ac_res=-l$ac_lib
15126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15128 if ac_fn_c_try_link "$LINENO"; then :
15129 ac_cv_search_clock_gettime=$ac_res
15131 rm -f core conftest.err conftest.$ac_objext \
15132 conftest$ac_exeext
15133 if ${ac_cv_search_clock_gettime+:} false; then :
15134 break
15136 done
15137 if ${ac_cv_search_clock_gettime+:} false; then :
15139 else
15140 ac_cv_search_clock_gettime=no
15142 rm conftest.$ac_ext
15143 LIBS=$ac_func_search_save_LIBS
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15146 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15147 ac_res=$ac_cv_search_clock_gettime
15148 if test "$ac_res" != no; then :
15149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15151 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15153 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15157 LIBS=$ac_save_LIBS
15159 LDAP_LIBS=""
15161 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15162 then
15163 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15165 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15167 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15168 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 ac_check_lib_save_LIBS=$LIBS
15172 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15179 #ifdef __cplusplus
15180 extern "C"
15181 #endif
15182 char ldap_initialize ();
15184 main ()
15186 return ldap_initialize ();
15188 return 0;
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 ac_cv_lib_ldap_r_ldap_initialize=yes
15193 else
15194 ac_cv_lib_ldap_r_ldap_initialize=no
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 LIBS=$ac_check_lib_save_LIBS
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15201 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15202 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15204 $as_echo_n "checking for ber_init in -llber... " >&6; }
15205 if ${ac_cv_lib_lber_ber_init+:} false; then :
15206 $as_echo_n "(cached) " >&6
15207 else
15208 ac_check_lib_save_LIBS=$LIBS
15209 LIBS="-llber $PTHREAD_LIBS $LIBS"
15210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15211 /* end confdefs.h. */
15213 /* Override any GCC internal prototype to avoid an error.
15214 Use char because int might match the return type of a GCC
15215 builtin and then its argument prototype would still apply. */
15216 #ifdef __cplusplus
15217 extern "C"
15218 #endif
15219 char ber_init ();
15221 main ()
15223 return ber_init ();
15225 return 0;
15227 _ACEOF
15228 if ac_fn_c_try_link "$LINENO"; then :
15229 ac_cv_lib_lber_ber_init=yes
15230 else
15231 ac_cv_lib_lber_ber_init=no
15233 rm -f core conftest.err conftest.$ac_objext \
15234 conftest$ac_exeext conftest.$ac_ext
15235 LIBS=$ac_check_lib_save_LIBS
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15238 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15239 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15241 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15243 LDAP_LIBS="-lldap_r -llber"
15250 ac_wine_check_funcs_save_LIBS="$LIBS"
15251 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15252 for ac_func in \
15253 ldap_count_references \
15254 ldap_first_reference \
15255 ldap_next_reference \
15256 ldap_parse_reference \
15257 ldap_parse_sort_control \
15258 ldap_parse_sortresponse_control \
15259 ldap_parse_vlv_control \
15260 ldap_parse_vlvresponse_control
15261 do :
15262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15265 cat >>confdefs.h <<_ACEOF
15266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15267 _ACEOF
15270 done
15272 LIBS="$ac_wine_check_funcs_save_LIBS"
15274 if test "x$LDAP_LIBS" = "x"; then :
15275 case "x$with_ldap" in
15276 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15277 xno) ;;
15278 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15279 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15280 esac
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15284 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15285 if ${wine_cv_one_arg_mkdir+:} false; then :
15286 $as_echo_n "(cached) " >&6
15287 else
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h. */
15290 #include <sys/stat.h>
15292 main ()
15294 mkdir("foo");
15296 return 0;
15298 _ACEOF
15299 if ac_fn_c_try_compile "$LINENO"; then :
15300 wine_cv_one_arg_mkdir=yes
15301 else
15302 wine_cv_one_arg_mkdir=no
15304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15307 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15308 if test "$wine_cv_one_arg_mkdir" = "yes"
15309 then
15311 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15316 $as_echo_n "checking for sched_setaffinity... " >&6; }
15317 if ${wine_cv_have_sched_setaffinity+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322 #define _GNU_SOURCE
15323 #include <sched.h>
15325 main ()
15327 sched_setaffinity(0, 0, 0);
15329 return 0;
15331 _ACEOF
15332 if ac_fn_c_try_link "$LINENO"; then :
15333 wine_cv_have_sched_setaffinity=yes
15334 else
15335 wine_cv_have_sched_setaffinity=no
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15341 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15342 if test "$wine_cv_have_sched_setaffinity" = "yes"
15343 then
15345 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15350 $as_echo_n "checking for fallocate... " >&6; }
15351 if ${wine_cv_have_fallocate+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 #define _GNU_SOURCE
15357 #include <fcntl.h>
15359 main ()
15361 fallocate(-1, 0, 0, 0);
15363 return 0;
15365 _ACEOF
15366 if ac_fn_c_try_link "$LINENO"; then :
15367 wine_cv_have_fallocate=yes
15368 else
15369 wine_cv_have_fallocate=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15375 $as_echo "$wine_cv_have_fallocate" >&6; }
15376 if test "$wine_cv_have_fallocate" = "yes"
15377 then
15379 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15385 $as_echo_n "checking for inline... " >&6; }
15386 if ${ac_cv_c_inline+:} false; then :
15387 $as_echo_n "(cached) " >&6
15388 else
15389 ac_cv_c_inline=no
15390 for ac_kw in inline __inline__ __inline; do
15391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15393 #ifndef __cplusplus
15394 typedef int foo_t;
15395 static $ac_kw foo_t static_foo () {return 0; }
15396 $ac_kw foo_t foo () {return 0; }
15397 #endif
15399 _ACEOF
15400 if ac_fn_c_try_compile "$LINENO"; then :
15401 ac_cv_c_inline=$ac_kw
15403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15404 test "$ac_cv_c_inline" != no && break
15405 done
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15409 $as_echo "$ac_cv_c_inline" >&6; }
15411 case $ac_cv_c_inline in
15412 inline | yes) ;;
15414 case $ac_cv_c_inline in
15415 no) ac_val=;;
15416 *) ac_val=$ac_cv_c_inline;;
15417 esac
15418 cat >>confdefs.h <<_ACEOF
15419 #ifndef __cplusplus
15420 #define inline $ac_val
15421 #endif
15422 _ACEOF
15424 esac
15426 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15427 if test "x$ac_cv_type_mode_t" = xyes; then :
15429 cat >>confdefs.h <<_ACEOF
15430 #define HAVE_MODE_T 1
15431 _ACEOF
15435 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15436 if test "x$ac_cv_type_off_t" = xyes; then :
15438 cat >>confdefs.h <<_ACEOF
15439 #define HAVE_OFF_T 1
15440 _ACEOF
15444 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15445 if test "x$ac_cv_type_pid_t" = xyes; then :
15447 cat >>confdefs.h <<_ACEOF
15448 #define HAVE_PID_T 1
15449 _ACEOF
15453 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15454 if test "x$ac_cv_type_size_t" = xyes; then :
15456 cat >>confdefs.h <<_ACEOF
15457 #define HAVE_SIZE_T 1
15458 _ACEOF
15462 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15463 if test "x$ac_cv_type_ssize_t" = xyes; then :
15465 cat >>confdefs.h <<_ACEOF
15466 #define HAVE_SSIZE_T 1
15467 _ACEOF
15471 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15472 if test "x$ac_cv_type_long_long" = xyes; then :
15474 cat >>confdefs.h <<_ACEOF
15475 #define HAVE_LONG_LONG 1
15476 _ACEOF
15480 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15481 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15483 cat >>confdefs.h <<_ACEOF
15484 #define HAVE_FSBLKCNT_T 1
15485 _ACEOF
15489 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15490 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15492 cat >>confdefs.h <<_ACEOF
15493 #define HAVE_FSFILCNT_T 1
15494 _ACEOF
15499 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15500 #include <signal.h>
15502 if test "x$ac_cv_type_sigset_t" = xyes; then :
15504 cat >>confdefs.h <<_ACEOF
15505 #define HAVE_SIGSET_T 1
15506 _ACEOF
15511 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15513 if test "x$ac_cv_type_request_sense" = xyes; then :
15515 cat >>confdefs.h <<_ACEOF
15516 #define HAVE_REQUEST_SENSE 1
15517 _ACEOF
15523 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15524 #ifdef HAVE_SYS_SOCKET_H
15525 #include <sys/socket.h>
15526 #endif
15527 #ifdef HAVE_SYS_SOCKETVAR_H
15528 #include <sys/socketvar.h>
15529 #endif
15530 #ifdef HAVE_NET_ROUTE_H
15531 #include <net/route.h>
15532 #endif
15533 #ifdef HAVE_NETINET_IN_H
15534 #include <netinet/in.h>
15535 #endif
15536 #ifdef HAVE_NETINET_IN_SYSTM_H
15537 #include <netinet/in_systm.h>
15538 #endif
15539 #ifdef HAVE_NETINET_IP_H
15540 #include <netinet/ip.h>
15541 #endif
15542 #ifdef HAVE_NETINET_IN_PCB_H
15543 #include <netinet/in_pcb.h>
15544 #endif
15546 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15548 cat >>confdefs.h <<_ACEOF
15549 #define HAVE_STRUCT_XINPGEN 1
15550 _ACEOF
15556 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15557 #include <link.h>
15558 #endif
15559 #ifdef HAVE_SYS_LINK_H
15560 #include <sys/link.h>
15561 #endif
15563 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15565 cat >>confdefs.h <<_ACEOF
15566 #define HAVE_STRUCT_R_DEBUG 1
15567 _ACEOF
15571 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15572 #include <link.h>
15573 #endif
15574 #ifdef HAVE_SYS_LINK_H
15575 #include <sys/link.h>
15576 #endif
15578 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define HAVE_STRUCT_LINK_MAP 1
15582 _ACEOF
15588 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15589 #include <linux/input.h>
15590 #endif
15592 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15596 _ACEOF
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15603 $as_echo_n "checking for sigaddset... " >&6; }
15604 if ${wine_cv_have_sigaddset+:} false; then :
15605 $as_echo_n "(cached) " >&6
15606 else
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15609 #include <signal.h>
15611 main ()
15613 sigset_t set; sigaddset(&set,SIGTERM);
15615 return 0;
15617 _ACEOF
15618 if ac_fn_c_try_link "$LINENO"; then :
15619 wine_cv_have_sigaddset=yes
15620 else
15621 wine_cv_have_sigaddset=no
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15627 $as_echo "$wine_cv_have_sigaddset" >&6; }
15628 if test "$wine_cv_have_sigaddset" = "yes"
15629 then
15631 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15637 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15638 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15639 $as_echo_n "(cached) " >&6
15640 else
15641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15642 /* end confdefs.h. */
15643 #include <netdb.h>
15645 main ()
15648 char *name=0;
15649 struct hostent he;
15650 struct hostent *result;
15651 char *buf=0;
15652 int bufsize=0;
15653 int errnr;
15654 char *addr=0;
15655 int addrlen=0;
15656 int addrtype=0;
15657 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15658 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 wine_cv_linux_gethostbyname_r_6=yes
15666 else
15667 wine_cv_linux_gethostbyname_r_6=no
15670 rm -f core conftest.err conftest.$ac_objext \
15671 conftest$ac_exeext conftest.$ac_ext
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15675 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15676 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15677 then
15679 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15683 if test "$ac_cv_header_linux_joystick_h" = "yes"
15684 then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15686 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15687 if ${wine_cv_linux_joystick_22_api+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 #include <sys/ioctl.h>
15694 #include <sys/types.h>
15695 #include <linux/joystick.h>
15697 struct js_event blub;
15698 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15699 #error "no 2.2 header"
15700 #endif
15703 main ()
15705 /*empty*/
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_compile "$LINENO"; then :
15711 wine_cv_linux_joystick_22_api=yes
15712 else
15713 wine_cv_linux_joystick_22_api=no
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15719 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15720 if test "$wine_cv_linux_joystick_22_api" = "yes"
15721 then
15723 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15729 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15730 #ifdef HAVE_SYS_PARAM_H
15731 # include <sys/param.h>
15732 #endif
15733 #ifdef HAVE_SYS_MOUNT_H
15734 # include <sys/mount.h>
15735 #endif
15736 #ifdef HAVE_SYS_VFS_H
15737 # include <sys/vfs.h>
15738 #endif
15739 #ifdef HAVE_SYS_STATFS_H
15740 # include <sys/statfs.h>
15741 #endif
15743 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_STRUCT_STATFS_F_BFREE 1
15747 _ACEOF
15751 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15752 #ifdef HAVE_SYS_PARAM_H
15753 # include <sys/param.h>
15754 #endif
15755 #ifdef HAVE_SYS_MOUNT_H
15756 # include <sys/mount.h>
15757 #endif
15758 #ifdef HAVE_SYS_VFS_H
15759 # include <sys/vfs.h>
15760 #endif
15761 #ifdef HAVE_SYS_STATFS_H
15762 # include <sys/statfs.h>
15763 #endif
15765 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15769 _ACEOF
15773 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15774 #ifdef HAVE_SYS_PARAM_H
15775 # include <sys/param.h>
15776 #endif
15777 #ifdef HAVE_SYS_MOUNT_H
15778 # include <sys/mount.h>
15779 #endif
15780 #ifdef HAVE_SYS_VFS_H
15781 # include <sys/vfs.h>
15782 #endif
15783 #ifdef HAVE_SYS_STATFS_H
15784 # include <sys/statfs.h>
15785 #endif
15787 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15789 cat >>confdefs.h <<_ACEOF
15790 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15791 _ACEOF
15795 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15796 #ifdef HAVE_SYS_PARAM_H
15797 # include <sys/param.h>
15798 #endif
15799 #ifdef HAVE_SYS_MOUNT_H
15800 # include <sys/mount.h>
15801 #endif
15802 #ifdef HAVE_SYS_VFS_H
15803 # include <sys/vfs.h>
15804 #endif
15805 #ifdef HAVE_SYS_STATFS_H
15806 # include <sys/statfs.h>
15807 #endif
15809 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_STRUCT_STATFS_F_FFREE 1
15813 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15818 #ifdef HAVE_SYS_PARAM_H
15819 # include <sys/param.h>
15820 #endif
15821 #ifdef HAVE_SYS_MOUNT_H
15822 # include <sys/mount.h>
15823 #endif
15824 #ifdef HAVE_SYS_VFS_H
15825 # include <sys/vfs.h>
15826 #endif
15827 #ifdef HAVE_SYS_STATFS_H
15828 # include <sys/statfs.h>
15829 #endif
15831 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15835 _ACEOF
15839 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15840 #ifdef HAVE_SYS_PARAM_H
15841 # include <sys/param.h>
15842 #endif
15843 #ifdef HAVE_SYS_MOUNT_H
15844 # include <sys/mount.h>
15845 #endif
15846 #ifdef HAVE_SYS_VFS_H
15847 # include <sys/vfs.h>
15848 #endif
15849 #ifdef HAVE_SYS_STATFS_H
15850 # include <sys/statfs.h>
15851 #endif
15853 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15857 _ACEOF
15863 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15864 #include <sys/statvfs.h>
15865 #endif
15867 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15871 _ACEOF
15877 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15878 #include <dirent.h>
15879 #endif
15881 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15885 _ACEOF
15891 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15892 #ifdef HAVE_SYS_SOCKET_H
15893 # include <sys/socket.h>
15894 #endif
15895 #ifdef HAVE_SYS_UN_H
15896 # include <sys/un.h>
15897 #endif
15899 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15901 cat >>confdefs.h <<_ACEOF
15902 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15903 _ACEOF
15907 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15908 #ifdef HAVE_SYS_SOCKET_H
15909 # include <sys/socket.h>
15910 #endif
15911 #ifdef HAVE_SYS_UN_H
15912 # include <sys/un.h>
15913 #endif
15915 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15917 cat >>confdefs.h <<_ACEOF
15918 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15919 _ACEOF
15923 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15924 #ifdef HAVE_SYS_SOCKET_H
15925 # include <sys/socket.h>
15926 #endif
15927 #ifdef HAVE_SYS_UN_H
15928 # include <sys/un.h>
15929 #endif
15931 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15933 cat >>confdefs.h <<_ACEOF
15934 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15935 _ACEOF
15941 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15942 #ifdef HAVE_SCSI_SG_H
15943 #include <scsi/sg.h>
15944 #endif
15946 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15948 cat >>confdefs.h <<_ACEOF
15949 #define HAVE_SCSIREQ_T_CMD 1
15950 _ACEOF
15954 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>
15955 #ifdef HAVE_SCSI_SG_H
15956 #include <scsi/sg.h>
15957 #endif
15959 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15961 cat >>confdefs.h <<_ACEOF
15962 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15963 _ACEOF
15969 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15971 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_SIGINFO_T_SI_FD 1
15975 _ACEOF
15981 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15982 #ifdef HAVE_SYS_MTIO_H
15983 #include <sys/mtio.h>
15984 #endif
15986 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15990 _ACEOF
15994 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15995 #ifdef HAVE_SYS_MTIO_H
15996 #include <sys/mtio.h>
15997 #endif
15999 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16003 _ACEOF
16007 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16008 #ifdef HAVE_SYS_MTIO_H
16009 #include <sys/mtio.h>
16010 #endif
16012 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16014 cat >>confdefs.h <<_ACEOF
16015 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16016 _ACEOF
16022 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16023 #include <getopt.h>
16024 #endif
16026 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_STRUCT_OPTION_NAME 1
16030 _ACEOF
16036 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16037 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16041 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16046 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_STRUCT_STAT_ST_MTIM 1
16050 _ACEOF
16054 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16055 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16059 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16064 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_STAT_ST_CTIM 1
16068 _ACEOF
16072 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16073 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16077 _ACEOF
16081 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16082 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_STAT_ST_ATIM 1
16086 _ACEOF
16090 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16091 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16093 cat >>confdefs.h <<_ACEOF
16094 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16095 _ACEOF
16099 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16100 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16102 cat >>confdefs.h <<_ACEOF
16103 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16104 _ACEOF
16108 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16109 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16111 cat >>confdefs.h <<_ACEOF
16112 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16113 _ACEOF
16117 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16118 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16122 _ACEOF
16126 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16127 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16131 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16136 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16140 _ACEOF
16146 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
16147 #include <sys/types.h>
16148 #endif
16149 #ifdef HAVE_NETINET_IN_H
16150 #include <netinet/in.h>
16151 #endif
16153 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16155 cat >>confdefs.h <<_ACEOF
16156 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16157 _ACEOF
16163 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16164 #include <resolv.h>
16165 #endif
16167 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT___RES_STATE 1
16171 _ACEOF
16177 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
16178 #include <resolv.h>
16179 #endif
16181 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16185 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16192 #include <sys/types.h>
16193 #endif
16194 #ifdef HAVE_NETINET_IN_H
16195 # include <netinet/in.h>
16196 #endif
16197 #ifdef HAVE_ARPA_NAMESER_H
16198 # include <arpa/nameser.h>
16199 #endif
16201 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_NS_MSG__MSG_PTR 1
16205 _ACEOF
16211 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16212 #include <sys/types.h>
16213 #endif
16214 #ifdef HAVE_NETINET_IP_H
16215 #include <netinet/ip.h>
16216 #endif
16217 #ifdef HAVE_NETINET_IP_ICMP_H
16218 #include <netinet/ip_icmp.h>
16219 #endif
16220 #ifdef HAVE_NETINET_ICMP_VAR_H
16221 #include <netinet/icmp_var.h>
16222 #endif
16224 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16228 _ACEOF
16234 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16235 #include <sys/types.h>
16236 #endif
16237 #ifdef HAVE_ALIAS_H
16238 #include <alias.h>
16239 #endif
16240 #ifdef HAVE_SYS_SOCKET_H
16241 #include <sys/socket.h>
16242 #endif
16243 #ifdef HAVE_SYS_SOCKETVAR_H
16244 #include <sys/socketvar.h>
16245 #endif
16246 #ifdef HAVE_SYS_TIMEOUT_H
16247 #include <sys/timeout.h>
16248 #endif
16249 #ifdef HAVE_NETINET_IN_H
16250 #include <netinet/in.h>
16251 #endif
16252 #ifdef HAVE_NETINET_IN_SYSTM_H
16253 #include <netinet/in_systm.h>
16254 #endif
16255 #ifdef HAVE_NETINET_IP_H
16256 #include <netinet/ip.h>
16257 #endif
16258 #ifdef HAVE_NETINET_IP_VAR_H
16259 #include <netinet/ip_var.h>
16260 #endif
16261 #ifdef HAVE_NETINET_IP_ICMP_H
16262 #include <netinet/ip_icmp.h>
16263 #endif
16264 #ifdef HAVE_NETINET_ICMP_VAR_H
16265 #include <netinet/icmp_var.h>
16266 #endif
16268 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16270 cat >>confdefs.h <<_ACEOF
16271 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16272 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16279 #include <sys/types.h>
16280 #endif
16281 #ifdef HAVE_SYS_SOCKETVAR_H
16282 #include <sys/socketvar.h>
16283 #endif
16284 #ifdef HAVE_NETINET_IN_H
16285 #include <netinet/in.h>
16286 #endif
16287 #ifdef HAVE_NETINET_IP_VAR_H
16288 #include <netinet/ip_var.h>
16289 #endif
16291 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16295 _ACEOF
16301 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
16302 #include <netinet/ip_var.h>
16303 #endif
16305 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16309 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16316 #include <sys/types.h>
16317 #endif
16318 #ifdef HAVE_SYS_SOCKETVAR_H
16319 #include <sys/socketvar.h>
16320 #endif
16321 #ifdef HAVE_NETINET_IN_H
16322 #include <netinet/in.h>
16323 #endif
16324 #ifdef HAVE_NETINET_TCP_H
16325 #include <netinet/tcp.h>
16326 #endif
16327 #ifdef HAVE_NETINET_TCP_VAR_H
16328 #include <netinet/tcp_var.h>
16329 #endif
16331 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16335 _ACEOF
16341 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
16342 #include <netinet/tcp_var.h>
16343 #endif
16345 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16349 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16356 #include <sys/types.h>
16357 #endif
16358 #ifdef HAVE_NETINET_IN_H
16359 #include <netinet/in.h>
16360 #endif
16361 #ifdef HAVE_NETINET_IP_VAR_H
16362 #include <netinet/ip_var.h>
16363 #endif
16364 #ifdef HAVE_NETINET_UDP_H
16365 #include <netinet/udp.h>
16366 #endif
16367 #ifdef HAVE_NETINET_UDP_VAR_H
16368 #include <netinet/udp_var.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16382 #include <sys/types.h>
16383 #endif
16384 #ifdef HAVE_NET_IF_H
16385 # include <net/if.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16392 _ACEOF
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16399 $as_echo_n "checking for timezone variable... " >&6; }
16400 if ${ac_cv_have_timezone+:} false; then :
16401 $as_echo_n "(cached) " >&6
16402 else
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16405 #include <time.h>
16407 main ()
16409 timezone = 1
16411 return 0;
16413 _ACEOF
16414 if ac_fn_c_try_link "$LINENO"; then :
16415 ac_cv_have_timezone="yes"
16416 else
16417 ac_cv_have_timezone="no"
16419 rm -f core conftest.err conftest.$ac_objext \
16420 conftest$ac_exeext conftest.$ac_ext
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16423 $as_echo "$ac_cv_have_timezone" >&6; }
16424 if test "$ac_cv_have_timezone" = "yes"
16425 then
16427 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16431 $as_echo_n "checking for daylight variable... " >&6; }
16432 if ${ac_cv_have_daylight+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #include <time.h>
16439 main ()
16441 daylight = 1
16443 return 0;
16445 _ACEOF
16446 if ac_fn_c_try_link "$LINENO"; then :
16447 ac_cv_have_daylight="yes"
16448 else
16449 ac_cv_have_daylight="no"
16451 rm -f core conftest.err conftest.$ac_objext \
16452 conftest$ac_exeext conftest.$ac_ext
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16455 $as_echo "$ac_cv_have_daylight" >&6; }
16456 if test "$ac_cv_have_daylight" = "yes"
16457 then
16459 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16463 ac_save_LIBS="$LIBS"
16464 LIBS="$LIBS -lm"
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16466 $as_echo_n "checking for isfinite... " >&6; }
16467 if ${ac_cv_have_isfinite+:} false; then :
16468 $as_echo_n "(cached) " >&6
16469 else
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 #define _GNU_SOURCE
16473 #include <math.h>
16475 main ()
16477 float f = 0.0; return isfinite(f)
16479 return 0;
16481 _ACEOF
16482 if ac_fn_c_try_link "$LINENO"; then :
16483 ac_cv_have_isfinite="yes"
16484 else
16485 ac_cv_have_isfinite="no"
16487 rm -f core conftest.err conftest.$ac_objext \
16488 conftest$ac_exeext conftest.$ac_ext
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16491 $as_echo "$ac_cv_have_isfinite" >&6; }
16492 if test "$ac_cv_have_isfinite" = "yes"
16493 then
16495 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16500 $as_echo_n "checking for isinf... " >&6; }
16501 if ${ac_cv_have_isinf+:} false; then :
16502 $as_echo_n "(cached) " >&6
16503 else
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16505 /* end confdefs.h. */
16506 #include <math.h>
16508 main ()
16510 float f = 0.0; return isinf(f)
16512 return 0;
16514 _ACEOF
16515 if ac_fn_c_try_link "$LINENO"; then :
16516 ac_cv_have_isinf="yes"
16517 else
16518 ac_cv_have_isinf="no"
16520 rm -f core conftest.err conftest.$ac_objext \
16521 conftest$ac_exeext conftest.$ac_ext
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16524 $as_echo "$ac_cv_have_isinf" >&6; }
16525 if test "$ac_cv_have_isinf" = "yes"
16526 then
16528 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16533 $as_echo_n "checking for isnan... " >&6; }
16534 if ${ac_cv_have_isnan+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16539 #include <math.h>
16541 main ()
16543 float f = 0.0; return isnan(f)
16545 return 0;
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549 ac_cv_have_isnan="yes"
16550 else
16551 ac_cv_have_isnan="no"
16553 rm -f core conftest.err conftest.$ac_objext \
16554 conftest$ac_exeext conftest.$ac_ext
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16557 $as_echo "$ac_cv_have_isnan" >&6; }
16558 if test "$ac_cv_have_isnan" = "yes"
16559 then
16561 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16565 for ac_func in \
16566 cbrt \
16567 cbrtf \
16568 erf \
16569 erff \
16570 exp2 \
16571 exp2f \
16572 llrint \
16573 llrintf \
16574 llround \
16575 llroundf \
16576 log2 \
16577 log2f \
16578 lrint \
16579 lrintf \
16580 lround \
16581 lroundf \
16582 rint \
16583 rintf \
16584 round \
16585 roundf \
16586 trunc \
16587 truncf
16589 do :
16590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16595 _ACEOF
16598 done
16600 LIBS="$ac_save_LIBS"
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16603 $as_echo_n "checking for __builtin_clz... " >&6; }
16604 if ${ac_cv_have___builtin_clz+:} false; then :
16605 $as_echo_n "(cached) " >&6
16606 else
16607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16608 /* end confdefs.h. */
16611 main ()
16613 return __builtin_clz(1)
16615 return 0;
16617 _ACEOF
16618 if ac_fn_c_try_link "$LINENO"; then :
16619 ac_cv_have___builtin_clz="yes"
16620 else
16621 ac_cv_have___builtin_clz="no"
16623 rm -f core conftest.err conftest.$ac_objext \
16624 conftest$ac_exeext conftest.$ac_ext
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16627 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16628 if test "$ac_cv_have___builtin_clz" = "yes"
16629 then
16631 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16636 case $host_cpu in
16637 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16638 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16639 if ${ac_cv_cpp_def___i386__+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #ifndef __i386__
16646 #endif
16647 _ACEOF
16648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16649 $EGREP "yes" >/dev/null 2>&1; then :
16650 ac_cv_cpp_def___i386__=yes
16651 else
16652 ac_cv_cpp_def___i386__=no
16654 rm -f conftest*
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16658 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16659 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16660 CFLAGS="$CFLAGS -D__i386__"
16661 LINTFLAGS="$LINTFLAGS -D__i386__"
16662 fi ;;
16663 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16664 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16665 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #ifndef __x86_64__
16672 #endif
16673 _ACEOF
16674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16675 $EGREP "yes" >/dev/null 2>&1; then :
16676 ac_cv_cpp_def___x86_64__=yes
16677 else
16678 ac_cv_cpp_def___x86_64__=no
16680 rm -f conftest*
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16684 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16685 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16686 CFLAGS="$CFLAGS -D__x86_64__"
16687 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16688 fi ;;
16689 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16690 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16691 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16692 $as_echo_n "(cached) " >&6
16693 else
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16696 #ifndef __sparc64__
16698 #endif
16699 _ACEOF
16700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16701 $EGREP "yes" >/dev/null 2>&1; then :
16702 ac_cv_cpp_def___sparc64__=yes
16703 else
16704 ac_cv_cpp_def___sparc64__=no
16706 rm -f conftest*
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16710 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16711 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16712 CFLAGS="$CFLAGS -D__sparc64__"
16713 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16714 fi ;;
16715 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16716 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16717 if ${ac_cv_cpp_def___sparc__+:} false; then :
16718 $as_echo_n "(cached) " >&6
16719 else
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16722 #ifndef __sparc__
16724 #endif
16725 _ACEOF
16726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16727 $EGREP "yes" >/dev/null 2>&1; then :
16728 ac_cv_cpp_def___sparc__=yes
16729 else
16730 ac_cv_cpp_def___sparc__=no
16732 rm -f conftest*
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16736 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16737 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16738 CFLAGS="$CFLAGS -D__sparc__"
16739 LINTFLAGS="$LINTFLAGS -D__sparc__"
16740 fi ;;
16741 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16742 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16743 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16744 $as_echo_n "(cached) " >&6
16745 else
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #ifndef __powerpc64__
16750 #endif
16751 _ACEOF
16752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16753 $EGREP "yes" >/dev/null 2>&1; then :
16754 ac_cv_cpp_def___powerpc64__=yes
16755 else
16756 ac_cv_cpp_def___powerpc64__=no
16758 rm -f conftest*
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16762 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16763 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16764 CFLAGS="$CFLAGS -D__powerpc64__"
16765 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16766 fi ;;
16767 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16768 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16769 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 #ifndef __powerpc__
16776 #endif
16777 _ACEOF
16778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16779 $EGREP "yes" >/dev/null 2>&1; then :
16780 ac_cv_cpp_def___powerpc__=yes
16781 else
16782 ac_cv_cpp_def___powerpc__=no
16784 rm -f conftest*
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16788 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16789 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16790 CFLAGS="$CFLAGS -D__powerpc__"
16791 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16792 fi ;;
16793 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16794 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16795 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16800 #ifndef __aarch64__
16802 #endif
16803 _ACEOF
16804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16805 $EGREP "yes" >/dev/null 2>&1; then :
16806 ac_cv_cpp_def___aarch64__=yes
16807 else
16808 ac_cv_cpp_def___aarch64__=no
16810 rm -f conftest*
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16814 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16815 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16816 CFLAGS="$CFLAGS -D__aarch64__"
16817 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16818 fi ;;
16819 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16820 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16821 if ${ac_cv_cpp_def___arm__+:} false; then :
16822 $as_echo_n "(cached) " >&6
16823 else
16824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16825 /* end confdefs.h. */
16826 #ifndef __arm__
16828 #endif
16829 _ACEOF
16830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16831 $EGREP "yes" >/dev/null 2>&1; then :
16832 ac_cv_cpp_def___arm__=yes
16833 else
16834 ac_cv_cpp_def___arm__=no
16836 rm -f conftest*
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16840 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16841 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16842 CFLAGS="$CFLAGS -D__arm__"
16843 LINTFLAGS="$LINTFLAGS -D__arm__"
16844 fi ;;
16845 esac
16847 case $host_vendor in
16848 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16849 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16850 if ${ac_cv_cpp_def___sun__+:} false; then :
16851 $as_echo_n "(cached) " >&6
16852 else
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #ifndef __sun__
16857 #endif
16858 _ACEOF
16859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16860 $EGREP "yes" >/dev/null 2>&1; then :
16861 ac_cv_cpp_def___sun__=yes
16862 else
16863 ac_cv_cpp_def___sun__=no
16865 rm -f conftest*
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16869 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16870 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16871 CFLAGS="$CFLAGS -D__sun__"
16872 LINTFLAGS="$LINTFLAGS -D__sun__"
16873 fi ;;
16874 esac
16880 ac_config_commands="$ac_config_commands include/stamp-h"
16882 $as_echo_n "creating Makefile rules..." >&6
16884 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16885 SOCKET_LIBS = $SOCKET_LIBS
16886 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16887 IOKIT_LIBS = $IOKIT_LIBS
16888 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16889 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16890 CORESERVICES_LIBS = $CORESERVICES_LIBS
16891 APPKIT_LIBS = $APPKIT_LIBS
16892 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16893 SECURITY_LIBS = $SECURITY_LIBS
16894 COREAUDIO_LIBS = $COREAUDIO_LIBS
16895 OPENAL_LIBS = $OPENAL_LIBS
16896 OPENCL_LIBS = $OPENCL_LIBS
16897 QUICKTIME_LIBS = $QUICKTIME_LIBS
16898 CARBON_LIBS = $CARBON_LIBS
16899 PTHREAD_LIBS = $PTHREAD_LIBS
16900 X_CFLAGS = $X_CFLAGS
16901 X_PRE_LIBS = $X_PRE_LIBS
16902 X_LIBS = $X_LIBS
16903 X_EXTRA_LIBS = $X_EXTRA_LIBS
16904 XML2_CFLAGS = $XML2_CFLAGS
16905 XML2_LIBS = $XML2_LIBS
16906 XSLT_CFLAGS = $XSLT_CFLAGS
16907 XSLT_LIBS = $XSLT_LIBS
16908 DBUS_CFLAGS = $DBUS_CFLAGS
16909 DBUS_LIBS = $DBUS_LIBS
16910 HAL_CFLAGS = $HAL_CFLAGS
16911 HAL_LIBS = $HAL_LIBS
16912 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16913 GNUTLS_LIBS = $GNUTLS_LIBS
16914 SANE_CFLAGS = $SANE_CFLAGS
16915 SANE_LIBS = $SANE_LIBS
16916 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16917 GPHOTO2_LIBS = $GPHOTO2_LIBS
16918 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16919 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16920 RESOLV_LIBS = $RESOLV_LIBS
16921 LCMS2_CFLAGS = $LCMS2_CFLAGS
16922 LCMS2_LIBS = $LCMS2_LIBS
16923 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16924 FREETYPE_LIBS = $FREETYPE_LIBS
16925 Z_LIBS = $Z_LIBS
16926 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16927 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16928 GSTREAMER_LIBS = $GSTREAMER_LIBS
16929 ALSA_LIBS = $ALSA_LIBS
16930 OSS4_CFLAGS = $OSS4_CFLAGS
16931 CAPI20_CFLAGS = $CAPI20_CFLAGS
16932 CAPI20_LIBS = $CAPI20_LIBS
16933 CUPS_CFLAGS = $CUPS_CFLAGS
16934 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16935 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16936 JPEG_CFLAGS = $JPEG_CFLAGS
16937 JPEG_LIBS = $JPEG_LIBS
16938 PNG_CFLAGS = $PNG_CFLAGS
16939 PNG_LIBS = $PNG_LIBS
16940 TIFF_CFLAGS = $TIFF_CFLAGS
16941 TIFF_LIBS = $TIFF_LIBS
16942 MPG123_CFLAGS = $MPG123_CFLAGS
16943 MPG123_LIBS = $MPG123_LIBS
16944 KSTAT_LIBS = $KSTAT_LIBS
16945 PROCSTAT_LIBS = $PROCSTAT_LIBS
16946 DL_LIBS = $DL_LIBS
16947 POLL_LIBS = $POLL_LIBS
16948 RT_LIBS = $RT_LIBS
16949 LDAP_LIBS = $LDAP_LIBS
16954 wine_fn_append_rule "
16955 # Rules automatically generated by configure
16957 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16959 .INIT: Makefile
16960 .MAKEFILEDEPS:
16961 all: Makefile
16962 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16963 @./config.status Make.tmp Makefile"
16965 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16966 .gitignore: config.status
16967 @./config.status .gitignore"
16969 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16970 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16972 if test "x$enable_fonts" != xno; then
16973 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16974 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16975 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16976 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16977 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16979 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16980 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16981 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16982 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16983 ac_config_links="$ac_config_links wine:tools/winewrapper"
16984 wine_fn_config_symlink wine
16985 if test "x$enable_win64" != xno; then
16986 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16987 wine_fn_config_symlink wine64
16990 wine_fn_config_dll acledit enable_acledit
16991 wine_fn_config_dll aclui enable_aclui implib
16992 wine_fn_config_dll activeds enable_activeds implib
16993 wine_fn_config_dll actxprxy enable_actxprxy clean
16994 wine_fn_config_lib adsiid
16995 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16996 wine_fn_config_test dlls/advapi32/tests advapi32_test
16997 wine_fn_config_dll advpack enable_advpack implib
16998 wine_fn_config_test dlls/advpack/tests advpack_test
16999 wine_fn_config_dll amstream enable_amstream clean
17000 wine_fn_config_test dlls/amstream/tests amstream_test
17001 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17006 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17007 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17010 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17012 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17015 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17016 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17023 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17026 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17027 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17028 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17032 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17035 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17037 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17038 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17039 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17040 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17045 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17049 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17051 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17052 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17058 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17060 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17061 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17062 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17063 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17064 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17065 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17069 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17070 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17071 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17072 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17073 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17074 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17075 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17076 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17077 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17078 wine_fn_config_dll apphelp enable_apphelp
17079 wine_fn_config_test dlls/apphelp/tests apphelp_test
17080 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17081 wine_fn_config_dll atl enable_atl clean,implib
17082 wine_fn_config_test dlls/atl/tests atl_test
17083 wine_fn_config_dll atl100 enable_atl100 clean,implib
17084 wine_fn_config_test dlls/atl100/tests atl100_test
17085 wine_fn_config_dll atl110 enable_atl110 clean
17086 wine_fn_config_dll atl80 enable_atl80 clean,implib
17087 wine_fn_config_test dlls/atl80/tests atl80_test
17088 wine_fn_config_dll atl90 enable_atl90 clean
17089 wine_fn_config_dll authz enable_authz
17090 wine_fn_config_dll avicap32 enable_avicap32 implib
17091 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17092 wine_fn_config_test dlls/avifil32/tests avifil32_test
17093 wine_fn_config_dll avifile.dll16 enable_win16
17094 wine_fn_config_dll avrt enable_avrt implib
17095 wine_fn_config_dll bcrypt enable_bcrypt
17096 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17097 wine_fn_config_dll browseui enable_browseui clean,po
17098 wine_fn_config_test dlls/browseui/tests browseui_test
17099 wine_fn_config_dll cabinet enable_cabinet implib
17100 wine_fn_config_test dlls/cabinet/tests cabinet_test
17101 wine_fn_config_dll capi2032 enable_capi2032 implib
17102 wine_fn_config_dll cards enable_cards implib
17103 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17104 wine_fn_config_dll clusapi enable_clusapi implib
17105 wine_fn_config_dll combase enable_combase
17106 wine_fn_config_test dlls/combase/tests combase_test
17107 wine_fn_config_dll comcat enable_comcat
17108 wine_fn_config_test dlls/comcat/tests comcat_test
17109 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17110 wine_fn_config_test dlls/comctl32/tests comctl32_test
17111 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17112 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17113 wine_fn_config_dll comm.drv16 enable_win16
17114 wine_fn_config_dll commdlg.dll16 enable_win16
17115 wine_fn_config_dll compobj.dll16 enable_win16
17116 wine_fn_config_dll compstui enable_compstui implib
17117 wine_fn_config_dll comsvcs enable_comsvcs implib
17118 wine_fn_config_dll connect enable_connect
17119 wine_fn_config_dll credui enable_credui implib,po
17120 wine_fn_config_test dlls/credui/tests credui_test
17121 wine_fn_config_dll crtdll enable_crtdll implib
17122 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17123 wine_fn_config_test dlls/crypt32/tests crypt32_test
17124 wine_fn_config_dll cryptdlg enable_cryptdlg po
17125 wine_fn_config_dll cryptdll enable_cryptdll implib
17126 wine_fn_config_dll cryptext enable_cryptext
17127 wine_fn_config_dll cryptnet enable_cryptnet implib
17128 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17129 wine_fn_config_dll cryptui enable_cryptui implib,po
17130 wine_fn_config_test dlls/cryptui/tests cryptui_test
17131 wine_fn_config_dll ctapi32 enable_ctapi32
17132 wine_fn_config_dll ctl3d.dll16 enable_win16
17133 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17134 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17135 wine_fn_config_dll d2d1 enable_d2d1 implib
17136 wine_fn_config_test dlls/d2d1/tests d2d1_test
17137 wine_fn_config_dll d3d10 enable_d3d10 implib
17138 wine_fn_config_test dlls/d3d10/tests d3d10_test
17139 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17140 wine_fn_config_dll d3d10core enable_d3d10core implib
17141 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17142 wine_fn_config_dll d3d11 enable_d3d11
17143 wine_fn_config_dll d3d8 enable_d3d8 implib
17144 wine_fn_config_test dlls/d3d8/tests d3d8_test
17145 wine_fn_config_dll d3d9 enable_d3d9 implib
17146 wine_fn_config_test dlls/d3d9/tests d3d9_test
17147 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17148 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17149 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17150 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17151 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17152 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17153 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17154 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17155 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17156 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17157 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17158 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17159 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17160 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17161 wine_fn_config_dll d3dim enable_d3dim implib
17162 wine_fn_config_dll d3drm enable_d3drm implib
17163 wine_fn_config_test dlls/d3drm/tests d3drm_test
17164 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17165 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17166 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17167 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17168 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17169 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17170 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17171 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17172 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17173 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17174 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17175 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17176 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17177 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17178 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17179 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17180 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17181 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17182 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17183 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17184 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17185 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17186 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17187 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17188 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17189 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17190 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17191 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17192 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17193 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17194 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17195 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17196 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17197 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17198 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17199 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17200 wine_fn_config_dll dbgeng enable_dbgeng implib
17201 wine_fn_config_dll dbghelp enable_dbghelp implib
17202 wine_fn_config_dll dciman32 enable_dciman32 implib
17203 wine_fn_config_dll ddeml.dll16 enable_win16
17204 wine_fn_config_dll ddraw enable_ddraw clean,implib
17205 wine_fn_config_test dlls/ddraw/tests ddraw_test
17206 wine_fn_config_dll ddrawex enable_ddrawex clean
17207 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17208 wine_fn_config_dll devenum enable_devenum clean,po
17209 wine_fn_config_test dlls/devenum/tests devenum_test
17210 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17211 wine_fn_config_dll difxapi enable_difxapi
17212 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17213 wine_fn_config_test dlls/dinput/tests dinput_test
17214 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17215 wine_fn_config_test dlls/dinput8/tests dinput8_test
17216 wine_fn_config_dll dispdib.dll16 enable_win16
17217 wine_fn_config_dll dispex enable_dispex clean
17218 wine_fn_config_test dlls/dispex/tests dispex_test
17219 wine_fn_config_dll display.drv16 enable_win16
17220 wine_fn_config_dll dmband enable_dmband clean
17221 wine_fn_config_test dlls/dmband/tests dmband_test
17222 wine_fn_config_dll dmcompos enable_dmcompos clean
17223 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17224 wine_fn_config_dll dmime enable_dmime clean
17225 wine_fn_config_test dlls/dmime/tests dmime_test
17226 wine_fn_config_dll dmloader enable_dmloader clean
17227 wine_fn_config_test dlls/dmloader/tests dmloader_test
17228 wine_fn_config_dll dmscript enable_dmscript clean
17229 wine_fn_config_test dlls/dmscript/tests dmscript_test
17230 wine_fn_config_dll dmstyle enable_dmstyle clean
17231 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17232 wine_fn_config_dll dmsynth enable_dmsynth clean
17233 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17234 wine_fn_config_dll dmusic enable_dmusic clean
17235 wine_fn_config_test dlls/dmusic/tests dmusic_test
17236 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17237 wine_fn_config_dll dnsapi enable_dnsapi implib
17238 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17239 wine_fn_config_dll dplay enable_dplay implib
17240 wine_fn_config_dll dplayx enable_dplayx clean,implib
17241 wine_fn_config_test dlls/dplayx/tests dplayx_test
17242 wine_fn_config_dll dpnaddr enable_dpnaddr
17243 wine_fn_config_dll dpnet enable_dpnet clean,implib
17244 wine_fn_config_test dlls/dpnet/tests dpnet_test
17245 wine_fn_config_dll dpnhpast enable_dpnhpast
17246 wine_fn_config_dll dpnlobby enable_dpnlobby
17247 wine_fn_config_dll dpvoice enable_dpvoice clean
17248 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17249 wine_fn_config_dll dpwsockx enable_dpwsockx
17250 wine_fn_config_dll drmclien enable_drmclien
17251 wine_fn_config_dll dsound enable_dsound clean,implib
17252 wine_fn_config_test dlls/dsound/tests dsound_test
17253 wine_fn_config_dll dssenh enable_dssenh
17254 wine_fn_config_test dlls/dssenh/tests dssenh_test
17255 wine_fn_config_dll dswave enable_dswave clean
17256 wine_fn_config_test dlls/dswave/tests dswave_test
17257 wine_fn_config_dll dwmapi enable_dwmapi implib
17258 wine_fn_config_dll dwrite enable_dwrite implib
17259 wine_fn_config_test dlls/dwrite/tests dwrite_test
17260 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17261 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17262 wine_fn_config_lib dxerr8
17263 wine_fn_config_lib dxerr9
17264 wine_fn_config_dll dxgi enable_dxgi implib
17265 wine_fn_config_test dlls/dxgi/tests dxgi_test
17266 wine_fn_config_lib dxguid
17267 wine_fn_config_dll dxva2 enable_dxva2
17268 wine_fn_config_dll evr enable_evr
17269 wine_fn_config_dll explorerframe enable_explorerframe clean
17270 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17271 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17272 wine_fn_config_dll faultrep enable_faultrep implib
17273 wine_fn_config_test dlls/faultrep/tests faultrep_test
17274 wine_fn_config_dll fltlib enable_fltlib
17275 wine_fn_config_dll fntcache enable_fntcache
17276 wine_fn_config_dll fontsub enable_fontsub
17277 wine_fn_config_dll fusion enable_fusion
17278 wine_fn_config_test dlls/fusion/tests fusion_test
17279 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17280 wine_fn_config_dll gameux enable_gameux clean
17281 wine_fn_config_test dlls/gameux/tests gameux_test
17282 wine_fn_config_dll gdi.exe16 enable_win16
17283 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17284 wine_fn_config_test dlls/gdi32/tests gdi32_test
17285 wine_fn_config_dll gdiplus enable_gdiplus implib
17286 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17287 wine_fn_config_dll glu32 enable_glu32 implib
17288 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17289 wine_fn_config_dll gpkcsp enable_gpkcsp
17290 wine_fn_config_dll hal enable_hal
17291 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17292 wine_fn_config_dll hid enable_hid implib
17293 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17294 wine_fn_config_dll hlink enable_hlink clean,implib
17295 wine_fn_config_test dlls/hlink/tests hlink_test
17296 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17297 wine_fn_config_dll httpapi enable_httpapi
17298 wine_fn_config_dll iccvid enable_iccvid po
17299 wine_fn_config_dll icmp enable_icmp
17300 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17301 wine_fn_config_test dlls/ieframe/tests ieframe_test
17302 wine_fn_config_dll ifsmgr.vxd enable_win16
17303 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17304 wine_fn_config_dll imagehlp enable_imagehlp implib
17305 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17306 wine_fn_config_dll imm.dll16 enable_win16
17307 wine_fn_config_dll imm32 enable_imm32 implib
17308 wine_fn_config_test dlls/imm32/tests imm32_test
17309 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17310 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17311 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17312 wine_fn_config_dll inetmib1 enable_inetmib1
17313 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17314 wine_fn_config_dll infosoft enable_infosoft clean
17315 wine_fn_config_test dlls/infosoft/tests infosoft_test
17316 wine_fn_config_dll initpki enable_initpki
17317 wine_fn_config_dll inkobj enable_inkobj
17318 wine_fn_config_dll inseng enable_inseng clean
17319 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17320 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17321 wine_fn_config_dll itircl enable_itircl
17322 wine_fn_config_dll itss enable_itss clean
17323 wine_fn_config_test dlls/itss/tests itss_test
17324 wine_fn_config_dll joy.cpl enable_joy_cpl po
17325 wine_fn_config_dll jscript enable_jscript clean,po
17326 wine_fn_config_test dlls/jscript/tests jscript_test
17327 wine_fn_config_dll jsproxy enable_jsproxy implib
17328 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17329 wine_fn_config_test dlls/kernel32/tests kernel32_test
17330 wine_fn_config_dll keyboard.drv16 enable_win16
17331 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17332 wine_fn_config_dll ksuser enable_ksuser
17333 wine_fn_config_dll ktmw32 enable_ktmw32
17334 wine_fn_config_dll loadperf enable_loadperf implib
17335 wine_fn_config_dll localspl enable_localspl po
17336 wine_fn_config_test dlls/localspl/tests localspl_test
17337 wine_fn_config_dll localui enable_localui po
17338 wine_fn_config_test dlls/localui/tests localui_test
17339 wine_fn_config_dll lz32 enable_lz32 implib
17340 wine_fn_config_test dlls/lz32/tests lz32_test
17341 wine_fn_config_dll lzexpand.dll16 enable_win16
17342 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17343 wine_fn_config_test dlls/mapi32/tests mapi32_test
17344 wine_fn_config_dll mapistub enable_mapistub
17345 wine_fn_config_dll mciavi32 enable_mciavi32
17346 wine_fn_config_dll mcicda enable_mcicda
17347 wine_fn_config_dll mciqtz32 enable_mciqtz32
17348 wine_fn_config_dll mciseq enable_mciseq
17349 wine_fn_config_dll mciwave enable_mciwave
17350 wine_fn_config_dll mf enable_mf
17351 wine_fn_config_dll mfplat enable_mfplat
17352 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17353 wine_fn_config_dll mgmtapi enable_mgmtapi
17354 wine_fn_config_dll midimap enable_midimap
17355 wine_fn_config_dll mlang enable_mlang clean,implib
17356 wine_fn_config_test dlls/mlang/tests mlang_test
17357 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17358 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17359 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17360 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17361 wine_fn_config_dll mmdevldr.vxd enable_win16
17362 wine_fn_config_dll mmsystem.dll16 enable_win16
17363 wine_fn_config_dll monodebg.vxd enable_win16
17364 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17365 wine_fn_config_dll mouse.drv16 enable_win16
17366 wine_fn_config_dll mpr enable_mpr implib,po
17367 wine_fn_config_test dlls/mpr/tests mpr_test
17368 wine_fn_config_dll mprapi enable_mprapi implib
17369 wine_fn_config_dll msacm.dll16 enable_win16
17370 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17371 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17372 wine_fn_config_test dlls/msacm32/tests msacm32_test
17373 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17374 wine_fn_config_dll msasn1 enable_msasn1 implib
17375 wine_fn_config_dll mscat32 enable_mscat32
17376 wine_fn_config_dll mscms enable_mscms implib
17377 wine_fn_config_test dlls/mscms/tests mscms_test
17378 wine_fn_config_dll mscoree enable_mscoree clean
17379 wine_fn_config_test dlls/mscoree/tests mscoree_test
17380 wine_fn_config_dll msctf enable_msctf clean
17381 wine_fn_config_test dlls/msctf/tests msctf_test
17382 wine_fn_config_dll msctfp enable_msctfp clean
17383 wine_fn_config_dll msdaps enable_msdaps clean
17384 wine_fn_config_dll msdmo enable_msdmo implib
17385 wine_fn_config_test dlls/msdmo/tests msdmo_test
17386 wine_fn_config_dll msftedit enable_msftedit
17387 wine_fn_config_dll msg711.acm enable_msg711_acm
17388 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17389 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17390 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17391 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17392 wine_fn_config_dll msi enable_msi clean,implib,po
17393 wine_fn_config_test dlls/msi/tests msi_test
17394 wine_fn_config_dll msident enable_msident clean
17395 wine_fn_config_dll msimg32 enable_msimg32 implib
17396 wine_fn_config_dll msimsg enable_msimsg
17397 wine_fn_config_dll msimtf enable_msimtf clean
17398 wine_fn_config_dll msisip enable_msisip
17399 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17400 wine_fn_config_dll msls31 enable_msls31
17401 wine_fn_config_dll msnet32 enable_msnet32
17402 wine_fn_config_dll mspatcha enable_mspatcha implib
17403 wine_fn_config_dll msrle32 enable_msrle32 po
17404 wine_fn_config_test dlls/msrle32/tests msrle32_test
17405 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17406 wine_fn_config_dll mssign32 enable_mssign32
17407 wine_fn_config_dll mssip32 enable_mssip32
17408 wine_fn_config_dll mstask enable_mstask clean
17409 wine_fn_config_test dlls/mstask/tests mstask_test
17410 wine_fn_config_dll msvcirt enable_msvcirt
17411 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17412 wine_fn_config_dll msvcm80 enable_msvcm80
17413 wine_fn_config_dll msvcm90 enable_msvcm90
17414 wine_fn_config_dll msvcp100 enable_msvcp100
17415 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17416 wine_fn_config_dll msvcp110 enable_msvcp110
17417 wine_fn_config_dll msvcp120 enable_msvcp120
17418 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17419 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17420 wine_fn_config_dll msvcp60 enable_msvcp60
17421 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17422 wine_fn_config_dll msvcp70 enable_msvcp70
17423 wine_fn_config_dll msvcp71 enable_msvcp71
17424 wine_fn_config_dll msvcp80 enable_msvcp80
17425 wine_fn_config_dll msvcp90 enable_msvcp90
17426 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17427 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17428 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17429 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17430 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17431 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17432 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17433 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17434 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17435 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17436 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17437 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17438 wine_fn_config_dll msvcrt enable_msvcrt implib
17439 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17440 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17441 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17442 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17443 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17444 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17445 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17446 wine_fn_config_dll msvidc32 enable_msvidc32 po
17447 wine_fn_config_dll msvideo.dll16 enable_win16
17448 wine_fn_config_dll mswsock enable_mswsock implib
17449 wine_fn_config_dll msxml enable_msxml clean
17450 wine_fn_config_dll msxml2 enable_msxml2 clean
17451 wine_fn_config_dll msxml3 enable_msxml3 clean
17452 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17453 wine_fn_config_dll msxml4 enable_msxml4 clean
17454 wine_fn_config_dll msxml6 enable_msxml6 clean
17455 wine_fn_config_dll nddeapi enable_nddeapi implib
17456 wine_fn_config_dll ndis.sys enable_ndis_sys
17457 wine_fn_config_dll netapi32 enable_netapi32 implib
17458 wine_fn_config_test dlls/netapi32/tests netapi32_test
17459 wine_fn_config_dll netcfgx enable_netcfgx clean
17460 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17461 wine_fn_config_dll netprofm enable_netprofm clean
17462 wine_fn_config_test dlls/netprofm/tests netprofm_test
17463 wine_fn_config_dll newdev enable_newdev implib
17464 wine_fn_config_dll normaliz enable_normaliz implib
17465 wine_fn_config_dll npmshtml enable_npmshtml
17466 wine_fn_config_dll npptools enable_npptools
17467 wine_fn_config_dll ntdll enable_ntdll implib
17468 wine_fn_config_test dlls/ntdll/tests ntdll_test
17469 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17470 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17471 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17472 wine_fn_config_dll ntprint enable_ntprint
17473 wine_fn_config_test dlls/ntprint/tests ntprint_test
17474 wine_fn_config_dll objsel enable_objsel clean
17475 wine_fn_config_dll odbc32 enable_odbc32 implib
17476 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17477 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17478 wine_fn_config_dll odbccu32 enable_odbccu32
17479 wine_fn_config_dll ole2.dll16 enable_win16
17480 wine_fn_config_dll ole2conv.dll16 enable_win16
17481 wine_fn_config_dll ole2disp.dll16 enable_win16
17482 wine_fn_config_dll ole2nls.dll16 enable_win16
17483 wine_fn_config_dll ole2prox.dll16 enable_win16
17484 wine_fn_config_dll ole2thk.dll16 enable_win16
17485 wine_fn_config_dll ole32 enable_ole32 clean,implib
17486 wine_fn_config_test dlls/ole32/tests ole32_test
17487 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17488 wine_fn_config_test dlls/oleacc/tests oleacc_test
17489 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17490 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17491 wine_fn_config_dll olecli.dll16 enable_win16
17492 wine_fn_config_dll olecli32 enable_olecli32 implib
17493 wine_fn_config_dll oledb32 enable_oledb32 clean
17494 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17495 wine_fn_config_dll oledlg enable_oledlg implib,po
17496 wine_fn_config_test dlls/oledlg/tests oledlg_test
17497 wine_fn_config_dll olepro32 enable_olepro32 implib
17498 wine_fn_config_dll olesvr.dll16 enable_win16
17499 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17500 wine_fn_config_dll olethk32 enable_olethk32
17501 wine_fn_config_dll openal32 enable_openal32
17502 wine_fn_config_dll opencl enable_opencl
17503 wine_fn_config_dll opengl32 enable_opengl32 implib
17504 wine_fn_config_test dlls/opengl32/tests opengl32_test
17505 wine_fn_config_dll packager enable_packager clean
17506 wine_fn_config_test dlls/packager/tests packager_test
17507 wine_fn_config_dll pdh enable_pdh implib
17508 wine_fn_config_test dlls/pdh/tests pdh_test
17509 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17510 wine_fn_config_dll pidgen enable_pidgen
17511 wine_fn_config_dll powrprof enable_powrprof implib
17512 wine_fn_config_dll printui enable_printui
17513 wine_fn_config_dll prntvpt enable_prntvpt
17514 wine_fn_config_dll propsys enable_propsys clean,implib
17515 wine_fn_config_test dlls/propsys/tests propsys_test
17516 wine_fn_config_dll psapi enable_psapi implib
17517 wine_fn_config_test dlls/psapi/tests psapi_test
17518 wine_fn_config_dll pstorec enable_pstorec clean
17519 wine_fn_config_dll qcap enable_qcap
17520 wine_fn_config_test dlls/qcap/tests qcap_test
17521 wine_fn_config_dll qedit enable_qedit clean
17522 wine_fn_config_test dlls/qedit/tests qedit_test
17523 wine_fn_config_dll qmgr enable_qmgr clean
17524 wine_fn_config_test dlls/qmgr/tests qmgr_test
17525 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17526 wine_fn_config_dll quartz enable_quartz clean,implib
17527 wine_fn_config_test dlls/quartz/tests quartz_test clean
17528 wine_fn_config_dll query enable_query
17529 wine_fn_config_dll rasapi16.dll16 enable_win16
17530 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17531 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17532 wine_fn_config_dll rasdlg enable_rasdlg implib
17533 wine_fn_config_dll regapi enable_regapi
17534 wine_fn_config_dll resutils enable_resutils implib
17535 wine_fn_config_dll riched20 enable_riched20 clean,implib
17536 wine_fn_config_test dlls/riched20/tests riched20_test
17537 wine_fn_config_dll riched32 enable_riched32
17538 wine_fn_config_test dlls/riched32/tests riched32_test
17539 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17540 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17541 wine_fn_config_dll rsabase enable_rsabase
17542 wine_fn_config_dll rsaenh enable_rsaenh implib
17543 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17544 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17545 wine_fn_config_dll rtutils enable_rtutils implib
17546 wine_fn_config_dll samlib enable_samlib
17547 wine_fn_config_dll sane.ds enable_sane_ds po
17548 wine_fn_config_dll scarddlg enable_scarddlg
17549 wine_fn_config_dll sccbase enable_sccbase
17550 wine_fn_config_dll schannel enable_schannel
17551 wine_fn_config_test dlls/schannel/tests schannel_test
17552 wine_fn_config_dll schedsvc enable_schedsvc clean
17553 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17554 wine_fn_config_dll scrrun enable_scrrun clean
17555 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17556 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17557 wine_fn_config_dll secur32 enable_secur32 implib
17558 wine_fn_config_test dlls/secur32/tests secur32_test
17559 wine_fn_config_dll security enable_security
17560 wine_fn_config_dll sensapi enable_sensapi implib
17561 wine_fn_config_dll serialui enable_serialui implib,po
17562 wine_fn_config_test dlls/serialui/tests serialui_test
17563 wine_fn_config_dll setupapi enable_setupapi implib,po
17564 wine_fn_config_test dlls/setupapi/tests setupapi_test
17565 wine_fn_config_dll setupx.dll16 enable_win16
17566 wine_fn_config_dll sfc enable_sfc implib
17567 wine_fn_config_dll sfc_os enable_sfc_os implib
17568 wine_fn_config_dll shdoclc enable_shdoclc po
17569 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17570 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17571 wine_fn_config_dll shell.dll16 enable_win16
17572 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17573 wine_fn_config_test dlls/shell32/tests shell32_test
17574 wine_fn_config_dll shfolder enable_shfolder implib
17575 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17576 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17577 wine_fn_config_dll slbcsp enable_slbcsp
17578 wine_fn_config_dll slc enable_slc implib
17579 wine_fn_config_test dlls/slc/tests slc_test
17580 wine_fn_config_dll snmpapi enable_snmpapi implib
17581 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17582 wine_fn_config_dll softpub enable_softpub
17583 wine_fn_config_dll sound.drv16 enable_win16
17584 wine_fn_config_dll spoolss enable_spoolss implib
17585 wine_fn_config_test dlls/spoolss/tests spoolss_test
17586 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17587 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17588 wine_fn_config_dll sti enable_sti clean,implib
17589 wine_fn_config_test dlls/sti/tests sti_test
17590 wine_fn_config_dll storage.dll16 enable_win16
17591 wine_fn_config_dll stress.dll16 enable_win16
17592 wine_fn_config_lib strmbase
17593 wine_fn_config_lib strmiids
17594 wine_fn_config_dll svrapi enable_svrapi
17595 wine_fn_config_dll sxs enable_sxs implib
17596 wine_fn_config_test dlls/sxs/tests sxs_test
17597 wine_fn_config_dll system.drv16 enable_win16
17598 wine_fn_config_dll t2embed enable_t2embed
17599 wine_fn_config_dll tapi32 enable_tapi32 implib
17600 wine_fn_config_dll taskschd enable_taskschd clean
17601 wine_fn_config_test dlls/taskschd/tests taskschd_test
17602 wine_fn_config_dll toolhelp.dll16 enable_win16
17603 wine_fn_config_dll traffic enable_traffic
17604 wine_fn_config_dll twain.dll16 enable_win16
17605 wine_fn_config_dll twain_32 enable_twain_32
17606 wine_fn_config_test dlls/twain_32/tests twain_32_test
17607 wine_fn_config_dll typelib.dll16 enable_win16
17608 wine_fn_config_dll unicows enable_unicows implib
17609 wine_fn_config_dll updspapi enable_updspapi
17610 wine_fn_config_dll url enable_url implib
17611 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17612 wine_fn_config_test dlls/urlmon/tests urlmon_test
17613 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17614 wine_fn_config_dll user.exe16 enable_win16
17615 wine_fn_config_dll user32 enable_user32 clean,implib,po
17616 wine_fn_config_test dlls/user32/tests user32_test
17617 wine_fn_config_dll userenv enable_userenv implib
17618 wine_fn_config_test dlls/userenv/tests userenv_test
17619 wine_fn_config_dll usp10 enable_usp10 implib
17620 wine_fn_config_test dlls/usp10/tests usp10_test
17621 wine_fn_config_lib uuid
17622 wine_fn_config_dll uxtheme enable_uxtheme implib
17623 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17624 wine_fn_config_dll vbscript enable_vbscript clean
17625 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17626 wine_fn_config_dll vcomp enable_vcomp
17627 wine_fn_config_dll vcomp100 enable_vcomp100
17628 wine_fn_config_dll vcomp90 enable_vcomp90
17629 wine_fn_config_dll vdhcp.vxd enable_win16
17630 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17631 wine_fn_config_dll ver.dll16 enable_win16
17632 wine_fn_config_dll version enable_version implib
17633 wine_fn_config_test dlls/version/tests version_test
17634 wine_fn_config_dll vmm.vxd enable_win16
17635 wine_fn_config_dll vnbt.vxd enable_win16
17636 wine_fn_config_dll vnetbios.vxd enable_win16
17637 wine_fn_config_dll vssapi enable_vssapi
17638 wine_fn_config_dll vtdapi.vxd enable_win16
17639 wine_fn_config_dll vwin32.vxd enable_win16
17640 wine_fn_config_dll w32skrnl enable_win16
17641 wine_fn_config_dll w32sys.dll16 enable_win16
17642 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17643 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17644 wine_fn_config_dll wbemprox enable_wbemprox clean
17645 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17646 wine_fn_config_dll webservices enable_webservices implib
17647 wine_fn_config_dll wer enable_wer implib
17648 wine_fn_config_test dlls/wer/tests wer_test
17649 wine_fn_config_dll wevtapi enable_wevtapi
17650 wine_fn_config_dll wiaservc enable_wiaservc clean
17651 wine_fn_config_dll win32s16.dll16 enable_win16
17652 wine_fn_config_dll win87em.dll16 enable_win16
17653 wine_fn_config_dll winaspi.dll16 enable_win16
17654 wine_fn_config_dll windebug.dll16 enable_win16
17655 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17656 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17657 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17658 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17659 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17660 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17661 wine_fn_config_lib winecrt0
17662 wine_fn_config_dll wined3d enable_wined3d implib
17663 wine_fn_config_dll winegstreamer enable_winegstreamer
17664 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17665 wine_fn_config_dll winemac.drv enable_winemac_drv
17666 wine_fn_config_dll winemapi enable_winemapi
17667 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17668 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17669 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17670 wine_fn_config_dll wineps16.drv16 enable_win16
17671 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17672 wine_fn_config_dll winex11.drv enable_winex11_drv
17673 wine_fn_config_dll wing.dll16 enable_win16
17674 wine_fn_config_dll wing32 enable_wing32
17675 wine_fn_config_dll winhttp enable_winhttp clean,implib
17676 wine_fn_config_test dlls/winhttp/tests winhttp_test
17677 wine_fn_config_dll wininet enable_wininet implib,po
17678 wine_fn_config_test dlls/wininet/tests wininet_test
17679 wine_fn_config_dll winmm enable_winmm implib,po
17680 wine_fn_config_test dlls/winmm/tests winmm_test
17681 wine_fn_config_dll winnls.dll16 enable_win16
17682 wine_fn_config_dll winnls32 enable_winnls32 implib
17683 wine_fn_config_dll winscard enable_winscard implib
17684 wine_fn_config_dll winsock.dll16 enable_win16
17685 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17686 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17687 wine_fn_config_dll winsta enable_winsta
17688 wine_fn_config_dll wintab.dll16 enable_win16
17689 wine_fn_config_dll wintab32 enable_wintab32 implib
17690 wine_fn_config_test dlls/wintab32/tests wintab32_test
17691 wine_fn_config_dll wintrust enable_wintrust implib
17692 wine_fn_config_test dlls/wintrust/tests wintrust_test
17693 wine_fn_config_dll wlanapi enable_wlanapi
17694 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17695 wine_fn_config_test dlls/wldap32/tests wldap32_test
17696 wine_fn_config_dll wmi enable_wmi
17697 wine_fn_config_dll wmiutils enable_wmiutils clean
17698 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17699 wine_fn_config_dll wmp enable_wmp clean
17700 wine_fn_config_test dlls/wmp/tests wmp_test
17701 wine_fn_config_dll wmvcore enable_wmvcore
17702 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17703 wine_fn_config_dll wow32 enable_win16 implib
17704 wine_fn_config_dll wpcap enable_wpcap
17705 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17706 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17707 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17708 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17709 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17710 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17711 wine_fn_config_dll wsock32 enable_wsock32 implib
17712 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17713 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17714 wine_fn_config_dll wuapi enable_wuapi clean
17715 wine_fn_config_dll wuaueng enable_wuaueng
17716 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17717 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17718 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17719 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17720 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17721 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17722 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17723 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17724 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17725 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17726 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17727 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17728 wine_fn_config_dll xinput1_1 enable_xinput1_1
17729 wine_fn_config_dll xinput1_2 enable_xinput1_2
17730 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17731 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17732 wine_fn_config_dll xinput1_4 enable_xinput1_4
17733 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17734 wine_fn_config_dll xmllite enable_xmllite implib
17735 wine_fn_config_test dlls/xmllite/tests xmllite_test
17736 wine_fn_config_dll xolehlp enable_xolehlp
17737 wine_fn_config_dll xpsprint enable_xpsprint
17738 wine_fn_config_dll xpssvcs enable_xpssvcs
17739 wine_fn_config_makefile documentation enable_documentation clean
17740 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17741 wine_fn_config_makefile include enable_include clean,install-dev
17742 wine_fn_config_makefile libs/port enable_libs_port
17743 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17744 wine_fn_config_makefile libs/wpp enable_libs_wpp
17745 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17746 wine_fn_config_program arp enable_arp install
17747 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17748 wine_fn_config_program attrib enable_attrib install,po
17749 wine_fn_config_program cabarc enable_cabarc install
17750 wine_fn_config_program cacls enable_cacls install
17751 wine_fn_config_program clock enable_clock install,po
17752 wine_fn_config_program cmd enable_cmd install,po
17753 wine_fn_config_test programs/cmd/tests cmd.exe_test
17754 wine_fn_config_program conhost enable_conhost install
17755 wine_fn_config_program control enable_control install
17756 wine_fn_config_program cscript enable_cscript clean,install
17757 wine_fn_config_program dpnsvr enable_dpnsvr install
17758 wine_fn_config_program dxdiag enable_dxdiag install,po
17759 wine_fn_config_program eject enable_eject install
17760 wine_fn_config_program expand enable_expand install
17761 wine_fn_config_program explorer enable_explorer install,po
17762 wine_fn_config_program extrac32 enable_extrac32 install
17763 wine_fn_config_program findstr enable_findstr install
17764 wine_fn_config_program hh enable_hh install
17765 wine_fn_config_program hostname enable_hostname install,po
17766 wine_fn_config_program icinfo enable_icinfo install
17767 wine_fn_config_program iexplore enable_iexplore install
17768 wine_fn_config_program ipconfig enable_ipconfig install,po
17769 wine_fn_config_program lodctr enable_lodctr install
17770 wine_fn_config_program mofcomp enable_mofcomp install
17771 wine_fn_config_program mshta enable_mshta install
17772 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17773 wine_fn_config_program net enable_net install,po
17774 wine_fn_config_program netsh enable_netsh install
17775 wine_fn_config_program netstat enable_netstat install,po
17776 wine_fn_config_program ngen enable_ngen install
17777 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17778 wine_fn_config_program oleview enable_oleview install,po
17779 wine_fn_config_program ping enable_ping install
17780 wine_fn_config_program plugplay enable_plugplay install
17781 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17782 wine_fn_config_program progman enable_progman install,po
17783 wine_fn_config_program reg enable_reg install,po
17784 wine_fn_config_test programs/reg/tests reg.exe_test
17785 wine_fn_config_program regasm enable_regasm install
17786 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17787 wine_fn_config_test programs/regedit/tests regedit.exe_test
17788 wine_fn_config_program regsvcs enable_regsvcs install
17789 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17790 wine_fn_config_program rpcss enable_rpcss clean,install
17791 wine_fn_config_program rundll.exe16 enable_win16 install
17792 wine_fn_config_program rundll32 enable_rundll32 install
17793 wine_fn_config_program sc enable_sc install
17794 wine_fn_config_program schtasks enable_schtasks install
17795 wine_fn_config_program sdbinst enable_sdbinst install
17796 wine_fn_config_program secedit enable_secedit install
17797 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17798 wine_fn_config_program services enable_services clean,install
17799 wine_fn_config_test programs/services/tests services.exe_test
17800 wine_fn_config_program spoolsv enable_spoolsv install
17801 wine_fn_config_program start enable_start install,po
17802 wine_fn_config_program svchost enable_svchost install
17803 wine_fn_config_program systeminfo enable_systeminfo install
17804 wine_fn_config_program taskkill enable_taskkill install,po
17805 wine_fn_config_program tasklist enable_tasklist install
17806 wine_fn_config_program taskmgr enable_taskmgr install,po
17807 wine_fn_config_program termsv enable_termsv install
17808 wine_fn_config_program uninstaller enable_uninstaller install,po
17809 wine_fn_config_program unlodctr enable_unlodctr install
17810 wine_fn_config_program view enable_view install,po
17811 wine_fn_config_program wevtutil enable_wevtutil install
17812 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17813 wine_fn_config_program winebrowser enable_winebrowser install
17814 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17815 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17816 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17817 wine_fn_config_program winedevice enable_winedevice install
17818 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17819 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17820 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17821 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17822 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17823 wine_fn_config_program winetest enable_winetest clean
17824 wine_fn_config_program winevdm enable_win16 install
17825 wine_fn_config_program winhelp.exe16 enable_win16 install
17826 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17827 wine_fn_config_program winoldap.mod16 enable_win16 install
17828 wine_fn_config_program winver enable_winver install
17829 wine_fn_config_program wmic enable_wmic install,po
17830 wine_fn_config_program wordpad enable_wordpad install,po
17831 wine_fn_config_program write enable_write install,po
17832 wine_fn_config_program wscript enable_wscript clean,install
17833 wine_fn_config_test programs/wscript/tests wscript.exe_test
17834 wine_fn_config_program wusa enable_wusa install
17835 wine_fn_config_program xcopy enable_xcopy install,po
17836 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17837 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17838 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17839 wine_fn_config_tool tools/sfnt2fon clean
17840 wine_fn_config_tool tools/widl clean,install-dev,manpage
17841 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17842 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17843 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17844 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17845 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17847 LINGUAS="\
17848 ar \
17849 bg \
17850 ca \
17851 cs \
17852 da \
17853 de \
17854 el \
17855 en \
17856 en_US \
17857 eo \
17858 es \
17859 fa \
17860 fi \
17861 fr \
17862 he \
17863 hi \
17864 hr \
17865 hu \
17866 it \
17867 ja \
17868 ko \
17869 lt \
17870 ml \
17871 nb_NO \
17872 nl \
17873 or \
17874 pa \
17875 pl \
17876 pt_BR \
17877 pt_PT \
17878 rm \
17879 ro \
17880 ru \
17881 sk \
17882 sl \
17883 sr_RS@cyrillic \
17884 sr_RS@latin \
17885 sv \
17886 te \
17887 th \
17888 tr \
17889 uk \
17890 wa \
17891 zh_CN \
17892 zh_TW"
17897 wine_fn_ignore_file ".gitignore"
17898 wine_fn_ignore_file "Makefile"
17899 wine_fn_ignore_file "TAGS"
17900 wine_fn_ignore_file "tags"
17901 wine_fn_ignore_file "autom4te.cache"
17902 wine_fn_ignore_file "config.cache"
17903 wine_fn_ignore_file "config.log"
17904 wine_fn_ignore_file "config.status"
17905 wine_fn_ignore_file "configure.lineno"
17906 wine_fn_ignore_file "include/config.h"
17907 wine_fn_ignore_file "include/stamp-h"
17908 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17910 if test "x$enable_tools" != xno
17911 then
17912 wine_fn_ignore_file "tools/makedep$ac_exeext"
17913 ac_config_commands="$ac_config_commands tools/makedep"
17917 ac_config_commands="$ac_config_commands Makefile"
17920 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17924 if test "x$enable_maintainer_mode" = xyes
17925 then
17926 wine_fn_append_rule "configure: configure.ac aclocal.m4
17927 autoconf --warnings=all
17928 include/config.h.in: include/stamp-h.in
17929 include/stamp-h.in: configure.ac aclocal.m4
17930 autoheader --warnings=all
17931 @echo timestamp > \$@"
17934 if test "x$with_gettextpo" = xyes
17935 then
17936 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17937 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17938 \$(LINGUAS:%=po/%.po): po/wine.pot
17939 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17940 po/wine.pot: \$(ALL_POT_FILES)
17941 msgcat -o \$@ \$(ALL_POT_FILES)"
17944 if test "$MSGFMT" != false
17945 then
17946 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17947 clean::
17948 \$(RM) \$(LINGUAS:%=po/%.mo)"
17950 posrc="po"
17951 test "$srcdir" = . || posrc="$srcdir/po"
17952 for i in $LINGUAS
17954 wine_fn_ignore_file "po/$i.mo"
17955 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17956 \$(MSGFMT) -o \$@ $posrc/$i.po"
17957 done
17958 else
17959 LINGUAS=
17962 if test "x$enable_tools" != xno
17963 then
17964 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17965 @./config.status tools/makedep
17966 Makefile: tools/makedep$ac_exeext
17967 distclean:: clean
17968 \$(RM) tools/makedep$ac_exeext"
17969 else
17970 wine_fn_append_rule "\$(MAKEDEP):
17971 @echo \"You need to run make in $TOOLSDIR first\" && false"
17974 if test -n "$with_wine64"
17975 then
17976 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17977 fonts server tools:
17978 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17979 $with_wine64/loader/wine:
17980 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17981 $with_wine64/loader/wine-preloader:
17982 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17983 clean::
17984 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17985 else
17986 as_fn_append LOADER_RULES "
17987 install install-lib:: wine.inf install-man-pages
17988 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17989 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17991 uninstall::
17992 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17996 if test "$srcdir" = .
17997 then
17998 ac_config_commands="$ac_config_commands .gitignore"
18002 $as_echo " done" >&6
18003 cat >confcache <<\_ACEOF
18004 # This file is a shell script that caches the results of configure
18005 # tests run on this system so they can be shared between configure
18006 # scripts and configure runs, see configure's option --config-cache.
18007 # It is not useful on other systems. If it contains results you don't
18008 # want to keep, you may remove or edit it.
18010 # config.status only pays attention to the cache file if you give it
18011 # the --recheck option to rerun configure.
18013 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18014 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18015 # following values.
18017 _ACEOF
18019 # The following way of writing the cache mishandles newlines in values,
18020 # but we know of no workaround that is simple, portable, and efficient.
18021 # So, we kill variables containing newlines.
18022 # Ultrix sh set writes to stderr and can't be redirected directly,
18023 # and sets the high bit in the cache file unless we assign to the vars.
18025 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18026 eval ac_val=\$$ac_var
18027 case $ac_val in #(
18028 *${as_nl}*)
18029 case $ac_var in #(
18030 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18032 esac
18033 case $ac_var in #(
18034 _ | IFS | as_nl) ;; #(
18035 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18036 *) { eval $ac_var=; unset $ac_var;} ;;
18037 esac ;;
18038 esac
18039 done
18041 (set) 2>&1 |
18042 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18043 *${as_nl}ac_space=\ *)
18044 # `set' does not quote correctly, so add quotes: double-quote
18045 # substitution turns \\\\ into \\, and sed turns \\ into \.
18046 sed -n \
18047 "s/'/'\\\\''/g;
18048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18049 ;; #(
18051 # `set' quotes correctly as required by POSIX, so do not add quotes.
18052 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18054 esac |
18055 sort
18057 sed '
18058 /^ac_cv_env_/b end
18059 t clear
18060 :clear
18061 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18062 t end
18063 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18064 :end' >>confcache
18065 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18066 if test -w "$cache_file"; then
18067 if test "x$cache_file" != "x/dev/null"; then
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18069 $as_echo "$as_me: updating cache $cache_file" >&6;}
18070 if test ! -f "$cache_file" || test -h "$cache_file"; then
18071 cat confcache >"$cache_file"
18072 else
18073 case $cache_file in #(
18074 */* | ?:*)
18075 mv -f confcache "$cache_file"$$ &&
18076 mv -f "$cache_file"$$ "$cache_file" ;; #(
18078 mv -f confcache "$cache_file" ;;
18079 esac
18082 else
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18084 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18087 rm -f confcache
18089 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18090 # Let make expand exec_prefix.
18091 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18093 DEFS=-DHAVE_CONFIG_H
18095 ac_libobjs=
18096 ac_ltlibobjs=
18098 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18099 # 1. Remove the extension, and $U if already installed.
18100 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18101 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18102 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18103 # will be set to the directory where LIBOBJS objects are built.
18104 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18105 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18106 done
18107 LIBOBJS=$ac_libobjs
18109 LTLIBOBJS=$ac_ltlibobjs
18113 : "${CONFIG_STATUS=./config.status}"
18114 ac_write_fail=0
18115 ac_clean_files_save=$ac_clean_files
18116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18119 as_write_fail=0
18120 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18121 #! $SHELL
18122 # Generated by $as_me.
18123 # Run this file to recreate the current configuration.
18124 # Compiler output produced by configure, useful for debugging
18125 # configure, is in config.log if it exists.
18127 debug=false
18128 ac_cs_recheck=false
18129 ac_cs_silent=false
18131 SHELL=\${CONFIG_SHELL-$SHELL}
18132 export SHELL
18133 _ASEOF
18134 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18135 ## -------------------- ##
18136 ## M4sh Initialization. ##
18137 ## -------------------- ##
18139 # Be more Bourne compatible
18140 DUALCASE=1; export DUALCASE # for MKS sh
18141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18142 emulate sh
18143 NULLCMD=:
18144 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18145 # is contrary to our usage. Disable this feature.
18146 alias -g '${1+"$@"}'='"$@"'
18147 setopt NO_GLOB_SUBST
18148 else
18149 case `(set -o) 2>/dev/null` in #(
18150 *posix*) :
18151 set -o posix ;; #(
18152 *) :
18154 esac
18158 as_nl='
18160 export as_nl
18161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18162 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18165 # Prefer a ksh shell builtin over an external printf program on Solaris,
18166 # but without wasting forks for bash or zsh.
18167 if test -z "$BASH_VERSION$ZSH_VERSION" \
18168 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18169 as_echo='print -r --'
18170 as_echo_n='print -rn --'
18171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18172 as_echo='printf %s\n'
18173 as_echo_n='printf %s'
18174 else
18175 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18176 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18177 as_echo_n='/usr/ucb/echo -n'
18178 else
18179 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18180 as_echo_n_body='eval
18181 arg=$1;
18182 case $arg in #(
18183 *"$as_nl"*)
18184 expr "X$arg" : "X\\(.*\\)$as_nl";
18185 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18186 esac;
18187 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18189 export as_echo_n_body
18190 as_echo_n='sh -c $as_echo_n_body as_echo'
18192 export as_echo_body
18193 as_echo='sh -c $as_echo_body as_echo'
18196 # The user is always right.
18197 if test "${PATH_SEPARATOR+set}" != set; then
18198 PATH_SEPARATOR=:
18199 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18200 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18201 PATH_SEPARATOR=';'
18206 # IFS
18207 # We need space, tab and new line, in precisely that order. Quoting is
18208 # there to prevent editors from complaining about space-tab.
18209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18210 # splitting by setting IFS to empty value.)
18211 IFS=" "" $as_nl"
18213 # Find who we are. Look in the path if we contain no directory separator.
18214 as_myself=
18215 case $0 in #((
18216 *[\\/]* ) as_myself=$0 ;;
18217 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18218 for as_dir in $PATH
18220 IFS=$as_save_IFS
18221 test -z "$as_dir" && as_dir=.
18222 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18223 done
18224 IFS=$as_save_IFS
18227 esac
18228 # We did not find ourselves, most probably we were run as `sh COMMAND'
18229 # in which case we are not to be found in the path.
18230 if test "x$as_myself" = x; then
18231 as_myself=$0
18233 if test ! -f "$as_myself"; then
18234 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18235 exit 1
18238 # Unset variables that we do not need and which cause bugs (e.g. in
18239 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18240 # suppresses any "Segmentation fault" message there. '((' could
18241 # trigger a bug in pdksh 5.2.14.
18242 for as_var in BASH_ENV ENV MAIL MAILPATH
18243 do eval test x\${$as_var+set} = xset \
18244 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18245 done
18246 PS1='$ '
18247 PS2='> '
18248 PS4='+ '
18250 # NLS nuisances.
18251 LC_ALL=C
18252 export LC_ALL
18253 LANGUAGE=C
18254 export LANGUAGE
18256 # CDPATH.
18257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18260 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18261 # ----------------------------------------
18262 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18263 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18264 # script with STATUS, using 1 if that was 0.
18265 as_fn_error ()
18267 as_status=$1; test $as_status -eq 0 && as_status=1
18268 if test "$4"; then
18269 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18270 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18272 $as_echo "$as_me: error: $2" >&2
18273 as_fn_exit $as_status
18274 } # as_fn_error
18277 # as_fn_set_status STATUS
18278 # -----------------------
18279 # Set $? to STATUS, without forking.
18280 as_fn_set_status ()
18282 return $1
18283 } # as_fn_set_status
18285 # as_fn_exit STATUS
18286 # -----------------
18287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18288 as_fn_exit ()
18290 set +e
18291 as_fn_set_status $1
18292 exit $1
18293 } # as_fn_exit
18295 # as_fn_unset VAR
18296 # ---------------
18297 # Portably unset VAR.
18298 as_fn_unset ()
18300 { eval $1=; unset $1;}
18302 as_unset=as_fn_unset
18303 # as_fn_append VAR VALUE
18304 # ----------------------
18305 # Append the text in VALUE to the end of the definition contained in VAR. Take
18306 # advantage of any shell optimizations that allow amortized linear growth over
18307 # repeated appends, instead of the typical quadratic growth present in naive
18308 # implementations.
18309 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18310 eval 'as_fn_append ()
18312 eval $1+=\$2
18314 else
18315 as_fn_append ()
18317 eval $1=\$$1\$2
18319 fi # as_fn_append
18321 # as_fn_arith ARG...
18322 # ------------------
18323 # Perform arithmetic evaluation on the ARGs, and store the result in the
18324 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18325 # must be portable across $(()) and expr.
18326 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18327 eval 'as_fn_arith ()
18329 as_val=$(( $* ))
18331 else
18332 as_fn_arith ()
18334 as_val=`expr "$@" || test $? -eq 1`
18336 fi # as_fn_arith
18339 if expr a : '\(a\)' >/dev/null 2>&1 &&
18340 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18341 as_expr=expr
18342 else
18343 as_expr=false
18346 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18347 as_basename=basename
18348 else
18349 as_basename=false
18352 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18353 as_dirname=dirname
18354 else
18355 as_dirname=false
18358 as_me=`$as_basename -- "$0" ||
18359 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18360 X"$0" : 'X\(//\)$' \| \
18361 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18362 $as_echo X/"$0" |
18363 sed '/^.*\/\([^/][^/]*\)\/*$/{
18364 s//\1/
18367 /^X\/\(\/\/\)$/{
18368 s//\1/
18371 /^X\/\(\/\).*/{
18372 s//\1/
18375 s/.*/./; q'`
18377 # Avoid depending upon Character Ranges.
18378 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18379 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18380 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18381 as_cr_digits='0123456789'
18382 as_cr_alnum=$as_cr_Letters$as_cr_digits
18384 ECHO_C= ECHO_N= ECHO_T=
18385 case `echo -n x` in #(((((
18386 -n*)
18387 case `echo 'xy\c'` in
18388 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18389 xy) ECHO_C='\c';;
18390 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18391 ECHO_T=' ';;
18392 esac;;
18394 ECHO_N='-n';;
18395 esac
18397 rm -f conf$$ conf$$.exe conf$$.file
18398 if test -d conf$$.dir; then
18399 rm -f conf$$.dir/conf$$.file
18400 else
18401 rm -f conf$$.dir
18402 mkdir conf$$.dir 2>/dev/null
18404 if (echo >conf$$.file) 2>/dev/null; then
18405 if ln -s conf$$.file conf$$ 2>/dev/null; then
18406 as_ln_s='ln -s'
18407 # ... but there are two gotchas:
18408 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18409 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18410 # In both cases, we have to default to `cp -pR'.
18411 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18412 as_ln_s='cp -pR'
18413 elif ln conf$$.file conf$$ 2>/dev/null; then
18414 as_ln_s=ln
18415 else
18416 as_ln_s='cp -pR'
18418 else
18419 as_ln_s='cp -pR'
18421 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18422 rmdir conf$$.dir 2>/dev/null
18425 # as_fn_mkdir_p
18426 # -------------
18427 # Create "$as_dir" as a directory, including parents if necessary.
18428 as_fn_mkdir_p ()
18431 case $as_dir in #(
18432 -*) as_dir=./$as_dir;;
18433 esac
18434 test -d "$as_dir" || eval $as_mkdir_p || {
18435 as_dirs=
18436 while :; do
18437 case $as_dir in #(
18438 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18439 *) as_qdir=$as_dir;;
18440 esac
18441 as_dirs="'$as_qdir' $as_dirs"
18442 as_dir=`$as_dirname -- "$as_dir" ||
18443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18444 X"$as_dir" : 'X\(//\)[^/]' \| \
18445 X"$as_dir" : 'X\(//\)$' \| \
18446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18447 $as_echo X"$as_dir" |
18448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18449 s//\1/
18452 /^X\(\/\/\)[^/].*/{
18453 s//\1/
18456 /^X\(\/\/\)$/{
18457 s//\1/
18460 /^X\(\/\).*/{
18461 s//\1/
18464 s/.*/./; q'`
18465 test -d "$as_dir" && break
18466 done
18467 test -z "$as_dirs" || eval "mkdir $as_dirs"
18468 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18471 } # as_fn_mkdir_p
18472 if mkdir -p . 2>/dev/null; then
18473 as_mkdir_p='mkdir -p "$as_dir"'
18474 else
18475 test -d ./-p && rmdir ./-p
18476 as_mkdir_p=false
18480 # as_fn_executable_p FILE
18481 # -----------------------
18482 # Test if FILE is an executable regular file.
18483 as_fn_executable_p ()
18485 test -f "$1" && test -x "$1"
18486 } # as_fn_executable_p
18487 as_test_x='test -x'
18488 as_executable_p=as_fn_executable_p
18490 # Sed expression to map a string onto a valid CPP name.
18491 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18493 # Sed expression to map a string onto a valid variable name.
18494 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18497 exec 6>&1
18498 ## ----------------------------------- ##
18499 ## Main body of $CONFIG_STATUS script. ##
18500 ## ----------------------------------- ##
18501 _ASEOF
18502 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18505 # Save the log message, to keep $0 and so on meaningful, and to
18506 # report actual input values of CONFIG_FILES etc. instead of their
18507 # values after options handling.
18508 ac_log="
18509 This file was extended by Wine $as_me 1.7.46, which was
18510 generated by GNU Autoconf 2.69. Invocation command line was
18512 CONFIG_FILES = $CONFIG_FILES
18513 CONFIG_HEADERS = $CONFIG_HEADERS
18514 CONFIG_LINKS = $CONFIG_LINKS
18515 CONFIG_COMMANDS = $CONFIG_COMMANDS
18516 $ $0 $@
18518 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18521 _ACEOF
18523 case $ac_config_files in *"
18524 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18525 esac
18527 case $ac_config_headers in *"
18528 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18529 esac
18532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18533 # Files that config.status was made for.
18534 config_files="$ac_config_files"
18535 config_headers="$ac_config_headers"
18536 config_links="$ac_config_links"
18537 config_commands="$ac_config_commands"
18539 _ACEOF
18541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18542 ac_cs_usage="\
18543 \`$as_me' instantiates files and other configuration actions
18544 from templates according to the current configuration. Unless the files
18545 and actions are specified as TAGs, all are instantiated by default.
18547 Usage: $0 [OPTION]... [TAG]...
18549 -h, --help print this help, then exit
18550 -V, --version print version number and configuration settings, then exit
18551 --config print configuration, then exit
18552 -q, --quiet, --silent
18553 do not print progress messages
18554 -d, --debug don't remove temporary files
18555 --recheck update $as_me by reconfiguring in the same conditions
18556 --file=FILE[:TEMPLATE]
18557 instantiate the configuration file FILE
18558 --header=FILE[:TEMPLATE]
18559 instantiate the configuration header FILE
18561 Configuration files:
18562 $config_files
18564 Configuration headers:
18565 $config_headers
18567 Configuration links:
18568 $config_links
18570 Configuration commands:
18571 $config_commands
18573 Report bugs to <wine-devel@winehq.org>.
18574 Wine home page: <http://www.winehq.org>."
18576 _ACEOF
18577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18578 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18579 ac_cs_version="\\
18580 Wine config.status 1.7.46
18581 configured by $0, generated by GNU Autoconf 2.69,
18582 with options \\"\$ac_cs_config\\"
18584 Copyright (C) 2012 Free Software Foundation, Inc.
18585 This config.status script is free software; the Free Software Foundation
18586 gives unlimited permission to copy, distribute and modify it."
18588 ac_pwd='$ac_pwd'
18589 srcdir='$srcdir'
18590 test -n "\$AWK" || AWK=awk
18591 _ACEOF
18593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18594 # The default lists apply if the user does not specify any file.
18595 ac_need_defaults=:
18596 while test $# != 0
18598 case $1 in
18599 --*=?*)
18600 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18601 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18602 ac_shift=:
18604 --*=)
18605 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18606 ac_optarg=
18607 ac_shift=:
18610 ac_option=$1
18611 ac_optarg=$2
18612 ac_shift=shift
18614 esac
18616 case $ac_option in
18617 # Handling of the options.
18618 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18619 ac_cs_recheck=: ;;
18620 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18621 $as_echo "$ac_cs_version"; exit ;;
18622 --config | --confi | --conf | --con | --co | --c )
18623 $as_echo "$ac_cs_config"; exit ;;
18624 --debug | --debu | --deb | --de | --d | -d )
18625 debug=: ;;
18626 --file | --fil | --fi | --f )
18627 $ac_shift
18628 case $ac_optarg in
18629 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18630 '') as_fn_error $? "missing file argument" ;;
18631 esac
18632 as_fn_append CONFIG_FILES " '$ac_optarg'"
18633 ac_need_defaults=false;;
18634 --header | --heade | --head | --hea )
18635 $ac_shift
18636 case $ac_optarg in
18637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18638 esac
18639 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18640 ac_need_defaults=false;;
18641 --he | --h)
18642 # Conflict between --help and --header
18643 as_fn_error $? "ambiguous option: \`$1'
18644 Try \`$0 --help' for more information.";;
18645 --help | --hel | -h )
18646 $as_echo "$ac_cs_usage"; exit ;;
18647 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18648 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18649 ac_cs_silent=: ;;
18651 # This is an error.
18652 -*) as_fn_error $? "unrecognized option: \`$1'
18653 Try \`$0 --help' for more information." ;;
18655 *) as_fn_append ac_config_targets " $1"
18656 ac_need_defaults=false ;;
18658 esac
18659 shift
18660 done
18662 ac_configure_extra_args=
18664 if $ac_cs_silent; then
18665 exec 6>/dev/null
18666 ac_configure_extra_args="$ac_configure_extra_args --silent"
18669 _ACEOF
18670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18671 if \$ac_cs_recheck; then
18672 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18673 shift
18674 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18675 CONFIG_SHELL='$SHELL'
18676 export CONFIG_SHELL
18677 exec "\$@"
18680 _ACEOF
18681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18682 exec 5>>config.log
18684 echo
18685 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18686 ## Running $as_me. ##
18687 _ASBOX
18688 $as_echo "$ac_log"
18689 } >&5
18691 _ACEOF
18692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18694 # INIT-COMMANDS
18696 wine_fn_output_makedep ()
18698 as_dir=tools; as_fn_mkdir_p
18699 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18701 wine_fn_output_makefile ()
18703 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18704 `cat $wine_rules_file`
18705 _WINE_EOF
18706 as_fn_error $? "could not create Makefile" "$LINENO" 5
18708 wine_fn_output_gitignore ()
18710 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18711 $GITIGNORE
18712 _WINE_EOF
18713 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18716 _ACEOF
18718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18720 # Handling of arguments.
18721 for ac_config_target in $ac_config_targets
18723 case $ac_config_target in
18724 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18725 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18726 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18727 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18728 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18729 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18730 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18731 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18732 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18733 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18734 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18735 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18736 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18737 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18739 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18740 esac
18741 done
18744 # If the user did not use the arguments to specify the items to instantiate,
18745 # then the envvar interface is used. Set only those that are not.
18746 # We use the long form for the default assignment because of an extremely
18747 # bizarre bug on SunOS 4.1.3.
18748 if $ac_need_defaults; then
18749 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18750 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18751 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18755 # Have a temporary directory for convenience. Make it in the build tree
18756 # simply because there is no reason against having it here, and in addition,
18757 # creating and moving files from /tmp can sometimes cause problems.
18758 # Hook for its removal unless debugging.
18759 # Note that there is a small window in which the directory will not be cleaned:
18760 # after its creation but before its name has been assigned to `$tmp'.
18761 $debug ||
18763 tmp= ac_tmp=
18764 trap 'exit_status=$?
18765 : "${ac_tmp:=$tmp}"
18766 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18768 trap 'as_fn_exit 1' 1 2 13 15
18770 # Create a (secure) tmp directory for tmp files.
18773 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18774 test -d "$tmp"
18775 } ||
18777 tmp=./conf$$-$RANDOM
18778 (umask 077 && mkdir "$tmp")
18779 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18780 ac_tmp=$tmp
18782 # Set up the scripts for CONFIG_FILES section.
18783 # No need to generate them if there are no CONFIG_FILES.
18784 # This happens for instance with `./config.status config.h'.
18785 if test -n "$CONFIG_FILES"; then
18788 ac_cr=`echo X | tr X '\015'`
18789 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18790 # But we know of no other shell where ac_cr would be empty at this
18791 # point, so we can use a bashism as a fallback.
18792 if test "x$ac_cr" = x; then
18793 eval ac_cr=\$\'\\r\'
18795 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18796 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18797 ac_cs_awk_cr='\\r'
18798 else
18799 ac_cs_awk_cr=$ac_cr
18802 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18803 _ACEOF
18807 echo "cat >conf$$subs.awk <<_ACEOF" &&
18808 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18809 echo "_ACEOF"
18810 } >conf$$subs.sh ||
18811 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18812 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18813 ac_delim='%!_!# '
18814 for ac_last_try in false false false false false :; do
18815 . ./conf$$subs.sh ||
18816 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18818 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18819 if test $ac_delim_n = $ac_delim_num; then
18820 break
18821 elif $ac_last_try; then
18822 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18823 else
18824 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18826 done
18827 rm -f conf$$subs.sh
18829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18830 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18831 _ACEOF
18832 sed -n '
18834 s/^/S["/; s/!.*/"]=/
18837 s/^[^!]*!//
18838 :repl
18839 t repl
18840 s/'"$ac_delim"'$//
18841 t delim
18844 s/\(.\{148\}\)..*/\1/
18845 t more1
18846 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18849 b repl
18850 :more1
18851 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18854 s/.\{148\}//
18855 t nl
18856 :delim
18858 s/\(.\{148\}\)..*/\1/
18859 t more2
18860 s/["\\]/\\&/g; s/^/"/; s/$/"/
18863 :more2
18864 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18867 s/.\{148\}//
18868 t delim
18869 ' <conf$$subs.awk | sed '
18870 /^[^""]/{
18872 s/\n//
18874 ' >>$CONFIG_STATUS || ac_write_fail=1
18875 rm -f conf$$subs.awk
18876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18877 _ACAWK
18878 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18879 for (key in S) S_is_set[key] = 1
18880 FS = "\a"
18884 line = $ 0
18885 nfields = split(line, field, "@")
18886 substed = 0
18887 len = length(field[1])
18888 for (i = 2; i < nfields; i++) {
18889 key = field[i]
18890 keylen = length(key)
18891 if (S_is_set[key]) {
18892 value = S[key]
18893 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18894 len += length(value) + length(field[++i])
18895 substed = 1
18896 } else
18897 len += 1 + keylen
18900 print line
18903 _ACAWK
18904 _ACEOF
18905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18906 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18907 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18908 else
18910 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18911 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18912 _ACEOF
18914 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18915 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18916 # trailing colons and then remove the whole line if VPATH becomes empty
18917 # (actually we leave an empty line to preserve line numbers).
18918 if test "x$srcdir" = x.; then
18919 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18921 s///
18922 s/^/:/
18923 s/[ ]*$/:/
18924 s/:\$(srcdir):/:/g
18925 s/:\${srcdir}:/:/g
18926 s/:@srcdir@:/:/g
18927 s/^:*//
18928 s/:*$//
18930 s/\(=[ ]*\).*/\1/
18932 s/\n//
18933 s/^[^=]*=[ ]*$//
18937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18938 fi # test -n "$CONFIG_FILES"
18940 # Set up the scripts for CONFIG_HEADERS section.
18941 # No need to generate them if there are no CONFIG_HEADERS.
18942 # This happens for instance with `./config.status Makefile'.
18943 if test -n "$CONFIG_HEADERS"; then
18944 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18945 BEGIN {
18946 _ACEOF
18948 # Transform confdefs.h into an awk script `defines.awk', embedded as
18949 # here-document in config.status, that substitutes the proper values into
18950 # config.h.in to produce config.h.
18952 # Create a delimiter string that does not exist in confdefs.h, to ease
18953 # handling of long lines.
18954 ac_delim='%!_!# '
18955 for ac_last_try in false false :; do
18956 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18957 if test -z "$ac_tt"; then
18958 break
18959 elif $ac_last_try; then
18960 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18961 else
18962 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18964 done
18966 # For the awk script, D is an array of macro values keyed by name,
18967 # likewise P contains macro parameters if any. Preserve backslash
18968 # newline sequences.
18970 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18971 sed -n '
18972 s/.\{148\}/&'"$ac_delim"'/g
18973 t rset
18974 :rset
18975 s/^[ ]*#[ ]*define[ ][ ]*/ /
18976 t def
18978 :def
18979 s/\\$//
18980 t bsnl
18981 s/["\\]/\\&/g
18982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18983 D["\1"]=" \3"/p
18984 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18986 :bsnl
18987 s/["\\]/\\&/g
18988 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18989 D["\1"]=" \3\\\\\\n"\\/p
18990 t cont
18991 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18992 t cont
18994 :cont
18996 s/.\{148\}/&'"$ac_delim"'/g
18997 t clear
18998 :clear
18999 s/\\$//
19000 t bsnlc
19001 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19003 :bsnlc
19004 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19005 b cont
19006 ' <confdefs.h | sed '
19007 s/'"$ac_delim"'/"\\\
19008 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19011 for (key in D) D_is_set[key] = 1
19012 FS = "\a"
19014 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19015 line = \$ 0
19016 split(line, arg, " ")
19017 if (arg[1] == "#") {
19018 defundef = arg[2]
19019 mac1 = arg[3]
19020 } else {
19021 defundef = substr(arg[1], 2)
19022 mac1 = arg[2]
19024 split(mac1, mac2, "(") #)
19025 macro = mac2[1]
19026 prefix = substr(line, 1, index(line, defundef) - 1)
19027 if (D_is_set[macro]) {
19028 # Preserve the white space surrounding the "#".
19029 print prefix "define", macro P[macro] D[macro]
19030 next
19031 } else {
19032 # Replace #undef with comments. This is necessary, for example,
19033 # in the case of _POSIX_SOURCE, which is predefined and required
19034 # on some systems where configure will not decide to define it.
19035 if (defundef == "undef") {
19036 print "/*", prefix defundef, macro, "*/"
19037 next
19041 { print }
19042 _ACAWK
19043 _ACEOF
19044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19045 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19046 fi # test -n "$CONFIG_HEADERS"
19049 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19050 shift
19051 for ac_tag
19053 case $ac_tag in
19054 :[FHLC]) ac_mode=$ac_tag; continue;;
19055 esac
19056 case $ac_mode$ac_tag in
19057 :[FHL]*:*);;
19058 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19059 :[FH]-) ac_tag=-:-;;
19060 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19061 esac
19062 ac_save_IFS=$IFS
19063 IFS=:
19064 set x $ac_tag
19065 IFS=$ac_save_IFS
19066 shift
19067 ac_file=$1
19068 shift
19070 case $ac_mode in
19071 :L) ac_source=$1;;
19072 :[FH])
19073 ac_file_inputs=
19074 for ac_f
19076 case $ac_f in
19077 -) ac_f="$ac_tmp/stdin";;
19078 *) # Look for the file first in the build tree, then in the source tree
19079 # (if the path is not absolute). The absolute path cannot be DOS-style,
19080 # because $ac_f cannot contain `:'.
19081 test -f "$ac_f" ||
19082 case $ac_f in
19083 [\\/$]*) false;;
19084 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19085 esac ||
19086 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19087 esac
19088 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19089 as_fn_append ac_file_inputs " '$ac_f'"
19090 done
19092 # Let's still pretend it is `configure' which instantiates (i.e., don't
19093 # use $as_me), people would be surprised to read:
19094 # /* config.h. Generated by config.status. */
19095 configure_input='Generated from '`
19096 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19097 `' by configure.'
19098 if test x"$ac_file" != x-; then
19099 configure_input="$ac_file. $configure_input"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19101 $as_echo "$as_me: creating $ac_file" >&6;}
19103 # Neutralize special characters interpreted by sed in replacement strings.
19104 case $configure_input in #(
19105 *\&* | *\|* | *\\* )
19106 ac_sed_conf_input=`$as_echo "$configure_input" |
19107 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19108 *) ac_sed_conf_input=$configure_input;;
19109 esac
19111 case $ac_tag in
19112 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19114 esac
19116 esac
19118 ac_dir=`$as_dirname -- "$ac_file" ||
19119 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19120 X"$ac_file" : 'X\(//\)[^/]' \| \
19121 X"$ac_file" : 'X\(//\)$' \| \
19122 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19123 $as_echo X"$ac_file" |
19124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19125 s//\1/
19128 /^X\(\/\/\)[^/].*/{
19129 s//\1/
19132 /^X\(\/\/\)$/{
19133 s//\1/
19136 /^X\(\/\).*/{
19137 s//\1/
19140 s/.*/./; q'`
19141 as_dir="$ac_dir"; as_fn_mkdir_p
19142 ac_builddir=.
19144 case "$ac_dir" in
19145 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19147 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19148 # A ".." for each directory in $ac_dir_suffix.
19149 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19150 case $ac_top_builddir_sub in
19151 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19152 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19153 esac ;;
19154 esac
19155 ac_abs_top_builddir=$ac_pwd
19156 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19157 # for backward compatibility:
19158 ac_top_builddir=$ac_top_build_prefix
19160 case $srcdir in
19161 .) # We are building in place.
19162 ac_srcdir=.
19163 ac_top_srcdir=$ac_top_builddir_sub
19164 ac_abs_top_srcdir=$ac_pwd ;;
19165 [\\/]* | ?:[\\/]* ) # Absolute name.
19166 ac_srcdir=$srcdir$ac_dir_suffix;
19167 ac_top_srcdir=$srcdir
19168 ac_abs_top_srcdir=$srcdir ;;
19169 *) # Relative name.
19170 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19171 ac_top_srcdir=$ac_top_build_prefix$srcdir
19172 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19173 esac
19174 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19177 case $ac_mode in
19180 # CONFIG_FILE
19183 _ACEOF
19185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19186 # If the template does not know about datarootdir, expand it.
19187 # FIXME: This hack should be removed a few years after 2.60.
19188 ac_datarootdir_hack=; ac_datarootdir_seen=
19189 ac_sed_dataroot='
19190 /datarootdir/ {
19194 /@datadir@/p
19195 /@docdir@/p
19196 /@infodir@/p
19197 /@localedir@/p
19198 /@mandir@/p'
19199 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19200 *datarootdir*) ac_datarootdir_seen=yes;;
19201 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19203 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19204 _ACEOF
19205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19206 ac_datarootdir_hack='
19207 s&@datadir@&$datadir&g
19208 s&@docdir@&$docdir&g
19209 s&@infodir@&$infodir&g
19210 s&@localedir@&$localedir&g
19211 s&@mandir@&$mandir&g
19212 s&\\\${datarootdir}&$datarootdir&g' ;;
19213 esac
19214 _ACEOF
19216 # Neutralize VPATH when `$srcdir' = `.'.
19217 # Shell code in configure.ac might set extrasub.
19218 # FIXME: do we really want to maintain this feature?
19219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19220 ac_sed_extra="$ac_vpsub
19221 $extrasub
19222 _ACEOF
19223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19225 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19226 s|@configure_input@|$ac_sed_conf_input|;t t
19227 s&@top_builddir@&$ac_top_builddir_sub&;t t
19228 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19229 s&@srcdir@&$ac_srcdir&;t t
19230 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19231 s&@top_srcdir@&$ac_top_srcdir&;t t
19232 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19233 s&@builddir@&$ac_builddir&;t t
19234 s&@abs_builddir@&$ac_abs_builddir&;t t
19235 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19236 $ac_datarootdir_hack
19238 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19239 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19242 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19244 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19246 which seems to be undefined. Please make sure it is defined" >&5
19247 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19248 which seems to be undefined. Please make sure it is defined" >&2;}
19250 rm -f "$ac_tmp/stdin"
19251 case $ac_file in
19252 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19253 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19254 esac \
19255 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19259 # CONFIG_HEADER
19261 if test x"$ac_file" != x-; then
19263 $as_echo "/* $configure_input */" \
19264 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19265 } >"$ac_tmp/config.h" \
19266 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19267 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19269 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19270 else
19271 rm -f "$ac_file"
19272 mv "$ac_tmp/config.h" "$ac_file" \
19273 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19275 else
19276 $as_echo "/* $configure_input */" \
19277 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19278 || as_fn_error $? "could not create -" "$LINENO" 5
19283 # CONFIG_LINK
19286 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19288 else
19289 # Prefer the file from the source tree if names are identical.
19290 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19291 ac_source=$srcdir/$ac_source
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19295 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19297 if test ! -r "$ac_source"; then
19298 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19300 rm -f "$ac_file"
19302 # Try a relative symlink, then a hard link, then a copy.
19303 case $ac_source in
19304 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19305 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19306 esac
19307 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19308 ln "$ac_source" "$ac_file" 2>/dev/null ||
19309 cp -p "$ac_source" "$ac_file" ||
19310 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19313 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19314 $as_echo "$as_me: executing $ac_file commands" >&6;}
19316 esac
19319 case $ac_file$ac_mode in
19320 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19321 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19322 "Makefile":C) wine_fn_output_makefile Makefile ;;
19323 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19325 esac
19326 done # for ac_tag
19329 as_fn_exit 0
19330 _ACEOF
19331 ac_clean_files=$ac_clean_files_save
19333 test $ac_write_fail = 0 ||
19334 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19337 # configure is writing to config.log, and then calls config.status.
19338 # config.status does its own redirection, appending to config.log.
19339 # Unfortunately, on DOS this fails, as config.log is still kept open
19340 # by configure, so config.status won't be able to write to it; its
19341 # output is simply discarded. So we exec the FD to /dev/null,
19342 # effectively closing config.log, so it can be properly (re)opened and
19343 # appended to by config.status. When coming back to configure, we
19344 # need to make the FD available again.
19345 if test "$no_create" != yes; then
19346 ac_cs_success=:
19347 ac_config_status_args=
19348 test "$silent" = yes &&
19349 ac_config_status_args="$ac_config_status_args --quiet"
19350 exec 5>/dev/null
19351 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19352 exec 5>>config.log
19353 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19354 # would make configure fail if this is the last instruction.
19355 $ac_cs_success || as_fn_exit 1
19357 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19359 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19363 if test "$no_create" = "yes"
19364 then
19365 exit 0
19368 ac_save_IFS="$IFS"
19369 if test "x$wine_notices != "x; then
19370 echo >&6
19371 IFS="|"
19372 for msg in $wine_notices; do
19373 IFS="$ac_save_IFS"
19374 if ${msg:+false} :; then :
19376 else
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19378 $as_echo "$as_me: $msg" >&6;}
19380 done
19382 IFS="|"
19383 for msg in $wine_warnings; do
19384 IFS="$ac_save_IFS"
19385 if ${msg:+false} :; then :
19387 else
19388 echo >&2
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19390 $as_echo "$as_me: WARNING: $msg" >&2;}
19392 done
19393 IFS="$ac_save_IFS"
19395 $as_echo "
19396 $as_me: Finished. Do '${ac_make}' to compile Wine.
19397 " >&6