ntdll: Set TPIDRURW inline on ARM.
[wine/multimedia.git] / configure
blobc0951db473b26dc6d1b83fa87b57ebbcf7e22f7b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.45.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.45'
584 PACKAGE_STRING='Wine 1.7.45'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
934 enable_apphelp
935 enable_appwiz_cpl
936 enable_atl
937 enable_atl100
938 enable_atl110
939 enable_atl80
940 enable_atl90
941 enable_authz
942 enable_avicap32
943 enable_avifil32
944 enable_avrt
945 enable_bcrypt
946 enable_browseui
947 enable_cabinet
948 enable_capi2032
949 enable_cards
950 enable_cfgmgr32
951 enable_clusapi
952 enable_combase
953 enable_comcat
954 enable_comctl32
955 enable_comdlg32
956 enable_compstui
957 enable_comsvcs
958 enable_connect
959 enable_credui
960 enable_crtdll
961 enable_crypt32
962 enable_cryptdlg
963 enable_cryptdll
964 enable_cryptext
965 enable_cryptnet
966 enable_cryptui
967 enable_ctapi32
968 enable_ctl3d32
969 enable_d2d1
970 enable_d3d10
971 enable_d3d10_1
972 enable_d3d10core
973 enable_d3d11
974 enable_d3d8
975 enable_d3d9
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
987 enable_d3dim
988 enable_d3drm
989 enable_d3dx10_33
990 enable_d3dx10_34
991 enable_d3dx10_35
992 enable_d3dx10_36
993 enable_d3dx10_37
994 enable_d3dx10_38
995 enable_d3dx10_39
996 enable_d3dx10_40
997 enable_d3dx10_41
998 enable_d3dx10_42
999 enable_d3dx10_43
1000 enable_d3dx11_42
1001 enable_d3dx11_43
1002 enable_d3dx9_24
1003 enable_d3dx9_25
1004 enable_d3dx9_26
1005 enable_d3dx9_27
1006 enable_d3dx9_28
1007 enable_d3dx9_29
1008 enable_d3dx9_30
1009 enable_d3dx9_31
1010 enable_d3dx9_32
1011 enable_d3dx9_33
1012 enable_d3dx9_34
1013 enable_d3dx9_35
1014 enable_d3dx9_36
1015 enable_d3dx9_37
1016 enable_d3dx9_38
1017 enable_d3dx9_39
1018 enable_d3dx9_40
1019 enable_d3dx9_41
1020 enable_d3dx9_42
1021 enable_d3dx9_43
1022 enable_d3dxof
1023 enable_dbgeng
1024 enable_dbghelp
1025 enable_dciman32
1026 enable_ddraw
1027 enable_ddrawex
1028 enable_devenum
1029 enable_dhcpcsvc
1030 enable_difxapi
1031 enable_dinput
1032 enable_dinput8
1033 enable_dispex
1034 enable_dmband
1035 enable_dmcompos
1036 enable_dmime
1037 enable_dmloader
1038 enable_dmscript
1039 enable_dmstyle
1040 enable_dmsynth
1041 enable_dmusic
1042 enable_dmusic32
1043 enable_dnsapi
1044 enable_dplay
1045 enable_dplayx
1046 enable_dpnaddr
1047 enable_dpnet
1048 enable_dpnhpast
1049 enable_dpnlobby
1050 enable_dpvoice
1051 enable_dpwsockx
1052 enable_drmclien
1053 enable_dsound
1054 enable_dssenh
1055 enable_dswave
1056 enable_dwmapi
1057 enable_dwrite
1058 enable_dxdiagn
1059 enable_dxgi
1060 enable_dxva2
1061 enable_evr
1062 enable_explorerframe
1063 enable_ext_ms_win_gdi_devcaps_l1_1_0
1064 enable_faultrep
1065 enable_fltlib
1066 enable_fntcache
1067 enable_fontsub
1068 enable_fusion
1069 enable_fwpuclnt
1070 enable_gameux
1071 enable_gdi32
1072 enable_gdiplus
1073 enable_glu32
1074 enable_gphoto2_ds
1075 enable_gpkcsp
1076 enable_hal
1077 enable_hhctrl_ocx
1078 enable_hid
1079 enable_hlink
1080 enable_hnetcfg
1081 enable_httpapi
1082 enable_iccvid
1083 enable_icmp
1084 enable_ieframe
1085 enable_imaadp32_acm
1086 enable_imagehlp
1087 enable_imm32
1088 enable_inetcomm
1089 enable_inetcpl_cpl
1090 enable_inetmib1
1091 enable_infosoft
1092 enable_initpki
1093 enable_inkobj
1094 enable_inseng
1095 enable_iphlpapi
1096 enable_itircl
1097 enable_itss
1098 enable_joy_cpl
1099 enable_jscript
1100 enable_jsproxy
1101 enable_kernel32
1102 enable_ksuser
1103 enable_ktmw32
1104 enable_loadperf
1105 enable_localspl
1106 enable_localui
1107 enable_lz32
1108 enable_mapi32
1109 enable_mapistub
1110 enable_mciavi32
1111 enable_mcicda
1112 enable_mciqtz32
1113 enable_mciseq
1114 enable_mciwave
1115 enable_mf
1116 enable_mfplat
1117 enable_mfreadwrite
1118 enable_mgmtapi
1119 enable_midimap
1120 enable_mlang
1121 enable_mmcndmgr
1122 enable_mmdevapi
1123 enable_mountmgr_sys
1124 enable_mpr
1125 enable_mprapi
1126 enable_msacm32_drv
1127 enable_msacm32
1128 enable_msadp32_acm
1129 enable_msasn1
1130 enable_mscat32
1131 enable_mscms
1132 enable_mscoree
1133 enable_msctf
1134 enable_msctfp
1135 enable_msdaps
1136 enable_msdmo
1137 enable_msftedit
1138 enable_msg711_acm
1139 enable_msgsm32_acm
1140 enable_mshtml_tlb
1141 enable_mshtml
1142 enable_msi
1143 enable_msident
1144 enable_msimg32
1145 enable_msimsg
1146 enable_msimtf
1147 enable_msisip
1148 enable_msisys_ocx
1149 enable_msls31
1150 enable_msnet32
1151 enable_mspatcha
1152 enable_msrle32
1153 enable_mssign32
1154 enable_mssip32
1155 enable_mstask
1156 enable_msvcirt
1157 enable_msvcm80
1158 enable_msvcm90
1159 enable_msvcp100
1160 enable_msvcp110
1161 enable_msvcp120
1162 enable_msvcp120_app
1163 enable_msvcp60
1164 enable_msvcp70
1165 enable_msvcp71
1166 enable_msvcp80
1167 enable_msvcp90
1168 enable_msvcr100
1169 enable_msvcr110
1170 enable_msvcr120
1171 enable_msvcr120_app
1172 enable_msvcr70
1173 enable_msvcr71
1174 enable_msvcr80
1175 enable_msvcr90
1176 enable_msvcrt
1177 enable_msvcrt20
1178 enable_msvcrt40
1179 enable_msvcrtd
1180 enable_msvfw32
1181 enable_msvidc32
1182 enable_mswsock
1183 enable_msxml
1184 enable_msxml2
1185 enable_msxml3
1186 enable_msxml4
1187 enable_msxml6
1188 enable_nddeapi
1189 enable_ndis_sys
1190 enable_netapi32
1191 enable_netcfgx
1192 enable_netprofm
1193 enable_newdev
1194 enable_normaliz
1195 enable_npmshtml
1196 enable_npptools
1197 enable_ntdll
1198 enable_ntdsapi
1199 enable_ntoskrnl_exe
1200 enable_ntprint
1201 enable_objsel
1202 enable_odbc32
1203 enable_odbccp32
1204 enable_odbccu32
1205 enable_ole32
1206 enable_oleacc
1207 enable_oleaut32
1208 enable_olecli32
1209 enable_oledb32
1210 enable_oledlg
1211 enable_olepro32
1212 enable_olesvr32
1213 enable_olethk32
1214 enable_openal32
1215 enable_opencl
1216 enable_opengl32
1217 enable_packager
1218 enable_pdh
1219 enable_photometadatahandler
1220 enable_pidgen
1221 enable_powrprof
1222 enable_printui
1223 enable_prntvpt
1224 enable_propsys
1225 enable_psapi
1226 enable_pstorec
1227 enable_qcap
1228 enable_qedit
1229 enable_qmgr
1230 enable_qmgrprxy
1231 enable_quartz
1232 enable_query
1233 enable_rasapi32
1234 enable_rasdlg
1235 enable_regapi
1236 enable_resutils
1237 enable_riched20
1238 enable_riched32
1239 enable_rpcrt4
1240 enable_rsabase
1241 enable_rsaenh
1242 enable_rstrtmgr
1243 enable_rtutils
1244 enable_samlib
1245 enable_sane_ds
1246 enable_scarddlg
1247 enable_sccbase
1248 enable_schannel
1249 enable_schedsvc
1250 enable_scrrun
1251 enable_scsiport_sys
1252 enable_secur32
1253 enable_security
1254 enable_sensapi
1255 enable_serialui
1256 enable_setupapi
1257 enable_sfc
1258 enable_sfc_os
1259 enable_shdoclc
1260 enable_shdocvw
1261 enable_shell32
1262 enable_shfolder
1263 enable_shlwapi
1264 enable_slbcsp
1265 enable_slc
1266 enable_snmpapi
1267 enable_softpub
1268 enable_spoolss
1269 enable_stdole2_tlb
1270 enable_stdole32_tlb
1271 enable_sti
1272 enable_svrapi
1273 enable_sxs
1274 enable_t2embed
1275 enable_tapi32
1276 enable_taskschd
1277 enable_traffic
1278 enable_twain_32
1279 enable_unicows
1280 enable_updspapi
1281 enable_url
1282 enable_urlmon
1283 enable_usbd_sys
1284 enable_user32
1285 enable_userenv
1286 enable_usp10
1287 enable_uxtheme
1288 enable_vbscript
1289 enable_vcomp
1290 enable_vcomp100
1291 enable_vcomp90
1292 enable_vdmdbg
1293 enable_version
1294 enable_vssapi
1295 enable_wbemdisp
1296 enable_wbemprox
1297 enable_webservices
1298 enable_wer
1299 enable_wevtapi
1300 enable_wiaservc
1301 enable_windowscodecs
1302 enable_windowscodecsext
1303 enable_winealsa_drv
1304 enable_winecoreaudio_drv
1305 enable_wined3d
1306 enable_winegstreamer
1307 enable_winejoystick_drv
1308 enable_winemac_drv
1309 enable_winemapi
1310 enable_winemp3_acm
1311 enable_wineoss_drv
1312 enable_wineps_drv
1313 enable_wineqtdecoder
1314 enable_winex11_drv
1315 enable_wing32
1316 enable_winhttp
1317 enable_wininet
1318 enable_winmm
1319 enable_winnls32
1320 enable_winscard
1321 enable_winspool_drv
1322 enable_winsta
1323 enable_wintab32
1324 enable_wintrust
1325 enable_wlanapi
1326 enable_wldap32
1327 enable_wmi
1328 enable_wmiutils
1329 enable_wmp
1330 enable_wmvcore
1331 enable_wnaspi32
1332 enable_wpcap
1333 enable_ws2_32
1334 enable_wshom_ocx
1335 enable_wsnmp32
1336 enable_wsock32
1337 enable_wtsapi32
1338 enable_wuapi
1339 enable_wuaueng
1340 enable_x3daudio1_1
1341 enable_x3daudio1_2
1342 enable_x3daudio1_3
1343 enable_x3daudio1_4
1344 enable_x3daudio1_5
1345 enable_x3daudio1_6
1346 enable_x3daudio1_7
1347 enable_xapofx1_1
1348 enable_xapofx1_3
1349 enable_xapofx1_4
1350 enable_xapofx1_5
1351 enable_xaudio2_7
1352 enable_xinput1_1
1353 enable_xinput1_2
1354 enable_xinput1_3
1355 enable_xinput1_4
1356 enable_xinput9_1_0
1357 enable_xmllite
1358 enable_xolehlp
1359 enable_xpsprint
1360 enable_xpssvcs
1361 enable_documentation
1362 enable_fonts
1363 enable_include
1364 enable_libs_port
1365 enable_libs_wine
1366 enable_libs_wpp
1367 enable_loader
1368 enable_arp
1369 enable_aspnet_regiis
1370 enable_attrib
1371 enable_cabarc
1372 enable_cacls
1373 enable_clock
1374 enable_cmd
1375 enable_conhost
1376 enable_control
1377 enable_cscript
1378 enable_dpnsvr
1379 enable_dxdiag
1380 enable_eject
1381 enable_expand
1382 enable_explorer
1383 enable_extrac32
1384 enable_findstr
1385 enable_hh
1386 enable_hostname
1387 enable_icinfo
1388 enable_iexplore
1389 enable_ipconfig
1390 enable_lodctr
1391 enable_mofcomp
1392 enable_mshta
1393 enable_msiexec
1394 enable_net
1395 enable_netsh
1396 enable_netstat
1397 enable_ngen
1398 enable_notepad
1399 enable_oleview
1400 enable_ping
1401 enable_plugplay
1402 enable_presentationfontcache
1403 enable_progman
1404 enable_reg
1405 enable_regasm
1406 enable_regedit
1407 enable_regsvcs
1408 enable_regsvr32
1409 enable_rpcss
1410 enable_rundll32
1411 enable_sc
1412 enable_schtasks
1413 enable_sdbinst
1414 enable_secedit
1415 enable_servicemodelreg
1416 enable_services
1417 enable_spoolsv
1418 enable_start
1419 enable_svchost
1420 enable_systeminfo
1421 enable_taskkill
1422 enable_tasklist
1423 enable_taskmgr
1424 enable_termsv
1425 enable_uninstaller
1426 enable_unlodctr
1427 enable_view
1428 enable_wevtutil
1429 enable_wineboot
1430 enable_winebrowser
1431 enable_winecfg
1432 enable_wineconsole
1433 enable_winedbg
1434 enable_winedevice
1435 enable_winefile
1436 enable_winemenubuilder
1437 enable_winemine
1438 enable_winemsibuilder
1439 enable_winepath
1440 enable_winetest
1441 enable_winhlp32
1442 enable_winver
1443 enable_wmic
1444 enable_wordpad
1445 enable_write
1446 enable_wscript
1447 enable_wusa
1448 enable_xcopy
1449 enable_server
1450 enable_tools
1452 ac_precious_vars='build_alias
1453 host_alias
1454 target_alias
1456 CFLAGS
1457 LDFLAGS
1458 LIBS
1459 CPPFLAGS
1461 CXXFLAGS
1464 XMKMF
1465 XML2_CFLAGS
1466 XML2_LIBS
1467 XSLT_CFLAGS
1468 XSLT_LIBS
1469 DBUS_CFLAGS
1470 DBUS_LIBS
1471 HAL_CFLAGS
1472 HAL_LIBS
1473 GNUTLS_CFLAGS
1474 GNUTLS_LIBS
1475 SANE_CFLAGS
1476 SANE_LIBS
1477 GPHOTO2_CFLAGS
1478 GPHOTO2_LIBS
1479 GPHOTO2_PORT_CFLAGS
1480 GPHOTO2_PORT_LIBS
1481 LCMS2_CFLAGS
1482 LCMS2_LIBS
1483 FREETYPE_CFLAGS
1484 FREETYPE_LIBS
1485 GSTREAMER_CFLAGS
1486 GSTREAMER_LIBS
1487 CAPI20_CFLAGS
1488 CAPI20_LIBS
1489 FONTCONFIG_CFLAGS
1490 FONTCONFIG_LIBS
1491 JPEG_CFLAGS
1492 JPEG_LIBS
1493 PNG_CFLAGS
1494 PNG_LIBS
1495 TIFF_CFLAGS
1496 TIFF_LIBS
1497 MPG123_CFLAGS
1498 MPG123_LIBS'
1501 # Initialize some variables set by options.
1502 ac_init_help=
1503 ac_init_version=false
1504 ac_unrecognized_opts=
1505 ac_unrecognized_sep=
1506 # The variables have the same names as the options, with
1507 # dashes changed to underlines.
1508 cache_file=/dev/null
1509 exec_prefix=NONE
1510 no_create=
1511 no_recursion=
1512 prefix=NONE
1513 program_prefix=NONE
1514 program_suffix=NONE
1515 program_transform_name=s,x,x,
1516 silent=
1517 site=
1518 srcdir=
1519 verbose=
1520 x_includes=NONE
1521 x_libraries=NONE
1523 # Installation directory options.
1524 # These are left unexpanded so users can "make install exec_prefix=/foo"
1525 # and all the variables that are supposed to be based on exec_prefix
1526 # by default will actually change.
1527 # Use braces instead of parens because sh, perl, etc. also accept them.
1528 # (The list follows the same order as the GNU Coding Standards.)
1529 bindir='${exec_prefix}/bin'
1530 sbindir='${exec_prefix}/sbin'
1531 libexecdir='${exec_prefix}/libexec'
1532 datarootdir='${prefix}/share'
1533 datadir='${datarootdir}'
1534 sysconfdir='${prefix}/etc'
1535 sharedstatedir='${prefix}/com'
1536 localstatedir='${prefix}/var'
1537 includedir='${prefix}/include'
1538 oldincludedir='/usr/include'
1539 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1540 infodir='${datarootdir}/info'
1541 htmldir='${docdir}'
1542 dvidir='${docdir}'
1543 pdfdir='${docdir}'
1544 psdir='${docdir}'
1545 libdir='${exec_prefix}/lib'
1546 localedir='${datarootdir}/locale'
1547 mandir='${datarootdir}/man'
1549 ac_prev=
1550 ac_dashdash=
1551 for ac_option
1553 # If the previous option needs an argument, assign it.
1554 if test -n "$ac_prev"; then
1555 eval $ac_prev=\$ac_option
1556 ac_prev=
1557 continue
1560 case $ac_option in
1561 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1562 *=) ac_optarg= ;;
1563 *) ac_optarg=yes ;;
1564 esac
1566 # Accept the important Cygnus configure options, so we can diagnose typos.
1568 case $ac_dashdash$ac_option in
1570 ac_dashdash=yes ;;
1572 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1573 ac_prev=bindir ;;
1574 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1575 bindir=$ac_optarg ;;
1577 -build | --build | --buil | --bui | --bu)
1578 ac_prev=build_alias ;;
1579 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1580 build_alias=$ac_optarg ;;
1582 -cache-file | --cache-file | --cache-fil | --cache-fi \
1583 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1584 ac_prev=cache_file ;;
1585 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1586 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1587 cache_file=$ac_optarg ;;
1589 --config-cache | -C)
1590 cache_file=config.cache ;;
1592 -datadir | --datadir | --datadi | --datad)
1593 ac_prev=datadir ;;
1594 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1595 datadir=$ac_optarg ;;
1597 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1598 | --dataroo | --dataro | --datar)
1599 ac_prev=datarootdir ;;
1600 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1601 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1602 datarootdir=$ac_optarg ;;
1604 -disable-* | --disable-*)
1605 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608 as_fn_error $? "invalid feature name: $ac_useropt"
1609 ac_useropt_orig=$ac_useropt
1610 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_$ac_useropt"
1614 "*) ;;
1615 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1616 ac_unrecognized_sep=', ';;
1617 esac
1618 eval enable_$ac_useropt=no ;;
1620 -docdir | --docdir | --docdi | --doc | --do)
1621 ac_prev=docdir ;;
1622 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1623 docdir=$ac_optarg ;;
1625 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1626 ac_prev=dvidir ;;
1627 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1628 dvidir=$ac_optarg ;;
1630 -enable-* | --enable-*)
1631 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1632 # Reject names that are not valid shell variable names.
1633 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1634 as_fn_error $? "invalid feature name: $ac_useropt"
1635 ac_useropt_orig=$ac_useropt
1636 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1637 case $ac_user_opts in
1639 "enable_$ac_useropt"
1640 "*) ;;
1641 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1642 ac_unrecognized_sep=', ';;
1643 esac
1644 eval enable_$ac_useropt=\$ac_optarg ;;
1646 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1647 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1648 | --exec | --exe | --ex)
1649 ac_prev=exec_prefix ;;
1650 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1651 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1652 | --exec=* | --exe=* | --ex=*)
1653 exec_prefix=$ac_optarg ;;
1655 -gas | --gas | --ga | --g)
1656 # Obsolete; use --with-gas.
1657 with_gas=yes ;;
1659 -help | --help | --hel | --he | -h)
1660 ac_init_help=long ;;
1661 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1662 ac_init_help=recursive ;;
1663 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1664 ac_init_help=short ;;
1666 -host | --host | --hos | --ho)
1667 ac_prev=host_alias ;;
1668 -host=* | --host=* | --hos=* | --ho=*)
1669 host_alias=$ac_optarg ;;
1671 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1672 ac_prev=htmldir ;;
1673 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1674 | --ht=*)
1675 htmldir=$ac_optarg ;;
1677 -includedir | --includedir | --includedi | --included | --include \
1678 | --includ | --inclu | --incl | --inc)
1679 ac_prev=includedir ;;
1680 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1681 | --includ=* | --inclu=* | --incl=* | --inc=*)
1682 includedir=$ac_optarg ;;
1684 -infodir | --infodir | --infodi | --infod | --info | --inf)
1685 ac_prev=infodir ;;
1686 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1687 infodir=$ac_optarg ;;
1689 -libdir | --libdir | --libdi | --libd)
1690 ac_prev=libdir ;;
1691 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1692 libdir=$ac_optarg ;;
1694 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1695 | --libexe | --libex | --libe)
1696 ac_prev=libexecdir ;;
1697 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1698 | --libexe=* | --libex=* | --libe=*)
1699 libexecdir=$ac_optarg ;;
1701 -localedir | --localedir | --localedi | --localed | --locale)
1702 ac_prev=localedir ;;
1703 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1704 localedir=$ac_optarg ;;
1706 -localstatedir | --localstatedir | --localstatedi | --localstated \
1707 | --localstate | --localstat | --localsta | --localst | --locals)
1708 ac_prev=localstatedir ;;
1709 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1710 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1711 localstatedir=$ac_optarg ;;
1713 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1714 ac_prev=mandir ;;
1715 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1716 mandir=$ac_optarg ;;
1718 -nfp | --nfp | --nf)
1719 # Obsolete; use --without-fp.
1720 with_fp=no ;;
1722 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1723 | --no-cr | --no-c | -n)
1724 no_create=yes ;;
1726 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1727 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1728 no_recursion=yes ;;
1730 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1731 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1732 | --oldin | --oldi | --old | --ol | --o)
1733 ac_prev=oldincludedir ;;
1734 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1735 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1736 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1737 oldincludedir=$ac_optarg ;;
1739 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1740 ac_prev=prefix ;;
1741 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1742 prefix=$ac_optarg ;;
1744 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1745 | --program-pre | --program-pr | --program-p)
1746 ac_prev=program_prefix ;;
1747 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1748 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1749 program_prefix=$ac_optarg ;;
1751 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1752 | --program-suf | --program-su | --program-s)
1753 ac_prev=program_suffix ;;
1754 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1755 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1756 program_suffix=$ac_optarg ;;
1758 -program-transform-name | --program-transform-name \
1759 | --program-transform-nam | --program-transform-na \
1760 | --program-transform-n | --program-transform- \
1761 | --program-transform | --program-transfor \
1762 | --program-transfo | --program-transf \
1763 | --program-trans | --program-tran \
1764 | --progr-tra | --program-tr | --program-t)
1765 ac_prev=program_transform_name ;;
1766 -program-transform-name=* | --program-transform-name=* \
1767 | --program-transform-nam=* | --program-transform-na=* \
1768 | --program-transform-n=* | --program-transform-=* \
1769 | --program-transform=* | --program-transfor=* \
1770 | --program-transfo=* | --program-transf=* \
1771 | --program-trans=* | --program-tran=* \
1772 | --progr-tra=* | --program-tr=* | --program-t=*)
1773 program_transform_name=$ac_optarg ;;
1775 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1776 ac_prev=pdfdir ;;
1777 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1778 pdfdir=$ac_optarg ;;
1780 -psdir | --psdir | --psdi | --psd | --ps)
1781 ac_prev=psdir ;;
1782 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1783 psdir=$ac_optarg ;;
1785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1786 | -silent | --silent | --silen | --sile | --sil)
1787 silent=yes ;;
1789 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1790 ac_prev=sbindir ;;
1791 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1792 | --sbi=* | --sb=*)
1793 sbindir=$ac_optarg ;;
1795 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1796 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1797 | --sharedst | --shareds | --shared | --share | --shar \
1798 | --sha | --sh)
1799 ac_prev=sharedstatedir ;;
1800 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1801 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1802 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1803 | --sha=* | --sh=*)
1804 sharedstatedir=$ac_optarg ;;
1806 -site | --site | --sit)
1807 ac_prev=site ;;
1808 -site=* | --site=* | --sit=*)
1809 site=$ac_optarg ;;
1811 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1812 ac_prev=srcdir ;;
1813 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1814 srcdir=$ac_optarg ;;
1816 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1817 | --syscon | --sysco | --sysc | --sys | --sy)
1818 ac_prev=sysconfdir ;;
1819 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1820 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1821 sysconfdir=$ac_optarg ;;
1823 -target | --target | --targe | --targ | --tar | --ta | --t)
1824 ac_prev=target_alias ;;
1825 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1826 target_alias=$ac_optarg ;;
1828 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1829 verbose=yes ;;
1831 -version | --version | --versio | --versi | --vers | -V)
1832 ac_init_version=: ;;
1834 -with-* | --with-*)
1835 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1836 # Reject names that are not valid shell variable names.
1837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1838 as_fn_error $? "invalid package name: $ac_useropt"
1839 ac_useropt_orig=$ac_useropt
1840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1841 case $ac_user_opts in
1843 "with_$ac_useropt"
1844 "*) ;;
1845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1846 ac_unrecognized_sep=', ';;
1847 esac
1848 eval with_$ac_useropt=\$ac_optarg ;;
1850 -without-* | --without-*)
1851 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1852 # Reject names that are not valid shell variable names.
1853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1854 as_fn_error $? "invalid package name: $ac_useropt"
1855 ac_useropt_orig=$ac_useropt
1856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857 case $ac_user_opts in
1859 "with_$ac_useropt"
1860 "*) ;;
1861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1862 ac_unrecognized_sep=', ';;
1863 esac
1864 eval with_$ac_useropt=no ;;
1866 --x)
1867 # Obsolete; use --with-x.
1868 with_x=yes ;;
1870 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1871 | --x-incl | --x-inc | --x-in | --x-i)
1872 ac_prev=x_includes ;;
1873 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1874 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1875 x_includes=$ac_optarg ;;
1877 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1878 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1879 ac_prev=x_libraries ;;
1880 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1881 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1882 x_libraries=$ac_optarg ;;
1884 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1885 Try \`$0 --help' for more information"
1888 *=*)
1889 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1890 # Reject names that are not valid shell variable names.
1891 case $ac_envvar in #(
1892 '' | [0-9]* | *[!_$as_cr_alnum]* )
1893 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1894 esac
1895 eval $ac_envvar=\$ac_optarg
1896 export $ac_envvar ;;
1899 # FIXME: should be removed in autoconf 3.0.
1900 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1901 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1902 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1903 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1906 esac
1907 done
1909 if test -n "$ac_prev"; then
1910 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1911 as_fn_error $? "missing argument to $ac_option"
1914 if test -n "$ac_unrecognized_opts"; then
1915 case $enable_option_checking in
1916 no) ;;
1917 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1918 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1919 esac
1922 # Check all directory arguments for consistency.
1923 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1924 datadir sysconfdir sharedstatedir localstatedir includedir \
1925 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1926 libdir localedir mandir
1928 eval ac_val=\$$ac_var
1929 # Remove trailing slashes.
1930 case $ac_val in
1931 */ )
1932 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1933 eval $ac_var=\$ac_val;;
1934 esac
1935 # Be sure to have absolute directory names.
1936 case $ac_val in
1937 [\\/$]* | ?:[\\/]* ) continue;;
1938 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1939 esac
1940 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1941 done
1943 # There might be people who depend on the old broken behavior: `$host'
1944 # used to hold the argument of --host etc.
1945 # FIXME: To remove some day.
1946 build=$build_alias
1947 host=$host_alias
1948 target=$target_alias
1950 # FIXME: To remove some day.
1951 if test "x$host_alias" != x; then
1952 if test "x$build_alias" = x; then
1953 cross_compiling=maybe
1954 elif test "x$build_alias" != "x$host_alias"; then
1955 cross_compiling=yes
1959 ac_tool_prefix=
1960 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1962 test "$silent" = yes && exec 6>/dev/null
1965 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1966 ac_ls_di=`ls -di .` &&
1967 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1968 as_fn_error $? "working directory cannot be determined"
1969 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1970 as_fn_error $? "pwd does not report name of working directory"
1973 # Find the source files, if location was not specified.
1974 if test -z "$srcdir"; then
1975 ac_srcdir_defaulted=yes
1976 # Try the directory containing this script, then the parent directory.
1977 ac_confdir=`$as_dirname -- "$as_myself" ||
1978 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1979 X"$as_myself" : 'X\(//\)[^/]' \| \
1980 X"$as_myself" : 'X\(//\)$' \| \
1981 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1982 $as_echo X"$as_myself" |
1983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1984 s//\1/
1987 /^X\(\/\/\)[^/].*/{
1988 s//\1/
1991 /^X\(\/\/\)$/{
1992 s//\1/
1995 /^X\(\/\).*/{
1996 s//\1/
1999 s/.*/./; q'`
2000 srcdir=$ac_confdir
2001 if test ! -r "$srcdir/$ac_unique_file"; then
2002 srcdir=..
2004 else
2005 ac_srcdir_defaulted=no
2007 if test ! -r "$srcdir/$ac_unique_file"; then
2008 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2009 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2011 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2012 ac_abs_confdir=`(
2013 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2014 pwd)`
2015 # When building in place, set srcdir=.
2016 if test "$ac_abs_confdir" = "$ac_pwd"; then
2017 srcdir=.
2019 # Remove unnecessary trailing slashes from srcdir.
2020 # Double slashes in file names in object file debugging info
2021 # mess up M-x gdb in Emacs.
2022 case $srcdir in
2023 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2024 esac
2025 for ac_var in $ac_precious_vars; do
2026 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2027 eval ac_env_${ac_var}_value=\$${ac_var}
2028 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2029 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2030 done
2033 # Report the --help message.
2035 if test "$ac_init_help" = "long"; then
2036 # Omit some internal or obsolete options to make the list less imposing.
2037 # This message is too long to be a string in the A/UX 3.1 sh.
2038 cat <<_ACEOF
2039 \`configure' configures Wine 1.7.45 to adapt to many kinds of systems.
2041 Usage: $0 [OPTION]... [VAR=VALUE]...
2043 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2044 VAR=VALUE. See below for descriptions of some of the useful variables.
2046 Defaults for the options are specified in brackets.
2048 Configuration:
2049 -h, --help display this help and exit
2050 --help=short display options specific to this package
2051 --help=recursive display the short help of all the included packages
2052 -V, --version display version information and exit
2053 -q, --quiet, --silent do not print \`checking ...' messages
2054 --cache-file=FILE cache test results in FILE [disabled]
2055 -C, --config-cache alias for \`--cache-file=config.cache'
2056 -n, --no-create do not create output files
2057 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2059 Installation directories:
2060 --prefix=PREFIX install architecture-independent files in PREFIX
2061 [$ac_default_prefix]
2062 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2063 [PREFIX]
2065 By default, \`make install' will install all the files in
2066 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2067 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2068 for instance \`--prefix=\$HOME'.
2070 For better control, use the options below.
2072 Fine tuning of the installation directories:
2073 --bindir=DIR user executables [EPREFIX/bin]
2074 --sbindir=DIR system admin executables [EPREFIX/sbin]
2075 --libexecdir=DIR program executables [EPREFIX/libexec]
2076 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2077 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2078 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2079 --libdir=DIR object code libraries [EPREFIX/lib]
2080 --includedir=DIR C header files [PREFIX/include]
2081 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2082 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2083 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2084 --infodir=DIR info documentation [DATAROOTDIR/info]
2085 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2086 --mandir=DIR man documentation [DATAROOTDIR/man]
2087 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2088 --htmldir=DIR html documentation [DOCDIR]
2089 --dvidir=DIR dvi documentation [DOCDIR]
2090 --pdfdir=DIR pdf documentation [DOCDIR]
2091 --psdir=DIR ps documentation [DOCDIR]
2092 _ACEOF
2094 cat <<\_ACEOF
2096 X features:
2097 --x-includes=DIR X include files are in DIR
2098 --x-libraries=DIR X library files are in DIR
2100 System types:
2101 --build=BUILD configure for building on BUILD [guessed]
2102 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2103 _ACEOF
2106 if test -n "$ac_init_help"; then
2107 case $ac_init_help in
2108 short | recursive ) echo "Configuration of Wine 1.7.45:";;
2109 esac
2110 cat <<\_ACEOF
2112 Optional Features:
2113 --disable-option-checking ignore unrecognized --enable/--with options
2114 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2115 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2116 --disable-win16 do not include Win16 support
2117 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2118 binaries)
2119 --disable-tests do not build the regression tests
2120 --enable-maintainer-mode
2121 enable maintainer-specific build rules
2122 --disable-largefile omit support for large files
2124 Optional Packages:
2125 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2126 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2127 --without-alsa do not use the Alsa sound support
2128 --without-capi do not use CAPI (ISDN support)
2129 --without-cms do not use CMS (color management support)
2130 --without-coreaudio do not use the CoreAudio sound support
2131 --without-cups do not use CUPS
2132 --without-curses do not use (n)curses
2133 --without-dbus do not use DBus (dynamic device support)
2134 --without-fontconfig do not use fontconfig
2135 --without-freetype do not use the FreeType library
2136 --without-gettext do not use gettext
2137 --with-gettextpo use the GetTextPO library to rebuild po files
2138 --without-gphoto do not use gphoto (Digital Camera support)
2139 --without-glu do not use the GLU library
2140 --without-gnutls do not use GnuTLS (schannel support)
2141 --without-gsm do not use libgsm (GSM 06.10 codec support)
2142 --without-gstreamer do not use GStreamer (codecs support)
2143 --without-hal do not use HAL (dynamic device support)
2144 --without-jpeg do not use JPEG
2145 --without-ldap do not use LDAP
2146 --without-mpg123 do not use the mpg123 library
2147 --without-netapi do not use the Samba NetAPI library
2148 --without-openal do not use OpenAL
2149 --without-opencl do not use OpenCL
2150 --without-opengl do not use OpenGL
2151 --without-osmesa do not use the OSMesa library
2152 --without-oss do not use the OSS sound support
2153 --without-pcap do not use the Packet Capture library
2154 --without-png do not use PNG
2155 --without-pthread do not use the pthread library
2156 --without-sane do not use SANE (scanner support)
2157 --without-tiff do not use TIFF
2158 --without-v4l do not use v4l1 (v4l support)
2159 --without-xcomposite do not use the Xcomposite extension
2160 --without-xcursor do not use the Xcursor extension
2161 --without-xinerama do not use Xinerama (multi-monitor support)
2162 --without-xinput do not use the Xinput extension
2163 --without-xinput2 do not use the Xinput 2 extension
2164 --without-xml do not use XML
2165 --without-xrandr do not use Xrandr (resolution changes)
2166 --without-xrender do not use the Xrender extension
2167 --without-xshape do not use the Xshape extension
2168 --without-xshm do not use XShm (shared memory extension)
2169 --without-xslt do not use XSLT
2170 --without-xxf86vm do not use XFree video mode extension
2171 --without-zlib do not use Zlib (data compression)
2172 --with-wine-tools=DIR use Wine tools from directory DIR
2173 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2174 --with-x use the X Window System
2176 Some influential environment variables:
2177 CC C compiler command
2178 CFLAGS C compiler flags
2179 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2180 nonstandard directory <lib dir>
2181 LIBS libraries to pass to the linker, e.g. -l<library>
2182 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2183 you have headers in a nonstandard directory <include dir>
2184 CXX C++ compiler command
2185 CXXFLAGS C++ compiler flags
2186 CPP C preprocessor
2187 XMKMF Path to xmkmf, Makefile generator for X Window System
2188 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2189 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2190 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2191 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2192 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2193 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2194 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2195 HAL_LIBS Linker flags for hal, overriding pkg-config
2196 GNUTLS_CFLAGS
2197 C compiler flags for gnutls, overriding pkg-config
2198 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2199 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2200 SANE_LIBS Linker flags for libsane, overriding pkg-config
2201 GPHOTO2_CFLAGS
2202 C compiler flags for libgphoto2, overriding pkg-config
2203 GPHOTO2_LIBS
2204 Linker flags for libgphoto2, overriding pkg-config
2205 GPHOTO2_PORT_CFLAGS
2206 C compiler flags for libgphoto2_port, overriding pkg-config
2207 GPHOTO2_PORT_LIBS
2208 Linker flags for libgphoto2_port, overriding pkg-config
2209 LCMS2_CFLAGS
2210 C compiler flags for lcms2, overriding pkg-config
2211 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2212 FREETYPE_CFLAGS
2213 C compiler flags for freetype2, overriding pkg-config
2214 FREETYPE_LIBS
2215 Linker flags for freetype2, overriding pkg-config
2216 GSTREAMER_CFLAGS
2217 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2218 GSTREAMER_LIBS
2219 Linker flags for gstreamer-app-0.10, overriding pkg-config
2220 CAPI20_CFLAGS
2221 C compiler flags for capi20, overriding pkg-config
2222 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2223 FONTCONFIG_CFLAGS
2224 C compiler flags for fontconfig, overriding pkg-config
2225 FONTCONFIG_LIBS
2226 Linker flags for fontconfig, overriding pkg-config
2227 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2228 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2229 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2230 PNG_LIBS Linker flags for libpng, overriding pkg-config
2231 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2232 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2233 MPG123_CFLAGS
2234 C compiler flags for libmpg123, overriding pkg-config
2235 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2237 Use these variables to override the choices made by `configure' or to help
2238 it to find libraries and programs with nonstandard names/locations.
2240 Report bugs to <wine-devel@winehq.org>.
2241 Wine home page: <http://www.winehq.org>.
2242 _ACEOF
2243 ac_status=$?
2246 if test "$ac_init_help" = "recursive"; then
2247 # If there are subdirs, report their specific --help.
2248 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2249 test -d "$ac_dir" ||
2250 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2251 continue
2252 ac_builddir=.
2254 case "$ac_dir" in
2255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2258 # A ".." for each directory in $ac_dir_suffix.
2259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2260 case $ac_top_builddir_sub in
2261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2263 esac ;;
2264 esac
2265 ac_abs_top_builddir=$ac_pwd
2266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2267 # for backward compatibility:
2268 ac_top_builddir=$ac_top_build_prefix
2270 case $srcdir in
2271 .) # We are building in place.
2272 ac_srcdir=.
2273 ac_top_srcdir=$ac_top_builddir_sub
2274 ac_abs_top_srcdir=$ac_pwd ;;
2275 [\\/]* | ?:[\\/]* ) # Absolute name.
2276 ac_srcdir=$srcdir$ac_dir_suffix;
2277 ac_top_srcdir=$srcdir
2278 ac_abs_top_srcdir=$srcdir ;;
2279 *) # Relative name.
2280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2281 ac_top_srcdir=$ac_top_build_prefix$srcdir
2282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2283 esac
2284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2286 cd "$ac_dir" || { ac_status=$?; continue; }
2287 # Check for guested configure.
2288 if test -f "$ac_srcdir/configure.gnu"; then
2289 echo &&
2290 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2291 elif test -f "$ac_srcdir/configure"; then
2292 echo &&
2293 $SHELL "$ac_srcdir/configure" --help=recursive
2294 else
2295 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2296 fi || ac_status=$?
2297 cd "$ac_pwd" || { ac_status=$?; break; }
2298 done
2301 test -n "$ac_init_help" && exit $ac_status
2302 if $ac_init_version; then
2303 cat <<\_ACEOF
2304 Wine configure 1.7.45
2305 generated by GNU Autoconf 2.69
2307 Copyright (C) 2012 Free Software Foundation, Inc.
2308 This configure script is free software; the Free Software Foundation
2309 gives unlimited permission to copy, distribute and modify it.
2310 _ACEOF
2311 exit
2314 ## ------------------------ ##
2315 ## Autoconf initialization. ##
2316 ## ------------------------ ##
2318 # ac_fn_c_try_compile LINENO
2319 # --------------------------
2320 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2321 ac_fn_c_try_compile ()
2323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2324 rm -f conftest.$ac_objext
2325 if { { ac_try="$ac_compile"
2326 case "(($ac_try" in
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2329 esac
2330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2331 $as_echo "$ac_try_echo"; } >&5
2332 (eval "$ac_compile") 2>conftest.err
2333 ac_status=$?
2334 if test -s conftest.err; then
2335 grep -v '^ *+' conftest.err >conftest.er1
2336 cat conftest.er1 >&5
2337 mv -f conftest.er1 conftest.err
2339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2340 test $ac_status = 0; } && {
2341 test -z "$ac_c_werror_flag" ||
2342 test ! -s conftest.err
2343 } && test -s conftest.$ac_objext; then :
2344 ac_retval=0
2345 else
2346 $as_echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.$ac_ext >&5
2349 ac_retval=1
2351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2352 as_fn_set_status $ac_retval
2354 } # ac_fn_c_try_compile
2356 # ac_fn_cxx_try_compile LINENO
2357 # ----------------------------
2358 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2359 ac_fn_cxx_try_compile ()
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2362 rm -f conftest.$ac_objext
2363 if { { ac_try="$ac_compile"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2369 $as_echo "$ac_try_echo"; } >&5
2370 (eval "$ac_compile") 2>conftest.err
2371 ac_status=$?
2372 if test -s conftest.err; then
2373 grep -v '^ *+' conftest.err >conftest.er1
2374 cat conftest.er1 >&5
2375 mv -f conftest.er1 conftest.err
2377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2378 test $ac_status = 0; } && {
2379 test -z "$ac_cxx_werror_flag" ||
2380 test ! -s conftest.err
2381 } && test -s conftest.$ac_objext; then :
2382 ac_retval=0
2383 else
2384 $as_echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2387 ac_retval=1
2389 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2390 as_fn_set_status $ac_retval
2392 } # ac_fn_cxx_try_compile
2394 # ac_fn_c_try_link LINENO
2395 # -----------------------
2396 # Try to link conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_c_try_link ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext conftest$ac_exeext
2401 if { { ac_try="$ac_link"
2402 case "(($ac_try" in
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2405 esac
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_link") 2>conftest.err
2409 ac_status=$?
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_c_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest$ac_exeext && {
2420 test "$cross_compiling" = yes ||
2421 test -x conftest$ac_exeext
2422 }; then :
2423 ac_retval=0
2424 else
2425 $as_echo "$as_me: failed program was:" >&5
2426 sed 's/^/| /' conftest.$ac_ext >&5
2428 ac_retval=1
2430 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2431 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2432 # interfere with the next link command; also delete a directory that is
2433 # left behind by Apple's compiler. We do this before executing the actions.
2434 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2436 as_fn_set_status $ac_retval
2438 } # ac_fn_c_try_link
2440 # ac_fn_c_try_cpp LINENO
2441 # ----------------------
2442 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2443 ac_fn_c_try_cpp ()
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 if { { ac_try="$ac_cpp conftest.$ac_ext"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2454 ac_status=$?
2455 if test -s conftest.err; then
2456 grep -v '^ *+' conftest.err >conftest.er1
2457 cat conftest.er1 >&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } > conftest.i && {
2462 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2463 test ! -s conftest.err
2464 }; then :
2465 ac_retval=0
2466 else
2467 $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2470 ac_retval=1
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status $ac_retval
2475 } # ac_fn_c_try_cpp
2477 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2478 # -------------------------------------------------------
2479 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2480 # the include files in INCLUDES and setting the cache variable VAR
2481 # accordingly.
2482 ac_fn_c_check_header_mongrel ()
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 if eval \${$3+:} false; then :
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2487 $as_echo_n "checking for $2... " >&6; }
2488 if eval \${$3+:} false; then :
2489 $as_echo_n "(cached) " >&6
2491 eval ac_res=\$$3
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2493 $as_echo "$ac_res" >&6; }
2494 else
2495 # Is the header compilable?
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2497 $as_echo_n "checking $2 usability... " >&6; }
2498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2499 /* end confdefs.h. */
2501 #include <$2>
2502 _ACEOF
2503 if ac_fn_c_try_compile "$LINENO"; then :
2504 ac_header_compiler=yes
2505 else
2506 ac_header_compiler=no
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2510 $as_echo "$ac_header_compiler" >&6; }
2512 # Is the header present?
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2514 $as_echo_n "checking $2 presence... " >&6; }
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2516 /* end confdefs.h. */
2517 #include <$2>
2518 _ACEOF
2519 if ac_fn_c_try_cpp "$LINENO"; then :
2520 ac_header_preproc=yes
2521 else
2522 ac_header_preproc=no
2524 rm -f conftest.err conftest.i conftest.$ac_ext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2526 $as_echo "$ac_header_preproc" >&6; }
2528 # So? What about this header?
2529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2530 yes:no: )
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2532 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2534 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2536 no:yes:* )
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2538 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2540 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2542 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2544 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2546 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2547 ( $as_echo "## ------------------------------------ ##
2548 ## Report this to wine-devel@winehq.org ##
2549 ## ------------------------------------ ##"
2550 ) | sed "s/^/$as_me: WARNING: /" >&2
2552 esac
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if eval \${$3+:} false; then :
2556 $as_echo_n "(cached) " >&6
2557 else
2558 eval "$3=\$ac_header_compiler"
2560 eval ac_res=\$$3
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2562 $as_echo "$ac_res" >&6; }
2564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 } # ac_fn_c_check_header_mongrel
2568 # ac_fn_c_try_run LINENO
2569 # ----------------------
2570 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2571 # that executables *can* be run.
2572 ac_fn_c_try_run ()
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 if { { ac_try="$ac_link"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_link") 2>&5
2583 ac_status=$?
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2586 { { case "(($ac_try" in
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592 (eval "$ac_try") 2>&5
2593 ac_status=$?
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; }; }; then :
2596 ac_retval=0
2597 else
2598 $as_echo "$as_me: program exited with status $ac_status" >&5
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2602 ac_retval=$ac_status
2604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2606 as_fn_set_status $ac_retval
2608 } # ac_fn_c_try_run
2610 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2611 # -------------------------------------------------------
2612 # Tests whether HEADER exists and can be compiled using the include files in
2613 # INCLUDES, setting the cache variable VAR accordingly.
2614 ac_fn_c_check_header_compile ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2625 #include <$2>
2626 _ACEOF
2627 if ac_fn_c_try_compile "$LINENO"; then :
2628 eval "$3=yes"
2629 else
2630 eval "$3=no"
2632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2634 eval ac_res=\$$3
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2636 $as_echo "$ac_res" >&6; }
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2639 } # ac_fn_c_check_header_compile
2641 # ac_fn_c_check_func LINENO FUNC VAR
2642 # ----------------------------------
2643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2644 ac_fn_c_check_func ()
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2648 $as_echo_n "checking for $2... " >&6; }
2649 if eval \${$3+:} false; then :
2650 $as_echo_n "(cached) " >&6
2651 else
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2654 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2656 #define $2 innocuous_$2
2658 /* System header to define __stub macros and hopefully few prototypes,
2659 which can conflict with char $2 (); below.
2660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2661 <limits.h> exists even on freestanding compilers. */
2663 #ifdef __STDC__
2664 # include <limits.h>
2665 #else
2666 # include <assert.h>
2667 #endif
2669 #undef $2
2671 /* Override any GCC internal prototype to avoid an error.
2672 Use char because int might match the return type of a GCC
2673 builtin and then its argument prototype would still apply. */
2674 #ifdef __cplusplus
2675 extern "C"
2676 #endif
2677 char $2 ();
2678 /* The GNU C library defines this for functions which it implements
2679 to always fail with ENOSYS. Some functions are actually named
2680 something starting with __ and the normal name is an alias. */
2681 #if defined __stub_$2 || defined __stub___$2
2682 choke me
2683 #endif
2686 main ()
2688 return $2 ();
2690 return 0;
2692 _ACEOF
2693 if ac_fn_c_try_link "$LINENO"; then :
2694 eval "$3=yes"
2695 else
2696 eval "$3=no"
2698 rm -f core conftest.err conftest.$ac_objext \
2699 conftest$ac_exeext conftest.$ac_ext
2701 eval ac_res=\$$3
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_func
2708 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2709 # ----------------------------------------------------
2710 # Tries to find if the field MEMBER exists in type AGGR, after including
2711 # INCLUDES, setting cache variable VAR accordingly.
2712 ac_fn_c_check_member ()
2714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2716 $as_echo_n "checking for $2.$3... " >&6; }
2717 if eval \${$4+:} false; then :
2718 $as_echo_n "(cached) " >&6
2719 else
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2724 main ()
2726 static $2 ac_aggr;
2727 if (ac_aggr.$3)
2728 return 0;
2730 return 0;
2732 _ACEOF
2733 if ac_fn_c_try_compile "$LINENO"; then :
2734 eval "$4=yes"
2735 else
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2740 main ()
2742 static $2 ac_aggr;
2743 if (sizeof ac_aggr.$3)
2744 return 0;
2746 return 0;
2748 _ACEOF
2749 if ac_fn_c_try_compile "$LINENO"; then :
2750 eval "$4=yes"
2751 else
2752 eval "$4=no"
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2758 eval ac_res=\$$4
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_member
2765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2766 # -------------------------------------------
2767 # Tests whether TYPE exists after having included INCLUDES, setting cache
2768 # variable VAR accordingly.
2769 ac_fn_c_check_type ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \${$3+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 eval "$3=no"
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2782 main ()
2784 if (sizeof ($2))
2785 return 0;
2787 return 0;
2789 _ACEOF
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2795 main ()
2797 if (sizeof (($2)))
2798 return 0;
2800 return 0;
2802 _ACEOF
2803 if ac_fn_c_try_compile "$LINENO"; then :
2805 else
2806 eval "$3=yes"
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 eval ac_res=\$$3
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 } # ac_fn_c_check_type
2818 cat >config.log <<_ACEOF
2819 This file contains any messages produced by compilers while
2820 running configure, to aid debugging if configure makes a mistake.
2822 It was created by Wine $as_me 1.7.45, which was
2823 generated by GNU Autoconf 2.69. Invocation command line was
2825 $ $0 $@
2827 _ACEOF
2828 exec 5>>config.log
2830 cat <<_ASUNAME
2831 ## --------- ##
2832 ## Platform. ##
2833 ## --------- ##
2835 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2836 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2837 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2838 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2839 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2841 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2842 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2844 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2845 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2846 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2847 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2848 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2849 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2850 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2852 _ASUNAME
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2857 IFS=$as_save_IFS
2858 test -z "$as_dir" && as_dir=.
2859 $as_echo "PATH: $as_dir"
2860 done
2861 IFS=$as_save_IFS
2863 } >&5
2865 cat >&5 <<_ACEOF
2868 ## ----------- ##
2869 ## Core tests. ##
2870 ## ----------- ##
2872 _ACEOF
2875 # Keep a trace of the command line.
2876 # Strip out --no-create and --no-recursion so they do not pile up.
2877 # Strip out --silent because we don't want to record it for future runs.
2878 # Also quote any args containing shell meta-characters.
2879 # Make two passes to allow for proper duplicate-argument suppression.
2880 ac_configure_args=
2881 ac_configure_args0=
2882 ac_configure_args1=
2883 ac_must_keep_next=false
2884 for ac_pass in 1 2
2886 for ac_arg
2888 case $ac_arg in
2889 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2890 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2891 | -silent | --silent | --silen | --sile | --sil)
2892 continue ;;
2893 *\'*)
2894 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2895 esac
2896 case $ac_pass in
2897 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2899 as_fn_append ac_configure_args1 " '$ac_arg'"
2900 if test $ac_must_keep_next = true; then
2901 ac_must_keep_next=false # Got value, back to normal.
2902 else
2903 case $ac_arg in
2904 *=* | --config-cache | -C | -disable-* | --disable-* \
2905 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2906 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2907 | -with-* | --with-* | -without-* | --without-* | --x)
2908 case "$ac_configure_args0 " in
2909 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2910 esac
2912 -* ) ac_must_keep_next=true ;;
2913 esac
2915 as_fn_append ac_configure_args " '$ac_arg'"
2917 esac
2918 done
2919 done
2920 { ac_configure_args0=; unset ac_configure_args0;}
2921 { ac_configure_args1=; unset ac_configure_args1;}
2923 # When interrupted or exit'd, cleanup temporary files, and complete
2924 # config.log. We remove comments because anyway the quotes in there
2925 # would cause problems or look ugly.
2926 # WARNING: Use '\'' to represent an apostrophe within the trap.
2927 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2928 trap 'exit_status=$?
2929 # Save into config.log some information that might help in debugging.
2931 echo
2933 $as_echo "## ---------------- ##
2934 ## Cache variables. ##
2935 ## ---------------- ##"
2936 echo
2937 # The following way of writing the cache mishandles newlines in values,
2939 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2940 eval ac_val=\$$ac_var
2941 case $ac_val in #(
2942 *${as_nl}*)
2943 case $ac_var in #(
2944 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2946 esac
2947 case $ac_var in #(
2948 _ | IFS | as_nl) ;; #(
2949 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2950 *) { eval $ac_var=; unset $ac_var;} ;;
2951 esac ;;
2952 esac
2953 done
2954 (set) 2>&1 |
2955 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2956 *${as_nl}ac_space=\ *)
2957 sed -n \
2958 "s/'\''/'\''\\\\'\'''\''/g;
2959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2960 ;; #(
2962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2964 esac |
2965 sort
2967 echo
2969 $as_echo "## ----------------- ##
2970 ## Output variables. ##
2971 ## ----------------- ##"
2972 echo
2973 for ac_var in $ac_subst_vars
2975 eval ac_val=\$$ac_var
2976 case $ac_val in
2977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2978 esac
2979 $as_echo "$ac_var='\''$ac_val'\''"
2980 done | sort
2981 echo
2983 if test -n "$ac_subst_files"; then
2984 $as_echo "## ------------------- ##
2985 ## File substitutions. ##
2986 ## ------------------- ##"
2987 echo
2988 for ac_var in $ac_subst_files
2990 eval ac_val=\$$ac_var
2991 case $ac_val in
2992 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2993 esac
2994 $as_echo "$ac_var='\''$ac_val'\''"
2995 done | sort
2996 echo
2999 if test -s confdefs.h; then
3000 $as_echo "## ----------- ##
3001 ## confdefs.h. ##
3002 ## ----------- ##"
3003 echo
3004 cat confdefs.h
3005 echo
3007 test "$ac_signal" != 0 &&
3008 $as_echo "$as_me: caught signal $ac_signal"
3009 $as_echo "$as_me: exit $exit_status"
3010 } >&5
3011 rm -f core *.core core.conftest.* &&
3012 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3013 exit $exit_status
3015 for ac_signal in 1 2 13 15; do
3016 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3017 done
3018 ac_signal=0
3020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3021 rm -f -r conftest* confdefs.h
3023 $as_echo "/* confdefs.h */" > confdefs.h
3025 # Predefined preprocessor variables.
3027 cat >>confdefs.h <<_ACEOF
3028 #define PACKAGE_NAME "$PACKAGE_NAME"
3029 _ACEOF
3031 cat >>confdefs.h <<_ACEOF
3032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3033 _ACEOF
3035 cat >>confdefs.h <<_ACEOF
3036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3037 _ACEOF
3039 cat >>confdefs.h <<_ACEOF
3040 #define PACKAGE_STRING "$PACKAGE_STRING"
3041 _ACEOF
3043 cat >>confdefs.h <<_ACEOF
3044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3045 _ACEOF
3047 cat >>confdefs.h <<_ACEOF
3048 #define PACKAGE_URL "$PACKAGE_URL"
3049 _ACEOF
3052 # Let the site file select an alternate cache file if it wants to.
3053 # Prefer an explicitly selected file to automatically selected ones.
3054 ac_site_file1=NONE
3055 ac_site_file2=NONE
3056 if test -n "$CONFIG_SITE"; then
3057 # We do not want a PATH search for config.site.
3058 case $CONFIG_SITE in #((
3059 -*) ac_site_file1=./$CONFIG_SITE;;
3060 */*) ac_site_file1=$CONFIG_SITE;;
3061 *) ac_site_file1=./$CONFIG_SITE;;
3062 esac
3063 elif test "x$prefix" != xNONE; then
3064 ac_site_file1=$prefix/share/config.site
3065 ac_site_file2=$prefix/etc/config.site
3066 else
3067 ac_site_file1=$ac_default_prefix/share/config.site
3068 ac_site_file2=$ac_default_prefix/etc/config.site
3070 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3072 test "x$ac_site_file" = xNONE && continue
3073 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3075 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3076 sed 's/^/| /' "$ac_site_file" >&5
3077 . "$ac_site_file" \
3078 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error $? "failed to load site script $ac_site_file
3081 See \`config.log' for more details" "$LINENO" 5; }
3083 done
3085 if test -r "$cache_file"; then
3086 # Some versions of bash will fail to source /dev/null (special files
3087 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3088 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3090 $as_echo "$as_me: loading cache $cache_file" >&6;}
3091 case $cache_file in
3092 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3093 *) . "./$cache_file";;
3094 esac
3096 else
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3098 $as_echo "$as_me: creating cache $cache_file" >&6;}
3099 >$cache_file
3102 # Check that the precious variables saved in the cache have kept the same
3103 # value.
3104 ac_cache_corrupted=false
3105 for ac_var in $ac_precious_vars; do
3106 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3107 eval ac_new_set=\$ac_env_${ac_var}_set
3108 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3109 eval ac_new_val=\$ac_env_${ac_var}_value
3110 case $ac_old_set,$ac_new_set in
3111 set,)
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3113 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3114 ac_cache_corrupted=: ;;
3115 ,set)
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3117 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3118 ac_cache_corrupted=: ;;
3119 ,);;
3121 if test "x$ac_old_val" != "x$ac_new_val"; then
3122 # differences in whitespace do not lead to failure.
3123 ac_old_val_w=`echo x $ac_old_val`
3124 ac_new_val_w=`echo x $ac_new_val`
3125 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3127 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3128 ac_cache_corrupted=:
3129 else
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3131 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3132 eval $ac_var=\$ac_old_val
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3135 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3137 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3138 fi;;
3139 esac
3140 # Pass precious variables to config.status.
3141 if test "$ac_new_set" = set; then
3142 case $ac_new_val in
3143 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3144 *) ac_arg=$ac_var=$ac_new_val ;;
3145 esac
3146 case " $ac_configure_args " in
3147 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3148 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3149 esac
3151 done
3152 if $ac_cache_corrupted; then
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3156 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3157 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3159 ## -------------------- ##
3160 ## Main body of script. ##
3161 ## -------------------- ##
3163 ac_ext=c
3164 ac_cpp='$CPP $CPPFLAGS'
3165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171 ac_config_headers="$ac_config_headers include/config.h"
3173 ac_aux_dir=
3174 for ac_dir in tools "$srcdir"/tools; do
3175 if test -f "$ac_dir/install-sh"; then
3176 ac_aux_dir=$ac_dir
3177 ac_install_sh="$ac_aux_dir/install-sh -c"
3178 break
3179 elif test -f "$ac_dir/install.sh"; then
3180 ac_aux_dir=$ac_dir
3181 ac_install_sh="$ac_aux_dir/install.sh -c"
3182 break
3183 elif test -f "$ac_dir/shtool"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/shtool install -c"
3186 break
3188 done
3189 if test -z "$ac_aux_dir"; then
3190 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3193 # These three variables are undocumented and unsupported,
3194 # and are intended to be withdrawn in a future Autoconf release.
3195 # They can cause serious problems if a builder's source tree is in a directory
3196 # whose full name contains unusual characters.
3197 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3198 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3199 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3203 libwine_version="1.0"
3207 # Check whether --enable-win16 was given.
3208 if test "${enable_win16+set}" = set; then :
3209 enableval=$enable_win16;
3212 # Check whether --enable-win64 was given.
3213 if test "${enable_win64+set}" = set; then :
3214 enableval=$enable_win64;
3217 # Check whether --enable-tests was given.
3218 if test "${enable_tests+set}" = set; then :
3219 enableval=$enable_tests;
3222 # Check whether --enable-maintainer-mode was given.
3223 if test "${enable_maintainer_mode+set}" = set; then :
3224 enableval=$enable_maintainer_mode;
3229 # Check whether --with-alsa was given.
3230 if test "${with_alsa+set}" = set; then :
3231 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3235 # Check whether --with-capi was given.
3236 if test "${with_capi+set}" = set; then :
3237 withval=$with_capi;
3241 # Check whether --with-cms was given.
3242 if test "${with_cms+set}" = set; then :
3243 withval=$with_cms;
3247 # Check whether --with-coreaudio was given.
3248 if test "${with_coreaudio+set}" = set; then :
3249 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3253 # Check whether --with-cups was given.
3254 if test "${with_cups+set}" = set; then :
3255 withval=$with_cups;
3259 # Check whether --with-curses was given.
3260 if test "${with_curses+set}" = set; then :
3261 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3265 # Check whether --with-dbus was given.
3266 if test "${with_dbus+set}" = set; then :
3267 withval=$with_dbus;
3271 # Check whether --with-fontconfig was given.
3272 if test "${with_fontconfig+set}" = set; then :
3273 withval=$with_fontconfig;
3277 # Check whether --with-freetype was given.
3278 if test "${with_freetype+set}" = set; then :
3279 withval=$with_freetype;
3283 # Check whether --with-gettext was given.
3284 if test "${with_gettext+set}" = set; then :
3285 withval=$with_gettext;
3289 # Check whether --with-gettextpo was given.
3290 if test "${with_gettextpo+set}" = set; then :
3291 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3295 # Check whether --with-gphoto was given.
3296 if test "${with_gphoto+set}" = set; then :
3297 withval=$with_gphoto;
3301 # Check whether --with-glu was given.
3302 if test "${with_glu+set}" = set; then :
3303 withval=$with_glu;
3307 # Check whether --with-gnutls was given.
3308 if test "${with_gnutls+set}" = set; then :
3309 withval=$with_gnutls;
3313 # Check whether --with-gsm was given.
3314 if test "${with_gsm+set}" = set; then :
3315 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3319 # Check whether --with-gstreamer was given.
3320 if test "${with_gstreamer+set}" = set; then :
3321 withval=$with_gstreamer;
3325 # Check whether --with-hal was given.
3326 if test "${with_hal+set}" = set; then :
3327 withval=$with_hal;
3331 # Check whether --with-jpeg was given.
3332 if test "${with_jpeg+set}" = set; then :
3333 withval=$with_jpeg;
3337 # Check whether --with-ldap was given.
3338 if test "${with_ldap+set}" = set; then :
3339 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3343 # Check whether --with-mpg123 was given.
3344 if test "${with_mpg123+set}" = set; then :
3345 withval=$with_mpg123;
3349 # Check whether --with-netapi was given.
3350 if test "${with_netapi+set}" = set; then :
3351 withval=$with_netapi;
3355 # Check whether --with-openal was given.
3356 if test "${with_openal+set}" = set; then :
3357 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3361 # Check whether --with-opencl was given.
3362 if test "${with_opencl+set}" = set; then :
3363 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3367 # Check whether --with-opengl was given.
3368 if test "${with_opengl+set}" = set; then :
3369 withval=$with_opengl;
3373 # Check whether --with-osmesa was given.
3374 if test "${with_osmesa+set}" = set; then :
3375 withval=$with_osmesa;
3379 # Check whether --with-oss was given.
3380 if test "${with_oss+set}" = set; then :
3381 withval=$with_oss;
3385 # Check whether --with-pcap was given.
3386 if test "${with_pcap+set}" = set; then :
3387 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3391 # Check whether --with-png was given.
3392 if test "${with_png+set}" = set; then :
3393 withval=$with_png;
3397 # Check whether --with-pthread was given.
3398 if test "${with_pthread+set}" = set; then :
3399 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3403 # Check whether --with-sane was given.
3404 if test "${with_sane+set}" = set; then :
3405 withval=$with_sane;
3409 # Check whether --with-tiff was given.
3410 if test "${with_tiff+set}" = set; then :
3411 withval=$with_tiff;
3415 # Check whether --with-v4l was given.
3416 if test "${with_v4l+set}" = set; then :
3417 withval=$with_v4l;
3421 # Check whether --with-xcomposite was given.
3422 if test "${with_xcomposite+set}" = set; then :
3423 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3427 # Check whether --with-xcursor was given.
3428 if test "${with_xcursor+set}" = set; then :
3429 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3433 # Check whether --with-xinerama was given.
3434 if test "${with_xinerama+set}" = set; then :
3435 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3439 # Check whether --with-xinput was given.
3440 if test "${with_xinput+set}" = set; then :
3441 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3445 # Check whether --with-xinput2 was given.
3446 if test "${with_xinput2+set}" = set; then :
3447 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3451 # Check whether --with-xml was given.
3452 if test "${with_xml+set}" = set; then :
3453 withval=$with_xml;
3457 # Check whether --with-xrandr was given.
3458 if test "${with_xrandr+set}" = set; then :
3459 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3463 # Check whether --with-xrender was given.
3464 if test "${with_xrender+set}" = set; then :
3465 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3469 # Check whether --with-xshape was given.
3470 if test "${with_xshape+set}" = set; then :
3471 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3475 # Check whether --with-xshm was given.
3476 if test "${with_xshm+set}" = set; then :
3477 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3481 # Check whether --with-xslt was given.
3482 if test "${with_xslt+set}" = set; then :
3483 withval=$with_xslt;
3487 # Check whether --with-xxf86vm was given.
3488 if test "${with_xxf86vm+set}" = set; then :
3489 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
3493 # Check whether --with-zlib was given.
3494 if test "${with_zlib+set}" = set; then :
3495 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3500 # Check whether --with-wine-tools was given.
3501 if test "${with_wine_tools+set}" = set; then :
3502 withval=$with_wine_tools;
3506 # Check whether --with-wine64 was given.
3507 if test "${with_wine64+set}" = set; then :
3508 withval=$with_wine64;
3512 # Make sure we can run config.sub.
3513 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3514 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3517 $as_echo_n "checking build system type... " >&6; }
3518 if ${ac_cv_build+:} false; then :
3519 $as_echo_n "(cached) " >&6
3520 else
3521 ac_build_alias=$build_alias
3522 test "x$ac_build_alias" = x &&
3523 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3524 test "x$ac_build_alias" = x &&
3525 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3526 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3527 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3531 $as_echo "$ac_cv_build" >&6; }
3532 case $ac_cv_build in
3533 *-*-*) ;;
3534 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3535 esac
3536 build=$ac_cv_build
3537 ac_save_IFS=$IFS; IFS='-'
3538 set x $ac_cv_build
3539 shift
3540 build_cpu=$1
3541 build_vendor=$2
3542 shift; shift
3543 # Remember, the first character of IFS is used to create $*,
3544 # except with old shells:
3545 build_os=$*
3546 IFS=$ac_save_IFS
3547 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3551 $as_echo_n "checking host system type... " >&6; }
3552 if ${ac_cv_host+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test "x$host_alias" = x; then
3556 ac_cv_host=$ac_cv_build
3557 else
3558 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3559 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3564 $as_echo "$ac_cv_host" >&6; }
3565 case $ac_cv_host in
3566 *-*-*) ;;
3567 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3568 esac
3569 host=$ac_cv_host
3570 ac_save_IFS=$IFS; IFS='-'
3571 set x $ac_cv_host
3572 shift
3573 host_cpu=$1
3574 host_vendor=$2
3575 shift; shift
3576 # Remember, the first character of IFS is used to create $*,
3577 # except with old shells:
3578 host_os=$*
3579 IFS=$ac_save_IFS
3580 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3584 case "$srcdir" in
3585 .) ;;
3586 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3587 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3588 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3589 fi ;;
3590 esac
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3595 set x ${MAKE-make}
3596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 cat >conftest.make <<\_ACEOF
3601 SHELL = /bin/sh
3602 all:
3603 @echo '@@@%%%=$(MAKE)=@@@%%%'
3604 _ACEOF
3605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3607 *@@@%%%=?*=@@@%%%*)
3608 eval ac_cv_prog_make_${ac_make}_set=yes;;
3610 eval ac_cv_prog_make_${ac_make}_set=no;;
3611 esac
3612 rm -f conftest.make
3614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616 $as_echo "yes" >&6; }
3617 SET_MAKE=
3618 else
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3621 SET_MAKE="MAKE=${MAKE-make}"
3624 ac_ext=c
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if ${ac_cv_prog_CC+:} false; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 CC=$ac_cv_prog_CC
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3668 if test -z "$ac_cv_prog_CC"; then
3669 ac_ct_CC=$CC
3670 # Extract the first word of "gcc", so it can be a program name with args.
3671 set dummy gcc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$ac_ct_CC"; then
3678 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683 IFS=$as_save_IFS
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_ac_ct_CC="gcc"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 break 2
3691 done
3692 done
3693 IFS=$as_save_IFS
3697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3698 if test -n "$ac_ct_CC"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 $as_echo "$ac_ct_CC" >&6; }
3701 else
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3706 if test "x$ac_ct_CC" = x; then
3707 CC=""
3708 else
3709 case $cross_compiling:$ac_tool_warned in
3710 yes:)
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3713 ac_tool_warned=yes ;;
3714 esac
3715 CC=$ac_ct_CC
3717 else
3718 CC="$ac_cv_prog_CC"
3721 if test -z "$CC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3724 set dummy ${ac_tool_prefix}cc; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_CC+:} false; then :
3728 $as_echo_n "(cached) " >&6
3729 else
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC="$CC" # Let the user override the test.
3732 else
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3736 IFS=$as_save_IFS
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_CC="${ac_tool_prefix}cc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 break 2
3744 done
3745 done
3746 IFS=$as_save_IFS
3750 CC=$ac_cv_prog_CC
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3762 if test -z "$CC"; then
3763 # Extract the first word of "cc", so it can be a program name with args.
3764 set dummy cc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3772 else
3773 ac_prog_rejected=no
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775 for as_dir in $PATH
3777 IFS=$as_save_IFS
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3782 ac_prog_rejected=yes
3783 continue
3785 ac_cv_prog_CC="cc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3789 done
3790 done
3791 IFS=$as_save_IFS
3793 if test $ac_prog_rejected = yes; then
3794 # We found a bogon in the path, so make sure we never use it.
3795 set dummy $ac_cv_prog_CC
3796 shift
3797 if test $# != 0; then
3798 # We chose a different compiler from the bogus one.
3799 # However, it has the same basename, so the bogon will be chosen
3800 # first if we set CC to just the basename; use the full file name.
3801 shift
3802 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3807 CC=$ac_cv_prog_CC
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3810 $as_echo "$CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3818 if test -z "$CC"; then
3819 if test -n "$ac_tool_prefix"; then
3820 for ac_prog in cl.exe
3822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3823 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false; then :
3827 $as_echo_n "(cached) " >&6
3828 else
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC="$CC" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3845 IFS=$as_save_IFS
3849 CC=$ac_cv_prog_CC
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3853 else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3859 test -n "$CC" && break
3860 done
3862 if test -z "$CC"; then
3863 ac_ct_CC=$CC
3864 for ac_prog in cl.exe
3866 # Extract the first word of "$ac_prog", so it can be a program name with args.
3867 set dummy $ac_prog; ac_word=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3871 $as_echo_n "(cached) " >&6
3872 else
3873 if test -n "$ac_ct_CC"; then
3874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_ac_ct_CC="$ac_prog"
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3889 IFS=$as_save_IFS
3893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3894 if test -n "$ac_ct_CC"; then
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3896 $as_echo "$ac_ct_CC" >&6; }
3897 else
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3899 $as_echo "no" >&6; }
3903 test -n "$ac_ct_CC" && break
3904 done
3906 if test "x$ac_ct_CC" = x; then
3907 CC=""
3908 else
3909 case $cross_compiling:$ac_tool_warned in
3910 yes:)
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3914 esac
3915 CC=$ac_ct_CC
3922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error $? "no acceptable C compiler found in \$PATH
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 # Provide some information about the compiler.
3928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3929 set X $ac_compile
3930 ac_compiler=$2
3931 for ac_option in --version -v -V -qversion; do
3932 { { ac_try="$ac_compiler $ac_option >&5"
3933 case "(($ac_try" in
3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3936 esac
3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938 $as_echo "$ac_try_echo"; } >&5
3939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3940 ac_status=$?
3941 if test -s conftest.err; then
3942 sed '10a\
3943 ... rest of stderr output deleted ...
3944 10q' conftest.err >conftest.er1
3945 cat conftest.er1 >&5
3947 rm -f conftest.er1 conftest.err
3948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3949 test $ac_status = 0; }
3950 done
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3956 main ()
3960 return 0;
3962 _ACEOF
3963 ac_clean_files_save=$ac_clean_files
3964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3965 # Try to create an executable without -o first, disregard a.out.
3966 # It will help us diagnose broken compilers, and finding out an intuition
3967 # of exeext.
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3969 $as_echo_n "checking whether the C compiler works... " >&6; }
3970 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3972 # The possible output files:
3973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3975 ac_rmfiles=
3976 for ac_file in $ac_files
3978 case $ac_file in
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3980 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3981 esac
3982 done
3983 rm -f $ac_rmfiles
3985 if { { ac_try="$ac_link_default"
3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992 (eval "$ac_link_default") 2>&5
3993 ac_status=$?
3994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995 test $ac_status = 0; }; then :
3996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3997 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3998 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3999 # so that the user can short-circuit this test for compilers unknown to
4000 # Autoconf.
4001 for ac_file in $ac_files ''
4003 test -f "$ac_file" || continue
4004 case $ac_file in
4005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4007 [ab].out )
4008 # We found the default executable, but exeext='' is most
4009 # certainly right.
4010 break;;
4011 *.* )
4012 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4013 then :; else
4014 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4016 # We set ac_cv_exeext here because the later test for it is not
4017 # safe: cross compilers may not add the suffix if given an `-o'
4018 # argument, so we may need to know it at that point already.
4019 # Even if this section looks crufty: it has the advantage of
4020 # actually working.
4021 break;;
4023 break;;
4024 esac
4025 done
4026 test "$ac_cv_exeext" = no && ac_cv_exeext=
4028 else
4029 ac_file=''
4031 if test -z "$ac_file"; then :
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4034 $as_echo "$as_me: failed program was:" >&5
4035 sed 's/^/| /' conftest.$ac_ext >&5
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error 77 "C compiler cannot create executables
4040 See \`config.log' for more details" "$LINENO" 5; }
4041 else
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4046 $as_echo_n "checking for C compiler default output file name... " >&6; }
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4048 $as_echo "$ac_file" >&6; }
4049 ac_exeext=$ac_cv_exeext
4051 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4052 ac_clean_files=$ac_clean_files_save
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4054 $as_echo_n "checking for suffix of executables... " >&6; }
4055 if { { ac_try="$ac_link"
4056 case "(($ac_try" in
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4058 *) ac_try_echo=$ac_try;;
4059 esac
4060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4061 $as_echo "$ac_try_echo"; } >&5
4062 (eval "$ac_link") 2>&5
4063 ac_status=$?
4064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4065 test $ac_status = 0; }; then :
4066 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4067 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4068 # work properly (i.e., refer to `conftest.exe'), while it won't with
4069 # `rm'.
4070 for ac_file in conftest.exe conftest conftest.*; do
4071 test -f "$ac_file" || continue
4072 case $ac_file in
4073 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4074 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4075 break;;
4076 * ) break;;
4077 esac
4078 done
4079 else
4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4083 See \`config.log' for more details" "$LINENO" 5; }
4085 rm -f conftest conftest$ac_cv_exeext
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4087 $as_echo "$ac_cv_exeext" >&6; }
4089 rm -f conftest.$ac_ext
4090 EXEEXT=$ac_cv_exeext
4091 ac_exeext=$EXEEXT
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4094 #include <stdio.h>
4096 main ()
4098 FILE *f = fopen ("conftest.out", "w");
4099 return ferror (f) || fclose (f) != 0;
4102 return 0;
4104 _ACEOF
4105 ac_clean_files="$ac_clean_files conftest.out"
4106 # Check that the compiler produces executables we can run. If not, either
4107 # the compiler is broken, or we cross compile.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4109 $as_echo_n "checking whether we are cross compiling... " >&6; }
4110 if test "$cross_compiling" != yes; then
4111 { { ac_try="$ac_link"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_link") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }
4122 if { ac_try='./conftest$ac_cv_exeext'
4123 { { case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_try") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; }; then
4133 cross_compiling=no
4134 else
4135 if test "$cross_compiling" = maybe; then
4136 cross_compiling=yes
4137 else
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "cannot run C compiled programs.
4141 If you meant to cross compile, use \`--host'.
4142 See \`config.log' for more details" "$LINENO" 5; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4147 $as_echo "$cross_compiling" >&6; }
4149 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4150 ac_clean_files=$ac_clean_files_save
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4152 $as_echo_n "checking for suffix of object files... " >&6; }
4153 if ${ac_cv_objext+:} false; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4160 main ()
4164 return 0;
4166 _ACEOF
4167 rm -f conftest.o conftest.obj
4168 if { { ac_try="$ac_compile"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_compile") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 for ac_file in conftest.o conftest.obj conftest.*; do
4180 test -f "$ac_file" || continue;
4181 case $ac_file in
4182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4183 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4184 break;;
4185 esac
4186 done
4187 else
4188 $as_echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error $? "cannot compute suffix of object files: cannot compile
4194 See \`config.log' for more details" "$LINENO" 5; }
4196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4199 $as_echo "$ac_cv_objext" >&6; }
4200 OBJEXT=$ac_cv_objext
4201 ac_objext=$OBJEXT
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4203 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4204 if ${ac_cv_c_compiler_gnu+:} false; then :
4205 $as_echo_n "(cached) " >&6
4206 else
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4211 main ()
4213 #ifndef __GNUC__
4214 choke me
4215 #endif
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_compiler_gnu=yes
4223 else
4224 ac_compiler_gnu=no
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4231 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4232 if test $ac_compiler_gnu = yes; then
4233 GCC=yes
4234 else
4235 GCC=
4237 ac_test_CFLAGS=${CFLAGS+set}
4238 ac_save_CFLAGS=$CFLAGS
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4240 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4241 if ${ac_cv_prog_cc_g+:} false; then :
4242 $as_echo_n "(cached) " >&6
4243 else
4244 ac_save_c_werror_flag=$ac_c_werror_flag
4245 ac_c_werror_flag=yes
4246 ac_cv_prog_cc_g=no
4247 CFLAGS="-g"
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4252 main ()
4256 return 0;
4258 _ACEOF
4259 if ac_fn_c_try_compile "$LINENO"; then :
4260 ac_cv_prog_cc_g=yes
4261 else
4262 CFLAGS=""
4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4267 main ()
4271 return 0;
4273 _ACEOF
4274 if ac_fn_c_try_compile "$LINENO"; then :
4276 else
4277 ac_c_werror_flag=$ac_save_c_werror_flag
4278 CFLAGS="-g"
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4283 main ()
4287 return 0;
4289 _ACEOF
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 ac_cv_prog_cc_g=yes
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_c_werror_flag=$ac_save_c_werror_flag
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4301 $as_echo "$ac_cv_prog_cc_g" >&6; }
4302 if test "$ac_test_CFLAGS" = set; then
4303 CFLAGS=$ac_save_CFLAGS
4304 elif test $ac_cv_prog_cc_g = yes; then
4305 if test "$GCC" = yes; then
4306 CFLAGS="-g -O2"
4307 else
4308 CFLAGS="-g"
4310 else
4311 if test "$GCC" = yes; then
4312 CFLAGS="-O2"
4313 else
4314 CFLAGS=
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4318 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4319 if ${ac_cv_prog_cc_c89+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 ac_cv_prog_cc_c89=no
4323 ac_save_CC=$CC
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4326 #include <stdarg.h>
4327 #include <stdio.h>
4328 struct stat;
4329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4330 struct buf { int x; };
4331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4332 static char *e (p, i)
4333 char **p;
4334 int i;
4336 return p[i];
4338 static char *f (char * (*g) (char **, int), char **p, ...)
4340 char *s;
4341 va_list v;
4342 va_start (v,p);
4343 s = g (p, va_arg (v,int));
4344 va_end (v);
4345 return s;
4348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4349 function prototypes and stuff, but not '\xHH' hex character constants.
4350 These don't provoke an error unfortunately, instead are silently treated
4351 as 'x'. The following induces an error, until -std is added to get
4352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4353 array size at least. It's necessary to write '\x00'==0 to get something
4354 that's true only with -std. */
4355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4358 inside strings and character constants. */
4359 #define FOO(x) 'x'
4360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4362 int test (int i, double x);
4363 struct s1 {int (*f) (int a);};
4364 struct s2 {int (*f) (double a);};
4365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4366 int argc;
4367 char **argv;
4369 main ()
4371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4373 return 0;
4375 _ACEOF
4376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4379 CC="$ac_save_CC $ac_arg"
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_prog_cc_c89=$ac_arg
4383 rm -f core conftest.err conftest.$ac_objext
4384 test "x$ac_cv_prog_cc_c89" != "xno" && break
4385 done
4386 rm -f conftest.$ac_ext
4387 CC=$ac_save_CC
4390 # AC_CACHE_VAL
4391 case "x$ac_cv_prog_cc_c89" in
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4394 $as_echo "none needed" >&6; } ;;
4395 xno)
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4397 $as_echo "unsupported" >&6; } ;;
4399 CC="$CC $ac_cv_prog_cc_c89"
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4401 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4402 esac
4403 if test "x$ac_cv_prog_cc_c89" != xno; then :
4407 ac_ext=c
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413 ac_ext=cpp
4414 ac_cpp='$CXXCPP $CPPFLAGS'
4415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4418 if test -z "$CXX"; then
4419 if test -n "$CCC"; then
4420 CXX=$CCC
4421 else
4422 if test -n "$ac_tool_prefix"; then
4423 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4426 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CXX+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CXX"; then
4433 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CXX=$ac_cv_prog_CXX
4453 if test -n "$CXX"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4455 $as_echo "$CXX" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4462 test -n "$CXX" && break
4463 done
4465 if test -z "$CXX"; then
4466 ac_ct_CXX=$CXX
4467 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4469 # Extract the first word of "$ac_prog", so it can be a program name with args.
4470 set dummy $ac_prog; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -n "$ac_ct_CXX"; then
4477 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4478 else
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_prog"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 break 2
4490 done
4491 done
4492 IFS=$as_save_IFS
4496 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4497 if test -n "$ac_ct_CXX"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4499 $as_echo "$ac_ct_CXX" >&6; }
4500 else
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4506 test -n "$ac_ct_CXX" && break
4507 done
4509 if test "x$ac_ct_CXX" = x; then
4510 CXX="g++"
4511 else
4512 case $cross_compiling:$ac_tool_warned in
4513 yes:)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4517 esac
4518 CXX=$ac_ct_CXX
4524 # Provide some information about the compiler.
4525 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4526 set X $ac_compile
4527 ac_compiler=$2
4528 for ac_option in --version -v -V -qversion; do
4529 { { ac_try="$ac_compiler $ac_option >&5"
4530 case "(($ac_try" in
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 *) ac_try_echo=$ac_try;;
4533 esac
4534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4535 $as_echo "$ac_try_echo"; } >&5
4536 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4537 ac_status=$?
4538 if test -s conftest.err; then
4539 sed '10a\
4540 ... rest of stderr output deleted ...
4541 10q' conftest.err >conftest.er1
4542 cat conftest.er1 >&5
4544 rm -f conftest.er1 conftest.err
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }
4547 done
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4550 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4551 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4558 main ()
4560 #ifndef __GNUC__
4561 choke me
4562 #endif
4565 return 0;
4567 _ACEOF
4568 if ac_fn_cxx_try_compile "$LINENO"; then :
4569 ac_compiler_gnu=yes
4570 else
4571 ac_compiler_gnu=no
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4578 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4579 if test $ac_compiler_gnu = yes; then
4580 GXX=yes
4581 else
4582 GXX=
4584 ac_test_CXXFLAGS=${CXXFLAGS+set}
4585 ac_save_CXXFLAGS=$CXXFLAGS
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4587 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4588 if ${ac_cv_prog_cxx_g+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4592 ac_cxx_werror_flag=yes
4593 ac_cv_prog_cxx_g=no
4594 CXXFLAGS="-g"
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4596 /* end confdefs.h. */
4599 main ()
4603 return 0;
4605 _ACEOF
4606 if ac_fn_cxx_try_compile "$LINENO"; then :
4607 ac_cv_prog_cxx_g=yes
4608 else
4609 CXXFLAGS=""
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4614 main ()
4618 return 0;
4620 _ACEOF
4621 if ac_fn_cxx_try_compile "$LINENO"; then :
4623 else
4624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4625 CXXFLAGS="-g"
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4630 main ()
4634 return 0;
4636 _ACEOF
4637 if ac_fn_cxx_try_compile "$LINENO"; then :
4638 ac_cv_prog_cxx_g=yes
4640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4648 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4649 if test "$ac_test_CXXFLAGS" = set; then
4650 CXXFLAGS=$ac_save_CXXFLAGS
4651 elif test $ac_cv_prog_cxx_g = yes; then
4652 if test "$GXX" = yes; then
4653 CXXFLAGS="-g -O2"
4654 else
4655 CXXFLAGS="-g"
4657 else
4658 if test "$GXX" = yes; then
4659 CXXFLAGS="-O2"
4660 else
4661 CXXFLAGS=
4664 ac_ext=c
4665 ac_cpp='$CPP $CPPFLAGS'
4666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670 if test -n "$ac_tool_prefix"; then
4671 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4672 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_CPPBIN+:} false; then :
4676 $as_echo_n "(cached) " >&6
4677 else
4678 if test -n "$CPPBIN"; then
4679 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4680 else
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 for as_dir in $PATH
4684 IFS=$as_save_IFS
4685 test -z "$as_dir" && as_dir=.
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4688 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 break 2
4692 done
4693 done
4694 IFS=$as_save_IFS
4698 CPPBIN=$ac_cv_prog_CPPBIN
4699 if test -n "$CPPBIN"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4701 $as_echo "$CPPBIN" >&6; }
4702 else
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4709 if test -z "$ac_cv_prog_CPPBIN"; then
4710 ac_ct_CPPBIN=$CPPBIN
4711 # Extract the first word of "cpp", so it can be a program name with args.
4712 set dummy cpp; ac_word=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4716 $as_echo_n "(cached) " >&6
4717 else
4718 if test -n "$ac_ct_CPPBIN"; then
4719 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=.
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_ac_ct_CPPBIN="cpp"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4739 if test -n "$ac_ct_CPPBIN"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4741 $as_echo "$ac_ct_CPPBIN" >&6; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4747 if test "x$ac_ct_CPPBIN" = x; then
4748 CPPBIN="cpp"
4749 else
4750 case $cross_compiling:$ac_tool_warned in
4751 yes:)
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4754 ac_tool_warned=yes ;;
4755 esac
4756 CPPBIN=$ac_ct_CPPBIN
4758 else
4759 CPPBIN="$ac_cv_prog_CPPBIN"
4763 cat >>confdefs.h <<_ACEOF
4764 #define EXEEXT "$ac_exeext"
4765 _ACEOF
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4769 set dummy ${ac_tool_prefix}ld; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_LD+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 if test -n "$LD"; then
4776 ac_cv_prog_LD="$LD" # Let the user override the test.
4777 else
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH
4781 IFS=$as_save_IFS
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_LD="${ac_tool_prefix}ld"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 break 2
4789 done
4790 done
4791 IFS=$as_save_IFS
4795 LD=$ac_cv_prog_LD
4796 if test -n "$LD"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4798 $as_echo "$LD" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4806 if test -z "$ac_cv_prog_LD"; then
4807 ac_ct_LD=$LD
4808 # Extract the first word of "ld", so it can be a program name with args.
4809 set dummy ld; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 if test -n "$ac_ct_LD"; then
4816 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4817 else
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_ac_ct_LD="ld"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 break 2
4829 done
4830 done
4831 IFS=$as_save_IFS
4835 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4836 if test -n "$ac_ct_LD"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4838 $as_echo "$ac_ct_LD" >&6; }
4839 else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4844 if test "x$ac_ct_LD" = x; then
4845 LD=""
4846 else
4847 case $cross_compiling:$ac_tool_warned in
4848 yes:)
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4851 ac_tool_warned=yes ;;
4852 esac
4853 LD=$ac_ct_LD
4855 else
4856 LD="$ac_cv_prog_LD"
4860 case $host in
4861 *-darwin*)
4862 if test "x$enable_win64" = "xyes"
4863 then
4864 CC="$CC -m64"
4865 CXX="$CXX -m64"
4866 host_cpu="x86_64"
4867 notice_platform="64-bit "
4868 TARGETFLAGS="-m64"
4870 else
4871 CC="$CC -m32"
4872 CXX="$CXX -m32"
4873 host_cpu="i386"
4874 notice_platform="32-bit "
4875 TARGETFLAGS="-m32"
4877 enable_win16=${enable_win16:-yes}
4879 with_fontconfig=${with_fontconfig:-no}
4881 x86_64*|amd64*)
4882 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4883 then
4884 CC="$CC -m32"
4885 CXX="$CXX -m32"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4887 $as_echo_n "checking whether $CC works... " >&6; }
4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4890 /* end confdefs.h. */
4893 main ()
4897 return 0;
4899 _ACEOF
4900 if ac_fn_c_try_link "$LINENO"; then :
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4903 else
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4908 rm -f core conftest.err conftest.$ac_objext \
4909 conftest$ac_exeext conftest.$ac_ext
4910 host_cpu="i386"
4911 notice_platform="32-bit "
4912 TARGETFLAGS="-m32"
4914 enable_win16=${enable_win16:-yes}
4915 else
4916 if test "x${GCC}" = "xyes"
4917 then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4919 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4921 /* end confdefs.h. */
4922 #include <stdarg.h>
4924 main ()
4926 void func(__builtin_ms_va_list *args);
4928 return 0;
4930 _ACEOF
4931 if ac_fn_c_try_compile "$LINENO"; then :
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4933 $as_echo "yes" >&6; }
4934 else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4937 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 host_cpu="x86_64"
4942 TARGETFLAGS="-m64"
4946 arm*)
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4948 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4951 int ac_test(int i) { return i; }
4953 main ()
4955 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4957 return 0;
4959 _ACEOF
4960 if ac_fn_c_try_link "$LINENO"; then :
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4962 $as_echo "yes" >&6; }
4963 else
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4966 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4968 rm -f core conftest.err conftest.$ac_objext \
4969 conftest$ac_exeext conftest.$ac_ext
4970 CFLAGS="$CFLAGS -marm"
4971 TARGETFLAGS="-marm"
4974 *-mingw32*|*-cygwin*)
4975 enable_win16=${enable_win16:-no}
4976 CFLAGS="$CFLAGS -D_WIN32"
4978 i[3456789]86*)
4979 enable_win16=${enable_win16:-yes}
4981 esac
4983 enable_win16=${enable_win16:-no}
4984 enable_win64=${enable_win64:-no}
4986 enable_winetest=${enable_winetest:-$enable_tests}
4988 if test -n "$with_wine64"
4989 then
4990 if test "x$enable_win64" = "xyes"
4991 then
4992 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4993 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4995 enable_fonts=${enable_fonts:-no}
4996 enable_server=${enable_server:-no}
4997 elif test "x$enable_win64" = "xyes"
4998 then
4999 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5003 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5004 if ${wine_cv_toolsdir+:} false; then :
5005 $as_echo_n "(cached) " >&6
5006 else
5007 wine_cv_toolsdir="$with_wine_tools"
5008 if test -z "$with_wine_tools"; then
5009 if test "$cross_compiling" = "yes"; then
5010 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5011 elif test -n "$with_wine64"; then
5012 wine_cv_toolsdir="$with_wine64"
5015 if test -z "$wine_cv_toolsdir"; then
5016 wine_makedep=tools/makedep
5017 wine_cv_toolsdir="\$(top_builddir)"
5018 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5019 wine_makedep=$wine_cv_toolsdir/tools/makedep
5020 case "$wine_cv_toolsdir" in
5021 /*) ;;
5022 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5023 esac
5024 enable_tools=${enable_tools:-no}
5025 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5026 else
5027 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5031 $as_echo "$wine_cv_toolsdir" >&6; }
5032 TOOLSDIR=$wine_cv_toolsdir
5034 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5035 then
5036 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5040 for ac_prog in flex
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy $ac_prog; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_FLEX+:} false; then :
5047 $as_echo_n "(cached) " >&6
5048 else
5049 if test -n "$FLEX"; then
5050 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5055 IFS=$as_save_IFS
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_FLEX="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 break 2
5063 done
5064 done
5065 IFS=$as_save_IFS
5069 FLEX=$ac_cv_prog_FLEX
5070 if test -n "$FLEX"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5072 $as_echo "$FLEX" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$FLEX" && break
5080 done
5081 test -n "$FLEX" || FLEX="none"
5083 if test "$FLEX" = "none"
5084 then
5085 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5088 $as_echo_n "checking whether flex is recent enough... " >&6; }
5089 cat >conftest.l <<EOF
5090 %top{
5091 #include "prediluvian.h"
5095 if $FLEX -t conftest.l >/dev/null 2>&5
5096 then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5098 $as_echo "yes" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5105 for ac_prog in bison
5107 # Extract the first word of "$ac_prog", so it can be a program name with args.
5108 set dummy $ac_prog; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_BISON+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$BISON"; then
5115 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_BISON="$ac_prog"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 BISON=$ac_cv_prog_BISON
5135 if test -n "$BISON"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5137 $as_echo "$BISON" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5144 test -n "$BISON" && break
5145 done
5146 test -n "$BISON" || BISON="none"
5148 if test "$BISON" = "none"
5149 then
5150 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5153 if test -n "$ac_tool_prefix"; then
5154 for ac_prog in ar gar
5156 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if ${ac_cv_prog_AR+:} false; then :
5161 $as_echo_n "(cached) " >&6
5162 else
5163 if test -n "$AR"; then
5164 ac_cv_prog_AR="$AR" # Let the user override the test.
5165 else
5166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 for as_dir in $PATH
5169 IFS=$as_save_IFS
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5173 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5175 break 2
5177 done
5178 done
5179 IFS=$as_save_IFS
5183 AR=$ac_cv_prog_AR
5184 if test -n "$AR"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5186 $as_echo "$AR" >&6; }
5187 else
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$AR" && break
5194 done
5196 if test -z "$AR"; then
5197 ac_ct_AR=$AR
5198 for ac_prog in ar gar
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy $ac_prog; ac_word=$2
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203 $as_echo_n "checking for $ac_word... " >&6; }
5204 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5205 $as_echo_n "(cached) " >&6
5206 else
5207 if test -n "$ac_ct_AR"; then
5208 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_ac_ct_AR="$ac_prog"
5218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5228 if test -n "$ac_ct_AR"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5230 $as_echo "$ac_ct_AR" >&6; }
5231 else
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5237 test -n "$ac_ct_AR" && break
5238 done
5240 if test "x$ac_ct_AR" = x; then
5241 AR="ar"
5242 else
5243 case $cross_compiling:$ac_tool_warned in
5244 yes:)
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned=yes ;;
5248 esac
5249 AR=$ac_ct_AR
5253 if test -n "$ac_tool_prefix"; then
5254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5255 set dummy ${ac_tool_prefix}strip; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_STRIP+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$STRIP"; then
5262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 STRIP=$ac_cv_prog_STRIP
5282 if test -n "$STRIP"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5284 $as_echo "$STRIP" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5292 if test -z "$ac_cv_prog_STRIP"; then
5293 ac_ct_STRIP=$STRIP
5294 # Extract the first word of "strip", so it can be a program name with args.
5295 set dummy strip; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5299 $as_echo_n "(cached) " >&6
5300 else
5301 if test -n "$ac_ct_STRIP"; then
5302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_ac_ct_STRIP="strip"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5322 if test -n "$ac_ct_STRIP"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5324 $as_echo "$ac_ct_STRIP" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5330 if test "x$ac_ct_STRIP" = x; then
5331 STRIP="strip"
5332 else
5333 case $cross_compiling:$ac_tool_warned in
5334 yes:)
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5337 ac_tool_warned=yes ;;
5338 esac
5339 STRIP=$ac_ct_STRIP
5341 else
5342 STRIP="$ac_cv_prog_STRIP"
5345 ARFLAGS=rc
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_RANLIB+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if test -n "$RANLIB"; then
5356 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5371 IFS=$as_save_IFS
5375 RANLIB=$ac_cv_prog_RANLIB
5376 if test -n "$RANLIB"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5378 $as_echo "$RANLIB" >&6; }
5379 else
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_RANLIB"; then
5387 ac_ct_RANLIB=$RANLIB
5388 # Extract the first word of "ranlib", so it can be a program name with args.
5389 set dummy ranlib; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 if test -n "$ac_ct_RANLIB"; then
5396 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5401 IFS=$as_save_IFS
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405 ac_cv_prog_ac_ct_RANLIB="ranlib"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 break 2
5409 done
5410 done
5411 IFS=$as_save_IFS
5415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5416 if test -n "$ac_ct_RANLIB"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5418 $as_echo "$ac_ct_RANLIB" >&6; }
5419 else
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_RANLIB" = x; then
5425 RANLIB=":"
5426 else
5427 case $cross_compiling:$ac_tool_warned in
5428 yes:)
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5432 esac
5433 RANLIB=$ac_ct_RANLIB
5435 else
5436 RANLIB="$ac_cv_prog_RANLIB"
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5440 $as_echo_n "checking whether ln -s works... " >&6; }
5441 LN_S=$as_ln_s
5442 if test "$LN_S" = "ln -s"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5444 $as_echo "yes" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5447 $as_echo "no, using $LN_S" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5452 if ${ac_cv_path_GREP+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -z "$GREP"; then
5456 ac_path_GREP_found=false
5457 # Loop through the user's path and test for each of PROGNAME-LIST
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_prog in grep ggrep; do
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5466 as_fn_executable_p "$ac_path_GREP" || continue
5467 # Check for GNU ac_path_GREP and select it if it is found.
5468 # Check for GNU $ac_path_GREP
5469 case `"$ac_path_GREP" --version 2>&1` in
5470 *GNU*)
5471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5473 ac_count=0
5474 $as_echo_n 0123456789 >"conftest.in"
5475 while :
5477 cat "conftest.in" "conftest.in" >"conftest.tmp"
5478 mv "conftest.tmp" "conftest.in"
5479 cp "conftest.in" "conftest.nl"
5480 $as_echo 'GREP' >> "conftest.nl"
5481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5483 as_fn_arith $ac_count + 1 && ac_count=$as_val
5484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5485 # Best one so far, save it but keep looking for a better one
5486 ac_cv_path_GREP="$ac_path_GREP"
5487 ac_path_GREP_max=$ac_count
5489 # 10*(2^10) chars as input seems more than enough
5490 test $ac_count -gt 10 && break
5491 done
5492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5493 esac
5495 $ac_path_GREP_found && break 3
5496 done
5497 done
5498 done
5499 IFS=$as_save_IFS
5500 if test -z "$ac_cv_path_GREP"; then
5501 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5503 else
5504 ac_cv_path_GREP=$GREP
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5509 $as_echo "$ac_cv_path_GREP" >&6; }
5510 GREP="$ac_cv_path_GREP"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5514 $as_echo_n "checking for egrep... " >&6; }
5515 if ${ac_cv_path_EGREP+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5519 then ac_cv_path_EGREP="$GREP -E"
5520 else
5521 if test -z "$EGREP"; then
5522 ac_path_EGREP_found=false
5523 # Loop through the user's path and test for each of PROGNAME-LIST
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5527 IFS=$as_save_IFS
5528 test -z "$as_dir" && as_dir=.
5529 for ac_prog in egrep; do
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5532 as_fn_executable_p "$ac_path_EGREP" || continue
5533 # Check for GNU ac_path_EGREP and select it if it is found.
5534 # Check for GNU $ac_path_EGREP
5535 case `"$ac_path_EGREP" --version 2>&1` in
5536 *GNU*)
5537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5539 ac_count=0
5540 $as_echo_n 0123456789 >"conftest.in"
5541 while :
5543 cat "conftest.in" "conftest.in" >"conftest.tmp"
5544 mv "conftest.tmp" "conftest.in"
5545 cp "conftest.in" "conftest.nl"
5546 $as_echo 'EGREP' >> "conftest.nl"
5547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5549 as_fn_arith $ac_count + 1 && ac_count=$as_val
5550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5551 # Best one so far, save it but keep looking for a better one
5552 ac_cv_path_EGREP="$ac_path_EGREP"
5553 ac_path_EGREP_max=$ac_count
5555 # 10*(2^10) chars as input seems more than enough
5556 test $ac_count -gt 10 && break
5557 done
5558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5559 esac
5561 $ac_path_EGREP_found && break 3
5562 done
5563 done
5564 done
5565 IFS=$as_save_IFS
5566 if test -z "$ac_cv_path_EGREP"; then
5567 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5569 else
5570 ac_cv_path_EGREP=$EGREP
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5576 $as_echo "$ac_cv_path_EGREP" >&6; }
5577 EGREP="$ac_cv_path_EGREP"
5580 # Extract the first word of "ldconfig", so it can be a program name with args.
5581 set dummy ldconfig; ac_word=$2
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583 $as_echo_n "checking for $ac_word... " >&6; }
5584 if ${ac_cv_path_LDCONFIG+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 case $LDCONFIG in
5588 [\\/]* | ?:[\\/]*)
5589 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in /sbin /usr/sbin $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5607 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5609 esac
5611 LDCONFIG=$ac_cv_path_LDCONFIG
5612 if test -n "$LDCONFIG"; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5614 $as_echo "$LDCONFIG" >&6; }
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5621 for ac_prog in msgfmt
5623 # Extract the first word of "$ac_prog", so it can be a program name with args.
5624 set dummy $ac_prog; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_MSGFMT+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$MSGFMT"; then
5631 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_MSGFMT="$ac_prog"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 MSGFMT=$ac_cv_prog_MSGFMT
5651 if test -n "$MSGFMT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5653 $as_echo "$MSGFMT" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5660 test -n "$MSGFMT" && break
5661 done
5662 test -n "$MSGFMT" || MSGFMT="false"
5664 if ${ac_tool_prefix+:} false; then :
5665 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$PKG_CONFIG"; then
5673 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5693 if test -n "$PKG_CONFIG"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5695 $as_echo "$PKG_CONFIG" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5703 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5704 if test "x$cross_compiling" = xyes; then :
5706 else
5707 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5708 # Extract the first word of "pkg-config", so it can be a program name with args.
5709 set dummy pkg-config; ac_word=$2
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 $as_echo_n "checking for $ac_word... " >&6; }
5712 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5713 $as_echo_n "(cached) " >&6
5714 else
5715 if test -n "$PKG_CONFIG"; then
5716 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5717 else
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_PKG_CONFIG="pkg-config"
5726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 break 2
5729 done
5730 done
5731 IFS=$as_save_IFS
5735 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5736 if test -n "$PKG_CONFIG"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5738 $as_echo "$PKG_CONFIG" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5746 else
5747 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5750 if test "x$enable_maintainer_mode" != "xyes"
5751 then
5752 FONTFORGE=""
5753 RSVG=""
5754 CONVERT=""
5755 ICOTOOL=""
5756 else
5757 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5758 for ac_prog in fontforge
5760 # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy $ac_prog; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_FONTFORGE+:} false; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$FONTFORGE"; then
5768 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_FONTFORGE="$ac_prog"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5781 done
5782 done
5783 IFS=$as_save_IFS
5787 FONTFORGE=$ac_cv_prog_FONTFORGE
5788 if test -n "$FONTFORGE"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5790 $as_echo "$FONTFORGE" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5797 test -n "$FONTFORGE" && break
5798 done
5799 test -n "$FONTFORGE" || FONTFORGE="false"
5801 for ac_prog in rsvg-convert rsvg
5803 # Extract the first word of "$ac_prog", so it can be a program name with args.
5804 set dummy $ac_prog; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_RSVG+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 if test -n "$RSVG"; then
5811 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5812 else
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814 for as_dir in $PATH
5816 IFS=$as_save_IFS
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5820 ac_cv_prog_RSVG="$ac_prog"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 break 2
5824 done
5825 done
5826 IFS=$as_save_IFS
5830 RSVG=$ac_cv_prog_RSVG
5831 if test -n "$RSVG"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5833 $as_echo "$RSVG" >&6; }
5834 else
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5840 test -n "$RSVG" && break
5841 done
5842 test -n "$RSVG" || RSVG="false"
5844 for ac_prog in convert
5846 # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_CONVERT+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if test -n "$CONVERT"; then
5854 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_CONVERT="$ac_prog"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 CONVERT=$ac_cv_prog_CONVERT
5874 if test -n "$CONVERT"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5876 $as_echo "$CONVERT" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5883 test -n "$CONVERT" && break
5884 done
5885 test -n "$CONVERT" || CONVERT="false"
5887 for ac_prog in icotool
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_ICOTOOL+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$ICOTOOL"; then
5897 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_ICOTOOL="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 ICOTOOL=$ac_cv_prog_ICOTOOL
5917 if test -n "$ICOTOOL"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5919 $as_echo "$ICOTOOL" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$ICOTOOL" && break
5927 done
5928 test -n "$ICOTOOL" || ICOTOOL="false"
5930 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5931 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5933 if test "$CONVERT" = false
5934 then
5935 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5938 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5939 convert_version=`convert --version | head -n1`
5940 if test "x$convert_version" != "x"
5941 then
5942 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5945 then
5946 CONVERT=false
5949 if test "$CONVERT" = false
5950 then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5952 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5953 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5956 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5960 if test "$ICOTOOL" = false
5961 then
5962 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5965 $as_echo_n "checking for recent enough icotool... " >&6; }
5966 icotool_version=`icotool --version | head -n1`
5967 if test "x$icotool_version" != "x"
5968 then
5969 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5970 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5971 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5972 then
5973 ICOTOOL=false
5974 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5977 if test "$ICOTOOL" = false
5978 then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5980 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5981 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5984 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5988 with_gettext=yes
5989 with_gettextpo=yes
5990 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5993 test "x$with_gettext" != xno || MSGFMT=false
5994 if test "$MSGFMT" != "false"
5995 then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5997 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5998 cat >conftest.po <<EOF
5999 # comment
6000 msgctxt "ctxt"
6001 msgid "id"
6002 msgstr "str"
6004 if $MSGFMT -o /dev/null conftest.po 2>&5
6005 then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6007 $as_echo "yes" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6011 MSGFMT=false
6014 if test "$MSGFMT" = false; then :
6015 case "x$with_gettext" in
6016 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6017 xno) ;;
6018 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6019 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6020 esac
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6025 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6026 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6027 $as_echo_n "(cached) " >&6
6028 else
6029 ac_check_lib_save_LIBS=$LIBS
6030 LIBS="-li386 $LIBS"
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6034 /* Override any GCC internal prototype to avoid an error.
6035 Use char because int might match the return type of a GCC
6036 builtin and then its argument prototype would still apply. */
6037 #ifdef __cplusplus
6038 extern "C"
6039 #endif
6040 char i386_set_ldt ();
6042 main ()
6044 return i386_set_ldt ();
6046 return 0;
6048 _ACEOF
6049 if ac_fn_c_try_link "$LINENO"; then :
6050 ac_cv_lib_i386_i386_set_ldt=yes
6051 else
6052 ac_cv_lib_i386_i386_set_ldt=no
6054 rm -f core conftest.err conftest.$ac_objext \
6055 conftest$ac_exeext conftest.$ac_ext
6056 LIBS=$ac_check_lib_save_LIBS
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6059 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6060 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6061 cat >>confdefs.h <<_ACEOF
6062 #define HAVE_LIBI386 1
6063 _ACEOF
6065 LIBS="-li386 $LIBS"
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6070 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6071 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 ac_check_lib_save_LIBS=$LIBS
6075 LIBS="-lossaudio $LIBS"
6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6079 /* Override any GCC internal prototype to avoid an error.
6080 Use char because int might match the return type of a GCC
6081 builtin and then its argument prototype would still apply. */
6082 #ifdef __cplusplus
6083 extern "C"
6084 #endif
6085 char _oss_ioctl ();
6087 main ()
6089 return _oss_ioctl ();
6091 return 0;
6093 _ACEOF
6094 if ac_fn_c_try_link "$LINENO"; then :
6095 ac_cv_lib_ossaudio__oss_ioctl=yes
6096 else
6097 ac_cv_lib_ossaudio__oss_ioctl=no
6099 rm -f core conftest.err conftest.$ac_objext \
6100 conftest$ac_exeext conftest.$ac_ext
6101 LIBS=$ac_check_lib_save_LIBS
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6104 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6105 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6106 cat >>confdefs.h <<_ACEOF
6107 #define HAVE_LIBOSSAUDIO 1
6108 _ACEOF
6110 LIBS="-lossaudio $LIBS"
6115 OPENGL_LIBS=""
6119 # Check whether --enable-largefile was given.
6120 if test "${enable_largefile+set}" = set; then :
6121 enableval=$enable_largefile;
6124 if test "$enable_largefile" != no; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6127 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6128 if ${ac_cv_sys_largefile_CC+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 ac_cv_sys_largefile_CC=no
6132 if test "$GCC" != yes; then
6133 ac_save_CC=$CC
6134 while :; do
6135 # IRIX 6.2 and later do not support large files by default,
6136 # so use the C compiler's -n32 option if that helps.
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6139 #include <sys/types.h>
6140 /* Check that off_t can represent 2**63 - 1 correctly.
6141 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6142 since some C++ compilers masquerading as C compilers
6143 incorrectly reject 9223372036854775807. */
6144 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6145 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6146 && LARGE_OFF_T % 2147483647 == 1)
6147 ? 1 : -1];
6149 main ()
6153 return 0;
6155 _ACEOF
6156 if ac_fn_c_try_compile "$LINENO"; then :
6157 break
6159 rm -f core conftest.err conftest.$ac_objext
6160 CC="$CC -n32"
6161 if ac_fn_c_try_compile "$LINENO"; then :
6162 ac_cv_sys_largefile_CC=' -n32'; break
6164 rm -f core conftest.err conftest.$ac_objext
6165 break
6166 done
6167 CC=$ac_save_CC
6168 rm -f conftest.$ac_ext
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6172 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6173 if test "$ac_cv_sys_largefile_CC" != no; then
6174 CC=$CC$ac_cv_sys_largefile_CC
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6178 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6179 if ${ac_cv_sys_file_offset_bits+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 while :; do
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6185 #include <sys/types.h>
6186 /* Check that off_t can represent 2**63 - 1 correctly.
6187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6188 since some C++ compilers masquerading as C compilers
6189 incorrectly reject 9223372036854775807. */
6190 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6192 && LARGE_OFF_T % 2147483647 == 1)
6193 ? 1 : -1];
6195 main ()
6199 return 0;
6201 _ACEOF
6202 if ac_fn_c_try_compile "$LINENO"; then :
6203 ac_cv_sys_file_offset_bits=no; break
6205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207 /* end confdefs.h. */
6208 #define _FILE_OFFSET_BITS 64
6209 #include <sys/types.h>
6210 /* Check that off_t can represent 2**63 - 1 correctly.
6211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6212 since some C++ compilers masquerading as C compilers
6213 incorrectly reject 9223372036854775807. */
6214 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6216 && LARGE_OFF_T % 2147483647 == 1)
6217 ? 1 : -1];
6219 main ()
6223 return 0;
6225 _ACEOF
6226 if ac_fn_c_try_compile "$LINENO"; then :
6227 ac_cv_sys_file_offset_bits=64; break
6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 ac_cv_sys_file_offset_bits=unknown
6231 break
6232 done
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6235 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6236 case $ac_cv_sys_file_offset_bits in #(
6237 no | unknown) ;;
6239 cat >>confdefs.h <<_ACEOF
6240 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6241 _ACEOF
6243 esac
6244 rm -rf conftest*
6245 if test $ac_cv_sys_file_offset_bits = unknown; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6247 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6248 if ${ac_cv_sys_large_files+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 while :; do
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6262 ? 1 : -1];
6264 main ()
6268 return 0;
6270 _ACEOF
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_sys_large_files=no; break
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6276 /* end confdefs.h. */
6277 #define _LARGE_FILES 1
6278 #include <sys/types.h>
6279 /* Check that off_t can represent 2**63 - 1 correctly.
6280 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6281 since some C++ compilers masquerading as C compilers
6282 incorrectly reject 9223372036854775807. */
6283 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6285 && LARGE_OFF_T % 2147483647 == 1)
6286 ? 1 : -1];
6288 main ()
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_compile "$LINENO"; then :
6296 ac_cv_sys_large_files=1; break
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299 ac_cv_sys_large_files=unknown
6300 break
6301 done
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6304 $as_echo "$ac_cv_sys_large_files" >&6; }
6305 case $ac_cv_sys_large_files in #(
6306 no | unknown) ;;
6308 cat >>confdefs.h <<_ACEOF
6309 #define _LARGE_FILES $ac_cv_sys_large_files
6310 _ACEOF
6312 esac
6313 rm -rf conftest*
6320 ac_ext=c
6321 ac_cpp='$CPP $CPPFLAGS'
6322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6326 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6327 # On Suns, sometimes $CPP names a directory.
6328 if test -n "$CPP" && test -d "$CPP"; then
6329 CPP=
6331 if test -z "$CPP"; then
6332 if ${ac_cv_prog_CPP+:} false; then :
6333 $as_echo_n "(cached) " >&6
6334 else
6335 # Double quotes because CPP needs to be expanded
6336 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6338 ac_preproc_ok=false
6339 for ac_c_preproc_warn_flag in '' yes
6341 # Use a header file that comes with gcc, so configuring glibc
6342 # with a fresh cross-compiler works.
6343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6344 # <limits.h> exists even on freestanding compilers.
6345 # On the NeXT, cc -E runs the code through the compiler's parser,
6346 # not just through cpp. "Syntax error" is here to catch this case.
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #ifdef __STDC__
6350 # include <limits.h>
6351 #else
6352 # include <assert.h>
6353 #endif
6354 Syntax error
6355 _ACEOF
6356 if ac_fn_c_try_cpp "$LINENO"; then :
6358 else
6359 # Broken: fails on valid input.
6360 continue
6362 rm -f conftest.err conftest.i conftest.$ac_ext
6364 # OK, works on sane cases. Now check whether nonexistent headers
6365 # can be detected and how.
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #include <ac_nonexistent.h>
6369 _ACEOF
6370 if ac_fn_c_try_cpp "$LINENO"; then :
6371 # Broken: success on invalid input.
6372 continue
6373 else
6374 # Passes both tests.
6375 ac_preproc_ok=:
6376 break
6378 rm -f conftest.err conftest.i conftest.$ac_ext
6380 done
6381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6382 rm -f conftest.i conftest.err conftest.$ac_ext
6383 if $ac_preproc_ok; then :
6384 break
6387 done
6388 ac_cv_prog_CPP=$CPP
6391 CPP=$ac_cv_prog_CPP
6392 else
6393 ac_cv_prog_CPP=$CPP
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6396 $as_echo "$CPP" >&6; }
6397 ac_preproc_ok=false
6398 for ac_c_preproc_warn_flag in '' yes
6400 # Use a header file that comes with gcc, so configuring glibc
6401 # with a fresh cross-compiler works.
6402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6403 # <limits.h> exists even on freestanding compilers.
6404 # On the NeXT, cc -E runs the code through the compiler's parser,
6405 # not just through cpp. "Syntax error" is here to catch this case.
6406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 /* end confdefs.h. */
6408 #ifdef __STDC__
6409 # include <limits.h>
6410 #else
6411 # include <assert.h>
6412 #endif
6413 Syntax error
6414 _ACEOF
6415 if ac_fn_c_try_cpp "$LINENO"; then :
6417 else
6418 # Broken: fails on valid input.
6419 continue
6421 rm -f conftest.err conftest.i conftest.$ac_ext
6423 # OK, works on sane cases. Now check whether nonexistent headers
6424 # can be detected and how.
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <ac_nonexistent.h>
6428 _ACEOF
6429 if ac_fn_c_try_cpp "$LINENO"; then :
6430 # Broken: success on invalid input.
6431 continue
6432 else
6433 # Passes both tests.
6434 ac_preproc_ok=:
6435 break
6437 rm -f conftest.err conftest.i conftest.$ac_ext
6439 done
6440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6441 rm -f conftest.i conftest.err conftest.$ac_ext
6442 if $ac_preproc_ok; then :
6444 else
6445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6447 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6448 See \`config.log' for more details" "$LINENO" 5; }
6451 ac_ext=c
6452 ac_cpp='$CPP $CPPFLAGS'
6453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6459 $as_echo_n "checking for ANSI C header files... " >&6; }
6460 if ${ac_cv_header_stdc+:} false; then :
6461 $as_echo_n "(cached) " >&6
6462 else
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <stdlib.h>
6466 #include <stdarg.h>
6467 #include <string.h>
6468 #include <float.h>
6471 main ()
6475 return 0;
6477 _ACEOF
6478 if ac_fn_c_try_compile "$LINENO"; then :
6479 ac_cv_header_stdc=yes
6480 else
6481 ac_cv_header_stdc=no
6483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6485 if test $ac_cv_header_stdc = yes; then
6486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h. */
6489 #include <string.h>
6491 _ACEOF
6492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6493 $EGREP "memchr" >/dev/null 2>&1; then :
6495 else
6496 ac_cv_header_stdc=no
6498 rm -f conftest*
6502 if test $ac_cv_header_stdc = yes; then
6503 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #include <stdlib.h>
6508 _ACEOF
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "free" >/dev/null 2>&1; then :
6512 else
6513 ac_cv_header_stdc=no
6515 rm -f conftest*
6519 if test $ac_cv_header_stdc = yes; then
6520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6521 if test "$cross_compiling" = yes; then :
6523 else
6524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <ctype.h>
6527 #include <stdlib.h>
6528 #if ((' ' & 0x0FF) == 0x020)
6529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 #else
6532 # define ISLOWER(c) \
6533 (('a' <= (c) && (c) <= 'i') \
6534 || ('j' <= (c) && (c) <= 'r') \
6535 || ('s' <= (c) && (c) <= 'z'))
6536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6537 #endif
6539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6541 main ()
6543 int i;
6544 for (i = 0; i < 256; i++)
6545 if (XOR (islower (i), ISLOWER (i))
6546 || toupper (i) != TOUPPER (i))
6547 return 2;
6548 return 0;
6550 _ACEOF
6551 if ac_fn_c_try_run "$LINENO"; then :
6553 else
6554 ac_cv_header_stdc=no
6556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6557 conftest.$ac_objext conftest.beam conftest.$ac_ext
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6563 $as_echo "$ac_cv_header_stdc" >&6; }
6564 if test $ac_cv_header_stdc = yes; then
6566 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6570 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6571 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6572 inttypes.h stdint.h unistd.h
6573 do :
6574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6575 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6578 cat >>confdefs.h <<_ACEOF
6579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6580 _ACEOF
6584 done
6587 for ac_header in \
6588 AL/al.h \
6589 ApplicationServices/ApplicationServices.h \
6590 AudioToolbox/AudioConverter.h \
6591 AudioUnit/AudioUnit.h \
6592 AudioUnit/AudioComponent.h \
6593 CL/cl.h \
6594 Carbon/Carbon.h \
6595 CoreAudio/CoreAudio.h \
6596 CoreServices/CoreServices.h \
6597 DiskArbitration/DiskArbitration.h \
6598 IOKit/IOKitLib.h \
6599 IOKit/hid/IOHIDLib.h \
6600 OpenAL/al.h \
6601 OpenCL/opencl.h \
6602 QuickTime/ImageCompression.h \
6603 Security/Security.h \
6604 alias.h \
6605 alsa/asoundlib.h \
6606 arpa/inet.h \
6607 arpa/nameser.h \
6608 asm/types.h \
6609 asm/user.h \
6610 curses.h \
6611 direct.h \
6612 dirent.h \
6613 dlfcn.h \
6614 elf.h \
6615 float.h \
6616 fnmatch.h \
6617 getopt.h \
6618 gettext-po.h \
6619 grp.h \
6620 gsm.h \
6621 gsm/gsm.h \
6622 ieeefp.h \
6623 inet/mib2.h \
6624 io.h \
6625 kstat.h \
6626 lber.h \
6627 ldap.h \
6628 libproc.h \
6629 link.h \
6630 linux/cdrom.h \
6631 linux/compiler.h \
6632 linux/filter.h \
6633 linux/hdreg.h \
6634 linux/input.h \
6635 linux/ioctl.h \
6636 linux/joystick.h \
6637 linux/major.h \
6638 linux/param.h \
6639 linux/serial.h \
6640 linux/types.h \
6641 linux/ucdrom.h \
6642 lwp.h \
6643 mach-o/nlist.h \
6644 mach-o/loader.h \
6645 mach/mach.h \
6646 mach/machine.h \
6647 machine/cpu.h \
6648 machine/limits.h \
6649 machine/sysarch.h \
6650 mntent.h \
6651 ncurses.h \
6652 netdb.h \
6653 netinet/in.h \
6654 netinet/in_systm.h \
6655 netinet/tcp.h \
6656 netinet/tcp_fsm.h \
6657 pcap/pcap.h \
6658 poll.h \
6659 port.h \
6660 process.h \
6661 pthread.h \
6662 pwd.h \
6663 sched.h \
6664 scsi/scsi.h \
6665 scsi/scsi_ioctl.h \
6666 scsi/sg.h \
6667 stdbool.h \
6668 stdint.h \
6669 stropts.h \
6670 sys/asoundlib.h \
6671 sys/attr.h \
6672 sys/cdio.h \
6673 sys/elf32.h \
6674 sys/epoll.h \
6675 sys/event.h \
6676 sys/exec_elf.h \
6677 sys/filio.h \
6678 sys/inotify.h \
6679 sys/ioctl.h \
6680 sys/ipc.h \
6681 sys/limits.h \
6682 sys/link.h \
6683 sys/mman.h \
6684 sys/modem.h \
6685 sys/msg.h \
6686 sys/mtio.h \
6687 sys/param.h \
6688 sys/poll.h \
6689 sys/prctl.h \
6690 sys/protosw.h \
6691 sys/ptrace.h \
6692 sys/queue.h \
6693 sys/resource.h \
6694 sys/scsiio.h \
6695 sys/shm.h \
6696 sys/signal.h \
6697 sys/socket.h \
6698 sys/socketvar.h \
6699 sys/sockio.h \
6700 sys/statvfs.h \
6701 sys/strtio.h \
6702 sys/syscall.h \
6703 sys/tihdr.h \
6704 sys/time.h \
6705 sys/timeout.h \
6706 sys/times.h \
6707 sys/uio.h \
6708 sys/user.h \
6709 sys/utsname.h \
6710 sys/vm86.h \
6711 sys/vnode.h \
6712 sys/wait.h \
6713 syscall.h \
6714 termios.h \
6715 unistd.h \
6716 utime.h \
6717 valgrind/memcheck.h \
6718 valgrind/valgrind.h \
6719 zlib.h
6721 do :
6722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6723 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6725 cat >>confdefs.h <<_ACEOF
6726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727 _ACEOF
6731 done
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6734 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6735 if ${ac_cv_header_stat_broken+:} false; then :
6736 $as_echo_n "(cached) " >&6
6737 else
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6739 /* end confdefs.h. */
6740 #include <sys/types.h>
6741 #include <sys/stat.h>
6743 #if defined S_ISBLK && defined S_IFDIR
6744 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6745 #endif
6747 #if defined S_ISBLK && defined S_IFCHR
6748 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6749 #endif
6751 #if defined S_ISLNK && defined S_IFREG
6752 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6753 #endif
6755 #if defined S_ISSOCK && defined S_IFREG
6756 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6757 #endif
6759 _ACEOF
6760 if ac_fn_c_try_compile "$LINENO"; then :
6761 ac_cv_header_stat_broken=no
6762 else
6763 ac_cv_header_stat_broken=yes
6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6768 $as_echo "$ac_cv_header_stat_broken" >&6; }
6769 if test $ac_cv_header_stat_broken = yes; then
6771 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6777 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6778 do :
6779 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6780 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6781 #ifdef HAVE_SYS_PARAM_H
6782 # include <sys/param.h>
6783 #endif
6785 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6786 cat >>confdefs.h <<_ACEOF
6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6788 _ACEOF
6792 done
6795 for ac_header in \
6796 netinet/ip.h \
6797 net/if.h \
6798 net/if_arp.h \
6799 net/if_dl.h \
6800 net/if_types.h \
6801 net/route.h \
6802 netinet/if_ether.h \
6803 netinet/if_inarp.h \
6804 netinet/in_pcb.h \
6805 netinet/ip_icmp.h \
6806 netinet/ip_var.h \
6807 netinet/udp.h \
6808 netipx/ipx.h \
6809 sys/un.h \
6811 do :
6812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6814 #ifdef HAVE_SYS_SOCKET_H
6815 # include <sys/socket.h>
6816 #endif
6817 #ifdef HAVE_SYS_SOCKETVAR_H
6818 # include <sys/socketvar.h>
6819 #endif
6820 #ifdef HAVE_NET_ROUTE_H
6821 # include <net/route.h>
6822 #endif
6823 #ifdef HAVE_NETINET_IN_H
6824 # include <netinet/in.h>
6825 #endif
6826 #ifdef HAVE_NETINET_IN_SYSTM_H
6827 # include <netinet/in_systm.h>
6828 #endif
6829 #ifdef HAVE_NET_IF_H
6830 # include <net/if.h>
6831 #endif
6832 #ifdef HAVE_NETINET_IP_H
6833 # include <netinet/ip.h>
6834 #endif
6836 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6839 _ACEOF
6843 done
6846 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6847 do :
6848 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6849 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6850 #ifdef HAVE_ALIAS_H
6851 # include <alias.h>
6852 #endif
6853 #ifdef HAVE_SYS_SOCKET_H
6854 # include <sys/socket.h>
6855 #endif
6856 #ifdef HAVE_SYS_SOCKETVAR_H
6857 # include <sys/socketvar.h>
6858 #endif
6859 #ifdef HAVE_SYS_TIMEOUT_H
6860 # include <sys/timeout.h>
6861 #endif
6862 #ifdef HAVE_NETINET_IN_H
6863 # include <netinet/in.h>
6864 #endif
6865 #ifdef HAVE_NETINET_IN_SYSTM_H
6866 # include <netinet/in_systm.h>
6867 #endif
6868 #ifdef HAVE_NETINET_IP_H
6869 # include <netinet/ip.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IP_VAR_H
6872 # include <netinet/ip_var.h>
6873 #endif
6874 #ifdef HAVE_NETINET_IP_ICMP_H
6875 # include <netinet/ip_icmp.h>
6876 #endif
6877 #ifdef HAVE_NETINET_UDP_H
6878 # include <netinet/udp.h>
6879 #endif
6880 #ifdef HAVE_NETINET_TCP_H
6881 # include <netinet/tcp.h>
6882 #endif
6883 #ifdef HAVE_NETINET_TCP_TIMER_H
6884 #include <netinet/tcp_timer.h>
6885 #endif
6887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6888 cat >>confdefs.h <<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890 _ACEOF
6894 done
6897 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6898 do :
6899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6900 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6901 #ifdef HAVE_ASM_TYPES_H
6902 # include <asm/types.h>
6903 #endif
6904 #ifdef HAVE_SYS_SOCKET_H
6905 # include <sys/socket.h>
6906 #endif
6907 #ifdef HAVE_LINUX_TYPES_H
6908 # include <linux/types.h>
6909 #endif
6911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6912 cat >>confdefs.h <<_ACEOF
6913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6914 _ACEOF
6918 done
6921 for ac_header in mach-o/dyld_images.h
6922 do :
6923 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6924 # include <stdbool.h>
6925 #endif
6926 #ifdef HAVE_STDINT_H
6927 # include <stdint.h>
6928 #endif
6930 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6931 cat >>confdefs.h <<_ACEOF
6932 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6933 _ACEOF
6937 done
6940 for ac_header in resolv.h
6941 do :
6942 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6943 #ifdef HAVE_SYS_SOCKET_H
6944 # include <sys/socket.h>
6945 #endif
6946 #ifdef HAVE_NETINET_IN_H
6947 # include <netinet/in.h>
6948 #endif
6949 #ifdef HAVE_ARPA_NAMESER_H
6950 # include <arpa/nameser.h>
6951 #endif
6953 if test "x$ac_cv_header_resolv_h" = xyes; then :
6954 cat >>confdefs.h <<_ACEOF
6955 #define HAVE_RESOLV_H 1
6956 _ACEOF
6960 done
6963 for ac_header in ifaddrs.h
6964 do :
6965 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6967 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6968 cat >>confdefs.h <<_ACEOF
6969 #define HAVE_IFADDRS_H 1
6970 _ACEOF
6974 done
6977 for ac_header in sys/ucontext.h
6978 do :
6979 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6981 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6982 cat >>confdefs.h <<_ACEOF
6983 #define HAVE_SYS_UCONTEXT_H 1
6984 _ACEOF
6988 done
6991 for ac_header in sys/thr.h
6992 do :
6993 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6994 #ifdef HAVE_SYS_UCONTEXT_H
6995 #include <sys/ucontext.h>
6996 #endif
6998 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6999 cat >>confdefs.h <<_ACEOF
7000 #define HAVE_SYS_THR_H 1
7001 _ACEOF
7005 done
7008 for ac_header in pthread_np.h
7009 do :
7010 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7011 #include <pthread.h>
7012 #endif
7014 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7015 cat >>confdefs.h <<_ACEOF
7016 #define HAVE_PTHREAD_NP_H 1
7017 _ACEOF
7021 done
7024 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7025 do :
7026 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7027 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7028 #include <sys/time.h>
7029 #endif
7030 #include <sys/types.h>
7031 #ifdef HAVE_ASM_TYPES_H
7032 #include <asm/types.h>
7033 #endif
7035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7036 cat >>confdefs.h <<_ACEOF
7037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7038 _ACEOF
7042 done
7045 for ac_header in libprocstat.h
7046 do :
7047 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7048 #include <sys/param.h>
7049 #endif
7050 #ifdef HAVE_SYS_QUEUE_H
7051 #include <sys/queue.h>
7052 #endif
7053 #ifdef HAVE_SYS_SOCKET_H
7054 #include <sys/socket.h>
7055 #endif
7057 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7058 cat >>confdefs.h <<_ACEOF
7059 #define HAVE_LIBPROCSTAT_H 1
7060 _ACEOF
7064 done
7068 dlldir="\${libdir}/wine"
7070 DLLPREFIX=""
7072 DLLFLAGS="-D_REENTRANT"
7074 LDRPATH_INSTALL=""
7076 LDRPATH_LOCAL=""
7078 LIBEXT="so"
7079 DLLEXT=".so"
7080 IMPLIBEXT="def"
7081 STATIC_IMPLIBEXT="def.a"
7082 # Extract the first word of "ldd", so it can be a program name with args.
7083 set dummy ldd; ac_word=$2
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 $as_echo_n "checking for $ac_word... " >&6; }
7086 if ${ac_cv_path_LDD+:} false; then :
7087 $as_echo_n "(cached) " >&6
7088 else
7089 case $LDD in
7090 [\\/]* | ?:[\\/]*)
7091 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 as_dummy="/sbin:/usr/sbin:$PATH"
7096 for as_dir in $as_dummy
7098 IFS=$as_save_IFS
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104 break 2
7106 done
7107 done
7108 IFS=$as_save_IFS
7110 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7112 esac
7114 LDD=$ac_cv_path_LDD
7115 if test -n "$LDD"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7117 $as_echo "$LDD" >&6; }
7118 else
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_READELF+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132 if test -n "$READELF"; then
7133 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138 IFS=$as_save_IFS
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7142 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 break 2
7146 done
7147 done
7148 IFS=$as_save_IFS
7152 READELF=$ac_cv_prog_READELF
7153 if test -n "$READELF"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7155 $as_echo "$READELF" >&6; }
7156 else
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_READELF"; then
7164 ac_ct_READELF=$READELF
7165 # Extract the first word of "readelf", so it can be a program name with args.
7166 set dummy readelf; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7170 $as_echo_n "(cached) " >&6
7171 else
7172 if test -n "$ac_ct_READELF"; then
7173 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7174 else
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 for as_dir in $PATH
7178 IFS=$as_save_IFS
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 ac_cv_prog_ac_ct_READELF="readelf"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 break 2
7186 done
7187 done
7188 IFS=$as_save_IFS
7192 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7193 if test -n "$ac_ct_READELF"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7195 $as_echo "$ac_ct_READELF" >&6; }
7196 else
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_READELF" = x; then
7202 READELF="true"
7203 else
7204 case $cross_compiling:$ac_tool_warned in
7205 yes:)
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned=yes ;;
7209 esac
7210 READELF=$ac_ct_READELF
7212 else
7213 READELF="$ac_cv_prog_READELF"
7216 wine_rules_file=conf$$rules.make
7217 rm -f $wine_rules_file
7218 ALL_POT_FILES=""
7219 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7220 ALL_TEST_RESOURCES=""
7223 wine_fn_append_file ()
7225 as_fn_append $1 " \\$as_nl $2"
7228 wine_fn_ignore_file ()
7230 case "$1" in
7231 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7232 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7233 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7234 esac
7237 wine_fn_append_rule ()
7239 $as_echo "$1" >>$wine_rules_file
7242 wine_fn_has_flag ()
7244 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7247 wine_fn_depend_rules ()
7249 wine_fn_append_rule \
7250 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7251 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7252 depend: $ac_dir/depend
7253 .PHONY: $ac_dir/depend
7254 $ac_dir/depend: \$(MAKEDEP) dummy
7255 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7258 wine_fn_pot_rules ()
7260 test "x$with_gettextpo" = xyes || return
7262 if wine_fn_has_flag mc
7263 then
7264 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7265 wine_fn_append_rule \
7266 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE) msg.pot
7268 $ac_dir/msg.pot: tools/wmc include"
7270 if wine_fn_has_flag po
7271 then
7272 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7273 wine_fn_append_rule \
7274 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7275 @cd $ac_dir && \$(MAKE) rsrc.pot
7276 $ac_dir/rsrc.pot: tools/wrc include"
7280 wine_fn_all_rules ()
7282 wine_fn_depend_rules
7283 wine_fn_append_rule \
7284 "all: $ac_dir
7285 .PHONY: $ac_dir
7286 $ac_dir: $ac_dir/Makefile dummy
7287 @cd $ac_dir && \$(MAKE)"
7290 wine_fn_install_rules ()
7292 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7294 wine_fn_append_rule \
7295 ".PHONY: $ac_dir/install $ac_dir/uninstall
7296 $ac_dir/install:: $ac_dir
7297 @cd $ac_dir && \$(MAKE) install
7298 $ac_dir/uninstall:: $ac_dir/Makefile
7299 @cd $ac_dir && \$(MAKE) uninstall
7300 install:: $ac_dir/install
7301 __uninstall__: $ac_dir/uninstall"
7303 if wine_fn_has_flag install-lib
7304 then
7305 wine_fn_append_rule \
7306 ".PHONY: $ac_dir/install-lib
7307 $ac_dir/install-lib:: $ac_dir
7308 @cd $ac_dir && \$(MAKE) install-lib
7309 install-lib:: $ac_dir/install-lib"
7312 if wine_fn_has_flag install-dev
7313 then
7314 wine_fn_append_rule \
7315 ".PHONY: $ac_dir/install-dev
7316 $ac_dir/install-dev:: $ac_dir
7317 @cd $ac_dir && \$(MAKE) install-dev
7318 install-dev:: $ac_dir/install-dev"
7322 wine_fn_clean_rules ()
7324 ac_clean=$@
7325 ac_extraclean="$ac_dir/Makefile"
7326 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7327 case $ac_dir in
7328 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7329 esac
7331 if wine_fn_has_flag clean
7332 then
7333 wine_fn_append_rule \
7334 "__clean__: $ac_dir/clean
7335 .PHONY: $ac_dir/clean
7336 $ac_dir/clean: $ac_dir/Makefile
7337 @cd $ac_dir && \$(MAKE) clean
7338 \$(RM) $ac_extraclean"
7339 else
7340 wine_fn_append_rule \
7341 "__clean__: $ac_dir/clean
7342 .PHONY: $ac_dir/clean
7343 $ac_dir/clean: dummy
7344 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7348 wine_fn_disabled_rules ()
7350 ac_clean=$@
7351 ac_extraclean="$ac_dir/Makefile"
7352 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7354 wine_fn_append_rule \
7355 "__clean__: $ac_dir/clean
7356 .PHONY: $ac_dir/clean
7357 $ac_dir/clean: dummy
7358 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7361 wine_fn_config_makefile ()
7363 ac_dir=$1
7364 ac_enable=$2
7365 ac_flags=$3
7367 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7368 wine_fn_disabled_rules; return
7370 wine_fn_all_rules
7371 wine_fn_install_rules
7372 wine_fn_clean_rules
7375 wine_fn_config_lib ()
7377 ac_name=$1
7378 ac_flags=$2
7379 ac_dir=dlls/$ac_name
7380 ac_deps="include"
7382 if test "x$enable_tools" = xno; then :
7384 else
7385 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7387 wine_fn_all_rules
7388 wine_fn_clean_rules
7390 wine_fn_append_rule \
7391 ".PHONY: $ac_dir/install $ac_dir/uninstall
7392 $ac_dir/install:: $ac_dir
7393 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7394 $ac_dir/uninstall::
7395 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7396 install install-dev:: $ac_dir/install
7397 __uninstall__: $ac_dir/uninstall
7398 __builddeps__: $ac_dir
7399 $ac_dir: $ac_deps"
7402 wine_fn_config_dll ()
7404 ac_name=$1
7405 ac_dir=dlls/$ac_name
7406 ac_enable=$2
7407 ac_flags=$3
7408 ac_implib=${4:-$ac_name}
7409 ac_file=$ac_dir/lib$ac_implib
7410 ac_dll=$ac_name
7411 ac_deps="include"
7412 ac_implibflags=""
7414 if test "x$enable_tools" = xno; then :
7416 else
7417 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7419 case $ac_name in
7420 *16) ac_implibflags=" -m16" ;;
7421 *.*) ;;
7422 *) ac_dll=$ac_dll.dll ;;
7423 esac
7425 ac_clean=
7426 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7427 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7428 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7429 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7431 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7432 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7433 then
7434 wine_fn_depend_rules
7435 wine_fn_clean_rules $ac_clean
7436 else
7437 wine_fn_disabled_rules $ac_clean
7438 return
7440 else
7441 wine_fn_all_rules
7442 wine_fn_clean_rules $ac_clean
7443 wine_fn_append_rule \
7444 "$ac_dir: __builddeps__
7445 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7446 @cd $ac_dir && \$(MAKE) \$@
7447 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7448 install install-lib:: $ac_dir/install-lib
7449 __uninstall__: $ac_dir/uninstall"
7450 if test -n "$DLLEXT"
7451 then
7452 wine_fn_append_rule \
7453 "$ac_dir/install-lib:: $ac_dir
7454 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7455 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7456 $ac_dir/uninstall::
7457 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7458 else
7459 wine_fn_append_rule \
7460 "$ac_dir/install-lib:: $ac_dir
7461 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7462 $ac_dir/uninstall::
7463 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7466 wine_fn_pot_rules
7469 if wine_fn_has_flag staticimplib
7470 then
7471 wine_fn_append_rule \
7472 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7473 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7474 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7475 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7476 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7477 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7478 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7479 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7480 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7481 $ac_dir/uninstall::
7482 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7483 install install-dev:: $ac_dir/install-dev
7484 __uninstall__: $ac_dir/uninstall"
7486 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7487 then
7488 wine_fn_append_rule \
7489 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7490 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7491 $ac_dir/uninstall::
7492 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7495 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7496 then
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.cross.a
7499 $ac_file.cross.a: $ac_dir/Makefile dummy
7500 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7503 elif wine_fn_has_flag implib
7504 then
7505 wine_fn_append_rule \
7506 "__builddeps__: $ac_file.$IMPLIBEXT
7507 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7508 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7509 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7510 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7511 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7512 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7513 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7514 $ac_dir/uninstall::
7515 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7516 install install-dev:: $ac_dir/install-dev
7517 __uninstall__: $ac_dir/uninstall"
7518 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7519 then
7520 wine_fn_append_rule \
7521 "__builddeps__: $ac_file.cross.a
7522 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7523 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7526 if test "$ac_name" != "$ac_implib"
7527 then
7528 wine_fn_append_rule \
7529 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7530 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7531 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7532 clean::
7533 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7534 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7535 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7536 then
7537 wine_fn_append_rule \
7538 "__builddeps__: dlls/lib$ac_implib.cross.a
7539 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7540 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7541 clean::
7542 \$(RM) dlls/lib$ac_implib.cross.a"
7543 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7549 wine_fn_config_program ()
7551 ac_name=$1
7552 ac_dir=programs/$ac_name
7553 ac_enable=$2
7554 ac_flags=$3
7555 ac_program=$ac_name
7557 case $ac_name in
7558 *.*) ;;
7559 *) ac_program=$ac_program.exe ;;
7560 esac
7562 ac_clean=
7563 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7564 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7565 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7566 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7568 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7569 wine_fn_disabled_rules $ac_clean; return
7572 wine_fn_all_rules
7573 wine_fn_clean_rules $ac_clean
7574 wine_fn_append_rule "$ac_dir: __builddeps__"
7575 wine_fn_pot_rules
7577 wine_fn_has_flag install || return
7578 wine_fn_append_rule \
7579 ".PHONY: $ac_dir/install $ac_dir/uninstall
7580 install install-lib:: $ac_dir/install
7581 __uninstall__: $ac_dir/uninstall"
7583 if test -n "$DLLEXT"
7584 then
7585 wine_fn_append_rule \
7586 "$ac_dir/install:: $ac_dir
7587 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7588 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7589 $ac_dir/uninstall::
7590 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7592 if test -z "$with_wine64" && wine_fn_has_flag installbin
7593 then
7594 wine_fn_append_rule \
7595 "$ac_dir/install:: __tooldeps__
7596 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7597 $ac_dir/uninstall::
7598 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7600 else
7601 wine_fn_append_rule \
7602 "$ac_dir/install:: $ac_dir
7603 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7604 $ac_dir/uninstall::
7605 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7608 if test -z "$with_wine64" && wine_fn_has_flag manpage
7609 then
7610 wine_fn_append_rule \
7611 "$ac_dir/install:: $ac_dir
7612 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7613 $ac_dir/uninstall::
7614 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7618 wine_fn_config_test ()
7620 ac_dir=$1
7621 ac_name=$2
7622 ac_flags=$3
7624 ac_clean=
7625 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7626 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7628 if test "x$enable_tests" = xno; then :
7629 wine_fn_disabled_rules $ac_clean; return
7632 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7633 wine_fn_all_rules
7634 wine_fn_clean_rules $ac_clean
7636 wine_fn_append_rule \
7637 "$ac_dir: programs/winetest/Makefile __builddeps__
7638 programs/winetest: $ac_dir
7639 check test: $ac_dir/test
7640 .PHONY: $ac_dir/test
7641 $ac_dir/test: dummy
7642 @cd $ac_dir && \$(MAKE) test
7643 testclean::
7644 \$(RM) $ac_dir/*.ok"
7646 if test -n "$CROSSTARGET"
7647 then
7648 wine_fn_append_rule \
7649 "crosstest: $ac_dir/crosstest
7650 .PHONY: $ac_dir/crosstest
7651 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7652 @cd $ac_dir && \$(MAKE) crosstest"
7656 wine_fn_config_tool ()
7658 ac_dir=$1
7659 ac_flags=$2
7660 if test "x$enable_tools" = xno; then :
7661 return
7664 wine_fn_all_rules
7665 wine_fn_install_rules
7666 wine_fn_clean_rules
7668 wine_fn_append_rule "__tooldeps__: $ac_dir"
7669 wine_fn_append_rule "$ac_dir: libs/port"
7670 case $ac_dir in
7671 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7672 esac
7675 wine_fn_config_symlink ()
7677 ac_linkdir=
7678 if test "x$1" = "x-d"
7679 then
7680 ac_linkdir=$2
7681 shift; shift
7683 ac_links=$@
7684 wine_fn_append_rule \
7685 "$ac_links:
7686 @./config.status \$@
7687 distclean::
7688 \$(RM) $ac_links"
7689 for f in $ac_links; do wine_fn_ignore_file $f; done
7690 test -n "$ac_linkdir" || return
7691 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7694 wine_binary="wine"
7695 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7696 loader_programs="$wine_binary wine-installed"
7697 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7699 LOADER_RULES="
7700 all: wine.inf
7702 install install-lib:: wine-installed
7703 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7705 uninstall::
7706 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7710 case $host_os in
7711 cygwin*|mingw32*)
7712 if test -n "$ac_tool_prefix"; then
7713 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7714 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if ${ac_cv_prog_DLLTOOL+:} false; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 if test -n "$DLLTOOL"; then
7721 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7730 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7734 done
7735 done
7736 IFS=$as_save_IFS
7740 DLLTOOL=$ac_cv_prog_DLLTOOL
7741 if test -n "$DLLTOOL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7743 $as_echo "$DLLTOOL" >&6; }
7744 else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7751 if test -z "$ac_cv_prog_DLLTOOL"; then
7752 ac_ct_DLLTOOL=$DLLTOOL
7753 # Extract the first word of "dlltool", so it can be a program name with args.
7754 set dummy dlltool; ac_word=$2
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756 $as_echo_n "checking for $ac_word... " >&6; }
7757 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7758 $as_echo_n "(cached) " >&6
7759 else
7760 if test -n "$ac_ct_DLLTOOL"; then
7761 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7762 else
7763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7764 for as_dir in $PATH
7766 IFS=$as_save_IFS
7767 test -z "$as_dir" && as_dir=.
7768 for ac_exec_ext in '' $ac_executable_extensions; do
7769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7770 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772 break 2
7774 done
7775 done
7776 IFS=$as_save_IFS
7780 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7781 if test -n "$ac_ct_DLLTOOL"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7783 $as_echo "$ac_ct_DLLTOOL" >&6; }
7784 else
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7789 if test "x$ac_ct_DLLTOOL" = x; then
7790 DLLTOOL="false"
7791 else
7792 case $cross_compiling:$ac_tool_warned in
7793 yes:)
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7796 ac_tool_warned=yes ;;
7797 esac
7798 DLLTOOL=$ac_ct_DLLTOOL
7800 else
7801 DLLTOOL="$ac_cv_prog_DLLTOOL"
7804 LIBEXT="dll"
7805 DLLEXT=""
7806 IMPLIBEXT="a"
7807 STATIC_IMPLIBEXT="a"
7808 enable_iphlpapi=${enable_iphlpapi:-no}
7809 enable_kernel32=${enable_kernel32:-no}
7810 enable_msvcrt=${enable_msvcrt:-no}
7811 enable_ntdll=${enable_ntdll:-no}
7812 enable_ws2_32=${enable_ws2_32:-no}
7813 enable_loader=${enable_loader:-no}
7814 enable_server=${enable_server:-no}
7815 with_x=${with_x:-no}
7816 with_pthread=${with_pthread:-no}
7818 crtlibs=""
7819 case $host_os in
7820 mingw32*)
7821 crtlibs="-lmsvcrt"
7822 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7824 esac
7826 libwine_targets="libwine.dll libwine.a"
7827 LIBWINE_RULES="
7828 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7830 all: libwine.dll libwine.a
7832 libwine.a: \$(srcdir)/wine.def
7833 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7835 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7836 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7838 install install-lib:: libwine.dll
7839 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7841 install install-dev:: libwine.a
7842 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7844 uninstall::
7845 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7850 darwin*|macosx*)
7851 for ac_header in libunwind.h
7852 do :
7853 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_LIBUNWIND_H 1
7857 _ACEOF
7861 done
7863 LIBEXT="dylib"
7864 DLLFLAGS="$DLLFLAGS -fPIC"
7865 LIBWINE_LDFLAGS="-multiply_defined suppress"
7866 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7867 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7868 COREFOUNDATION_LIBS="-framework CoreFoundation"
7870 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7872 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7874 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7876 CORESERVICES_LIBS="-framework CoreServices"
7878 APPKIT_LIBS="-framework AppKit"
7880 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7882 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7883 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 ac_wine_try_cflags_saved=$CFLAGS
7887 CFLAGS="$CFLAGS -Wl,-no_pie"
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 int main(int argc, char **argv) { return 0; }
7891 _ACEOF
7892 if ac_fn_c_try_link "$LINENO"; then :
7893 ac_cv_cflags__Wl__no_pie=yes
7894 else
7895 ac_cv_cflags__Wl__no_pie=no
7897 rm -f core conftest.err conftest.$ac_objext \
7898 conftest$ac_exeext conftest.$ac_ext
7899 CFLAGS=$ac_wine_try_cflags_saved
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7902 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7903 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7904 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7906 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7907 then
7908 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7911 if test "$ac_cv_header_Security_Security_h" = "yes"
7912 then
7913 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7915 ac_save_LIBS="$LIBS"
7916 LIBS="$LIBS $SECURITY_LIBS"
7917 for ac_func in SSLCopyPeerCertificates
7918 do :
7919 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7920 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7921 cat >>confdefs.h <<_ACEOF
7922 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7923 _ACEOF
7926 done
7928 LIBS="$ac_save_LIBS"
7929 with_gnutls=${with_gnutls:-no}
7931 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7932 then
7933 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7934 then
7935 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7937 else
7938 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7941 ac_save_LIBS="$LIBS"
7942 LIBS="$LIBS $COREAUDIO_LIBS"
7943 for ac_func in AUGraphAddNode
7944 do :
7945 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7946 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7947 cat >>confdefs.h <<_ACEOF
7948 #define HAVE_AUGRAPHADDNODE 1
7949 _ACEOF
7952 done
7954 LIBS="$ac_save_LIBS"
7956 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7957 then
7958 OPENAL_LIBS="-framework OpenAL"
7961 cat >>confdefs.h <<_ACEOF
7962 #define HAVE_OPENAL 1
7963 _ACEOF
7965 ac_cv_lib_openal=yes
7967 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7968 then
7969 OPENCL_LIBS="-framework OpenCL"
7971 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7973 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7974 then
7975 ac_save_LIBS="$LIBS"
7976 LIBS="$LIBS $IOKIT_LIBS"
7977 for ac_func in IOHIDManagerCreate
7978 do :
7979 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7980 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7981 cat >>confdefs.h <<_ACEOF
7982 #define HAVE_IOHIDMANAGERCREATE 1
7983 _ACEOF
7986 done
7988 LIBS="$ac_save_LIBS"
7990 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7991 then
7992 ac_save_LIBS="$LIBS"
7993 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7995 $as_echo_n "checking for the QuickTime framework... " >&6; }
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <QuickTime/ImageCompression.h>
8000 main ()
8002 CodecManagerVersion(NULL);
8004 return 0;
8006 _ACEOF
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8009 $as_echo "yes" >&6; }
8010 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8012 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8013 else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015 $as_echo "no" >&6; }
8016 ac_cv_header_QuickTime_ImageCompression_h=no
8018 rm -f core conftest.err conftest.$ac_objext \
8019 conftest$ac_exeext conftest.$ac_ext
8020 LIBS="$ac_save_LIBS"
8022 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8023 then
8024 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8026 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8027 then
8028 CARBON_LIBS="-framework Carbon"
8032 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8033 then
8034 ac_save_LIBS="$LIBS"
8035 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8036 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8037 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8038 enable_winemac_drv=${enable_winemac_drv:-yes}
8041 LIBS="$ac_save_LIBS"
8044 if test "x$enable_win16" = "xyes"
8045 then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8047 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8048 if test "$cross_compiling" = yes; then :
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8050 $as_echo "cross-compiling, assuming yes" >&6; }
8051 else
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 asm(".text\n"
8055 "bad:\tnop;nop\n"
8056 "good:\tnop;nop\n\t"
8057 ".globl _testfunc\n"
8058 "_testfunc:\tcallw good");
8059 extern void testfunc();
8061 main ()
8063 unsigned short *p = (unsigned short *)testfunc;
8064 return p[0] != 0xe866 || p[1] != 0xfffa
8066 return 0;
8068 _ACEOF
8069 if ac_fn_c_try_run "$LINENO"; then :
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8071 $as_echo "yes" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8075 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
8077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8078 conftest.$ac_objext conftest.beam conftest.$ac_ext
8083 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8084 LIBWINE_RULES="
8085 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8087 all: libwine.dylib
8089 libwine.$libwine_version.dylib: \$(OBJS)
8090 \$(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 \$@
8092 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8093 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8095 libwine.dylib: libwine.$libwine_soversion.dylib
8096 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8098 install install-lib:: libwine.$libwine_version.dylib
8099 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8100 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8102 install install-dev::
8103 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8105 uninstall::
8106 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8110 as_fn_append LOADER_RULES "
8111 $wine_binary: main.o wine_info.plist
8112 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8114 wine-installed: main.o wine_info.plist
8115 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8119 linux-android*)
8120 DLLFLAGS="$DLLFLAGS -fPIC"
8121 DLLPREFIX="lib"
8122 LDEXECFLAGS=""
8123 dlldir="\${libdir}"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8125 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8126 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 ac_wine_try_cflags_saved=$CFLAGS
8130 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132 /* end confdefs.h. */
8133 int main(int argc, char **argv) { return 0; }
8134 _ACEOF
8135 if ac_fn_c_try_link "$LINENO"; then :
8136 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8137 else
8138 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8140 rm -f core conftest.err conftest.$ac_objext \
8141 conftest$ac_exeext conftest.$ac_ext
8142 CFLAGS=$ac_wine_try_cflags_saved
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8145 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8146 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8147 LDEXECFLAGS="-Wl,--export-dynamic"
8149 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8151 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8152 if eval \${$as_ac_var+:} false; then :
8153 $as_echo_n "(cached) " >&6
8154 else
8155 ac_wine_try_cflags_saved=$CFLAGS
8156 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8159 int main(int argc, char **argv) { return 0; }
8160 _ACEOF
8161 if ac_fn_c_try_link "$LINENO"; then :
8162 eval "$as_ac_var=yes"
8163 else
8164 eval "$as_ac_var=no"
8166 rm -f core conftest.err conftest.$ac_objext \
8167 conftest$ac_exeext conftest.$ac_ext
8168 CFLAGS=$ac_wine_try_cflags_saved
8170 eval ac_res=\$$as_ac_var
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8172 $as_echo "$ac_res" >&6; }
8173 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8174 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8175 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8176 else
8177 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8179 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8180 if eval \${$as_ac_var+:} false; then :
8181 $as_echo_n "(cached) " >&6
8182 else
8183 ac_wine_try_cflags_saved=$CFLAGS
8184 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 int main(int argc, char **argv) { return 0; }
8188 _ACEOF
8189 if ac_fn_c_try_link "$LINENO"; then :
8190 eval "$as_ac_var=yes"
8191 else
8192 eval "$as_ac_var=no"
8194 rm -f core conftest.err conftest.$ac_objext \
8195 conftest$ac_exeext conftest.$ac_ext
8196 CFLAGS=$ac_wine_try_cflags_saved
8198 eval ac_res=\$$as_ac_var
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8200 $as_echo "$ac_res" >&6; }
8201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8202 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8203 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8208 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8209 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 ac_wine_try_cflags_saved=$CFLAGS
8213 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 ac_cv_cflags__Wl___enable_new_dtags=yes
8220 else
8221 ac_cv_cflags__Wl___enable_new_dtags=no
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8228 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8229 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8230 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8233 case $host_cpu in
8234 *i[3456789]86* | x86_64)
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8236 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8237 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8248 else
8249 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8256 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8257 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8258 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8261 esac
8263 libwine_targets="libwine.so"
8264 LIBWINE_RULES="
8265 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8267 all: libwine.so
8269 libwine.so: \$(OBJS)
8270 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8272 install install-lib:: libwine.so
8273 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8275 uninstall::
8276 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8280 as_fn_append LOADER_RULES "
8281 $wine_binary: main.o
8282 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8284 wine-installed: main.o
8285 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8290 DLLFLAGS="$DLLFLAGS -fPIC"
8291 LDEXECFLAGS=""
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8293 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8294 if ${ac_cv_c_dll_gnuelf+:} false; then :
8295 $as_echo_n "(cached) " >&6
8296 else
8297 ac_wine_try_cflags_saved=$CFLAGS
8298 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 void myfunc() {}
8302 _ACEOF
8303 if ac_fn_c_try_link "$LINENO"; then :
8304 ac_cv_c_dll_gnuelf="yes"
8305 else
8306 ac_cv_c_dll_gnuelf="no"
8308 rm -f core conftest.err conftest.$ac_objext \
8309 conftest$ac_exeext conftest.$ac_ext
8310 CFLAGS=$ac_wine_try_cflags_saved
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8313 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8314 if test "$ac_cv_c_dll_gnuelf" = "yes"
8315 then
8316 LDSHARED="\$(CC) -shared"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8318 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8319 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8330 else
8331 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8338 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8339 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8340 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8341 else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8343 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8344 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 ac_wine_try_cflags_saved=$CFLAGS
8348 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 int main(int argc, char **argv) { return 0; }
8352 _ACEOF
8353 if ac_fn_c_try_link "$LINENO"; then :
8354 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8355 else
8356 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 CFLAGS=$ac_wine_try_cflags_saved
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8363 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8364 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8365 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8369 echo '{ global: *; };' >conftest.map
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8371 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8372 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8383 else
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8391 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8392 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8393 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8395 rm -f conftest.map
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8399 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8410 else
8411 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8418 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8419 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8420 LDEXECFLAGS="-Wl,--export-dynamic"
8423 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8425 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8426 if eval \${$as_ac_var+:} false; then :
8427 $as_echo_n "(cached) " >&6
8428 else
8429 ac_wine_try_cflags_saved=$CFLAGS
8430 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8433 int main(int argc, char **argv) { return 0; }
8434 _ACEOF
8435 if ac_fn_c_try_link "$LINENO"; then :
8436 eval "$as_ac_var=yes"
8437 else
8438 eval "$as_ac_var=no"
8440 rm -f core conftest.err conftest.$ac_objext \
8441 conftest$ac_exeext conftest.$ac_ext
8442 CFLAGS=$ac_wine_try_cflags_saved
8444 eval ac_res=\$$as_ac_var
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8446 $as_echo "$ac_res" >&6; }
8447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8448 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8449 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8450 else
8451 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8454 if eval \${$as_ac_var+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 eval "$as_ac_var=yes"
8465 else
8466 eval "$as_ac_var=no"
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 eval ac_res=\$$as_ac_var
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8474 $as_echo "$ac_res" >&6; }
8475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8476 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8477 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8482 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8483 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 ac_cv_cflags__Wl___enable_new_dtags=yes
8494 else
8495 ac_cv_cflags__Wl___enable_new_dtags=no
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8502 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8503 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8504 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8507 case $host_cpu in
8508 *i[3456789]86* | x86_64)
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8510 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8511 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8522 else
8523 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8530 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8531 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8532 case $host_os in
8533 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8534 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8535 esac
8538 # Extract the first word of "prelink", so it can be a program name with args.
8539 set dummy prelink; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if ${ac_cv_path_PRELINK+:} false; then :
8543 $as_echo_n "(cached) " >&6
8544 else
8545 case $PRELINK in
8546 [\\/]* | ?:[\\/]*)
8547 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8551 for as_dir in /sbin /usr/sbin $PATH
8553 IFS=$as_save_IFS
8554 test -z "$as_dir" && as_dir=.
8555 for ac_exec_ext in '' $ac_executable_extensions; do
8556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8557 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8559 break 2
8561 done
8562 done
8563 IFS=$as_save_IFS
8565 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8567 esac
8569 PRELINK=$ac_cv_path_PRELINK
8570 if test -n "$PRELINK"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8572 $as_echo "$PRELINK" >&6; }
8573 else
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575 $as_echo "no" >&6; }
8579 if test "x$PRELINK" = xfalse
8580 then
8581 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8584 esac
8586 else
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8588 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8589 if ${ac_cv_c_dll_unixware+:} false; then :
8590 $as_echo_n "(cached) " >&6
8591 else
8592 ac_wine_try_cflags_saved=$CFLAGS
8593 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 void myfunc() {}
8597 _ACEOF
8598 if ac_fn_c_try_link "$LINENO"; then :
8599 ac_cv_c_dll_unixware="yes"
8600 else
8601 ac_cv_c_dll_unixware="no"
8603 rm -f core conftest.err conftest.$ac_objext \
8604 conftest$ac_exeext conftest.$ac_ext
8605 CFLAGS=$ac_wine_try_cflags_saved
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8608 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8609 if test "$ac_cv_c_dll_unixware" = "yes"
8610 then
8611 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8614 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8615 LIBWINE_RULES="
8616 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8618 all: libwine.so
8620 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8621 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8623 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8624 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8626 libwine.so: libwine.so.$libwine_soversion
8627 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8629 install install-lib:: libwine.so.$libwine_version
8630 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8631 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8633 install install-dev::
8634 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8636 uninstall::
8637 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8641 as_fn_append LOADER_RULES "
8642 $wine_binary: main.o
8643 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8645 wine-installed: main.o
8646 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8649 esac
8651 as_fn_append LIBWINE_RULES "
8652 EXTRA_TARGETS = $libwine_targets
8655 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8656 enable_winemac_drv=${enable_winemac_drv:-no}
8658 CROSSTARGET=""
8660 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8661 then
8662 case "$host_cpu" in
8663 i[3456789]86*)
8664 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
8665 mingw32-gcc" ;;
8666 x86_64)
8667 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 " ;;
8669 ac_prefix_list="" ;;
8670 esac
8671 for ac_prog in $ac_prefix_list
8673 # Extract the first word of "$ac_prog", so it can be a program name with args.
8674 set dummy $ac_prog; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if ${ac_cv_prog_CROSSCC+:} false; then :
8678 $as_echo_n "(cached) " >&6
8679 else
8680 if test -n "$CROSSCC"; then
8681 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8682 else
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in $PATH
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_prog_CROSSCC="$ac_prog"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8694 done
8695 done
8696 IFS=$as_save_IFS
8700 CROSSCC=$ac_cv_prog_CROSSCC
8701 if test -n "$CROSSCC"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8703 $as_echo "$CROSSCC" >&6; }
8704 else
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8710 test -n "$CROSSCC" && break
8711 done
8712 test -n "$CROSSCC" || CROSSCC="false"
8714 if test "$CROSSCC" != "false"
8715 then
8716 ac_save_CC="$CC"
8717 CC="$CROSSCC"
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8719 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8724 main ()
8728 return 0;
8730 _ACEOF
8731 if ac_fn_c_try_compile "$LINENO"; then :
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8733 $as_echo "yes" >&6; }
8734 set x $CROSSCC
8735 shift
8736 while test $# -ge 1
8738 case "$1" in
8739 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8740 esac
8741 shift
8742 done
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8745 $as_echo "no" >&6; }
8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8748 CC="$ac_save_CC"
8753 if test "$ac_cv_header_pthread_h" = "yes"
8754 then
8755 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8756 if test "x$ac_cv_func_pthread_create" = xyes; then :
8758 else
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8760 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8761 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 ac_check_lib_save_LIBS=$LIBS
8765 LIBS="-lpthread $LIBS"
8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8769 /* Override any GCC internal prototype to avoid an error.
8770 Use char because int might match the return type of a GCC
8771 builtin and then its argument prototype would still apply. */
8772 #ifdef __cplusplus
8773 extern "C"
8774 #endif
8775 char pthread_create ();
8777 main ()
8779 return pthread_create ();
8781 return 0;
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_lib_pthread_pthread_create=yes
8786 else
8787 ac_cv_lib_pthread_pthread_create=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 LIBS=$ac_check_lib_save_LIBS
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8794 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8795 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8796 PTHREAD_LIBS="-lpthread"
8803 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8804 case "x$with_pthread" in
8805 xno) ;;
8806 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8807 Wine cannot support threads without libpthread.
8808 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8809 esac
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8814 $as_echo_n "checking for X... " >&6; }
8817 # Check whether --with-x was given.
8818 if test "${with_x+set}" = set; then :
8819 withval=$with_x;
8822 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8823 if test "x$with_x" = xno; then
8824 # The user explicitly disabled X.
8825 have_x=disabled
8826 else
8827 case $x_includes,$x_libraries in #(
8828 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8829 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 # One or both of the vars are not set, and there is no cached value.
8833 ac_x_includes=no ac_x_libraries=no
8834 rm -f -r conftest.dir
8835 if mkdir conftest.dir; then
8836 cd conftest.dir
8837 cat >Imakefile <<'_ACEOF'
8838 incroot:
8839 @echo incroot='${INCROOT}'
8840 usrlibdir:
8841 @echo usrlibdir='${USRLIBDIR}'
8842 libdir:
8843 @echo libdir='${LIBDIR}'
8844 _ACEOF
8845 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8846 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8847 for ac_var in incroot usrlibdir libdir; do
8848 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8849 done
8850 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8851 for ac_extension in a so sl dylib la dll; do
8852 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8853 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8854 ac_im_usrlibdir=$ac_im_libdir; break
8856 done
8857 # Screen out bogus values from the imake configuration. They are
8858 # bogus both because they are the default anyway, and because
8859 # using them would break gcc on systems where it needs fixed includes.
8860 case $ac_im_incroot in
8861 /usr/include) ac_x_includes= ;;
8862 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8863 esac
8864 case $ac_im_usrlibdir in
8865 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8866 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8867 esac
8869 cd ..
8870 rm -f -r conftest.dir
8873 # Standard set of common directories for X headers.
8874 # Check X11 before X11Rn because it is often a symlink to the current release.
8875 ac_x_header_dirs='
8876 /usr/X11/include
8877 /usr/X11R7/include
8878 /usr/X11R6/include
8879 /usr/X11R5/include
8880 /usr/X11R4/include
8882 /usr/include/X11
8883 /usr/include/X11R7
8884 /usr/include/X11R6
8885 /usr/include/X11R5
8886 /usr/include/X11R4
8888 /usr/local/X11/include
8889 /usr/local/X11R7/include
8890 /usr/local/X11R6/include
8891 /usr/local/X11R5/include
8892 /usr/local/X11R4/include
8894 /usr/local/include/X11
8895 /usr/local/include/X11R7
8896 /usr/local/include/X11R6
8897 /usr/local/include/X11R5
8898 /usr/local/include/X11R4
8900 /usr/X386/include
8901 /usr/x386/include
8902 /usr/XFree86/include/X11
8904 /usr/include
8905 /usr/local/include
8906 /usr/unsupported/include
8907 /usr/athena/include
8908 /usr/local/x11r5/include
8909 /usr/lpp/Xamples/include
8911 /usr/openwin/include
8912 /usr/openwin/share/include'
8914 if test "$ac_x_includes" = no; then
8915 # Guess where to find include files, by looking for Xlib.h.
8916 # First, try using that file with no special directory specified.
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8919 #include <X11/Xlib.h>
8920 _ACEOF
8921 if ac_fn_c_try_cpp "$LINENO"; then :
8922 # We can compile using X headers with no special include directory.
8923 ac_x_includes=
8924 else
8925 for ac_dir in $ac_x_header_dirs; do
8926 if test -r "$ac_dir/X11/Xlib.h"; then
8927 ac_x_includes=$ac_dir
8928 break
8930 done
8932 rm -f conftest.err conftest.i conftest.$ac_ext
8933 fi # $ac_x_includes = no
8935 if test "$ac_x_libraries" = no; then
8936 # Check for the libraries.
8937 # See if we find them without any special options.
8938 # Don't add to $LIBS permanently.
8939 ac_save_LIBS=$LIBS
8940 LIBS="-lX11 $LIBS"
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8943 #include <X11/Xlib.h>
8945 main ()
8947 XrmInitialize ()
8949 return 0;
8951 _ACEOF
8952 if ac_fn_c_try_link "$LINENO"; then :
8953 LIBS=$ac_save_LIBS
8954 # We can link X programs with no special library path.
8955 ac_x_libraries=
8956 else
8957 LIBS=$ac_save_LIBS
8958 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8960 # Don't even attempt the hair of trying to link an X program!
8961 for ac_extension in a so sl dylib la dll; do
8962 if test -r "$ac_dir/libX11.$ac_extension"; then
8963 ac_x_libraries=$ac_dir
8964 break 2
8966 done
8967 done
8969 rm -f core conftest.err conftest.$ac_objext \
8970 conftest$ac_exeext conftest.$ac_ext
8971 fi # $ac_x_libraries = no
8973 case $ac_x_includes,$ac_x_libraries in #(
8974 no,* | *,no | *\'*)
8975 # Didn't find X, or a directory has "'" in its name.
8976 ac_cv_have_x="have_x=no";; #(
8978 # Record where we found X for the cache.
8979 ac_cv_have_x="have_x=yes\
8980 ac_x_includes='$ac_x_includes'\
8981 ac_x_libraries='$ac_x_libraries'"
8982 esac
8984 ;; #(
8985 *) have_x=yes;;
8986 esac
8987 eval "$ac_cv_have_x"
8988 fi # $with_x != no
8990 if test "$have_x" != yes; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8992 $as_echo "$have_x" >&6; }
8993 no_x=yes
8994 else
8995 # If each of the values was on the command line, it overrides each guess.
8996 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8997 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8998 # Update the cache value to reflect the command line values.
8999 ac_cv_have_x="have_x=yes\
9000 ac_x_includes='$x_includes'\
9001 ac_x_libraries='$x_libraries'"
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9003 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9006 if test "$no_x" = yes; then
9007 # Not all programs may use this symbol, but it does not hurt to define it.
9009 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9011 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9012 else
9013 if test -n "$x_includes"; then
9014 X_CFLAGS="$X_CFLAGS -I$x_includes"
9017 # It would also be nice to do this for all -L options, not just this one.
9018 if test -n "$x_libraries"; then
9019 X_LIBS="$X_LIBS -L$x_libraries"
9020 # For Solaris; some versions of Sun CC require a space after -R and
9021 # others require no space. Words are not sufficient . . . .
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9023 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9024 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9025 ac_xsave_c_werror_flag=$ac_c_werror_flag
9026 ac_c_werror_flag=yes
9027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 /* end confdefs.h. */
9031 main ()
9035 return 0;
9037 _ACEOF
9038 if ac_fn_c_try_link "$LINENO"; then :
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9041 X_LIBS="$X_LIBS -R$x_libraries"
9042 else
9043 LIBS="$ac_xsave_LIBS -R $x_libraries"
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9048 main ()
9052 return 0;
9054 _ACEOF
9055 if ac_fn_c_try_link "$LINENO"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9057 $as_echo "yes" >&6; }
9058 X_LIBS="$X_LIBS -R $x_libraries"
9059 else
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9061 $as_echo "neither works" >&6; }
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 ac_c_werror_flag=$ac_xsave_c_werror_flag
9069 LIBS=$ac_xsave_LIBS
9072 # Check for system-dependent libraries X programs must link with.
9073 # Do this before checking for the system-independent R6 libraries
9074 # (-lICE), since we may need -lsocket or whatever for X linking.
9076 if test "$ISC" = yes; then
9077 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9078 else
9079 # Martyn Johnson says this is needed for Ultrix, if the X
9080 # libraries were built with DECnet support. And Karl Berry says
9081 # the Alpha needs dnet_stub (dnet does not exist).
9082 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9086 /* Override any GCC internal prototype to avoid an error.
9087 Use char because int might match the return type of a GCC
9088 builtin and then its argument prototype would still apply. */
9089 #ifdef __cplusplus
9090 extern "C"
9091 #endif
9092 char XOpenDisplay ();
9094 main ()
9096 return XOpenDisplay ();
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9103 else
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9105 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9106 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9107 $as_echo_n "(cached) " >&6
9108 else
9109 ac_check_lib_save_LIBS=$LIBS
9110 LIBS="-ldnet $LIBS"
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9114 /* Override any GCC internal prototype to avoid an error.
9115 Use char because int might match the return type of a GCC
9116 builtin and then its argument prototype would still apply. */
9117 #ifdef __cplusplus
9118 extern "C"
9119 #endif
9120 char dnet_ntoa ();
9122 main ()
9124 return dnet_ntoa ();
9126 return 0;
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 ac_cv_lib_dnet_dnet_ntoa=yes
9131 else
9132 ac_cv_lib_dnet_dnet_ntoa=no
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 LIBS=$ac_check_lib_save_LIBS
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9139 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9140 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9141 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9144 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9146 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9147 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9148 $as_echo_n "(cached) " >&6
9149 else
9150 ac_check_lib_save_LIBS=$LIBS
9151 LIBS="-ldnet_stub $LIBS"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9155 /* Override any GCC internal prototype to avoid an error.
9156 Use char because int might match the return type of a GCC
9157 builtin and then its argument prototype would still apply. */
9158 #ifdef __cplusplus
9159 extern "C"
9160 #endif
9161 char dnet_ntoa ();
9163 main ()
9165 return dnet_ntoa ();
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9172 else
9173 ac_cv_lib_dnet_stub_dnet_ntoa=no
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 LIBS=$ac_check_lib_save_LIBS
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9180 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9181 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9182 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 LIBS="$ac_xsave_LIBS"
9191 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9192 # to get the SysV transport functions.
9193 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9194 # needs -lnsl.
9195 # The nsl library prevents programs from opening the X display
9196 # on Irix 5.2, according to T.E. Dickey.
9197 # The functions gethostbyname, getservbyname, and inet_addr are
9198 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9199 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9200 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9204 if test $ac_cv_func_gethostbyname = no; then
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9206 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9207 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9208 $as_echo_n "(cached) " >&6
9209 else
9210 ac_check_lib_save_LIBS=$LIBS
9211 LIBS="-lnsl $LIBS"
9212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9213 /* end confdefs.h. */
9215 /* Override any GCC internal prototype to avoid an error.
9216 Use char because int might match the return type of a GCC
9217 builtin and then its argument prototype would still apply. */
9218 #ifdef __cplusplus
9219 extern "C"
9220 #endif
9221 char gethostbyname ();
9223 main ()
9225 return gethostbyname ();
9227 return 0;
9229 _ACEOF
9230 if ac_fn_c_try_link "$LINENO"; then :
9231 ac_cv_lib_nsl_gethostbyname=yes
9232 else
9233 ac_cv_lib_nsl_gethostbyname=no
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_lib_save_LIBS
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9240 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9241 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9245 if test $ac_cv_lib_nsl_gethostbyname = no; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9247 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9248 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9249 $as_echo_n "(cached) " >&6
9250 else
9251 ac_check_lib_save_LIBS=$LIBS
9252 LIBS="-lbsd $LIBS"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char gethostbyname ();
9264 main ()
9266 return gethostbyname ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_lib_bsd_gethostbyname=yes
9273 else
9274 ac_cv_lib_bsd_gethostbyname=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9281 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9282 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9283 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9289 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9290 # socket/setsockopt and other routines are undefined under SCO ODT
9291 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9292 # on later versions), says Simon Leinen: it contains gethostby*
9293 # variants that don't use the name server (or something). -lsocket
9294 # must be given before -lnsl if both are needed. We assume that
9295 # if connect needs -lnsl, so does gethostbyname.
9296 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9297 if test "x$ac_cv_func_connect" = xyes; then :
9301 if test $ac_cv_func_connect = no; then
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9303 $as_echo_n "checking for connect in -lsocket... " >&6; }
9304 if ${ac_cv_lib_socket_connect+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_check_lib_save_LIBS=$LIBS
9308 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9315 #ifdef __cplusplus
9316 extern "C"
9317 #endif
9318 char connect ();
9320 main ()
9322 return connect ();
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_lib_socket_connect=yes
9329 else
9330 ac_cv_lib_socket_connect=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 LIBS=$ac_check_lib_save_LIBS
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9337 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9338 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9339 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9344 # Guillermo Gomez says -lposix is necessary on A/UX.
9345 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9346 if test "x$ac_cv_func_remove" = xyes; then :
9350 if test $ac_cv_func_remove = no; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9352 $as_echo_n "checking for remove in -lposix... " >&6; }
9353 if ${ac_cv_lib_posix_remove+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_check_lib_save_LIBS=$LIBS
9357 LIBS="-lposix $LIBS"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9364 #ifdef __cplusplus
9365 extern "C"
9366 #endif
9367 char remove ();
9369 main ()
9371 return remove ();
9373 return 0;
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_lib_posix_remove=yes
9378 else
9379 ac_cv_lib_posix_remove=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9386 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9387 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9393 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9394 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9395 if test "x$ac_cv_func_shmat" = xyes; then :
9399 if test $ac_cv_func_shmat = no; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9401 $as_echo_n "checking for shmat in -lipc... " >&6; }
9402 if ${ac_cv_lib_ipc_shmat+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_check_lib_save_LIBS=$LIBS
9406 LIBS="-lipc $LIBS"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char shmat ();
9418 main ()
9420 return shmat ();
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_lib_ipc_shmat=yes
9427 else
9428 ac_cv_lib_ipc_shmat=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9435 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9436 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9443 # Check for libraries that X11R6 Xt/Xaw programs need.
9444 ac_save_LDFLAGS=$LDFLAGS
9445 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9446 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9447 # check for ICE first), but we must link in the order -lSM -lICE or
9448 # we get undefined symbols. So assume we have SM if we have ICE.
9449 # These have to be linked with before -lX11, unlike the other
9450 # libraries we check for below, so use a different variable.
9451 # John Interrante, Karl Berry
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9453 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9454 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char IceConnectionNumber ();
9470 main ()
9472 return IceConnectionNumber ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_ICE_IceConnectionNumber=yes
9479 else
9480 ac_cv_lib_ICE_IceConnectionNumber=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9487 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9488 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9489 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9492 LDFLAGS=$ac_save_LDFLAGS
9497 if test "$have_x" = "yes"
9498 then
9499 ac_save_CPPFLAGS="$CPPFLAGS"
9500 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9503 $as_echo_n "checking for -lX11... " >&6; }
9504 if ${ac_cv_lib_soname_X11+:} false; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 ac_check_soname_save_LIBS=$LIBS
9508 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9515 #ifdef __cplusplus
9516 extern "C"
9517 #endif
9518 char XCreateWindow ();
9520 main ()
9522 return XCreateWindow ();
9524 return 0;
9526 _ACEOF
9527 if ac_fn_c_try_link "$LINENO"; then :
9528 case "$LIBEXT" in
9529 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9530 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'` ;;
9531 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9532 if ${ac_cv_lib_soname_X11:+false} :; then :
9533 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9534 fi ;;
9535 esac
9537 rm -f core conftest.err conftest.$ac_objext \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_soname_save_LIBS
9541 if ${ac_cv_lib_soname_X11:+false} :; then :
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9543 $as_echo "not found" >&6; }
9545 else
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9547 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9549 cat >>confdefs.h <<_ACEOF
9550 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9551 _ACEOF
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9556 $as_echo_n "checking for -lXext... " >&6; }
9557 if ${ac_cv_lib_soname_Xext+:} false; then :
9558 $as_echo_n "(cached) " >&6
9559 else
9560 ac_check_soname_save_LIBS=$LIBS
9561 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9565 /* Override any GCC internal prototype to avoid an error.
9566 Use char because int might match the return type of a GCC
9567 builtin and then its argument prototype would still apply. */
9568 #ifdef __cplusplus
9569 extern "C"
9570 #endif
9571 char XextCreateExtension ();
9573 main ()
9575 return XextCreateExtension ();
9577 return 0;
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 case "$LIBEXT" in
9582 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9583 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'` ;;
9584 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9585 if ${ac_cv_lib_soname_Xext:+false} :; then :
9586 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9587 fi ;;
9588 esac
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 LIBS=$ac_check_soname_save_LIBS
9594 if ${ac_cv_lib_soname_Xext:+false} :; then :
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9596 $as_echo "not found" >&6; }
9598 else
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9600 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9602 cat >>confdefs.h <<_ACEOF
9603 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9604 _ACEOF
9606 X_LIBS="$X_LIBS -lXext"
9608 X_LIBS="$X_LIBS -lX11"
9610 for ac_header in X11/Xlib.h \
9611 X11/XKBlib.h \
9612 X11/Xutil.h \
9613 X11/Xcursor/Xcursor.h \
9614 X11/extensions/shape.h \
9615 X11/extensions/XInput.h \
9616 X11/extensions/XInput2.h \
9617 X11/extensions/XShm.h \
9618 X11/extensions/Xcomposite.h \
9619 X11/extensions/Xinerama.h \
9620 X11/extensions/Xrandr.h \
9621 X11/extensions/Xrender.h \
9622 X11/extensions/xf86vmode.h \
9623 X11/extensions/xf86vmproto.h
9624 do :
9625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9626 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9627 # include <X11/Xlib.h>
9628 #endif
9629 #ifdef HAVE_X11_XUTIL_H
9630 # include <X11/Xutil.h>
9631 #endif
9633 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9634 cat >>confdefs.h <<_ACEOF
9635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9636 _ACEOF
9640 done
9643 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9644 then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9646 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9647 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char XkbQueryExtension ();
9663 main ()
9665 return XkbQueryExtension ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_lib_X11_XkbQueryExtension=yes
9672 else
9673 ac_cv_lib_X11_XkbQueryExtension=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9680 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9681 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9683 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9689 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9690 then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9692 $as_echo_n "checking for -lXcursor... " >&6; }
9693 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9694 $as_echo_n "(cached) " >&6
9695 else
9696 ac_check_soname_save_LIBS=$LIBS
9697 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9701 /* Override any GCC internal prototype to avoid an error.
9702 Use char because int might match the return type of a GCC
9703 builtin and then its argument prototype would still apply. */
9704 #ifdef __cplusplus
9705 extern "C"
9706 #endif
9707 char XcursorImageLoadCursor ();
9709 main ()
9711 return XcursorImageLoadCursor ();
9713 return 0;
9715 _ACEOF
9716 if ac_fn_c_try_link "$LINENO"; then :
9717 case "$LIBEXT" in
9718 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9719 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'` ;;
9720 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9721 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9722 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9723 fi ;;
9724 esac
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_soname_save_LIBS
9730 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9732 $as_echo "not found" >&6; }
9734 else
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9736 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9738 cat >>confdefs.h <<_ACEOF
9739 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9740 _ACEOF
9745 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9746 case "x$with_xcursor" in
9747 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9748 xno) ;;
9749 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9750 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9751 esac
9754 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9755 then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9757 $as_echo_n "checking for -lXi... " >&6; }
9758 if ${ac_cv_lib_soname_Xi+:} false; then :
9759 $as_echo_n "(cached) " >&6
9760 else
9761 ac_check_soname_save_LIBS=$LIBS
9762 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9769 #ifdef __cplusplus
9770 extern "C"
9771 #endif
9772 char XOpenDevice ();
9774 main ()
9776 return XOpenDevice ();
9778 return 0;
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 case "$LIBEXT" in
9783 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9784 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'` ;;
9785 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9786 if ${ac_cv_lib_soname_Xi:+false} :; then :
9787 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9788 fi ;;
9789 esac
9791 rm -f core conftest.err conftest.$ac_objext \
9792 conftest$ac_exeext conftest.$ac_ext
9793 LIBS=$ac_check_soname_save_LIBS
9795 if ${ac_cv_lib_soname_Xi:+false} :; then :
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9797 $as_echo "not found" >&6; }
9799 else
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9801 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9803 cat >>confdefs.h <<_ACEOF
9804 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9805 _ACEOF
9810 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9811 case "x$with_xinput" in
9812 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9813 xno) ;;
9814 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9815 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9816 esac
9819 if test "x$ac_cv_lib_soname_Xi" != x
9820 then
9821 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9822 case "x$with_xinput2" in
9823 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9824 xno) ;;
9825 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9826 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9827 esac
9831 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9832 then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9834 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9835 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_check_lib_save_LIBS=$LIBS
9839 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9846 #ifdef __cplusplus
9847 extern "C"
9848 #endif
9849 char XShmQueryExtension ();
9851 main ()
9853 return XShmQueryExtension ();
9855 return 0;
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 ac_cv_lib_Xext_XShmQueryExtension=yes
9860 else
9861 ac_cv_lib_Xext_XShmQueryExtension=no
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 LIBS=$ac_check_lib_save_LIBS
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9868 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9869 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9871 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9876 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9877 case "x$with_xshm" in
9878 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9879 xno) ;;
9880 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9881 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9882 esac
9885 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9886 then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9888 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9889 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_lib_save_LIBS=$LIBS
9893 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XShapeQueryExtension ();
9905 main ()
9907 return XShapeQueryExtension ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_lib_Xext_XShapeQueryExtension=yes
9914 else
9915 ac_cv_lib_Xext_XShapeQueryExtension=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_lib_save_LIBS
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9922 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9923 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9925 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9930 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9931 case "x$with_xshape" in
9932 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9933 xno) ;;
9934 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9935 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9936 esac
9939 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9940 then
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9942 $as_echo_n "checking for -lXxf86vm... " >&6; }
9943 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_check_soname_save_LIBS=$LIBS
9947 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 #ifdef __cplusplus
9955 extern "C"
9956 #endif
9957 char XF86VidModeQueryExtension ();
9959 main ()
9961 return XF86VidModeQueryExtension ();
9963 return 0;
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 case "$LIBEXT" in
9968 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9971 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9972 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 fi ;;
9974 esac
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_soname_save_LIBS
9980 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9984 else
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9986 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9988 cat >>confdefs.h <<_ACEOF
9989 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9990 _ACEOF
9995 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9996 case "x$with_xxf86vm" in
9997 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9998 xno) ;;
9999 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10000 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10001 esac
10004 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10005 then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10007 $as_echo_n "checking for -lXrender... " >&6; }
10008 if ${ac_cv_lib_soname_Xrender+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XRenderQueryExtension ();
10024 main ()
10026 return XRenderQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 case "$LIBEXT" in
10033 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10034 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'` ;;
10035 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10036 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10037 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10038 fi ;;
10039 esac
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 LIBS=$ac_check_soname_save_LIBS
10045 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10047 $as_echo "not found" >&6; }
10049 else
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10051 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10053 cat >>confdefs.h <<_ACEOF
10054 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10055 _ACEOF
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10058 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10059 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10060 $as_echo_n "(cached) " >&6
10061 else
10062 ac_check_lib_save_LIBS=$LIBS
10063 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10067 /* Override any GCC internal prototype to avoid an error.
10068 Use char because int might match the return type of a GCC
10069 builtin and then its argument prototype would still apply. */
10070 #ifdef __cplusplus
10071 extern "C"
10072 #endif
10073 char XRenderSetPictureTransform ();
10075 main ()
10077 return XRenderSetPictureTransform ();
10079 return 0;
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"; then :
10083 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10084 else
10085 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 LIBS=$ac_check_lib_save_LIBS
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10092 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10093 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10095 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10100 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10101 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_check_lib_save_LIBS=$LIBS
10105 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char XRenderCreateLinearGradient ();
10117 main ()
10119 return XRenderCreateLinearGradient ();
10121 return 0;
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10126 else
10127 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 LIBS=$ac_check_lib_save_LIBS
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10134 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10135 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10137 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10144 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10145 case "x$with_xrender" in
10146 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10147 xno) ;;
10148 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10149 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10150 esac
10153 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10154 then
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 #include <X11/Xlib.h>
10158 #include <X11/extensions/Xrandr.h>
10160 main ()
10162 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_compile "$LINENO"; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10169 $as_echo_n "checking for -lXrandr... " >&6; }
10170 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_check_soname_save_LIBS=$LIBS
10174 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char XRRQueryExtension ();
10186 main ()
10188 return XRRQueryExtension ();
10190 return 0;
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 case "$LIBEXT" in
10195 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10199 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10200 fi ;;
10201 esac
10203 rm -f core conftest.err conftest.$ac_objext \
10204 conftest$ac_exeext conftest.$ac_ext
10205 LIBS=$ac_check_soname_save_LIBS
10207 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10209 $as_echo "not found" >&6; }
10211 else
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10213 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10215 cat >>confdefs.h <<_ACEOF
10216 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10217 _ACEOF
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 #include <X11/Xlib.h>
10222 #include <X11/extensions/Xrandr.h>
10224 main ()
10226 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_compile "$LINENO"; then :
10233 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10241 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10242 case "x$with_xrandr" in
10243 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10244 xno) ;;
10245 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10246 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10247 esac
10250 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10251 then
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10254 #include <X11/Xlib.h>
10255 #include <X11/extensions/Xinerama.h>
10257 main ()
10259 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10261 return 0;
10263 _ACEOF
10264 if ac_fn_c_try_compile "$LINENO"; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10266 $as_echo_n "checking for -lXinerama... " >&6; }
10267 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_check_soname_save_LIBS=$LIBS
10271 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10278 #ifdef __cplusplus
10279 extern "C"
10280 #endif
10281 char XineramaQueryScreens ();
10283 main ()
10285 return XineramaQueryScreens ();
10287 return 0;
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 case "$LIBEXT" in
10292 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10293 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'` ;;
10294 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10295 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10296 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10297 fi ;;
10298 esac
10300 rm -f core conftest.err conftest.$ac_objext \
10301 conftest$ac_exeext conftest.$ac_ext
10302 LIBS=$ac_check_soname_save_LIBS
10304 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10306 $as_echo "not found" >&6; }
10308 else
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10310 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10312 cat >>confdefs.h <<_ACEOF
10313 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10314 _ACEOF
10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10321 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10322 case "x$with_xinerama" in
10323 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10324 xno) ;;
10325 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10326 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10327 esac
10330 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10331 then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10333 $as_echo_n "checking for -lXcomposite... " >&6; }
10334 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_check_soname_save_LIBS=$LIBS
10338 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10342 /* Override any GCC internal prototype to avoid an error.
10343 Use char because int might match the return type of a GCC
10344 builtin and then its argument prototype would still apply. */
10345 #ifdef __cplusplus
10346 extern "C"
10347 #endif
10348 char XCompositeRedirectWindow ();
10350 main ()
10352 return XCompositeRedirectWindow ();
10354 return 0;
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358 case "$LIBEXT" in
10359 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10360 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'` ;;
10361 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10362 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10363 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10364 fi ;;
10365 esac
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 LIBS=$ac_check_soname_save_LIBS
10371 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10373 $as_echo "not found" >&6; }
10375 else
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10377 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10379 cat >>confdefs.h <<_ACEOF
10380 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10381 _ACEOF
10386 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10387 case "x$with_xcomposite" in
10388 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10389 xno) ;;
10390 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10391 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10392 esac
10395 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10396 #include <X11/Xlib.h>
10397 #endif
10399 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10401 cat >>confdefs.h <<_ACEOF
10402 #define HAVE_XICCALLBACK_CALLBACK 1
10403 _ACEOF
10407 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10408 #include <X11/Xlib.h>
10409 #endif
10411 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10413 cat >>confdefs.h <<_ACEOF
10414 #define HAVE_XEVENT_XCOOKIE 1
10415 _ACEOF
10422 opengl_msg=""
10423 if test "x$with_opengl" != "xno"
10424 then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10426 $as_echo_n "checking for -lGL... " >&6; }
10427 if ${ac_cv_lib_soname_GL+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_check_soname_save_LIBS=$LIBS
10431 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 char glXCreateContext ();
10443 main ()
10445 return glXCreateContext ();
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 case "$LIBEXT" in
10452 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if ${ac_cv_lib_soname_GL:+false} :; then :
10456 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10457 fi ;;
10458 esac
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_soname_save_LIBS
10464 if ${ac_cv_lib_soname_GL:+false} :; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10468 $as_echo_n "checking for -lGL... " >&6; }
10469 if ${ac_cv_lib_soname_GL+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_check_soname_save_LIBS=$LIBS
10473 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"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10480 #ifdef __cplusplus
10481 extern "C"
10482 #endif
10483 char glXCreateContext ();
10485 main ()
10487 return glXCreateContext ();
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 case "$LIBEXT" in
10494 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 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'` ;;
10496 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_GL:+false} :; then :
10498 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10499 fi ;;
10500 esac
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_GL:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10509 if test -f /usr/X11R6/lib/libGL.a
10510 then
10511 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10512 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10513 else
10514 opengl_msg="No OpenGL library found on this system."
10516 else
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10518 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10520 cat >>confdefs.h <<_ACEOF
10521 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10522 _ACEOF
10524 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"
10526 else
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10528 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10530 cat >>confdefs.h <<_ACEOF
10531 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10532 _ACEOF
10534 OPENGL_LIBS="-lGL"
10536 if test "x$with_glu" != "xno"
10537 then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10539 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10540 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_check_lib_save_LIBS=$LIBS
10544 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10551 #ifdef __cplusplus
10552 extern "C"
10553 #endif
10554 char gluLookAt ();
10556 main ()
10558 return gluLookAt ();
10560 return 0;
10562 _ACEOF
10563 if ac_fn_c_try_link "$LINENO"; then :
10564 ac_cv_lib_GLU_gluLookAt=yes
10565 else
10566 ac_cv_lib_GLU_gluLookAt=no
10568 rm -f core conftest.err conftest.$ac_objext \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10573 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10574 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10578 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10579 case "x$with_glu" in
10580 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10581 xno) ;;
10582 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10583 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10584 esac
10588 if test "x$with_osmesa" != "xno"
10589 then
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10591 $as_echo_n "checking for -lOSMesa... " >&6; }
10592 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_check_soname_save_LIBS=$LIBS
10596 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10600 /* Override any GCC internal prototype to avoid an error.
10601 Use char because int might match the return type of a GCC
10602 builtin and then its argument prototype would still apply. */
10603 #ifdef __cplusplus
10604 extern "C"
10605 #endif
10606 char glAccum ();
10608 main ()
10610 return glAccum ();
10612 return 0;
10614 _ACEOF
10615 if ac_fn_c_try_link "$LINENO"; then :
10616 case "$LIBEXT" in
10617 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10618 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'` ;;
10619 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10620 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10621 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10622 fi ;;
10623 esac
10625 rm -f core conftest.err conftest.$ac_objext \
10626 conftest$ac_exeext conftest.$ac_ext
10627 LIBS=$ac_check_soname_save_LIBS
10629 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10631 $as_echo "not found" >&6; }
10633 else
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10635 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10637 cat >>confdefs.h <<_ACEOF
10638 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10639 _ACEOF
10643 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10644 case "x$with_osmesa" in
10645 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10646 xno) ;;
10647 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10648 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10649 esac
10653 if test -n "$opengl_msg"; then :
10654 case "x$with_opengl" in
10655 x) as_fn_append wine_warnings "|$opengl_msg
10656 OpenGL and Direct3D won't be supported." ;;
10657 xno) ;;
10658 *) as_fn_error $? "$opengl_msg
10659 OpenGL and Direct3D won't be supported.
10660 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10661 esac
10664 CPPFLAGS="$ac_save_CPPFLAGS"
10665 else
10666 X_CFLAGS=""
10667 X_LIBS=""
10668 enable_winex11_drv=${enable_winex11_drv:-no}
10670 if test "x$X_LIBS" = "x"; then :
10671 case "x$with_x" in
10672 xno) ;;
10673 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10674 without X support, which probably isn't what you want. You will need
10675 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10676 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10677 esac
10680 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10682 if test "$ac_cv_header_CL_cl_h" = "yes"
10683 then
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10685 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10686 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10687 $as_echo_n "(cached) " >&6
10688 else
10689 ac_check_lib_save_LIBS=$LIBS
10690 LIBS="-lOpenCL $LIBS"
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10697 #ifdef __cplusplus
10698 extern "C"
10699 #endif
10700 char clGetPlatformInfo ();
10702 main ()
10704 return clGetPlatformInfo ();
10706 return 0;
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10711 else
10712 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10719 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10720 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10721 OPENCL_LIBS="-lOpenCL"
10726 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10727 case "x$with_opencl" in
10728 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10729 xno) ;;
10730 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10731 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10732 esac
10734 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10736 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10737 then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10739 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10740 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10741 $as_echo_n "(cached) " >&6
10742 else
10743 ac_check_lib_save_LIBS=$LIBS
10744 LIBS="-lpcap $LIBS"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10748 /* Override any GCC internal prototype to avoid an error.
10749 Use char because int might match the return type of a GCC
10750 builtin and then its argument prototype would still apply. */
10751 #ifdef __cplusplus
10752 extern "C"
10753 #endif
10754 char pcap_create ();
10756 main ()
10758 return pcap_create ();
10760 return 0;
10762 _ACEOF
10763 if ac_fn_c_try_link "$LINENO"; then :
10764 ac_cv_lib_pcap_pcap_create=yes
10765 else
10766 ac_cv_lib_pcap_pcap_create=no
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 LIBS=$ac_check_lib_save_LIBS
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10773 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10774 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10775 LIBPCAP="-lpcap"
10780 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10781 case "x$with_pcap" in
10782 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10785 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10786 esac
10788 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10791 if test "x$with_xml" != "xno"
10792 then
10793 if ${XML2_CFLAGS:+false} :; then :
10794 if ${PKG_CONFIG+:} false; then :
10795 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10798 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10799 if ${XML2_LIBS:+false} :; then :
10800 if ${PKG_CONFIG+:} false; then :
10801 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10804 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10805 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10806 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10807 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10808 ac_save_CPPFLAGS=$CPPFLAGS
10809 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10810 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10811 do :
10812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10813 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10814 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10815 cat >>confdefs.h <<_ACEOF
10816 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10817 _ACEOF
10821 done
10823 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"
10824 then
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10826 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10827 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10828 $as_echo_n "(cached) " >&6
10829 else
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-lxml2 $XML2_LIBS $LIBS"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char xmlParseMemory ();
10843 main ()
10845 return xmlParseMemory ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10851 ac_cv_lib_xml2_xmlParseMemory=yes
10852 else
10853 ac_cv_lib_xml2_xmlParseMemory=no
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10860 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10861 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10863 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10865 else
10866 XML2_LIBS=""
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10870 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10871 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10872 $as_echo_n "(cached) " >&6
10873 else
10874 ac_check_lib_save_LIBS=$LIBS
10875 LIBS="-lxml2 $XML2_LIBS $LIBS"
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10879 /* Override any GCC internal prototype to avoid an error.
10880 Use char because int might match the return type of a GCC
10881 builtin and then its argument prototype would still apply. */
10882 #ifdef __cplusplus
10883 extern "C"
10884 #endif
10885 char xmlReadMemory ();
10887 main ()
10889 return xmlReadMemory ();
10891 return 0;
10893 _ACEOF
10894 if ac_fn_c_try_link "$LINENO"; then :
10895 ac_cv_lib_xml2_xmlReadMemory=yes
10896 else
10897 ac_cv_lib_xml2_xmlReadMemory=no
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_lib_save_LIBS
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10904 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10905 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10907 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10912 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10913 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10914 $as_echo_n "(cached) " >&6
10915 else
10916 ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-lxml2 $XML2_LIBS $LIBS"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10924 #ifdef __cplusplus
10925 extern "C"
10926 #endif
10927 char xmlNewDocPI ();
10929 main ()
10931 return xmlNewDocPI ();
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 ac_cv_lib_xml2_xmlNewDocPI=yes
10938 else
10939 ac_cv_lib_xml2_xmlNewDocPI=no
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10946 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10947 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10949 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10954 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10955 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-lxml2 $XML2_LIBS $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char xmlSchemaSetParserStructuredErrors ();
10971 main ()
10973 return xmlSchemaSetParserStructuredErrors ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10980 else
10981 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10988 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10989 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10991 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10996 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10997 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-lxml2 $XML2_LIBS $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char xmlSchemaSetValidStructuredErrors ();
11013 main ()
11015 return xmlSchemaSetValidStructuredErrors ();
11017 return 0;
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11022 else
11023 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11030 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11031 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11033 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11038 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11039 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11040 $as_echo_n "(cached) " >&6
11041 else
11042 ac_check_lib_save_LIBS=$LIBS
11043 LIBS="-lxml2 $XML2_LIBS $LIBS"
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 char xmlFirstElementChild ();
11055 main ()
11057 return xmlFirstElementChild ();
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 ac_cv_lib_xml2_xmlFirstElementChild=yes
11064 else
11065 ac_cv_lib_xml2_xmlFirstElementChild=no
11067 rm -f core conftest.err conftest.$ac_objext \
11068 conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11072 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11073 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11075 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11079 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11081 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11083 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11087 else
11088 XML2_CFLAGS=""
11089 XML2_LIBS=""
11091 CPPFLAGS=$ac_save_CPPFLAGS
11092 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11093 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11096 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11097 case "x$with_xml" in
11098 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11099 xno) ;;
11100 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11101 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11102 esac
11105 if test "x$with_xslt" != "xno"
11106 then
11107 if ${XSLT_CFLAGS:+false} :; then :
11108 if ${PKG_CONFIG+:} false; then :
11109 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11112 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11113 if ${XSLT_LIBS:+false} :; then :
11114 if ${PKG_CONFIG+:} false; then :
11115 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11118 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11119 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11120 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11121 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11122 ac_save_CPPFLAGS=$CPPFLAGS
11123 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11124 for ac_header in libxslt/pattern.h libxslt/transform.h
11125 do :
11126 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11127 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11128 # include <libxslt/pattern.h>
11129 #endif
11131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11132 cat >>confdefs.h <<_ACEOF
11133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11134 _ACEOF
11138 done
11140 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11141 then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11143 $as_echo_n "checking for -lxslt... " >&6; }
11144 if ${ac_cv_lib_soname_xslt+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_soname_save_LIBS=$LIBS
11148 LIBS="-lxslt $XSLT_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char xsltCompilePattern ();
11160 main ()
11162 return xsltCompilePattern ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 case "$LIBEXT" in
11169 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11170 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'` ;;
11171 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11172 if ${ac_cv_lib_soname_xslt:+false} :; then :
11173 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11174 fi ;;
11175 esac
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_soname_save_LIBS
11181 if ${ac_cv_lib_soname_xslt:+false} :; then :
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11183 $as_echo "not found" >&6; }
11185 else
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11187 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11189 cat >>confdefs.h <<_ACEOF
11190 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11191 _ACEOF
11195 else
11196 XSLT_CFLAGS=""
11198 CPPFLAGS=$ac_save_CPPFLAGS
11199 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11200 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11203 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11204 case "x$with_xslt" in
11205 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11206 xno) ;;
11207 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11208 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11209 esac
11212 if test "x$with_dbus" != "xno"
11213 then
11214 if ${DBUS_CFLAGS:+false} :; then :
11215 if ${PKG_CONFIG+:} false; then :
11216 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11220 if ${DBUS_LIBS:+false} :; then :
11221 if ${PKG_CONFIG+:} false; then :
11222 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11227 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11228 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11229 ac_save_CPPFLAGS=$CPPFLAGS
11230 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11231 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11232 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11234 $as_echo_n "checking for -ldbus-1... " >&6; }
11235 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_soname_save_LIBS=$LIBS
11239 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char dbus_connection_close ();
11251 main ()
11253 return dbus_connection_close ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 case "$LIBEXT" in
11260 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) 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'`
11263 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11264 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11265 fi ;;
11266 esac
11268 rm -f core conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
11270 LIBS=$ac_check_soname_save_LIBS
11272 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11275 DBUS_CFLAGS=""
11276 else
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11278 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11280 cat >>confdefs.h <<_ACEOF
11281 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11282 _ACEOF
11286 else
11287 DBUS_CFLAGS=""
11291 CPPFLAGS=$ac_save_CPPFLAGS
11292 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11293 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11296 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11297 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11298 case "x$with_dbus" in
11299 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11300 xno) ;;
11301 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11302 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11303 esac
11306 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11307 then
11308 if ${HAL_CFLAGS:+false} :; then :
11309 if ${PKG_CONFIG+:} false; then :
11310 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11314 if ${HAL_LIBS:+false} :; then :
11315 if ${PKG_CONFIG+:} false; then :
11316 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11320 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11321 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11322 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11323 ac_save_CPPFLAGS=$CPPFLAGS
11324 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11325 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11326 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11328 $as_echo_n "checking for -lhal... " >&6; }
11329 if ${ac_cv_lib_soname_hal+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_soname_save_LIBS=$LIBS
11333 LIBS="-lhal $HAL_LIBS $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char libhal_ctx_new ();
11345 main ()
11347 return libhal_ctx_new ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 case "$LIBEXT" in
11354 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11355 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'` ;;
11356 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11357 if ${ac_cv_lib_soname_hal:+false} :; then :
11358 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11359 fi ;;
11360 esac
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_soname_save_LIBS
11366 if ${ac_cv_lib_soname_hal:+false} :; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11368 $as_echo "not found" >&6; }
11369 HAL_CFLAGS=""
11370 else
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11372 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11374 cat >>confdefs.h <<_ACEOF
11375 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11376 _ACEOF
11380 else
11381 HAL_CFLAGS=""
11385 CPPFLAGS=$ac_save_CPPFLAGS
11386 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11387 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11389 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11390 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11391 case "x$with_hal" in
11392 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11393 xno) ;;
11394 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11395 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11396 esac
11400 if test "x$with_gnutls" != "xno"
11401 then
11402 if ${GNUTLS_CFLAGS:+false} :; then :
11403 if ${PKG_CONFIG+:} false; then :
11404 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11408 if ${GNUTLS_LIBS:+false} :; then :
11409 if ${PKG_CONFIG+:} false; then :
11410 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11415 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11416 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11417 ac_save_CPPFLAGS=$CPPFLAGS
11418 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11419 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11420 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423 #include <gnutls/gnutls.h>
11424 #include <gnutls/crypto.h>
11426 main ()
11428 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11430 return 0;
11432 _ACEOF
11433 if ac_fn_c_try_compile "$LINENO"; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11435 $as_echo_n "checking for -lgnutls... " >&6; }
11436 if ${ac_cv_lib_soname_gnutls+:} false; then :
11437 $as_echo_n "(cached) " >&6
11438 else
11439 ac_check_soname_save_LIBS=$LIBS
11440 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char gnutls_global_init ();
11452 main ()
11454 return gnutls_global_init ();
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 case "$LIBEXT" in
11461 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11462 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'` ;;
11463 *) 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'`
11464 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11465 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'`
11466 fi ;;
11467 esac
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_soname_save_LIBS
11473 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11476 GNUTLS_CFLAGS=""
11477 else
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11479 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11481 cat >>confdefs.h <<_ACEOF
11482 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11483 _ACEOF
11488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11489 else
11490 GNUTLS_CFLAGS=""
11494 CPPFLAGS=$ac_save_CPPFLAGS
11495 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11496 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11499 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11500 case "x$with_gnutls" in
11501 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11502 xno) ;;
11503 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11504 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11505 esac
11508 CURSES_LIBS=""
11509 if test "$ac_cv_header_ncurses_h" = "yes"
11510 then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11512 $as_echo_n "checking for -lncurses... " >&6; }
11513 if ${ac_cv_lib_soname_ncurses+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_soname_save_LIBS=$LIBS
11517 LIBS="-lncurses $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char waddch ();
11529 main ()
11531 return waddch ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 case "$LIBEXT" in
11538 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) 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'`
11541 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11542 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11543 fi ;;
11544 esac
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11556 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11560 _ACEOF
11562 CURSES_LIBS="-lncurses"
11564 elif test "$ac_cv_header_curses_h" = "yes"
11565 then
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11567 $as_echo_n "checking for -lcurses... " >&6; }
11568 if ${ac_cv_lib_soname_curses+:} false; then :
11569 $as_echo_n "(cached) " >&6
11570 else
11571 ac_check_soname_save_LIBS=$LIBS
11572 LIBS="-lcurses $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char waddch ();
11584 main ()
11586 return waddch ();
11588 return 0;
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592 case "$LIBEXT" in
11593 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11594 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'` ;;
11595 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11596 if ${ac_cv_lib_soname_curses:+false} :; then :
11597 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11598 fi ;;
11599 esac
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_soname_save_LIBS
11605 if ${ac_cv_lib_soname_curses:+false} :; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11609 else
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11611 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11615 _ACEOF
11617 CURSES_LIBS="-lcurses"
11620 ac_save_LIBS="$LIBS"
11621 LIBS="$LIBS $CURSES_LIBS"
11622 for ac_func in mousemask
11623 do :
11624 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11625 if test "x$ac_cv_func_mousemask" = xyes; then :
11626 cat >>confdefs.h <<_ACEOF
11627 #define HAVE_MOUSEMASK 1
11628 _ACEOF
11631 done
11633 LIBS="$ac_save_LIBS"
11634 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11635 case "x$with_curses" in
11636 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11637 xno) ;;
11638 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11639 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11640 esac
11643 if test "x$with_sane" != "xno"
11644 then
11645 if ${SANE_CFLAGS:+false} :; then :
11646 if ${PKG_CONFIG+:} false; then :
11647 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11650 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11651 if ${SANE_LIBS:+false} :; then :
11652 if ${PKG_CONFIG+:} false; then :
11653 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11656 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11658 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11659 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11660 ac_save_CPPFLAGS=$CPPFLAGS
11661 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11662 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11663 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11665 $as_echo_n "checking for -lsane... " >&6; }
11666 if ${ac_cv_lib_soname_sane+:} false; then :
11667 $as_echo_n "(cached) " >&6
11668 else
11669 ac_check_soname_save_LIBS=$LIBS
11670 LIBS="-lsane $SANE_LIBS $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char sane_init ();
11682 main ()
11684 return sane_init ();
11686 return 0;
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 case "$LIBEXT" in
11691 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11692 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'` ;;
11693 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11694 if ${ac_cv_lib_soname_sane:+false} :; then :
11695 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11696 fi ;;
11697 esac
11699 rm -f core conftest.err conftest.$ac_objext \
11700 conftest$ac_exeext conftest.$ac_ext
11701 LIBS=$ac_check_soname_save_LIBS
11703 if ${ac_cv_lib_soname_sane:+false} :; then :
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11705 $as_echo "not found" >&6; }
11706 SANE_CFLAGS=""
11707 else
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11709 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11711 cat >>confdefs.h <<_ACEOF
11712 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11713 _ACEOF
11717 else
11718 SANE_CFLAGS=""
11722 CPPFLAGS=$ac_save_CPPFLAGS
11723 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11724 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11727 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11728 case "x$with_sane" in
11729 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11730 xno) ;;
11731 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11732 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11733 esac
11736 if test "x$with_v4l" != "xno"
11737 then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11739 $as_echo_n "checking for -lv4l1... " >&6; }
11740 if ${ac_cv_lib_soname_v4l1+:} false; then :
11741 $as_echo_n "(cached) " >&6
11742 else
11743 ac_check_soname_save_LIBS=$LIBS
11744 LIBS="-lv4l1 $LIBS"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11751 #ifdef __cplusplus
11752 extern "C"
11753 #endif
11754 char v4l1_open ();
11756 main ()
11758 return v4l1_open ();
11760 return 0;
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 case "$LIBEXT" in
11765 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11766 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'` ;;
11767 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11768 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11769 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11770 fi ;;
11771 esac
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_soname_save_LIBS
11777 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11781 else
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11783 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11785 cat >>confdefs.h <<_ACEOF
11786 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11787 _ACEOF
11792 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11793 case "x$with_v4l" in
11794 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11795 xno) ;;
11796 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11797 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11798 esac
11801 if test "x$with_gphoto" != "xno"
11802 then
11803 if ${GPHOTO2_CFLAGS:+false} :; then :
11804 if ${PKG_CONFIG+:} false; then :
11805 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11808 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11809 if ${GPHOTO2_LIBS:+false} :; then :
11810 if ${PKG_CONFIG+:} false; then :
11811 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11814 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11815 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11816 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11817 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11818 ac_save_CPPFLAGS=$CPPFLAGS
11819 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11820 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11821 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11823 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11824 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 ac_check_lib_save_LIBS=$LIBS
11828 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11835 #ifdef __cplusplus
11836 extern "C"
11837 #endif
11838 char gp_camera_new ();
11840 main ()
11842 return gp_camera_new ();
11844 return 0;
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 ac_cv_lib_gphoto2_gp_camera_new=yes
11849 else
11850 ac_cv_lib_gphoto2_gp_camera_new=no
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_lib_save_LIBS
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11857 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11858 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11860 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11862 else
11863 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11866 else
11867 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11871 CPPFLAGS=$ac_save_CPPFLAGS
11872 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11873 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11875 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11876 if ${PKG_CONFIG+:} false; then :
11877 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11880 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11881 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11882 if ${PKG_CONFIG+:} false; then :
11883 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11886 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11887 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11888 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11889 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11890 ac_save_CPPFLAGS=$CPPFLAGS
11891 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11892 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11893 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11895 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11896 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11897 $as_echo_n "(cached) " >&6
11898 else
11899 ac_check_lib_save_LIBS=$LIBS
11900 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11907 #ifdef __cplusplus
11908 extern "C"
11909 #endif
11910 char gp_port_info_list_new ();
11912 main ()
11914 return gp_port_info_list_new ();
11916 return 0;
11918 _ACEOF
11919 if ac_fn_c_try_link "$LINENO"; then :
11920 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11921 else
11922 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11924 rm -f core conftest.err conftest.$ac_objext \
11925 conftest$ac_exeext conftest.$ac_ext
11926 LIBS=$ac_check_lib_save_LIBS
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11929 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11930 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11932 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11934 else
11935 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11938 else
11939 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11943 CPPFLAGS=$ac_save_CPPFLAGS
11944 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11945 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11948 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11949 case "x$with_gphoto" in
11950 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11951 xno) ;;
11952 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11953 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11954 esac
11956 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11957 case "x$with_gphoto" in
11958 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11959 xno) ;;
11960 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11961 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11962 esac
11966 if test "$ac_cv_header_resolv_h" = "yes"
11967 then
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11969 $as_echo_n "checking for resolver library... " >&6; }
11970 if ${ac_cv_have_resolv+:} false; then :
11971 $as_echo_n "(cached) " >&6
11972 else
11973 ac_save_LIBS="$LIBS"
11974 for lib in '' -lresolv
11976 LIBS="$lib $ac_save_LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11979 #ifdef HAVE_NETINET_IN_H
11980 #include <netinet/in.h>
11981 #endif
11982 #include <resolv.h>
11984 main ()
11986 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 ac_cv_have_resolv=${lib:-"none required"}
11993 else
11994 ac_cv_have_resolv="not found"
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 test "x$ac_cv_have_resolv" = "xnot found" || break
11999 done
12000 LIBS="$ac_save_LIBS"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12003 $as_echo "$ac_cv_have_resolv" >&6; }
12005 case "$ac_cv_have_resolv" in
12006 "not found") ;;
12007 "none required")
12009 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12012 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12014 RESOLV_LIBS=$ac_cv_have_resolv
12016 esac
12019 if test "x$with_cms" != "xno"
12020 then
12021 if ${LCMS2_CFLAGS:+false} :; then :
12022 if ${PKG_CONFIG+:} false; then :
12023 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12027 if ${LCMS2_LIBS:+false} :; then :
12028 if ${PKG_CONFIG+:} false; then :
12029 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12033 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12034 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12036 ac_save_CPPFLAGS=$CPPFLAGS
12037 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12038 for ac_header in lcms2.h
12039 do :
12040 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12041 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12042 cat >>confdefs.h <<_ACEOF
12043 #define HAVE_LCMS2_H 1
12044 _ACEOF
12048 done
12050 if test "$ac_cv_header_lcms2_h" = "yes"
12051 then
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12053 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12054 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12055 $as_echo_n "(cached) " >&6
12056 else
12057 ac_check_lib_save_LIBS=$LIBS
12058 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 /* Override any GCC internal prototype to avoid an error.
12063 Use char because int might match the return type of a GCC
12064 builtin and then its argument prototype would still apply. */
12065 #ifdef __cplusplus
12066 extern "C"
12067 #endif
12068 char cmsOpenProfileFromFile ();
12070 main ()
12072 return cmsOpenProfileFromFile ();
12074 return 0;
12076 _ACEOF
12077 if ac_fn_c_try_link "$LINENO"; then :
12078 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12079 else
12080 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_lib_save_LIBS
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12087 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12088 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12090 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12092 else
12093 LCMS2_LIBS=""
12096 else
12097 LCMS2_CFLAGS=""
12098 LCMS2_LIBS=""
12100 CPPFLAGS=$ac_save_CPPFLAGS
12101 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12102 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12105 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12106 case "x$with_cms" in
12107 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12108 xno) ;;
12109 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12110 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12111 esac
12114 if test "x$with_freetype" != "xno"
12115 then
12116 if ${FREETYPE_CFLAGS:+false} :; then :
12117 if ${PKG_CONFIG+:} false; then :
12118 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12121 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12122 if ${FREETYPE_LIBS:+false} :; then :
12123 if ${PKG_CONFIG+:} false; then :
12124 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12127 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12128 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12129 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12130 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12131 ac_save_CPPFLAGS=$CPPFLAGS
12132 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12133 for ac_header in ft2build.h
12134 do :
12135 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12137 cat >>confdefs.h <<_ACEOF
12138 #define HAVE_FT2BUILD_H 1
12139 _ACEOF
12143 done
12145 if test "$ac_cv_header_ft2build_h" = "yes"
12146 then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12148 $as_echo_n "checking for -lfreetype... " >&6; }
12149 if ${ac_cv_lib_soname_freetype+:} false; then :
12150 $as_echo_n "(cached) " >&6
12151 else
12152 ac_check_soname_save_LIBS=$LIBS
12153 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12160 #ifdef __cplusplus
12161 extern "C"
12162 #endif
12163 char FT_Init_FreeType ();
12165 main ()
12167 return FT_Init_FreeType ();
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 case "$LIBEXT" in
12174 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12175 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'` ;;
12176 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12177 if ${ac_cv_lib_soname_freetype:+false} :; then :
12178 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12179 fi ;;
12180 esac
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_soname_save_LIBS
12186 if ${ac_cv_lib_soname_freetype:+false} :; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12188 $as_echo "not found" >&6; }
12189 FREETYPE_LIBS=""
12190 else
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12192 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12194 cat >>confdefs.h <<_ACEOF
12195 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12196 _ACEOF
12199 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12201 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12202 #include FT_MODULE_H
12204 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12206 cat >>confdefs.h <<_ACEOF
12207 #define HAVE_FT_TRUETYPEENGINETYPE 1
12208 _ACEOF
12214 else
12215 FREETYPE_CFLAGS=""
12216 FREETYPE_LIBS=""
12218 CPPFLAGS=$ac_save_CPPFLAGS
12219 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12220 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12223 if test "x$ac_cv_lib_soname_freetype" = x; then :
12224 case "x$with_freetype" in
12225 xno) ;;
12226 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12227 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12228 esac
12230 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12233 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12234 if ${ac_cv_c_ppdev+:} false; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 #ifdef HAVE_SYS_IOCTL_H
12240 # include <sys/ioctl.h>
12241 #endif
12242 #include <linux/ppdev.h>
12244 main ()
12246 ioctl (1,PPCLAIM,0)
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_compile "$LINENO"; then :
12252 ac_cv_c_ppdev="yes"
12253 else
12254 ac_cv_c_ppdev="no"
12256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12259 $as_echo "$ac_cv_c_ppdev" >&6; }
12260 if test "$ac_cv_c_ppdev" = "yes"
12261 then
12263 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12267 ac_wine_check_funcs_save_LIBS="$LIBS"
12268 LIBS="$LIBS $PTHREAD_LIBS"
12269 for ac_func in \
12270 pthread_attr_get_np \
12271 pthread_getattr_np \
12272 pthread_getthreadid_np \
12273 pthread_get_stackaddr_np \
12274 pthread_get_stacksize_np
12275 do :
12276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12279 cat >>confdefs.h <<_ACEOF
12280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12281 _ACEOF
12284 done
12286 LIBS="$ac_wine_check_funcs_save_LIBS"
12288 if test "$ac_cv_header_zlib_h" = "yes"
12289 then
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12291 $as_echo_n "checking for inflate in -lz... " >&6; }
12292 if ${ac_cv_lib_z_inflate+:} false; then :
12293 $as_echo_n "(cached) " >&6
12294 else
12295 ac_check_lib_save_LIBS=$LIBS
12296 LIBS="-lz $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 #ifdef __cplusplus
12304 extern "C"
12305 #endif
12306 char inflate ();
12308 main ()
12310 return inflate ();
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_link "$LINENO"; then :
12316 ac_cv_lib_z_inflate=yes
12317 else
12318 ac_cv_lib_z_inflate=no
12320 rm -f core conftest.err conftest.$ac_objext \
12321 conftest$ac_exeext conftest.$ac_ext
12322 LIBS=$ac_check_lib_save_LIBS
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12325 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12326 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12328 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12330 Z_LIBS="-lz"
12335 if test "x$Z_LIBS" = "x"; then :
12336 case "x$with_zlib" in
12337 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12338 xno) ;;
12339 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12340 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12341 esac
12344 if test "x$enable_tools" != xno
12345 then
12346 if test "$ac_cv_header_gettext_po_h" = "yes"
12347 then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12349 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12350 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12351 $as_echo_n "(cached) " >&6
12352 else
12353 ac_check_lib_save_LIBS=$LIBS
12354 LIBS="-lgettextpo $LIBS"
12355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12356 /* end confdefs.h. */
12358 /* Override any GCC internal prototype to avoid an error.
12359 Use char because int might match the return type of a GCC
12360 builtin and then its argument prototype would still apply. */
12361 #ifdef __cplusplus
12362 extern "C"
12363 #endif
12364 char po_message_msgctxt ();
12366 main ()
12368 return po_message_msgctxt ();
12370 return 0;
12372 _ACEOF
12373 if ac_fn_c_try_link "$LINENO"; then :
12374 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12375 else
12376 ac_cv_lib_gettextpo_po_message_msgctxt=no
12378 rm -f core conftest.err conftest.$ac_objext \
12379 conftest$ac_exeext conftest.$ac_ext
12380 LIBS=$ac_check_lib_save_LIBS
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12383 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12384 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12386 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12388 GETTEXTPO_LIBS="-lgettextpo"
12393 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12394 case "x$with_gettextpo" in
12395 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12396 xno) ;;
12397 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12398 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12399 esac
12403 if test "x$with_gstreamer" != "xno"
12404 then
12405 if ${GSTREAMER_CFLAGS:+false} :; then :
12406 if ${PKG_CONFIG+:} false; then :
12407 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12411 if ${GSTREAMER_LIBS:+false} :; then :
12412 if ${PKG_CONFIG+:} false; then :
12413 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12418 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12419 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12420 ac_save_CPPFLAGS=$CPPFLAGS
12421 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12422 ac_gst_incl=""
12423 for i in $GSTREAMER_CFLAGS
12425 case "$i" in
12426 -I*) ac_gst_incl="$ac_gst_incl $i";;
12427 esac
12428 done
12429 GSTREAMER_CFLAGS=$ac_gst_incl
12430 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12431 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12432 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12433 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12434 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12436 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12439 #include <gst/app/gstappsink.h>
12441 main ()
12443 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_compile "$LINENO"; then :
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12450 $as_echo "yes" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12452 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12453 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 ac_check_lib_save_LIBS=$LIBS
12457 LIBS="-lgstreamer-0.10 $LIBS"
12458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12464 #ifdef __cplusplus
12465 extern "C"
12466 #endif
12467 char gst_pad_get_caps_reffed ();
12469 main ()
12471 return gst_pad_get_caps_reffed ();
12473 return 0;
12475 _ACEOF
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12478 else
12479 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12486 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12487 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12489 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12490 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12491 $as_echo_n "(cached) " >&6
12492 else
12493 ac_check_lib_save_LIBS=$LIBS
12494 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12501 #ifdef __cplusplus
12502 extern "C"
12503 #endif
12504 char gst_app_buffer_new ();
12506 main ()
12508 return gst_app_buffer_new ();
12510 return 0;
12512 _ACEOF
12513 if ac_fn_c_try_link "$LINENO"; then :
12514 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12515 else
12516 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12518 rm -f core conftest.err conftest.$ac_objext \
12519 conftest$ac_exeext conftest.$ac_ext
12520 LIBS=$ac_check_lib_save_LIBS
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12523 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12524 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12538 else
12539 GSTREAMER_CFLAGS=""
12543 CPPFLAGS=$ac_save_CPPFLAGS
12544 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12545 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12548 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12549 case "x$with_gstreamer" in
12550 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12551 xno) ;;
12552 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12553 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12554 esac
12556 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12558 ALSA_LIBS=""
12560 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12563 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12564 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-lasound $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char snd_pcm_hw_params_get_access_mask ();
12580 main ()
12582 return snd_pcm_hw_params_get_access_mask ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12589 else
12590 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12592 rm -f core conftest.err conftest.$ac_objext \
12593 conftest$ac_exeext conftest.$ac_ext
12594 LIBS=$ac_check_lib_save_LIBS
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12597 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12598 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12601 #ifdef HAVE_ALSA_ASOUNDLIB_H
12602 #include <alsa/asoundlib.h>
12603 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12604 #include <sys/asoundlib.h>
12605 #endif
12607 main ()
12609 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_compile "$LINENO"; then :
12615 ALSA_LIBS="-lasound"
12617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12622 if test "x$with_oss" != xno
12623 then
12624 ac_save_CPPFLAGS="$CPPFLAGS"
12625 if test -f /etc/oss.conf
12626 then
12627 . /etc/oss.conf
12629 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12630 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12631 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12632 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12633 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12635 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12637 cat >>confdefs.h <<_ACEOF
12638 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12639 _ACEOF
12641 OSS4_CFLAGS="$ac_oss_incl"
12648 CPPFLAGS="$ac_save_CPPFLAGS"
12649 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12650 then
12651 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12655 if test "x$with_capi" != "xno"
12656 then
12657 if ${CAPI20_CFLAGS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12663 if ${CAPI20_LIBS:+false} :; then :
12664 if ${PKG_CONFIG+:} false; then :
12665 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12670 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12671 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12672 ac_save_CPPFLAGS=$CPPFLAGS
12673 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12674 for ac_header in capi20.h linux/capi.h
12675 do :
12676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12677 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12679 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12680 cat >>confdefs.h <<_ACEOF
12681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12682 _ACEOF
12686 done
12688 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12689 then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12691 $as_echo_n "checking for -lcapi20... " >&6; }
12692 if ${ac_cv_lib_soname_capi20+:} false; then :
12693 $as_echo_n "(cached) " >&6
12694 else
12695 ac_check_soname_save_LIBS=$LIBS
12696 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12698 /* end confdefs.h. */
12700 /* Override any GCC internal prototype to avoid an error.
12701 Use char because int might match the return type of a GCC
12702 builtin and then its argument prototype would still apply. */
12703 #ifdef __cplusplus
12704 extern "C"
12705 #endif
12706 char capi20_register ();
12708 main ()
12710 return capi20_register ();
12712 return 0;
12714 _ACEOF
12715 if ac_fn_c_try_link "$LINENO"; then :
12716 case "$LIBEXT" in
12717 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12718 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'` ;;
12719 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12720 if ${ac_cv_lib_soname_capi20:+false} :; then :
12721 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12722 fi ;;
12723 esac
12725 rm -f core conftest.err conftest.$ac_objext \
12726 conftest$ac_exeext conftest.$ac_ext
12727 LIBS=$ac_check_soname_save_LIBS
12729 if ${ac_cv_lib_soname_capi20:+false} :; then :
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12731 $as_echo "not found" >&6; }
12733 else
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12735 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12737 cat >>confdefs.h <<_ACEOF
12738 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12739 _ACEOF
12744 CPPFLAGS=$ac_save_CPPFLAGS
12745 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12746 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12749 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12750 case "x$with_capi" in
12751 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12754 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12755 esac
12758 CUPS_CFLAGS=""
12760 if test "x$with_cups" != "xno"
12761 then
12762 ac_save_CPPFLAGS="$CPPFLAGS"
12763 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12764 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12765 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12766 for ac_header in cups/cups.h
12767 do :
12768 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12770 cat >>confdefs.h <<_ACEOF
12771 #define HAVE_CUPS_CUPS_H 1
12772 _ACEOF
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12774 $as_echo_n "checking for -lcups... " >&6; }
12775 if ${ac_cv_lib_soname_cups+:} false; then :
12776 $as_echo_n "(cached) " >&6
12777 else
12778 ac_check_soname_save_LIBS=$LIBS
12779 LIBS="-lcups $ac_cups_libs $LIBS"
12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 /* end confdefs.h. */
12783 /* Override any GCC internal prototype to avoid an error.
12784 Use char because int might match the return type of a GCC
12785 builtin and then its argument prototype would still apply. */
12786 #ifdef __cplusplus
12787 extern "C"
12788 #endif
12789 char cupsGetDefault ();
12791 main ()
12793 return cupsGetDefault ();
12795 return 0;
12797 _ACEOF
12798 if ac_fn_c_try_link "$LINENO"; then :
12799 case "$LIBEXT" in
12800 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12801 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'` ;;
12802 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12803 if ${ac_cv_lib_soname_cups:+false} :; then :
12804 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12805 fi ;;
12806 esac
12808 rm -f core conftest.err conftest.$ac_objext \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS=$ac_check_soname_save_LIBS
12812 if ${ac_cv_lib_soname_cups:+false} :; then :
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12814 $as_echo "not found" >&6; }
12816 else
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12818 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12822 _ACEOF
12824 CUPS_CFLAGS="$ac_cups_cflags"
12828 done
12830 CPPFLAGS="$ac_save_CPPFLAGS"
12832 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12833 case "x$with_cups" in
12834 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12835 xno) ;;
12836 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12837 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12838 esac
12841 if test "x$with_fontconfig" != "xno"
12842 then
12843 if ${FONTCONFIG_CFLAGS:+false} :; then :
12844 if ${PKG_CONFIG+:} false; then :
12845 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12848 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12849 if ${FONTCONFIG_LIBS:+false} :; then :
12850 if ${PKG_CONFIG+:} false; then :
12851 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12854 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12856 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12857 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12858 ac_save_CPPFLAGS=$CPPFLAGS
12859 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12860 for ac_header in fontconfig/fontconfig.h
12861 do :
12862 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12864 cat >>confdefs.h <<_ACEOF
12865 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12866 _ACEOF
12870 done
12872 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12873 then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12875 $as_echo_n "checking for -lfontconfig... " >&6; }
12876 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12877 $as_echo_n "(cached) " >&6
12878 else
12879 ac_check_soname_save_LIBS=$LIBS
12880 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12887 #ifdef __cplusplus
12888 extern "C"
12889 #endif
12890 char FcInit ();
12892 main ()
12894 return FcInit ();
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 case "$LIBEXT" in
12901 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12902 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'` ;;
12903 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12904 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12905 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12906 fi ;;
12907 esac
12909 rm -f core conftest.err conftest.$ac_objext \
12910 conftest$ac_exeext conftest.$ac_ext
12911 LIBS=$ac_check_soname_save_LIBS
12913 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12915 $as_echo "not found" >&6; }
12916 FONTCONFIG_CFLAGS=""
12917 else
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12919 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12921 cat >>confdefs.h <<_ACEOF
12922 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12923 _ACEOF
12927 else
12928 FONTCONFIG_CFLAGS=""
12930 CPPFLAGS=$ac_save_CPPFLAGS
12931 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12932 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12935 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12936 case "x$with_fontconfig" in
12937 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12938 xno) ;;
12939 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12940 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12941 esac
12944 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12947 $as_echo_n "checking for -lgsm... " >&6; }
12948 if ${ac_cv_lib_soname_gsm+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_soname_save_LIBS=$LIBS
12952 LIBS="-lgsm $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char gsm_create ();
12964 main ()
12966 return gsm_create ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 case "$LIBEXT" in
12973 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12974 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'` ;;
12975 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12976 if ${ac_cv_lib_soname_gsm:+false} :; then :
12977 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12978 fi ;;
12979 esac
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12983 LIBS=$ac_check_soname_save_LIBS
12985 if ${ac_cv_lib_soname_gsm:+false} :; then :
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12987 $as_echo "not found" >&6; }
12989 else
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12991 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12993 cat >>confdefs.h <<_ACEOF
12994 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12995 _ACEOF
13000 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13001 case "x$with_gsm" in
13002 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13003 xno) ;;
13004 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13005 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13006 esac
13009 if test "x$with_jpeg" != "xno"
13010 then
13011 if ${JPEG_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13017 if ${JPEG_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13026 ac_save_CPPFLAGS=$CPPFLAGS
13027 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13028 for ac_header in jpeglib.h
13029 do :
13030 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_JPEGLIB_H 1
13034 _ACEOF
13038 done
13040 if test "$ac_cv_header_jpeglib_h" = "yes"
13041 then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13043 $as_echo_n "checking for -ljpeg... " >&6; }
13044 if ${ac_cv_lib_soname_jpeg+:} false; then :
13045 $as_echo_n "(cached) " >&6
13046 else
13047 ac_check_soname_save_LIBS=$LIBS
13048 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13055 #ifdef __cplusplus
13056 extern "C"
13057 #endif
13058 char jpeg_start_decompress ();
13060 main ()
13062 return jpeg_start_decompress ();
13064 return 0;
13066 _ACEOF
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 case "$LIBEXT" in
13069 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13070 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'` ;;
13071 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13072 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13073 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13074 fi ;;
13075 esac
13077 rm -f core conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 LIBS=$ac_check_soname_save_LIBS
13081 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13083 $as_echo "not found" >&6; }
13084 JPEG_CFLAGS=""
13085 else
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13087 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13089 cat >>confdefs.h <<_ACEOF
13090 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13091 _ACEOF
13095 else
13096 JPEG_CFLAGS=""
13098 CPPFLAGS=$ac_save_CPPFLAGS
13099 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13100 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13103 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13104 case "x$with_jpeg" in
13105 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13106 xno) ;;
13107 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13108 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13109 esac
13112 if test "x$with_png" != "xno"
13113 then
13114 if ${PNG_CFLAGS:+false} :; then :
13115 if ${PKG_CONFIG+:} false; then :
13116 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13119 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13120 if ${PNG_LIBS:+false} :; then :
13121 if ${PKG_CONFIG+:} false; then :
13122 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13125 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13127 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13128 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13129 ac_save_CPPFLAGS=$CPPFLAGS
13130 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13131 for ac_header in png.h
13132 do :
13133 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13134 if test "x$ac_cv_header_png_h" = xyes; then :
13135 cat >>confdefs.h <<_ACEOF
13136 #define HAVE_PNG_H 1
13137 _ACEOF
13141 done
13143 if test "$ac_cv_header_png_h" = "yes"
13144 then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13146 $as_echo_n "checking for -lpng... " >&6; }
13147 if ${ac_cv_lib_soname_png+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_soname_save_LIBS=$LIBS
13151 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char png_create_read_struct ();
13163 main ()
13165 return png_create_read_struct ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 case "$LIBEXT" in
13172 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13173 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'` ;;
13174 *) 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'`
13175 if ${ac_cv_lib_soname_png:+false} :; then :
13176 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13177 fi ;;
13178 esac
13180 rm -f core conftest.err conftest.$ac_objext \
13181 conftest$ac_exeext conftest.$ac_ext
13182 LIBS=$ac_check_soname_save_LIBS
13184 if ${ac_cv_lib_soname_png:+false} :; then :
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13186 $as_echo "not found" >&6; }
13187 PNG_CFLAGS=""
13188 else
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13190 $as_echo "$ac_cv_lib_soname_png" >&6; }
13192 cat >>confdefs.h <<_ACEOF
13193 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13194 _ACEOF
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h. */
13198 #include <png.h>
13200 main ()
13202 typeof(png_set_expand_gray_1_2_4_to_8) *p
13204 return 0;
13206 _ACEOF
13207 if ac_fn_c_try_compile "$LINENO"; then :
13209 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214 else
13215 PNG_CFLAGS=""
13217 CPPFLAGS=$ac_save_CPPFLAGS
13218 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13219 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13222 if test "x$ac_cv_lib_soname_png" = "x"; then :
13223 case "x$with_png" in
13224 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13225 xno) ;;
13226 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13227 This is an error since --with-png was requested." "$LINENO" 5 ;;
13228 esac
13231 if test "x$with_tiff" != "xno"
13232 then
13233 if ${TIFF_CFLAGS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13239 if ${TIFF_LIBS:+false} :; then :
13240 if ${PKG_CONFIG+:} false; then :
13241 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13248 ac_save_CPPFLAGS=$CPPFLAGS
13249 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13250 for ac_header in tiffio.h
13251 do :
13252 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13253 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_TIFFIO_H 1
13256 _ACEOF
13260 done
13262 if test "$ac_cv_header_tiffio_h" = "yes"
13263 then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13265 $as_echo_n "checking for -ltiff... " >&6; }
13266 if ${ac_cv_lib_soname_tiff+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_soname_save_LIBS=$LIBS
13270 LIBS="-ltiff $TIFF_LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char TIFFClientOpen ();
13282 main ()
13284 return TIFFClientOpen ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 case "$LIBEXT" in
13291 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_tiff:+false} :; then :
13295 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 fi ;;
13297 esac
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_tiff:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13309 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13313 _ACEOF
13318 CPPFLAGS=$ac_save_CPPFLAGS
13319 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13320 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13323 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13324 case "x$with_tiff" in
13325 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13328 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13329 esac
13332 if test "x$with_mpg123" != "xno"
13333 then
13334 if ${MPG123_CFLAGS:+false} :; then :
13335 if ${PKG_CONFIG+:} false; then :
13336 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13340 if ${MPG123_LIBS:+false} :; then :
13341 if ${PKG_CONFIG+:} false; then :
13342 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13346 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13347 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13349 ac_save_CPPFLAGS=$CPPFLAGS
13350 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13351 for ac_header in mpg123.h
13352 do :
13353 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13354 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13355 cat >>confdefs.h <<_ACEOF
13356 #define HAVE_MPG123_H 1
13357 _ACEOF
13361 done
13363 if test "$ac_cv_header_mpg123_h" = "yes"
13364 then
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13366 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13367 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13368 $as_echo_n "(cached) " >&6
13369 else
13370 ac_check_lib_save_LIBS=$LIBS
13371 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char mpg123_feed ();
13383 main ()
13385 return mpg123_feed ();
13387 return 0;
13389 _ACEOF
13390 if ac_fn_c_try_link "$LINENO"; then :
13391 ac_cv_lib_mpg123_mpg123_feed=yes
13392 else
13393 ac_cv_lib_mpg123_mpg123_feed=no
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13400 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13401 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13403 else
13404 MPG123_LIBS=""
13407 else
13408 MPG123_CFLAGS=""
13409 MPG123_LIBS=""
13411 CPPFLAGS=$ac_save_CPPFLAGS
13412 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13413 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13416 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13417 case "x$with_mpg123" in
13418 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13419 xno) ;;
13420 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13421 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13422 esac
13424 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}
13426 if test "$ac_cv_header_AL_al_h" = "yes"
13427 then
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13429 $as_echo_n "checking for -lopenal... " >&6; }
13430 if ${ac_cv_lib_soname_openal+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-lopenal $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char alGetSource3i ();
13446 main ()
13448 return alGetSource3i ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13458 if ${ac_cv_lib_soname_openal:+false} :; then :
13459 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_openal:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13473 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13477 _ACEOF
13479 OPENAL_LIBS="-lopenal"
13481 ac_cv_lib_openal=yes
13483 cat >>confdefs.h <<_ACEOF
13484 #define HAVE_OPENAL 1
13485 _ACEOF
13489 if test "x$ac_cv_lib_openal" != xyes; then :
13490 case "x$with_openal" in
13491 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13492 xno) ;;
13493 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13494 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13495 esac
13497 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13499 if test "$ac_cv_header_kstat_h" = "yes"
13500 then
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13502 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13503 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13504 $as_echo_n "(cached) " >&6
13505 else
13506 ac_check_lib_save_LIBS=$LIBS
13507 LIBS="-lkstat $LIBS"
13508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13509 /* end confdefs.h. */
13511 /* Override any GCC internal prototype to avoid an error.
13512 Use char because int might match the return type of a GCC
13513 builtin and then its argument prototype would still apply. */
13514 #ifdef __cplusplus
13515 extern "C"
13516 #endif
13517 char kstat_open ();
13519 main ()
13521 return kstat_open ();
13523 return 0;
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 ac_cv_lib_kstat_kstat_open=yes
13528 else
13529 ac_cv_lib_kstat_kstat_open=no
13531 rm -f core conftest.err conftest.$ac_objext \
13532 conftest$ac_exeext conftest.$ac_ext
13533 LIBS=$ac_check_lib_save_LIBS
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13536 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13537 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13539 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13541 KSTAT_LIBS="-lkstat"
13547 if test "$ac_cv_header_libprocstat_h" = "yes"
13548 then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13550 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13551 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_check_lib_save_LIBS=$LIBS
13555 LIBS="-lprocstat $LIBS"
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13562 #ifdef __cplusplus
13563 extern "C"
13564 #endif
13565 char procstat_open_sysctl ();
13567 main ()
13569 return procstat_open_sysctl ();
13571 return 0;
13573 _ACEOF
13574 if ac_fn_c_try_link "$LINENO"; then :
13575 ac_cv_lib_procstat_procstat_open_sysctl=yes
13576 else
13577 ac_cv_lib_procstat_procstat_open_sysctl=no
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 LIBS=$ac_check_lib_save_LIBS
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13584 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13585 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13587 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13589 PROCSTAT_LIBS="-lprocstat"
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13596 $as_echo_n "checking for -lodbc... " >&6; }
13597 if ${ac_cv_lib_soname_odbc+:} false; then :
13598 $as_echo_n "(cached) " >&6
13599 else
13600 ac_check_soname_save_LIBS=$LIBS
13601 LIBS="-lodbc $LIBS"
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13605 /* Override any GCC internal prototype to avoid an error.
13606 Use char because int might match the return type of a GCC
13607 builtin and then its argument prototype would still apply. */
13608 #ifdef __cplusplus
13609 extern "C"
13610 #endif
13611 char SQLConnect ();
13613 main ()
13615 return SQLConnect ();
13617 return 0;
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"; then :
13621 case "$LIBEXT" in
13622 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13623 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'` ;;
13624 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13625 if ${ac_cv_lib_soname_odbc:+false} :; then :
13626 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13627 fi ;;
13628 esac
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_soname_save_LIBS
13634 if ${ac_cv_lib_soname_odbc:+false} :; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13636 $as_echo "not found" >&6; }
13637 cat >>confdefs.h <<_ACEOF
13638 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13639 _ACEOF
13641 else
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13643 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13645 cat >>confdefs.h <<_ACEOF
13646 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13647 _ACEOF
13652 if test "x$with_netapi" != "xno"
13653 then
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13655 $as_echo_n "checking for -lnetapi... " >&6; }
13656 if ${ac_cv_lib_soname_netapi+:} false; then :
13657 $as_echo_n "(cached) " >&6
13658 else
13659 ac_check_soname_save_LIBS=$LIBS
13660 LIBS="-lnetapi $LIBS"
13661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 /* end confdefs.h. */
13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
13667 #ifdef __cplusplus
13668 extern "C"
13669 #endif
13670 char libnetapi_init ();
13672 main ()
13674 return libnetapi_init ();
13676 return 0;
13678 _ACEOF
13679 if ac_fn_c_try_link "$LINENO"; then :
13680 case "$LIBEXT" in
13681 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13684 if ${ac_cv_lib_soname_netapi:+false} :; then :
13685 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13686 fi ;;
13687 esac
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13691 LIBS=$ac_check_soname_save_LIBS
13693 if ${ac_cv_lib_soname_netapi:+false} :; then :
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695 $as_echo "not found" >&6; }
13696 cat >>confdefs.h <<_ACEOF
13697 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13698 _ACEOF
13700 else
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13702 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13704 cat >>confdefs.h <<_ACEOF
13705 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13706 _ACEOF
13712 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13713 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13714 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13715 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13717 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13718 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13719 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13720 then
13721 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13725 EXTRACFLAGS=""
13727 if test "x${GCC}" = "xyes"
13728 then
13729 EXTRACFLAGS="-Wall -pipe"
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13732 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13733 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13734 $as_echo_n "(cached) " >&6
13735 else
13736 if test "$cross_compiling" = yes; then :
13737 ac_cv_c_gcc_strength_bug="yes"
13738 else
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13741 int L[4] = {0,1,2,3};
13743 main ()
13745 static int Array[3];
13746 unsigned int B = 3;
13747 int i;
13748 for(i=0; i<B; i++) Array[i] = i - 3;
13749 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13750 L[i] = 4;
13751 return (Array[1] != -2 || L[2] != 3)
13753 return 0;
13755 _ACEOF
13756 if ac_fn_c_try_run "$LINENO"; then :
13757 ac_cv_c_gcc_strength_bug="no"
13758 else
13759 ac_cv_c_gcc_strength_bug="yes"
13761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13762 conftest.$ac_objext conftest.beam conftest.$ac_ext
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13767 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13768 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13769 then
13770 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13774 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13775 if ${ac_cv_cflags__fno_builtin+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_wine_try_cflags_saved=$CFLAGS
13779 CFLAGS="$CFLAGS -fno-builtin"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782 int main(int argc, char **argv) { return 0; }
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"; then :
13785 ac_cv_cflags__fno_builtin=yes
13786 else
13787 ac_cv_cflags__fno_builtin=no
13789 rm -f core conftest.err conftest.$ac_objext \
13790 conftest$ac_exeext conftest.$ac_ext
13791 CFLAGS=$ac_wine_try_cflags_saved
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13794 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13795 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13796 BUILTINFLAG="-fno-builtin"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13800 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13801 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13802 $as_echo_n "(cached) " >&6
13803 else
13804 ac_wine_try_cflags_saved=$CFLAGS
13805 CFLAGS="$CFLAGS -fno-strict-aliasing"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 int main(int argc, char **argv) { return 0; }
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 ac_cv_cflags__fno_strict_aliasing=yes
13812 else
13813 ac_cv_cflags__fno_strict_aliasing=no
13815 rm -f core conftest.err conftest.$ac_objext \
13816 conftest$ac_exeext conftest.$ac_ext
13817 CFLAGS=$ac_wine_try_cflags_saved
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13820 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13821 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13822 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13824 saved_CFLAGS=$CFLAGS
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13826 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13827 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 ac_wine_try_cflags_saved=$CFLAGS
13831 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13834 int main(int argc, char **argv) { return 0; }
13835 _ACEOF
13836 if ac_fn_c_try_link "$LINENO"; then :
13837 ac_cv_cflags__Werror_unknown_warning_option=yes
13838 else
13839 ac_cv_cflags__Werror_unknown_warning_option=no
13841 rm -f core conftest.err conftest.$ac_objext \
13842 conftest$ac_exeext conftest.$ac_ext
13843 CFLAGS=$ac_wine_try_cflags_saved
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13846 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13847 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13848 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13851 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13852 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13853 $as_echo_n "(cached) " >&6
13854 else
13855 ac_wine_try_cflags_saved=$CFLAGS
13856 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13859 int main(int argc, char **argv) { return 0; }
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 ac_cv_cflags__Wdeclaration_after_statement=yes
13863 else
13864 ac_cv_cflags__Wdeclaration_after_statement=no
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 CFLAGS=$ac_wine_try_cflags_saved
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13871 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13872 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13873 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13876 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13877 if ${ac_cv_cflags__Wempty_body+:} false; then :
13878 $as_echo_n "(cached) " >&6
13879 else
13880 ac_wine_try_cflags_saved=$CFLAGS
13881 CFLAGS="$CFLAGS -Wempty-body"
13882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13883 /* end confdefs.h. */
13884 int main(int argc, char **argv) { return 0; }
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 ac_cv_cflags__Wempty_body=yes
13888 else
13889 ac_cv_cflags__Wempty_body=no
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13893 CFLAGS=$ac_wine_try_cflags_saved
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13896 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13897 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13898 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13901 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13902 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13903 $as_echo_n "(cached) " >&6
13904 else
13905 ac_wine_try_cflags_saved=$CFLAGS
13906 CFLAGS="$CFLAGS -Wignored-qualifiers"
13907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13909 int main(int argc, char **argv) { return 0; }
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"; then :
13912 ac_cv_cflags__Wignored_qualifiers=yes
13913 else
13914 ac_cv_cflags__Wignored_qualifiers=no
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 CFLAGS=$ac_wine_try_cflags_saved
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13921 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13922 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13923 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13926 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13927 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13928 $as_echo_n "(cached) " >&6
13929 else
13930 ac_wine_try_cflags_saved=$CFLAGS
13931 CFLAGS="$CFLAGS -Wstrict-prototypes"
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 int main(int argc, char **argv) { return 0; }
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 ac_cv_cflags__Wstrict_prototypes=yes
13938 else
13939 ac_cv_cflags__Wstrict_prototypes=no
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 CFLAGS=$ac_wine_try_cflags_saved
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13946 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13947 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13948 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13951 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13952 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13953 $as_echo_n "(cached) " >&6
13954 else
13955 ac_wine_try_cflags_saved=$CFLAGS
13956 CFLAGS="$CFLAGS -Wtype-limits"
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13959 int main(int argc, char **argv) { return 0; }
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"; then :
13962 ac_cv_cflags__Wtype_limits=yes
13963 else
13964 ac_cv_cflags__Wtype_limits=no
13966 rm -f core conftest.err conftest.$ac_objext \
13967 conftest$ac_exeext conftest.$ac_ext
13968 CFLAGS=$ac_wine_try_cflags_saved
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13971 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13972 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13973 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13976 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13977 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_wine_try_cflags_saved=$CFLAGS
13981 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13984 int main(int argc, char **argv) { return 0; }
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_cflags__Wunused_but_set_parameter=yes
13988 else
13989 ac_cv_cflags__Wunused_but_set_parameter=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 CFLAGS=$ac_wine_try_cflags_saved
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13996 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13997 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13998 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14001 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14002 if ${ac_cv_cflags__Wvla+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_wine_try_cflags_saved=$CFLAGS
14006 CFLAGS="$CFLAGS -Wvla"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_cflags__Wvla=yes
14013 else
14014 ac_cv_cflags__Wvla=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 CFLAGS=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14021 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14022 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14023 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14026 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14027 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14028 $as_echo_n "(cached) " >&6
14029 else
14030 ac_wine_try_cflags_saved=$CFLAGS
14031 CFLAGS="$CFLAGS -Wwrite-strings"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int main(int argc, char **argv) { return 0; }
14035 _ACEOF
14036 if ac_fn_c_try_link "$LINENO"; then :
14037 ac_cv_cflags__Wwrite_strings=yes
14038 else
14039 ac_cv_cflags__Wwrite_strings=no
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 CFLAGS=$ac_wine_try_cflags_saved
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14046 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14047 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14048 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14052 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14053 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_wine_try_cflags_saved=$CFLAGS
14057 CFLAGS="$CFLAGS -Wpointer-arith"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_cflags__Wpointer_arith=yes
14064 else
14065 ac_cv_cflags__Wpointer_arith=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 CFLAGS=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14072 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14073 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14074 saved_string_h_CFLAGS=$CFLAGS
14075 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14077 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14078 if ${ac_cv_c_string_h_warnings+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 #include <string.h>
14085 main ()
14089 return 0;
14091 _ACEOF
14092 if ac_fn_c_try_compile "$LINENO"; then :
14093 ac_cv_c_string_h_warnings=no
14094 else
14095 ac_cv_c_string_h_warnings=yes
14097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14100 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14101 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14102 CFLAGS=$saved_string_h_CFLAGS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14106 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14107 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_wine_try_cflags_saved=$CFLAGS
14111 CFLAGS="$CFLAGS -Wlogical-op"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14114 int main(int argc, char **argv) { return 0; }
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"; then :
14117 ac_cv_cflags__Wlogical_op=yes
14118 else
14119 ac_cv_cflags__Wlogical_op=no
14121 rm -f core conftest.err conftest.$ac_objext \
14122 conftest$ac_exeext conftest.$ac_ext
14123 CFLAGS=$ac_wine_try_cflags_saved
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14126 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14127 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14128 saved_string_h_CFLAGS=$CFLAGS
14129 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14131 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14132 if ${ac_cv_c_logicalop_noisy+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #include <string.h>
14138 char*f(const char *h,char n) {return strchr(h,n);}
14140 main ()
14144 return 0;
14146 _ACEOF
14147 if ac_fn_c_try_compile "$LINENO"; then :
14148 ac_cv_c_logicalop_noisy=no
14149 else
14150 ac_cv_c_logicalop_noisy=yes
14152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14155 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14156 CFLAGS=$saved_string_h_CFLAGS
14157 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14160 CFLAGS=$saved_CFLAGS
14162 for ac_flag in $CFLAGS; do
14163 case $ac_flag in
14164 -g) case $host_os in
14165 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14166 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14167 if ${ac_cv_cflags__gstabsp+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 ac_wine_try_cflags_saved=$CFLAGS
14171 CFLAGS="$CFLAGS -gstabs+"
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 int main(int argc, char **argv) { return 0; }
14175 _ACEOF
14176 if ac_fn_c_try_link "$LINENO"; then :
14177 ac_cv_cflags__gstabsp=yes
14178 else
14179 ac_cv_cflags__gstabsp=no
14181 rm -f core conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 CFLAGS=$ac_wine_try_cflags_saved
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14186 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14187 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
14188 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14189 fi ;;
14190 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14191 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14192 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14193 $as_echo_n "(cached) " >&6
14194 else
14195 ac_wine_try_cflags_saved=$CFLAGS
14196 CFLAGS="$CFLAGS -gdwarf-2"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int main(int argc, char **argv) { return 0; }
14200 _ACEOF
14201 if ac_fn_c_try_link "$LINENO"; then :
14202 ac_cv_cflags__gdwarf_2=yes
14203 else
14204 ac_cv_cflags__gdwarf_2=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 CFLAGS=$ac_wine_try_cflags_saved
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14211 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14212 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14213 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14216 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14217 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_wine_try_cflags_saved=$CFLAGS
14221 CFLAGS="$CFLAGS -gstrict-dwarf"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14224 int main(int argc, char **argv) { return 0; }
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 ac_cv_cflags__gstrict_dwarf=yes
14228 else
14229 ac_cv_cflags__gstrict_dwarf=no
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 CFLAGS=$ac_wine_try_cflags_saved
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14236 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14237 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14238 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14239 fi ;;
14240 esac ;;
14241 esac
14242 done
14244 case $host_cpu in
14245 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14246 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14247 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_wine_try_cflags_saved=$CFLAGS
14251 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14254 int main(int argc, char **argv) { return 0; }
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"; then :
14257 ac_cv_cflags__fno_omit_frame_pointer=yes
14258 else
14259 ac_cv_cflags__fno_omit_frame_pointer=no
14261 rm -f core conftest.err conftest.$ac_objext \
14262 conftest$ac_exeext conftest.$ac_ext
14263 CFLAGS=$ac_wine_try_cflags_saved
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14266 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14267 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14268 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14269 fi ;;
14270 esac
14272 case $host in
14273 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14274 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14275 if ${ac_cv_cflags__Wno_format+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -Wno-format"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__Wno_format=yes
14286 else
14287 ac_cv_cflags__Wno_format=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14294 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14295 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14296 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14297 fi ;;
14298 esac
14300 if test "x$enable_maintainer_mode" = "xyes"
14301 then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14303 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14304 if ${ac_cv_cflags__Werror+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 ac_wine_try_cflags_saved=$CFLAGS
14308 CFLAGS="$CFLAGS -Werror"
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 int main(int argc, char **argv) { return 0; }
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"; then :
14314 ac_cv_cflags__Werror=yes
14315 else
14316 ac_cv_cflags__Werror=no
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 CFLAGS=$ac_wine_try_cflags_saved
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14323 $as_echo "$ac_cv_cflags__Werror" >&6; }
14324 if test "x$ac_cv_cflags__Werror" = xyes; then :
14325 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14329 saved_CFLAGS="$CFLAGS"
14330 CFLAGS="$CFLAGS -Werror"
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14332 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14333 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14340 main ()
14344 return 0;
14346 _ACEOF
14347 if ac_fn_c_try_compile "$LINENO"; then :
14348 ac_cv_have_ms_hook_prologue="yes"
14349 else
14350 ac_cv_have_ms_hook_prologue="no"
14352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14355 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14356 CFLAGS="$saved_CFLAGS"
14357 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14358 then
14360 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14362 else
14363 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14370 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14371 if ${ac_cv_c_fortify_enabled+:} false; then :
14372 $as_echo_n "(cached) " >&6
14373 else
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 #include <string.h>
14378 main ()
14380 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14381 #error Fortify enabled
14382 #endif
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_compile "$LINENO"; then :
14388 ac_cv_c_fortify_enabled=no
14389 else
14390 ac_cv_c_fortify_enabled=yes
14392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14395 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14396 if test "$ac_cv_c_fortify_enabled" = yes
14397 then
14398 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14403 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14404 if ${ac_cv_c_extern_prefix+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 extern int ac_test;
14411 main ()
14413 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14415 return 0;
14417 _ACEOF
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_c_extern_prefix="yes"
14420 else
14421 ac_cv_c_extern_prefix="no"
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14427 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14429 case $host_cpu in
14430 *i[3456789]86*)
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14432 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14433 if ${ac_cv_c_stdcall_suffix+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14438 #ifndef _MSC_VER
14439 #define __stdcall __attribute__((__stdcall__))
14440 #endif
14441 int __stdcall ac_test(int i) { return i; }
14443 main ()
14445 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14447 return 0;
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_c_stdcall_suffix="yes"
14452 else
14453 ac_cv_c_stdcall_suffix="no"
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14459 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14460 *) ac_cv_c_stdcall_suffix="no" ;;
14461 esac
14464 if test "$ac_cv_c_extern_prefix" = "yes"
14465 then
14466 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14468 asm_name_prefix="_"
14469 else
14470 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14472 asm_name_prefix=""
14476 if test "$ac_cv_c_stdcall_suffix" = "yes"
14477 then
14478 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14480 else
14481 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14487 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14488 if ${ac_cv_asm_func_def+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14495 main ()
14497 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14499 return 0;
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_asm_func_def=".def"
14504 else
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14509 main ()
14511 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_asm_func_def=".type @function"
14518 else
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14523 main ()
14525 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14527 return 0;
14529 _ACEOF
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 ac_cv_asm_func_def=".type 2"
14532 else
14533 ac_cv_asm_func_def="unknown"
14535 rm -f core conftest.err conftest.$ac_objext \
14536 conftest$ac_exeext conftest.$ac_ext
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14545 $as_echo "$ac_cv_asm_func_def" >&6; }
14548 case "$ac_cv_asm_func_def" in
14549 ".def")
14550 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14552 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14553 ".type @function")
14554 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14556 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14557 ".type 2")
14558 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14560 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14562 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14564 asm_func_header="" ;;
14565 esac
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14568 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14569 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14574 asm(".text\n\t.long 0");
14576 main ()
14580 return 0;
14582 _ACEOF
14583 if ac_fn_c_try_compile "$LINENO"; then :
14584 ac_cv_c_asm_outside_funcs="yes"
14585 else
14586 ac_cv_c_asm_outside_funcs="no"
14588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14591 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14594 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14595 if ${ac_cv_c_dot_previous+:} false; then :
14596 $as_echo_n "(cached) " >&6
14597 else
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14604 asm(".text\nac_test:\t.long 0\n\t.previous");
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 ac_cv_c_dot_previous="yes"
14611 else
14612 ac_cv_c_dot_previous="no"
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14618 $as_echo "$ac_cv_c_dot_previous" >&6; }
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14621 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14622 if ${ac_cv_c_cfi_support+:} false; then :
14623 $as_echo_n "(cached) " >&6
14624 else
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14629 main ()
14633 return 0;
14635 _ACEOF
14636 if ac_fn_c_try_compile "$LINENO"; then :
14637 ac_cv_c_cfi_support="yes"
14638 else
14639 ac_cv_c_cfi_support="no"
14641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14644 $as_echo "$ac_cv_c_cfi_support" >&6; }
14646 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14647 asm_func_trailer=""
14648 if test "$ac_cv_c_dot_previous" = "yes"
14649 then
14650 asm_func_trailer="\\n\\t.previous"
14652 if test "$ac_cv_c_cfi_support" = "yes"
14653 then
14654 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14655 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14657 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14659 UNWINDFLAGS=-fasynchronous-unwind-tables
14661 else
14662 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14664 if test "x$enable_win64" = "xyes"
14665 then
14666 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14670 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14673 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14674 then
14675 cat >>confdefs.h <<_ACEOF
14676 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14677 _ACEOF
14679 else
14680 cat >>confdefs.h <<_ACEOF
14681 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14682 _ACEOF
14686 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14689 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14693 case $build_os in
14694 cygwin*|mingw32*) TOOLSEXT=".exe"
14696 esac
14698 case $host_os in
14699 linux*)
14700 case $host_cpu in
14701 *i[3456789]86*|x86_64*)
14702 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14703 loader_programs="$loader_programs $wine_binary-preloader"
14704 as_fn_append LOADER_RULES "
14705 $wine_binary-preloader: preloader.o
14706 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14708 install install-lib:: $wine_binary-preloader
14709 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14711 uninstall::
14712 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14714 preloader_EXTRADEFS = $BUILTINFLAG
14715 " ;;
14716 esac
14718 esac
14719 as_fn_append LOADER_RULES "
14720 PROGRAMS = $loader_programs
14724 ac_save_CFLAGS="$CFLAGS"
14725 CFLAGS="$CFLAGS $BUILTINFLAG"
14726 for ac_func in \
14727 __res_get_state \
14728 __res_getservers \
14729 _finite \
14730 _isnan \
14731 _pclose \
14732 _popen \
14733 _snprintf \
14734 _spawnvp \
14735 _strdup \
14736 _stricmp \
14737 _strnicmp \
14738 _strtoi64 \
14739 _strtoui64 \
14740 _vsnprintf \
14741 asctime_r \
14742 chsize \
14743 dlopen \
14744 epoll_create \
14745 ffs \
14746 finitef \
14747 fnmatch \
14748 fork \
14749 fpclass \
14750 fstatfs \
14751 fstatvfs \
14752 ftruncate \
14753 futimens \
14754 futimes \
14755 futimesat \
14756 getattrlist \
14757 getdirentries \
14758 getopt_long_only \
14759 getpwuid \
14760 gettimeofday \
14761 getuid \
14762 if_nameindex \
14763 isnanf \
14764 kqueue \
14765 lstat \
14766 memmove \
14767 mmap \
14768 pclose \
14769 pipe2 \
14770 poll \
14771 popen \
14772 port_create \
14773 prctl \
14774 pread \
14775 proc_pidinfo \
14776 pwrite \
14777 readdir \
14778 readlink \
14779 sched_yield \
14780 select \
14781 setproctitle \
14782 setrlimit \
14783 settimeofday \
14784 sigaltstack \
14785 sigprocmask \
14786 snprintf \
14787 statfs \
14788 statvfs \
14789 strcasecmp \
14790 strdup \
14791 strerror \
14792 strncasecmp \
14793 strtold \
14794 strtoll \
14795 strtoull \
14796 symlink \
14797 tcdrain \
14798 thr_kill2 \
14799 timegm \
14800 usleep \
14801 vsnprintf
14803 do :
14804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14807 cat >>confdefs.h <<_ACEOF
14808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14809 _ACEOF
14812 done
14814 CFLAGS="$ac_save_CFLAGS"
14816 if test "$ac_cv_func_dlopen" = no
14817 then
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14819 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14820 if ${ac_cv_lib_dl_dlopen+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 ac_check_lib_save_LIBS=$LIBS
14824 LIBS="-ldl $LIBS"
14825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14826 /* end confdefs.h. */
14828 /* Override any GCC internal prototype to avoid an error.
14829 Use char because int might match the return type of a GCC
14830 builtin and then its argument prototype would still apply. */
14831 #ifdef __cplusplus
14832 extern "C"
14833 #endif
14834 char dlopen ();
14836 main ()
14838 return dlopen ();
14840 return 0;
14842 _ACEOF
14843 if ac_fn_c_try_link "$LINENO"; then :
14844 ac_cv_lib_dl_dlopen=yes
14845 else
14846 ac_cv_lib_dl_dlopen=no
14848 rm -f core conftest.err conftest.$ac_objext \
14849 conftest$ac_exeext conftest.$ac_ext
14850 LIBS=$ac_check_lib_save_LIBS
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14853 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14854 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14855 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14856 DL_LIBS="-ldl"
14861 ac_wine_check_funcs_save_LIBS="$LIBS"
14862 LIBS="$LIBS $DL_LIBS"
14863 for ac_func in dladdr
14864 do :
14865 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14866 if test "x$ac_cv_func_dladdr" = xyes; then :
14867 cat >>confdefs.h <<_ACEOF
14868 #define HAVE_DLADDR 1
14869 _ACEOF
14872 done
14874 LIBS="$ac_wine_check_funcs_save_LIBS"
14876 if test "$ac_cv_func_poll" = no
14877 then
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14879 $as_echo_n "checking for poll in -lpoll... " >&6; }
14880 if ${ac_cv_lib_poll_poll+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_check_lib_save_LIBS=$LIBS
14884 LIBS="-lpoll $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char poll ();
14896 main ()
14898 return poll ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 ac_cv_lib_poll_poll=yes
14905 else
14906 ac_cv_lib_poll_poll=no
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14913 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14914 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14915 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14916 POLL_LIBS="-lpoll"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14923 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14924 if ${ac_cv_search_gethostbyname+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_func_search_save_LIBS=$LIBS
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 #ifdef __cplusplus
14935 extern "C"
14936 #endif
14937 char gethostbyname ();
14939 main ()
14941 return gethostbyname ();
14943 return 0;
14945 _ACEOF
14946 for ac_lib in '' nsl; do
14947 if test -z "$ac_lib"; then
14948 ac_res="none required"
14949 else
14950 ac_res=-l$ac_lib
14951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14953 if ac_fn_c_try_link "$LINENO"; then :
14954 ac_cv_search_gethostbyname=$ac_res
14956 rm -f core conftest.err conftest.$ac_objext \
14957 conftest$ac_exeext
14958 if ${ac_cv_search_gethostbyname+:} false; then :
14959 break
14961 done
14962 if ${ac_cv_search_gethostbyname+:} false; then :
14964 else
14965 ac_cv_search_gethostbyname=no
14967 rm conftest.$ac_ext
14968 LIBS=$ac_func_search_save_LIBS
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14971 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14972 ac_res=$ac_cv_search_gethostbyname
14973 if test "$ac_res" != no; then :
14974 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14980 $as_echo_n "checking for library containing connect... " >&6; }
14981 if ${ac_cv_search_connect+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 ac_func_search_save_LIBS=$LIBS
14985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h. */
14988 /* Override any GCC internal prototype to avoid an error.
14989 Use char because int might match the return type of a GCC
14990 builtin and then its argument prototype would still apply. */
14991 #ifdef __cplusplus
14992 extern "C"
14993 #endif
14994 char connect ();
14996 main ()
14998 return connect ();
15000 return 0;
15002 _ACEOF
15003 for ac_lib in '' socket; do
15004 if test -z "$ac_lib"; then
15005 ac_res="none required"
15006 else
15007 ac_res=-l$ac_lib
15008 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 ac_cv_search_connect=$ac_res
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext
15015 if ${ac_cv_search_connect+:} false; then :
15016 break
15018 done
15019 if ${ac_cv_search_connect+:} false; then :
15021 else
15022 ac_cv_search_connect=no
15024 rm conftest.$ac_ext
15025 LIBS=$ac_func_search_save_LIBS
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15028 $as_echo "$ac_cv_search_connect" >&6; }
15029 ac_res=$ac_cv_search_connect
15030 if test "$ac_res" != no; then :
15031 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15037 $as_echo_n "checking for library containing inet_aton... " >&6; }
15038 if ${ac_cv_search_inet_aton+:} false; then :
15039 $as_echo_n "(cached) " >&6
15040 else
15041 ac_func_search_save_LIBS=$LIBS
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char inet_aton ();
15053 main ()
15055 return inet_aton ();
15057 return 0;
15059 _ACEOF
15060 for ac_lib in '' resolv; do
15061 if test -z "$ac_lib"; then
15062 ac_res="none required"
15063 else
15064 ac_res=-l$ac_lib
15065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_search_inet_aton=$ac_res
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext
15072 if ${ac_cv_search_inet_aton+:} false; then :
15073 break
15075 done
15076 if ${ac_cv_search_inet_aton+:} false; then :
15078 else
15079 ac_cv_search_inet_aton=no
15081 rm conftest.$ac_ext
15082 LIBS=$ac_func_search_save_LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15085 $as_echo "$ac_cv_search_inet_aton" >&6; }
15086 ac_res=$ac_cv_search_inet_aton
15087 if test "$ac_res" != no; then :
15088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15093 for ac_func in \
15094 getaddrinfo \
15095 getnameinfo \
15096 getnetbyname \
15097 getprotobyname \
15098 getprotobynumber \
15099 getservbyport \
15100 inet_addr \
15101 inet_network \
15102 inet_ntop \
15103 inet_pton \
15104 sendmsg \
15105 socketpair \
15107 do :
15108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15113 _ACEOF
15116 done
15119 ac_save_LIBS=$LIBS
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15121 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15122 if ${ac_cv_search_clock_gettime+:} false; then :
15123 $as_echo_n "(cached) " >&6
15124 else
15125 ac_func_search_save_LIBS=$LIBS
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 #ifdef __cplusplus
15133 extern "C"
15134 #endif
15135 char clock_gettime ();
15137 main ()
15139 return clock_gettime ();
15141 return 0;
15143 _ACEOF
15144 for ac_lib in '' rt; do
15145 if test -z "$ac_lib"; then
15146 ac_res="none required"
15147 else
15148 ac_res=-l$ac_lib
15149 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15151 if ac_fn_c_try_link "$LINENO"; then :
15152 ac_cv_search_clock_gettime=$ac_res
15154 rm -f core conftest.err conftest.$ac_objext \
15155 conftest$ac_exeext
15156 if ${ac_cv_search_clock_gettime+:} false; then :
15157 break
15159 done
15160 if ${ac_cv_search_clock_gettime+:} false; then :
15162 else
15163 ac_cv_search_clock_gettime=no
15165 rm conftest.$ac_ext
15166 LIBS=$ac_func_search_save_LIBS
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15169 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15170 ac_res=$ac_cv_search_clock_gettime
15171 if test "$ac_res" != no; then :
15172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15174 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15176 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15180 LIBS=$ac_save_LIBS
15182 LDAP_LIBS=""
15184 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15185 then
15186 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15188 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15190 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15191 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15192 $as_echo_n "(cached) " >&6
15193 else
15194 ac_check_lib_save_LIBS=$LIBS
15195 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 #ifdef __cplusplus
15203 extern "C"
15204 #endif
15205 char ldap_initialize ();
15207 main ()
15209 return ldap_initialize ();
15211 return 0;
15213 _ACEOF
15214 if ac_fn_c_try_link "$LINENO"; then :
15215 ac_cv_lib_ldap_r_ldap_initialize=yes
15216 else
15217 ac_cv_lib_ldap_r_ldap_initialize=no
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_lib_save_LIBS
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15224 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15225 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15227 $as_echo_n "checking for ber_init in -llber... " >&6; }
15228 if ${ac_cv_lib_lber_ber_init+:} false; then :
15229 $as_echo_n "(cached) " >&6
15230 else
15231 ac_check_lib_save_LIBS=$LIBS
15232 LIBS="-llber $PTHREAD_LIBS $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 #ifdef __cplusplus
15240 extern "C"
15241 #endif
15242 char ber_init ();
15244 main ()
15246 return ber_init ();
15248 return 0;
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"; then :
15252 ac_cv_lib_lber_ber_init=yes
15253 else
15254 ac_cv_lib_lber_ber_init=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15258 LIBS=$ac_check_lib_save_LIBS
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15261 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15262 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15264 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15266 LDAP_LIBS="-lldap_r -llber"
15273 ac_wine_check_funcs_save_LIBS="$LIBS"
15274 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15275 for ac_func in \
15276 ldap_count_references \
15277 ldap_first_reference \
15278 ldap_next_reference \
15279 ldap_parse_reference \
15280 ldap_parse_sort_control \
15281 ldap_parse_sortresponse_control \
15282 ldap_parse_vlv_control \
15283 ldap_parse_vlvresponse_control
15284 do :
15285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15287 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15288 cat >>confdefs.h <<_ACEOF
15289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15290 _ACEOF
15293 done
15295 LIBS="$ac_wine_check_funcs_save_LIBS"
15297 if test "x$LDAP_LIBS" = "x"; then :
15298 case "x$with_ldap" in
15299 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15300 xno) ;;
15301 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15302 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15303 esac
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15307 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15308 if ${wine_cv_one_arg_mkdir+:} false; then :
15309 $as_echo_n "(cached) " >&6
15310 else
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 #include <sys/stat.h>
15315 main ()
15317 mkdir("foo");
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_compile "$LINENO"; then :
15323 wine_cv_one_arg_mkdir=yes
15324 else
15325 wine_cv_one_arg_mkdir=no
15327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15330 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15331 if test "$wine_cv_one_arg_mkdir" = "yes"
15332 then
15334 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15339 $as_echo_n "checking for sched_setaffinity... " >&6; }
15340 if ${wine_cv_have_sched_setaffinity+:} false; then :
15341 $as_echo_n "(cached) " >&6
15342 else
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345 #define _GNU_SOURCE
15346 #include <sched.h>
15348 main ()
15350 sched_setaffinity(0, 0, 0);
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"; then :
15356 wine_cv_have_sched_setaffinity=yes
15357 else
15358 wine_cv_have_sched_setaffinity=no
15360 rm -f core conftest.err conftest.$ac_objext \
15361 conftest$ac_exeext conftest.$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15364 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15365 if test "$wine_cv_have_sched_setaffinity" = "yes"
15366 then
15368 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15373 $as_echo_n "checking for fallocate... " >&6; }
15374 if ${wine_cv_have_fallocate+:} false; then :
15375 $as_echo_n "(cached) " >&6
15376 else
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #define _GNU_SOURCE
15380 #include <fcntl.h>
15382 main ()
15384 fallocate(-1, 0, 0, 0);
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 wine_cv_have_fallocate=yes
15391 else
15392 wine_cv_have_fallocate=no
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15398 $as_echo "$wine_cv_have_fallocate" >&6; }
15399 if test "$wine_cv_have_fallocate" = "yes"
15400 then
15402 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15408 $as_echo_n "checking for inline... " >&6; }
15409 if ${ac_cv_c_inline+:} false; then :
15410 $as_echo_n "(cached) " >&6
15411 else
15412 ac_cv_c_inline=no
15413 for ac_kw in inline __inline__ __inline; do
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #ifndef __cplusplus
15417 typedef int foo_t;
15418 static $ac_kw foo_t static_foo () {return 0; }
15419 $ac_kw foo_t foo () {return 0; }
15420 #endif
15422 _ACEOF
15423 if ac_fn_c_try_compile "$LINENO"; then :
15424 ac_cv_c_inline=$ac_kw
15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15427 test "$ac_cv_c_inline" != no && break
15428 done
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15432 $as_echo "$ac_cv_c_inline" >&6; }
15434 case $ac_cv_c_inline in
15435 inline | yes) ;;
15437 case $ac_cv_c_inline in
15438 no) ac_val=;;
15439 *) ac_val=$ac_cv_c_inline;;
15440 esac
15441 cat >>confdefs.h <<_ACEOF
15442 #ifndef __cplusplus
15443 #define inline $ac_val
15444 #endif
15445 _ACEOF
15447 esac
15449 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15450 if test "x$ac_cv_type_mode_t" = xyes; then :
15452 cat >>confdefs.h <<_ACEOF
15453 #define HAVE_MODE_T 1
15454 _ACEOF
15458 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15459 if test "x$ac_cv_type_off_t" = xyes; then :
15461 cat >>confdefs.h <<_ACEOF
15462 #define HAVE_OFF_T 1
15463 _ACEOF
15467 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15468 if test "x$ac_cv_type_pid_t" = xyes; then :
15470 cat >>confdefs.h <<_ACEOF
15471 #define HAVE_PID_T 1
15472 _ACEOF
15476 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15477 if test "x$ac_cv_type_size_t" = xyes; then :
15479 cat >>confdefs.h <<_ACEOF
15480 #define HAVE_SIZE_T 1
15481 _ACEOF
15485 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15486 if test "x$ac_cv_type_ssize_t" = xyes; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_SSIZE_T 1
15490 _ACEOF
15494 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15495 if test "x$ac_cv_type_long_long" = xyes; then :
15497 cat >>confdefs.h <<_ACEOF
15498 #define HAVE_LONG_LONG 1
15499 _ACEOF
15503 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15504 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15506 cat >>confdefs.h <<_ACEOF
15507 #define HAVE_FSBLKCNT_T 1
15508 _ACEOF
15512 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15513 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15515 cat >>confdefs.h <<_ACEOF
15516 #define HAVE_FSFILCNT_T 1
15517 _ACEOF
15522 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15523 #include <signal.h>
15525 if test "x$ac_cv_type_sigset_t" = xyes; then :
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_SIGSET_T 1
15529 _ACEOF
15534 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15536 if test "x$ac_cv_type_request_sense" = xyes; then :
15538 cat >>confdefs.h <<_ACEOF
15539 #define HAVE_REQUEST_SENSE 1
15540 _ACEOF
15546 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15547 #ifdef HAVE_SYS_SOCKET_H
15548 #include <sys/socket.h>
15549 #endif
15550 #ifdef HAVE_SYS_SOCKETVAR_H
15551 #include <sys/socketvar.h>
15552 #endif
15553 #ifdef HAVE_NET_ROUTE_H
15554 #include <net/route.h>
15555 #endif
15556 #ifdef HAVE_NETINET_IN_H
15557 #include <netinet/in.h>
15558 #endif
15559 #ifdef HAVE_NETINET_IN_SYSTM_H
15560 #include <netinet/in_systm.h>
15561 #endif
15562 #ifdef HAVE_NETINET_IP_H
15563 #include <netinet/ip.h>
15564 #endif
15565 #ifdef HAVE_NETINET_IN_PCB_H
15566 #include <netinet/in_pcb.h>
15567 #endif
15569 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15571 cat >>confdefs.h <<_ACEOF
15572 #define HAVE_STRUCT_XINPGEN 1
15573 _ACEOF
15579 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15580 #include <link.h>
15581 #endif
15582 #ifdef HAVE_SYS_LINK_H
15583 #include <sys/link.h>
15584 #endif
15586 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15588 cat >>confdefs.h <<_ACEOF
15589 #define HAVE_STRUCT_R_DEBUG 1
15590 _ACEOF
15594 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15595 #include <link.h>
15596 #endif
15597 #ifdef HAVE_SYS_LINK_H
15598 #include <sys/link.h>
15599 #endif
15601 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15603 cat >>confdefs.h <<_ACEOF
15604 #define HAVE_STRUCT_LINK_MAP 1
15605 _ACEOF
15611 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15612 #include <linux/input.h>
15613 #endif
15615 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15617 cat >>confdefs.h <<_ACEOF
15618 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15619 _ACEOF
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15626 $as_echo_n "checking for sigaddset... " >&6; }
15627 if ${wine_cv_have_sigaddset+:} false; then :
15628 $as_echo_n "(cached) " >&6
15629 else
15630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15631 /* end confdefs.h. */
15632 #include <signal.h>
15634 main ()
15636 sigset_t set; sigaddset(&set,SIGTERM);
15638 return 0;
15640 _ACEOF
15641 if ac_fn_c_try_link "$LINENO"; then :
15642 wine_cv_have_sigaddset=yes
15643 else
15644 wine_cv_have_sigaddset=no
15646 rm -f core conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext conftest.$ac_ext
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15650 $as_echo "$wine_cv_have_sigaddset" >&6; }
15651 if test "$wine_cv_have_sigaddset" = "yes"
15652 then
15654 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15660 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15661 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15666 #include <netdb.h>
15668 main ()
15671 char *name=0;
15672 struct hostent he;
15673 struct hostent *result;
15674 char *buf=0;
15675 int bufsize=0;
15676 int errnr;
15677 char *addr=0;
15678 int addrlen=0;
15679 int addrtype=0;
15680 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15681 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15684 return 0;
15686 _ACEOF
15687 if ac_fn_c_try_link "$LINENO"; then :
15688 wine_cv_linux_gethostbyname_r_6=yes
15689 else
15690 wine_cv_linux_gethostbyname_r_6=no
15693 rm -f core conftest.err conftest.$ac_objext \
15694 conftest$ac_exeext conftest.$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15698 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15699 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15700 then
15702 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15706 if test "$ac_cv_header_linux_joystick_h" = "yes"
15707 then
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15709 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15710 if ${wine_cv_linux_joystick_22_api+:} false; then :
15711 $as_echo_n "(cached) " >&6
15712 else
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15716 #include <sys/ioctl.h>
15717 #include <sys/types.h>
15718 #include <linux/joystick.h>
15720 struct js_event blub;
15721 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15722 #error "no 2.2 header"
15723 #endif
15726 main ()
15728 /*empty*/
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_compile "$LINENO"; then :
15734 wine_cv_linux_joystick_22_api=yes
15735 else
15736 wine_cv_linux_joystick_22_api=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15742 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15743 if test "$wine_cv_linux_joystick_22_api" = "yes"
15744 then
15746 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15752 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_PARAM_H
15754 # include <sys/param.h>
15755 #endif
15756 #ifdef HAVE_SYS_MOUNT_H
15757 # include <sys/mount.h>
15758 #endif
15759 #ifdef HAVE_SYS_VFS_H
15760 # include <sys/vfs.h>
15761 #endif
15762 #ifdef HAVE_SYS_STATFS_H
15763 # include <sys/statfs.h>
15764 #endif
15766 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define HAVE_STRUCT_STATFS_F_BFREE 1
15770 _ACEOF
15774 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15777 #endif
15778 #ifdef HAVE_SYS_MOUNT_H
15779 # include <sys/mount.h>
15780 #endif
15781 #ifdef HAVE_SYS_VFS_H
15782 # include <sys/vfs.h>
15783 #endif
15784 #ifdef HAVE_SYS_STATFS_H
15785 # include <sys/statfs.h>
15786 #endif
15788 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15792 _ACEOF
15796 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15797 #ifdef HAVE_SYS_PARAM_H
15798 # include <sys/param.h>
15799 #endif
15800 #ifdef HAVE_SYS_MOUNT_H
15801 # include <sys/mount.h>
15802 #endif
15803 #ifdef HAVE_SYS_VFS_H
15804 # include <sys/vfs.h>
15805 #endif
15806 #ifdef HAVE_SYS_STATFS_H
15807 # include <sys/statfs.h>
15808 #endif
15810 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15814 _ACEOF
15818 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_PARAM_H
15820 # include <sys/param.h>
15821 #endif
15822 #ifdef HAVE_SYS_MOUNT_H
15823 # include <sys/mount.h>
15824 #endif
15825 #ifdef HAVE_SYS_VFS_H
15826 # include <sys/vfs.h>
15827 #endif
15828 #ifdef HAVE_SYS_STATFS_H
15829 # include <sys/statfs.h>
15830 #endif
15832 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_STRUCT_STATFS_F_FFREE 1
15836 _ACEOF
15840 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15841 #ifdef HAVE_SYS_PARAM_H
15842 # include <sys/param.h>
15843 #endif
15844 #ifdef HAVE_SYS_MOUNT_H
15845 # include <sys/mount.h>
15846 #endif
15847 #ifdef HAVE_SYS_VFS_H
15848 # include <sys/vfs.h>
15849 #endif
15850 #ifdef HAVE_SYS_STATFS_H
15851 # include <sys/statfs.h>
15852 #endif
15854 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15856 cat >>confdefs.h <<_ACEOF
15857 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15858 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15863 #ifdef HAVE_SYS_PARAM_H
15864 # include <sys/param.h>
15865 #endif
15866 #ifdef HAVE_SYS_MOUNT_H
15867 # include <sys/mount.h>
15868 #endif
15869 #ifdef HAVE_SYS_VFS_H
15870 # include <sys/vfs.h>
15871 #endif
15872 #ifdef HAVE_SYS_STATFS_H
15873 # include <sys/statfs.h>
15874 #endif
15876 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15880 _ACEOF
15886 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15887 #include <sys/statvfs.h>
15888 #endif
15890 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15892 cat >>confdefs.h <<_ACEOF
15893 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15894 _ACEOF
15900 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15901 #include <dirent.h>
15902 #endif
15904 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15908 _ACEOF
15914 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15915 #ifdef HAVE_SYS_SOCKET_H
15916 # include <sys/socket.h>
15917 #endif
15918 #ifdef HAVE_SYS_UN_H
15919 # include <sys/un.h>
15920 #endif
15922 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15926 _ACEOF
15930 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15931 #ifdef HAVE_SYS_SOCKET_H
15932 # include <sys/socket.h>
15933 #endif
15934 #ifdef HAVE_SYS_UN_H
15935 # include <sys/un.h>
15936 #endif
15938 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15942 _ACEOF
15946 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15947 #ifdef HAVE_SYS_SOCKET_H
15948 # include <sys/socket.h>
15949 #endif
15950 #ifdef HAVE_SYS_UN_H
15951 # include <sys/un.h>
15952 #endif
15954 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15958 _ACEOF
15964 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15965 #ifdef HAVE_SCSI_SG_H
15966 #include <scsi/sg.h>
15967 #endif
15969 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_SCSIREQ_T_CMD 1
15973 _ACEOF
15977 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>
15978 #ifdef HAVE_SCSI_SG_H
15979 #include <scsi/sg.h>
15980 #endif
15982 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15986 _ACEOF
15992 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15994 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15996 cat >>confdefs.h <<_ACEOF
15997 #define HAVE_SIGINFO_T_SI_FD 1
15998 _ACEOF
16004 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16005 #ifdef HAVE_SYS_MTIO_H
16006 #include <sys/mtio.h>
16007 #endif
16009 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16011 cat >>confdefs.h <<_ACEOF
16012 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16013 _ACEOF
16017 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16018 #ifdef HAVE_SYS_MTIO_H
16019 #include <sys/mtio.h>
16020 #endif
16022 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16026 _ACEOF
16030 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16031 #ifdef HAVE_SYS_MTIO_H
16032 #include <sys/mtio.h>
16033 #endif
16035 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16037 cat >>confdefs.h <<_ACEOF
16038 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16039 _ACEOF
16045 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16046 #include <getopt.h>
16047 #endif
16049 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16051 cat >>confdefs.h <<_ACEOF
16052 #define HAVE_STRUCT_OPTION_NAME 1
16053 _ACEOF
16059 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16060 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16062 cat >>confdefs.h <<_ACEOF
16063 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16064 _ACEOF
16068 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16069 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16071 cat >>confdefs.h <<_ACEOF
16072 #define HAVE_STRUCT_STAT_ST_MTIM 1
16073 _ACEOF
16077 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16078 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16082 _ACEOF
16086 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16087 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_STRUCT_STAT_ST_CTIM 1
16091 _ACEOF
16095 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16096 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16100 _ACEOF
16104 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16105 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STAT_ST_ATIM 1
16109 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16114 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16118 _ACEOF
16122 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16123 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16127 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16132 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16136 _ACEOF
16140 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16141 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16143 cat >>confdefs.h <<_ACEOF
16144 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16145 _ACEOF
16149 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16150 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16154 _ACEOF
16158 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16159 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16163 _ACEOF
16169 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
16170 #include <sys/types.h>
16171 #endif
16172 #ifdef HAVE_NETINET_IN_H
16173 #include <netinet/in.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16180 _ACEOF
16186 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16187 #include <resolv.h>
16188 #endif
16190 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16192 cat >>confdefs.h <<_ACEOF
16193 #define HAVE_STRUCT___RES_STATE 1
16194 _ACEOF
16200 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
16201 #include <resolv.h>
16202 #endif
16204 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16206 cat >>confdefs.h <<_ACEOF
16207 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16208 _ACEOF
16214 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16215 #include <sys/types.h>
16216 #endif
16217 #ifdef HAVE_NETINET_IN_H
16218 # include <netinet/in.h>
16219 #endif
16220 #ifdef HAVE_ARPA_NAMESER_H
16221 # include <arpa/nameser.h>
16222 #endif
16224 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_NS_MSG__MSG_PTR 1
16228 _ACEOF
16234 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16235 #include <sys/types.h>
16236 #endif
16237 #ifdef HAVE_NETINET_IP_H
16238 #include <netinet/ip.h>
16239 #endif
16240 #ifdef HAVE_NETINET_IP_ICMP_H
16241 #include <netinet/ip_icmp.h>
16242 #endif
16243 #ifdef HAVE_NETINET_ICMP_VAR_H
16244 #include <netinet/icmp_var.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16251 _ACEOF
16257 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16258 #include <sys/types.h>
16259 #endif
16260 #ifdef HAVE_ALIAS_H
16261 #include <alias.h>
16262 #endif
16263 #ifdef HAVE_SYS_SOCKET_H
16264 #include <sys/socket.h>
16265 #endif
16266 #ifdef HAVE_SYS_SOCKETVAR_H
16267 #include <sys/socketvar.h>
16268 #endif
16269 #ifdef HAVE_SYS_TIMEOUT_H
16270 #include <sys/timeout.h>
16271 #endif
16272 #ifdef HAVE_NETINET_IN_H
16273 #include <netinet/in.h>
16274 #endif
16275 #ifdef HAVE_NETINET_IN_SYSTM_H
16276 #include <netinet/in_systm.h>
16277 #endif
16278 #ifdef HAVE_NETINET_IP_H
16279 #include <netinet/ip.h>
16280 #endif
16281 #ifdef HAVE_NETINET_IP_VAR_H
16282 #include <netinet/ip_var.h>
16283 #endif
16284 #ifdef HAVE_NETINET_IP_ICMP_H
16285 #include <netinet/ip_icmp.h>
16286 #endif
16287 #ifdef HAVE_NETINET_ICMP_VAR_H
16288 #include <netinet/icmp_var.h>
16289 #endif
16291 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16295 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16302 #include <sys/types.h>
16303 #endif
16304 #ifdef HAVE_SYS_SOCKETVAR_H
16305 #include <sys/socketvar.h>
16306 #endif
16307 #ifdef HAVE_NETINET_IN_H
16308 #include <netinet/in.h>
16309 #endif
16310 #ifdef HAVE_NETINET_IP_VAR_H
16311 #include <netinet/ip_var.h>
16312 #endif
16314 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16318 _ACEOF
16324 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
16325 #include <netinet/ip_var.h>
16326 #endif
16328 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16332 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16339 #include <sys/types.h>
16340 #endif
16341 #ifdef HAVE_SYS_SOCKETVAR_H
16342 #include <sys/socketvar.h>
16343 #endif
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16346 #endif
16347 #ifdef HAVE_NETINET_TCP_H
16348 #include <netinet/tcp.h>
16349 #endif
16350 #ifdef HAVE_NETINET_TCP_VAR_H
16351 #include <netinet/tcp_var.h>
16352 #endif
16354 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16356 cat >>confdefs.h <<_ACEOF
16357 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16358 _ACEOF
16364 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
16365 #include <netinet/tcp_var.h>
16366 #endif
16368 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16372 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16379 #include <sys/types.h>
16380 #endif
16381 #ifdef HAVE_NETINET_IN_H
16382 #include <netinet/in.h>
16383 #endif
16384 #ifdef HAVE_NETINET_IP_VAR_H
16385 #include <netinet/ip_var.h>
16386 #endif
16387 #ifdef HAVE_NETINET_UDP_H
16388 #include <netinet/udp.h>
16389 #endif
16390 #ifdef HAVE_NETINET_UDP_VAR_H
16391 #include <netinet/udp_var.h>
16392 #endif
16394 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16396 cat >>confdefs.h <<_ACEOF
16397 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16398 _ACEOF
16404 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16405 #include <sys/types.h>
16406 #endif
16407 #ifdef HAVE_NET_IF_H
16408 # include <net/if.h>
16409 #endif
16411 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16415 _ACEOF
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16422 $as_echo_n "checking for timezone variable... " >&6; }
16423 if ${ac_cv_have_timezone+:} false; then :
16424 $as_echo_n "(cached) " >&6
16425 else
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <time.h>
16430 main ()
16432 timezone = 1
16434 return 0;
16436 _ACEOF
16437 if ac_fn_c_try_link "$LINENO"; then :
16438 ac_cv_have_timezone="yes"
16439 else
16440 ac_cv_have_timezone="no"
16442 rm -f core conftest.err conftest.$ac_objext \
16443 conftest$ac_exeext conftest.$ac_ext
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16446 $as_echo "$ac_cv_have_timezone" >&6; }
16447 if test "$ac_cv_have_timezone" = "yes"
16448 then
16450 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16454 $as_echo_n "checking for daylight variable... " >&6; }
16455 if ${ac_cv_have_daylight+:} false; then :
16456 $as_echo_n "(cached) " >&6
16457 else
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460 #include <time.h>
16462 main ()
16464 daylight = 1
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"; then :
16470 ac_cv_have_daylight="yes"
16471 else
16472 ac_cv_have_daylight="no"
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16478 $as_echo "$ac_cv_have_daylight" >&6; }
16479 if test "$ac_cv_have_daylight" = "yes"
16480 then
16482 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16486 ac_save_LIBS="$LIBS"
16487 LIBS="$LIBS -lm"
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16489 $as_echo_n "checking for isfinite... " >&6; }
16490 if ${ac_cv_have_isfinite+:} false; then :
16491 $as_echo_n "(cached) " >&6
16492 else
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #define _GNU_SOURCE
16496 #include <math.h>
16498 main ()
16500 float f = 0.0; return isfinite(f)
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 ac_cv_have_isfinite="yes"
16507 else
16508 ac_cv_have_isfinite="no"
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16514 $as_echo "$ac_cv_have_isfinite" >&6; }
16515 if test "$ac_cv_have_isfinite" = "yes"
16516 then
16518 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16523 $as_echo_n "checking for isinf... " >&6; }
16524 if ${ac_cv_have_isinf+:} false; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <math.h>
16531 main ()
16533 float f = 0.0; return isinf(f)
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 ac_cv_have_isinf="yes"
16540 else
16541 ac_cv_have_isinf="no"
16543 rm -f core conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16547 $as_echo "$ac_cv_have_isinf" >&6; }
16548 if test "$ac_cv_have_isinf" = "yes"
16549 then
16551 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16556 $as_echo_n "checking for isnan... " >&6; }
16557 if ${ac_cv_have_isnan+:} false; then :
16558 $as_echo_n "(cached) " >&6
16559 else
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16562 #include <math.h>
16564 main ()
16566 float f = 0.0; return isnan(f)
16568 return 0;
16570 _ACEOF
16571 if ac_fn_c_try_link "$LINENO"; then :
16572 ac_cv_have_isnan="yes"
16573 else
16574 ac_cv_have_isnan="no"
16576 rm -f core conftest.err conftest.$ac_objext \
16577 conftest$ac_exeext conftest.$ac_ext
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16580 $as_echo "$ac_cv_have_isnan" >&6; }
16581 if test "$ac_cv_have_isnan" = "yes"
16582 then
16584 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16588 for ac_func in \
16589 cbrt \
16590 cbrtf \
16591 erf \
16592 erff \
16593 exp2 \
16594 exp2f \
16595 llrint \
16596 llrintf \
16597 llround \
16598 llroundf \
16599 log2 \
16600 log2f \
16601 lrint \
16602 lrintf \
16603 lround \
16604 lroundf \
16605 rint \
16606 rintf \
16607 round \
16608 roundf \
16609 trunc \
16610 truncf
16612 do :
16613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16618 _ACEOF
16621 done
16623 LIBS="$ac_save_LIBS"
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16626 $as_echo_n "checking for __builtin_clz... " >&6; }
16627 if ${ac_cv_have___builtin_clz+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16634 main ()
16636 return __builtin_clz(1)
16638 return 0;
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 ac_cv_have___builtin_clz="yes"
16643 else
16644 ac_cv_have___builtin_clz="no"
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16650 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16651 if test "$ac_cv_have___builtin_clz" = "yes"
16652 then
16654 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16659 case $host_cpu in
16660 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16661 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16662 if ${ac_cv_cpp_def___i386__+:} false; then :
16663 $as_echo_n "(cached) " >&6
16664 else
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #ifndef __i386__
16669 #endif
16670 _ACEOF
16671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16672 $EGREP "yes" >/dev/null 2>&1; then :
16673 ac_cv_cpp_def___i386__=yes
16674 else
16675 ac_cv_cpp_def___i386__=no
16677 rm -f conftest*
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16681 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16682 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16683 CFLAGS="$CFLAGS -D__i386__"
16684 LINTFLAGS="$LINTFLAGS -D__i386__"
16685 fi ;;
16686 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16687 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16688 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16689 $as_echo_n "(cached) " >&6
16690 else
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #ifndef __x86_64__
16695 #endif
16696 _ACEOF
16697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16698 $EGREP "yes" >/dev/null 2>&1; then :
16699 ac_cv_cpp_def___x86_64__=yes
16700 else
16701 ac_cv_cpp_def___x86_64__=no
16703 rm -f conftest*
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16707 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16708 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16709 CFLAGS="$CFLAGS -D__x86_64__"
16710 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16711 fi ;;
16712 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16713 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16714 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16715 $as_echo_n "(cached) " >&6
16716 else
16717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16719 #ifndef __sparc64__
16721 #endif
16722 _ACEOF
16723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16724 $EGREP "yes" >/dev/null 2>&1; then :
16725 ac_cv_cpp_def___sparc64__=yes
16726 else
16727 ac_cv_cpp_def___sparc64__=no
16729 rm -f conftest*
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16733 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16734 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16735 CFLAGS="$CFLAGS -D__sparc64__"
16736 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16737 fi ;;
16738 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16739 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16740 if ${ac_cv_cpp_def___sparc__+:} false; then :
16741 $as_echo_n "(cached) " >&6
16742 else
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #ifndef __sparc__
16747 #endif
16748 _ACEOF
16749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16750 $EGREP "yes" >/dev/null 2>&1; then :
16751 ac_cv_cpp_def___sparc__=yes
16752 else
16753 ac_cv_cpp_def___sparc__=no
16755 rm -f conftest*
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16759 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16760 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16761 CFLAGS="$CFLAGS -D__sparc__"
16762 LINTFLAGS="$LINTFLAGS -D__sparc__"
16763 fi ;;
16764 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16765 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16766 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #ifndef __powerpc64__
16773 #endif
16774 _ACEOF
16775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16776 $EGREP "yes" >/dev/null 2>&1; then :
16777 ac_cv_cpp_def___powerpc64__=yes
16778 else
16779 ac_cv_cpp_def___powerpc64__=no
16781 rm -f conftest*
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16785 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16786 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16787 CFLAGS="$CFLAGS -D__powerpc64__"
16788 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16789 fi ;;
16790 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16791 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16792 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16793 $as_echo_n "(cached) " >&6
16794 else
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #ifndef __powerpc__
16799 #endif
16800 _ACEOF
16801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16802 $EGREP "yes" >/dev/null 2>&1; then :
16803 ac_cv_cpp_def___powerpc__=yes
16804 else
16805 ac_cv_cpp_def___powerpc__=no
16807 rm -f conftest*
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16811 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16812 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16813 CFLAGS="$CFLAGS -D__powerpc__"
16814 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16815 fi ;;
16816 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16817 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16818 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16819 $as_echo_n "(cached) " >&6
16820 else
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823 #ifndef __aarch64__
16825 #endif
16826 _ACEOF
16827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16828 $EGREP "yes" >/dev/null 2>&1; then :
16829 ac_cv_cpp_def___aarch64__=yes
16830 else
16831 ac_cv_cpp_def___aarch64__=no
16833 rm -f conftest*
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16837 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16838 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16839 CFLAGS="$CFLAGS -D__aarch64__"
16840 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16841 fi ;;
16842 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16843 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16844 if ${ac_cv_cpp_def___arm__+:} false; then :
16845 $as_echo_n "(cached) " >&6
16846 else
16847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16848 /* end confdefs.h. */
16849 #ifndef __arm__
16851 #endif
16852 _ACEOF
16853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16854 $EGREP "yes" >/dev/null 2>&1; then :
16855 ac_cv_cpp_def___arm__=yes
16856 else
16857 ac_cv_cpp_def___arm__=no
16859 rm -f conftest*
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16863 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16864 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16865 CFLAGS="$CFLAGS -D__arm__"
16866 LINTFLAGS="$LINTFLAGS -D__arm__"
16867 fi ;;
16868 esac
16870 case $host_vendor in
16871 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16872 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16873 if ${ac_cv_cpp_def___sun__+:} false; then :
16874 $as_echo_n "(cached) " >&6
16875 else
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16878 #ifndef __sun__
16880 #endif
16881 _ACEOF
16882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16883 $EGREP "yes" >/dev/null 2>&1; then :
16884 ac_cv_cpp_def___sun__=yes
16885 else
16886 ac_cv_cpp_def___sun__=no
16888 rm -f conftest*
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16892 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16893 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16894 CFLAGS="$CFLAGS -D__sun__"
16895 LINTFLAGS="$LINTFLAGS -D__sun__"
16896 fi ;;
16897 esac
16903 ac_config_commands="$ac_config_commands include/stamp-h"
16905 $as_echo_n "creating Makefile rules..." >&6
16907 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16908 SOCKET_LIBS = $SOCKET_LIBS
16909 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16910 IOKIT_LIBS = $IOKIT_LIBS
16911 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16912 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16913 CORESERVICES_LIBS = $CORESERVICES_LIBS
16914 APPKIT_LIBS = $APPKIT_LIBS
16915 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16916 SECURITY_LIBS = $SECURITY_LIBS
16917 COREAUDIO_LIBS = $COREAUDIO_LIBS
16918 OPENAL_LIBS = $OPENAL_LIBS
16919 OPENCL_LIBS = $OPENCL_LIBS
16920 QUICKTIME_LIBS = $QUICKTIME_LIBS
16921 CARBON_LIBS = $CARBON_LIBS
16922 PTHREAD_LIBS = $PTHREAD_LIBS
16923 X_CFLAGS = $X_CFLAGS
16924 X_PRE_LIBS = $X_PRE_LIBS
16925 X_LIBS = $X_LIBS
16926 X_EXTRA_LIBS = $X_EXTRA_LIBS
16927 XML2_CFLAGS = $XML2_CFLAGS
16928 XML2_LIBS = $XML2_LIBS
16929 XSLT_CFLAGS = $XSLT_CFLAGS
16930 XSLT_LIBS = $XSLT_LIBS
16931 DBUS_CFLAGS = $DBUS_CFLAGS
16932 DBUS_LIBS = $DBUS_LIBS
16933 HAL_CFLAGS = $HAL_CFLAGS
16934 HAL_LIBS = $HAL_LIBS
16935 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16936 GNUTLS_LIBS = $GNUTLS_LIBS
16937 SANE_CFLAGS = $SANE_CFLAGS
16938 SANE_LIBS = $SANE_LIBS
16939 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16940 GPHOTO2_LIBS = $GPHOTO2_LIBS
16941 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16942 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16943 RESOLV_LIBS = $RESOLV_LIBS
16944 LCMS2_CFLAGS = $LCMS2_CFLAGS
16945 LCMS2_LIBS = $LCMS2_LIBS
16946 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16947 FREETYPE_LIBS = $FREETYPE_LIBS
16948 Z_LIBS = $Z_LIBS
16949 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16950 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16951 GSTREAMER_LIBS = $GSTREAMER_LIBS
16952 ALSA_LIBS = $ALSA_LIBS
16953 OSS4_CFLAGS = $OSS4_CFLAGS
16954 CAPI20_CFLAGS = $CAPI20_CFLAGS
16955 CAPI20_LIBS = $CAPI20_LIBS
16956 CUPS_CFLAGS = $CUPS_CFLAGS
16957 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16958 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16959 JPEG_CFLAGS = $JPEG_CFLAGS
16960 JPEG_LIBS = $JPEG_LIBS
16961 PNG_CFLAGS = $PNG_CFLAGS
16962 PNG_LIBS = $PNG_LIBS
16963 TIFF_CFLAGS = $TIFF_CFLAGS
16964 TIFF_LIBS = $TIFF_LIBS
16965 MPG123_CFLAGS = $MPG123_CFLAGS
16966 MPG123_LIBS = $MPG123_LIBS
16967 KSTAT_LIBS = $KSTAT_LIBS
16968 PROCSTAT_LIBS = $PROCSTAT_LIBS
16969 DL_LIBS = $DL_LIBS
16970 POLL_LIBS = $POLL_LIBS
16971 RT_LIBS = $RT_LIBS
16972 LDAP_LIBS = $LDAP_LIBS
16977 wine_fn_append_rule "
16978 # Rules automatically generated by configure
16980 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16982 .INIT: Makefile
16983 .MAKEFILEDEPS:
16984 all: Makefile
16985 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16986 @./config.status Make.tmp Makefile"
16988 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16989 .gitignore: config.status
16990 @./config.status .gitignore"
16992 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16993 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16995 if test "x$enable_fonts" != xno; then
16996 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16997 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16998 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16999 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17000 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
17002 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17003 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17004 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17005 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17006 ac_config_links="$ac_config_links wine:tools/winewrapper"
17007 wine_fn_config_symlink wine
17008 if test "x$enable_win64" != xno; then
17009 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17010 wine_fn_config_symlink wine64
17013 wine_fn_config_dll acledit enable_acledit
17014 wine_fn_config_dll aclui enable_aclui implib
17015 wine_fn_config_dll activeds enable_activeds implib
17016 wine_fn_config_dll actxprxy enable_actxprxy clean
17017 wine_fn_config_lib adsiid
17018 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17019 wine_fn_config_test dlls/advapi32/tests advapi32_test
17020 wine_fn_config_dll advpack enable_advpack implib
17021 wine_fn_config_test dlls/advpack/tests advpack_test
17022 wine_fn_config_dll amstream enable_amstream clean
17023 wine_fn_config_test dlls/amstream/tests amstream_test
17024 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17028 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17030 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17032 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17033 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17034 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17035 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17037 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17038 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17039 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17042 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17045 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17046 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17049 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17051 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17052 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17055 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17057 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17058 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17060 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17061 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17062 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17063 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17064 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17065 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17066 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17067 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17068 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17069 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17070 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17071 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17072 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17073 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17074 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17075 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17076 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17077 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17078 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17079 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17080 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17081 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17082 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17083 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17084 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17085 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17086 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17087 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17088 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17089 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17090 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17091 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17092 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17093 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17094 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17095 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17096 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17097 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17098 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17099 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17100 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17101 wine_fn_config_dll apphelp enable_apphelp
17102 wine_fn_config_test dlls/apphelp/tests apphelp_test
17103 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17104 wine_fn_config_dll atl enable_atl clean,implib
17105 wine_fn_config_test dlls/atl/tests atl_test
17106 wine_fn_config_dll atl100 enable_atl100 clean,implib
17107 wine_fn_config_test dlls/atl100/tests atl100_test
17108 wine_fn_config_dll atl110 enable_atl110 clean
17109 wine_fn_config_dll atl80 enable_atl80 clean,implib
17110 wine_fn_config_test dlls/atl80/tests atl80_test
17111 wine_fn_config_dll atl90 enable_atl90 clean
17112 wine_fn_config_dll authz enable_authz
17113 wine_fn_config_dll avicap32 enable_avicap32 implib
17114 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17115 wine_fn_config_test dlls/avifil32/tests avifil32_test
17116 wine_fn_config_dll avifile.dll16 enable_win16
17117 wine_fn_config_dll avrt enable_avrt implib
17118 wine_fn_config_dll bcrypt enable_bcrypt
17119 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17120 wine_fn_config_dll browseui enable_browseui clean,po
17121 wine_fn_config_test dlls/browseui/tests browseui_test
17122 wine_fn_config_dll cabinet enable_cabinet implib
17123 wine_fn_config_test dlls/cabinet/tests cabinet_test
17124 wine_fn_config_dll capi2032 enable_capi2032 implib
17125 wine_fn_config_dll cards enable_cards implib
17126 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17127 wine_fn_config_dll clusapi enable_clusapi implib
17128 wine_fn_config_dll combase enable_combase
17129 wine_fn_config_test dlls/combase/tests combase_test
17130 wine_fn_config_dll comcat enable_comcat
17131 wine_fn_config_test dlls/comcat/tests comcat_test
17132 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17133 wine_fn_config_test dlls/comctl32/tests comctl32_test
17134 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17135 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17136 wine_fn_config_dll comm.drv16 enable_win16
17137 wine_fn_config_dll commdlg.dll16 enable_win16
17138 wine_fn_config_dll compobj.dll16 enable_win16
17139 wine_fn_config_dll compstui enable_compstui implib
17140 wine_fn_config_dll comsvcs enable_comsvcs implib
17141 wine_fn_config_dll connect enable_connect
17142 wine_fn_config_dll credui enable_credui implib,po
17143 wine_fn_config_test dlls/credui/tests credui_test
17144 wine_fn_config_dll crtdll enable_crtdll implib
17145 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17146 wine_fn_config_test dlls/crypt32/tests crypt32_test
17147 wine_fn_config_dll cryptdlg enable_cryptdlg po
17148 wine_fn_config_dll cryptdll enable_cryptdll implib
17149 wine_fn_config_dll cryptext enable_cryptext
17150 wine_fn_config_dll cryptnet enable_cryptnet implib
17151 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17152 wine_fn_config_dll cryptui enable_cryptui implib,po
17153 wine_fn_config_test dlls/cryptui/tests cryptui_test
17154 wine_fn_config_dll ctapi32 enable_ctapi32
17155 wine_fn_config_dll ctl3d.dll16 enable_win16
17156 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17157 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17158 wine_fn_config_dll d2d1 enable_d2d1 implib
17159 wine_fn_config_test dlls/d2d1/tests d2d1_test
17160 wine_fn_config_dll d3d10 enable_d3d10 implib
17161 wine_fn_config_test dlls/d3d10/tests d3d10_test
17162 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17163 wine_fn_config_dll d3d10core enable_d3d10core implib
17164 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17165 wine_fn_config_dll d3d11 enable_d3d11
17166 wine_fn_config_dll d3d8 enable_d3d8 implib
17167 wine_fn_config_test dlls/d3d8/tests d3d8_test
17168 wine_fn_config_dll d3d9 enable_d3d9 implib
17169 wine_fn_config_test dlls/d3d9/tests d3d9_test
17170 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17171 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17172 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17173 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17174 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17175 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17176 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17177 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17178 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17179 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17180 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17181 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17182 wine_fn_config_dll d3dim enable_d3dim implib
17183 wine_fn_config_dll d3drm enable_d3drm implib
17184 wine_fn_config_test dlls/d3drm/tests d3drm_test
17185 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17186 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17187 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17188 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17189 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17190 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17191 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17192 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17193 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17194 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17195 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17196 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17197 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17198 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17199 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17200 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17201 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17202 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17203 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17204 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17205 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17206 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17207 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17208 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17209 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17210 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17211 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17212 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17213 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17214 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17215 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17216 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17217 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17218 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17219 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17220 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17221 wine_fn_config_dll dbgeng enable_dbgeng implib
17222 wine_fn_config_dll dbghelp enable_dbghelp implib
17223 wine_fn_config_dll dciman32 enable_dciman32 implib
17224 wine_fn_config_dll ddeml.dll16 enable_win16
17225 wine_fn_config_dll ddraw enable_ddraw clean,implib
17226 wine_fn_config_test dlls/ddraw/tests ddraw_test
17227 wine_fn_config_dll ddrawex enable_ddrawex clean
17228 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17229 wine_fn_config_dll devenum enable_devenum clean,po
17230 wine_fn_config_test dlls/devenum/tests devenum_test
17231 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17232 wine_fn_config_dll difxapi enable_difxapi
17233 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17234 wine_fn_config_test dlls/dinput/tests dinput_test
17235 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17236 wine_fn_config_test dlls/dinput8/tests dinput8_test
17237 wine_fn_config_dll dispdib.dll16 enable_win16
17238 wine_fn_config_dll dispex enable_dispex clean
17239 wine_fn_config_test dlls/dispex/tests dispex_test
17240 wine_fn_config_dll display.drv16 enable_win16
17241 wine_fn_config_dll dmband enable_dmband clean
17242 wine_fn_config_test dlls/dmband/tests dmband_test
17243 wine_fn_config_dll dmcompos enable_dmcompos clean
17244 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17245 wine_fn_config_dll dmime enable_dmime clean
17246 wine_fn_config_test dlls/dmime/tests dmime_test
17247 wine_fn_config_dll dmloader enable_dmloader clean
17248 wine_fn_config_test dlls/dmloader/tests dmloader_test
17249 wine_fn_config_dll dmscript enable_dmscript clean
17250 wine_fn_config_test dlls/dmscript/tests dmscript_test
17251 wine_fn_config_dll dmstyle enable_dmstyle clean
17252 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17253 wine_fn_config_dll dmsynth enable_dmsynth clean
17254 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17255 wine_fn_config_dll dmusic enable_dmusic clean
17256 wine_fn_config_test dlls/dmusic/tests dmusic_test
17257 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17258 wine_fn_config_dll dnsapi enable_dnsapi implib
17259 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17260 wine_fn_config_dll dplay enable_dplay implib
17261 wine_fn_config_dll dplayx enable_dplayx clean,implib
17262 wine_fn_config_test dlls/dplayx/tests dplayx_test
17263 wine_fn_config_dll dpnaddr enable_dpnaddr
17264 wine_fn_config_dll dpnet enable_dpnet clean,implib
17265 wine_fn_config_test dlls/dpnet/tests dpnet_test
17266 wine_fn_config_dll dpnhpast enable_dpnhpast
17267 wine_fn_config_dll dpnlobby enable_dpnlobby
17268 wine_fn_config_dll dpvoice enable_dpvoice clean
17269 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17270 wine_fn_config_dll dpwsockx enable_dpwsockx
17271 wine_fn_config_dll drmclien enable_drmclien
17272 wine_fn_config_dll dsound enable_dsound clean,implib
17273 wine_fn_config_test dlls/dsound/tests dsound_test
17274 wine_fn_config_dll dssenh enable_dssenh
17275 wine_fn_config_test dlls/dssenh/tests dssenh_test
17276 wine_fn_config_dll dswave enable_dswave clean
17277 wine_fn_config_test dlls/dswave/tests dswave_test
17278 wine_fn_config_dll dwmapi enable_dwmapi implib
17279 wine_fn_config_dll dwrite enable_dwrite implib
17280 wine_fn_config_test dlls/dwrite/tests dwrite_test
17281 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17282 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17283 wine_fn_config_lib dxerr8
17284 wine_fn_config_lib dxerr9
17285 wine_fn_config_dll dxgi enable_dxgi implib
17286 wine_fn_config_test dlls/dxgi/tests dxgi_test
17287 wine_fn_config_lib dxguid
17288 wine_fn_config_dll dxva2 enable_dxva2
17289 wine_fn_config_dll evr enable_evr
17290 wine_fn_config_dll explorerframe enable_explorerframe clean
17291 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17292 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17293 wine_fn_config_dll faultrep enable_faultrep implib
17294 wine_fn_config_test dlls/faultrep/tests faultrep_test
17295 wine_fn_config_dll fltlib enable_fltlib
17296 wine_fn_config_dll fntcache enable_fntcache
17297 wine_fn_config_dll fontsub enable_fontsub
17298 wine_fn_config_dll fusion enable_fusion
17299 wine_fn_config_test dlls/fusion/tests fusion_test
17300 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17301 wine_fn_config_dll gameux enable_gameux clean
17302 wine_fn_config_test dlls/gameux/tests gameux_test
17303 wine_fn_config_dll gdi.exe16 enable_win16
17304 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17305 wine_fn_config_test dlls/gdi32/tests gdi32_test
17306 wine_fn_config_dll gdiplus enable_gdiplus implib
17307 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17308 wine_fn_config_dll glu32 enable_glu32 implib
17309 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17310 wine_fn_config_dll gpkcsp enable_gpkcsp
17311 wine_fn_config_dll hal enable_hal
17312 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17313 wine_fn_config_dll hid enable_hid implib
17314 wine_fn_config_dll hlink enable_hlink clean,implib
17315 wine_fn_config_test dlls/hlink/tests hlink_test
17316 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17317 wine_fn_config_dll httpapi enable_httpapi
17318 wine_fn_config_dll iccvid enable_iccvid po
17319 wine_fn_config_dll icmp enable_icmp
17320 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17321 wine_fn_config_test dlls/ieframe/tests ieframe_test
17322 wine_fn_config_dll ifsmgr.vxd enable_win16
17323 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17324 wine_fn_config_dll imagehlp enable_imagehlp implib
17325 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17326 wine_fn_config_dll imm.dll16 enable_win16
17327 wine_fn_config_dll imm32 enable_imm32 implib
17328 wine_fn_config_test dlls/imm32/tests imm32_test
17329 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17330 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17331 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17332 wine_fn_config_dll inetmib1 enable_inetmib1
17333 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17334 wine_fn_config_dll infosoft enable_infosoft clean
17335 wine_fn_config_test dlls/infosoft/tests infosoft_test
17336 wine_fn_config_dll initpki enable_initpki
17337 wine_fn_config_dll inkobj enable_inkobj
17338 wine_fn_config_dll inseng enable_inseng clean
17339 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17340 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17341 wine_fn_config_dll itircl enable_itircl
17342 wine_fn_config_dll itss enable_itss clean
17343 wine_fn_config_test dlls/itss/tests itss_test
17344 wine_fn_config_dll joy.cpl enable_joy_cpl po
17345 wine_fn_config_dll jscript enable_jscript clean,po
17346 wine_fn_config_test dlls/jscript/tests jscript_test
17347 wine_fn_config_dll jsproxy enable_jsproxy implib
17348 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17349 wine_fn_config_test dlls/kernel32/tests kernel32_test
17350 wine_fn_config_dll keyboard.drv16 enable_win16
17351 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17352 wine_fn_config_dll ksuser enable_ksuser
17353 wine_fn_config_dll ktmw32 enable_ktmw32
17354 wine_fn_config_dll loadperf enable_loadperf implib
17355 wine_fn_config_dll localspl enable_localspl po
17356 wine_fn_config_test dlls/localspl/tests localspl_test
17357 wine_fn_config_dll localui enable_localui po
17358 wine_fn_config_test dlls/localui/tests localui_test
17359 wine_fn_config_dll lz32 enable_lz32 implib
17360 wine_fn_config_test dlls/lz32/tests lz32_test
17361 wine_fn_config_dll lzexpand.dll16 enable_win16
17362 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17363 wine_fn_config_test dlls/mapi32/tests mapi32_test
17364 wine_fn_config_dll mapistub enable_mapistub
17365 wine_fn_config_dll mciavi32 enable_mciavi32
17366 wine_fn_config_dll mcicda enable_mcicda
17367 wine_fn_config_dll mciqtz32 enable_mciqtz32
17368 wine_fn_config_dll mciseq enable_mciseq
17369 wine_fn_config_dll mciwave enable_mciwave
17370 wine_fn_config_dll mf enable_mf
17371 wine_fn_config_dll mfplat enable_mfplat
17372 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17373 wine_fn_config_dll mgmtapi enable_mgmtapi
17374 wine_fn_config_dll midimap enable_midimap
17375 wine_fn_config_dll mlang enable_mlang clean,implib
17376 wine_fn_config_test dlls/mlang/tests mlang_test
17377 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17378 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17379 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17380 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17381 wine_fn_config_dll mmdevldr.vxd enable_win16
17382 wine_fn_config_dll mmsystem.dll16 enable_win16
17383 wine_fn_config_dll monodebg.vxd enable_win16
17384 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17385 wine_fn_config_dll mouse.drv16 enable_win16
17386 wine_fn_config_dll mpr enable_mpr implib,po
17387 wine_fn_config_test dlls/mpr/tests mpr_test
17388 wine_fn_config_dll mprapi enable_mprapi implib
17389 wine_fn_config_dll msacm.dll16 enable_win16
17390 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17391 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17392 wine_fn_config_test dlls/msacm32/tests msacm32_test
17393 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17394 wine_fn_config_dll msasn1 enable_msasn1 implib
17395 wine_fn_config_dll mscat32 enable_mscat32
17396 wine_fn_config_dll mscms enable_mscms implib
17397 wine_fn_config_test dlls/mscms/tests mscms_test
17398 wine_fn_config_dll mscoree enable_mscoree clean
17399 wine_fn_config_test dlls/mscoree/tests mscoree_test
17400 wine_fn_config_dll msctf enable_msctf clean
17401 wine_fn_config_test dlls/msctf/tests msctf_test
17402 wine_fn_config_dll msctfp enable_msctfp clean
17403 wine_fn_config_dll msdaps enable_msdaps clean
17404 wine_fn_config_dll msdmo enable_msdmo implib
17405 wine_fn_config_test dlls/msdmo/tests msdmo_test
17406 wine_fn_config_dll msftedit enable_msftedit
17407 wine_fn_config_dll msg711.acm enable_msg711_acm
17408 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17409 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17410 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17411 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17412 wine_fn_config_dll msi enable_msi clean,implib,po
17413 wine_fn_config_test dlls/msi/tests msi_test
17414 wine_fn_config_dll msident enable_msident clean
17415 wine_fn_config_dll msimg32 enable_msimg32 implib
17416 wine_fn_config_dll msimsg enable_msimsg
17417 wine_fn_config_dll msimtf enable_msimtf clean
17418 wine_fn_config_dll msisip enable_msisip
17419 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17420 wine_fn_config_dll msls31 enable_msls31
17421 wine_fn_config_dll msnet32 enable_msnet32
17422 wine_fn_config_dll mspatcha enable_mspatcha implib
17423 wine_fn_config_dll msrle32 enable_msrle32 po
17424 wine_fn_config_test dlls/msrle32/tests msrle32_test
17425 wine_fn_config_dll mssign32 enable_mssign32
17426 wine_fn_config_dll mssip32 enable_mssip32
17427 wine_fn_config_dll mstask enable_mstask clean
17428 wine_fn_config_test dlls/mstask/tests mstask_test
17429 wine_fn_config_dll msvcirt enable_msvcirt
17430 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17431 wine_fn_config_dll msvcm80 enable_msvcm80
17432 wine_fn_config_dll msvcm90 enable_msvcm90
17433 wine_fn_config_dll msvcp100 enable_msvcp100
17434 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17435 wine_fn_config_dll msvcp110 enable_msvcp110
17436 wine_fn_config_dll msvcp120 enable_msvcp120
17437 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17438 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17439 wine_fn_config_dll msvcp60 enable_msvcp60
17440 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17441 wine_fn_config_dll msvcp70 enable_msvcp70
17442 wine_fn_config_dll msvcp71 enable_msvcp71
17443 wine_fn_config_dll msvcp80 enable_msvcp80
17444 wine_fn_config_dll msvcp90 enable_msvcp90
17445 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17446 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17447 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17448 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17449 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17450 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17451 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17452 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17453 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17454 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17455 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17456 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17457 wine_fn_config_dll msvcrt enable_msvcrt implib
17458 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17459 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17460 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17461 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17462 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17463 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17464 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17465 wine_fn_config_dll msvidc32 enable_msvidc32 po
17466 wine_fn_config_dll msvideo.dll16 enable_win16
17467 wine_fn_config_dll mswsock enable_mswsock implib
17468 wine_fn_config_dll msxml enable_msxml clean
17469 wine_fn_config_dll msxml2 enable_msxml2 clean
17470 wine_fn_config_dll msxml3 enable_msxml3 clean
17471 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17472 wine_fn_config_dll msxml4 enable_msxml4 clean
17473 wine_fn_config_dll msxml6 enable_msxml6 clean
17474 wine_fn_config_dll nddeapi enable_nddeapi implib
17475 wine_fn_config_dll ndis.sys enable_ndis_sys
17476 wine_fn_config_dll netapi32 enable_netapi32 implib
17477 wine_fn_config_test dlls/netapi32/tests netapi32_test
17478 wine_fn_config_dll netcfgx enable_netcfgx clean
17479 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17480 wine_fn_config_dll netprofm enable_netprofm clean
17481 wine_fn_config_test dlls/netprofm/tests netprofm_test
17482 wine_fn_config_dll newdev enable_newdev implib
17483 wine_fn_config_dll normaliz enable_normaliz implib
17484 wine_fn_config_dll npmshtml enable_npmshtml
17485 wine_fn_config_dll npptools enable_npptools
17486 wine_fn_config_dll ntdll enable_ntdll implib
17487 wine_fn_config_test dlls/ntdll/tests ntdll_test
17488 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17489 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17490 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17491 wine_fn_config_dll ntprint enable_ntprint
17492 wine_fn_config_test dlls/ntprint/tests ntprint_test
17493 wine_fn_config_dll objsel enable_objsel clean
17494 wine_fn_config_dll odbc32 enable_odbc32 implib
17495 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17496 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17497 wine_fn_config_dll odbccu32 enable_odbccu32
17498 wine_fn_config_dll ole2.dll16 enable_win16
17499 wine_fn_config_dll ole2conv.dll16 enable_win16
17500 wine_fn_config_dll ole2disp.dll16 enable_win16
17501 wine_fn_config_dll ole2nls.dll16 enable_win16
17502 wine_fn_config_dll ole2prox.dll16 enable_win16
17503 wine_fn_config_dll ole2thk.dll16 enable_win16
17504 wine_fn_config_dll ole32 enable_ole32 clean,implib
17505 wine_fn_config_test dlls/ole32/tests ole32_test
17506 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17507 wine_fn_config_test dlls/oleacc/tests oleacc_test
17508 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17509 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17510 wine_fn_config_dll olecli.dll16 enable_win16
17511 wine_fn_config_dll olecli32 enable_olecli32 implib
17512 wine_fn_config_dll oledb32 enable_oledb32 clean
17513 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17514 wine_fn_config_dll oledlg enable_oledlg implib,po
17515 wine_fn_config_test dlls/oledlg/tests oledlg_test
17516 wine_fn_config_dll olepro32 enable_olepro32 implib
17517 wine_fn_config_dll olesvr.dll16 enable_win16
17518 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17519 wine_fn_config_dll olethk32 enable_olethk32
17520 wine_fn_config_dll openal32 enable_openal32
17521 wine_fn_config_dll opencl enable_opencl
17522 wine_fn_config_dll opengl32 enable_opengl32 implib
17523 wine_fn_config_test dlls/opengl32/tests opengl32_test
17524 wine_fn_config_dll packager enable_packager clean
17525 wine_fn_config_test dlls/packager/tests packager_test
17526 wine_fn_config_dll pdh enable_pdh implib
17527 wine_fn_config_test dlls/pdh/tests pdh_test
17528 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17529 wine_fn_config_dll pidgen enable_pidgen
17530 wine_fn_config_dll powrprof enable_powrprof implib
17531 wine_fn_config_dll printui enable_printui
17532 wine_fn_config_dll prntvpt enable_prntvpt
17533 wine_fn_config_dll propsys enable_propsys clean,implib
17534 wine_fn_config_test dlls/propsys/tests propsys_test
17535 wine_fn_config_dll psapi enable_psapi implib
17536 wine_fn_config_test dlls/psapi/tests psapi_test
17537 wine_fn_config_dll pstorec enable_pstorec clean
17538 wine_fn_config_dll qcap enable_qcap
17539 wine_fn_config_test dlls/qcap/tests qcap_test
17540 wine_fn_config_dll qedit enable_qedit clean
17541 wine_fn_config_test dlls/qedit/tests qedit_test
17542 wine_fn_config_dll qmgr enable_qmgr clean
17543 wine_fn_config_test dlls/qmgr/tests qmgr_test
17544 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17545 wine_fn_config_dll quartz enable_quartz clean,implib
17546 wine_fn_config_test dlls/quartz/tests quartz_test clean
17547 wine_fn_config_dll query enable_query
17548 wine_fn_config_dll rasapi16.dll16 enable_win16
17549 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17550 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17551 wine_fn_config_dll rasdlg enable_rasdlg implib
17552 wine_fn_config_dll regapi enable_regapi
17553 wine_fn_config_dll resutils enable_resutils implib
17554 wine_fn_config_dll riched20 enable_riched20 clean,implib
17555 wine_fn_config_test dlls/riched20/tests riched20_test
17556 wine_fn_config_dll riched32 enable_riched32
17557 wine_fn_config_test dlls/riched32/tests riched32_test
17558 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17559 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17560 wine_fn_config_dll rsabase enable_rsabase
17561 wine_fn_config_dll rsaenh enable_rsaenh implib
17562 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17563 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17564 wine_fn_config_dll rtutils enable_rtutils implib
17565 wine_fn_config_dll samlib enable_samlib
17566 wine_fn_config_dll sane.ds enable_sane_ds po
17567 wine_fn_config_dll scarddlg enable_scarddlg
17568 wine_fn_config_dll sccbase enable_sccbase
17569 wine_fn_config_dll schannel enable_schannel
17570 wine_fn_config_test dlls/schannel/tests schannel_test
17571 wine_fn_config_dll schedsvc enable_schedsvc clean
17572 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17573 wine_fn_config_dll scrrun enable_scrrun clean
17574 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17575 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17576 wine_fn_config_dll secur32 enable_secur32 implib
17577 wine_fn_config_test dlls/secur32/tests secur32_test
17578 wine_fn_config_dll security enable_security
17579 wine_fn_config_dll sensapi enable_sensapi implib
17580 wine_fn_config_dll serialui enable_serialui implib,po
17581 wine_fn_config_test dlls/serialui/tests serialui_test
17582 wine_fn_config_dll setupapi enable_setupapi implib,po
17583 wine_fn_config_test dlls/setupapi/tests setupapi_test
17584 wine_fn_config_dll setupx.dll16 enable_win16
17585 wine_fn_config_dll sfc enable_sfc implib
17586 wine_fn_config_dll sfc_os enable_sfc_os implib
17587 wine_fn_config_dll shdoclc enable_shdoclc po
17588 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17589 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17590 wine_fn_config_dll shell.dll16 enable_win16
17591 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17592 wine_fn_config_test dlls/shell32/tests shell32_test
17593 wine_fn_config_dll shfolder enable_shfolder implib
17594 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17595 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17596 wine_fn_config_dll slbcsp enable_slbcsp
17597 wine_fn_config_dll slc enable_slc implib
17598 wine_fn_config_test dlls/slc/tests slc_test
17599 wine_fn_config_dll snmpapi enable_snmpapi implib
17600 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17601 wine_fn_config_dll softpub enable_softpub
17602 wine_fn_config_dll sound.drv16 enable_win16
17603 wine_fn_config_dll spoolss enable_spoolss implib
17604 wine_fn_config_test dlls/spoolss/tests spoolss_test
17605 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17606 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17607 wine_fn_config_dll sti enable_sti clean,implib
17608 wine_fn_config_test dlls/sti/tests sti_test
17609 wine_fn_config_dll storage.dll16 enable_win16
17610 wine_fn_config_dll stress.dll16 enable_win16
17611 wine_fn_config_lib strmbase
17612 wine_fn_config_lib strmiids
17613 wine_fn_config_dll svrapi enable_svrapi
17614 wine_fn_config_dll sxs enable_sxs implib
17615 wine_fn_config_test dlls/sxs/tests sxs_test
17616 wine_fn_config_dll system.drv16 enable_win16
17617 wine_fn_config_dll t2embed enable_t2embed
17618 wine_fn_config_dll tapi32 enable_tapi32 implib
17619 wine_fn_config_dll taskschd enable_taskschd clean
17620 wine_fn_config_test dlls/taskschd/tests taskschd_test
17621 wine_fn_config_dll toolhelp.dll16 enable_win16
17622 wine_fn_config_dll traffic enable_traffic
17623 wine_fn_config_dll twain.dll16 enable_win16
17624 wine_fn_config_dll twain_32 enable_twain_32
17625 wine_fn_config_test dlls/twain_32/tests twain_32_test
17626 wine_fn_config_dll typelib.dll16 enable_win16
17627 wine_fn_config_dll unicows enable_unicows implib
17628 wine_fn_config_dll updspapi enable_updspapi
17629 wine_fn_config_dll url enable_url implib
17630 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17631 wine_fn_config_test dlls/urlmon/tests urlmon_test
17632 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17633 wine_fn_config_dll user.exe16 enable_win16
17634 wine_fn_config_dll user32 enable_user32 clean,implib,po
17635 wine_fn_config_test dlls/user32/tests user32_test
17636 wine_fn_config_dll userenv enable_userenv implib
17637 wine_fn_config_test dlls/userenv/tests userenv_test
17638 wine_fn_config_dll usp10 enable_usp10 implib
17639 wine_fn_config_test dlls/usp10/tests usp10_test
17640 wine_fn_config_lib uuid
17641 wine_fn_config_dll uxtheme enable_uxtheme implib
17642 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17643 wine_fn_config_dll vbscript enable_vbscript clean
17644 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17645 wine_fn_config_dll vcomp enable_vcomp
17646 wine_fn_config_dll vcomp100 enable_vcomp100
17647 wine_fn_config_dll vcomp90 enable_vcomp90
17648 wine_fn_config_dll vdhcp.vxd enable_win16
17649 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17650 wine_fn_config_dll ver.dll16 enable_win16
17651 wine_fn_config_dll version enable_version implib
17652 wine_fn_config_test dlls/version/tests version_test
17653 wine_fn_config_dll vmm.vxd enable_win16
17654 wine_fn_config_dll vnbt.vxd enable_win16
17655 wine_fn_config_dll vnetbios.vxd enable_win16
17656 wine_fn_config_dll vssapi enable_vssapi
17657 wine_fn_config_dll vtdapi.vxd enable_win16
17658 wine_fn_config_dll vwin32.vxd enable_win16
17659 wine_fn_config_dll w32skrnl enable_win16
17660 wine_fn_config_dll w32sys.dll16 enable_win16
17661 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17662 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17663 wine_fn_config_dll wbemprox enable_wbemprox clean
17664 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17665 wine_fn_config_dll webservices enable_webservices implib
17666 wine_fn_config_dll wer enable_wer implib
17667 wine_fn_config_test dlls/wer/tests wer_test
17668 wine_fn_config_dll wevtapi enable_wevtapi
17669 wine_fn_config_dll wiaservc enable_wiaservc clean
17670 wine_fn_config_dll win32s16.dll16 enable_win16
17671 wine_fn_config_dll win87em.dll16 enable_win16
17672 wine_fn_config_dll winaspi.dll16 enable_win16
17673 wine_fn_config_dll windebug.dll16 enable_win16
17674 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17675 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17676 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17677 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17678 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17679 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17680 wine_fn_config_lib winecrt0
17681 wine_fn_config_dll wined3d enable_wined3d implib
17682 wine_fn_config_dll winegstreamer enable_winegstreamer
17683 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17684 wine_fn_config_dll winemac.drv enable_winemac_drv
17685 wine_fn_config_dll winemapi enable_winemapi
17686 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17687 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17688 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17689 wine_fn_config_dll wineps16.drv16 enable_win16
17690 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17691 wine_fn_config_dll winex11.drv enable_winex11_drv
17692 wine_fn_config_dll wing.dll16 enable_win16
17693 wine_fn_config_dll wing32 enable_wing32
17694 wine_fn_config_dll winhttp enable_winhttp clean,implib
17695 wine_fn_config_test dlls/winhttp/tests winhttp_test
17696 wine_fn_config_dll wininet enable_wininet implib,po
17697 wine_fn_config_test dlls/wininet/tests wininet_test
17698 wine_fn_config_dll winmm enable_winmm implib,po
17699 wine_fn_config_test dlls/winmm/tests winmm_test
17700 wine_fn_config_dll winnls.dll16 enable_win16
17701 wine_fn_config_dll winnls32 enable_winnls32 implib
17702 wine_fn_config_dll winscard enable_winscard implib
17703 wine_fn_config_dll winsock.dll16 enable_win16
17704 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17705 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17706 wine_fn_config_dll winsta enable_winsta
17707 wine_fn_config_dll wintab.dll16 enable_win16
17708 wine_fn_config_dll wintab32 enable_wintab32 implib
17709 wine_fn_config_test dlls/wintab32/tests wintab32_test
17710 wine_fn_config_dll wintrust enable_wintrust implib
17711 wine_fn_config_test dlls/wintrust/tests wintrust_test
17712 wine_fn_config_dll wlanapi enable_wlanapi
17713 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17714 wine_fn_config_test dlls/wldap32/tests wldap32_test
17715 wine_fn_config_dll wmi enable_wmi
17716 wine_fn_config_dll wmiutils enable_wmiutils clean
17717 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17718 wine_fn_config_dll wmp enable_wmp clean
17719 wine_fn_config_test dlls/wmp/tests wmp_test
17720 wine_fn_config_dll wmvcore enable_wmvcore
17721 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17722 wine_fn_config_dll wow32 enable_win16 implib
17723 wine_fn_config_dll wpcap enable_wpcap
17724 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17725 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17726 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17727 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17728 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17729 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17730 wine_fn_config_dll wsock32 enable_wsock32 implib
17731 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17732 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17733 wine_fn_config_dll wuapi enable_wuapi clean
17734 wine_fn_config_dll wuaueng enable_wuaueng
17735 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17736 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17737 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17738 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17739 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17740 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17741 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17742 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17743 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17744 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17745 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17746 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17747 wine_fn_config_dll xinput1_1 enable_xinput1_1
17748 wine_fn_config_dll xinput1_2 enable_xinput1_2
17749 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17750 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17751 wine_fn_config_dll xinput1_4 enable_xinput1_4
17752 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17753 wine_fn_config_dll xmllite enable_xmllite implib
17754 wine_fn_config_test dlls/xmllite/tests xmllite_test
17755 wine_fn_config_dll xolehlp enable_xolehlp
17756 wine_fn_config_dll xpsprint enable_xpsprint
17757 wine_fn_config_dll xpssvcs enable_xpssvcs
17758 wine_fn_config_makefile documentation enable_documentation clean
17759 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17760 wine_fn_config_makefile include enable_include clean,install-dev
17761 wine_fn_config_makefile libs/port enable_libs_port
17762 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17763 wine_fn_config_makefile libs/wpp enable_libs_wpp
17764 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17765 wine_fn_config_program arp enable_arp install
17766 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17767 wine_fn_config_program attrib enable_attrib install,po
17768 wine_fn_config_program cabarc enable_cabarc install
17769 wine_fn_config_program cacls enable_cacls install
17770 wine_fn_config_program clock enable_clock install,po
17771 wine_fn_config_program cmd enable_cmd install,po
17772 wine_fn_config_test programs/cmd/tests cmd.exe_test
17773 wine_fn_config_program conhost enable_conhost install
17774 wine_fn_config_program control enable_control install
17775 wine_fn_config_program cscript enable_cscript clean,install
17776 wine_fn_config_program dpnsvr enable_dpnsvr install
17777 wine_fn_config_program dxdiag enable_dxdiag install,po
17778 wine_fn_config_program eject enable_eject install
17779 wine_fn_config_program expand enable_expand install
17780 wine_fn_config_program explorer enable_explorer install,po
17781 wine_fn_config_program extrac32 enable_extrac32 install
17782 wine_fn_config_program findstr enable_findstr install
17783 wine_fn_config_program hh enable_hh install
17784 wine_fn_config_program hostname enable_hostname install,po
17785 wine_fn_config_program icinfo enable_icinfo install
17786 wine_fn_config_program iexplore enable_iexplore install
17787 wine_fn_config_program ipconfig enable_ipconfig install,po
17788 wine_fn_config_program lodctr enable_lodctr install
17789 wine_fn_config_program mofcomp enable_mofcomp install
17790 wine_fn_config_program mshta enable_mshta install
17791 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17792 wine_fn_config_program net enable_net install,po
17793 wine_fn_config_program netsh enable_netsh install
17794 wine_fn_config_program netstat enable_netstat install,po
17795 wine_fn_config_program ngen enable_ngen install
17796 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17797 wine_fn_config_program oleview enable_oleview install,po
17798 wine_fn_config_program ping enable_ping install
17799 wine_fn_config_program plugplay enable_plugplay install
17800 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17801 wine_fn_config_program progman enable_progman install,po
17802 wine_fn_config_program reg enable_reg install,po
17803 wine_fn_config_test programs/reg/tests reg.exe_test
17804 wine_fn_config_program regasm enable_regasm install
17805 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17806 wine_fn_config_test programs/regedit/tests regedit.exe_test
17807 wine_fn_config_program regsvcs enable_regsvcs install
17808 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17809 wine_fn_config_program rpcss enable_rpcss clean,install
17810 wine_fn_config_program rundll.exe16 enable_win16 install
17811 wine_fn_config_program rundll32 enable_rundll32 install
17812 wine_fn_config_program sc enable_sc install
17813 wine_fn_config_program schtasks enable_schtasks install
17814 wine_fn_config_program sdbinst enable_sdbinst install
17815 wine_fn_config_program secedit enable_secedit install
17816 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17817 wine_fn_config_program services enable_services clean,install
17818 wine_fn_config_test programs/services/tests services.exe_test
17819 wine_fn_config_program spoolsv enable_spoolsv install
17820 wine_fn_config_program start enable_start install,po
17821 wine_fn_config_program svchost enable_svchost install
17822 wine_fn_config_program systeminfo enable_systeminfo install
17823 wine_fn_config_program taskkill enable_taskkill install,po
17824 wine_fn_config_program tasklist enable_tasklist install
17825 wine_fn_config_program taskmgr enable_taskmgr install,po
17826 wine_fn_config_program termsv enable_termsv install
17827 wine_fn_config_program uninstaller enable_uninstaller install,po
17828 wine_fn_config_program unlodctr enable_unlodctr install
17829 wine_fn_config_program view enable_view install,po
17830 wine_fn_config_program wevtutil enable_wevtutil install
17831 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17832 wine_fn_config_program winebrowser enable_winebrowser install
17833 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17834 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17835 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17836 wine_fn_config_program winedevice enable_winedevice install
17837 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17838 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17839 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17840 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17841 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17842 wine_fn_config_program winetest enable_winetest clean
17843 wine_fn_config_program winevdm enable_win16 install
17844 wine_fn_config_program winhelp.exe16 enable_win16 install
17845 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17846 wine_fn_config_program winoldap.mod16 enable_win16 install
17847 wine_fn_config_program winver enable_winver install
17848 wine_fn_config_program wmic enable_wmic install,po
17849 wine_fn_config_program wordpad enable_wordpad install,po
17850 wine_fn_config_program write enable_write install,po
17851 wine_fn_config_program wscript enable_wscript clean,install
17852 wine_fn_config_test programs/wscript/tests wscript.exe_test
17853 wine_fn_config_program wusa enable_wusa install
17854 wine_fn_config_program xcopy enable_xcopy install,po
17855 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17856 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17857 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17858 wine_fn_config_tool tools/sfnt2fon clean
17859 wine_fn_config_tool tools/widl clean,install-dev,manpage
17860 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17861 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17862 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17863 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17864 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17866 LINGUAS="\
17867 ar \
17868 bg \
17869 ca \
17870 cs \
17871 da \
17872 de \
17873 el \
17874 en \
17875 en_US \
17876 eo \
17877 es \
17878 fa \
17879 fi \
17880 fr \
17881 he \
17882 hi \
17883 hr \
17884 hu \
17885 it \
17886 ja \
17887 ko \
17888 lt \
17889 ml \
17890 nb_NO \
17891 nl \
17892 or \
17893 pa \
17894 pl \
17895 pt_BR \
17896 pt_PT \
17897 rm \
17898 ro \
17899 ru \
17900 sk \
17901 sl \
17902 sr_RS@cyrillic \
17903 sr_RS@latin \
17904 sv \
17905 te \
17906 th \
17907 tr \
17908 uk \
17909 wa \
17910 zh_CN \
17911 zh_TW"
17916 wine_fn_ignore_file ".gitignore"
17917 wine_fn_ignore_file "Makefile"
17918 wine_fn_ignore_file "TAGS"
17919 wine_fn_ignore_file "tags"
17920 wine_fn_ignore_file "autom4te.cache"
17921 wine_fn_ignore_file "config.cache"
17922 wine_fn_ignore_file "config.log"
17923 wine_fn_ignore_file "config.status"
17924 wine_fn_ignore_file "configure.lineno"
17925 wine_fn_ignore_file "include/config.h"
17926 wine_fn_ignore_file "include/stamp-h"
17927 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17929 if test "x$enable_tools" != xno
17930 then
17931 wine_fn_ignore_file "tools/makedep$ac_exeext"
17932 ac_config_commands="$ac_config_commands tools/makedep"
17936 ac_config_commands="$ac_config_commands Makefile"
17939 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17943 if test "x$enable_maintainer_mode" = xyes
17944 then
17945 wine_fn_append_rule "configure: configure.ac aclocal.m4
17946 autoconf --warnings=all
17947 include/config.h.in: include/stamp-h.in
17948 include/stamp-h.in: configure.ac aclocal.m4
17949 autoheader --warnings=all
17950 @echo timestamp > \$@"
17953 if test "x$with_gettextpo" = xyes
17954 then
17955 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17956 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17957 \$(LINGUAS:%=po/%.po): po/wine.pot
17958 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17959 po/wine.pot: \$(ALL_POT_FILES)
17960 msgcat -o \$@ \$(ALL_POT_FILES)"
17963 if test "$MSGFMT" != false
17964 then
17965 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17966 clean::
17967 \$(RM) \$(LINGUAS:%=po/%.mo)"
17969 posrc="po"
17970 test "$srcdir" = . || posrc="$srcdir/po"
17971 for i in $LINGUAS
17973 wine_fn_ignore_file "po/$i.mo"
17974 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17975 \$(MSGFMT) -o \$@ $posrc/$i.po"
17976 done
17977 else
17978 LINGUAS=
17981 if test "x$enable_tools" != xno
17982 then
17983 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17984 @./config.status tools/makedep
17985 Makefile: tools/makedep$ac_exeext
17986 distclean:: clean
17987 \$(RM) tools/makedep$ac_exeext"
17988 else
17989 wine_fn_append_rule "\$(MAKEDEP):
17990 @echo \"You need to run make in $TOOLSDIR first\" && false"
17993 if test -n "$with_wine64"
17994 then
17995 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17996 fonts server tools:
17997 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17998 $with_wine64/loader/wine:
17999 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18000 $with_wine64/loader/wine-preloader:
18001 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18002 clean::
18003 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18004 else
18005 as_fn_append LOADER_RULES "
18006 install install-lib:: wine.inf install-man-pages
18007 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
18008 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18010 uninstall::
18011 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18015 if test "$srcdir" = .
18016 then
18017 ac_config_commands="$ac_config_commands .gitignore"
18021 $as_echo " done" >&6
18022 cat >confcache <<\_ACEOF
18023 # This file is a shell script that caches the results of configure
18024 # tests run on this system so they can be shared between configure
18025 # scripts and configure runs, see configure's option --config-cache.
18026 # It is not useful on other systems. If it contains results you don't
18027 # want to keep, you may remove or edit it.
18029 # config.status only pays attention to the cache file if you give it
18030 # the --recheck option to rerun configure.
18032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18034 # following values.
18036 _ACEOF
18038 # The following way of writing the cache mishandles newlines in values,
18039 # but we know of no workaround that is simple, portable, and efficient.
18040 # So, we kill variables containing newlines.
18041 # Ultrix sh set writes to stderr and can't be redirected directly,
18042 # and sets the high bit in the cache file unless we assign to the vars.
18044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18045 eval ac_val=\$$ac_var
18046 case $ac_val in #(
18047 *${as_nl}*)
18048 case $ac_var in #(
18049 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18050 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18051 esac
18052 case $ac_var in #(
18053 _ | IFS | as_nl) ;; #(
18054 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18055 *) { eval $ac_var=; unset $ac_var;} ;;
18056 esac ;;
18057 esac
18058 done
18060 (set) 2>&1 |
18061 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18062 *${as_nl}ac_space=\ *)
18063 # `set' does not quote correctly, so add quotes: double-quote
18064 # substitution turns \\\\ into \\, and sed turns \\ into \.
18065 sed -n \
18066 "s/'/'\\\\''/g;
18067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18068 ;; #(
18070 # `set' quotes correctly as required by POSIX, so do not add quotes.
18071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18073 esac |
18074 sort
18076 sed '
18077 /^ac_cv_env_/b end
18078 t clear
18079 :clear
18080 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18081 t end
18082 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18083 :end' >>confcache
18084 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18085 if test -w "$cache_file"; then
18086 if test "x$cache_file" != "x/dev/null"; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18088 $as_echo "$as_me: updating cache $cache_file" >&6;}
18089 if test ! -f "$cache_file" || test -h "$cache_file"; then
18090 cat confcache >"$cache_file"
18091 else
18092 case $cache_file in #(
18093 */* | ?:*)
18094 mv -f confcache "$cache_file"$$ &&
18095 mv -f "$cache_file"$$ "$cache_file" ;; #(
18097 mv -f confcache "$cache_file" ;;
18098 esac
18101 else
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18103 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18106 rm -f confcache
18108 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18109 # Let make expand exec_prefix.
18110 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18112 DEFS=-DHAVE_CONFIG_H
18114 ac_libobjs=
18115 ac_ltlibobjs=
18117 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18118 # 1. Remove the extension, and $U if already installed.
18119 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18120 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18122 # will be set to the directory where LIBOBJS objects are built.
18123 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18124 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18125 done
18126 LIBOBJS=$ac_libobjs
18128 LTLIBOBJS=$ac_ltlibobjs
18132 : "${CONFIG_STATUS=./config.status}"
18133 ac_write_fail=0
18134 ac_clean_files_save=$ac_clean_files
18135 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18137 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18138 as_write_fail=0
18139 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18140 #! $SHELL
18141 # Generated by $as_me.
18142 # Run this file to recreate the current configuration.
18143 # Compiler output produced by configure, useful for debugging
18144 # configure, is in config.log if it exists.
18146 debug=false
18147 ac_cs_recheck=false
18148 ac_cs_silent=false
18150 SHELL=\${CONFIG_SHELL-$SHELL}
18151 export SHELL
18152 _ASEOF
18153 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18154 ## -------------------- ##
18155 ## M4sh Initialization. ##
18156 ## -------------------- ##
18158 # Be more Bourne compatible
18159 DUALCASE=1; export DUALCASE # for MKS sh
18160 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18161 emulate sh
18162 NULLCMD=:
18163 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18164 # is contrary to our usage. Disable this feature.
18165 alias -g '${1+"$@"}'='"$@"'
18166 setopt NO_GLOB_SUBST
18167 else
18168 case `(set -o) 2>/dev/null` in #(
18169 *posix*) :
18170 set -o posix ;; #(
18171 *) :
18173 esac
18177 as_nl='
18179 export as_nl
18180 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18181 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18182 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18183 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18184 # Prefer a ksh shell builtin over an external printf program on Solaris,
18185 # but without wasting forks for bash or zsh.
18186 if test -z "$BASH_VERSION$ZSH_VERSION" \
18187 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18188 as_echo='print -r --'
18189 as_echo_n='print -rn --'
18190 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18191 as_echo='printf %s\n'
18192 as_echo_n='printf %s'
18193 else
18194 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18195 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18196 as_echo_n='/usr/ucb/echo -n'
18197 else
18198 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18199 as_echo_n_body='eval
18200 arg=$1;
18201 case $arg in #(
18202 *"$as_nl"*)
18203 expr "X$arg" : "X\\(.*\\)$as_nl";
18204 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18205 esac;
18206 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18208 export as_echo_n_body
18209 as_echo_n='sh -c $as_echo_n_body as_echo'
18211 export as_echo_body
18212 as_echo='sh -c $as_echo_body as_echo'
18215 # The user is always right.
18216 if test "${PATH_SEPARATOR+set}" != set; then
18217 PATH_SEPARATOR=:
18218 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18219 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18220 PATH_SEPARATOR=';'
18225 # IFS
18226 # We need space, tab and new line, in precisely that order. Quoting is
18227 # there to prevent editors from complaining about space-tab.
18228 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18229 # splitting by setting IFS to empty value.)
18230 IFS=" "" $as_nl"
18232 # Find who we are. Look in the path if we contain no directory separator.
18233 as_myself=
18234 case $0 in #((
18235 *[\\/]* ) as_myself=$0 ;;
18236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18237 for as_dir in $PATH
18239 IFS=$as_save_IFS
18240 test -z "$as_dir" && as_dir=.
18241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18242 done
18243 IFS=$as_save_IFS
18246 esac
18247 # We did not find ourselves, most probably we were run as `sh COMMAND'
18248 # in which case we are not to be found in the path.
18249 if test "x$as_myself" = x; then
18250 as_myself=$0
18252 if test ! -f "$as_myself"; then
18253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18254 exit 1
18257 # Unset variables that we do not need and which cause bugs (e.g. in
18258 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18259 # suppresses any "Segmentation fault" message there. '((' could
18260 # trigger a bug in pdksh 5.2.14.
18261 for as_var in BASH_ENV ENV MAIL MAILPATH
18262 do eval test x\${$as_var+set} = xset \
18263 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18264 done
18265 PS1='$ '
18266 PS2='> '
18267 PS4='+ '
18269 # NLS nuisances.
18270 LC_ALL=C
18271 export LC_ALL
18272 LANGUAGE=C
18273 export LANGUAGE
18275 # CDPATH.
18276 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18279 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18280 # ----------------------------------------
18281 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18282 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18283 # script with STATUS, using 1 if that was 0.
18284 as_fn_error ()
18286 as_status=$1; test $as_status -eq 0 && as_status=1
18287 if test "$4"; then
18288 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18291 $as_echo "$as_me: error: $2" >&2
18292 as_fn_exit $as_status
18293 } # as_fn_error
18296 # as_fn_set_status STATUS
18297 # -----------------------
18298 # Set $? to STATUS, without forking.
18299 as_fn_set_status ()
18301 return $1
18302 } # as_fn_set_status
18304 # as_fn_exit STATUS
18305 # -----------------
18306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18307 as_fn_exit ()
18309 set +e
18310 as_fn_set_status $1
18311 exit $1
18312 } # as_fn_exit
18314 # as_fn_unset VAR
18315 # ---------------
18316 # Portably unset VAR.
18317 as_fn_unset ()
18319 { eval $1=; unset $1;}
18321 as_unset=as_fn_unset
18322 # as_fn_append VAR VALUE
18323 # ----------------------
18324 # Append the text in VALUE to the end of the definition contained in VAR. Take
18325 # advantage of any shell optimizations that allow amortized linear growth over
18326 # repeated appends, instead of the typical quadratic growth present in naive
18327 # implementations.
18328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18329 eval 'as_fn_append ()
18331 eval $1+=\$2
18333 else
18334 as_fn_append ()
18336 eval $1=\$$1\$2
18338 fi # as_fn_append
18340 # as_fn_arith ARG...
18341 # ------------------
18342 # Perform arithmetic evaluation on the ARGs, and store the result in the
18343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18344 # must be portable across $(()) and expr.
18345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18346 eval 'as_fn_arith ()
18348 as_val=$(( $* ))
18350 else
18351 as_fn_arith ()
18353 as_val=`expr "$@" || test $? -eq 1`
18355 fi # as_fn_arith
18358 if expr a : '\(a\)' >/dev/null 2>&1 &&
18359 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18360 as_expr=expr
18361 else
18362 as_expr=false
18365 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18366 as_basename=basename
18367 else
18368 as_basename=false
18371 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18372 as_dirname=dirname
18373 else
18374 as_dirname=false
18377 as_me=`$as_basename -- "$0" ||
18378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18379 X"$0" : 'X\(//\)$' \| \
18380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18381 $as_echo X/"$0" |
18382 sed '/^.*\/\([^/][^/]*\)\/*$/{
18383 s//\1/
18386 /^X\/\(\/\/\)$/{
18387 s//\1/
18390 /^X\/\(\/\).*/{
18391 s//\1/
18394 s/.*/./; q'`
18396 # Avoid depending upon Character Ranges.
18397 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18398 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18399 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18400 as_cr_digits='0123456789'
18401 as_cr_alnum=$as_cr_Letters$as_cr_digits
18403 ECHO_C= ECHO_N= ECHO_T=
18404 case `echo -n x` in #(((((
18405 -n*)
18406 case `echo 'xy\c'` in
18407 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18408 xy) ECHO_C='\c';;
18409 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18410 ECHO_T=' ';;
18411 esac;;
18413 ECHO_N='-n';;
18414 esac
18416 rm -f conf$$ conf$$.exe conf$$.file
18417 if test -d conf$$.dir; then
18418 rm -f conf$$.dir/conf$$.file
18419 else
18420 rm -f conf$$.dir
18421 mkdir conf$$.dir 2>/dev/null
18423 if (echo >conf$$.file) 2>/dev/null; then
18424 if ln -s conf$$.file conf$$ 2>/dev/null; then
18425 as_ln_s='ln -s'
18426 # ... but there are two gotchas:
18427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18429 # In both cases, we have to default to `cp -pR'.
18430 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18431 as_ln_s='cp -pR'
18432 elif ln conf$$.file conf$$ 2>/dev/null; then
18433 as_ln_s=ln
18434 else
18435 as_ln_s='cp -pR'
18437 else
18438 as_ln_s='cp -pR'
18440 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18441 rmdir conf$$.dir 2>/dev/null
18444 # as_fn_mkdir_p
18445 # -------------
18446 # Create "$as_dir" as a directory, including parents if necessary.
18447 as_fn_mkdir_p ()
18450 case $as_dir in #(
18451 -*) as_dir=./$as_dir;;
18452 esac
18453 test -d "$as_dir" || eval $as_mkdir_p || {
18454 as_dirs=
18455 while :; do
18456 case $as_dir in #(
18457 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18458 *) as_qdir=$as_dir;;
18459 esac
18460 as_dirs="'$as_qdir' $as_dirs"
18461 as_dir=`$as_dirname -- "$as_dir" ||
18462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18463 X"$as_dir" : 'X\(//\)[^/]' \| \
18464 X"$as_dir" : 'X\(//\)$' \| \
18465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18466 $as_echo X"$as_dir" |
18467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18468 s//\1/
18471 /^X\(\/\/\)[^/].*/{
18472 s//\1/
18475 /^X\(\/\/\)$/{
18476 s//\1/
18479 /^X\(\/\).*/{
18480 s//\1/
18483 s/.*/./; q'`
18484 test -d "$as_dir" && break
18485 done
18486 test -z "$as_dirs" || eval "mkdir $as_dirs"
18487 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18490 } # as_fn_mkdir_p
18491 if mkdir -p . 2>/dev/null; then
18492 as_mkdir_p='mkdir -p "$as_dir"'
18493 else
18494 test -d ./-p && rmdir ./-p
18495 as_mkdir_p=false
18499 # as_fn_executable_p FILE
18500 # -----------------------
18501 # Test if FILE is an executable regular file.
18502 as_fn_executable_p ()
18504 test -f "$1" && test -x "$1"
18505 } # as_fn_executable_p
18506 as_test_x='test -x'
18507 as_executable_p=as_fn_executable_p
18509 # Sed expression to map a string onto a valid CPP name.
18510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18512 # Sed expression to map a string onto a valid variable name.
18513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18516 exec 6>&1
18517 ## ----------------------------------- ##
18518 ## Main body of $CONFIG_STATUS script. ##
18519 ## ----------------------------------- ##
18520 _ASEOF
18521 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18524 # Save the log message, to keep $0 and so on meaningful, and to
18525 # report actual input values of CONFIG_FILES etc. instead of their
18526 # values after options handling.
18527 ac_log="
18528 This file was extended by Wine $as_me 1.7.45, which was
18529 generated by GNU Autoconf 2.69. Invocation command line was
18531 CONFIG_FILES = $CONFIG_FILES
18532 CONFIG_HEADERS = $CONFIG_HEADERS
18533 CONFIG_LINKS = $CONFIG_LINKS
18534 CONFIG_COMMANDS = $CONFIG_COMMANDS
18535 $ $0 $@
18537 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18540 _ACEOF
18542 case $ac_config_files in *"
18543 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18544 esac
18546 case $ac_config_headers in *"
18547 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18548 esac
18551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18552 # Files that config.status was made for.
18553 config_files="$ac_config_files"
18554 config_headers="$ac_config_headers"
18555 config_links="$ac_config_links"
18556 config_commands="$ac_config_commands"
18558 _ACEOF
18560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18561 ac_cs_usage="\
18562 \`$as_me' instantiates files and other configuration actions
18563 from templates according to the current configuration. Unless the files
18564 and actions are specified as TAGs, all are instantiated by default.
18566 Usage: $0 [OPTION]... [TAG]...
18568 -h, --help print this help, then exit
18569 -V, --version print version number and configuration settings, then exit
18570 --config print configuration, then exit
18571 -q, --quiet, --silent
18572 do not print progress messages
18573 -d, --debug don't remove temporary files
18574 --recheck update $as_me by reconfiguring in the same conditions
18575 --file=FILE[:TEMPLATE]
18576 instantiate the configuration file FILE
18577 --header=FILE[:TEMPLATE]
18578 instantiate the configuration header FILE
18580 Configuration files:
18581 $config_files
18583 Configuration headers:
18584 $config_headers
18586 Configuration links:
18587 $config_links
18589 Configuration commands:
18590 $config_commands
18592 Report bugs to <wine-devel@winehq.org>.
18593 Wine home page: <http://www.winehq.org>."
18595 _ACEOF
18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18598 ac_cs_version="\\
18599 Wine config.status 1.7.45
18600 configured by $0, generated by GNU Autoconf 2.69,
18601 with options \\"\$ac_cs_config\\"
18603 Copyright (C) 2012 Free Software Foundation, Inc.
18604 This config.status script is free software; the Free Software Foundation
18605 gives unlimited permission to copy, distribute and modify it."
18607 ac_pwd='$ac_pwd'
18608 srcdir='$srcdir'
18609 test -n "\$AWK" || AWK=awk
18610 _ACEOF
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613 # The default lists apply if the user does not specify any file.
18614 ac_need_defaults=:
18615 while test $# != 0
18617 case $1 in
18618 --*=?*)
18619 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18620 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18621 ac_shift=:
18623 --*=)
18624 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18625 ac_optarg=
18626 ac_shift=:
18629 ac_option=$1
18630 ac_optarg=$2
18631 ac_shift=shift
18633 esac
18635 case $ac_option in
18636 # Handling of the options.
18637 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18638 ac_cs_recheck=: ;;
18639 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18640 $as_echo "$ac_cs_version"; exit ;;
18641 --config | --confi | --conf | --con | --co | --c )
18642 $as_echo "$ac_cs_config"; exit ;;
18643 --debug | --debu | --deb | --de | --d | -d )
18644 debug=: ;;
18645 --file | --fil | --fi | --f )
18646 $ac_shift
18647 case $ac_optarg in
18648 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18649 '') as_fn_error $? "missing file argument" ;;
18650 esac
18651 as_fn_append CONFIG_FILES " '$ac_optarg'"
18652 ac_need_defaults=false;;
18653 --header | --heade | --head | --hea )
18654 $ac_shift
18655 case $ac_optarg in
18656 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18657 esac
18658 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18659 ac_need_defaults=false;;
18660 --he | --h)
18661 # Conflict between --help and --header
18662 as_fn_error $? "ambiguous option: \`$1'
18663 Try \`$0 --help' for more information.";;
18664 --help | --hel | -h )
18665 $as_echo "$ac_cs_usage"; exit ;;
18666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18667 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18668 ac_cs_silent=: ;;
18670 # This is an error.
18671 -*) as_fn_error $? "unrecognized option: \`$1'
18672 Try \`$0 --help' for more information." ;;
18674 *) as_fn_append ac_config_targets " $1"
18675 ac_need_defaults=false ;;
18677 esac
18678 shift
18679 done
18681 ac_configure_extra_args=
18683 if $ac_cs_silent; then
18684 exec 6>/dev/null
18685 ac_configure_extra_args="$ac_configure_extra_args --silent"
18688 _ACEOF
18689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18690 if \$ac_cs_recheck; then
18691 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18692 shift
18693 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18694 CONFIG_SHELL='$SHELL'
18695 export CONFIG_SHELL
18696 exec "\$@"
18699 _ACEOF
18700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18701 exec 5>>config.log
18703 echo
18704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18705 ## Running $as_me. ##
18706 _ASBOX
18707 $as_echo "$ac_log"
18708 } >&5
18710 _ACEOF
18711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18713 # INIT-COMMANDS
18715 wine_fn_output_makedep ()
18717 as_dir=tools; as_fn_mkdir_p
18718 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18720 wine_fn_output_makefile ()
18722 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18723 `cat $wine_rules_file`
18724 _WINE_EOF
18725 as_fn_error $? "could not create Makefile" "$LINENO" 5
18727 wine_fn_output_gitignore ()
18729 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18730 $GITIGNORE
18731 _WINE_EOF
18732 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18735 _ACEOF
18737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18739 # Handling of arguments.
18740 for ac_config_target in $ac_config_targets
18742 case $ac_config_target in
18743 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18744 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18745 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18746 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18747 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18748 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18749 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18750 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18751 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18752 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18753 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18754 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18755 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18756 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18758 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18759 esac
18760 done
18763 # If the user did not use the arguments to specify the items to instantiate,
18764 # then the envvar interface is used. Set only those that are not.
18765 # We use the long form for the default assignment because of an extremely
18766 # bizarre bug on SunOS 4.1.3.
18767 if $ac_need_defaults; then
18768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18770 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18774 # Have a temporary directory for convenience. Make it in the build tree
18775 # simply because there is no reason against having it here, and in addition,
18776 # creating and moving files from /tmp can sometimes cause problems.
18777 # Hook for its removal unless debugging.
18778 # Note that there is a small window in which the directory will not be cleaned:
18779 # after its creation but before its name has been assigned to `$tmp'.
18780 $debug ||
18782 tmp= ac_tmp=
18783 trap 'exit_status=$?
18784 : "${ac_tmp:=$tmp}"
18785 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18787 trap 'as_fn_exit 1' 1 2 13 15
18789 # Create a (secure) tmp directory for tmp files.
18792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18793 test -d "$tmp"
18794 } ||
18796 tmp=./conf$$-$RANDOM
18797 (umask 077 && mkdir "$tmp")
18798 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18799 ac_tmp=$tmp
18801 # Set up the scripts for CONFIG_FILES section.
18802 # No need to generate them if there are no CONFIG_FILES.
18803 # This happens for instance with `./config.status config.h'.
18804 if test -n "$CONFIG_FILES"; then
18807 ac_cr=`echo X | tr X '\015'`
18808 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18809 # But we know of no other shell where ac_cr would be empty at this
18810 # point, so we can use a bashism as a fallback.
18811 if test "x$ac_cr" = x; then
18812 eval ac_cr=\$\'\\r\'
18814 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18815 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18816 ac_cs_awk_cr='\\r'
18817 else
18818 ac_cs_awk_cr=$ac_cr
18821 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18822 _ACEOF
18826 echo "cat >conf$$subs.awk <<_ACEOF" &&
18827 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18828 echo "_ACEOF"
18829 } >conf$$subs.sh ||
18830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18831 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18832 ac_delim='%!_!# '
18833 for ac_last_try in false false false false false :; do
18834 . ./conf$$subs.sh ||
18835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18837 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18838 if test $ac_delim_n = $ac_delim_num; then
18839 break
18840 elif $ac_last_try; then
18841 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18842 else
18843 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18845 done
18846 rm -f conf$$subs.sh
18848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18849 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18850 _ACEOF
18851 sed -n '
18853 s/^/S["/; s/!.*/"]=/
18856 s/^[^!]*!//
18857 :repl
18858 t repl
18859 s/'"$ac_delim"'$//
18860 t delim
18863 s/\(.\{148\}\)..*/\1/
18864 t more1
18865 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18868 b repl
18869 :more1
18870 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18873 s/.\{148\}//
18874 t nl
18875 :delim
18877 s/\(.\{148\}\)..*/\1/
18878 t more2
18879 s/["\\]/\\&/g; s/^/"/; s/$/"/
18882 :more2
18883 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18886 s/.\{148\}//
18887 t delim
18888 ' <conf$$subs.awk | sed '
18889 /^[^""]/{
18891 s/\n//
18893 ' >>$CONFIG_STATUS || ac_write_fail=1
18894 rm -f conf$$subs.awk
18895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18896 _ACAWK
18897 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18898 for (key in S) S_is_set[key] = 1
18899 FS = "\a"
18903 line = $ 0
18904 nfields = split(line, field, "@")
18905 substed = 0
18906 len = length(field[1])
18907 for (i = 2; i < nfields; i++) {
18908 key = field[i]
18909 keylen = length(key)
18910 if (S_is_set[key]) {
18911 value = S[key]
18912 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18913 len += length(value) + length(field[++i])
18914 substed = 1
18915 } else
18916 len += 1 + keylen
18919 print line
18922 _ACAWK
18923 _ACEOF
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18925 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18927 else
18929 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18930 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18931 _ACEOF
18933 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18934 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18935 # trailing colons and then remove the whole line if VPATH becomes empty
18936 # (actually we leave an empty line to preserve line numbers).
18937 if test "x$srcdir" = x.; then
18938 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18940 s///
18941 s/^/:/
18942 s/[ ]*$/:/
18943 s/:\$(srcdir):/:/g
18944 s/:\${srcdir}:/:/g
18945 s/:@srcdir@:/:/g
18946 s/^:*//
18947 s/:*$//
18949 s/\(=[ ]*\).*/\1/
18951 s/\n//
18952 s/^[^=]*=[ ]*$//
18956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18957 fi # test -n "$CONFIG_FILES"
18959 # Set up the scripts for CONFIG_HEADERS section.
18960 # No need to generate them if there are no CONFIG_HEADERS.
18961 # This happens for instance with `./config.status Makefile'.
18962 if test -n "$CONFIG_HEADERS"; then
18963 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18964 BEGIN {
18965 _ACEOF
18967 # Transform confdefs.h into an awk script `defines.awk', embedded as
18968 # here-document in config.status, that substitutes the proper values into
18969 # config.h.in to produce config.h.
18971 # Create a delimiter string that does not exist in confdefs.h, to ease
18972 # handling of long lines.
18973 ac_delim='%!_!# '
18974 for ac_last_try in false false :; do
18975 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18976 if test -z "$ac_tt"; then
18977 break
18978 elif $ac_last_try; then
18979 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18980 else
18981 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18983 done
18985 # For the awk script, D is an array of macro values keyed by name,
18986 # likewise P contains macro parameters if any. Preserve backslash
18987 # newline sequences.
18989 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18990 sed -n '
18991 s/.\{148\}/&'"$ac_delim"'/g
18992 t rset
18993 :rset
18994 s/^[ ]*#[ ]*define[ ][ ]*/ /
18995 t def
18997 :def
18998 s/\\$//
18999 t bsnl
19000 s/["\\]/\\&/g
19001 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19002 D["\1"]=" \3"/p
19003 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19005 :bsnl
19006 s/["\\]/\\&/g
19007 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19008 D["\1"]=" \3\\\\\\n"\\/p
19009 t cont
19010 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19011 t cont
19013 :cont
19015 s/.\{148\}/&'"$ac_delim"'/g
19016 t clear
19017 :clear
19018 s/\\$//
19019 t bsnlc
19020 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19022 :bsnlc
19023 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19024 b cont
19025 ' <confdefs.h | sed '
19026 s/'"$ac_delim"'/"\\\
19027 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19030 for (key in D) D_is_set[key] = 1
19031 FS = "\a"
19033 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19034 line = \$ 0
19035 split(line, arg, " ")
19036 if (arg[1] == "#") {
19037 defundef = arg[2]
19038 mac1 = arg[3]
19039 } else {
19040 defundef = substr(arg[1], 2)
19041 mac1 = arg[2]
19043 split(mac1, mac2, "(") #)
19044 macro = mac2[1]
19045 prefix = substr(line, 1, index(line, defundef) - 1)
19046 if (D_is_set[macro]) {
19047 # Preserve the white space surrounding the "#".
19048 print prefix "define", macro P[macro] D[macro]
19049 next
19050 } else {
19051 # Replace #undef with comments. This is necessary, for example,
19052 # in the case of _POSIX_SOURCE, which is predefined and required
19053 # on some systems where configure will not decide to define it.
19054 if (defundef == "undef") {
19055 print "/*", prefix defundef, macro, "*/"
19056 next
19060 { print }
19061 _ACAWK
19062 _ACEOF
19063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19064 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19065 fi # test -n "$CONFIG_HEADERS"
19068 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19069 shift
19070 for ac_tag
19072 case $ac_tag in
19073 :[FHLC]) ac_mode=$ac_tag; continue;;
19074 esac
19075 case $ac_mode$ac_tag in
19076 :[FHL]*:*);;
19077 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19078 :[FH]-) ac_tag=-:-;;
19079 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19080 esac
19081 ac_save_IFS=$IFS
19082 IFS=:
19083 set x $ac_tag
19084 IFS=$ac_save_IFS
19085 shift
19086 ac_file=$1
19087 shift
19089 case $ac_mode in
19090 :L) ac_source=$1;;
19091 :[FH])
19092 ac_file_inputs=
19093 for ac_f
19095 case $ac_f in
19096 -) ac_f="$ac_tmp/stdin";;
19097 *) # Look for the file first in the build tree, then in the source tree
19098 # (if the path is not absolute). The absolute path cannot be DOS-style,
19099 # because $ac_f cannot contain `:'.
19100 test -f "$ac_f" ||
19101 case $ac_f in
19102 [\\/$]*) false;;
19103 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19104 esac ||
19105 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19106 esac
19107 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19108 as_fn_append ac_file_inputs " '$ac_f'"
19109 done
19111 # Let's still pretend it is `configure' which instantiates (i.e., don't
19112 # use $as_me), people would be surprised to read:
19113 # /* config.h. Generated by config.status. */
19114 configure_input='Generated from '`
19115 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19116 `' by configure.'
19117 if test x"$ac_file" != x-; then
19118 configure_input="$ac_file. $configure_input"
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19120 $as_echo "$as_me: creating $ac_file" >&6;}
19122 # Neutralize special characters interpreted by sed in replacement strings.
19123 case $configure_input in #(
19124 *\&* | *\|* | *\\* )
19125 ac_sed_conf_input=`$as_echo "$configure_input" |
19126 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19127 *) ac_sed_conf_input=$configure_input;;
19128 esac
19130 case $ac_tag in
19131 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19132 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19133 esac
19135 esac
19137 ac_dir=`$as_dirname -- "$ac_file" ||
19138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19139 X"$ac_file" : 'X\(//\)[^/]' \| \
19140 X"$ac_file" : 'X\(//\)$' \| \
19141 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19142 $as_echo X"$ac_file" |
19143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19144 s//\1/
19147 /^X\(\/\/\)[^/].*/{
19148 s//\1/
19151 /^X\(\/\/\)$/{
19152 s//\1/
19155 /^X\(\/\).*/{
19156 s//\1/
19159 s/.*/./; q'`
19160 as_dir="$ac_dir"; as_fn_mkdir_p
19161 ac_builddir=.
19163 case "$ac_dir" in
19164 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19166 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19167 # A ".." for each directory in $ac_dir_suffix.
19168 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19169 case $ac_top_builddir_sub in
19170 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19171 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19172 esac ;;
19173 esac
19174 ac_abs_top_builddir=$ac_pwd
19175 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19176 # for backward compatibility:
19177 ac_top_builddir=$ac_top_build_prefix
19179 case $srcdir in
19180 .) # We are building in place.
19181 ac_srcdir=.
19182 ac_top_srcdir=$ac_top_builddir_sub
19183 ac_abs_top_srcdir=$ac_pwd ;;
19184 [\\/]* | ?:[\\/]* ) # Absolute name.
19185 ac_srcdir=$srcdir$ac_dir_suffix;
19186 ac_top_srcdir=$srcdir
19187 ac_abs_top_srcdir=$srcdir ;;
19188 *) # Relative name.
19189 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19190 ac_top_srcdir=$ac_top_build_prefix$srcdir
19191 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19192 esac
19193 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19196 case $ac_mode in
19199 # CONFIG_FILE
19202 _ACEOF
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19205 # If the template does not know about datarootdir, expand it.
19206 # FIXME: This hack should be removed a few years after 2.60.
19207 ac_datarootdir_hack=; ac_datarootdir_seen=
19208 ac_sed_dataroot='
19209 /datarootdir/ {
19213 /@datadir@/p
19214 /@docdir@/p
19215 /@infodir@/p
19216 /@localedir@/p
19217 /@mandir@/p'
19218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19219 *datarootdir*) ac_datarootdir_seen=yes;;
19220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19223 _ACEOF
19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19225 ac_datarootdir_hack='
19226 s&@datadir@&$datadir&g
19227 s&@docdir@&$docdir&g
19228 s&@infodir@&$infodir&g
19229 s&@localedir@&$localedir&g
19230 s&@mandir@&$mandir&g
19231 s&\\\${datarootdir}&$datarootdir&g' ;;
19232 esac
19233 _ACEOF
19235 # Neutralize VPATH when `$srcdir' = `.'.
19236 # Shell code in configure.ac might set extrasub.
19237 # FIXME: do we really want to maintain this feature?
19238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19239 ac_sed_extra="$ac_vpsub
19240 $extrasub
19241 _ACEOF
19242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19245 s|@configure_input@|$ac_sed_conf_input|;t t
19246 s&@top_builddir@&$ac_top_builddir_sub&;t t
19247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19248 s&@srcdir@&$ac_srcdir&;t t
19249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19250 s&@top_srcdir@&$ac_top_srcdir&;t t
19251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19252 s&@builddir@&$ac_builddir&;t t
19253 s&@abs_builddir@&$ac_abs_builddir&;t t
19254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19255 $ac_datarootdir_hack
19257 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19258 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19260 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19261 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19262 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19263 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19265 which seems to be undefined. Please make sure it is defined" >&5
19266 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19267 which seems to be undefined. Please make sure it is defined" >&2;}
19269 rm -f "$ac_tmp/stdin"
19270 case $ac_file in
19271 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19272 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19273 esac \
19274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19278 # CONFIG_HEADER
19280 if test x"$ac_file" != x-; then
19282 $as_echo "/* $configure_input */" \
19283 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19284 } >"$ac_tmp/config.h" \
19285 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19286 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19288 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19289 else
19290 rm -f "$ac_file"
19291 mv "$ac_tmp/config.h" "$ac_file" \
19292 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19294 else
19295 $as_echo "/* $configure_input */" \
19296 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19297 || as_fn_error $? "could not create -" "$LINENO" 5
19302 # CONFIG_LINK
19305 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19307 else
19308 # Prefer the file from the source tree if names are identical.
19309 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19310 ac_source=$srcdir/$ac_source
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19314 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19316 if test ! -r "$ac_source"; then
19317 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19319 rm -f "$ac_file"
19321 # Try a relative symlink, then a hard link, then a copy.
19322 case $ac_source in
19323 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19324 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19325 esac
19326 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19327 ln "$ac_source" "$ac_file" 2>/dev/null ||
19328 cp -p "$ac_source" "$ac_file" ||
19329 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19332 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19333 $as_echo "$as_me: executing $ac_file commands" >&6;}
19335 esac
19338 case $ac_file$ac_mode in
19339 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19340 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19341 "Makefile":C) wine_fn_output_makefile Makefile ;;
19342 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19344 esac
19345 done # for ac_tag
19348 as_fn_exit 0
19349 _ACEOF
19350 ac_clean_files=$ac_clean_files_save
19352 test $ac_write_fail = 0 ||
19353 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19356 # configure is writing to config.log, and then calls config.status.
19357 # config.status does its own redirection, appending to config.log.
19358 # Unfortunately, on DOS this fails, as config.log is still kept open
19359 # by configure, so config.status won't be able to write to it; its
19360 # output is simply discarded. So we exec the FD to /dev/null,
19361 # effectively closing config.log, so it can be properly (re)opened and
19362 # appended to by config.status. When coming back to configure, we
19363 # need to make the FD available again.
19364 if test "$no_create" != yes; then
19365 ac_cs_success=:
19366 ac_config_status_args=
19367 test "$silent" = yes &&
19368 ac_config_status_args="$ac_config_status_args --quiet"
19369 exec 5>/dev/null
19370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19371 exec 5>>config.log
19372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19373 # would make configure fail if this is the last instruction.
19374 $ac_cs_success || as_fn_exit 1
19376 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19378 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19382 if test "$no_create" = "yes"
19383 then
19384 exit 0
19387 ac_save_IFS="$IFS"
19388 if test "x$wine_notices != "x; then
19389 echo >&6
19390 IFS="|"
19391 for msg in $wine_notices; do
19392 IFS="$ac_save_IFS"
19393 if ${msg:+false} :; then :
19395 else
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19397 $as_echo "$as_me: $msg" >&6;}
19399 done
19401 IFS="|"
19402 for msg in $wine_warnings; do
19403 IFS="$ac_save_IFS"
19404 if ${msg:+false} :; then :
19406 else
19407 echo >&2
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19409 $as_echo "$as_me: WARNING: $msg" >&2;}
19411 done
19412 IFS="$ac_save_IFS"
19414 $as_echo "
19415 $as_me: Finished. Do '${ac_make}' to compile Wine.
19416 " >&6