dmime: COM cleanup for IDirectMusicTrack of DMWaveTrack.
[wine/multimedia.git] / configure
blobcb6afc139290df307eb61f2809a5e7a6377ec242
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.46.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.7.46'
584 PACKAGE_STRING='Wine 1.7.46'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 LINGUAS
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 BUILTINFLAG
636 EXTRACFLAGS
637 PROCSTAT_LIBS
638 KSTAT_LIBS
639 MPG123_LIBS
640 MPG123_CFLAGS
641 TIFF_LIBS
642 TIFF_CFLAGS
643 PNG_LIBS
644 PNG_CFLAGS
645 JPEG_LIBS
646 JPEG_CFLAGS
647 FONTCONFIG_LIBS
648 FONTCONFIG_CFLAGS
649 CUPS_CFLAGS
650 CAPI20_LIBS
651 CAPI20_CFLAGS
652 OSS4_CFLAGS
653 ALSA_LIBS
654 GSTREAMER_LIBS
655 GSTREAMER_CFLAGS
656 GETTEXTPO_LIBS
657 Z_LIBS
658 FREETYPE_LIBS
659 FREETYPE_CFLAGS
660 LCMS2_LIBS
661 LCMS2_CFLAGS
662 RESOLV_LIBS
663 GPHOTO2_PORT_LIBS
664 GPHOTO2_PORT_CFLAGS
665 GPHOTO2_LIBS
666 GPHOTO2_CFLAGS
667 SANE_LIBS
668 SANE_CFLAGS
669 GNUTLS_LIBS
670 GNUTLS_CFLAGS
671 HAL_LIBS
672 HAL_CFLAGS
673 DBUS_LIBS
674 DBUS_CFLAGS
675 XSLT_LIBS
676 XSLT_CFLAGS
677 XML2_LIBS
678 XML2_CFLAGS
679 LIBPCAP
680 X_EXTRA_LIBS
681 X_LIBS
682 X_PRE_LIBS
683 X_CFLAGS
684 XMKMF
685 PTHREAD_LIBS
686 CROSSCC
687 CROSSTARGET
688 PRELINK
689 CARBON_LIBS
690 QUICKTIME_LIBS
691 OPENCL_LIBS
692 OPENAL_LIBS
693 COREAUDIO_LIBS
694 SECURITY_LIBS
695 DISKARBITRATION_LIBS
696 APPKIT_LIBS
697 CORESERVICES_LIBS
698 APPLICATIONSERVICES_LIBS
699 FORCEFEEDBACK_LIBS
700 IOKIT_LIBS
701 COREFOUNDATION_LIBS
702 LIBWINE_RULES
703 SOCKET_LIBS
704 DLLTOOL
705 LOADER_RULES
706 ALL_TEST_RESOURCES
707 READELF
709 LDRPATH_LOCAL
710 LDRPATH_INSTALL
711 DLLFLAGS
712 DLLPREFIX
713 dlldir
715 OPENGL_LIBS
716 ICOTOOL
717 CONVERT
718 RSVG
719 FONTFORGE
720 PKG_CONFIG
721 MSGFMT
722 LDCONFIG
723 EGREP
724 GREP
725 LN_S
726 RANLIB
727 ARFLAGS
728 STRIP
729 ac_ct_AR
731 BISON
732 FLEX
733 TOOLSDIR
734 TARGETFLAGS
736 CPPBIN
737 ac_ct_CXX
738 CXXFLAGS
740 OBJEXT
741 EXEEXT
742 ac_ct_CC
743 CPPFLAGS
744 LDFLAGS
745 CFLAGS
747 SET_MAKE
748 host_os
749 host_vendor
750 host_cpu
751 host
752 build_os
753 build_vendor
754 build_cpu
755 build
756 target_alias
757 host_alias
758 build_alias
759 LIBS
760 ECHO_T
761 ECHO_N
762 ECHO_C
763 DEFS
764 mandir
765 localedir
766 libdir
767 psdir
768 pdfdir
769 dvidir
770 htmldir
771 infodir
772 docdir
773 oldincludedir
774 includedir
775 localstatedir
776 sharedstatedir
777 sysconfdir
778 datadir
779 datarootdir
780 libexecdir
781 sbindir
782 bindir
783 program_transform_name
784 prefix
785 exec_prefix
786 PACKAGE_URL
787 PACKAGE_BUGREPORT
788 PACKAGE_STRING
789 PACKAGE_VERSION
790 PACKAGE_TARNAME
791 PACKAGE_NAME
792 PATH_SEPARATOR
793 SHELL'
794 ac_subst_files=''
795 ac_user_opts='
796 enable_option_checking
797 enable_win16
798 enable_win64
799 enable_tests
800 enable_maintainer_mode
801 with_alsa
802 with_capi
803 with_cms
804 with_coreaudio
805 with_cups
806 with_curses
807 with_dbus
808 with_fontconfig
809 with_freetype
810 with_gettext
811 with_gettextpo
812 with_gphoto
813 with_glu
814 with_gnutls
815 with_gsm
816 with_gstreamer
817 with_hal
818 with_jpeg
819 with_ldap
820 with_mpg123
821 with_netapi
822 with_openal
823 with_opencl
824 with_opengl
825 with_osmesa
826 with_oss
827 with_pcap
828 with_png
829 with_pthread
830 with_sane
831 with_tiff
832 with_v4l
833 with_xcomposite
834 with_xcursor
835 with_xinerama
836 with_xinput
837 with_xinput2
838 with_xml
839 with_xrandr
840 with_xrender
841 with_xshape
842 with_xshm
843 with_xslt
844 with_xxf86vm
845 with_zlib
846 with_wine_tools
847 with_wine64
848 enable_largefile
849 with_x
850 enable_acledit
851 enable_aclui
852 enable_activeds
853 enable_actxprxy
854 enable_advapi32
855 enable_advpack
856 enable_amstream
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_misc_l1_1_0
889 enable_api_ms_win_core_namedpipe_l1_1_0
890 enable_api_ms_win_core_namedpipe_l1_2_0
891 enable_api_ms_win_core_processenvironment_l1_1_0
892 enable_api_ms_win_core_processenvironment_l1_2_0
893 enable_api_ms_win_core_processthreads_l1_1_0
894 enable_api_ms_win_core_processthreads_l1_1_1
895 enable_api_ms_win_core_processthreads_l1_1_2
896 enable_api_ms_win_core_profile_l1_1_0
897 enable_api_ms_win_core_psapi_l1_1_0
898 enable_api_ms_win_core_registry_l1_1_0
899 enable_api_ms_win_core_rtlsupport_l1_1_0
900 enable_api_ms_win_core_rtlsupport_l1_2_0
901 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
902 enable_api_ms_win_core_string_l1_1_0
903 enable_api_ms_win_core_synch_l1_1_0
904 enable_api_ms_win_core_synch_l1_2_0
905 enable_api_ms_win_core_sysinfo_l1_1_0
906 enable_api_ms_win_core_sysinfo_l1_2_0
907 enable_api_ms_win_core_sysinfo_l1_2_1
908 enable_api_ms_win_core_threadpool_legacy_l1_1_0
909 enable_api_ms_win_core_timezone_l1_1_0
910 enable_api_ms_win_core_url_l1_1_0
911 enable_api_ms_win_core_util_l1_1_0
912 enable_api_ms_win_core_winrt_error_l1_1_0
913 enable_api_ms_win_core_winrt_error_l1_1_1
914 enable_api_ms_win_core_winrt_l1_1_0
915 enable_api_ms_win_core_winrt_string_l1_1_0
916 enable_api_ms_win_core_xstate_l2_1_0
917 enable_api_ms_win_downlevel_advapi32_l1_1_0
918 enable_api_ms_win_downlevel_advapi32_l2_1_0
919 enable_api_ms_win_downlevel_normaliz_l1_1_0
920 enable_api_ms_win_downlevel_ole32_l1_1_0
921 enable_api_ms_win_downlevel_shell32_l1_1_0
922 enable_api_ms_win_downlevel_shlwapi_l1_1_0
923 enable_api_ms_win_downlevel_shlwapi_l2_1_0
924 enable_api_ms_win_downlevel_user32_l1_1_0
925 enable_api_ms_win_downlevel_version_l1_1_0
926 enable_api_ms_win_eventing_provider_l1_1_0
927 enable_api_ms_win_ntuser_dc_access_l1_1_0
928 enable_api_ms_win_security_base_l1_1_0
929 enable_api_ms_win_security_base_l1_2_0
930 enable_api_ms_win_security_sddl_l1_1_0
931 enable_api_ms_win_service_core_l1_1_1
932 enable_api_ms_win_service_management_l1_1_0
933 enable_api_ms_win_service_winsvc_l1_2_0
934 enable_apphelp
935 enable_appwiz_cpl
936 enable_atl
937 enable_atl100
938 enable_atl110
939 enable_atl80
940 enable_atl90
941 enable_authz
942 enable_avicap32
943 enable_avifil32
944 enable_avrt
945 enable_bcrypt
946 enable_browseui
947 enable_cabinet
948 enable_capi2032
949 enable_cards
950 enable_cfgmgr32
951 enable_clusapi
952 enable_combase
953 enable_comcat
954 enable_comctl32
955 enable_comdlg32
956 enable_compstui
957 enable_comsvcs
958 enable_connect
959 enable_credui
960 enable_crtdll
961 enable_crypt32
962 enable_cryptdlg
963 enable_cryptdll
964 enable_cryptext
965 enable_cryptnet
966 enable_cryptui
967 enable_ctapi32
968 enable_ctl3d32
969 enable_d2d1
970 enable_d3d10
971 enable_d3d10_1
972 enable_d3d10core
973 enable_d3d11
974 enable_d3d8
975 enable_d3d9
976 enable_d3dcompiler_33
977 enable_d3dcompiler_34
978 enable_d3dcompiler_35
979 enable_d3dcompiler_36
980 enable_d3dcompiler_37
981 enable_d3dcompiler_38
982 enable_d3dcompiler_39
983 enable_d3dcompiler_40
984 enable_d3dcompiler_41
985 enable_d3dcompiler_42
986 enable_d3dcompiler_43
987 enable_d3dcompiler_46
988 enable_d3dcompiler_47
989 enable_d3dim
990 enable_d3drm
991 enable_d3dx10_33
992 enable_d3dx10_34
993 enable_d3dx10_35
994 enable_d3dx10_36
995 enable_d3dx10_37
996 enable_d3dx10_38
997 enable_d3dx10_39
998 enable_d3dx10_40
999 enable_d3dx10_41
1000 enable_d3dx10_42
1001 enable_d3dx10_43
1002 enable_d3dx11_42
1003 enable_d3dx11_43
1004 enable_d3dx9_24
1005 enable_d3dx9_25
1006 enable_d3dx9_26
1007 enable_d3dx9_27
1008 enable_d3dx9_28
1009 enable_d3dx9_29
1010 enable_d3dx9_30
1011 enable_d3dx9_31
1012 enable_d3dx9_32
1013 enable_d3dx9_33
1014 enable_d3dx9_34
1015 enable_d3dx9_35
1016 enable_d3dx9_36
1017 enable_d3dx9_37
1018 enable_d3dx9_38
1019 enable_d3dx9_39
1020 enable_d3dx9_40
1021 enable_d3dx9_41
1022 enable_d3dx9_42
1023 enable_d3dx9_43
1024 enable_d3dxof
1025 enable_dbgeng
1026 enable_dbghelp
1027 enable_dciman32
1028 enable_ddraw
1029 enable_ddrawex
1030 enable_devenum
1031 enable_dhcpcsvc
1032 enable_difxapi
1033 enable_dinput
1034 enable_dinput8
1035 enable_dispex
1036 enable_dmband
1037 enable_dmcompos
1038 enable_dmime
1039 enable_dmloader
1040 enable_dmscript
1041 enable_dmstyle
1042 enable_dmsynth
1043 enable_dmusic
1044 enable_dmusic32
1045 enable_dnsapi
1046 enable_dplay
1047 enable_dplayx
1048 enable_dpnaddr
1049 enable_dpnet
1050 enable_dpnhpast
1051 enable_dpnlobby
1052 enable_dpvoice
1053 enable_dpwsockx
1054 enable_drmclien
1055 enable_dsound
1056 enable_dssenh
1057 enable_dswave
1058 enable_dwmapi
1059 enable_dwrite
1060 enable_dxdiagn
1061 enable_dxgi
1062 enable_dxva2
1063 enable_evr
1064 enable_explorerframe
1065 enable_ext_ms_win_gdi_devcaps_l1_1_0
1066 enable_faultrep
1067 enable_fltlib
1068 enable_fntcache
1069 enable_fontsub
1070 enable_fusion
1071 enable_fwpuclnt
1072 enable_gameux
1073 enable_gdi32
1074 enable_gdiplus
1075 enable_glu32
1076 enable_gphoto2_ds
1077 enable_gpkcsp
1078 enable_hal
1079 enable_hhctrl_ocx
1080 enable_hid
1081 enable_hlink
1082 enable_hnetcfg
1083 enable_httpapi
1084 enable_iccvid
1085 enable_icmp
1086 enable_ieframe
1087 enable_imaadp32_acm
1088 enable_imagehlp
1089 enable_imm32
1090 enable_inetcomm
1091 enable_inetcpl_cpl
1092 enable_inetmib1
1093 enable_infosoft
1094 enable_initpki
1095 enable_inkobj
1096 enable_inseng
1097 enable_iphlpapi
1098 enable_itircl
1099 enable_itss
1100 enable_joy_cpl
1101 enable_jscript
1102 enable_jsproxy
1103 enable_kernel32
1104 enable_ksuser
1105 enable_ktmw32
1106 enable_loadperf
1107 enable_localspl
1108 enable_localui
1109 enable_lz32
1110 enable_mapi32
1111 enable_mapistub
1112 enable_mciavi32
1113 enable_mcicda
1114 enable_mciqtz32
1115 enable_mciseq
1116 enable_mciwave
1117 enable_mf
1118 enable_mfplat
1119 enable_mfreadwrite
1120 enable_mgmtapi
1121 enable_midimap
1122 enable_mlang
1123 enable_mmcndmgr
1124 enable_mmdevapi
1125 enable_mountmgr_sys
1126 enable_mpr
1127 enable_mprapi
1128 enable_msacm32_drv
1129 enable_msacm32
1130 enable_msadp32_acm
1131 enable_msasn1
1132 enable_mscat32
1133 enable_mscms
1134 enable_mscoree
1135 enable_msctf
1136 enable_msctfp
1137 enable_msdaps
1138 enable_msdmo
1139 enable_msftedit
1140 enable_msg711_acm
1141 enable_msgsm32_acm
1142 enable_mshtml_tlb
1143 enable_mshtml
1144 enable_msi
1145 enable_msident
1146 enable_msimg32
1147 enable_msimsg
1148 enable_msimtf
1149 enable_msisip
1150 enable_msisys_ocx
1151 enable_msls31
1152 enable_msnet32
1153 enable_mspatcha
1154 enable_msrle32
1155 enable_msscript_ocx
1156 enable_mssign32
1157 enable_mssip32
1158 enable_mstask
1159 enable_msvcirt
1160 enable_msvcm80
1161 enable_msvcm90
1162 enable_msvcp100
1163 enable_msvcp110
1164 enable_msvcp120
1165 enable_msvcp120_app
1166 enable_msvcp60
1167 enable_msvcp70
1168 enable_msvcp71
1169 enable_msvcp80
1170 enable_msvcp90
1171 enable_msvcr100
1172 enable_msvcr110
1173 enable_msvcr120
1174 enable_msvcr120_app
1175 enable_msvcr70
1176 enable_msvcr71
1177 enable_msvcr80
1178 enable_msvcr90
1179 enable_msvcrt
1180 enable_msvcrt20
1181 enable_msvcrt40
1182 enable_msvcrtd
1183 enable_msvfw32
1184 enable_msvidc32
1185 enable_mswsock
1186 enable_msxml
1187 enable_msxml2
1188 enable_msxml3
1189 enable_msxml4
1190 enable_msxml6
1191 enable_nddeapi
1192 enable_ndis_sys
1193 enable_netapi32
1194 enable_netcfgx
1195 enable_netprofm
1196 enable_newdev
1197 enable_normaliz
1198 enable_npmshtml
1199 enable_npptools
1200 enable_ntdll
1201 enable_ntdsapi
1202 enable_ntoskrnl_exe
1203 enable_ntprint
1204 enable_objsel
1205 enable_odbc32
1206 enable_odbccp32
1207 enable_odbccu32
1208 enable_ole32
1209 enable_oleacc
1210 enable_oleaut32
1211 enable_olecli32
1212 enable_oledb32
1213 enable_oledlg
1214 enable_olepro32
1215 enable_olesvr32
1216 enable_olethk32
1217 enable_openal32
1218 enable_opencl
1219 enable_opengl32
1220 enable_packager
1221 enable_pdh
1222 enable_photometadatahandler
1223 enable_pidgen
1224 enable_powrprof
1225 enable_printui
1226 enable_prntvpt
1227 enable_propsys
1228 enable_psapi
1229 enable_pstorec
1230 enable_qcap
1231 enable_qedit
1232 enable_qmgr
1233 enable_qmgrprxy
1234 enable_quartz
1235 enable_query
1236 enable_rasapi32
1237 enable_rasdlg
1238 enable_regapi
1239 enable_resutils
1240 enable_riched20
1241 enable_riched32
1242 enable_rpcrt4
1243 enable_rsabase
1244 enable_rsaenh
1245 enable_rstrtmgr
1246 enable_rtutils
1247 enable_samlib
1248 enable_sane_ds
1249 enable_scarddlg
1250 enable_sccbase
1251 enable_schannel
1252 enable_schedsvc
1253 enable_scrrun
1254 enable_scsiport_sys
1255 enable_secur32
1256 enable_security
1257 enable_sensapi
1258 enable_serialui
1259 enable_setupapi
1260 enable_sfc
1261 enable_sfc_os
1262 enable_shdoclc
1263 enable_shdocvw
1264 enable_shell32
1265 enable_shfolder
1266 enable_shlwapi
1267 enable_slbcsp
1268 enable_slc
1269 enable_snmpapi
1270 enable_softpub
1271 enable_spoolss
1272 enable_stdole2_tlb
1273 enable_stdole32_tlb
1274 enable_sti
1275 enable_svrapi
1276 enable_sxs
1277 enable_t2embed
1278 enable_tapi32
1279 enable_taskschd
1280 enable_traffic
1281 enable_twain_32
1282 enable_unicows
1283 enable_updspapi
1284 enable_url
1285 enable_urlmon
1286 enable_usbd_sys
1287 enable_user32
1288 enable_userenv
1289 enable_usp10
1290 enable_uxtheme
1291 enable_vbscript
1292 enable_vcomp
1293 enable_vcomp100
1294 enable_vcomp90
1295 enable_vdmdbg
1296 enable_version
1297 enable_vssapi
1298 enable_wbemdisp
1299 enable_wbemprox
1300 enable_webservices
1301 enable_wer
1302 enable_wevtapi
1303 enable_wiaservc
1304 enable_windowscodecs
1305 enable_windowscodecsext
1306 enable_winealsa_drv
1307 enable_winecoreaudio_drv
1308 enable_wined3d
1309 enable_winegstreamer
1310 enable_winejoystick_drv
1311 enable_winemac_drv
1312 enable_winemapi
1313 enable_winemp3_acm
1314 enable_wineoss_drv
1315 enable_wineps_drv
1316 enable_wineqtdecoder
1317 enable_winex11_drv
1318 enable_wing32
1319 enable_winhttp
1320 enable_wininet
1321 enable_winmm
1322 enable_winnls32
1323 enable_winscard
1324 enable_winspool_drv
1325 enable_winsta
1326 enable_wintab32
1327 enable_wintrust
1328 enable_wlanapi
1329 enable_wldap32
1330 enable_wmi
1331 enable_wmiutils
1332 enable_wmp
1333 enable_wmvcore
1334 enable_wnaspi32
1335 enable_wpcap
1336 enable_ws2_32
1337 enable_wshom_ocx
1338 enable_wsnmp32
1339 enable_wsock32
1340 enable_wtsapi32
1341 enable_wuapi
1342 enable_wuaueng
1343 enable_x3daudio1_1
1344 enable_x3daudio1_2
1345 enable_x3daudio1_3
1346 enable_x3daudio1_4
1347 enable_x3daudio1_5
1348 enable_x3daudio1_6
1349 enable_x3daudio1_7
1350 enable_xapofx1_1
1351 enable_xapofx1_3
1352 enable_xapofx1_4
1353 enable_xapofx1_5
1354 enable_xaudio2_7
1355 enable_xinput1_1
1356 enable_xinput1_2
1357 enable_xinput1_3
1358 enable_xinput1_4
1359 enable_xinput9_1_0
1360 enable_xmllite
1361 enable_xolehlp
1362 enable_xpsprint
1363 enable_xpssvcs
1364 enable_documentation
1365 enable_fonts
1366 enable_include
1367 enable_libs_port
1368 enable_libs_wine
1369 enable_libs_wpp
1370 enable_loader
1371 enable_arp
1372 enable_aspnet_regiis
1373 enable_attrib
1374 enable_cabarc
1375 enable_cacls
1376 enable_clock
1377 enable_cmd
1378 enable_conhost
1379 enable_control
1380 enable_cscript
1381 enable_dpnsvr
1382 enable_dxdiag
1383 enable_eject
1384 enable_expand
1385 enable_explorer
1386 enable_extrac32
1387 enable_findstr
1388 enable_hh
1389 enable_hostname
1390 enable_icinfo
1391 enable_iexplore
1392 enable_ipconfig
1393 enable_lodctr
1394 enable_mofcomp
1395 enable_mshta
1396 enable_msiexec
1397 enable_net
1398 enable_netsh
1399 enable_netstat
1400 enable_ngen
1401 enable_notepad
1402 enable_oleview
1403 enable_ping
1404 enable_plugplay
1405 enable_presentationfontcache
1406 enable_progman
1407 enable_reg
1408 enable_regasm
1409 enable_regedit
1410 enable_regsvcs
1411 enable_regsvr32
1412 enable_rpcss
1413 enable_rundll32
1414 enable_sc
1415 enable_schtasks
1416 enable_sdbinst
1417 enable_secedit
1418 enable_servicemodelreg
1419 enable_services
1420 enable_spoolsv
1421 enable_start
1422 enable_svchost
1423 enable_systeminfo
1424 enable_taskkill
1425 enable_tasklist
1426 enable_taskmgr
1427 enable_termsv
1428 enable_uninstaller
1429 enable_unlodctr
1430 enable_view
1431 enable_wevtutil
1432 enable_wineboot
1433 enable_winebrowser
1434 enable_winecfg
1435 enable_wineconsole
1436 enable_winedbg
1437 enable_winedevice
1438 enable_winefile
1439 enable_winemenubuilder
1440 enable_winemine
1441 enable_winemsibuilder
1442 enable_winepath
1443 enable_winetest
1444 enable_winhlp32
1445 enable_winver
1446 enable_wmic
1447 enable_wordpad
1448 enable_write
1449 enable_wscript
1450 enable_wusa
1451 enable_xcopy
1452 enable_server
1453 enable_tools
1455 ac_precious_vars='build_alias
1456 host_alias
1457 target_alias
1459 CFLAGS
1460 LDFLAGS
1461 LIBS
1462 CPPFLAGS
1464 CXXFLAGS
1467 XMKMF
1468 XML2_CFLAGS
1469 XML2_LIBS
1470 XSLT_CFLAGS
1471 XSLT_LIBS
1472 DBUS_CFLAGS
1473 DBUS_LIBS
1474 HAL_CFLAGS
1475 HAL_LIBS
1476 GNUTLS_CFLAGS
1477 GNUTLS_LIBS
1478 SANE_CFLAGS
1479 SANE_LIBS
1480 GPHOTO2_CFLAGS
1481 GPHOTO2_LIBS
1482 GPHOTO2_PORT_CFLAGS
1483 GPHOTO2_PORT_LIBS
1484 LCMS2_CFLAGS
1485 LCMS2_LIBS
1486 FREETYPE_CFLAGS
1487 FREETYPE_LIBS
1488 GSTREAMER_CFLAGS
1489 GSTREAMER_LIBS
1490 CAPI20_CFLAGS
1491 CAPI20_LIBS
1492 FONTCONFIG_CFLAGS
1493 FONTCONFIG_LIBS
1494 JPEG_CFLAGS
1495 JPEG_LIBS
1496 PNG_CFLAGS
1497 PNG_LIBS
1498 TIFF_CFLAGS
1499 TIFF_LIBS
1500 MPG123_CFLAGS
1501 MPG123_LIBS'
1504 # Initialize some variables set by options.
1505 ac_init_help=
1506 ac_init_version=false
1507 ac_unrecognized_opts=
1508 ac_unrecognized_sep=
1509 # The variables have the same names as the options, with
1510 # dashes changed to underlines.
1511 cache_file=/dev/null
1512 exec_prefix=NONE
1513 no_create=
1514 no_recursion=
1515 prefix=NONE
1516 program_prefix=NONE
1517 program_suffix=NONE
1518 program_transform_name=s,x,x,
1519 silent=
1520 site=
1521 srcdir=
1522 verbose=
1523 x_includes=NONE
1524 x_libraries=NONE
1526 # Installation directory options.
1527 # These are left unexpanded so users can "make install exec_prefix=/foo"
1528 # and all the variables that are supposed to be based on exec_prefix
1529 # by default will actually change.
1530 # Use braces instead of parens because sh, perl, etc. also accept them.
1531 # (The list follows the same order as the GNU Coding Standards.)
1532 bindir='${exec_prefix}/bin'
1533 sbindir='${exec_prefix}/sbin'
1534 libexecdir='${exec_prefix}/libexec'
1535 datarootdir='${prefix}/share'
1536 datadir='${datarootdir}'
1537 sysconfdir='${prefix}/etc'
1538 sharedstatedir='${prefix}/com'
1539 localstatedir='${prefix}/var'
1540 includedir='${prefix}/include'
1541 oldincludedir='/usr/include'
1542 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1543 infodir='${datarootdir}/info'
1544 htmldir='${docdir}'
1545 dvidir='${docdir}'
1546 pdfdir='${docdir}'
1547 psdir='${docdir}'
1548 libdir='${exec_prefix}/lib'
1549 localedir='${datarootdir}/locale'
1550 mandir='${datarootdir}/man'
1552 ac_prev=
1553 ac_dashdash=
1554 for ac_option
1556 # If the previous option needs an argument, assign it.
1557 if test -n "$ac_prev"; then
1558 eval $ac_prev=\$ac_option
1559 ac_prev=
1560 continue
1563 case $ac_option in
1564 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1565 *=) ac_optarg= ;;
1566 *) ac_optarg=yes ;;
1567 esac
1569 # Accept the important Cygnus configure options, so we can diagnose typos.
1571 case $ac_dashdash$ac_option in
1573 ac_dashdash=yes ;;
1575 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1576 ac_prev=bindir ;;
1577 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1578 bindir=$ac_optarg ;;
1580 -build | --build | --buil | --bui | --bu)
1581 ac_prev=build_alias ;;
1582 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1583 build_alias=$ac_optarg ;;
1585 -cache-file | --cache-file | --cache-fil | --cache-fi \
1586 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1587 ac_prev=cache_file ;;
1588 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1589 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1590 cache_file=$ac_optarg ;;
1592 --config-cache | -C)
1593 cache_file=config.cache ;;
1595 -datadir | --datadir | --datadi | --datad)
1596 ac_prev=datadir ;;
1597 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1598 datadir=$ac_optarg ;;
1600 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1601 | --dataroo | --dataro | --datar)
1602 ac_prev=datarootdir ;;
1603 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1604 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1605 datarootdir=$ac_optarg ;;
1607 -disable-* | --disable-*)
1608 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1609 # Reject names that are not valid shell variable names.
1610 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1611 as_fn_error $? "invalid feature name: $ac_useropt"
1612 ac_useropt_orig=$ac_useropt
1613 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1614 case $ac_user_opts in
1616 "enable_$ac_useropt"
1617 "*) ;;
1618 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1619 ac_unrecognized_sep=', ';;
1620 esac
1621 eval enable_$ac_useropt=no ;;
1623 -docdir | --docdir | --docdi | --doc | --do)
1624 ac_prev=docdir ;;
1625 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1626 docdir=$ac_optarg ;;
1628 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1629 ac_prev=dvidir ;;
1630 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1631 dvidir=$ac_optarg ;;
1633 -enable-* | --enable-*)
1634 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1635 # Reject names that are not valid shell variable names.
1636 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1637 as_fn_error $? "invalid feature name: $ac_useropt"
1638 ac_useropt_orig=$ac_useropt
1639 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1640 case $ac_user_opts in
1642 "enable_$ac_useropt"
1643 "*) ;;
1644 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1645 ac_unrecognized_sep=', ';;
1646 esac
1647 eval enable_$ac_useropt=\$ac_optarg ;;
1649 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1650 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1651 | --exec | --exe | --ex)
1652 ac_prev=exec_prefix ;;
1653 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1654 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1655 | --exec=* | --exe=* | --ex=*)
1656 exec_prefix=$ac_optarg ;;
1658 -gas | --gas | --ga | --g)
1659 # Obsolete; use --with-gas.
1660 with_gas=yes ;;
1662 -help | --help | --hel | --he | -h)
1663 ac_init_help=long ;;
1664 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1665 ac_init_help=recursive ;;
1666 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1667 ac_init_help=short ;;
1669 -host | --host | --hos | --ho)
1670 ac_prev=host_alias ;;
1671 -host=* | --host=* | --hos=* | --ho=*)
1672 host_alias=$ac_optarg ;;
1674 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1675 ac_prev=htmldir ;;
1676 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1677 | --ht=*)
1678 htmldir=$ac_optarg ;;
1680 -includedir | --includedir | --includedi | --included | --include \
1681 | --includ | --inclu | --incl | --inc)
1682 ac_prev=includedir ;;
1683 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1684 | --includ=* | --inclu=* | --incl=* | --inc=*)
1685 includedir=$ac_optarg ;;
1687 -infodir | --infodir | --infodi | --infod | --info | --inf)
1688 ac_prev=infodir ;;
1689 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1690 infodir=$ac_optarg ;;
1692 -libdir | --libdir | --libdi | --libd)
1693 ac_prev=libdir ;;
1694 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1695 libdir=$ac_optarg ;;
1697 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1698 | --libexe | --libex | --libe)
1699 ac_prev=libexecdir ;;
1700 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1701 | --libexe=* | --libex=* | --libe=*)
1702 libexecdir=$ac_optarg ;;
1704 -localedir | --localedir | --localedi | --localed | --locale)
1705 ac_prev=localedir ;;
1706 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1707 localedir=$ac_optarg ;;
1709 -localstatedir | --localstatedir | --localstatedi | --localstated \
1710 | --localstate | --localstat | --localsta | --localst | --locals)
1711 ac_prev=localstatedir ;;
1712 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1713 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1714 localstatedir=$ac_optarg ;;
1716 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1717 ac_prev=mandir ;;
1718 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1719 mandir=$ac_optarg ;;
1721 -nfp | --nfp | --nf)
1722 # Obsolete; use --without-fp.
1723 with_fp=no ;;
1725 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1726 | --no-cr | --no-c | -n)
1727 no_create=yes ;;
1729 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1730 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1731 no_recursion=yes ;;
1733 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1734 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1735 | --oldin | --oldi | --old | --ol | --o)
1736 ac_prev=oldincludedir ;;
1737 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1738 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1739 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1740 oldincludedir=$ac_optarg ;;
1742 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1743 ac_prev=prefix ;;
1744 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1745 prefix=$ac_optarg ;;
1747 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1748 | --program-pre | --program-pr | --program-p)
1749 ac_prev=program_prefix ;;
1750 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1751 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1752 program_prefix=$ac_optarg ;;
1754 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1755 | --program-suf | --program-su | --program-s)
1756 ac_prev=program_suffix ;;
1757 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1758 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1759 program_suffix=$ac_optarg ;;
1761 -program-transform-name | --program-transform-name \
1762 | --program-transform-nam | --program-transform-na \
1763 | --program-transform-n | --program-transform- \
1764 | --program-transform | --program-transfor \
1765 | --program-transfo | --program-transf \
1766 | --program-trans | --program-tran \
1767 | --progr-tra | --program-tr | --program-t)
1768 ac_prev=program_transform_name ;;
1769 -program-transform-name=* | --program-transform-name=* \
1770 | --program-transform-nam=* | --program-transform-na=* \
1771 | --program-transform-n=* | --program-transform-=* \
1772 | --program-transform=* | --program-transfor=* \
1773 | --program-transfo=* | --program-transf=* \
1774 | --program-trans=* | --program-tran=* \
1775 | --progr-tra=* | --program-tr=* | --program-t=*)
1776 program_transform_name=$ac_optarg ;;
1778 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1779 ac_prev=pdfdir ;;
1780 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1781 pdfdir=$ac_optarg ;;
1783 -psdir | --psdir | --psdi | --psd | --ps)
1784 ac_prev=psdir ;;
1785 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1786 psdir=$ac_optarg ;;
1788 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1789 | -silent | --silent | --silen | --sile | --sil)
1790 silent=yes ;;
1792 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1793 ac_prev=sbindir ;;
1794 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1795 | --sbi=* | --sb=*)
1796 sbindir=$ac_optarg ;;
1798 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1799 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1800 | --sharedst | --shareds | --shared | --share | --shar \
1801 | --sha | --sh)
1802 ac_prev=sharedstatedir ;;
1803 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1804 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1805 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1806 | --sha=* | --sh=*)
1807 sharedstatedir=$ac_optarg ;;
1809 -site | --site | --sit)
1810 ac_prev=site ;;
1811 -site=* | --site=* | --sit=*)
1812 site=$ac_optarg ;;
1814 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1815 ac_prev=srcdir ;;
1816 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1817 srcdir=$ac_optarg ;;
1819 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1820 | --syscon | --sysco | --sysc | --sys | --sy)
1821 ac_prev=sysconfdir ;;
1822 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1823 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1824 sysconfdir=$ac_optarg ;;
1826 -target | --target | --targe | --targ | --tar | --ta | --t)
1827 ac_prev=target_alias ;;
1828 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1829 target_alias=$ac_optarg ;;
1831 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1832 verbose=yes ;;
1834 -version | --version | --versio | --versi | --vers | -V)
1835 ac_init_version=: ;;
1837 -with-* | --with-*)
1838 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1839 # Reject names that are not valid shell variable names.
1840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1841 as_fn_error $? "invalid package name: $ac_useropt"
1842 ac_useropt_orig=$ac_useropt
1843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1844 case $ac_user_opts in
1846 "with_$ac_useropt"
1847 "*) ;;
1848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1849 ac_unrecognized_sep=', ';;
1850 esac
1851 eval with_$ac_useropt=\$ac_optarg ;;
1853 -without-* | --without-*)
1854 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1855 # Reject names that are not valid shell variable names.
1856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1857 as_fn_error $? "invalid package name: $ac_useropt"
1858 ac_useropt_orig=$ac_useropt
1859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1860 case $ac_user_opts in
1862 "with_$ac_useropt"
1863 "*) ;;
1864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1865 ac_unrecognized_sep=', ';;
1866 esac
1867 eval with_$ac_useropt=no ;;
1869 --x)
1870 # Obsolete; use --with-x.
1871 with_x=yes ;;
1873 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1874 | --x-incl | --x-inc | --x-in | --x-i)
1875 ac_prev=x_includes ;;
1876 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1877 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1878 x_includes=$ac_optarg ;;
1880 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1881 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1882 ac_prev=x_libraries ;;
1883 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1884 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1885 x_libraries=$ac_optarg ;;
1887 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1888 Try \`$0 --help' for more information"
1891 *=*)
1892 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1893 # Reject names that are not valid shell variable names.
1894 case $ac_envvar in #(
1895 '' | [0-9]* | *[!_$as_cr_alnum]* )
1896 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1897 esac
1898 eval $ac_envvar=\$ac_optarg
1899 export $ac_envvar ;;
1902 # FIXME: should be removed in autoconf 3.0.
1903 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1904 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1905 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1906 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1909 esac
1910 done
1912 if test -n "$ac_prev"; then
1913 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1914 as_fn_error $? "missing argument to $ac_option"
1917 if test -n "$ac_unrecognized_opts"; then
1918 case $enable_option_checking in
1919 no) ;;
1920 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1921 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1922 esac
1925 # Check all directory arguments for consistency.
1926 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1927 datadir sysconfdir sharedstatedir localstatedir includedir \
1928 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1929 libdir localedir mandir
1931 eval ac_val=\$$ac_var
1932 # Remove trailing slashes.
1933 case $ac_val in
1934 */ )
1935 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1936 eval $ac_var=\$ac_val;;
1937 esac
1938 # Be sure to have absolute directory names.
1939 case $ac_val in
1940 [\\/$]* | ?:[\\/]* ) continue;;
1941 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1942 esac
1943 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1944 done
1946 # There might be people who depend on the old broken behavior: `$host'
1947 # used to hold the argument of --host etc.
1948 # FIXME: To remove some day.
1949 build=$build_alias
1950 host=$host_alias
1951 target=$target_alias
1953 # FIXME: To remove some day.
1954 if test "x$host_alias" != x; then
1955 if test "x$build_alias" = x; then
1956 cross_compiling=maybe
1957 elif test "x$build_alias" != "x$host_alias"; then
1958 cross_compiling=yes
1962 ac_tool_prefix=
1963 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1965 test "$silent" = yes && exec 6>/dev/null
1968 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1969 ac_ls_di=`ls -di .` &&
1970 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1971 as_fn_error $? "working directory cannot be determined"
1972 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1973 as_fn_error $? "pwd does not report name of working directory"
1976 # Find the source files, if location was not specified.
1977 if test -z "$srcdir"; then
1978 ac_srcdir_defaulted=yes
1979 # Try the directory containing this script, then the parent directory.
1980 ac_confdir=`$as_dirname -- "$as_myself" ||
1981 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1982 X"$as_myself" : 'X\(//\)[^/]' \| \
1983 X"$as_myself" : 'X\(//\)$' \| \
1984 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1985 $as_echo X"$as_myself" |
1986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1987 s//\1/
1990 /^X\(\/\/\)[^/].*/{
1991 s//\1/
1994 /^X\(\/\/\)$/{
1995 s//\1/
1998 /^X\(\/\).*/{
1999 s//\1/
2002 s/.*/./; q'`
2003 srcdir=$ac_confdir
2004 if test ! -r "$srcdir/$ac_unique_file"; then
2005 srcdir=..
2007 else
2008 ac_srcdir_defaulted=no
2010 if test ! -r "$srcdir/$ac_unique_file"; then
2011 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2012 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2014 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2015 ac_abs_confdir=`(
2016 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2017 pwd)`
2018 # When building in place, set srcdir=.
2019 if test "$ac_abs_confdir" = "$ac_pwd"; then
2020 srcdir=.
2022 # Remove unnecessary trailing slashes from srcdir.
2023 # Double slashes in file names in object file debugging info
2024 # mess up M-x gdb in Emacs.
2025 case $srcdir in
2026 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2027 esac
2028 for ac_var in $ac_precious_vars; do
2029 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2030 eval ac_env_${ac_var}_value=\$${ac_var}
2031 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2032 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2033 done
2036 # Report the --help message.
2038 if test "$ac_init_help" = "long"; then
2039 # Omit some internal or obsolete options to make the list less imposing.
2040 # This message is too long to be a string in the A/UX 3.1 sh.
2041 cat <<_ACEOF
2042 \`configure' configures Wine 1.7.46 to adapt to many kinds of systems.
2044 Usage: $0 [OPTION]... [VAR=VALUE]...
2046 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2047 VAR=VALUE. See below for descriptions of some of the useful variables.
2049 Defaults for the options are specified in brackets.
2051 Configuration:
2052 -h, --help display this help and exit
2053 --help=short display options specific to this package
2054 --help=recursive display the short help of all the included packages
2055 -V, --version display version information and exit
2056 -q, --quiet, --silent do not print \`checking ...' messages
2057 --cache-file=FILE cache test results in FILE [disabled]
2058 -C, --config-cache alias for \`--cache-file=config.cache'
2059 -n, --no-create do not create output files
2060 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2062 Installation directories:
2063 --prefix=PREFIX install architecture-independent files in PREFIX
2064 [$ac_default_prefix]
2065 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2066 [PREFIX]
2068 By default, \`make install' will install all the files in
2069 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2070 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2071 for instance \`--prefix=\$HOME'.
2073 For better control, use the options below.
2075 Fine tuning of the installation directories:
2076 --bindir=DIR user executables [EPREFIX/bin]
2077 --sbindir=DIR system admin executables [EPREFIX/sbin]
2078 --libexecdir=DIR program executables [EPREFIX/libexec]
2079 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2080 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2081 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2082 --libdir=DIR object code libraries [EPREFIX/lib]
2083 --includedir=DIR C header files [PREFIX/include]
2084 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2085 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2086 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2087 --infodir=DIR info documentation [DATAROOTDIR/info]
2088 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2089 --mandir=DIR man documentation [DATAROOTDIR/man]
2090 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2091 --htmldir=DIR html documentation [DOCDIR]
2092 --dvidir=DIR dvi documentation [DOCDIR]
2093 --pdfdir=DIR pdf documentation [DOCDIR]
2094 --psdir=DIR ps documentation [DOCDIR]
2095 _ACEOF
2097 cat <<\_ACEOF
2099 X features:
2100 --x-includes=DIR X include files are in DIR
2101 --x-libraries=DIR X library files are in DIR
2103 System types:
2104 --build=BUILD configure for building on BUILD [guessed]
2105 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2106 _ACEOF
2109 if test -n "$ac_init_help"; then
2110 case $ac_init_help in
2111 short | recursive ) echo "Configuration of Wine 1.7.46:";;
2112 esac
2113 cat <<\_ACEOF
2115 Optional Features:
2116 --disable-option-checking ignore unrecognized --enable/--with options
2117 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2118 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2119 --disable-win16 do not include Win16 support
2120 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2121 binaries)
2122 --disable-tests do not build the regression tests
2123 --enable-maintainer-mode
2124 enable maintainer-specific build rules
2125 --disable-largefile omit support for large files
2127 Optional Packages:
2128 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2129 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2130 --without-alsa do not use the Alsa sound support
2131 --without-capi do not use CAPI (ISDN support)
2132 --without-cms do not use CMS (color management support)
2133 --without-coreaudio do not use the CoreAudio sound support
2134 --without-cups do not use CUPS
2135 --without-curses do not use (n)curses
2136 --without-dbus do not use DBus (dynamic device support)
2137 --without-fontconfig do not use fontconfig
2138 --without-freetype do not use the FreeType library
2139 --without-gettext do not use gettext
2140 --with-gettextpo use the GetTextPO library to rebuild po files
2141 --without-gphoto do not use gphoto (Digital Camera support)
2142 --without-glu do not use the GLU library
2143 --without-gnutls do not use GnuTLS (schannel support)
2144 --without-gsm do not use libgsm (GSM 06.10 codec support)
2145 --without-gstreamer do not use GStreamer (codecs support)
2146 --without-hal do not use HAL (dynamic device support)
2147 --without-jpeg do not use JPEG
2148 --without-ldap do not use LDAP
2149 --without-mpg123 do not use the mpg123 library
2150 --without-netapi do not use the Samba NetAPI library
2151 --without-openal do not use OpenAL
2152 --without-opencl do not use OpenCL
2153 --without-opengl do not use OpenGL
2154 --without-osmesa do not use the OSMesa library
2155 --without-oss do not use the OSS sound support
2156 --without-pcap do not use the Packet Capture library
2157 --without-png do not use PNG
2158 --without-pthread do not use the pthread library
2159 --without-sane do not use SANE (scanner support)
2160 --without-tiff do not use TIFF
2161 --without-v4l do not use v4l1 (v4l support)
2162 --without-xcomposite do not use the Xcomposite extension
2163 --without-xcursor do not use the Xcursor extension
2164 --without-xinerama do not use Xinerama (multi-monitor support)
2165 --without-xinput do not use the Xinput extension
2166 --without-xinput2 do not use the Xinput 2 extension
2167 --without-xml do not use XML
2168 --without-xrandr do not use Xrandr (resolution changes)
2169 --without-xrender do not use the Xrender extension
2170 --without-xshape do not use the Xshape extension
2171 --without-xshm do not use XShm (shared memory extension)
2172 --without-xslt do not use XSLT
2173 --without-xxf86vm do not use XFree video mode extension
2174 --without-zlib do not use Zlib (data compression)
2175 --with-wine-tools=DIR use Wine tools from directory DIR
2176 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2177 --with-x use the X Window System
2179 Some influential environment variables:
2180 CC C compiler command
2181 CFLAGS C compiler flags
2182 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2183 nonstandard directory <lib dir>
2184 LIBS libraries to pass to the linker, e.g. -l<library>
2185 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2186 you have headers in a nonstandard directory <include dir>
2187 CXX C++ compiler command
2188 CXXFLAGS C++ compiler flags
2189 CPP C preprocessor
2190 XMKMF Path to xmkmf, Makefile generator for X Window System
2191 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2192 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2193 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2194 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2195 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2196 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2197 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2198 HAL_LIBS Linker flags for hal, overriding pkg-config
2199 GNUTLS_CFLAGS
2200 C compiler flags for gnutls, overriding pkg-config
2201 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2202 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2203 SANE_LIBS Linker flags for libsane, overriding pkg-config
2204 GPHOTO2_CFLAGS
2205 C compiler flags for libgphoto2, overriding pkg-config
2206 GPHOTO2_LIBS
2207 Linker flags for libgphoto2, overriding pkg-config
2208 GPHOTO2_PORT_CFLAGS
2209 C compiler flags for libgphoto2_port, overriding pkg-config
2210 GPHOTO2_PORT_LIBS
2211 Linker flags for libgphoto2_port, overriding pkg-config
2212 LCMS2_CFLAGS
2213 C compiler flags for lcms2, overriding pkg-config
2214 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2215 FREETYPE_CFLAGS
2216 C compiler flags for freetype2, overriding pkg-config
2217 FREETYPE_LIBS
2218 Linker flags for freetype2, overriding pkg-config
2219 GSTREAMER_CFLAGS
2220 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2221 GSTREAMER_LIBS
2222 Linker flags for gstreamer-app-0.10, overriding pkg-config
2223 CAPI20_CFLAGS
2224 C compiler flags for capi20, overriding pkg-config
2225 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2226 FONTCONFIG_CFLAGS
2227 C compiler flags for fontconfig, overriding pkg-config
2228 FONTCONFIG_LIBS
2229 Linker flags for fontconfig, overriding pkg-config
2230 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2231 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2232 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2233 PNG_LIBS Linker flags for libpng, overriding pkg-config
2234 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2235 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2236 MPG123_CFLAGS
2237 C compiler flags for libmpg123, overriding pkg-config
2238 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2240 Use these variables to override the choices made by `configure' or to help
2241 it to find libraries and programs with nonstandard names/locations.
2243 Report bugs to <wine-devel@winehq.org>.
2244 Wine home page: <http://www.winehq.org>.
2245 _ACEOF
2246 ac_status=$?
2249 if test "$ac_init_help" = "recursive"; then
2250 # If there are subdirs, report their specific --help.
2251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2252 test -d "$ac_dir" ||
2253 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2254 continue
2255 ac_builddir=.
2257 case "$ac_dir" in
2258 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2260 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2261 # A ".." for each directory in $ac_dir_suffix.
2262 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2263 case $ac_top_builddir_sub in
2264 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2265 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2266 esac ;;
2267 esac
2268 ac_abs_top_builddir=$ac_pwd
2269 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2270 # for backward compatibility:
2271 ac_top_builddir=$ac_top_build_prefix
2273 case $srcdir in
2274 .) # We are building in place.
2275 ac_srcdir=.
2276 ac_top_srcdir=$ac_top_builddir_sub
2277 ac_abs_top_srcdir=$ac_pwd ;;
2278 [\\/]* | ?:[\\/]* ) # Absolute name.
2279 ac_srcdir=$srcdir$ac_dir_suffix;
2280 ac_top_srcdir=$srcdir
2281 ac_abs_top_srcdir=$srcdir ;;
2282 *) # Relative name.
2283 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2284 ac_top_srcdir=$ac_top_build_prefix$srcdir
2285 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2286 esac
2287 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2289 cd "$ac_dir" || { ac_status=$?; continue; }
2290 # Check for guested configure.
2291 if test -f "$ac_srcdir/configure.gnu"; then
2292 echo &&
2293 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2294 elif test -f "$ac_srcdir/configure"; then
2295 echo &&
2296 $SHELL "$ac_srcdir/configure" --help=recursive
2297 else
2298 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2299 fi || ac_status=$?
2300 cd "$ac_pwd" || { ac_status=$?; break; }
2301 done
2304 test -n "$ac_init_help" && exit $ac_status
2305 if $ac_init_version; then
2306 cat <<\_ACEOF
2307 Wine configure 1.7.46
2308 generated by GNU Autoconf 2.69
2310 Copyright (C) 2012 Free Software Foundation, Inc.
2311 This configure script is free software; the Free Software Foundation
2312 gives unlimited permission to copy, distribute and modify it.
2313 _ACEOF
2314 exit
2317 ## ------------------------ ##
2318 ## Autoconf initialization. ##
2319 ## ------------------------ ##
2321 # ac_fn_c_try_compile LINENO
2322 # --------------------------
2323 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2324 ac_fn_c_try_compile ()
2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2327 rm -f conftest.$ac_objext
2328 if { { ac_try="$ac_compile"
2329 case "(($ac_try" in
2330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2331 *) ac_try_echo=$ac_try;;
2332 esac
2333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2334 $as_echo "$ac_try_echo"; } >&5
2335 (eval "$ac_compile") 2>conftest.err
2336 ac_status=$?
2337 if test -s conftest.err; then
2338 grep -v '^ *+' conftest.err >conftest.er1
2339 cat conftest.er1 >&5
2340 mv -f conftest.er1 conftest.err
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; } && {
2344 test -z "$ac_c_werror_flag" ||
2345 test ! -s conftest.err
2346 } && test -s conftest.$ac_objext; then :
2347 ac_retval=0
2348 else
2349 $as_echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.$ac_ext >&5
2352 ac_retval=1
2354 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355 as_fn_set_status $ac_retval
2357 } # ac_fn_c_try_compile
2359 # ac_fn_cxx_try_compile LINENO
2360 # ----------------------------
2361 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2362 ac_fn_cxx_try_compile ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 rm -f conftest.$ac_objext
2366 if { { ac_try="$ac_compile"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2372 $as_echo "$ac_try_echo"; } >&5
2373 (eval "$ac_compile") 2>conftest.err
2374 ac_status=$?
2375 if test -s conftest.err; then
2376 grep -v '^ *+' conftest.err >conftest.er1
2377 cat conftest.er1 >&5
2378 mv -f conftest.er1 conftest.err
2380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2381 test $ac_status = 0; } && {
2382 test -z "$ac_cxx_werror_flag" ||
2383 test ! -s conftest.err
2384 } && test -s conftest.$ac_objext; then :
2385 ac_retval=0
2386 else
2387 $as_echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 ac_retval=1
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2393 as_fn_set_status $ac_retval
2395 } # ac_fn_cxx_try_compile
2397 # ac_fn_c_try_link LINENO
2398 # -----------------------
2399 # Try to link conftest.$ac_ext, and return whether this succeeded.
2400 ac_fn_c_try_link ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 rm -f conftest.$ac_objext conftest$ac_exeext
2404 if { { ac_try="$ac_link"
2405 case "(($ac_try" in
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2408 esac
2409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2410 $as_echo "$ac_try_echo"; } >&5
2411 (eval "$ac_link") 2>conftest.err
2412 ac_status=$?
2413 if test -s conftest.err; then
2414 grep -v '^ *+' conftest.err >conftest.er1
2415 cat conftest.er1 >&5
2416 mv -f conftest.er1 conftest.err
2418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2419 test $ac_status = 0; } && {
2420 test -z "$ac_c_werror_flag" ||
2421 test ! -s conftest.err
2422 } && test -s conftest$ac_exeext && {
2423 test "$cross_compiling" = yes ||
2424 test -x conftest$ac_exeext
2425 }; then :
2426 ac_retval=0
2427 else
2428 $as_echo "$as_me: failed program was:" >&5
2429 sed 's/^/| /' conftest.$ac_ext >&5
2431 ac_retval=1
2433 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2434 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2435 # interfere with the next link command; also delete a directory that is
2436 # left behind by Apple's compiler. We do this before executing the actions.
2437 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2439 as_fn_set_status $ac_retval
2441 } # ac_fn_c_try_link
2443 # ac_fn_c_try_cpp LINENO
2444 # ----------------------
2445 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2446 ac_fn_c_try_cpp ()
2448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2449 if { { ac_try="$ac_cpp conftest.$ac_ext"
2450 case "(($ac_try" in
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2457 ac_status=$?
2458 if test -s conftest.err; then
2459 grep -v '^ *+' conftest.err >conftest.er1
2460 cat conftest.er1 >&5
2461 mv -f conftest.er1 conftest.err
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } > conftest.i && {
2465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2466 test ! -s conftest.err
2467 }; then :
2468 ac_retval=0
2469 else
2470 $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2473 ac_retval=1
2475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2476 as_fn_set_status $ac_retval
2478 } # ac_fn_c_try_cpp
2480 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2481 # -------------------------------------------------------
2482 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2483 # the include files in INCLUDES and setting the cache variable VAR
2484 # accordingly.
2485 ac_fn_c_check_header_mongrel ()
2487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2488 if eval \${$3+:} false; then :
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2490 $as_echo_n "checking for $2... " >&6; }
2491 if eval \${$3+:} false; then :
2492 $as_echo_n "(cached) " >&6
2494 eval ac_res=\$$3
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2496 $as_echo "$ac_res" >&6; }
2497 else
2498 # Is the header compilable?
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2500 $as_echo_n "checking $2 usability... " >&6; }
2501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2504 #include <$2>
2505 _ACEOF
2506 if ac_fn_c_try_compile "$LINENO"; then :
2507 ac_header_compiler=yes
2508 else
2509 ac_header_compiler=no
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2513 $as_echo "$ac_header_compiler" >&6; }
2515 # Is the header present?
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2517 $as_echo_n "checking $2 presence... " >&6; }
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2520 #include <$2>
2521 _ACEOF
2522 if ac_fn_c_try_cpp "$LINENO"; then :
2523 ac_header_preproc=yes
2524 else
2525 ac_header_preproc=no
2527 rm -f conftest.err conftest.i conftest.$ac_ext
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2529 $as_echo "$ac_header_preproc" >&6; }
2531 # So? What about this header?
2532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2533 yes:no: )
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2535 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2537 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2539 no:yes:* )
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2541 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2543 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2545 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2547 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2549 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2550 ( $as_echo "## ------------------------------------ ##
2551 ## Report this to wine-devel@winehq.org ##
2552 ## ------------------------------------ ##"
2553 ) | sed "s/^/$as_me: WARNING: /" >&2
2555 esac
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2557 $as_echo_n "checking for $2... " >&6; }
2558 if eval \${$3+:} false; then :
2559 $as_echo_n "(cached) " >&6
2560 else
2561 eval "$3=\$ac_header_compiler"
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2569 } # ac_fn_c_check_header_mongrel
2571 # ac_fn_c_try_run LINENO
2572 # ----------------------
2573 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2574 # that executables *can* be run.
2575 ac_fn_c_try_run ()
2577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2578 if { { ac_try="$ac_link"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_link") 2>&5
2586 ac_status=$?
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2589 { { case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_try") 2>&5
2596 ac_status=$?
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; }; }; then :
2599 ac_retval=0
2600 else
2601 $as_echo "$as_me: program exited with status $ac_status" >&5
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 ac_retval=$ac_status
2607 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2609 as_fn_set_status $ac_retval
2611 } # ac_fn_c_try_run
2613 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2614 # -------------------------------------------------------
2615 # Tests whether HEADER exists and can be compiled using the include files in
2616 # INCLUDES, setting the cache variable VAR accordingly.
2617 ac_fn_c_check_header_compile ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2621 $as_echo_n "checking for $2... " >&6; }
2622 if eval \${$3+:} false; then :
2623 $as_echo_n "(cached) " >&6
2624 else
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2628 #include <$2>
2629 _ACEOF
2630 if ac_fn_c_try_compile "$LINENO"; then :
2631 eval "$3=yes"
2632 else
2633 eval "$3=no"
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2637 eval ac_res=\$$3
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2639 $as_echo "$ac_res" >&6; }
2640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 } # ac_fn_c_check_header_compile
2644 # ac_fn_c_check_func LINENO FUNC VAR
2645 # ----------------------------------
2646 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2647 ac_fn_c_check_func ()
2649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2651 $as_echo_n "checking for $2... " >&6; }
2652 if eval \${$3+:} false; then :
2653 $as_echo_n "(cached) " >&6
2654 else
2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656 /* end confdefs.h. */
2657 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2659 #define $2 innocuous_$2
2661 /* System header to define __stub macros and hopefully few prototypes,
2662 which can conflict with char $2 (); below.
2663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2664 <limits.h> exists even on freestanding compilers. */
2666 #ifdef __STDC__
2667 # include <limits.h>
2668 #else
2669 # include <assert.h>
2670 #endif
2672 #undef $2
2674 /* Override any GCC internal prototype to avoid an error.
2675 Use char because int might match the return type of a GCC
2676 builtin and then its argument prototype would still apply. */
2677 #ifdef __cplusplus
2678 extern "C"
2679 #endif
2680 char $2 ();
2681 /* The GNU C library defines this for functions which it implements
2682 to always fail with ENOSYS. Some functions are actually named
2683 something starting with __ and the normal name is an alias. */
2684 #if defined __stub_$2 || defined __stub___$2
2685 choke me
2686 #endif
2689 main ()
2691 return $2 ();
2693 return 0;
2695 _ACEOF
2696 if ac_fn_c_try_link "$LINENO"; then :
2697 eval "$3=yes"
2698 else
2699 eval "$3=no"
2701 rm -f core conftest.err conftest.$ac_objext \
2702 conftest$ac_exeext conftest.$ac_ext
2704 eval ac_res=\$$3
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 } # ac_fn_c_check_func
2711 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2712 # ----------------------------------------------------
2713 # Tries to find if the field MEMBER exists in type AGGR, after including
2714 # INCLUDES, setting cache variable VAR accordingly.
2715 ac_fn_c_check_member ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2719 $as_echo_n "checking for $2.$3... " >&6; }
2720 if eval \${$4+:} false; then :
2721 $as_echo_n "(cached) " >&6
2722 else
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2727 main ()
2729 static $2 ac_aggr;
2730 if (ac_aggr.$3)
2731 return 0;
2733 return 0;
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 eval "$4=yes"
2738 else
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2743 main ()
2745 static $2 ac_aggr;
2746 if (sizeof ac_aggr.$3)
2747 return 0;
2749 return 0;
2751 _ACEOF
2752 if ac_fn_c_try_compile "$LINENO"; then :
2753 eval "$4=yes"
2754 else
2755 eval "$4=no"
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761 eval ac_res=\$$4
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_member
2768 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2769 # -------------------------------------------
2770 # Tests whether TYPE exists after having included INCLUDES, setting cache
2771 # variable VAR accordingly.
2772 ac_fn_c_check_type ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778 $as_echo_n "(cached) " >&6
2779 else
2780 eval "$3=no"
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2785 main ()
2787 if (sizeof ($2))
2788 return 0;
2790 return 0;
2792 _ACEOF
2793 if ac_fn_c_try_compile "$LINENO"; then :
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2798 main ()
2800 if (sizeof (($2)))
2801 return 0;
2803 return 0;
2805 _ACEOF
2806 if ac_fn_c_try_compile "$LINENO"; then :
2808 else
2809 eval "$3=yes"
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 eval ac_res=\$$3
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2817 $as_echo "$ac_res" >&6; }
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 } # ac_fn_c_check_type
2821 cat >config.log <<_ACEOF
2822 This file contains any messages produced by compilers while
2823 running configure, to aid debugging if configure makes a mistake.
2825 It was created by Wine $as_me 1.7.46, which was
2826 generated by GNU Autoconf 2.69. Invocation command line was
2828 $ $0 $@
2830 _ACEOF
2831 exec 5>>config.log
2833 cat <<_ASUNAME
2834 ## --------- ##
2835 ## Platform. ##
2836 ## --------- ##
2838 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2839 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2840 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2841 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2842 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2844 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2845 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2847 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2848 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2849 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2850 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2851 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2852 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2853 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2855 _ASUNAME
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2860 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
2862 $as_echo "PATH: $as_dir"
2863 done
2864 IFS=$as_save_IFS
2866 } >&5
2868 cat >&5 <<_ACEOF
2871 ## ----------- ##
2872 ## Core tests. ##
2873 ## ----------- ##
2875 _ACEOF
2878 # Keep a trace of the command line.
2879 # Strip out --no-create and --no-recursion so they do not pile up.
2880 # Strip out --silent because we don't want to record it for future runs.
2881 # Also quote any args containing shell meta-characters.
2882 # Make two passes to allow for proper duplicate-argument suppression.
2883 ac_configure_args=
2884 ac_configure_args0=
2885 ac_configure_args1=
2886 ac_must_keep_next=false
2887 for ac_pass in 1 2
2889 for ac_arg
2891 case $ac_arg in
2892 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2894 | -silent | --silent | --silen | --sile | --sil)
2895 continue ;;
2896 *\'*)
2897 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2898 esac
2899 case $ac_pass in
2900 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2902 as_fn_append ac_configure_args1 " '$ac_arg'"
2903 if test $ac_must_keep_next = true; then
2904 ac_must_keep_next=false # Got value, back to normal.
2905 else
2906 case $ac_arg in
2907 *=* | --config-cache | -C | -disable-* | --disable-* \
2908 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2909 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2910 | -with-* | --with-* | -without-* | --without-* | --x)
2911 case "$ac_configure_args0 " in
2912 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2913 esac
2915 -* ) ac_must_keep_next=true ;;
2916 esac
2918 as_fn_append ac_configure_args " '$ac_arg'"
2920 esac
2921 done
2922 done
2923 { ac_configure_args0=; unset ac_configure_args0;}
2924 { ac_configure_args1=; unset ac_configure_args1;}
2926 # When interrupted or exit'd, cleanup temporary files, and complete
2927 # config.log. We remove comments because anyway the quotes in there
2928 # would cause problems or look ugly.
2929 # WARNING: Use '\'' to represent an apostrophe within the trap.
2930 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2931 trap 'exit_status=$?
2932 # Save into config.log some information that might help in debugging.
2934 echo
2936 $as_echo "## ---------------- ##
2937 ## Cache variables. ##
2938 ## ---------------- ##"
2939 echo
2940 # The following way of writing the cache mishandles newlines in values,
2942 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2943 eval ac_val=\$$ac_var
2944 case $ac_val in #(
2945 *${as_nl}*)
2946 case $ac_var in #(
2947 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2948 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2949 esac
2950 case $ac_var in #(
2951 _ | IFS | as_nl) ;; #(
2952 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2953 *) { eval $ac_var=; unset $ac_var;} ;;
2954 esac ;;
2955 esac
2956 done
2957 (set) 2>&1 |
2958 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2959 *${as_nl}ac_space=\ *)
2960 sed -n \
2961 "s/'\''/'\''\\\\'\'''\''/g;
2962 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2963 ;; #(
2965 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2967 esac |
2968 sort
2970 echo
2972 $as_echo "## ----------------- ##
2973 ## Output variables. ##
2974 ## ----------------- ##"
2975 echo
2976 for ac_var in $ac_subst_vars
2978 eval ac_val=\$$ac_var
2979 case $ac_val in
2980 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2981 esac
2982 $as_echo "$ac_var='\''$ac_val'\''"
2983 done | sort
2984 echo
2986 if test -n "$ac_subst_files"; then
2987 $as_echo "## ------------------- ##
2988 ## File substitutions. ##
2989 ## ------------------- ##"
2990 echo
2991 for ac_var in $ac_subst_files
2993 eval ac_val=\$$ac_var
2994 case $ac_val in
2995 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2996 esac
2997 $as_echo "$ac_var='\''$ac_val'\''"
2998 done | sort
2999 echo
3002 if test -s confdefs.h; then
3003 $as_echo "## ----------- ##
3004 ## confdefs.h. ##
3005 ## ----------- ##"
3006 echo
3007 cat confdefs.h
3008 echo
3010 test "$ac_signal" != 0 &&
3011 $as_echo "$as_me: caught signal $ac_signal"
3012 $as_echo "$as_me: exit $exit_status"
3013 } >&5
3014 rm -f core *.core core.conftest.* &&
3015 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3016 exit $exit_status
3018 for ac_signal in 1 2 13 15; do
3019 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3020 done
3021 ac_signal=0
3023 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3024 rm -f -r conftest* confdefs.h
3026 $as_echo "/* confdefs.h */" > confdefs.h
3028 # Predefined preprocessor variables.
3030 cat >>confdefs.h <<_ACEOF
3031 #define PACKAGE_NAME "$PACKAGE_NAME"
3032 _ACEOF
3034 cat >>confdefs.h <<_ACEOF
3035 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3036 _ACEOF
3038 cat >>confdefs.h <<_ACEOF
3039 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3040 _ACEOF
3042 cat >>confdefs.h <<_ACEOF
3043 #define PACKAGE_STRING "$PACKAGE_STRING"
3044 _ACEOF
3046 cat >>confdefs.h <<_ACEOF
3047 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3048 _ACEOF
3050 cat >>confdefs.h <<_ACEOF
3051 #define PACKAGE_URL "$PACKAGE_URL"
3052 _ACEOF
3055 # Let the site file select an alternate cache file if it wants to.
3056 # Prefer an explicitly selected file to automatically selected ones.
3057 ac_site_file1=NONE
3058 ac_site_file2=NONE
3059 if test -n "$CONFIG_SITE"; then
3060 # We do not want a PATH search for config.site.
3061 case $CONFIG_SITE in #((
3062 -*) ac_site_file1=./$CONFIG_SITE;;
3063 */*) ac_site_file1=$CONFIG_SITE;;
3064 *) ac_site_file1=./$CONFIG_SITE;;
3065 esac
3066 elif test "x$prefix" != xNONE; then
3067 ac_site_file1=$prefix/share/config.site
3068 ac_site_file2=$prefix/etc/config.site
3069 else
3070 ac_site_file1=$ac_default_prefix/share/config.site
3071 ac_site_file2=$ac_default_prefix/etc/config.site
3073 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3075 test "x$ac_site_file" = xNONE && continue
3076 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3078 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3079 sed 's/^/| /' "$ac_site_file" >&5
3080 . "$ac_site_file" \
3081 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 as_fn_error $? "failed to load site script $ac_site_file
3084 See \`config.log' for more details" "$LINENO" 5; }
3086 done
3088 if test -r "$cache_file"; then
3089 # Some versions of bash will fail to source /dev/null (special files
3090 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3091 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3093 $as_echo "$as_me: loading cache $cache_file" >&6;}
3094 case $cache_file in
3095 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3096 *) . "./$cache_file";;
3097 esac
3099 else
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3101 $as_echo "$as_me: creating cache $cache_file" >&6;}
3102 >$cache_file
3105 # Check that the precious variables saved in the cache have kept the same
3106 # value.
3107 ac_cache_corrupted=false
3108 for ac_var in $ac_precious_vars; do
3109 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3110 eval ac_new_set=\$ac_env_${ac_var}_set
3111 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3112 eval ac_new_val=\$ac_env_${ac_var}_value
3113 case $ac_old_set,$ac_new_set in
3114 set,)
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3116 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3117 ac_cache_corrupted=: ;;
3118 ,set)
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3120 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3121 ac_cache_corrupted=: ;;
3122 ,);;
3124 if test "x$ac_old_val" != "x$ac_new_val"; then
3125 # differences in whitespace do not lead to failure.
3126 ac_old_val_w=`echo x $ac_old_val`
3127 ac_new_val_w=`echo x $ac_new_val`
3128 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3130 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3131 ac_cache_corrupted=:
3132 else
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3134 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3135 eval $ac_var=\$ac_old_val
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3138 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3140 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3141 fi;;
3142 esac
3143 # Pass precious variables to config.status.
3144 if test "$ac_new_set" = set; then
3145 case $ac_new_val in
3146 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3147 *) ac_arg=$ac_var=$ac_new_val ;;
3148 esac
3149 case " $ac_configure_args " in
3150 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3151 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3152 esac
3154 done
3155 if $ac_cache_corrupted; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3159 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3160 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3162 ## -------------------- ##
3163 ## Main body of script. ##
3164 ## -------------------- ##
3166 ac_ext=c
3167 ac_cpp='$CPP $CPPFLAGS'
3168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 ac_config_headers="$ac_config_headers include/config.h"
3176 ac_aux_dir=
3177 for ac_dir in tools "$srcdir"/tools; do
3178 if test -f "$ac_dir/install-sh"; then
3179 ac_aux_dir=$ac_dir
3180 ac_install_sh="$ac_aux_dir/install-sh -c"
3181 break
3182 elif test -f "$ac_dir/install.sh"; then
3183 ac_aux_dir=$ac_dir
3184 ac_install_sh="$ac_aux_dir/install.sh -c"
3185 break
3186 elif test -f "$ac_dir/shtool"; then
3187 ac_aux_dir=$ac_dir
3188 ac_install_sh="$ac_aux_dir/shtool install -c"
3189 break
3191 done
3192 if test -z "$ac_aux_dir"; then
3193 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3196 # These three variables are undocumented and unsupported,
3197 # and are intended to be withdrawn in a future Autoconf release.
3198 # They can cause serious problems if a builder's source tree is in a directory
3199 # whose full name contains unusual characters.
3200 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3201 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3202 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3206 libwine_version="1.0"
3210 # Check whether --enable-win16 was given.
3211 if test "${enable_win16+set}" = set; then :
3212 enableval=$enable_win16;
3215 # Check whether --enable-win64 was given.
3216 if test "${enable_win64+set}" = set; then :
3217 enableval=$enable_win64;
3220 # Check whether --enable-tests was given.
3221 if test "${enable_tests+set}" = set; then :
3222 enableval=$enable_tests;
3225 # Check whether --enable-maintainer-mode was given.
3226 if test "${enable_maintainer_mode+set}" = set; then :
3227 enableval=$enable_maintainer_mode;
3232 # Check whether --with-alsa was given.
3233 if test "${with_alsa+set}" = set; then :
3234 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3238 # Check whether --with-capi was given.
3239 if test "${with_capi+set}" = set; then :
3240 withval=$with_capi;
3244 # Check whether --with-cms was given.
3245 if test "${with_cms+set}" = set; then :
3246 withval=$with_cms;
3250 # Check whether --with-coreaudio was given.
3251 if test "${with_coreaudio+set}" = set; then :
3252 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3256 # Check whether --with-cups was given.
3257 if test "${with_cups+set}" = set; then :
3258 withval=$with_cups;
3262 # Check whether --with-curses was given.
3263 if test "${with_curses+set}" = set; then :
3264 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3268 # Check whether --with-dbus was given.
3269 if test "${with_dbus+set}" = set; then :
3270 withval=$with_dbus;
3274 # Check whether --with-fontconfig was given.
3275 if test "${with_fontconfig+set}" = set; then :
3276 withval=$with_fontconfig;
3280 # Check whether --with-freetype was given.
3281 if test "${with_freetype+set}" = set; then :
3282 withval=$with_freetype;
3286 # Check whether --with-gettext was given.
3287 if test "${with_gettext+set}" = set; then :
3288 withval=$with_gettext;
3292 # Check whether --with-gettextpo was given.
3293 if test "${with_gettextpo+set}" = set; then :
3294 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3298 # Check whether --with-gphoto was given.
3299 if test "${with_gphoto+set}" = set; then :
3300 withval=$with_gphoto;
3304 # Check whether --with-glu was given.
3305 if test "${with_glu+set}" = set; then :
3306 withval=$with_glu;
3310 # Check whether --with-gnutls was given.
3311 if test "${with_gnutls+set}" = set; then :
3312 withval=$with_gnutls;
3316 # Check whether --with-gsm was given.
3317 if test "${with_gsm+set}" = set; then :
3318 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3322 # Check whether --with-gstreamer was given.
3323 if test "${with_gstreamer+set}" = set; then :
3324 withval=$with_gstreamer;
3328 # Check whether --with-hal was given.
3329 if test "${with_hal+set}" = set; then :
3330 withval=$with_hal;
3334 # Check whether --with-jpeg was given.
3335 if test "${with_jpeg+set}" = set; then :
3336 withval=$with_jpeg;
3340 # Check whether --with-ldap was given.
3341 if test "${with_ldap+set}" = set; then :
3342 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3346 # Check whether --with-mpg123 was given.
3347 if test "${with_mpg123+set}" = set; then :
3348 withval=$with_mpg123;
3352 # Check whether --with-netapi was given.
3353 if test "${with_netapi+set}" = set; then :
3354 withval=$with_netapi;
3358 # Check whether --with-openal was given.
3359 if test "${with_openal+set}" = set; then :
3360 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3364 # Check whether --with-opencl was given.
3365 if test "${with_opencl+set}" = set; then :
3366 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3370 # Check whether --with-opengl was given.
3371 if test "${with_opengl+set}" = set; then :
3372 withval=$with_opengl;
3376 # Check whether --with-osmesa was given.
3377 if test "${with_osmesa+set}" = set; then :
3378 withval=$with_osmesa;
3382 # Check whether --with-oss was given.
3383 if test "${with_oss+set}" = set; then :
3384 withval=$with_oss;
3388 # Check whether --with-pcap was given.
3389 if test "${with_pcap+set}" = set; then :
3390 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3394 # Check whether --with-png was given.
3395 if test "${with_png+set}" = set; then :
3396 withval=$with_png;
3400 # Check whether --with-pthread was given.
3401 if test "${with_pthread+set}" = set; then :
3402 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3406 # Check whether --with-sane was given.
3407 if test "${with_sane+set}" = set; then :
3408 withval=$with_sane;
3412 # Check whether --with-tiff was given.
3413 if test "${with_tiff+set}" = set; then :
3414 withval=$with_tiff;
3418 # Check whether --with-v4l was given.
3419 if test "${with_v4l+set}" = set; then :
3420 withval=$with_v4l;
3424 # Check whether --with-xcomposite was given.
3425 if test "${with_xcomposite+set}" = set; then :
3426 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3430 # Check whether --with-xcursor was given.
3431 if test "${with_xcursor+set}" = set; then :
3432 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3436 # Check whether --with-xinerama was given.
3437 if test "${with_xinerama+set}" = set; then :
3438 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3442 # Check whether --with-xinput was given.
3443 if test "${with_xinput+set}" = set; then :
3444 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3448 # Check whether --with-xinput2 was given.
3449 if test "${with_xinput2+set}" = set; then :
3450 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3454 # Check whether --with-xml was given.
3455 if test "${with_xml+set}" = set; then :
3456 withval=$with_xml;
3460 # Check whether --with-xrandr was given.
3461 if test "${with_xrandr+set}" = set; then :
3462 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3466 # Check whether --with-xrender was given.
3467 if test "${with_xrender+set}" = set; then :
3468 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3472 # Check whether --with-xshape was given.
3473 if test "${with_xshape+set}" = set; then :
3474 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3478 # Check whether --with-xshm was given.
3479 if test "${with_xshm+set}" = set; then :
3480 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3484 # Check whether --with-xslt was given.
3485 if test "${with_xslt+set}" = set; then :
3486 withval=$with_xslt;
3490 # Check whether --with-xxf86vm was given.
3491 if test "${with_xxf86vm+set}" = set; then :
3492 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
3496 # Check whether --with-zlib was given.
3497 if test "${with_zlib+set}" = set; then :
3498 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3503 # Check whether --with-wine-tools was given.
3504 if test "${with_wine_tools+set}" = set; then :
3505 withval=$with_wine_tools;
3509 # Check whether --with-wine64 was given.
3510 if test "${with_wine64+set}" = set; then :
3511 withval=$with_wine64;
3515 # Make sure we can run config.sub.
3516 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3517 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3520 $as_echo_n "checking build system type... " >&6; }
3521 if ${ac_cv_build+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 ac_build_alias=$build_alias
3525 test "x$ac_build_alias" = x &&
3526 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3527 test "x$ac_build_alias" = x &&
3528 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3529 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3530 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3534 $as_echo "$ac_cv_build" >&6; }
3535 case $ac_cv_build in
3536 *-*-*) ;;
3537 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3538 esac
3539 build=$ac_cv_build
3540 ac_save_IFS=$IFS; IFS='-'
3541 set x $ac_cv_build
3542 shift
3543 build_cpu=$1
3544 build_vendor=$2
3545 shift; shift
3546 # Remember, the first character of IFS is used to create $*,
3547 # except with old shells:
3548 build_os=$*
3549 IFS=$ac_save_IFS
3550 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3554 $as_echo_n "checking host system type... " >&6; }
3555 if ${ac_cv_host+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test "x$host_alias" = x; then
3559 ac_cv_host=$ac_cv_build
3560 else
3561 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3562 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3567 $as_echo "$ac_cv_host" >&6; }
3568 case $ac_cv_host in
3569 *-*-*) ;;
3570 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3571 esac
3572 host=$ac_cv_host
3573 ac_save_IFS=$IFS; IFS='-'
3574 set x $ac_cv_host
3575 shift
3576 host_cpu=$1
3577 host_vendor=$2
3578 shift; shift
3579 # Remember, the first character of IFS is used to create $*,
3580 # except with old shells:
3581 host_os=$*
3582 IFS=$ac_save_IFS
3583 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3587 case "$srcdir" in
3588 .) ;;
3589 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3590 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3591 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3592 fi ;;
3593 esac
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3597 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3598 set x ${MAKE-make}
3599 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3600 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3601 $as_echo_n "(cached) " >&6
3602 else
3603 cat >conftest.make <<\_ACEOF
3604 SHELL = /bin/sh
3605 all:
3606 @echo '@@@%%%=$(MAKE)=@@@%%%'
3607 _ACEOF
3608 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3609 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3610 *@@@%%%=?*=@@@%%%*)
3611 eval ac_cv_prog_make_${ac_make}_set=yes;;
3613 eval ac_cv_prog_make_${ac_make}_set=no;;
3614 esac
3615 rm -f conftest.make
3617 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3619 $as_echo "yes" >&6; }
3620 SET_MAKE=
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 SET_MAKE="MAKE=${MAKE-make}"
3627 ac_ext=c
3628 ac_cpp='$CPP $CPPFLAGS'
3629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_CC+:} false; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3654 done
3655 done
3656 IFS=$as_save_IFS
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3671 if test -z "$ac_cv_prog_CC"; then
3672 ac_ct_CC=$CC
3673 # Extract the first word of "gcc", so it can be a program name with args.
3674 set dummy gcc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$ac_ct_CC"; then
3681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3682 else
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 for as_dir in $PATH
3686 IFS=$as_save_IFS
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3690 ac_cv_prog_ac_ct_CC="gcc"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 break 2
3694 done
3695 done
3696 IFS=$as_save_IFS
3700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3701 if test -n "$ac_ct_CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3703 $as_echo "$ac_ct_CC" >&6; }
3704 else
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3709 if test "x$ac_ct_CC" = x; then
3710 CC=""
3711 else
3712 case $cross_compiling:$ac_tool_warned in
3713 yes:)
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3716 ac_tool_warned=yes ;;
3717 esac
3718 CC=$ac_ct_CC
3720 else
3721 CC="$ac_cv_prog_CC"
3724 if test -z "$CC"; then
3725 if test -n "$ac_tool_prefix"; then
3726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3727 set dummy ${ac_tool_prefix}cc; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_CC+:} false; then :
3731 $as_echo_n "(cached) " >&6
3732 else
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC="$CC" # Let the user override the test.
3735 else
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 for as_dir in $PATH
3739 IFS=$as_save_IFS
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_CC="${ac_tool_prefix}cc"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 break 2
3747 done
3748 done
3749 IFS=$as_save_IFS
3753 CC=$ac_cv_prog_CC
3754 if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 $as_echo "$CC" >&6; }
3757 else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3765 if test -z "$CC"; then
3766 # Extract the first word of "cc", so it can be a program name with args.
3767 set dummy cc; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_CC+:} false; then :
3771 $as_echo_n "(cached) " >&6
3772 else
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC="$CC" # Let the user override the test.
3775 else
3776 ac_prog_rejected=no
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3784 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3785 ac_prog_rejected=yes
3786 continue
3788 ac_cv_prog_CC="cc"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 break 2
3792 done
3793 done
3794 IFS=$as_save_IFS
3796 if test $ac_prog_rejected = yes; then
3797 # We found a bogon in the path, so make sure we never use it.
3798 set dummy $ac_cv_prog_CC
3799 shift
3800 if test $# != 0; then
3801 # We chose a different compiler from the bogus one.
3802 # However, it has the same basename, so the bogon will be chosen
3803 # first if we set CC to just the basename; use the full file name.
3804 shift
3805 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3810 CC=$ac_cv_prog_CC
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813 $as_echo "$CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3821 if test -z "$CC"; then
3822 if test -n "$ac_tool_prefix"; then
3823 for ac_prog in cl.exe
3825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_CC+:} false; then :
3830 $as_echo_n "(cached) " >&6
3831 else
3832 if test -n "$CC"; then
3833 ac_cv_prog_CC="$CC" # Let the user override the test.
3834 else
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 for as_dir in $PATH
3838 IFS=$as_save_IFS
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 break 2
3846 done
3847 done
3848 IFS=$as_save_IFS
3852 CC=$ac_cv_prog_CC
3853 if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3856 else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 test -n "$CC" && break
3863 done
3865 if test -z "$CC"; then
3866 ac_ct_CC=$CC
3867 for ac_prog in cl.exe
3869 # Extract the first word of "$ac_prog", so it can be a program name with args.
3870 set dummy $ac_prog; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3878 else
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880 for as_dir in $PATH
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3886 ac_cv_prog_ac_ct_CC="$ac_prog"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 break 2
3890 done
3891 done
3892 IFS=$as_save_IFS
3896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3900 else
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3906 test -n "$ac_ct_CC" && break
3907 done
3909 if test "x$ac_ct_CC" = x; then
3910 CC=""
3911 else
3912 case $cross_compiling:$ac_tool_warned in
3913 yes:)
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916 ac_tool_warned=yes ;;
3917 esac
3918 CC=$ac_ct_CC
3925 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3927 as_fn_error $? "no acceptable C compiler found in \$PATH
3928 See \`config.log' for more details" "$LINENO" 5; }
3930 # Provide some information about the compiler.
3931 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3932 set X $ac_compile
3933 ac_compiler=$2
3934 for ac_option in --version -v -V -qversion; do
3935 { { ac_try="$ac_compiler $ac_option >&5"
3936 case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939 esac
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3943 ac_status=$?
3944 if test -s conftest.err; then
3945 sed '10a\
3946 ... rest of stderr output deleted ...
3947 10q' conftest.err >conftest.er1
3948 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }
3953 done
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3959 main ()
3963 return 0;
3965 _ACEOF
3966 ac_clean_files_save=$ac_clean_files
3967 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3968 # Try to create an executable without -o first, disregard a.out.
3969 # It will help us diagnose broken compilers, and finding out an intuition
3970 # of exeext.
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3972 $as_echo_n "checking whether the C compiler works... " >&6; }
3973 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3975 # The possible output files:
3976 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3978 ac_rmfiles=
3979 for ac_file in $ac_files
3981 case $ac_file in
3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3983 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3984 esac
3985 done
3986 rm -f $ac_rmfiles
3988 if { { ac_try="$ac_link_default"
3989 case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link_default") 2>&5
3996 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4001 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4002 # so that the user can short-circuit this test for compilers unknown to
4003 # Autoconf.
4004 for ac_file in $ac_files ''
4006 test -f "$ac_file" || continue
4007 case $ac_file in
4008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4010 [ab].out )
4011 # We found the default executable, but exeext='' is most
4012 # certainly right.
4013 break;;
4014 *.* )
4015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4016 then :; else
4017 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4019 # We set ac_cv_exeext here because the later test for it is not
4020 # safe: cross compilers may not add the suffix if given an `-o'
4021 # argument, so we may need to know it at that point already.
4022 # Even if this section looks crufty: it has the advantage of
4023 # actually working.
4024 break;;
4026 break;;
4027 esac
4028 done
4029 test "$ac_cv_exeext" = no && ac_cv_exeext=
4031 else
4032 ac_file=''
4034 if test -z "$ac_file"; then :
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4037 $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.$ac_ext >&5
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error 77 "C compiler cannot create executables
4043 See \`config.log' for more details" "$LINENO" 5; }
4044 else
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4046 $as_echo "yes" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4049 $as_echo_n "checking for C compiler default output file name... " >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4051 $as_echo "$ac_file" >&6; }
4052 ac_exeext=$ac_cv_exeext
4054 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4055 ac_clean_files=$ac_clean_files_save
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4057 $as_echo_n "checking for suffix of executables... " >&6; }
4058 if { { ac_try="$ac_link"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4070 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4071 # work properly (i.e., refer to `conftest.exe'), while it won't with
4072 # `rm'.
4073 for ac_file in conftest.exe conftest conftest.*; do
4074 test -f "$ac_file" || continue
4075 case $ac_file in
4076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4078 break;;
4079 * ) break;;
4080 esac
4081 done
4082 else
4083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4085 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4086 See \`config.log' for more details" "$LINENO" 5; }
4088 rm -f conftest conftest$ac_cv_exeext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4090 $as_echo "$ac_cv_exeext" >&6; }
4092 rm -f conftest.$ac_ext
4093 EXEEXT=$ac_cv_exeext
4094 ac_exeext=$EXEEXT
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #include <stdio.h>
4099 main ()
4101 FILE *f = fopen ("conftest.out", "w");
4102 return ferror (f) || fclose (f) != 0;
4105 return 0;
4107 _ACEOF
4108 ac_clean_files="$ac_clean_files conftest.out"
4109 # Check that the compiler produces executables we can run. If not, either
4110 # the compiler is broken, or we cross compile.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4112 $as_echo_n "checking whether we are cross compiling... " >&6; }
4113 if test "$cross_compiling" != yes; then
4114 { { ac_try="$ac_link"
4115 case "(($ac_try" in
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4118 esac
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_link") 2>&5
4122 ac_status=$?
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }
4125 if { ac_try='./conftest$ac_cv_exeext'
4126 { { case "(($ac_try" in
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4129 esac
4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_try") 2>&5
4133 ac_status=$?
4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135 test $ac_status = 0; }; }; then
4136 cross_compiling=no
4137 else
4138 if test "$cross_compiling" = maybe; then
4139 cross_compiling=yes
4140 else
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $? "cannot run C compiled programs.
4144 If you meant to cross compile, use \`--host'.
4145 See \`config.log' for more details" "$LINENO" 5; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4150 $as_echo "$cross_compiling" >&6; }
4152 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4153 ac_clean_files=$ac_clean_files_save
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4155 $as_echo_n "checking for suffix of object files... " >&6; }
4156 if ${ac_cv_objext+:} false; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 rm -f conftest.o conftest.obj
4171 if { { ac_try="$ac_compile"
4172 case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4175 esac
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_compile") 2>&5
4179 ac_status=$?
4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181 test $ac_status = 0; }; then :
4182 for ac_file in conftest.o conftest.obj conftest.*; do
4183 test -f "$ac_file" || continue;
4184 case $ac_file in
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4186 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4187 break;;
4188 esac
4189 done
4190 else
4191 $as_echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.$ac_ext >&5
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error $? "cannot compute suffix of object files: cannot compile
4197 See \`config.log' for more details" "$LINENO" 5; }
4199 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4202 $as_echo "$ac_cv_objext" >&6; }
4203 OBJEXT=$ac_cv_objext
4204 ac_objext=$OBJEXT
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4206 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4207 if ${ac_cv_c_compiler_gnu+:} false; then :
4208 $as_echo_n "(cached) " >&6
4209 else
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4216 #ifndef __GNUC__
4217 choke me
4218 #endif
4221 return 0;
4223 _ACEOF
4224 if ac_fn_c_try_compile "$LINENO"; then :
4225 ac_compiler_gnu=yes
4226 else
4227 ac_compiler_gnu=no
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4234 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4235 if test $ac_compiler_gnu = yes; then
4236 GCC=yes
4237 else
4238 GCC=
4240 ac_test_CFLAGS=${CFLAGS+set}
4241 ac_save_CFLAGS=$CFLAGS
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4243 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4244 if ${ac_cv_prog_cc_g+:} false; then :
4245 $as_echo_n "(cached) " >&6
4246 else
4247 ac_save_c_werror_flag=$ac_c_werror_flag
4248 ac_c_werror_flag=yes
4249 ac_cv_prog_cc_g=no
4250 CFLAGS="-g"
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_g=yes
4264 else
4265 CFLAGS=""
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4270 main ()
4274 return 0;
4276 _ACEOF
4277 if ac_fn_c_try_compile "$LINENO"; then :
4279 else
4280 ac_c_werror_flag=$ac_save_c_werror_flag
4281 CFLAGS="-g"
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4286 main ()
4290 return 0;
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294 ac_cv_prog_cc_g=yes
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 ac_c_werror_flag=$ac_save_c_werror_flag
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4304 $as_echo "$ac_cv_prog_cc_g" >&6; }
4305 if test "$ac_test_CFLAGS" = set; then
4306 CFLAGS=$ac_save_CFLAGS
4307 elif test $ac_cv_prog_cc_g = yes; then
4308 if test "$GCC" = yes; then
4309 CFLAGS="-g -O2"
4310 else
4311 CFLAGS="-g"
4313 else
4314 if test "$GCC" = yes; then
4315 CFLAGS="-O2"
4316 else
4317 CFLAGS=
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4321 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4322 if ${ac_cv_prog_cc_c89+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 ac_cv_prog_cc_c89=no
4326 ac_save_CC=$CC
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4329 #include <stdarg.h>
4330 #include <stdio.h>
4331 struct stat;
4332 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4333 struct buf { int x; };
4334 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4335 static char *e (p, i)
4336 char **p;
4337 int i;
4339 return p[i];
4341 static char *f (char * (*g) (char **, int), char **p, ...)
4343 char *s;
4344 va_list v;
4345 va_start (v,p);
4346 s = g (p, va_arg (v,int));
4347 va_end (v);
4348 return s;
4351 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4352 function prototypes and stuff, but not '\xHH' hex character constants.
4353 These don't provoke an error unfortunately, instead are silently treated
4354 as 'x'. The following induces an error, until -std is added to get
4355 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4356 array size at least. It's necessary to write '\x00'==0 to get something
4357 that's true only with -std. */
4358 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4360 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4361 inside strings and character constants. */
4362 #define FOO(x) 'x'
4363 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4365 int test (int i, double x);
4366 struct s1 {int (*f) (int a);};
4367 struct s2 {int (*f) (double a);};
4368 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4369 int argc;
4370 char **argv;
4372 main ()
4374 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4376 return 0;
4378 _ACEOF
4379 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4380 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4382 CC="$ac_save_CC $ac_arg"
4383 if ac_fn_c_try_compile "$LINENO"; then :
4384 ac_cv_prog_cc_c89=$ac_arg
4386 rm -f core conftest.err conftest.$ac_objext
4387 test "x$ac_cv_prog_cc_c89" != "xno" && break
4388 done
4389 rm -f conftest.$ac_ext
4390 CC=$ac_save_CC
4393 # AC_CACHE_VAL
4394 case "x$ac_cv_prog_cc_c89" in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4397 $as_echo "none needed" >&6; } ;;
4398 xno)
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4400 $as_echo "unsupported" >&6; } ;;
4402 CC="$CC $ac_cv_prog_cc_c89"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4404 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4405 esac
4406 if test "x$ac_cv_prog_cc_c89" != xno; then :
4410 ac_ext=c
4411 ac_cpp='$CPP $CPPFLAGS'
4412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4416 ac_ext=cpp
4417 ac_cpp='$CXXCPP $CPPFLAGS'
4418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4421 if test -z "$CXX"; then
4422 if test -n "$CCC"; then
4423 CXX=$CCC
4424 else
4425 if test -n "$ac_tool_prefix"; then
4426 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if ${ac_cv_prog_CXX+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 if test -n "$CXX"; then
4436 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 break 2
4449 done
4450 done
4451 IFS=$as_save_IFS
4455 CXX=$ac_cv_prog_CXX
4456 if test -n "$CXX"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4458 $as_echo "$CXX" >&6; }
4459 else
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4465 test -n "$CXX" && break
4466 done
4468 if test -z "$CXX"; then
4469 ac_ct_CXX=$CXX
4470 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4472 # Extract the first word of "$ac_prog", so it can be a program name with args.
4473 set dummy $ac_prog; ac_word=$2
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475 $as_echo_n "checking for $ac_word... " >&6; }
4476 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 if test -n "$ac_ct_CXX"; then
4480 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4481 else
4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 for as_dir in $PATH
4485 IFS=$as_save_IFS
4486 test -z "$as_dir" && as_dir=.
4487 for ac_exec_ext in '' $ac_executable_extensions; do
4488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4489 ac_cv_prog_ac_ct_CXX="$ac_prog"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4499 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4500 if test -n "$ac_ct_CXX"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4502 $as_echo "$ac_ct_CXX" >&6; }
4503 else
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 $as_echo "no" >&6; }
4509 test -n "$ac_ct_CXX" && break
4510 done
4512 if test "x$ac_ct_CXX" = x; then
4513 CXX="g++"
4514 else
4515 case $cross_compiling:$ac_tool_warned in
4516 yes:)
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4519 ac_tool_warned=yes ;;
4520 esac
4521 CXX=$ac_ct_CXX
4527 # Provide some information about the compiler.
4528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4529 set X $ac_compile
4530 ac_compiler=$2
4531 for ac_option in --version -v -V -qversion; do
4532 { { ac_try="$ac_compiler $ac_option >&5"
4533 case "(($ac_try" in
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4536 esac
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4540 ac_status=$?
4541 if test -s conftest.err; then
4542 sed '10a\
4543 ... rest of stderr output deleted ...
4544 10q' conftest.err >conftest.er1
4545 cat conftest.er1 >&5
4547 rm -f conftest.er1 conftest.err
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4549 test $ac_status = 0; }
4550 done
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4553 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4554 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4563 #ifndef __GNUC__
4564 choke me
4565 #endif
4568 return 0;
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4572 ac_compiler_gnu=yes
4573 else
4574 ac_compiler_gnu=no
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4581 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4582 if test $ac_compiler_gnu = yes; then
4583 GXX=yes
4584 else
4585 GXX=
4587 ac_test_CXXFLAGS=${CXXFLAGS+set}
4588 ac_save_CXXFLAGS=$CXXFLAGS
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4590 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4591 if ${ac_cv_prog_cxx_g+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4595 ac_cxx_werror_flag=yes
4596 ac_cv_prog_cxx_g=no
4597 CXXFLAGS="-g"
4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 /* end confdefs.h. */
4602 main ()
4606 return 0;
4608 _ACEOF
4609 if ac_fn_cxx_try_compile "$LINENO"; then :
4610 ac_cv_prog_cxx_g=yes
4611 else
4612 CXXFLAGS=""
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4617 main ()
4621 return 0;
4623 _ACEOF
4624 if ac_fn_cxx_try_compile "$LINENO"; then :
4626 else
4627 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4628 CXXFLAGS="-g"
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4633 main ()
4637 return 0;
4639 _ACEOF
4640 if ac_fn_cxx_try_compile "$LINENO"; then :
4641 ac_cv_prog_cxx_g=yes
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4651 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4652 if test "$ac_test_CXXFLAGS" = set; then
4653 CXXFLAGS=$ac_save_CXXFLAGS
4654 elif test $ac_cv_prog_cxx_g = yes; then
4655 if test "$GXX" = yes; then
4656 CXXFLAGS="-g -O2"
4657 else
4658 CXXFLAGS="-g"
4660 else
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-O2"
4663 else
4664 CXXFLAGS=
4667 ac_ext=c
4668 ac_cpp='$CPP $CPPFLAGS'
4669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4673 if test -n "$ac_tool_prefix"; then
4674 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4675 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 $as_echo_n "checking for $ac_word... " >&6; }
4678 if ${ac_cv_prog_CPPBIN+:} false; then :
4679 $as_echo_n "(cached) " >&6
4680 else
4681 if test -n "$CPPBIN"; then
4682 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4683 else
4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $PATH
4687 IFS=$as_save_IFS
4688 test -z "$as_dir" && as_dir=.
4689 for ac_exec_ext in '' $ac_executable_extensions; do
4690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 break 2
4695 done
4696 done
4697 IFS=$as_save_IFS
4701 CPPBIN=$ac_cv_prog_CPPBIN
4702 if test -n "$CPPBIN"; then
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4704 $as_echo "$CPPBIN" >&6; }
4705 else
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4707 $as_echo "no" >&6; }
4712 if test -z "$ac_cv_prog_CPPBIN"; then
4713 ac_ct_CPPBIN=$CPPBIN
4714 # Extract the first word of "cpp", so it can be a program name with args.
4715 set dummy cpp; ac_word=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 if test -n "$ac_ct_CPPBIN"; then
4722 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4723 else
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 for as_dir in $PATH
4727 IFS=$as_save_IFS
4728 test -z "$as_dir" && as_dir=.
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_ac_ct_CPPBIN="cpp"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 break 2
4735 done
4736 done
4737 IFS=$as_save_IFS
4741 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4742 if test -n "$ac_ct_CPPBIN"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4744 $as_echo "$ac_ct_CPPBIN" >&6; }
4745 else
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4750 if test "x$ac_ct_CPPBIN" = x; then
4751 CPPBIN="cpp"
4752 else
4753 case $cross_compiling:$ac_tool_warned in
4754 yes:)
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4757 ac_tool_warned=yes ;;
4758 esac
4759 CPPBIN=$ac_ct_CPPBIN
4761 else
4762 CPPBIN="$ac_cv_prog_CPPBIN"
4766 cat >>confdefs.h <<_ACEOF
4767 #define EXEEXT "$ac_exeext"
4768 _ACEOF
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4772 set dummy ${ac_tool_prefix}ld; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_LD+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 if test -n "$LD"; then
4779 ac_cv_prog_LD="$LD" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_LD="${ac_tool_prefix}ld"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4798 LD=$ac_cv_prog_LD
4799 if test -n "$LD"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4801 $as_echo "$LD" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4809 if test -z "$ac_cv_prog_LD"; then
4810 ac_ct_LD=$LD
4811 # Extract the first word of "ld", so it can be a program name with args.
4812 set dummy ld; ac_word=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 if test -n "$ac_ct_LD"; then
4819 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4820 else
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 for as_dir in $PATH
4824 IFS=$as_save_IFS
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4828 ac_cv_prog_ac_ct_LD="ld"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 break 2
4832 done
4833 done
4834 IFS=$as_save_IFS
4838 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4839 if test -n "$ac_ct_LD"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4841 $as_echo "$ac_ct_LD" >&6; }
4842 else
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4847 if test "x$ac_ct_LD" = x; then
4848 LD=""
4849 else
4850 case $cross_compiling:$ac_tool_warned in
4851 yes:)
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854 ac_tool_warned=yes ;;
4855 esac
4856 LD=$ac_ct_LD
4858 else
4859 LD="$ac_cv_prog_LD"
4863 case $host in
4864 *-darwin*)
4865 if test "x$enable_win64" = "xyes"
4866 then
4867 CC="$CC -m64"
4868 CXX="$CXX -m64"
4869 host_cpu="x86_64"
4870 notice_platform="64-bit "
4871 TARGETFLAGS="-m64"
4873 else
4874 CC="$CC -m32"
4875 CXX="$CXX -m32"
4876 host_cpu="i386"
4877 notice_platform="32-bit "
4878 TARGETFLAGS="-m32"
4880 enable_win16=${enable_win16:-yes}
4882 with_fontconfig=${with_fontconfig:-no}
4884 x86_64*|amd64*)
4885 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4886 then
4887 CC="$CC -m32"
4888 CXX="$CXX -m32"
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4890 $as_echo_n "checking whether $CC works... " >&6; }
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4896 main ()
4900 return 0;
4902 _ACEOF
4903 if ac_fn_c_try_link "$LINENO"; then :
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 $as_echo "yes" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4911 rm -f core conftest.err conftest.$ac_objext \
4912 conftest$ac_exeext conftest.$ac_ext
4913 host_cpu="i386"
4914 notice_platform="32-bit "
4915 TARGETFLAGS="-m32"
4917 enable_win16=${enable_win16:-yes}
4918 else
4919 if test "x${GCC}" = "xyes"
4920 then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4922 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924 /* end confdefs.h. */
4925 #include <stdarg.h>
4927 main ()
4929 void func(__builtin_ms_va_list *args);
4931 return 0;
4933 _ACEOF
4934 if ac_fn_c_try_compile "$LINENO"; then :
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4936 $as_echo "yes" >&6; }
4937 else
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4940 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 host_cpu="x86_64"
4945 TARGETFLAGS="-m64"
4949 arm*)
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4951 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4954 int ac_test(int i) { return i; }
4956 main ()
4958 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4960 return 0;
4962 _ACEOF
4963 if ac_fn_c_try_link "$LINENO"; then :
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4965 $as_echo "yes" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4969 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4971 rm -f core conftest.err conftest.$ac_objext \
4972 conftest$ac_exeext conftest.$ac_ext
4973 CFLAGS="$CFLAGS -marm"
4974 TARGETFLAGS="-marm"
4977 *-mingw32*|*-cygwin*)
4978 enable_win16=${enable_win16:-no}
4979 CFLAGS="$CFLAGS -D_WIN32"
4981 i[3456789]86*)
4982 enable_win16=${enable_win16:-yes}
4984 esac
4986 enable_win16=${enable_win16:-no}
4987 enable_win64=${enable_win64:-no}
4989 enable_winetest=${enable_winetest:-$enable_tests}
4991 if test -n "$with_wine64"
4992 then
4993 if test "x$enable_win64" = "xyes"
4994 then
4995 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4996 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4998 enable_fonts=${enable_fonts:-no}
4999 enable_server=${enable_server:-no}
5000 elif test "x$enable_win64" = "xyes"
5001 then
5002 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5006 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5007 if ${wine_cv_toolsdir+:} false; then :
5008 $as_echo_n "(cached) " >&6
5009 else
5010 wine_cv_toolsdir="$with_wine_tools"
5011 if test -z "$with_wine_tools"; then
5012 if test "$cross_compiling" = "yes"; then
5013 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5014 elif test -n "$with_wine64"; then
5015 wine_cv_toolsdir="$with_wine64"
5018 if test -z "$wine_cv_toolsdir"; then
5019 wine_makedep=tools/makedep
5020 wine_cv_toolsdir="\$(top_builddir)"
5021 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5022 wine_makedep=$wine_cv_toolsdir/tools/makedep
5023 case "$wine_cv_toolsdir" in
5024 /*) ;;
5025 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5026 esac
5027 enable_tools=${enable_tools:-no}
5028 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5029 else
5030 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5034 $as_echo "$wine_cv_toolsdir" >&6; }
5035 TOOLSDIR=$wine_cv_toolsdir
5037 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5038 then
5039 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5043 for ac_prog in flex
5045 # Extract the first word of "$ac_prog", so it can be a program name with args.
5046 set dummy $ac_prog; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_prog_FLEX+:} false; then :
5050 $as_echo_n "(cached) " >&6
5051 else
5052 if test -n "$FLEX"; then
5053 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5054 else
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 for as_dir in $PATH
5058 IFS=$as_save_IFS
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5062 ac_cv_prog_FLEX="$ac_prog"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 break 2
5066 done
5067 done
5068 IFS=$as_save_IFS
5072 FLEX=$ac_cv_prog_FLEX
5073 if test -n "$FLEX"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5075 $as_echo "$FLEX" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 test -n "$FLEX" && break
5083 done
5084 test -n "$FLEX" || FLEX="none"
5086 if test "$FLEX" = "none"
5087 then
5088 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5091 $as_echo_n "checking whether flex is recent enough... " >&6; }
5092 cat >conftest.l <<EOF
5093 %top{
5094 #include "prediluvian.h"
5098 if $FLEX -t conftest.l >/dev/null 2>&5
5099 then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5101 $as_echo "yes" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5105 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5108 for ac_prog in bison
5110 # Extract the first word of "$ac_prog", so it can be a program name with args.
5111 set dummy $ac_prog; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_BISON+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$BISON"; then
5118 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_BISON="$ac_prog"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 BISON=$ac_cv_prog_BISON
5138 if test -n "$BISON"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5140 $as_echo "$BISON" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5147 test -n "$BISON" && break
5148 done
5149 test -n "$BISON" || BISON="none"
5151 if test "$BISON" = "none"
5152 then
5153 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5156 if test -n "$ac_tool_prefix"; then
5157 for ac_prog in ar gar
5159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5160 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_AR+:} false; then :
5164 $as_echo_n "(cached) " >&6
5165 else
5166 if test -n "$AR"; then
5167 ac_cv_prog_AR="$AR" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5180 done
5181 done
5182 IFS=$as_save_IFS
5186 AR=$ac_cv_prog_AR
5187 if test -n "$AR"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5189 $as_echo "$AR" >&6; }
5190 else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5196 test -n "$AR" && break
5197 done
5199 if test -z "$AR"; then
5200 ac_ct_AR=$AR
5201 for ac_prog in ar gar
5203 # Extract the first word of "$ac_prog", so it can be a program name with args.
5204 set dummy $ac_prog; ac_word=$2
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5206 $as_echo_n "checking for $ac_word... " >&6; }
5207 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 if test -n "$ac_ct_AR"; then
5211 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_ac_ct_AR="$ac_prog"
5221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5226 IFS=$as_save_IFS
5230 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5231 if test -n "$ac_ct_AR"; then
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5233 $as_echo "$ac_ct_AR" >&6; }
5234 else
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5236 $as_echo "no" >&6; }
5240 test -n "$ac_ct_AR" && break
5241 done
5243 if test "x$ac_ct_AR" = x; then
5244 AR="ar"
5245 else
5246 case $cross_compiling:$ac_tool_warned in
5247 yes:)
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5250 ac_tool_warned=yes ;;
5251 esac
5252 AR=$ac_ct_AR
5256 if test -n "$ac_tool_prefix"; then
5257 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5258 set dummy ${ac_tool_prefix}strip; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_STRIP+:} false; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 if test -n "$STRIP"; then
5265 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5266 else
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 for as_dir in $PATH
5270 IFS=$as_save_IFS
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 break 2
5278 done
5279 done
5280 IFS=$as_save_IFS
5284 STRIP=$ac_cv_prog_STRIP
5285 if test -n "$STRIP"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5287 $as_echo "$STRIP" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5295 if test -z "$ac_cv_prog_STRIP"; then
5296 ac_ct_STRIP=$STRIP
5297 # Extract the first word of "strip", so it can be a program name with args.
5298 set dummy strip; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if test -n "$ac_ct_STRIP"; then
5305 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_STRIP="strip"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5325 if test -n "$ac_ct_STRIP"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5327 $as_echo "$ac_ct_STRIP" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5333 if test "x$ac_ct_STRIP" = x; then
5334 STRIP="strip"
5335 else
5336 case $cross_compiling:$ac_tool_warned in
5337 yes:)
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5340 ac_tool_warned=yes ;;
5341 esac
5342 STRIP=$ac_ct_STRIP
5344 else
5345 STRIP="$ac_cv_prog_STRIP"
5348 ARFLAGS=rc
5350 if test -n "$ac_tool_prefix"; then
5351 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5352 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_RANLIB+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$RANLIB"; then
5359 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 RANLIB=$ac_cv_prog_RANLIB
5379 if test -n "$RANLIB"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5381 $as_echo "$RANLIB" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5389 if test -z "$ac_cv_prog_RANLIB"; then
5390 ac_ct_RANLIB=$RANLIB
5391 # Extract the first word of "ranlib", so it can be a program name with args.
5392 set dummy ranlib; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$ac_ct_RANLIB"; then
5399 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_ac_ct_RANLIB="ranlib"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5419 if test -n "$ac_ct_RANLIB"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5421 $as_echo "$ac_ct_RANLIB" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5427 if test "x$ac_ct_RANLIB" = x; then
5428 RANLIB=":"
5429 else
5430 case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5434 ac_tool_warned=yes ;;
5435 esac
5436 RANLIB=$ac_ct_RANLIB
5438 else
5439 RANLIB="$ac_cv_prog_RANLIB"
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5443 $as_echo_n "checking whether ln -s works... " >&6; }
5444 LN_S=$as_ln_s
5445 if test "$LN_S" = "ln -s"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5447 $as_echo "yes" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5450 $as_echo "no, using $LN_S" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5454 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5455 if ${ac_cv_path_GREP+:} false; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if test -z "$GREP"; then
5459 ac_path_GREP_found=false
5460 # Loop through the user's path and test for each of PROGNAME-LIST
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_prog in grep ggrep; do
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5469 as_fn_executable_p "$ac_path_GREP" || continue
5470 # Check for GNU ac_path_GREP and select it if it is found.
5471 # Check for GNU $ac_path_GREP
5472 case `"$ac_path_GREP" --version 2>&1` in
5473 *GNU*)
5474 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5476 ac_count=0
5477 $as_echo_n 0123456789 >"conftest.in"
5478 while :
5480 cat "conftest.in" "conftest.in" >"conftest.tmp"
5481 mv "conftest.tmp" "conftest.in"
5482 cp "conftest.in" "conftest.nl"
5483 $as_echo 'GREP' >> "conftest.nl"
5484 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5486 as_fn_arith $ac_count + 1 && ac_count=$as_val
5487 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5488 # Best one so far, save it but keep looking for a better one
5489 ac_cv_path_GREP="$ac_path_GREP"
5490 ac_path_GREP_max=$ac_count
5492 # 10*(2^10) chars as input seems more than enough
5493 test $ac_count -gt 10 && break
5494 done
5495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5496 esac
5498 $ac_path_GREP_found && break 3
5499 done
5500 done
5501 done
5502 IFS=$as_save_IFS
5503 if test -z "$ac_cv_path_GREP"; then
5504 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 else
5507 ac_cv_path_GREP=$GREP
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5512 $as_echo "$ac_cv_path_GREP" >&6; }
5513 GREP="$ac_cv_path_GREP"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5517 $as_echo_n "checking for egrep... " >&6; }
5518 if ${ac_cv_path_EGREP+:} false; then :
5519 $as_echo_n "(cached) " >&6
5520 else
5521 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5522 then ac_cv_path_EGREP="$GREP -E"
5523 else
5524 if test -z "$EGREP"; then
5525 ac_path_EGREP_found=false
5526 # Loop through the user's path and test for each of PROGNAME-LIST
5527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5530 IFS=$as_save_IFS
5531 test -z "$as_dir" && as_dir=.
5532 for ac_prog in egrep; do
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5535 as_fn_executable_p "$ac_path_EGREP" || continue
5536 # Check for GNU ac_path_EGREP and select it if it is found.
5537 # Check for GNU $ac_path_EGREP
5538 case `"$ac_path_EGREP" --version 2>&1` in
5539 *GNU*)
5540 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5542 ac_count=0
5543 $as_echo_n 0123456789 >"conftest.in"
5544 while :
5546 cat "conftest.in" "conftest.in" >"conftest.tmp"
5547 mv "conftest.tmp" "conftest.in"
5548 cp "conftest.in" "conftest.nl"
5549 $as_echo 'EGREP' >> "conftest.nl"
5550 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5551 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5552 as_fn_arith $ac_count + 1 && ac_count=$as_val
5553 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5554 # Best one so far, save it but keep looking for a better one
5555 ac_cv_path_EGREP="$ac_path_EGREP"
5556 ac_path_EGREP_max=$ac_count
5558 # 10*(2^10) chars as input seems more than enough
5559 test $ac_count -gt 10 && break
5560 done
5561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5562 esac
5564 $ac_path_EGREP_found && break 3
5565 done
5566 done
5567 done
5568 IFS=$as_save_IFS
5569 if test -z "$ac_cv_path_EGREP"; then
5570 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5572 else
5573 ac_cv_path_EGREP=$EGREP
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5579 $as_echo "$ac_cv_path_EGREP" >&6; }
5580 EGREP="$ac_cv_path_EGREP"
5583 # Extract the first word of "ldconfig", so it can be a program name with args.
5584 set dummy ldconfig; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_path_LDCONFIG+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 case $LDCONFIG in
5591 [\\/]* | ?:[\\/]*)
5592 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 for as_dir in /sbin /usr/sbin $PATH
5598 IFS=$as_save_IFS
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5602 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 break 2
5606 done
5607 done
5608 IFS=$as_save_IFS
5610 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5612 esac
5614 LDCONFIG=$ac_cv_path_LDCONFIG
5615 if test -n "$LDCONFIG"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5617 $as_echo "$LDCONFIG" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5624 for ac_prog in msgfmt
5626 # Extract the first word of "$ac_prog", so it can be a program name with args.
5627 set dummy $ac_prog; ac_word=$2
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5629 $as_echo_n "checking for $ac_word... " >&6; }
5630 if ${ac_cv_prog_MSGFMT+:} false; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 if test -n "$MSGFMT"; then
5634 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5635 else
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 for as_dir in $PATH
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5643 ac_cv_prog_MSGFMT="$ac_prog"
5644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 break 2
5647 done
5648 done
5649 IFS=$as_save_IFS
5653 MSGFMT=$ac_cv_prog_MSGFMT
5654 if test -n "$MSGFMT"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5656 $as_echo "$MSGFMT" >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5663 test -n "$MSGFMT" && break
5664 done
5665 test -n "$MSGFMT" || MSGFMT="false"
5667 if ${ac_tool_prefix+:} false; then :
5668 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5669 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 if test -n "$PKG_CONFIG"; then
5676 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5677 else
5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 for as_dir in $PATH
5681 IFS=$as_save_IFS
5682 test -z "$as_dir" && as_dir=.
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5695 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5696 if test -n "$PKG_CONFIG"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5698 $as_echo "$PKG_CONFIG" >&6; }
5699 else
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5706 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5707 if test "x$cross_compiling" = xyes; then :
5709 else
5710 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5711 # Extract the first word of "pkg-config", so it can be a program name with args.
5712 set dummy pkg-config; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 if test -n "$PKG_CONFIG"; then
5719 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728 ac_cv_prog_PKG_CONFIG="pkg-config"
5729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 break 2
5732 done
5733 done
5734 IFS=$as_save_IFS
5738 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5739 if test -n "$PKG_CONFIG"; then
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5741 $as_echo "$PKG_CONFIG" >&6; }
5742 else
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5749 else
5750 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5753 if test "x$enable_maintainer_mode" != "xyes"
5754 then
5755 FONTFORGE=""
5756 RSVG=""
5757 CONVERT=""
5758 ICOTOOL=""
5759 else
5760 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5761 for ac_prog in fontforge
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_FONTFORGE+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$FONTFORGE"; then
5771 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_FONTFORGE="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 FONTFORGE=$ac_cv_prog_FONTFORGE
5791 if test -n "$FONTFORGE"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5793 $as_echo "$FONTFORGE" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$FONTFORGE" && break
5801 done
5802 test -n "$FONTFORGE" || FONTFORGE="false"
5804 for ac_prog in rsvg-convert rsvg
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_RSVG+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$RSVG"; then
5814 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_RSVG="$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 RSVG=$ac_cv_prog_RSVG
5834 if test -n "$RSVG"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5836 $as_echo "$RSVG" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$RSVG" && break
5844 done
5845 test -n "$RSVG" || RSVG="false"
5847 for ac_prog in convert
5849 # Extract the first word of "$ac_prog", so it can be a program name with args.
5850 set dummy $ac_prog; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if ${ac_cv_prog_CONVERT+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 if test -n "$CONVERT"; then
5857 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5858 else
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 for as_dir in $PATH
5862 IFS=$as_save_IFS
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_CONVERT="$ac_prog"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 break 2
5870 done
5871 done
5872 IFS=$as_save_IFS
5876 CONVERT=$ac_cv_prog_CONVERT
5877 if test -n "$CONVERT"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5879 $as_echo "$CONVERT" >&6; }
5880 else
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5886 test -n "$CONVERT" && break
5887 done
5888 test -n "$CONVERT" || CONVERT="false"
5890 for ac_prog in icotool
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_ICOTOOL+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$ICOTOOL"; then
5900 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_ICOTOOL="$ac_prog"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 ICOTOOL=$ac_cv_prog_ICOTOOL
5920 if test -n "$ICOTOOL"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5922 $as_echo "$ICOTOOL" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5929 test -n "$ICOTOOL" && break
5930 done
5931 test -n "$ICOTOOL" || ICOTOOL="false"
5933 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5934 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5936 if test "$CONVERT" = false
5937 then
5938 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5939 else
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5941 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5942 convert_version=`convert --version | head -n1`
5943 if test "x$convert_version" != "x"
5944 then
5945 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5946 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5947 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5948 then
5949 CONVERT=false
5952 if test "$CONVERT" = false
5953 then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5955 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5956 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5959 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5963 if test "$ICOTOOL" = false
5964 then
5965 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5968 $as_echo_n "checking for recent enough icotool... " >&6; }
5969 icotool_version=`icotool --version | head -n1`
5970 if test "x$icotool_version" != "x"
5971 then
5972 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5973 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5974 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5975 then
5976 ICOTOOL=false
5977 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5980 if test "$ICOTOOL" = false
5981 then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5983 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5984 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5987 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5991 with_gettext=yes
5992 with_gettextpo=yes
5993 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5996 test "x$with_gettext" != xno || MSGFMT=false
5997 if test "$MSGFMT" != "false"
5998 then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6000 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6001 cat >conftest.po <<EOF
6002 # comment
6003 msgctxt "ctxt"
6004 msgid "id"
6005 msgstr "str"
6007 if $MSGFMT -o /dev/null conftest.po 2>&5
6008 then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6010 $as_echo "yes" >&6; }
6011 else
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6014 MSGFMT=false
6017 if test "$MSGFMT" = false; then :
6018 case "x$with_gettext" in
6019 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6020 xno) ;;
6021 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6022 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6023 esac
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6028 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6029 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6030 $as_echo_n "(cached) " >&6
6031 else
6032 ac_check_lib_save_LIBS=$LIBS
6033 LIBS="-li386 $LIBS"
6034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6037 /* Override any GCC internal prototype to avoid an error.
6038 Use char because int might match the return type of a GCC
6039 builtin and then its argument prototype would still apply. */
6040 #ifdef __cplusplus
6041 extern "C"
6042 #endif
6043 char i386_set_ldt ();
6045 main ()
6047 return i386_set_ldt ();
6049 return 0;
6051 _ACEOF
6052 if ac_fn_c_try_link "$LINENO"; then :
6053 ac_cv_lib_i386_i386_set_ldt=yes
6054 else
6055 ac_cv_lib_i386_i386_set_ldt=no
6057 rm -f core conftest.err conftest.$ac_objext \
6058 conftest$ac_exeext conftest.$ac_ext
6059 LIBS=$ac_check_lib_save_LIBS
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6062 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6063 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6064 cat >>confdefs.h <<_ACEOF
6065 #define HAVE_LIBI386 1
6066 _ACEOF
6068 LIBS="-li386 $LIBS"
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6073 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6074 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 ac_check_lib_save_LIBS=$LIBS
6078 LIBS="-lossaudio $LIBS"
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6082 /* Override any GCC internal prototype to avoid an error.
6083 Use char because int might match the return type of a GCC
6084 builtin and then its argument prototype would still apply. */
6085 #ifdef __cplusplus
6086 extern "C"
6087 #endif
6088 char _oss_ioctl ();
6090 main ()
6092 return _oss_ioctl ();
6094 return 0;
6096 _ACEOF
6097 if ac_fn_c_try_link "$LINENO"; then :
6098 ac_cv_lib_ossaudio__oss_ioctl=yes
6099 else
6100 ac_cv_lib_ossaudio__oss_ioctl=no
6102 rm -f core conftest.err conftest.$ac_objext \
6103 conftest$ac_exeext conftest.$ac_ext
6104 LIBS=$ac_check_lib_save_LIBS
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6107 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6108 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6109 cat >>confdefs.h <<_ACEOF
6110 #define HAVE_LIBOSSAUDIO 1
6111 _ACEOF
6113 LIBS="-lossaudio $LIBS"
6118 OPENGL_LIBS=""
6122 # Check whether --enable-largefile was given.
6123 if test "${enable_largefile+set}" = set; then :
6124 enableval=$enable_largefile;
6127 if test "$enable_largefile" != no; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6130 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6131 if ${ac_cv_sys_largefile_CC+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 ac_cv_sys_largefile_CC=no
6135 if test "$GCC" != yes; then
6136 ac_save_CC=$CC
6137 while :; do
6138 # IRIX 6.2 and later do not support large files by default,
6139 # so use the C compiler's -n32 option if that helps.
6140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141 /* end confdefs.h. */
6142 #include <sys/types.h>
6143 /* Check that off_t can represent 2**63 - 1 correctly.
6144 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6145 since some C++ compilers masquerading as C compilers
6146 incorrectly reject 9223372036854775807. */
6147 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6148 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6149 && LARGE_OFF_T % 2147483647 == 1)
6150 ? 1 : -1];
6152 main ()
6156 return 0;
6158 _ACEOF
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 break
6162 rm -f core conftest.err conftest.$ac_objext
6163 CC="$CC -n32"
6164 if ac_fn_c_try_compile "$LINENO"; then :
6165 ac_cv_sys_largefile_CC=' -n32'; break
6167 rm -f core conftest.err conftest.$ac_objext
6168 break
6169 done
6170 CC=$ac_save_CC
6171 rm -f conftest.$ac_ext
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6175 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6176 if test "$ac_cv_sys_largefile_CC" != no; then
6177 CC=$CC$ac_cv_sys_largefile_CC
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6181 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6182 if ${ac_cv_sys_file_offset_bits+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 while :; do
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #include <sys/types.h>
6189 /* Check that off_t can represent 2**63 - 1 correctly.
6190 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6191 since some C++ compilers masquerading as C compilers
6192 incorrectly reject 9223372036854775807. */
6193 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6194 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6195 && LARGE_OFF_T % 2147483647 == 1)
6196 ? 1 : -1];
6198 main ()
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_compile "$LINENO"; then :
6206 ac_cv_sys_file_offset_bits=no; break
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6211 #define _FILE_OFFSET_BITS 64
6212 #include <sys/types.h>
6213 /* Check that off_t can represent 2**63 - 1 correctly.
6214 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6215 since some C++ compilers masquerading as C compilers
6216 incorrectly reject 9223372036854775807. */
6217 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6218 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6219 && LARGE_OFF_T % 2147483647 == 1)
6220 ? 1 : -1];
6222 main ()
6226 return 0;
6228 _ACEOF
6229 if ac_fn_c_try_compile "$LINENO"; then :
6230 ac_cv_sys_file_offset_bits=64; break
6232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6233 ac_cv_sys_file_offset_bits=unknown
6234 break
6235 done
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6238 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6239 case $ac_cv_sys_file_offset_bits in #(
6240 no | unknown) ;;
6242 cat >>confdefs.h <<_ACEOF
6243 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6244 _ACEOF
6246 esac
6247 rm -rf conftest*
6248 if test $ac_cv_sys_file_offset_bits = unknown; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6250 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6251 if ${ac_cv_sys_large_files+:} false; then :
6252 $as_echo_n "(cached) " >&6
6253 else
6254 while :; do
6255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #include <sys/types.h>
6258 /* Check that off_t can represent 2**63 - 1 correctly.
6259 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6260 since some C++ compilers masquerading as C compilers
6261 incorrectly reject 9223372036854775807. */
6262 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6263 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6264 && LARGE_OFF_T % 2147483647 == 1)
6265 ? 1 : -1];
6267 main ()
6271 return 0;
6273 _ACEOF
6274 if ac_fn_c_try_compile "$LINENO"; then :
6275 ac_cv_sys_large_files=no; break
6277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #define _LARGE_FILES 1
6281 #include <sys/types.h>
6282 /* Check that off_t can represent 2**63 - 1 correctly.
6283 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6284 since some C++ compilers masquerading as C compilers
6285 incorrectly reject 9223372036854775807. */
6286 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6287 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6288 && LARGE_OFF_T % 2147483647 == 1)
6289 ? 1 : -1];
6291 main ()
6295 return 0;
6297 _ACEOF
6298 if ac_fn_c_try_compile "$LINENO"; then :
6299 ac_cv_sys_large_files=1; break
6301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6302 ac_cv_sys_large_files=unknown
6303 break
6304 done
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6307 $as_echo "$ac_cv_sys_large_files" >&6; }
6308 case $ac_cv_sys_large_files in #(
6309 no | unknown) ;;
6311 cat >>confdefs.h <<_ACEOF
6312 #define _LARGE_FILES $ac_cv_sys_large_files
6313 _ACEOF
6315 esac
6316 rm -rf conftest*
6323 ac_ext=c
6324 ac_cpp='$CPP $CPPFLAGS'
6325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6329 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6330 # On Suns, sometimes $CPP names a directory.
6331 if test -n "$CPP" && test -d "$CPP"; then
6332 CPP=
6334 if test -z "$CPP"; then
6335 if ${ac_cv_prog_CPP+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 # Double quotes because CPP needs to be expanded
6339 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6341 ac_preproc_ok=false
6342 for ac_c_preproc_warn_flag in '' yes
6344 # Use a header file that comes with gcc, so configuring glibc
6345 # with a fresh cross-compiler works.
6346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6347 # <limits.h> exists even on freestanding compilers.
6348 # On the NeXT, cc -E runs the code through the compiler's parser,
6349 # not just through cpp. "Syntax error" is here to catch this case.
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #ifdef __STDC__
6353 # include <limits.h>
6354 #else
6355 # include <assert.h>
6356 #endif
6357 Syntax error
6358 _ACEOF
6359 if ac_fn_c_try_cpp "$LINENO"; then :
6361 else
6362 # Broken: fails on valid input.
6363 continue
6365 rm -f conftest.err conftest.i conftest.$ac_ext
6367 # OK, works on sane cases. Now check whether nonexistent headers
6368 # can be detected and how.
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6371 #include <ac_nonexistent.h>
6372 _ACEOF
6373 if ac_fn_c_try_cpp "$LINENO"; then :
6374 # Broken: success on invalid input.
6375 continue
6376 else
6377 # Passes both tests.
6378 ac_preproc_ok=:
6379 break
6381 rm -f conftest.err conftest.i conftest.$ac_ext
6383 done
6384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6385 rm -f conftest.i conftest.err conftest.$ac_ext
6386 if $ac_preproc_ok; then :
6387 break
6390 done
6391 ac_cv_prog_CPP=$CPP
6394 CPP=$ac_cv_prog_CPP
6395 else
6396 ac_cv_prog_CPP=$CPP
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6399 $as_echo "$CPP" >&6; }
6400 ac_preproc_ok=false
6401 for ac_c_preproc_warn_flag in '' yes
6403 # Use a header file that comes with gcc, so configuring glibc
6404 # with a fresh cross-compiler works.
6405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6406 # <limits.h> exists even on freestanding compilers.
6407 # On the NeXT, cc -E runs the code through the compiler's parser,
6408 # not just through cpp. "Syntax error" is here to catch this case.
6409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6410 /* end confdefs.h. */
6411 #ifdef __STDC__
6412 # include <limits.h>
6413 #else
6414 # include <assert.h>
6415 #endif
6416 Syntax error
6417 _ACEOF
6418 if ac_fn_c_try_cpp "$LINENO"; then :
6420 else
6421 # Broken: fails on valid input.
6422 continue
6424 rm -f conftest.err conftest.i conftest.$ac_ext
6426 # OK, works on sane cases. Now check whether nonexistent headers
6427 # can be detected and how.
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #include <ac_nonexistent.h>
6431 _ACEOF
6432 if ac_fn_c_try_cpp "$LINENO"; then :
6433 # Broken: success on invalid input.
6434 continue
6435 else
6436 # Passes both tests.
6437 ac_preproc_ok=:
6438 break
6440 rm -f conftest.err conftest.i conftest.$ac_ext
6442 done
6443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6444 rm -f conftest.i conftest.err conftest.$ac_ext
6445 if $ac_preproc_ok; then :
6447 else
6448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6450 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6451 See \`config.log' for more details" "$LINENO" 5; }
6454 ac_ext=c
6455 ac_cpp='$CPP $CPPFLAGS'
6456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6462 $as_echo_n "checking for ANSI C header files... " >&6; }
6463 if ${ac_cv_header_stdc+:} false; then :
6464 $as_echo_n "(cached) " >&6
6465 else
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #include <stdlib.h>
6469 #include <stdarg.h>
6470 #include <string.h>
6471 #include <float.h>
6474 main ()
6478 return 0;
6480 _ACEOF
6481 if ac_fn_c_try_compile "$LINENO"; then :
6482 ac_cv_header_stdc=yes
6483 else
6484 ac_cv_header_stdc=no
6486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6488 if test $ac_cv_header_stdc = yes; then
6489 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6491 /* end confdefs.h. */
6492 #include <string.h>
6494 _ACEOF
6495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6496 $EGREP "memchr" >/dev/null 2>&1; then :
6498 else
6499 ac_cv_header_stdc=no
6501 rm -f conftest*
6505 if test $ac_cv_header_stdc = yes; then
6506 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <stdlib.h>
6511 _ACEOF
6512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6513 $EGREP "free" >/dev/null 2>&1; then :
6515 else
6516 ac_cv_header_stdc=no
6518 rm -f conftest*
6522 if test $ac_cv_header_stdc = yes; then
6523 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6524 if test "$cross_compiling" = yes; then :
6526 else
6527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 /* end confdefs.h. */
6529 #include <ctype.h>
6530 #include <stdlib.h>
6531 #if ((' ' & 0x0FF) == 0x020)
6532 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6533 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6534 #else
6535 # define ISLOWER(c) \
6536 (('a' <= (c) && (c) <= 'i') \
6537 || ('j' <= (c) && (c) <= 'r') \
6538 || ('s' <= (c) && (c) <= 'z'))
6539 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6540 #endif
6542 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6544 main ()
6546 int i;
6547 for (i = 0; i < 256; i++)
6548 if (XOR (islower (i), ISLOWER (i))
6549 || toupper (i) != TOUPPER (i))
6550 return 2;
6551 return 0;
6553 _ACEOF
6554 if ac_fn_c_try_run "$LINENO"; then :
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6560 conftest.$ac_objext conftest.beam conftest.$ac_ext
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6566 $as_echo "$ac_cv_header_stdc" >&6; }
6567 if test $ac_cv_header_stdc = yes; then
6569 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6573 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6574 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6575 inttypes.h stdint.h unistd.h
6576 do :
6577 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6578 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6580 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6581 cat >>confdefs.h <<_ACEOF
6582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6583 _ACEOF
6587 done
6590 for ac_header in \
6591 AL/al.h \
6592 ApplicationServices/ApplicationServices.h \
6593 AudioToolbox/AudioConverter.h \
6594 AudioUnit/AudioUnit.h \
6595 AudioUnit/AudioComponent.h \
6596 CL/cl.h \
6597 Carbon/Carbon.h \
6598 CoreAudio/CoreAudio.h \
6599 CoreServices/CoreServices.h \
6600 DiskArbitration/DiskArbitration.h \
6601 IOKit/IOKitLib.h \
6602 IOKit/hid/IOHIDLib.h \
6603 OpenAL/al.h \
6604 OpenCL/opencl.h \
6605 QuickTime/ImageCompression.h \
6606 Security/Security.h \
6607 alias.h \
6608 alsa/asoundlib.h \
6609 arpa/inet.h \
6610 arpa/nameser.h \
6611 asm/types.h \
6612 asm/user.h \
6613 curses.h \
6614 direct.h \
6615 dirent.h \
6616 dlfcn.h \
6617 elf.h \
6618 float.h \
6619 fnmatch.h \
6620 getopt.h \
6621 gettext-po.h \
6622 grp.h \
6623 gsm.h \
6624 gsm/gsm.h \
6625 ieeefp.h \
6626 inet/mib2.h \
6627 io.h \
6628 kstat.h \
6629 lber.h \
6630 ldap.h \
6631 libproc.h \
6632 link.h \
6633 linux/cdrom.h \
6634 linux/compiler.h \
6635 linux/filter.h \
6636 linux/hdreg.h \
6637 linux/input.h \
6638 linux/ioctl.h \
6639 linux/joystick.h \
6640 linux/major.h \
6641 linux/param.h \
6642 linux/serial.h \
6643 linux/types.h \
6644 linux/ucdrom.h \
6645 lwp.h \
6646 mach-o/nlist.h \
6647 mach-o/loader.h \
6648 mach/mach.h \
6649 mach/machine.h \
6650 machine/cpu.h \
6651 machine/limits.h \
6652 machine/sysarch.h \
6653 mntent.h \
6654 ncurses.h \
6655 netdb.h \
6656 netinet/in.h \
6657 netinet/in_systm.h \
6658 netinet/tcp.h \
6659 netinet/tcp_fsm.h \
6660 pcap/pcap.h \
6661 poll.h \
6662 port.h \
6663 process.h \
6664 pthread.h \
6665 pwd.h \
6666 sched.h \
6667 scsi/scsi.h \
6668 scsi/scsi_ioctl.h \
6669 scsi/sg.h \
6670 stdbool.h \
6671 stdint.h \
6672 stropts.h \
6673 sys/asoundlib.h \
6674 sys/attr.h \
6675 sys/cdio.h \
6676 sys/elf32.h \
6677 sys/epoll.h \
6678 sys/event.h \
6679 sys/exec_elf.h \
6680 sys/filio.h \
6681 sys/inotify.h \
6682 sys/ioctl.h \
6683 sys/ipc.h \
6684 sys/limits.h \
6685 sys/link.h \
6686 sys/mman.h \
6687 sys/modem.h \
6688 sys/msg.h \
6689 sys/mtio.h \
6690 sys/param.h \
6691 sys/poll.h \
6692 sys/prctl.h \
6693 sys/protosw.h \
6694 sys/ptrace.h \
6695 sys/queue.h \
6696 sys/resource.h \
6697 sys/scsiio.h \
6698 sys/shm.h \
6699 sys/signal.h \
6700 sys/socket.h \
6701 sys/socketvar.h \
6702 sys/sockio.h \
6703 sys/statvfs.h \
6704 sys/strtio.h \
6705 sys/syscall.h \
6706 sys/tihdr.h \
6707 sys/time.h \
6708 sys/timeout.h \
6709 sys/times.h \
6710 sys/uio.h \
6711 sys/user.h \
6712 sys/utsname.h \
6713 sys/vm86.h \
6714 sys/vnode.h \
6715 sys/wait.h \
6716 syscall.h \
6717 termios.h \
6718 unistd.h \
6719 utime.h \
6720 valgrind/memcheck.h \
6721 valgrind/valgrind.h \
6722 zlib.h
6724 do :
6725 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6726 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6728 cat >>confdefs.h <<_ACEOF
6729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 _ACEOF
6734 done
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6737 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6738 if ${ac_cv_header_stat_broken+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <sys/types.h>
6744 #include <sys/stat.h>
6746 #if defined S_ISBLK && defined S_IFDIR
6747 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6748 #endif
6750 #if defined S_ISBLK && defined S_IFCHR
6751 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6752 #endif
6754 #if defined S_ISLNK && defined S_IFREG
6755 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6756 #endif
6758 #if defined S_ISSOCK && defined S_IFREG
6759 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6760 #endif
6762 _ACEOF
6763 if ac_fn_c_try_compile "$LINENO"; then :
6764 ac_cv_header_stat_broken=no
6765 else
6766 ac_cv_header_stat_broken=yes
6768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6771 $as_echo "$ac_cv_header_stat_broken" >&6; }
6772 if test $ac_cv_header_stat_broken = yes; then
6774 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6780 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6781 do :
6782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6784 #ifdef HAVE_SYS_PARAM_H
6785 # include <sys/param.h>
6786 #endif
6788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6789 cat >>confdefs.h <<_ACEOF
6790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6791 _ACEOF
6795 done
6798 for ac_header in \
6799 netinet/ip.h \
6800 net/if.h \
6801 net/if_arp.h \
6802 net/if_dl.h \
6803 net/if_types.h \
6804 net/route.h \
6805 netinet/if_ether.h \
6806 netinet/if_inarp.h \
6807 netinet/in_pcb.h \
6808 netinet/ip_icmp.h \
6809 netinet/ip_var.h \
6810 netinet/udp.h \
6811 netipx/ipx.h \
6812 sys/un.h \
6814 do :
6815 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6816 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6817 #ifdef HAVE_SYS_SOCKET_H
6818 # include <sys/socket.h>
6819 #endif
6820 #ifdef HAVE_SYS_SOCKETVAR_H
6821 # include <sys/socketvar.h>
6822 #endif
6823 #ifdef HAVE_NET_ROUTE_H
6824 # include <net/route.h>
6825 #endif
6826 #ifdef HAVE_NETINET_IN_H
6827 # include <netinet/in.h>
6828 #endif
6829 #ifdef HAVE_NETINET_IN_SYSTM_H
6830 # include <netinet/in_systm.h>
6831 #endif
6832 #ifdef HAVE_NET_IF_H
6833 # include <net/if.h>
6834 #endif
6835 #ifdef HAVE_NETINET_IP_H
6836 # include <netinet/ip.h>
6837 #endif
6839 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6842 _ACEOF
6846 done
6849 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6850 do :
6851 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6852 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6853 #ifdef HAVE_ALIAS_H
6854 # include <alias.h>
6855 #endif
6856 #ifdef HAVE_SYS_SOCKET_H
6857 # include <sys/socket.h>
6858 #endif
6859 #ifdef HAVE_SYS_SOCKETVAR_H
6860 # include <sys/socketvar.h>
6861 #endif
6862 #ifdef HAVE_SYS_TIMEOUT_H
6863 # include <sys/timeout.h>
6864 #endif
6865 #ifdef HAVE_NETINET_IN_H
6866 # include <netinet/in.h>
6867 #endif
6868 #ifdef HAVE_NETINET_IN_SYSTM_H
6869 # include <netinet/in_systm.h>
6870 #endif
6871 #ifdef HAVE_NETINET_IP_H
6872 # include <netinet/ip.h>
6873 #endif
6874 #ifdef HAVE_NETINET_IP_VAR_H
6875 # include <netinet/ip_var.h>
6876 #endif
6877 #ifdef HAVE_NETINET_IP_ICMP_H
6878 # include <netinet/ip_icmp.h>
6879 #endif
6880 #ifdef HAVE_NETINET_UDP_H
6881 # include <netinet/udp.h>
6882 #endif
6883 #ifdef HAVE_NETINET_TCP_H
6884 # include <netinet/tcp.h>
6885 #endif
6886 #ifdef HAVE_NETINET_TCP_TIMER_H
6887 #include <netinet/tcp_timer.h>
6888 #endif
6890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6891 cat >>confdefs.h <<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 _ACEOF
6897 done
6900 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6901 do :
6902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6903 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6904 #ifdef HAVE_ASM_TYPES_H
6905 # include <asm/types.h>
6906 #endif
6907 #ifdef HAVE_SYS_SOCKET_H
6908 # include <sys/socket.h>
6909 #endif
6910 #ifdef HAVE_LINUX_TYPES_H
6911 # include <linux/types.h>
6912 #endif
6914 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6915 cat >>confdefs.h <<_ACEOF
6916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6917 _ACEOF
6921 done
6924 for ac_header in mach-o/dyld_images.h
6925 do :
6926 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6927 # include <stdbool.h>
6928 #endif
6929 #ifdef HAVE_STDINT_H
6930 # include <stdint.h>
6931 #endif
6933 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6934 cat >>confdefs.h <<_ACEOF
6935 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6936 _ACEOF
6940 done
6943 for ac_header in resolv.h
6944 do :
6945 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6946 #ifdef HAVE_SYS_SOCKET_H
6947 # include <sys/socket.h>
6948 #endif
6949 #ifdef HAVE_NETINET_IN_H
6950 # include <netinet/in.h>
6951 #endif
6952 #ifdef HAVE_ARPA_NAMESER_H
6953 # include <arpa/nameser.h>
6954 #endif
6956 if test "x$ac_cv_header_resolv_h" = xyes; then :
6957 cat >>confdefs.h <<_ACEOF
6958 #define HAVE_RESOLV_H 1
6959 _ACEOF
6963 done
6966 for ac_header in ifaddrs.h
6967 do :
6968 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6970 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6971 cat >>confdefs.h <<_ACEOF
6972 #define HAVE_IFADDRS_H 1
6973 _ACEOF
6977 done
6980 for ac_header in sys/ucontext.h
6981 do :
6982 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6984 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
6985 cat >>confdefs.h <<_ACEOF
6986 #define HAVE_SYS_UCONTEXT_H 1
6987 _ACEOF
6991 done
6994 for ac_header in sys/thr.h
6995 do :
6996 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6997 #ifdef HAVE_SYS_UCONTEXT_H
6998 #include <sys/ucontext.h>
6999 #endif
7001 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7002 cat >>confdefs.h <<_ACEOF
7003 #define HAVE_SYS_THR_H 1
7004 _ACEOF
7008 done
7011 for ac_header in pthread_np.h
7012 do :
7013 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7014 #include <pthread.h>
7015 #endif
7017 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7018 cat >>confdefs.h <<_ACEOF
7019 #define HAVE_PTHREAD_NP_H 1
7020 _ACEOF
7024 done
7027 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7028 do :
7029 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7030 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7031 #include <sys/time.h>
7032 #endif
7033 #include <sys/types.h>
7034 #ifdef HAVE_ASM_TYPES_H
7035 #include <asm/types.h>
7036 #endif
7038 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7039 cat >>confdefs.h <<_ACEOF
7040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7041 _ACEOF
7045 done
7048 for ac_header in libprocstat.h
7049 do :
7050 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7051 #include <sys/param.h>
7052 #endif
7053 #ifdef HAVE_SYS_QUEUE_H
7054 #include <sys/queue.h>
7055 #endif
7056 #ifdef HAVE_SYS_SOCKET_H
7057 #include <sys/socket.h>
7058 #endif
7060 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_LIBPROCSTAT_H 1
7063 _ACEOF
7067 done
7071 dlldir="\${libdir}/wine"
7073 DLLPREFIX=""
7075 DLLFLAGS="-D_REENTRANT"
7077 LDRPATH_INSTALL=""
7079 LDRPATH_LOCAL=""
7081 LIBEXT="so"
7082 DLLEXT=".so"
7083 IMPLIBEXT="def"
7084 STATIC_IMPLIBEXT="def.a"
7085 # Extract the first word of "ldd", so it can be a program name with args.
7086 set dummy ldd; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_path_LDD+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 case $LDD in
7093 [\\/]* | ?:[\\/]*)
7094 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 as_dummy="/sbin:/usr/sbin:$PATH"
7099 for as_dir in $as_dummy
7101 IFS=$as_save_IFS
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7105 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 break 2
7109 done
7110 done
7111 IFS=$as_save_IFS
7113 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7115 esac
7117 LDD=$ac_cv_path_LDD
7118 if test -n "$LDD"; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7120 $as_echo "$LDD" >&6; }
7121 else
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 $as_echo "no" >&6; }
7127 if test -n "$ac_tool_prefix"; then
7128 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_READELF+:} false; then :
7133 $as_echo_n "(cached) " >&6
7134 else
7135 if test -n "$READELF"; then
7136 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7141 IFS=$as_save_IFS
7142 test -z "$as_dir" && as_dir=.
7143 for ac_exec_ext in '' $ac_executable_extensions; do
7144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147 break 2
7149 done
7150 done
7151 IFS=$as_save_IFS
7155 READELF=$ac_cv_prog_READELF
7156 if test -n "$READELF"; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7158 $as_echo "$READELF" >&6; }
7159 else
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7166 if test -z "$ac_cv_prog_READELF"; then
7167 ac_ct_READELF=$READELF
7168 # Extract the first word of "readelf", so it can be a program name with args.
7169 set dummy readelf; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7175 if test -n "$ac_ct_READELF"; then
7176 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7181 IFS=$as_save_IFS
7182 test -z "$as_dir" && as_dir=.
7183 for ac_exec_ext in '' $ac_executable_extensions; do
7184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_prog_ac_ct_READELF="readelf"
7186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187 break 2
7189 done
7190 done
7191 IFS=$as_save_IFS
7195 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7196 if test -n "$ac_ct_READELF"; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7198 $as_echo "$ac_ct_READELF" >&6; }
7199 else
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7204 if test "x$ac_ct_READELF" = x; then
7205 READELF="true"
7206 else
7207 case $cross_compiling:$ac_tool_warned in
7208 yes:)
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7212 esac
7213 READELF=$ac_ct_READELF
7215 else
7216 READELF="$ac_cv_prog_READELF"
7219 wine_rules_file=conf$$rules.make
7220 rm -f $wine_rules_file
7221 ALL_POT_FILES=""
7222 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7223 ALL_TEST_RESOURCES=""
7226 wine_fn_append_file ()
7228 as_fn_append $1 " \\$as_nl $2"
7231 wine_fn_ignore_file ()
7233 case "$1" in
7234 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7235 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7236 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7237 esac
7240 wine_fn_append_rule ()
7242 $as_echo "$1" >>$wine_rules_file
7245 wine_fn_has_flag ()
7247 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7250 wine_fn_depend_rules ()
7252 wine_fn_append_rule \
7253 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7254 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7255 depend: $ac_dir/depend
7256 .PHONY: $ac_dir/depend
7257 $ac_dir/depend: \$(MAKEDEP) dummy
7258 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7261 wine_fn_pot_rules ()
7263 test "x$with_gettextpo" = xyes || return
7265 if wine_fn_has_flag mc
7266 then
7267 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7268 wine_fn_append_rule \
7269 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7270 @cd $ac_dir && \$(MAKE) msg.pot
7271 $ac_dir/msg.pot: tools/wmc include"
7273 if wine_fn_has_flag po
7274 then
7275 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7276 wine_fn_append_rule \
7277 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7278 @cd $ac_dir && \$(MAKE) rsrc.pot
7279 $ac_dir/rsrc.pot: tools/wrc include"
7283 wine_fn_all_rules ()
7285 wine_fn_depend_rules
7286 wine_fn_append_rule \
7287 "all: $ac_dir
7288 .PHONY: $ac_dir
7289 $ac_dir: $ac_dir/Makefile dummy
7290 @cd $ac_dir && \$(MAKE)"
7293 wine_fn_install_rules ()
7295 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7297 wine_fn_append_rule \
7298 ".PHONY: $ac_dir/install $ac_dir/uninstall
7299 $ac_dir/install:: $ac_dir
7300 @cd $ac_dir && \$(MAKE) install
7301 $ac_dir/uninstall:: $ac_dir/Makefile
7302 @cd $ac_dir && \$(MAKE) uninstall
7303 install:: $ac_dir/install
7304 __uninstall__: $ac_dir/uninstall"
7306 if wine_fn_has_flag install-lib
7307 then
7308 wine_fn_append_rule \
7309 ".PHONY: $ac_dir/install-lib
7310 $ac_dir/install-lib:: $ac_dir
7311 @cd $ac_dir && \$(MAKE) install-lib
7312 install-lib:: $ac_dir/install-lib"
7315 if wine_fn_has_flag install-dev
7316 then
7317 wine_fn_append_rule \
7318 ".PHONY: $ac_dir/install-dev
7319 $ac_dir/install-dev:: $ac_dir
7320 @cd $ac_dir && \$(MAKE) install-dev
7321 install-dev:: $ac_dir/install-dev"
7325 wine_fn_clean_rules ()
7327 ac_clean=$@
7328 ac_extraclean="$ac_dir/Makefile"
7329 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7330 case $ac_dir in
7331 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7332 esac
7334 if wine_fn_has_flag clean
7335 then
7336 wine_fn_append_rule \
7337 "__clean__: $ac_dir/clean
7338 .PHONY: $ac_dir/clean
7339 $ac_dir/clean: $ac_dir/Makefile
7340 @cd $ac_dir && \$(MAKE) clean
7341 \$(RM) $ac_extraclean"
7342 else
7343 wine_fn_append_rule \
7344 "__clean__: $ac_dir/clean
7345 .PHONY: $ac_dir/clean
7346 $ac_dir/clean: dummy
7347 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7351 wine_fn_disabled_rules ()
7353 ac_clean=$@
7354 ac_extraclean="$ac_dir/Makefile"
7355 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7357 wine_fn_append_rule \
7358 "__clean__: $ac_dir/clean
7359 .PHONY: $ac_dir/clean
7360 $ac_dir/clean: dummy
7361 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7364 wine_fn_config_makefile ()
7366 ac_dir=$1
7367 ac_enable=$2
7368 ac_flags=$3
7370 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7371 wine_fn_disabled_rules; return
7373 wine_fn_all_rules
7374 wine_fn_install_rules
7375 wine_fn_clean_rules
7378 wine_fn_config_lib ()
7380 ac_name=$1
7381 ac_flags=$2
7382 ac_dir=dlls/$ac_name
7383 ac_deps="include"
7385 if test "x$enable_tools" = xno; then :
7387 else
7388 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7390 wine_fn_all_rules
7391 wine_fn_clean_rules
7393 wine_fn_append_rule \
7394 ".PHONY: $ac_dir/install $ac_dir/uninstall
7395 $ac_dir/install:: $ac_dir
7396 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7397 $ac_dir/uninstall::
7398 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7399 install install-dev:: $ac_dir/install
7400 __uninstall__: $ac_dir/uninstall
7401 __builddeps__: $ac_dir
7402 $ac_dir: $ac_deps"
7405 wine_fn_config_dll ()
7407 ac_name=$1
7408 ac_dir=dlls/$ac_name
7409 ac_enable=$2
7410 ac_flags=$3
7411 ac_implib=${4:-$ac_name}
7412 ac_file=$ac_dir/lib$ac_implib
7413 ac_dll=$ac_name
7414 ac_deps="include"
7415 ac_implibflags=""
7417 if test "x$enable_tools" = xno; then :
7419 else
7420 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7422 case $ac_name in
7423 *16) ac_implibflags=" -m16" ;;
7424 *.*) ;;
7425 *) ac_dll=$ac_dll.dll ;;
7426 esac
7428 ac_clean=
7429 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7430 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7431 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7432 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7434 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7435 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7436 then
7437 wine_fn_depend_rules
7438 wine_fn_clean_rules $ac_clean
7439 else
7440 wine_fn_disabled_rules $ac_clean
7441 return
7443 else
7444 wine_fn_all_rules
7445 wine_fn_clean_rules $ac_clean
7446 wine_fn_append_rule \
7447 "$ac_dir: __builddeps__
7448 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7449 @cd $ac_dir && \$(MAKE) \$@
7450 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7451 install install-lib:: $ac_dir/install-lib
7452 __uninstall__: $ac_dir/uninstall"
7453 if test -n "$DLLEXT"
7454 then
7455 wine_fn_append_rule \
7456 "$ac_dir/install-lib:: $ac_dir
7457 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7458 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7459 $ac_dir/uninstall::
7460 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7461 else
7462 wine_fn_append_rule \
7463 "$ac_dir/install-lib:: $ac_dir
7464 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7465 $ac_dir/uninstall::
7466 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7469 wine_fn_pot_rules
7472 if wine_fn_has_flag staticimplib
7473 then
7474 wine_fn_append_rule \
7475 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7476 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7477 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7478 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7479 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7480 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7481 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7482 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7483 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7484 $ac_dir/uninstall::
7485 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7486 install install-dev:: $ac_dir/install-dev
7487 __uninstall__: $ac_dir/uninstall"
7489 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7490 then
7491 wine_fn_append_rule \
7492 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7493 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7494 $ac_dir/uninstall::
7495 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7498 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7499 then
7500 wine_fn_append_rule \
7501 "__builddeps__: $ac_file.cross.a
7502 $ac_file.cross.a: $ac_dir/Makefile dummy
7503 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7506 elif wine_fn_has_flag implib
7507 then
7508 wine_fn_append_rule \
7509 "__builddeps__: $ac_file.$IMPLIBEXT
7510 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7511 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7512 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7513 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7514 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7515 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7516 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7517 $ac_dir/uninstall::
7518 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7519 install install-dev:: $ac_dir/install-dev
7520 __uninstall__: $ac_dir/uninstall"
7521 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7522 then
7523 wine_fn_append_rule \
7524 "__builddeps__: $ac_file.cross.a
7525 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7526 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7529 if test "$ac_name" != "$ac_implib"
7530 then
7531 wine_fn_append_rule \
7532 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7533 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7534 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7535 clean::
7536 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7537 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7538 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7539 then
7540 wine_fn_append_rule \
7541 "__builddeps__: dlls/lib$ac_implib.cross.a
7542 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7543 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7544 clean::
7545 \$(RM) dlls/lib$ac_implib.cross.a"
7546 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7552 wine_fn_config_program ()
7554 ac_name=$1
7555 ac_dir=programs/$ac_name
7556 ac_enable=$2
7557 ac_flags=$3
7558 ac_program=$ac_name
7560 case $ac_name in
7561 *.*) ;;
7562 *) ac_program=$ac_program.exe ;;
7563 esac
7565 ac_clean=
7566 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7567 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7568 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7569 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7571 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7572 wine_fn_disabled_rules $ac_clean; return
7575 wine_fn_all_rules
7576 wine_fn_clean_rules $ac_clean
7577 wine_fn_append_rule "$ac_dir: __builddeps__"
7578 wine_fn_pot_rules
7580 wine_fn_has_flag install || return
7581 wine_fn_append_rule \
7582 ".PHONY: $ac_dir/install $ac_dir/uninstall
7583 install install-lib:: $ac_dir/install
7584 __uninstall__: $ac_dir/uninstall"
7586 if test -n "$DLLEXT"
7587 then
7588 wine_fn_append_rule \
7589 "$ac_dir/install:: $ac_dir
7590 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7591 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7592 $ac_dir/uninstall::
7593 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7595 if test -z "$with_wine64" && wine_fn_has_flag installbin
7596 then
7597 wine_fn_append_rule \
7598 "$ac_dir/install:: __tooldeps__
7599 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7600 $ac_dir/uninstall::
7601 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7603 else
7604 wine_fn_append_rule \
7605 "$ac_dir/install:: $ac_dir
7606 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7607 $ac_dir/uninstall::
7608 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7611 if test -z "$with_wine64" && wine_fn_has_flag manpage
7612 then
7613 wine_fn_append_rule \
7614 "$ac_dir/install:: $ac_dir
7615 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7621 wine_fn_config_test ()
7623 ac_dir=$1
7624 ac_name=$2
7625 ac_flags=$3
7627 ac_clean=
7628 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7629 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7631 if test "x$enable_tests" = xno; then :
7632 wine_fn_disabled_rules $ac_clean; return
7635 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7636 wine_fn_all_rules
7637 wine_fn_clean_rules $ac_clean
7639 wine_fn_append_rule \
7640 "$ac_dir: programs/winetest/Makefile __builddeps__
7641 programs/winetest: $ac_dir
7642 check test: $ac_dir/test
7643 .PHONY: $ac_dir/test
7644 $ac_dir/test: dummy
7645 @cd $ac_dir && \$(MAKE) test
7646 testclean::
7647 \$(RM) $ac_dir/*.ok"
7649 if test -n "$CROSSTARGET"
7650 then
7651 wine_fn_append_rule \
7652 "crosstest: $ac_dir/crosstest
7653 .PHONY: $ac_dir/crosstest
7654 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7655 @cd $ac_dir && \$(MAKE) crosstest"
7659 wine_fn_config_tool ()
7661 ac_dir=$1
7662 ac_flags=$2
7663 if test "x$enable_tools" = xno; then :
7664 return
7667 wine_fn_all_rules
7668 wine_fn_install_rules
7669 wine_fn_clean_rules
7671 wine_fn_append_rule "__tooldeps__: $ac_dir"
7672 wine_fn_append_rule "$ac_dir: libs/port"
7673 case $ac_dir in
7674 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7675 esac
7678 wine_fn_config_symlink ()
7680 ac_linkdir=
7681 if test "x$1" = "x-d"
7682 then
7683 ac_linkdir=$2
7684 shift; shift
7686 ac_links=$@
7687 wine_fn_append_rule \
7688 "$ac_links:
7689 @./config.status \$@
7690 distclean::
7691 \$(RM) $ac_links"
7692 for f in $ac_links; do wine_fn_ignore_file $f; done
7693 test -n "$ac_linkdir" || return
7694 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7697 wine_binary="wine"
7698 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7699 loader_programs="$wine_binary wine-installed"
7700 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7702 LOADER_RULES="
7703 all: wine.inf
7705 install install-lib:: wine-installed
7706 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7708 uninstall::
7709 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7713 case $host_os in
7714 cygwin*|mingw32*)
7715 if test -n "$ac_tool_prefix"; then
7716 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7717 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7719 $as_echo_n "checking for $ac_word... " >&6; }
7720 if ${ac_cv_prog_DLLTOOL+:} false; then :
7721 $as_echo_n "(cached) " >&6
7722 else
7723 if test -n "$DLLTOOL"; then
7724 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7725 else
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 for as_dir in $PATH
7729 IFS=$as_save_IFS
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7733 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7735 break 2
7737 done
7738 done
7739 IFS=$as_save_IFS
7743 DLLTOOL=$ac_cv_prog_DLLTOOL
7744 if test -n "$DLLTOOL"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7746 $as_echo "$DLLTOOL" >&6; }
7747 else
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7749 $as_echo "no" >&6; }
7754 if test -z "$ac_cv_prog_DLLTOOL"; then
7755 ac_ct_DLLTOOL=$DLLTOOL
7756 # Extract the first word of "dlltool", so it can be a program name with args.
7757 set dummy dlltool; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7759 $as_echo_n "checking for $ac_word... " >&6; }
7760 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 if test -n "$ac_ct_DLLTOOL"; then
7764 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7765 else
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767 for as_dir in $PATH
7769 IFS=$as_save_IFS
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7773 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 break 2
7777 done
7778 done
7779 IFS=$as_save_IFS
7783 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7784 if test -n "$ac_ct_DLLTOOL"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7786 $as_echo "$ac_ct_DLLTOOL" >&6; }
7787 else
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7789 $as_echo "no" >&6; }
7792 if test "x$ac_ct_DLLTOOL" = x; then
7793 DLLTOOL="false"
7794 else
7795 case $cross_compiling:$ac_tool_warned in
7796 yes:)
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7799 ac_tool_warned=yes ;;
7800 esac
7801 DLLTOOL=$ac_ct_DLLTOOL
7803 else
7804 DLLTOOL="$ac_cv_prog_DLLTOOL"
7807 LIBEXT="dll"
7808 DLLEXT=""
7809 IMPLIBEXT="a"
7810 STATIC_IMPLIBEXT="a"
7811 enable_iphlpapi=${enable_iphlpapi:-no}
7812 enable_kernel32=${enable_kernel32:-no}
7813 enable_msvcrt=${enable_msvcrt:-no}
7814 enable_ntdll=${enable_ntdll:-no}
7815 enable_ws2_32=${enable_ws2_32:-no}
7816 enable_loader=${enable_loader:-no}
7817 enable_server=${enable_server:-no}
7818 with_x=${with_x:-no}
7819 with_pthread=${with_pthread:-no}
7821 crtlibs=""
7822 case $host_os in
7823 mingw32*)
7824 crtlibs="-lmsvcrt"
7825 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7827 esac
7829 libwine_targets="libwine.dll libwine.a"
7830 LIBWINE_RULES="
7831 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7833 all: libwine.dll libwine.a
7835 libwine.a: \$(srcdir)/wine.def
7836 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7838 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7839 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7841 install install-lib:: libwine.dll
7842 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7844 install install-dev:: libwine.a
7845 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7847 uninstall::
7848 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7853 darwin*|macosx*)
7854 for ac_header in libunwind.h
7855 do :
7856 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7858 cat >>confdefs.h <<_ACEOF
7859 #define HAVE_LIBUNWIND_H 1
7860 _ACEOF
7864 done
7866 LIBEXT="dylib"
7867 DLLFLAGS="$DLLFLAGS -fPIC"
7868 LIBWINE_LDFLAGS="-multiply_defined suppress"
7869 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7870 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7871 COREFOUNDATION_LIBS="-framework CoreFoundation"
7873 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7875 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7877 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7879 CORESERVICES_LIBS="-framework CoreServices"
7881 APPKIT_LIBS="-framework AppKit"
7883 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7885 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7886 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7887 $as_echo_n "(cached) " >&6
7888 else
7889 ac_wine_try_cflags_saved=$CFLAGS
7890 CFLAGS="$CFLAGS -Wl,-no_pie"
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 int main(int argc, char **argv) { return 0; }
7894 _ACEOF
7895 if ac_fn_c_try_link "$LINENO"; then :
7896 ac_cv_cflags__Wl__no_pie=yes
7897 else
7898 ac_cv_cflags__Wl__no_pie=no
7900 rm -f core conftest.err conftest.$ac_objext \
7901 conftest$ac_exeext conftest.$ac_ext
7902 CFLAGS=$ac_wine_try_cflags_saved
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7905 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7906 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7907 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7909 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7910 then
7911 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7914 if test "$ac_cv_header_Security_Security_h" = "yes"
7915 then
7916 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7918 ac_save_LIBS="$LIBS"
7919 LIBS="$LIBS $SECURITY_LIBS"
7920 for ac_func in SSLCopyPeerCertificates
7921 do :
7922 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7923 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7926 _ACEOF
7929 done
7931 LIBS="$ac_save_LIBS"
7932 with_gnutls=${with_gnutls:-no}
7934 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7935 then
7936 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7937 then
7938 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7940 else
7941 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7944 ac_save_LIBS="$LIBS"
7945 LIBS="$LIBS $COREAUDIO_LIBS"
7946 for ac_func in AUGraphAddNode
7947 do :
7948 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7949 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7950 cat >>confdefs.h <<_ACEOF
7951 #define HAVE_AUGRAPHADDNODE 1
7952 _ACEOF
7955 done
7957 LIBS="$ac_save_LIBS"
7959 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7960 then
7961 OPENAL_LIBS="-framework OpenAL"
7964 cat >>confdefs.h <<_ACEOF
7965 #define HAVE_OPENAL 1
7966 _ACEOF
7968 ac_cv_lib_openal=yes
7970 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7971 then
7972 OPENCL_LIBS="-framework OpenCL"
7974 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7976 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7977 then
7978 ac_save_LIBS="$LIBS"
7979 LIBS="$LIBS $IOKIT_LIBS"
7980 for ac_func in IOHIDManagerCreate
7981 do :
7982 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7983 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7984 cat >>confdefs.h <<_ACEOF
7985 #define HAVE_IOHIDMANAGERCREATE 1
7986 _ACEOF
7989 done
7991 LIBS="$ac_save_LIBS"
7993 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7994 then
7995 ac_save_LIBS="$LIBS"
7996 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7998 $as_echo_n "checking for the QuickTime framework... " >&6; }
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #include <QuickTime/ImageCompression.h>
8003 main ()
8005 CodecManagerVersion(NULL);
8007 return 0;
8009 _ACEOF
8010 if ac_fn_c_try_link "$LINENO"; then :
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8012 $as_echo "yes" >&6; }
8013 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8015 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8016 else
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8019 ac_cv_header_QuickTime_ImageCompression_h=no
8021 rm -f core conftest.err conftest.$ac_objext \
8022 conftest$ac_exeext conftest.$ac_ext
8023 LIBS="$ac_save_LIBS"
8025 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8026 then
8027 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8029 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8030 then
8031 CARBON_LIBS="-framework Carbon"
8035 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8036 then
8037 ac_save_LIBS="$LIBS"
8038 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8039 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8040 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8041 enable_winemac_drv=${enable_winemac_drv:-yes}
8044 LIBS="$ac_save_LIBS"
8047 if test "x$enable_win16" = "xyes"
8048 then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8050 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8051 if test "$cross_compiling" = yes; then :
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8053 $as_echo "cross-compiling, assuming yes" >&6; }
8054 else
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8057 asm(".text\n"
8058 "bad:\tnop;nop\n"
8059 "good:\tnop;nop\n\t"
8060 ".globl _testfunc\n"
8061 "_testfunc:\tcallw good");
8062 extern void testfunc();
8064 main ()
8066 unsigned short *p = (unsigned short *)testfunc;
8067 return p[0] != 0xe866 || p[1] != 0xfffa
8069 return 0;
8071 _ACEOF
8072 if ac_fn_c_try_run "$LINENO"; then :
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8074 $as_echo "yes" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8078 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
8080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8081 conftest.$ac_objext conftest.beam conftest.$ac_ext
8086 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8087 LIBWINE_RULES="
8088 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8090 all: libwine.dylib
8092 libwine.$libwine_version.dylib: \$(OBJS)
8093 \$(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 \$@
8095 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8096 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8098 libwine.dylib: libwine.$libwine_soversion.dylib
8099 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8101 install install-lib:: libwine.$libwine_version.dylib
8102 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8103 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8105 install install-dev::
8106 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8108 uninstall::
8109 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8113 as_fn_append LOADER_RULES "
8114 $wine_binary: main.o wine_info.plist
8115 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8117 wine-installed: main.o wine_info.plist
8118 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8122 linux-android*)
8123 DLLFLAGS="$DLLFLAGS -fPIC"
8124 DLLPREFIX="lib"
8125 LDEXECFLAGS=""
8126 dlldir="\${libdir}"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8128 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8129 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 ac_wine_try_cflags_saved=$CFLAGS
8133 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 int main(int argc, char **argv) { return 0; }
8137 _ACEOF
8138 if ac_fn_c_try_link "$LINENO"; then :
8139 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8140 else
8141 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8143 rm -f core conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 CFLAGS=$ac_wine_try_cflags_saved
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8148 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8149 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8150 LDEXECFLAGS="-Wl,--export-dynamic"
8152 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8154 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8155 if eval \${$as_ac_var+:} false; then :
8156 $as_echo_n "(cached) " >&6
8157 else
8158 ac_wine_try_cflags_saved=$CFLAGS
8159 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8162 int main(int argc, char **argv) { return 0; }
8163 _ACEOF
8164 if ac_fn_c_try_link "$LINENO"; then :
8165 eval "$as_ac_var=yes"
8166 else
8167 eval "$as_ac_var=no"
8169 rm -f core conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 CFLAGS=$ac_wine_try_cflags_saved
8173 eval ac_res=\$$as_ac_var
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8175 $as_echo "$ac_res" >&6; }
8176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8177 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8178 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8179 else
8180 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8182 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8183 if eval \${$as_ac_var+:} false; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8186 ac_wine_try_cflags_saved=$CFLAGS
8187 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 eval "$as_ac_var=yes"
8194 else
8195 eval "$as_ac_var=no"
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 CFLAGS=$ac_wine_try_cflags_saved
8201 eval ac_res=\$$as_ac_var
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8203 $as_echo "$ac_res" >&6; }
8204 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8205 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8206 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8211 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8212 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8213 $as_echo_n "(cached) " >&6
8214 else
8215 ac_wine_try_cflags_saved=$CFLAGS
8216 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 int main(int argc, char **argv) { return 0; }
8220 _ACEOF
8221 if ac_fn_c_try_link "$LINENO"; then :
8222 ac_cv_cflags__Wl___enable_new_dtags=yes
8223 else
8224 ac_cv_cflags__Wl___enable_new_dtags=no
8226 rm -f core conftest.err conftest.$ac_objext \
8227 conftest$ac_exeext conftest.$ac_ext
8228 CFLAGS=$ac_wine_try_cflags_saved
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8231 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8232 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8233 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8236 case $host_cpu in
8237 *i[3456789]86* | x86_64)
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8239 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8240 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 ac_wine_try_cflags_saved=$CFLAGS
8244 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 int main(int argc, char **argv) { return 0; }
8248 _ACEOF
8249 if ac_fn_c_try_link "$LINENO"; then :
8250 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8251 else
8252 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8254 rm -f core conftest.err conftest.$ac_objext \
8255 conftest$ac_exeext conftest.$ac_ext
8256 CFLAGS=$ac_wine_try_cflags_saved
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8259 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8260 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8261 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8264 esac
8266 libwine_targets="libwine.so"
8267 LIBWINE_RULES="
8268 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8270 all: libwine.so
8272 libwine.so: \$(OBJS)
8273 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8275 install install-lib:: libwine.so
8276 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8278 uninstall::
8279 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8283 as_fn_append LOADER_RULES "
8284 $wine_binary: main.o
8285 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8287 wine-installed: main.o
8288 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8293 DLLFLAGS="$DLLFLAGS -fPIC"
8294 LDEXECFLAGS=""
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8296 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8297 if ${ac_cv_c_dll_gnuelf+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_wine_try_cflags_saved=$CFLAGS
8301 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 void myfunc() {}
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 ac_cv_c_dll_gnuelf="yes"
8308 else
8309 ac_cv_c_dll_gnuelf="no"
8311 rm -f core conftest.err conftest.$ac_objext \
8312 conftest$ac_exeext conftest.$ac_ext
8313 CFLAGS=$ac_wine_try_cflags_saved
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8316 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8317 if test "$ac_cv_c_dll_gnuelf" = "yes"
8318 then
8319 LDSHARED="\$(CC) -shared"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8321 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8322 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 ac_wine_try_cflags_saved=$CFLAGS
8326 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8330 _ACEOF
8331 if ac_fn_c_try_link "$LINENO"; then :
8332 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8333 else
8334 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 CFLAGS=$ac_wine_try_cflags_saved
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8341 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8342 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8343 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8346 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8347 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8358 else
8359 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8361 rm -f core conftest.err conftest.$ac_objext \
8362 conftest$ac_exeext conftest.$ac_ext
8363 CFLAGS=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8366 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8367 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8368 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8372 echo '{ global: *; };' >conftest.map
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8374 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8375 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8376 $as_echo_n "(cached) " >&6
8377 else
8378 ac_wine_try_cflags_saved=$CFLAGS
8379 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8382 int main(int argc, char **argv) { return 0; }
8383 _ACEOF
8384 if ac_fn_c_try_link "$LINENO"; then :
8385 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8386 else
8387 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 CFLAGS=$ac_wine_try_cflags_saved
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8394 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8395 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8396 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8398 rm -f conftest.map
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8401 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8402 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 int main(int argc, char **argv) { return 0; }
8410 _ACEOF
8411 if ac_fn_c_try_link "$LINENO"; then :
8412 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8413 else
8414 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8416 rm -f core conftest.err conftest.$ac_objext \
8417 conftest$ac_exeext conftest.$ac_ext
8418 CFLAGS=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8421 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8422 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8423 LDEXECFLAGS="-Wl,--export-dynamic"
8426 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8428 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8429 if eval \${$as_ac_var+:} false; then :
8430 $as_echo_n "(cached) " >&6
8431 else
8432 ac_wine_try_cflags_saved=$CFLAGS
8433 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8435 /* end confdefs.h. */
8436 int main(int argc, char **argv) { return 0; }
8437 _ACEOF
8438 if ac_fn_c_try_link "$LINENO"; then :
8439 eval "$as_ac_var=yes"
8440 else
8441 eval "$as_ac_var=no"
8443 rm -f core conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 CFLAGS=$ac_wine_try_cflags_saved
8447 eval ac_res=\$$as_ac_var
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8449 $as_echo "$ac_res" >&6; }
8450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8451 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8452 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8453 else
8454 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8456 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8457 if eval \${$as_ac_var+:} false; then :
8458 $as_echo_n "(cached) " >&6
8459 else
8460 ac_wine_try_cflags_saved=$CFLAGS
8461 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8464 int main(int argc, char **argv) { return 0; }
8465 _ACEOF
8466 if ac_fn_c_try_link "$LINENO"; then :
8467 eval "$as_ac_var=yes"
8468 else
8469 eval "$as_ac_var=no"
8471 rm -f core conftest.err conftest.$ac_objext \
8472 conftest$ac_exeext conftest.$ac_ext
8473 CFLAGS=$ac_wine_try_cflags_saved
8475 eval ac_res=\$$as_ac_var
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8477 $as_echo "$ac_res" >&6; }
8478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8479 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8480 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8485 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8486 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_wine_try_cflags_saved=$CFLAGS
8490 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 int main(int argc, char **argv) { return 0; }
8494 _ACEOF
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 ac_cv_cflags__Wl___enable_new_dtags=yes
8497 else
8498 ac_cv_cflags__Wl___enable_new_dtags=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 CFLAGS=$ac_wine_try_cflags_saved
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8505 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8506 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8507 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8510 case $host_cpu in
8511 *i[3456789]86* | x86_64)
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8513 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8514 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_wine_try_cflags_saved=$CFLAGS
8518 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 int main(int argc, char **argv) { return 0; }
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8525 else
8526 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 CFLAGS=$ac_wine_try_cflags_saved
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8533 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8534 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8535 case $host_os in
8536 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8537 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8538 esac
8541 # Extract the first word of "prelink", so it can be a program name with args.
8542 set dummy prelink; ac_word=$2
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8544 $as_echo_n "checking for $ac_word... " >&6; }
8545 if ${ac_cv_path_PRELINK+:} false; then :
8546 $as_echo_n "(cached) " >&6
8547 else
8548 case $PRELINK in
8549 [\\/]* | ?:[\\/]*)
8550 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8554 for as_dir in /sbin /usr/sbin $PATH
8556 IFS=$as_save_IFS
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8560 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8562 break 2
8564 done
8565 done
8566 IFS=$as_save_IFS
8568 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8570 esac
8572 PRELINK=$ac_cv_path_PRELINK
8573 if test -n "$PRELINK"; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8575 $as_echo "$PRELINK" >&6; }
8576 else
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578 $as_echo "no" >&6; }
8582 if test "x$PRELINK" = xfalse
8583 then
8584 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8587 esac
8589 else
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8591 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8592 if ${ac_cv_c_dll_unixware+:} false; then :
8593 $as_echo_n "(cached) " >&6
8594 else
8595 ac_wine_try_cflags_saved=$CFLAGS
8596 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8599 void myfunc() {}
8600 _ACEOF
8601 if ac_fn_c_try_link "$LINENO"; then :
8602 ac_cv_c_dll_unixware="yes"
8603 else
8604 ac_cv_c_dll_unixware="no"
8606 rm -f core conftest.err conftest.$ac_objext \
8607 conftest$ac_exeext conftest.$ac_ext
8608 CFLAGS=$ac_wine_try_cflags_saved
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8611 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8612 if test "$ac_cv_c_dll_unixware" = "yes"
8613 then
8614 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8617 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8618 LIBWINE_RULES="
8619 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8621 all: libwine.so
8623 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8624 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8626 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8627 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8629 libwine.so: libwine.so.$libwine_soversion
8630 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8632 install install-lib:: libwine.so.$libwine_version
8633 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8634 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8636 install install-dev::
8637 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8639 uninstall::
8640 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8644 as_fn_append LOADER_RULES "
8645 $wine_binary: main.o
8646 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8648 wine-installed: main.o
8649 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8652 esac
8654 as_fn_append LIBWINE_RULES "
8655 EXTRA_TARGETS = $libwine_targets
8658 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8659 enable_winemac_drv=${enable_winemac_drv:-no}
8661 CROSSTARGET=""
8663 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8664 then
8665 case "$host_cpu" in
8666 i[3456789]86*)
8667 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
8668 mingw32-gcc" ;;
8669 x86_64)
8670 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 " ;;
8672 ac_prefix_list="" ;;
8673 esac
8674 for ac_prog in $ac_prefix_list
8676 # Extract the first word of "$ac_prog", so it can be a program name with args.
8677 set dummy $ac_prog; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8679 $as_echo_n "checking for $ac_word... " >&6; }
8680 if ${ac_cv_prog_CROSSCC+:} false; then :
8681 $as_echo_n "(cached) " >&6
8682 else
8683 if test -n "$CROSSCC"; then
8684 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8685 else
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 for as_dir in $PATH
8689 IFS=$as_save_IFS
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693 ac_cv_prog_CROSSCC="$ac_prog"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8695 break 2
8697 done
8698 done
8699 IFS=$as_save_IFS
8703 CROSSCC=$ac_cv_prog_CROSSCC
8704 if test -n "$CROSSCC"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8706 $as_echo "$CROSSCC" >&6; }
8707 else
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709 $as_echo "no" >&6; }
8713 test -n "$CROSSCC" && break
8714 done
8715 test -n "$CROSSCC" || CROSSCC="false"
8717 if test "$CROSSCC" != "false"
8718 then
8719 ac_save_CC="$CC"
8720 CC="$CROSSCC"
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8722 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8727 main ()
8731 return 0;
8733 _ACEOF
8734 if ac_fn_c_try_compile "$LINENO"; then :
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8736 $as_echo "yes" >&6; }
8737 set x $CROSSCC
8738 shift
8739 while test $# -ge 1
8741 case "$1" in
8742 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8743 esac
8744 shift
8745 done
8746 else
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8751 CC="$ac_save_CC"
8756 if test "$ac_cv_header_pthread_h" = "yes"
8757 then
8758 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8759 if test "x$ac_cv_func_pthread_create" = xyes; then :
8761 else
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8763 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8764 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 ac_check_lib_save_LIBS=$LIBS
8768 LIBS="-lpthread $LIBS"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8772 /* Override any GCC internal prototype to avoid an error.
8773 Use char because int might match the return type of a GCC
8774 builtin and then its argument prototype would still apply. */
8775 #ifdef __cplusplus
8776 extern "C"
8777 #endif
8778 char pthread_create ();
8780 main ()
8782 return pthread_create ();
8784 return 0;
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_lib_pthread_pthread_create=yes
8789 else
8790 ac_cv_lib_pthread_pthread_create=no
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 LIBS=$ac_check_lib_save_LIBS
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8797 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8798 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8799 PTHREAD_LIBS="-lpthread"
8806 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8807 case "x$with_pthread" in
8808 xno) ;;
8809 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8810 Wine cannot support threads without libpthread.
8811 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8812 esac
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8817 $as_echo_n "checking for X... " >&6; }
8820 # Check whether --with-x was given.
8821 if test "${with_x+set}" = set; then :
8822 withval=$with_x;
8825 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8826 if test "x$with_x" = xno; then
8827 # The user explicitly disabled X.
8828 have_x=disabled
8829 else
8830 case $x_includes,$x_libraries in #(
8831 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8832 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 # One or both of the vars are not set, and there is no cached value.
8836 ac_x_includes=no ac_x_libraries=no
8837 rm -f -r conftest.dir
8838 if mkdir conftest.dir; then
8839 cd conftest.dir
8840 cat >Imakefile <<'_ACEOF'
8841 incroot:
8842 @echo incroot='${INCROOT}'
8843 usrlibdir:
8844 @echo usrlibdir='${USRLIBDIR}'
8845 libdir:
8846 @echo libdir='${LIBDIR}'
8847 _ACEOF
8848 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8849 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8850 for ac_var in incroot usrlibdir libdir; do
8851 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8852 done
8853 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8854 for ac_extension in a so sl dylib la dll; do
8855 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8856 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8857 ac_im_usrlibdir=$ac_im_libdir; break
8859 done
8860 # Screen out bogus values from the imake configuration. They are
8861 # bogus both because they are the default anyway, and because
8862 # using them would break gcc on systems where it needs fixed includes.
8863 case $ac_im_incroot in
8864 /usr/include) ac_x_includes= ;;
8865 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8866 esac
8867 case $ac_im_usrlibdir in
8868 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8869 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8870 esac
8872 cd ..
8873 rm -f -r conftest.dir
8876 # Standard set of common directories for X headers.
8877 # Check X11 before X11Rn because it is often a symlink to the current release.
8878 ac_x_header_dirs='
8879 /usr/X11/include
8880 /usr/X11R7/include
8881 /usr/X11R6/include
8882 /usr/X11R5/include
8883 /usr/X11R4/include
8885 /usr/include/X11
8886 /usr/include/X11R7
8887 /usr/include/X11R6
8888 /usr/include/X11R5
8889 /usr/include/X11R4
8891 /usr/local/X11/include
8892 /usr/local/X11R7/include
8893 /usr/local/X11R6/include
8894 /usr/local/X11R5/include
8895 /usr/local/X11R4/include
8897 /usr/local/include/X11
8898 /usr/local/include/X11R7
8899 /usr/local/include/X11R6
8900 /usr/local/include/X11R5
8901 /usr/local/include/X11R4
8903 /usr/X386/include
8904 /usr/x386/include
8905 /usr/XFree86/include/X11
8907 /usr/include
8908 /usr/local/include
8909 /usr/unsupported/include
8910 /usr/athena/include
8911 /usr/local/x11r5/include
8912 /usr/lpp/Xamples/include
8914 /usr/openwin/include
8915 /usr/openwin/share/include'
8917 if test "$ac_x_includes" = no; then
8918 # Guess where to find include files, by looking for Xlib.h.
8919 # First, try using that file with no special directory specified.
8920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8921 /* end confdefs.h. */
8922 #include <X11/Xlib.h>
8923 _ACEOF
8924 if ac_fn_c_try_cpp "$LINENO"; then :
8925 # We can compile using X headers with no special include directory.
8926 ac_x_includes=
8927 else
8928 for ac_dir in $ac_x_header_dirs; do
8929 if test -r "$ac_dir/X11/Xlib.h"; then
8930 ac_x_includes=$ac_dir
8931 break
8933 done
8935 rm -f conftest.err conftest.i conftest.$ac_ext
8936 fi # $ac_x_includes = no
8938 if test "$ac_x_libraries" = no; then
8939 # Check for the libraries.
8940 # See if we find them without any special options.
8941 # Don't add to $LIBS permanently.
8942 ac_save_LIBS=$LIBS
8943 LIBS="-lX11 $LIBS"
8944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8945 /* end confdefs.h. */
8946 #include <X11/Xlib.h>
8948 main ()
8950 XrmInitialize ()
8952 return 0;
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 LIBS=$ac_save_LIBS
8957 # We can link X programs with no special library path.
8958 ac_x_libraries=
8959 else
8960 LIBS=$ac_save_LIBS
8961 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8963 # Don't even attempt the hair of trying to link an X program!
8964 for ac_extension in a so sl dylib la dll; do
8965 if test -r "$ac_dir/libX11.$ac_extension"; then
8966 ac_x_libraries=$ac_dir
8967 break 2
8969 done
8970 done
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 fi # $ac_x_libraries = no
8976 case $ac_x_includes,$ac_x_libraries in #(
8977 no,* | *,no | *\'*)
8978 # Didn't find X, or a directory has "'" in its name.
8979 ac_cv_have_x="have_x=no";; #(
8981 # Record where we found X for the cache.
8982 ac_cv_have_x="have_x=yes\
8983 ac_x_includes='$ac_x_includes'\
8984 ac_x_libraries='$ac_x_libraries'"
8985 esac
8987 ;; #(
8988 *) have_x=yes;;
8989 esac
8990 eval "$ac_cv_have_x"
8991 fi # $with_x != no
8993 if test "$have_x" != yes; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8995 $as_echo "$have_x" >&6; }
8996 no_x=yes
8997 else
8998 # If each of the values was on the command line, it overrides each guess.
8999 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9000 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9001 # Update the cache value to reflect the command line values.
9002 ac_cv_have_x="have_x=yes\
9003 ac_x_includes='$x_includes'\
9004 ac_x_libraries='$x_libraries'"
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9006 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9009 if test "$no_x" = yes; then
9010 # Not all programs may use this symbol, but it does not hurt to define it.
9012 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9014 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9015 else
9016 if test -n "$x_includes"; then
9017 X_CFLAGS="$X_CFLAGS -I$x_includes"
9020 # It would also be nice to do this for all -L options, not just this one.
9021 if test -n "$x_libraries"; then
9022 X_LIBS="$X_LIBS -L$x_libraries"
9023 # For Solaris; some versions of Sun CC require a space after -R and
9024 # others require no space. Words are not sufficient . . . .
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9026 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9027 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9028 ac_xsave_c_werror_flag=$ac_c_werror_flag
9029 ac_c_werror_flag=yes
9030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9034 main ()
9038 return 0;
9040 _ACEOF
9041 if ac_fn_c_try_link "$LINENO"; then :
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9044 X_LIBS="$X_LIBS -R$x_libraries"
9045 else
9046 LIBS="$ac_xsave_LIBS -R $x_libraries"
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9051 main ()
9055 return 0;
9057 _ACEOF
9058 if ac_fn_c_try_link "$LINENO"; then :
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9060 $as_echo "yes" >&6; }
9061 X_LIBS="$X_LIBS -R $x_libraries"
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9064 $as_echo "neither works" >&6; }
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 ac_c_werror_flag=$ac_xsave_c_werror_flag
9072 LIBS=$ac_xsave_LIBS
9075 # Check for system-dependent libraries X programs must link with.
9076 # Do this before checking for the system-independent R6 libraries
9077 # (-lICE), since we may need -lsocket or whatever for X linking.
9079 if test "$ISC" = yes; then
9080 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9081 else
9082 # Martyn Johnson says this is needed for Ultrix, if the X
9083 # libraries were built with DECnet support. And Karl Berry says
9084 # the Alpha needs dnet_stub (dnet does not exist).
9085 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9087 /* end confdefs.h. */
9089 /* Override any GCC internal prototype to avoid an error.
9090 Use char because int might match the return type of a GCC
9091 builtin and then its argument prototype would still apply. */
9092 #ifdef __cplusplus
9093 extern "C"
9094 #endif
9095 char XOpenDisplay ();
9097 main ()
9099 return XOpenDisplay ();
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9106 else
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9108 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9109 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9110 $as_echo_n "(cached) " >&6
9111 else
9112 ac_check_lib_save_LIBS=$LIBS
9113 LIBS="-ldnet $LIBS"
9114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9115 /* end confdefs.h. */
9117 /* Override any GCC internal prototype to avoid an error.
9118 Use char because int might match the return type of a GCC
9119 builtin and then its argument prototype would still apply. */
9120 #ifdef __cplusplus
9121 extern "C"
9122 #endif
9123 char dnet_ntoa ();
9125 main ()
9127 return dnet_ntoa ();
9129 return 0;
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 ac_cv_lib_dnet_dnet_ntoa=yes
9134 else
9135 ac_cv_lib_dnet_dnet_ntoa=no
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 LIBS=$ac_check_lib_save_LIBS
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9142 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9143 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9144 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9147 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9149 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9150 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_check_lib_save_LIBS=$LIBS
9154 LIBS="-ldnet_stub $LIBS"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9158 /* Override any GCC internal prototype to avoid an error.
9159 Use char because int might match the return type of a GCC
9160 builtin and then its argument prototype would still apply. */
9161 #ifdef __cplusplus
9162 extern "C"
9163 #endif
9164 char dnet_ntoa ();
9166 main ()
9168 return dnet_ntoa ();
9170 return 0;
9172 _ACEOF
9173 if ac_fn_c_try_link "$LINENO"; then :
9174 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9175 else
9176 ac_cv_lib_dnet_stub_dnet_ntoa=no
9178 rm -f core conftest.err conftest.$ac_objext \
9179 conftest$ac_exeext conftest.$ac_ext
9180 LIBS=$ac_check_lib_save_LIBS
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9183 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9184 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9185 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9190 rm -f core conftest.err conftest.$ac_objext \
9191 conftest$ac_exeext conftest.$ac_ext
9192 LIBS="$ac_xsave_LIBS"
9194 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9195 # to get the SysV transport functions.
9196 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9197 # needs -lnsl.
9198 # The nsl library prevents programs from opening the X display
9199 # on Irix 5.2, according to T.E. Dickey.
9200 # The functions gethostbyname, getservbyname, and inet_addr are
9201 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9202 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9203 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9207 if test $ac_cv_func_gethostbyname = no; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9209 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9210 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9211 $as_echo_n "(cached) " >&6
9212 else
9213 ac_check_lib_save_LIBS=$LIBS
9214 LIBS="-lnsl $LIBS"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9218 /* Override any GCC internal prototype to avoid an error.
9219 Use char because int might match the return type of a GCC
9220 builtin and then its argument prototype would still apply. */
9221 #ifdef __cplusplus
9222 extern "C"
9223 #endif
9224 char gethostbyname ();
9226 main ()
9228 return gethostbyname ();
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 ac_cv_lib_nsl_gethostbyname=yes
9235 else
9236 ac_cv_lib_nsl_gethostbyname=no
9238 rm -f core conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 LIBS=$ac_check_lib_save_LIBS
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9243 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9244 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9248 if test $ac_cv_lib_nsl_gethostbyname = no; then
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9250 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9251 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9252 $as_echo_n "(cached) " >&6
9253 else
9254 ac_check_lib_save_LIBS=$LIBS
9255 LIBS="-lbsd $LIBS"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9257 /* end confdefs.h. */
9259 /* Override any GCC internal prototype to avoid an error.
9260 Use char because int might match the return type of a GCC
9261 builtin and then its argument prototype would still apply. */
9262 #ifdef __cplusplus
9263 extern "C"
9264 #endif
9265 char gethostbyname ();
9267 main ()
9269 return gethostbyname ();
9271 return 0;
9273 _ACEOF
9274 if ac_fn_c_try_link "$LINENO"; then :
9275 ac_cv_lib_bsd_gethostbyname=yes
9276 else
9277 ac_cv_lib_bsd_gethostbyname=no
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_lib_save_LIBS
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9284 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9285 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9292 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9293 # socket/setsockopt and other routines are undefined under SCO ODT
9294 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9295 # on later versions), says Simon Leinen: it contains gethostby*
9296 # variants that don't use the name server (or something). -lsocket
9297 # must be given before -lnsl if both are needed. We assume that
9298 # if connect needs -lnsl, so does gethostbyname.
9299 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9300 if test "x$ac_cv_func_connect" = xyes; then :
9304 if test $ac_cv_func_connect = no; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9306 $as_echo_n "checking for connect in -lsocket... " >&6; }
9307 if ${ac_cv_lib_socket_connect+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char connect ();
9323 main ()
9325 return connect ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_lib_socket_connect=yes
9332 else
9333 ac_cv_lib_socket_connect=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 LIBS=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9340 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9341 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9342 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9347 # Guillermo Gomez says -lposix is necessary on A/UX.
9348 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9349 if test "x$ac_cv_func_remove" = xyes; then :
9353 if test $ac_cv_func_remove = no; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9355 $as_echo_n "checking for remove in -lposix... " >&6; }
9356 if ${ac_cv_lib_posix_remove+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_check_lib_save_LIBS=$LIBS
9360 LIBS="-lposix $LIBS"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9364 /* Override any GCC internal prototype to avoid an error.
9365 Use char because int might match the return type of a GCC
9366 builtin and then its argument prototype would still apply. */
9367 #ifdef __cplusplus
9368 extern "C"
9369 #endif
9370 char remove ();
9372 main ()
9374 return remove ();
9376 return 0;
9378 _ACEOF
9379 if ac_fn_c_try_link "$LINENO"; then :
9380 ac_cv_lib_posix_remove=yes
9381 else
9382 ac_cv_lib_posix_remove=no
9384 rm -f core conftest.err conftest.$ac_objext \
9385 conftest$ac_exeext conftest.$ac_ext
9386 LIBS=$ac_check_lib_save_LIBS
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9389 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9390 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9391 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9396 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9397 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9398 if test "x$ac_cv_func_shmat" = xyes; then :
9402 if test $ac_cv_func_shmat = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9404 $as_echo_n "checking for shmat in -lipc... " >&6; }
9405 if ${ac_cv_lib_ipc_shmat+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lipc $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char shmat ();
9421 main ()
9423 return shmat ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_ipc_shmat=yes
9430 else
9431 ac_cv_lib_ipc_shmat=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9438 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9439 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9446 # Check for libraries that X11R6 Xt/Xaw programs need.
9447 ac_save_LDFLAGS=$LDFLAGS
9448 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9449 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9450 # check for ICE first), but we must link in the order -lSM -lICE or
9451 # we get undefined symbols. So assume we have SM if we have ICE.
9452 # These have to be linked with before -lX11, unlike the other
9453 # libraries we check for below, so use a different variable.
9454 # John Interrante, Karl Berry
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9456 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9457 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_check_lib_save_LIBS=$LIBS
9461 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9468 #ifdef __cplusplus
9469 extern "C"
9470 #endif
9471 char IceConnectionNumber ();
9473 main ()
9475 return IceConnectionNumber ();
9477 return 0;
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_lib_ICE_IceConnectionNumber=yes
9482 else
9483 ac_cv_lib_ICE_IceConnectionNumber=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9490 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9491 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9492 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9495 LDFLAGS=$ac_save_LDFLAGS
9500 if test "$have_x" = "yes"
9501 then
9502 ac_save_CPPFLAGS="$CPPFLAGS"
9503 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9506 $as_echo_n "checking for -lX11... " >&6; }
9507 if ${ac_cv_lib_soname_X11+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_check_soname_save_LIBS=$LIBS
9511 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char XCreateWindow ();
9523 main ()
9525 return XCreateWindow ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 case "$LIBEXT" in
9532 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9533 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'` ;;
9534 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9535 if ${ac_cv_lib_soname_X11:+false} :; then :
9536 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9537 fi ;;
9538 esac
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_soname_save_LIBS
9544 if ${ac_cv_lib_soname_X11:+false} :; then :
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9546 $as_echo "not found" >&6; }
9548 else
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9550 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9552 cat >>confdefs.h <<_ACEOF
9553 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9554 _ACEOF
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9559 $as_echo_n "checking for -lXext... " >&6; }
9560 if ${ac_cv_lib_soname_Xext+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_check_soname_save_LIBS=$LIBS
9564 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char XextCreateExtension ();
9576 main ()
9578 return XextCreateExtension ();
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 case "$LIBEXT" in
9585 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9586 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'` ;;
9587 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9588 if ${ac_cv_lib_soname_Xext:+false} :; then :
9589 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9590 fi ;;
9591 esac
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_soname_save_LIBS
9597 if ${ac_cv_lib_soname_Xext:+false} :; then :
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9599 $as_echo "not found" >&6; }
9601 else
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9603 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9605 cat >>confdefs.h <<_ACEOF
9606 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9607 _ACEOF
9609 X_LIBS="$X_LIBS -lXext"
9611 X_LIBS="$X_LIBS -lX11"
9613 for ac_header in X11/Xlib.h \
9614 X11/XKBlib.h \
9615 X11/Xutil.h \
9616 X11/Xcursor/Xcursor.h \
9617 X11/extensions/shape.h \
9618 X11/extensions/XInput.h \
9619 X11/extensions/XInput2.h \
9620 X11/extensions/XShm.h \
9621 X11/extensions/Xcomposite.h \
9622 X11/extensions/Xinerama.h \
9623 X11/extensions/Xrandr.h \
9624 X11/extensions/Xrender.h \
9625 X11/extensions/xf86vmode.h \
9626 X11/extensions/xf86vmproto.h
9627 do :
9628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9630 # include <X11/Xlib.h>
9631 #endif
9632 #ifdef HAVE_X11_XUTIL_H
9633 # include <X11/Xutil.h>
9634 #endif
9636 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9637 cat >>confdefs.h <<_ACEOF
9638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9639 _ACEOF
9643 done
9646 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9647 then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9649 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9650 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_check_lib_save_LIBS=$LIBS
9654 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char XkbQueryExtension ();
9666 main ()
9668 return XkbQueryExtension ();
9670 return 0;
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 ac_cv_lib_X11_XkbQueryExtension=yes
9675 else
9676 ac_cv_lib_X11_XkbQueryExtension=no
9678 rm -f core conftest.err conftest.$ac_objext \
9679 conftest$ac_exeext conftest.$ac_ext
9680 LIBS=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9683 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9684 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9686 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9692 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9693 then
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9695 $as_echo_n "checking for -lXcursor... " >&6; }
9696 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9697 $as_echo_n "(cached) " >&6
9698 else
9699 ac_check_soname_save_LIBS=$LIBS
9700 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9702 /* end confdefs.h. */
9704 /* Override any GCC internal prototype to avoid an error.
9705 Use char because int might match the return type of a GCC
9706 builtin and then its argument prototype would still apply. */
9707 #ifdef __cplusplus
9708 extern "C"
9709 #endif
9710 char XcursorImageLoadCursor ();
9712 main ()
9714 return XcursorImageLoadCursor ();
9716 return 0;
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720 case "$LIBEXT" in
9721 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9722 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'` ;;
9723 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9724 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9725 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9726 fi ;;
9727 esac
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_soname_save_LIBS
9733 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9735 $as_echo "not found" >&6; }
9737 else
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9739 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9741 cat >>confdefs.h <<_ACEOF
9742 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9743 _ACEOF
9748 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9749 case "x$with_xcursor" in
9750 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9751 xno) ;;
9752 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9753 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9754 esac
9757 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9758 then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9760 $as_echo_n "checking for -lXi... " >&6; }
9761 if ${ac_cv_lib_soname_Xi+:} false; then :
9762 $as_echo_n "(cached) " >&6
9763 else
9764 ac_check_soname_save_LIBS=$LIBS
9765 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767 /* end confdefs.h. */
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9772 #ifdef __cplusplus
9773 extern "C"
9774 #endif
9775 char XOpenDevice ();
9777 main ()
9779 return XOpenDevice ();
9781 return 0;
9783 _ACEOF
9784 if ac_fn_c_try_link "$LINENO"; then :
9785 case "$LIBEXT" in
9786 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9787 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'` ;;
9788 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9789 if ${ac_cv_lib_soname_Xi:+false} :; then :
9790 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9791 fi ;;
9792 esac
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_soname_save_LIBS
9798 if ${ac_cv_lib_soname_Xi:+false} :; then :
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9800 $as_echo "not found" >&6; }
9802 else
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9804 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9806 cat >>confdefs.h <<_ACEOF
9807 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9808 _ACEOF
9813 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9814 case "x$with_xinput" in
9815 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9816 xno) ;;
9817 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9818 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9819 esac
9822 if test "x$ac_cv_lib_soname_Xi" != x
9823 then
9824 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9825 case "x$with_xinput2" in
9826 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9827 xno) ;;
9828 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9829 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9830 esac
9834 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9835 then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9837 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9838 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_lib_save_LIBS=$LIBS
9842 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char XShmQueryExtension ();
9854 main ()
9856 return XShmQueryExtension ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_lib_Xext_XShmQueryExtension=yes
9863 else
9864 ac_cv_lib_Xext_XShmQueryExtension=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_lib_save_LIBS
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9871 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9872 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9874 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9879 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9880 case "x$with_xshm" in
9881 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9882 xno) ;;
9883 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9884 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9885 esac
9888 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9889 then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9891 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9892 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_lib_save_LIBS=$LIBS
9896 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XShapeQueryExtension ();
9908 main ()
9910 return XShapeQueryExtension ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 ac_cv_lib_Xext_XShapeQueryExtension=yes
9917 else
9918 ac_cv_lib_Xext_XShapeQueryExtension=no
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_lib_save_LIBS
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9925 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9926 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9928 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9933 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9934 case "x$with_xshape" in
9935 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9936 xno) ;;
9937 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9938 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9939 esac
9942 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9943 then
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9945 $as_echo_n "checking for -lXxf86vm... " >&6; }
9946 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_check_soname_save_LIBS=$LIBS
9950 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char XF86VidModeQueryExtension ();
9962 main ()
9964 return XF86VidModeQueryExtension ();
9966 return 0;
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 case "$LIBEXT" in
9971 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9972 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'` ;;
9973 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9974 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9975 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9976 fi ;;
9977 esac
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9987 else
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9989 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9991 cat >>confdefs.h <<_ACEOF
9992 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9993 _ACEOF
9998 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9999 case "x$with_xxf86vm" in
10000 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10001 xno) ;;
10002 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10003 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10004 esac
10007 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10008 then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10010 $as_echo_n "checking for -lXrender... " >&6; }
10011 if ${ac_cv_lib_soname_Xrender+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10022 #ifdef __cplusplus
10023 extern "C"
10024 #endif
10025 char XRenderQueryExtension ();
10027 main ()
10029 return XRenderQueryExtension ();
10031 return 0;
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 case "$LIBEXT" in
10036 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10037 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'` ;;
10038 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10039 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10040 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10041 fi ;;
10042 esac
10044 rm -f core conftest.err conftest.$ac_objext \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_soname_save_LIBS
10048 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10050 $as_echo "not found" >&6; }
10052 else
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10054 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10056 cat >>confdefs.h <<_ACEOF
10057 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10058 _ACEOF
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10061 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10062 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_check_lib_save_LIBS=$LIBS
10066 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 char XRenderSetPictureTransform ();
10078 main ()
10080 return XRenderSetPictureTransform ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10087 else
10088 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_lib_save_LIBS
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10095 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10096 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10098 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10103 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10104 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_check_lib_save_LIBS=$LIBS
10108 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XRenderCreateLinearGradient ();
10120 main ()
10122 return XRenderCreateLinearGradient ();
10124 return 0;
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10129 else
10130 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10137 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10138 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10140 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10147 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10148 case "x$with_xrender" in
10149 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10150 xno) ;;
10151 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10152 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10153 esac
10156 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10157 then
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 #include <X11/Xlib.h>
10161 #include <X11/extensions/Xrandr.h>
10163 main ()
10165 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_compile "$LINENO"; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10172 $as_echo_n "checking for -lXrandr... " >&6; }
10173 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char XRRQueryExtension ();
10189 main ()
10191 return XRRQueryExtension ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 case "$LIBEXT" in
10198 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10202 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 fi ;;
10204 esac
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10214 else
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10216 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10218 cat >>confdefs.h <<_ACEOF
10219 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10220 _ACEOF
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10224 #include <X11/Xlib.h>
10225 #include <X11/extensions/Xrandr.h>
10227 main ()
10229 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10231 return 0;
10233 _ACEOF
10234 if ac_fn_c_try_compile "$LINENO"; then :
10236 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10244 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10245 case "x$with_xrandr" in
10246 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10247 xno) ;;
10248 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10249 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10250 esac
10253 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10254 then
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 #include <X11/Xlib.h>
10258 #include <X11/extensions/Xinerama.h>
10260 main ()
10262 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10264 return 0;
10266 _ACEOF
10267 if ac_fn_c_try_compile "$LINENO"; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10269 $as_echo_n "checking for -lXinerama... " >&6; }
10270 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_check_soname_save_LIBS=$LIBS
10274 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10278 /* Override any GCC internal prototype to avoid an error.
10279 Use char because int might match the return type of a GCC
10280 builtin and then its argument prototype would still apply. */
10281 #ifdef __cplusplus
10282 extern "C"
10283 #endif
10284 char XineramaQueryScreens ();
10286 main ()
10288 return XineramaQueryScreens ();
10290 return 0;
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"; then :
10294 case "$LIBEXT" in
10295 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10296 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'` ;;
10297 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10298 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10299 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10300 fi ;;
10301 esac
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 LIBS=$ac_check_soname_save_LIBS
10307 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10309 $as_echo "not found" >&6; }
10311 else
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10313 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10315 cat >>confdefs.h <<_ACEOF
10316 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10317 _ACEOF
10322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10324 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10325 case "x$with_xinerama" in
10326 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10327 xno) ;;
10328 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10329 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10330 esac
10333 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10334 then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10336 $as_echo_n "checking for -lXcomposite... " >&6; }
10337 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_check_soname_save_LIBS=$LIBS
10341 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10348 #ifdef __cplusplus
10349 extern "C"
10350 #endif
10351 char XCompositeRedirectWindow ();
10353 main ()
10355 return XCompositeRedirectWindow ();
10357 return 0;
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 case "$LIBEXT" in
10362 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10363 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'` ;;
10364 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10365 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10366 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10367 fi ;;
10368 esac
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_soname_save_LIBS
10374 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10376 $as_echo "not found" >&6; }
10378 else
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10380 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10382 cat >>confdefs.h <<_ACEOF
10383 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10384 _ACEOF
10389 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10390 case "x$with_xcomposite" in
10391 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10392 xno) ;;
10393 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10394 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10395 esac
10398 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10399 #include <X11/Xlib.h>
10400 #endif
10402 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10404 cat >>confdefs.h <<_ACEOF
10405 #define HAVE_XICCALLBACK_CALLBACK 1
10406 _ACEOF
10410 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10411 #include <X11/Xlib.h>
10412 #endif
10414 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10416 cat >>confdefs.h <<_ACEOF
10417 #define HAVE_XEVENT_XCOOKIE 1
10418 _ACEOF
10425 opengl_msg=""
10426 if test "x$with_opengl" != "xno"
10427 then
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10429 $as_echo_n "checking for -lGL... " >&6; }
10430 if ${ac_cv_lib_soname_GL+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_check_soname_save_LIBS=$LIBS
10434 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10438 /* Override any GCC internal prototype to avoid an error.
10439 Use char because int might match the return type of a GCC
10440 builtin and then its argument prototype would still apply. */
10441 #ifdef __cplusplus
10442 extern "C"
10443 #endif
10444 char glXCreateContext ();
10446 main ()
10448 return glXCreateContext ();
10450 return 0;
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454 case "$LIBEXT" in
10455 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10456 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'` ;;
10457 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10458 if ${ac_cv_lib_soname_GL:+false} :; then :
10459 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 fi ;;
10461 esac
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LIBS=$ac_check_soname_save_LIBS
10467 if ${ac_cv_lib_soname_GL:+false} :; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10469 $as_echo "not found" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10471 $as_echo_n "checking for -lGL... " >&6; }
10472 if ${ac_cv_lib_soname_GL+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_check_soname_save_LIBS=$LIBS
10476 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"
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10483 #ifdef __cplusplus
10484 extern "C"
10485 #endif
10486 char glXCreateContext ();
10488 main ()
10490 return glXCreateContext ();
10492 return 0;
10494 _ACEOF
10495 if ac_fn_c_try_link "$LINENO"; then :
10496 case "$LIBEXT" in
10497 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10498 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'` ;;
10499 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10500 if ${ac_cv_lib_soname_GL:+false} :; then :
10501 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10502 fi ;;
10503 esac
10505 rm -f core conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 LIBS=$ac_check_soname_save_LIBS
10509 if ${ac_cv_lib_soname_GL:+false} :; then :
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10511 $as_echo "not found" >&6; }
10512 if test -f /usr/X11R6/lib/libGL.a
10513 then
10514 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10515 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10516 else
10517 opengl_msg="No OpenGL library found on this system."
10519 else
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10521 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10523 cat >>confdefs.h <<_ACEOF
10524 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10525 _ACEOF
10527 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"
10529 else
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10531 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10533 cat >>confdefs.h <<_ACEOF
10534 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10535 _ACEOF
10537 OPENGL_LIBS="-lGL"
10539 if test "x$with_glu" != "xno"
10540 then
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10542 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10543 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10544 $as_echo_n "(cached) " >&6
10545 else
10546 ac_check_lib_save_LIBS=$LIBS
10547 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10551 /* Override any GCC internal prototype to avoid an error.
10552 Use char because int might match the return type of a GCC
10553 builtin and then its argument prototype would still apply. */
10554 #ifdef __cplusplus
10555 extern "C"
10556 #endif
10557 char gluLookAt ();
10559 main ()
10561 return gluLookAt ();
10563 return 0;
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"; then :
10567 ac_cv_lib_GLU_gluLookAt=yes
10568 else
10569 ac_cv_lib_GLU_gluLookAt=no
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_lib_save_LIBS
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10576 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10577 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10581 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10582 case "x$with_glu" in
10583 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10584 xno) ;;
10585 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10586 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10587 esac
10591 if test "x$with_osmesa" != "xno"
10592 then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10594 $as_echo_n "checking for -lOSMesa... " >&6; }
10595 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10596 $as_echo_n "(cached) " >&6
10597 else
10598 ac_check_soname_save_LIBS=$LIBS
10599 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10606 #ifdef __cplusplus
10607 extern "C"
10608 #endif
10609 char glAccum ();
10611 main ()
10613 return glAccum ();
10615 return 0;
10617 _ACEOF
10618 if ac_fn_c_try_link "$LINENO"; then :
10619 case "$LIBEXT" in
10620 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10621 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'` ;;
10622 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10623 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10624 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10625 fi ;;
10626 esac
10628 rm -f core conftest.err conftest.$ac_objext \
10629 conftest$ac_exeext conftest.$ac_ext
10630 LIBS=$ac_check_soname_save_LIBS
10632 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10634 $as_echo "not found" >&6; }
10636 else
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10638 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10640 cat >>confdefs.h <<_ACEOF
10641 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10642 _ACEOF
10646 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10647 case "x$with_osmesa" in
10648 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10649 xno) ;;
10650 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10651 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10652 esac
10656 if test -n "$opengl_msg"; then :
10657 case "x$with_opengl" in
10658 x) as_fn_append wine_warnings "|$opengl_msg
10659 OpenGL and Direct3D won't be supported." ;;
10660 xno) ;;
10661 *) as_fn_error $? "$opengl_msg
10662 OpenGL and Direct3D won't be supported.
10663 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10664 esac
10667 CPPFLAGS="$ac_save_CPPFLAGS"
10668 else
10669 X_CFLAGS=""
10670 X_LIBS=""
10671 enable_winex11_drv=${enable_winex11_drv:-no}
10673 if test "x$X_LIBS" = "x"; then :
10674 case "x$with_x" in
10675 xno) ;;
10676 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10677 without X support, which probably isn't what you want. You will need
10678 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10679 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10680 esac
10683 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10685 if test "$ac_cv_header_CL_cl_h" = "yes"
10686 then
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10688 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10689 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10690 $as_echo_n "(cached) " >&6
10691 else
10692 ac_check_lib_save_LIBS=$LIBS
10693 LIBS="-lOpenCL $LIBS"
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10700 #ifdef __cplusplus
10701 extern "C"
10702 #endif
10703 char clGetPlatformInfo ();
10705 main ()
10707 return clGetPlatformInfo ();
10709 return 0;
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10714 else
10715 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10722 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10723 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10724 OPENCL_LIBS="-lOpenCL"
10729 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10730 case "x$with_opencl" in
10731 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10732 xno) ;;
10733 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10734 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10735 esac
10737 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10739 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10740 then
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10742 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10743 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 ac_check_lib_save_LIBS=$LIBS
10747 LIBS="-lpcap $LIBS"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10754 #ifdef __cplusplus
10755 extern "C"
10756 #endif
10757 char pcap_create ();
10759 main ()
10761 return pcap_create ();
10763 return 0;
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"; then :
10767 ac_cv_lib_pcap_pcap_create=yes
10768 else
10769 ac_cv_lib_pcap_pcap_create=no
10771 rm -f core conftest.err conftest.$ac_objext \
10772 conftest$ac_exeext conftest.$ac_ext
10773 LIBS=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10776 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10777 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10778 LIBPCAP="-lpcap"
10783 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10784 case "x$with_pcap" in
10785 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10788 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10789 esac
10791 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10794 if test "x$with_xml" != "xno"
10795 then
10796 if ${XML2_CFLAGS:+false} :; then :
10797 if ${PKG_CONFIG+:} false; then :
10798 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10801 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10802 if ${XML2_LIBS:+false} :; then :
10803 if ${PKG_CONFIG+:} false; then :
10804 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10807 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10808 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10809 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10810 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10811 ac_save_CPPFLAGS=$CPPFLAGS
10812 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10813 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10814 do :
10815 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10816 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10817 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10818 cat >>confdefs.h <<_ACEOF
10819 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10820 _ACEOF
10824 done
10826 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"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10829 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10830 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-lxml2 $XML2_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char xmlParseMemory ();
10846 main ()
10848 return xmlParseMemory ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_xml2_xmlParseMemory=yes
10855 else
10856 ac_cv_lib_xml2_xmlParseMemory=no
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10863 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10864 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10866 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10868 else
10869 XML2_LIBS=""
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10873 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10874 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_lib_save_LIBS=$LIBS
10878 LIBS="-lxml2 $XML2_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char xmlReadMemory ();
10890 main ()
10892 return xmlReadMemory ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 ac_cv_lib_xml2_xmlReadMemory=yes
10899 else
10900 ac_cv_lib_xml2_xmlReadMemory=no
10902 rm -f core conftest.err conftest.$ac_objext \
10903 conftest$ac_exeext conftest.$ac_ext
10904 LIBS=$ac_check_lib_save_LIBS
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10907 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10908 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10910 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10915 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10916 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lxml2 $XML2_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char xmlNewDocPI ();
10932 main ()
10934 return xmlNewDocPI ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 ac_cv_lib_xml2_xmlNewDocPI=yes
10941 else
10942 ac_cv_lib_xml2_xmlNewDocPI=no
10944 rm -f core conftest.err conftest.$ac_objext \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10949 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10950 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10952 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10957 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10958 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lxml2 $XML2_LIBS $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char xmlSchemaSetParserStructuredErrors ();
10974 main ()
10976 return xmlSchemaSetParserStructuredErrors ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10983 else
10984 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10991 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10992 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10994 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10999 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11000 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11001 $as_echo_n "(cached) " >&6
11002 else
11003 ac_check_lib_save_LIBS=$LIBS
11004 LIBS="-lxml2 $XML2_LIBS $LIBS"
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11008 /* Override any GCC internal prototype to avoid an error.
11009 Use char because int might match the return type of a GCC
11010 builtin and then its argument prototype would still apply. */
11011 #ifdef __cplusplus
11012 extern "C"
11013 #endif
11014 char xmlSchemaSetValidStructuredErrors ();
11016 main ()
11018 return xmlSchemaSetValidStructuredErrors ();
11020 return 0;
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"; then :
11024 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11025 else
11026 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11028 rm -f core conftest.err conftest.$ac_objext \
11029 conftest$ac_exeext conftest.$ac_ext
11030 LIBS=$ac_check_lib_save_LIBS
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11033 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11034 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11036 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11041 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11042 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11043 $as_echo_n "(cached) " >&6
11044 else
11045 ac_check_lib_save_LIBS=$LIBS
11046 LIBS="-lxml2 $XML2_LIBS $LIBS"
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11050 /* Override any GCC internal prototype to avoid an error.
11051 Use char because int might match the return type of a GCC
11052 builtin and then its argument prototype would still apply. */
11053 #ifdef __cplusplus
11054 extern "C"
11055 #endif
11056 char xmlFirstElementChild ();
11058 main ()
11060 return xmlFirstElementChild ();
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 ac_cv_lib_xml2_xmlFirstElementChild=yes
11067 else
11068 ac_cv_lib_xml2_xmlFirstElementChild=no
11070 rm -f core conftest.err conftest.$ac_objext \
11071 conftest$ac_exeext conftest.$ac_ext
11072 LIBS=$ac_check_lib_save_LIBS
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11075 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11076 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11078 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11082 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11084 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11086 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11090 else
11091 XML2_CFLAGS=""
11092 XML2_LIBS=""
11094 CPPFLAGS=$ac_save_CPPFLAGS
11095 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11096 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11099 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11100 case "x$with_xml" in
11101 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11102 xno) ;;
11103 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11104 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11105 esac
11108 if test "x$with_xslt" != "xno"
11109 then
11110 if ${XSLT_CFLAGS:+false} :; then :
11111 if ${PKG_CONFIG+:} false; then :
11112 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11115 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11116 if ${XSLT_LIBS:+false} :; then :
11117 if ${PKG_CONFIG+:} false; then :
11118 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11121 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11122 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11123 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11124 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11125 ac_save_CPPFLAGS=$CPPFLAGS
11126 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11127 for ac_header in libxslt/pattern.h libxslt/transform.h
11128 do :
11129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11130 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11131 # include <libxslt/pattern.h>
11132 #endif
11134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11135 cat >>confdefs.h <<_ACEOF
11136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11137 _ACEOF
11141 done
11143 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11144 then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11146 $as_echo_n "checking for -lxslt... " >&6; }
11147 if ${ac_cv_lib_soname_xslt+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 ac_check_soname_save_LIBS=$LIBS
11151 LIBS="-lxslt $XSLT_LIBS $LIBS"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char xsltCompilePattern ();
11163 main ()
11165 return xsltCompilePattern ();
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171 case "$LIBEXT" in
11172 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11173 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'` ;;
11174 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11175 if ${ac_cv_lib_soname_xslt:+false} :; then :
11176 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11177 fi ;;
11178 esac
11180 rm -f core conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 LIBS=$ac_check_soname_save_LIBS
11184 if ${ac_cv_lib_soname_xslt:+false} :; then :
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11186 $as_echo "not found" >&6; }
11188 else
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11190 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11192 cat >>confdefs.h <<_ACEOF
11193 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11194 _ACEOF
11198 else
11199 XSLT_CFLAGS=""
11201 CPPFLAGS=$ac_save_CPPFLAGS
11202 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11203 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11206 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11207 case "x$with_xslt" in
11208 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11209 xno) ;;
11210 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11211 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11212 esac
11215 if test "x$with_dbus" != "xno"
11216 then
11217 if ${DBUS_CFLAGS:+false} :; then :
11218 if ${PKG_CONFIG+:} false; then :
11219 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11223 if ${DBUS_LIBS:+false} :; then :
11224 if ${PKG_CONFIG+:} false; then :
11225 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11230 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11231 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11232 ac_save_CPPFLAGS=$CPPFLAGS
11233 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11234 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11235 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11237 $as_echo_n "checking for -ldbus-1... " >&6; }
11238 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_soname_save_LIBS=$LIBS
11242 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char dbus_connection_close ();
11254 main ()
11256 return dbus_connection_close ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 case "$LIBEXT" in
11263 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11264 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'` ;;
11265 *) 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'`
11266 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11267 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11268 fi ;;
11269 esac
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_soname_save_LIBS
11275 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11277 $as_echo "not found" >&6; }
11278 DBUS_CFLAGS=""
11279 else
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11281 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11283 cat >>confdefs.h <<_ACEOF
11284 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11285 _ACEOF
11289 else
11290 DBUS_CFLAGS=""
11294 CPPFLAGS=$ac_save_CPPFLAGS
11295 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11296 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11299 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11300 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11301 case "x$with_dbus" in
11302 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11303 xno) ;;
11304 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11305 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11306 esac
11309 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11310 then
11311 if ${HAL_CFLAGS:+false} :; then :
11312 if ${PKG_CONFIG+:} false; then :
11313 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11317 if ${HAL_LIBS:+false} :; then :
11318 if ${PKG_CONFIG+:} false; then :
11319 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11323 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11324 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11325 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11326 ac_save_CPPFLAGS=$CPPFLAGS
11327 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11328 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11329 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11331 $as_echo_n "checking for -lhal... " >&6; }
11332 if ${ac_cv_lib_soname_hal+:} false; then :
11333 $as_echo_n "(cached) " >&6
11334 else
11335 ac_check_soname_save_LIBS=$LIBS
11336 LIBS="-lhal $HAL_LIBS $LIBS"
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char libhal_ctx_new ();
11348 main ()
11350 return libhal_ctx_new ();
11352 return 0;
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 case "$LIBEXT" in
11357 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11358 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'` ;;
11359 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11360 if ${ac_cv_lib_soname_hal:+false} :; then :
11361 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11362 fi ;;
11363 esac
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_soname_save_LIBS
11369 if ${ac_cv_lib_soname_hal:+false} :; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11371 $as_echo "not found" >&6; }
11372 HAL_CFLAGS=""
11373 else
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11375 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11377 cat >>confdefs.h <<_ACEOF
11378 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11379 _ACEOF
11383 else
11384 HAL_CFLAGS=""
11388 CPPFLAGS=$ac_save_CPPFLAGS
11389 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11390 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11392 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11393 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11394 case "x$with_hal" in
11395 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11396 xno) ;;
11397 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11398 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11399 esac
11403 if test "x$with_gnutls" != "xno"
11404 then
11405 if ${GNUTLS_CFLAGS:+false} :; then :
11406 if ${PKG_CONFIG+:} false; then :
11407 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11411 if ${GNUTLS_LIBS:+false} :; then :
11412 if ${PKG_CONFIG+:} false; then :
11413 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11418 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11419 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11420 ac_save_CPPFLAGS=$CPPFLAGS
11421 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11422 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11425 /* end confdefs.h. */
11426 #include <gnutls/gnutls.h>
11427 #include <gnutls/crypto.h>
11429 main ()
11431 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11433 return 0;
11435 _ACEOF
11436 if ac_fn_c_try_compile "$LINENO"; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11438 $as_echo_n "checking for -lgnutls... " >&6; }
11439 if ${ac_cv_lib_soname_gnutls+:} false; then :
11440 $as_echo_n "(cached) " >&6
11441 else
11442 ac_check_soname_save_LIBS=$LIBS
11443 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char gnutls_global_init ();
11455 main ()
11457 return gnutls_global_init ();
11459 return 0;
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463 case "$LIBEXT" in
11464 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11465 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'` ;;
11466 *) 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'`
11467 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11468 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'`
11469 fi ;;
11470 esac
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_soname_save_LIBS
11476 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11478 $as_echo "not found" >&6; }
11479 GNUTLS_CFLAGS=""
11480 else
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11482 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11484 cat >>confdefs.h <<_ACEOF
11485 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11486 _ACEOF
11491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11492 else
11493 GNUTLS_CFLAGS=""
11497 CPPFLAGS=$ac_save_CPPFLAGS
11498 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11499 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11502 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11503 case "x$with_gnutls" in
11504 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11505 xno) ;;
11506 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11507 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11508 esac
11511 CURSES_LIBS=""
11512 if test "$ac_cv_header_ncurses_h" = "yes"
11513 then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11515 $as_echo_n "checking for -lncurses... " >&6; }
11516 if ${ac_cv_lib_soname_ncurses+:} false; then :
11517 $as_echo_n "(cached) " >&6
11518 else
11519 ac_check_soname_save_LIBS=$LIBS
11520 LIBS="-lncurses $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char waddch ();
11532 main ()
11534 return waddch ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 case "$LIBEXT" in
11541 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11542 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'` ;;
11543 *) 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'`
11544 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11545 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11546 fi ;;
11547 esac
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_soname_save_LIBS
11553 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11555 $as_echo "not found" >&6; }
11557 else
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11559 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11561 cat >>confdefs.h <<_ACEOF
11562 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11563 _ACEOF
11565 CURSES_LIBS="-lncurses"
11567 elif test "$ac_cv_header_curses_h" = "yes"
11568 then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11570 $as_echo_n "checking for -lcurses... " >&6; }
11571 if ${ac_cv_lib_soname_curses+:} false; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-lcurses $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char waddch ();
11587 main ()
11589 return waddch ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 case "$LIBEXT" in
11596 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11599 if ${ac_cv_lib_soname_curses:+false} :; then :
11600 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11601 fi ;;
11602 esac
11604 rm -f core conftest.err conftest.$ac_objext \
11605 conftest$ac_exeext conftest.$ac_ext
11606 LIBS=$ac_check_soname_save_LIBS
11608 if ${ac_cv_lib_soname_curses:+false} :; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11610 $as_echo "not found" >&6; }
11612 else
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11614 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11616 cat >>confdefs.h <<_ACEOF
11617 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11618 _ACEOF
11620 CURSES_LIBS="-lcurses"
11623 ac_save_LIBS="$LIBS"
11624 LIBS="$LIBS $CURSES_LIBS"
11625 for ac_func in mousemask
11626 do :
11627 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11628 if test "x$ac_cv_func_mousemask" = xyes; then :
11629 cat >>confdefs.h <<_ACEOF
11630 #define HAVE_MOUSEMASK 1
11631 _ACEOF
11634 done
11636 LIBS="$ac_save_LIBS"
11637 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11638 case "x$with_curses" in
11639 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11640 xno) ;;
11641 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11642 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11643 esac
11646 if test "x$with_sane" != "xno"
11647 then
11648 if ${SANE_CFLAGS:+false} :; then :
11649 if ${PKG_CONFIG+:} false; then :
11650 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11653 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11654 if ${SANE_LIBS:+false} :; then :
11655 if ${PKG_CONFIG+:} false; then :
11656 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11659 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11661 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11662 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11663 ac_save_CPPFLAGS=$CPPFLAGS
11664 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11665 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11666 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11668 $as_echo_n "checking for -lsane... " >&6; }
11669 if ${ac_cv_lib_soname_sane+:} false; then :
11670 $as_echo_n "(cached) " >&6
11671 else
11672 ac_check_soname_save_LIBS=$LIBS
11673 LIBS="-lsane $SANE_LIBS $LIBS"
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char sane_init ();
11685 main ()
11687 return sane_init ();
11689 return 0;
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 case "$LIBEXT" in
11694 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11695 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'` ;;
11696 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11697 if ${ac_cv_lib_soname_sane:+false} :; then :
11698 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11699 fi ;;
11700 esac
11702 rm -f core conftest.err conftest.$ac_objext \
11703 conftest$ac_exeext conftest.$ac_ext
11704 LIBS=$ac_check_soname_save_LIBS
11706 if ${ac_cv_lib_soname_sane:+false} :; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11709 SANE_CFLAGS=""
11710 else
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11712 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11714 cat >>confdefs.h <<_ACEOF
11715 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11716 _ACEOF
11720 else
11721 SANE_CFLAGS=""
11725 CPPFLAGS=$ac_save_CPPFLAGS
11726 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11727 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11730 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11731 case "x$with_sane" in
11732 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11733 xno) ;;
11734 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11735 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11736 esac
11739 if test "x$with_v4l" != "xno"
11740 then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11742 $as_echo_n "checking for -lv4l1... " >&6; }
11743 if ${ac_cv_lib_soname_v4l1+:} false; then :
11744 $as_echo_n "(cached) " >&6
11745 else
11746 ac_check_soname_save_LIBS=$LIBS
11747 LIBS="-lv4l1 $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char v4l1_open ();
11759 main ()
11761 return v4l1_open ();
11763 return 0;
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767 case "$LIBEXT" in
11768 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11771 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11772 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11773 fi ;;
11774 esac
11776 rm -f core conftest.err conftest.$ac_objext \
11777 conftest$ac_exeext conftest.$ac_ext
11778 LIBS=$ac_check_soname_save_LIBS
11780 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11782 $as_echo "not found" >&6; }
11784 else
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11786 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11788 cat >>confdefs.h <<_ACEOF
11789 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11790 _ACEOF
11795 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11796 case "x$with_v4l" in
11797 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11798 xno) ;;
11799 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11800 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11801 esac
11804 if test "x$with_gphoto" != "xno"
11805 then
11806 if ${GPHOTO2_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false; then :
11808 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11811 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11812 if ${GPHOTO2_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11817 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11818 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11823 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11824 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11826 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11827 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char gp_camera_new ();
11843 main ()
11845 return gp_camera_new ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_gphoto2_gp_camera_new=yes
11852 else
11853 ac_cv_lib_gphoto2_gp_camera_new=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11860 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11861 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11863 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11865 else
11866 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11869 else
11870 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11874 CPPFLAGS=$ac_save_CPPFLAGS
11875 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11876 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11878 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11883 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11884 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11885 if ${PKG_CONFIG+:} false; then :
11886 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11889 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11890 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11891 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11893 ac_save_CPPFLAGS=$CPPFLAGS
11894 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11895 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11898 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11899 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_lib_save_LIBS=$LIBS
11903 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char gp_port_info_list_new ();
11915 main ()
11917 return gp_port_info_list_new ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11924 else
11925 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_lib_save_LIBS
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11932 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11933 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11935 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11937 else
11938 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11941 else
11942 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11946 CPPFLAGS=$ac_save_CPPFLAGS
11947 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11948 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11951 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11952 case "x$with_gphoto" in
11953 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11954 xno) ;;
11955 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11956 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11957 esac
11959 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11960 case "x$with_gphoto" in
11961 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11962 xno) ;;
11963 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11964 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11965 esac
11969 if test "$ac_cv_header_resolv_h" = "yes"
11970 then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11972 $as_echo_n "checking for resolver library... " >&6; }
11973 if ${ac_cv_have_resolv+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_save_LIBS="$LIBS"
11977 for lib in '' -lresolv
11979 LIBS="$lib $ac_save_LIBS"
11980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11982 #ifdef HAVE_NETINET_IN_H
11983 #include <netinet/in.h>
11984 #endif
11985 #include <resolv.h>
11987 main ()
11989 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 ac_cv_have_resolv=${lib:-"none required"}
11996 else
11997 ac_cv_have_resolv="not found"
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 test "x$ac_cv_have_resolv" = "xnot found" || break
12002 done
12003 LIBS="$ac_save_LIBS"
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12006 $as_echo "$ac_cv_have_resolv" >&6; }
12008 case "$ac_cv_have_resolv" in
12009 "not found") ;;
12010 "none required")
12012 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12015 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12017 RESOLV_LIBS=$ac_cv_have_resolv
12019 esac
12022 if test "x$with_cms" != "xno"
12023 then
12024 if ${LCMS2_CFLAGS:+false} :; then :
12025 if ${PKG_CONFIG+:} false; then :
12026 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12030 if ${LCMS2_LIBS:+false} :; then :
12031 if ${PKG_CONFIG+:} false; then :
12032 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12036 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12037 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12038 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12039 ac_save_CPPFLAGS=$CPPFLAGS
12040 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12041 for ac_header in lcms2.h
12042 do :
12043 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12044 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12045 cat >>confdefs.h <<_ACEOF
12046 #define HAVE_LCMS2_H 1
12047 _ACEOF
12051 done
12053 if test "$ac_cv_header_lcms2_h" = "yes"
12054 then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12056 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12057 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12068 #ifdef __cplusplus
12069 extern "C"
12070 #endif
12071 char cmsOpenProfileFromFile ();
12073 main ()
12075 return cmsOpenProfileFromFile ();
12077 return 0;
12079 _ACEOF
12080 if ac_fn_c_try_link "$LINENO"; then :
12081 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12082 else
12083 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_lib_save_LIBS
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12090 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12091 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12093 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12095 else
12096 LCMS2_LIBS=""
12099 else
12100 LCMS2_CFLAGS=""
12101 LCMS2_LIBS=""
12103 CPPFLAGS=$ac_save_CPPFLAGS
12104 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12105 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12108 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12109 case "x$with_cms" in
12110 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12111 xno) ;;
12112 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12113 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12114 esac
12117 if test "x$with_freetype" != "xno"
12118 then
12119 if ${FREETYPE_CFLAGS:+false} :; then :
12120 if ${PKG_CONFIG+:} false; then :
12121 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12124 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12125 if ${FREETYPE_LIBS:+false} :; then :
12126 if ${PKG_CONFIG+:} false; then :
12127 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12130 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12131 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12132 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12133 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12134 ac_save_CPPFLAGS=$CPPFLAGS
12135 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12136 for ac_header in ft2build.h
12137 do :
12138 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12139 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12140 cat >>confdefs.h <<_ACEOF
12141 #define HAVE_FT2BUILD_H 1
12142 _ACEOF
12146 done
12148 if test "$ac_cv_header_ft2build_h" = "yes"
12149 then
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12151 $as_echo_n "checking for -lfreetype... " >&6; }
12152 if ${ac_cv_lib_soname_freetype+:} false; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 ac_check_soname_save_LIBS=$LIBS
12156 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char FT_Init_FreeType ();
12168 main ()
12170 return FT_Init_FreeType ();
12172 return 0;
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 case "$LIBEXT" in
12177 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12178 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'` ;;
12179 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12180 if ${ac_cv_lib_soname_freetype:+false} :; then :
12181 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12182 fi ;;
12183 esac
12185 rm -f core conftest.err conftest.$ac_objext \
12186 conftest$ac_exeext conftest.$ac_ext
12187 LIBS=$ac_check_soname_save_LIBS
12189 if ${ac_cv_lib_soname_freetype:+false} :; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12191 $as_echo "not found" >&6; }
12192 FREETYPE_LIBS=""
12193 else
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12195 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12197 cat >>confdefs.h <<_ACEOF
12198 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12199 _ACEOF
12202 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12204 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12205 #include FT_MODULE_H
12207 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12209 cat >>confdefs.h <<_ACEOF
12210 #define HAVE_FT_TRUETYPEENGINETYPE 1
12211 _ACEOF
12217 else
12218 FREETYPE_CFLAGS=""
12219 FREETYPE_LIBS=""
12221 CPPFLAGS=$ac_save_CPPFLAGS
12222 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12223 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12226 if test "x$ac_cv_lib_soname_freetype" = x; then :
12227 case "x$with_freetype" in
12228 xno) ;;
12229 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12230 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12231 esac
12233 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12236 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12237 if ${ac_cv_c_ppdev+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12242 #ifdef HAVE_SYS_IOCTL_H
12243 # include <sys/ioctl.h>
12244 #endif
12245 #include <linux/ppdev.h>
12247 main ()
12249 ioctl (1,PPCLAIM,0)
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_compile "$LINENO"; then :
12255 ac_cv_c_ppdev="yes"
12256 else
12257 ac_cv_c_ppdev="no"
12259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12262 $as_echo "$ac_cv_c_ppdev" >&6; }
12263 if test "$ac_cv_c_ppdev" = "yes"
12264 then
12266 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12270 ac_wine_check_funcs_save_LIBS="$LIBS"
12271 LIBS="$LIBS $PTHREAD_LIBS"
12272 for ac_func in \
12273 pthread_attr_get_np \
12274 pthread_getattr_np \
12275 pthread_getthreadid_np \
12276 pthread_get_stackaddr_np \
12277 pthread_get_stacksize_np
12278 do :
12279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12282 cat >>confdefs.h <<_ACEOF
12283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12284 _ACEOF
12287 done
12289 LIBS="$ac_wine_check_funcs_save_LIBS"
12291 if test "$ac_cv_header_zlib_h" = "yes"
12292 then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12294 $as_echo_n "checking for inflate in -lz... " >&6; }
12295 if ${ac_cv_lib_z_inflate+:} false; then :
12296 $as_echo_n "(cached) " >&6
12297 else
12298 ac_check_lib_save_LIBS=$LIBS
12299 LIBS="-lz $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char inflate ();
12311 main ()
12313 return inflate ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"; then :
12319 ac_cv_lib_z_inflate=yes
12320 else
12321 ac_cv_lib_z_inflate=no
12323 rm -f core conftest.err conftest.$ac_objext \
12324 conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_lib_save_LIBS
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12328 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12329 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12331 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12333 Z_LIBS="-lz"
12338 if test "x$Z_LIBS" = "x"; then :
12339 case "x$with_zlib" in
12340 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12341 xno) ;;
12342 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12343 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12344 esac
12347 if test "x$enable_tools" != xno
12348 then
12349 if test "$ac_cv_header_gettext_po_h" = "yes"
12350 then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12352 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12353 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12354 $as_echo_n "(cached) " >&6
12355 else
12356 ac_check_lib_save_LIBS=$LIBS
12357 LIBS="-lgettextpo $LIBS"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12361 /* Override any GCC internal prototype to avoid an error.
12362 Use char because int might match the return type of a GCC
12363 builtin and then its argument prototype would still apply. */
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 char po_message_msgctxt ();
12369 main ()
12371 return po_message_msgctxt ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12378 else
12379 ac_cv_lib_gettextpo_po_message_msgctxt=no
12381 rm -f core conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12383 LIBS=$ac_check_lib_save_LIBS
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12386 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12387 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12389 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12391 GETTEXTPO_LIBS="-lgettextpo"
12396 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12397 case "x$with_gettextpo" in
12398 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12399 xno) ;;
12400 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12401 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12402 esac
12406 if test "x$with_gstreamer" != "xno"
12407 then
12408 if ${GSTREAMER_CFLAGS:+false} :; then :
12409 if ${PKG_CONFIG+:} false; then :
12410 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12414 if ${GSTREAMER_LIBS:+false} :; then :
12415 if ${PKG_CONFIG+:} false; then :
12416 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12421 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12422 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12423 ac_save_CPPFLAGS=$CPPFLAGS
12424 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12425 ac_gst_incl=""
12426 for i in $GSTREAMER_CFLAGS
12428 case "$i" in
12429 -I*) ac_gst_incl="$ac_gst_incl $i";;
12430 esac
12431 done
12432 GSTREAMER_CFLAGS=$ac_gst_incl
12433 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12434 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12435 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12436 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12437 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12439 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12442 #include <gst/app/gstappsink.h>
12444 main ()
12446 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12448 return 0;
12450 _ACEOF
12451 if ac_fn_c_try_compile "$LINENO"; then :
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12453 $as_echo "yes" >&6; }
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12455 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12456 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12457 $as_echo_n "(cached) " >&6
12458 else
12459 ac_check_lib_save_LIBS=$LIBS
12460 LIBS="-lgstreamer-0.10 $LIBS"
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12467 #ifdef __cplusplus
12468 extern "C"
12469 #endif
12470 char gst_pad_get_caps_reffed ();
12472 main ()
12474 return gst_pad_get_caps_reffed ();
12476 return 0;
12478 _ACEOF
12479 if ac_fn_c_try_link "$LINENO"; then :
12480 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12481 else
12482 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12484 rm -f core conftest.err conftest.$ac_objext \
12485 conftest$ac_exeext conftest.$ac_ext
12486 LIBS=$ac_check_lib_save_LIBS
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12489 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12490 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12492 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12493 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12494 $as_echo_n "(cached) " >&6
12495 else
12496 ac_check_lib_save_LIBS=$LIBS
12497 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 /* Override any GCC internal prototype to avoid an error.
12502 Use char because int might match the return type of a GCC
12503 builtin and then its argument prototype would still apply. */
12504 #ifdef __cplusplus
12505 extern "C"
12506 #endif
12507 char gst_app_buffer_new ();
12509 main ()
12511 return gst_app_buffer_new ();
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12518 else
12519 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_lib_save_LIBS
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12526 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12527 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12533 else
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12535 $as_echo "no" >&6; }
12537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12541 else
12542 GSTREAMER_CFLAGS=""
12546 CPPFLAGS=$ac_save_CPPFLAGS
12547 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12548 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12551 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12552 case "x$with_gstreamer" in
12553 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12554 xno) ;;
12555 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12556 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12557 esac
12559 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12561 ALSA_LIBS=""
12563 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12566 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12567 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-lasound $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char snd_pcm_hw_params_get_access_mask ();
12583 main ()
12585 return snd_pcm_hw_params_get_access_mask ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12592 else
12593 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12600 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12601 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12604 #ifdef HAVE_ALSA_ASOUNDLIB_H
12605 #include <alsa/asoundlib.h>
12606 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12607 #include <sys/asoundlib.h>
12608 #endif
12610 main ()
12612 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12614 return 0;
12616 _ACEOF
12617 if ac_fn_c_try_compile "$LINENO"; then :
12618 ALSA_LIBS="-lasound"
12620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12625 if test "x$with_oss" != xno
12626 then
12627 ac_save_CPPFLAGS="$CPPFLAGS"
12628 if test -f /etc/oss.conf
12629 then
12630 . /etc/oss.conf
12632 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12633 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12634 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12635 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12636 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12638 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12640 cat >>confdefs.h <<_ACEOF
12641 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12642 _ACEOF
12644 OSS4_CFLAGS="$ac_oss_incl"
12651 CPPFLAGS="$ac_save_CPPFLAGS"
12652 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12653 then
12654 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12658 if test "x$with_capi" != "xno"
12659 then
12660 if ${CAPI20_CFLAGS:+false} :; then :
12661 if ${PKG_CONFIG+:} false; then :
12662 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12666 if ${CAPI20_LIBS:+false} :; then :
12667 if ${PKG_CONFIG+:} false; then :
12668 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12673 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12674 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12675 ac_save_CPPFLAGS=$CPPFLAGS
12676 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12677 for ac_header in capi20.h linux/capi.h
12678 do :
12679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12683 cat >>confdefs.h <<_ACEOF
12684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12685 _ACEOF
12689 done
12691 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12692 then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12694 $as_echo_n "checking for -lcapi20... " >&6; }
12695 if ${ac_cv_lib_soname_capi20+:} false; then :
12696 $as_echo_n "(cached) " >&6
12697 else
12698 ac_check_soname_save_LIBS=$LIBS
12699 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12703 /* Override any GCC internal prototype to avoid an error.
12704 Use char because int might match the return type of a GCC
12705 builtin and then its argument prototype would still apply. */
12706 #ifdef __cplusplus
12707 extern "C"
12708 #endif
12709 char capi20_register ();
12711 main ()
12713 return capi20_register ();
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_link "$LINENO"; then :
12719 case "$LIBEXT" in
12720 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12721 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'` ;;
12722 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12723 if ${ac_cv_lib_soname_capi20:+false} :; then :
12724 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12725 fi ;;
12726 esac
12728 rm -f core conftest.err conftest.$ac_objext \
12729 conftest$ac_exeext conftest.$ac_ext
12730 LIBS=$ac_check_soname_save_LIBS
12732 if ${ac_cv_lib_soname_capi20:+false} :; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12734 $as_echo "not found" >&6; }
12736 else
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12738 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12740 cat >>confdefs.h <<_ACEOF
12741 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12742 _ACEOF
12747 CPPFLAGS=$ac_save_CPPFLAGS
12748 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12749 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12752 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12753 case "x$with_capi" in
12754 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12755 xno) ;;
12756 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12757 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12758 esac
12761 CUPS_CFLAGS=""
12763 if test "x$with_cups" != "xno"
12764 then
12765 ac_save_CPPFLAGS="$CPPFLAGS"
12766 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12767 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12768 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12769 for ac_header in cups/cups.h
12770 do :
12771 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12772 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12773 cat >>confdefs.h <<_ACEOF
12774 #define HAVE_CUPS_CUPS_H 1
12775 _ACEOF
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12777 $as_echo_n "checking for -lcups... " >&6; }
12778 if ${ac_cv_lib_soname_cups+:} false; then :
12779 $as_echo_n "(cached) " >&6
12780 else
12781 ac_check_soname_save_LIBS=$LIBS
12782 LIBS="-lcups $ac_cups_libs $LIBS"
12783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12786 /* Override any GCC internal prototype to avoid an error.
12787 Use char because int might match the return type of a GCC
12788 builtin and then its argument prototype would still apply. */
12789 #ifdef __cplusplus
12790 extern "C"
12791 #endif
12792 char cupsGetDefault ();
12794 main ()
12796 return cupsGetDefault ();
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_link "$LINENO"; then :
12802 case "$LIBEXT" in
12803 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12804 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'` ;;
12805 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12806 if ${ac_cv_lib_soname_cups:+false} :; then :
12807 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12808 fi ;;
12809 esac
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_soname_save_LIBS
12815 if ${ac_cv_lib_soname_cups:+false} :; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12817 $as_echo "not found" >&6; }
12819 else
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12821 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12823 cat >>confdefs.h <<_ACEOF
12824 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12825 _ACEOF
12827 CUPS_CFLAGS="$ac_cups_cflags"
12831 done
12833 CPPFLAGS="$ac_save_CPPFLAGS"
12835 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12836 case "x$with_cups" in
12837 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12840 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12841 esac
12844 if test "x$with_fontconfig" != "xno"
12845 then
12846 if ${FONTCONFIG_CFLAGS:+false} :; then :
12847 if ${PKG_CONFIG+:} false; then :
12848 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12851 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12852 if ${FONTCONFIG_LIBS:+false} :; then :
12853 if ${PKG_CONFIG+:} false; then :
12854 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12857 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12859 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12860 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12861 ac_save_CPPFLAGS=$CPPFLAGS
12862 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12863 for ac_header in fontconfig/fontconfig.h
12864 do :
12865 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12866 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12867 cat >>confdefs.h <<_ACEOF
12868 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12869 _ACEOF
12873 done
12875 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12876 then
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12878 $as_echo_n "checking for -lfontconfig... " >&6; }
12879 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_soname_save_LIBS=$LIBS
12883 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 char FcInit ();
12895 main ()
12897 return FcInit ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 case "$LIBEXT" in
12904 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12905 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'` ;;
12906 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12907 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12908 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12909 fi ;;
12910 esac
12912 rm -f core conftest.err conftest.$ac_objext \
12913 conftest$ac_exeext conftest.$ac_ext
12914 LIBS=$ac_check_soname_save_LIBS
12916 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12918 $as_echo "not found" >&6; }
12919 FONTCONFIG_CFLAGS=""
12920 else
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12922 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12924 cat >>confdefs.h <<_ACEOF
12925 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12926 _ACEOF
12930 else
12931 FONTCONFIG_CFLAGS=""
12933 CPPFLAGS=$ac_save_CPPFLAGS
12934 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12935 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12938 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12939 case "x$with_fontconfig" in
12940 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12941 xno) ;;
12942 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12943 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12944 esac
12947 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12948 then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12950 $as_echo_n "checking for -lgsm... " >&6; }
12951 if ${ac_cv_lib_soname_gsm+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_soname_save_LIBS=$LIBS
12955 LIBS="-lgsm $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char gsm_create ();
12967 main ()
12969 return gsm_create ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 case "$LIBEXT" in
12976 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12977 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'` ;;
12978 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12979 if ${ac_cv_lib_soname_gsm:+false} :; then :
12980 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12981 fi ;;
12982 esac
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_soname_save_LIBS
12988 if ${ac_cv_lib_soname_gsm:+false} :; then :
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12990 $as_echo "not found" >&6; }
12992 else
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12994 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12996 cat >>confdefs.h <<_ACEOF
12997 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12998 _ACEOF
13003 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13004 case "x$with_gsm" in
13005 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13006 xno) ;;
13007 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13008 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13009 esac
13012 if test "x$with_jpeg" != "xno"
13013 then
13014 if ${JPEG_CFLAGS:+false} :; then :
13015 if ${PKG_CONFIG+:} false; then :
13016 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13020 if ${JPEG_LIBS:+false} :; then :
13021 if ${PKG_CONFIG+:} false; then :
13022 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13027 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13028 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13029 ac_save_CPPFLAGS=$CPPFLAGS
13030 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13031 for ac_header in jpeglib.h
13032 do :
13033 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13034 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13035 cat >>confdefs.h <<_ACEOF
13036 #define HAVE_JPEGLIB_H 1
13037 _ACEOF
13041 done
13043 if test "$ac_cv_header_jpeglib_h" = "yes"
13044 then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13046 $as_echo_n "checking for -ljpeg... " >&6; }
13047 if ${ac_cv_lib_soname_jpeg+:} false; then :
13048 $as_echo_n "(cached) " >&6
13049 else
13050 ac_check_soname_save_LIBS=$LIBS
13051 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13058 #ifdef __cplusplus
13059 extern "C"
13060 #endif
13061 char jpeg_start_decompress ();
13063 main ()
13065 return jpeg_start_decompress ();
13067 return 0;
13069 _ACEOF
13070 if ac_fn_c_try_link "$LINENO"; then :
13071 case "$LIBEXT" in
13072 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13073 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'` ;;
13074 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13075 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13076 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13077 fi ;;
13078 esac
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_soname_save_LIBS
13084 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13086 $as_echo "not found" >&6; }
13087 JPEG_CFLAGS=""
13088 else
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13090 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13092 cat >>confdefs.h <<_ACEOF
13093 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13094 _ACEOF
13098 else
13099 JPEG_CFLAGS=""
13101 CPPFLAGS=$ac_save_CPPFLAGS
13102 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13103 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13106 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13107 case "x$with_jpeg" in
13108 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13109 xno) ;;
13110 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13111 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13112 esac
13115 if test "x$with_png" != "xno"
13116 then
13117 if ${PNG_CFLAGS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13122 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13123 if ${PNG_LIBS:+false} :; then :
13124 if ${PKG_CONFIG+:} false; then :
13125 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13128 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13130 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13132 ac_save_CPPFLAGS=$CPPFLAGS
13133 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13134 for ac_header in png.h
13135 do :
13136 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13137 if test "x$ac_cv_header_png_h" = xyes; then :
13138 cat >>confdefs.h <<_ACEOF
13139 #define HAVE_PNG_H 1
13140 _ACEOF
13144 done
13146 if test "$ac_cv_header_png_h" = "yes"
13147 then
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13149 $as_echo_n "checking for -lpng... " >&6; }
13150 if ${ac_cv_lib_soname_png+:} false; then :
13151 $as_echo_n "(cached) " >&6
13152 else
13153 ac_check_soname_save_LIBS=$LIBS
13154 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13161 #ifdef __cplusplus
13162 extern "C"
13163 #endif
13164 char png_create_read_struct ();
13166 main ()
13168 return png_create_read_struct ();
13170 return 0;
13172 _ACEOF
13173 if ac_fn_c_try_link "$LINENO"; then :
13174 case "$LIBEXT" in
13175 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13176 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'` ;;
13177 *) 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'`
13178 if ${ac_cv_lib_soname_png:+false} :; then :
13179 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13180 fi ;;
13181 esac
13183 rm -f core conftest.err conftest.$ac_objext \
13184 conftest$ac_exeext conftest.$ac_ext
13185 LIBS=$ac_check_soname_save_LIBS
13187 if ${ac_cv_lib_soname_png:+false} :; then :
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13189 $as_echo "not found" >&6; }
13190 PNG_CFLAGS=""
13191 else
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13193 $as_echo "$ac_cv_lib_soname_png" >&6; }
13195 cat >>confdefs.h <<_ACEOF
13196 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13197 _ACEOF
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13201 #include <png.h>
13203 main ()
13205 typeof(png_set_expand_gray_1_2_4_to_8) *p
13207 return 0;
13209 _ACEOF
13210 if ac_fn_c_try_compile "$LINENO"; then :
13212 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217 else
13218 PNG_CFLAGS=""
13220 CPPFLAGS=$ac_save_CPPFLAGS
13221 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13222 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13225 if test "x$ac_cv_lib_soname_png" = "x"; then :
13226 case "x$with_png" in
13227 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13228 xno) ;;
13229 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13230 This is an error since --with-png was requested." "$LINENO" 5 ;;
13231 esac
13234 if test "x$with_tiff" != "xno"
13235 then
13236 if ${TIFF_CFLAGS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13242 if ${TIFF_LIBS:+false} :; then :
13243 if ${PKG_CONFIG+:} false; then :
13244 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13249 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13250 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13251 ac_save_CPPFLAGS=$CPPFLAGS
13252 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13253 for ac_header in tiffio.h
13254 do :
13255 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13256 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13257 cat >>confdefs.h <<_ACEOF
13258 #define HAVE_TIFFIO_H 1
13259 _ACEOF
13263 done
13265 if test "$ac_cv_header_tiffio_h" = "yes"
13266 then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13268 $as_echo_n "checking for -ltiff... " >&6; }
13269 if ${ac_cv_lib_soname_tiff+:} false; then :
13270 $as_echo_n "(cached) " >&6
13271 else
13272 ac_check_soname_save_LIBS=$LIBS
13273 LIBS="-ltiff $TIFF_LIBS $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 #endif
13283 char TIFFClientOpen ();
13285 main ()
13287 return TIFFClientOpen ();
13289 return 0;
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 case "$LIBEXT" in
13294 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_tiff:+false} :; then :
13298 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 fi ;;
13300 esac
13302 rm -f core conftest.err conftest.$ac_objext \
13303 conftest$ac_exeext conftest.$ac_ext
13304 LIBS=$ac_check_soname_save_LIBS
13306 if ${ac_cv_lib_soname_tiff:+false} :; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13308 $as_echo "not found" >&6; }
13310 else
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13312 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13314 cat >>confdefs.h <<_ACEOF
13315 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13316 _ACEOF
13321 CPPFLAGS=$ac_save_CPPFLAGS
13322 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13323 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13326 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13327 case "x$with_tiff" in
13328 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13329 xno) ;;
13330 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13331 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13332 esac
13335 if test "x$with_mpg123" != "xno"
13336 then
13337 if ${MPG123_CFLAGS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13343 if ${MPG123_LIBS:+false} :; then :
13344 if ${PKG_CONFIG+:} false; then :
13345 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13349 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13350 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13352 ac_save_CPPFLAGS=$CPPFLAGS
13353 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13354 for ac_header in mpg123.h
13355 do :
13356 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13357 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13358 cat >>confdefs.h <<_ACEOF
13359 #define HAVE_MPG123_H 1
13360 _ACEOF
13364 done
13366 if test "$ac_cv_header_mpg123_h" = "yes"
13367 then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13369 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13370 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13371 $as_echo_n "(cached) " >&6
13372 else
13373 ac_check_lib_save_LIBS=$LIBS
13374 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char mpg123_feed ();
13386 main ()
13388 return mpg123_feed ();
13390 return 0;
13392 _ACEOF
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_lib_mpg123_mpg123_feed=yes
13395 else
13396 ac_cv_lib_mpg123_mpg123_feed=no
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_lib_save_LIBS
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13403 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13404 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13406 else
13407 MPG123_LIBS=""
13410 else
13411 MPG123_CFLAGS=""
13412 MPG123_LIBS=""
13414 CPPFLAGS=$ac_save_CPPFLAGS
13415 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13416 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13419 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13420 case "x$with_mpg123" in
13421 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13422 xno) ;;
13423 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13424 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13425 esac
13427 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}
13429 if test "$ac_cv_header_AL_al_h" = "yes"
13430 then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13432 $as_echo_n "checking for -lopenal... " >&6; }
13433 if ${ac_cv_lib_soname_openal+:} false; then :
13434 $as_echo_n "(cached) " >&6
13435 else
13436 ac_check_soname_save_LIBS=$LIBS
13437 LIBS="-lopenal $LIBS"
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13441 /* Override any GCC internal prototype to avoid an error.
13442 Use char because int might match the return type of a GCC
13443 builtin and then its argument prototype would still apply. */
13444 #ifdef __cplusplus
13445 extern "C"
13446 #endif
13447 char alGetSource3i ();
13449 main ()
13451 return alGetSource3i ();
13453 return 0;
13455 _ACEOF
13456 if ac_fn_c_try_link "$LINENO"; then :
13457 case "$LIBEXT" in
13458 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13459 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'` ;;
13460 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13461 if ${ac_cv_lib_soname_openal:+false} :; then :
13462 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13463 fi ;;
13464 esac
13466 rm -f core conftest.err conftest.$ac_objext \
13467 conftest$ac_exeext conftest.$ac_ext
13468 LIBS=$ac_check_soname_save_LIBS
13470 if ${ac_cv_lib_soname_openal:+false} :; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13472 $as_echo "not found" >&6; }
13474 else
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13476 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13478 cat >>confdefs.h <<_ACEOF
13479 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13480 _ACEOF
13482 OPENAL_LIBS="-lopenal"
13484 ac_cv_lib_openal=yes
13486 cat >>confdefs.h <<_ACEOF
13487 #define HAVE_OPENAL 1
13488 _ACEOF
13492 if test "x$ac_cv_lib_openal" != xyes; then :
13493 case "x$with_openal" in
13494 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13495 xno) ;;
13496 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13497 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13498 esac
13500 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13502 if test "$ac_cv_header_kstat_h" = "yes"
13503 then
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13505 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13506 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13507 $as_echo_n "(cached) " >&6
13508 else
13509 ac_check_lib_save_LIBS=$LIBS
13510 LIBS="-lkstat $LIBS"
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13514 /* Override any GCC internal prototype to avoid an error.
13515 Use char because int might match the return type of a GCC
13516 builtin and then its argument prototype would still apply. */
13517 #ifdef __cplusplus
13518 extern "C"
13519 #endif
13520 char kstat_open ();
13522 main ()
13524 return kstat_open ();
13526 return 0;
13528 _ACEOF
13529 if ac_fn_c_try_link "$LINENO"; then :
13530 ac_cv_lib_kstat_kstat_open=yes
13531 else
13532 ac_cv_lib_kstat_kstat_open=no
13534 rm -f core conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13536 LIBS=$ac_check_lib_save_LIBS
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13539 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13540 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13542 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13544 KSTAT_LIBS="-lkstat"
13550 if test "$ac_cv_header_libprocstat_h" = "yes"
13551 then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13553 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13554 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_check_lib_save_LIBS=$LIBS
13558 LIBS="-lprocstat $LIBS"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char procstat_open_sysctl ();
13570 main ()
13572 return procstat_open_sysctl ();
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 ac_cv_lib_procstat_procstat_open_sysctl=yes
13579 else
13580 ac_cv_lib_procstat_procstat_open_sysctl=no
13582 rm -f core conftest.err conftest.$ac_objext \
13583 conftest$ac_exeext conftest.$ac_ext
13584 LIBS=$ac_check_lib_save_LIBS
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13587 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13588 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13590 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13592 PROCSTAT_LIBS="-lprocstat"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13599 $as_echo_n "checking for -lodbc... " >&6; }
13600 if ${ac_cv_lib_soname_odbc+:} false; then :
13601 $as_echo_n "(cached) " >&6
13602 else
13603 ac_check_soname_save_LIBS=$LIBS
13604 LIBS="-lodbc $LIBS"
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13608 /* Override any GCC internal prototype to avoid an error.
13609 Use char because int might match the return type of a GCC
13610 builtin and then its argument prototype would still apply. */
13611 #ifdef __cplusplus
13612 extern "C"
13613 #endif
13614 char SQLConnect ();
13616 main ()
13618 return SQLConnect ();
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_link "$LINENO"; then :
13624 case "$LIBEXT" in
13625 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13626 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'` ;;
13627 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13628 if ${ac_cv_lib_soname_odbc:+false} :; then :
13629 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13630 fi ;;
13631 esac
13633 rm -f core conftest.err conftest.$ac_objext \
13634 conftest$ac_exeext conftest.$ac_ext
13635 LIBS=$ac_check_soname_save_LIBS
13637 if ${ac_cv_lib_soname_odbc:+false} :; then :
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13639 $as_echo "not found" >&6; }
13640 cat >>confdefs.h <<_ACEOF
13641 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13642 _ACEOF
13644 else
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13646 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13648 cat >>confdefs.h <<_ACEOF
13649 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13650 _ACEOF
13655 if test "x$with_netapi" != "xno"
13656 then
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13658 $as_echo_n "checking for -lnetapi... " >&6; }
13659 if ${ac_cv_lib_soname_netapi+:} false; then :
13660 $as_echo_n "(cached) " >&6
13661 else
13662 ac_check_soname_save_LIBS=$LIBS
13663 LIBS="-lnetapi $LIBS"
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13667 /* Override any GCC internal prototype to avoid an error.
13668 Use char because int might match the return type of a GCC
13669 builtin and then its argument prototype would still apply. */
13670 #ifdef __cplusplus
13671 extern "C"
13672 #endif
13673 char libnetapi_init ();
13675 main ()
13677 return libnetapi_init ();
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"; then :
13683 case "$LIBEXT" in
13684 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13685 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'` ;;
13686 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13687 if ${ac_cv_lib_soname_netapi:+false} :; then :
13688 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13689 fi ;;
13690 esac
13692 rm -f core conftest.err conftest.$ac_objext \
13693 conftest$ac_exeext conftest.$ac_ext
13694 LIBS=$ac_check_soname_save_LIBS
13696 if ${ac_cv_lib_soname_netapi:+false} :; then :
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13698 $as_echo "not found" >&6; }
13699 cat >>confdefs.h <<_ACEOF
13700 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13701 _ACEOF
13703 else
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13705 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13707 cat >>confdefs.h <<_ACEOF
13708 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13709 _ACEOF
13715 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13716 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13717 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13718 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13720 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13721 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13722 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13723 then
13724 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13728 EXTRACFLAGS=""
13730 if test "x${GCC}" = "xyes"
13731 then
13732 EXTRACFLAGS="-Wall -pipe"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13735 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13736 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 if test "$cross_compiling" = yes; then :
13740 ac_cv_c_gcc_strength_bug="yes"
13741 else
13742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13744 int L[4] = {0,1,2,3};
13746 main ()
13748 static int Array[3];
13749 unsigned int B = 3;
13750 int i;
13751 for(i=0; i<B; i++) Array[i] = i - 3;
13752 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13753 L[i] = 4;
13754 return (Array[1] != -2 || L[2] != 3)
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_run "$LINENO"; then :
13760 ac_cv_c_gcc_strength_bug="no"
13761 else
13762 ac_cv_c_gcc_strength_bug="yes"
13764 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13765 conftest.$ac_objext conftest.beam conftest.$ac_ext
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13770 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13771 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13772 then
13773 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13777 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13778 if ${ac_cv_cflags__fno_builtin+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 ac_wine_try_cflags_saved=$CFLAGS
13782 CFLAGS="$CFLAGS -fno-builtin"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13785 int main(int argc, char **argv) { return 0; }
13786 _ACEOF
13787 if ac_fn_c_try_link "$LINENO"; then :
13788 ac_cv_cflags__fno_builtin=yes
13789 else
13790 ac_cv_cflags__fno_builtin=no
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 CFLAGS=$ac_wine_try_cflags_saved
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13797 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13798 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13799 BUILTINFLAG="-fno-builtin"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13803 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13804 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_wine_try_cflags_saved=$CFLAGS
13808 CFLAGS="$CFLAGS -fno-strict-aliasing"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13811 int main(int argc, char **argv) { return 0; }
13812 _ACEOF
13813 if ac_fn_c_try_link "$LINENO"; then :
13814 ac_cv_cflags__fno_strict_aliasing=yes
13815 else
13816 ac_cv_cflags__fno_strict_aliasing=no
13818 rm -f core conftest.err conftest.$ac_objext \
13819 conftest$ac_exeext conftest.$ac_ext
13820 CFLAGS=$ac_wine_try_cflags_saved
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13823 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13824 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13825 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13827 saved_CFLAGS=$CFLAGS
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13829 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13830 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_wine_try_cflags_saved=$CFLAGS
13834 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 int main(int argc, char **argv) { return 0; }
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_cflags__Werror_unknown_warning_option=yes
13841 else
13842 ac_cv_cflags__Werror_unknown_warning_option=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 CFLAGS=$ac_wine_try_cflags_saved
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13849 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13850 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13851 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13854 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13855 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13856 $as_echo_n "(cached) " >&6
13857 else
13858 ac_wine_try_cflags_saved=$CFLAGS
13859 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13862 int main(int argc, char **argv) { return 0; }
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 ac_cv_cflags__Wdeclaration_after_statement=yes
13866 else
13867 ac_cv_cflags__Wdeclaration_after_statement=no
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 CFLAGS=$ac_wine_try_cflags_saved
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13874 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13875 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13876 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13879 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13880 if ${ac_cv_cflags__Wempty_body+:} false; then :
13881 $as_echo_n "(cached) " >&6
13882 else
13883 ac_wine_try_cflags_saved=$CFLAGS
13884 CFLAGS="$CFLAGS -Wempty-body"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13887 int main(int argc, char **argv) { return 0; }
13888 _ACEOF
13889 if ac_fn_c_try_link "$LINENO"; then :
13890 ac_cv_cflags__Wempty_body=yes
13891 else
13892 ac_cv_cflags__Wempty_body=no
13894 rm -f core conftest.err conftest.$ac_objext \
13895 conftest$ac_exeext conftest.$ac_ext
13896 CFLAGS=$ac_wine_try_cflags_saved
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13899 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13900 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13901 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13904 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13905 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 ac_wine_try_cflags_saved=$CFLAGS
13909 CFLAGS="$CFLAGS -Wignored-qualifiers"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13912 int main(int argc, char **argv) { return 0; }
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 ac_cv_cflags__Wignored_qualifiers=yes
13916 else
13917 ac_cv_cflags__Wignored_qualifiers=no
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 CFLAGS=$ac_wine_try_cflags_saved
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13924 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13925 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13926 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13929 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13930 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13931 $as_echo_n "(cached) " >&6
13932 else
13933 ac_wine_try_cflags_saved=$CFLAGS
13934 CFLAGS="$CFLAGS -Wstrict-prototypes"
13935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13937 int main(int argc, char **argv) { return 0; }
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"; then :
13940 ac_cv_cflags__Wstrict_prototypes=yes
13941 else
13942 ac_cv_cflags__Wstrict_prototypes=no
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 CFLAGS=$ac_wine_try_cflags_saved
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13949 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13950 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13951 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13954 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13955 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13956 $as_echo_n "(cached) " >&6
13957 else
13958 ac_wine_try_cflags_saved=$CFLAGS
13959 CFLAGS="$CFLAGS -Wtype-limits"
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 int main(int argc, char **argv) { return 0; }
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 ac_cv_cflags__Wtype_limits=yes
13966 else
13967 ac_cv_cflags__Wtype_limits=no
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 CFLAGS=$ac_wine_try_cflags_saved
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13974 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13975 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13976 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13979 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13980 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 ac_wine_try_cflags_saved=$CFLAGS
13984 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 int main(int argc, char **argv) { return 0; }
13988 _ACEOF
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_cflags__Wunused_but_set_parameter=yes
13991 else
13992 ac_cv_cflags__Wunused_but_set_parameter=no
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13996 CFLAGS=$ac_wine_try_cflags_saved
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13999 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14000 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14001 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14004 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14005 if ${ac_cv_cflags__Wvla+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_wine_try_cflags_saved=$CFLAGS
14009 CFLAGS="$CFLAGS -Wvla"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14012 int main(int argc, char **argv) { return 0; }
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 ac_cv_cflags__Wvla=yes
14016 else
14017 ac_cv_cflags__Wvla=no
14019 rm -f core conftest.err conftest.$ac_objext \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14024 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14025 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14026 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14029 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14030 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14031 $as_echo_n "(cached) " >&6
14032 else
14033 ac_wine_try_cflags_saved=$CFLAGS
14034 CFLAGS="$CFLAGS -Wwrite-strings"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 int main(int argc, char **argv) { return 0; }
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_cflags__Wwrite_strings=yes
14041 else
14042 ac_cv_cflags__Wwrite_strings=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 CFLAGS=$ac_wine_try_cflags_saved
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14049 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14050 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14051 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14055 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14056 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_wine_try_cflags_saved=$CFLAGS
14060 CFLAGS="$CFLAGS -Wpointer-arith"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 int main(int argc, char **argv) { return 0; }
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_cflags__Wpointer_arith=yes
14067 else
14068 ac_cv_cflags__Wpointer_arith=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 CFLAGS=$ac_wine_try_cflags_saved
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14075 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14076 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14077 saved_string_h_CFLAGS=$CFLAGS
14078 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14080 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14081 if ${ac_cv_c_string_h_warnings+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085 /* end confdefs.h. */
14086 #include <string.h>
14088 main ()
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_compile "$LINENO"; then :
14096 ac_cv_c_string_h_warnings=no
14097 else
14098 ac_cv_c_string_h_warnings=yes
14100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14103 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14104 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14105 CFLAGS=$saved_string_h_CFLAGS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14109 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14110 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_wine_try_cflags_saved=$CFLAGS
14114 CFLAGS="$CFLAGS -Wlogical-op"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_cflags__Wlogical_op=yes
14121 else
14122 ac_cv_cflags__Wlogical_op=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 CFLAGS=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14129 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14130 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14131 saved_string_h_CFLAGS=$CFLAGS
14132 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14134 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14135 if ${ac_cv_c_logicalop_noisy+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #include <string.h>
14141 char*f(const char *h,char n) {return strchr(h,n);}
14143 main ()
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_compile "$LINENO"; then :
14151 ac_cv_c_logicalop_noisy=no
14152 else
14153 ac_cv_c_logicalop_noisy=yes
14155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14158 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14159 CFLAGS=$saved_string_h_CFLAGS
14160 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14163 CFLAGS=$saved_CFLAGS
14165 for ac_flag in $CFLAGS; do
14166 case $ac_flag in
14167 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14168 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14169 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14170 $as_echo_n "(cached) " >&6
14171 else
14172 ac_wine_try_cflags_saved=$CFLAGS
14173 CFLAGS="$CFLAGS -gdwarf-2"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14176 int main(int argc, char **argv) { return 0; }
14177 _ACEOF
14178 if ac_fn_c_try_link "$LINENO"; then :
14179 ac_cv_cflags__gdwarf_2=yes
14180 else
14181 ac_cv_cflags__gdwarf_2=no
14183 rm -f core conftest.err conftest.$ac_objext \
14184 conftest$ac_exeext conftest.$ac_ext
14185 CFLAGS=$ac_wine_try_cflags_saved
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14188 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14189 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14190 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14193 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14194 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14195 $as_echo_n "(cached) " >&6
14196 else
14197 ac_wine_try_cflags_saved=$CFLAGS
14198 CFLAGS="$CFLAGS -gstrict-dwarf"
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14201 int main(int argc, char **argv) { return 0; }
14202 _ACEOF
14203 if ac_fn_c_try_link "$LINENO"; then :
14204 ac_cv_cflags__gstrict_dwarf=yes
14205 else
14206 ac_cv_cflags__gstrict_dwarf=no
14208 rm -f core conftest.err conftest.$ac_objext \
14209 conftest$ac_exeext conftest.$ac_ext
14210 CFLAGS=$ac_wine_try_cflags_saved
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14213 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14214 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14215 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14216 fi ;;
14217 esac
14218 done
14220 case $host_cpu in
14221 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14222 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14223 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14224 $as_echo_n "(cached) " >&6
14225 else
14226 ac_wine_try_cflags_saved=$CFLAGS
14227 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14229 /* end confdefs.h. */
14230 int main(int argc, char **argv) { return 0; }
14231 _ACEOF
14232 if ac_fn_c_try_link "$LINENO"; then :
14233 ac_cv_cflags__fno_omit_frame_pointer=yes
14234 else
14235 ac_cv_cflags__fno_omit_frame_pointer=no
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14239 CFLAGS=$ac_wine_try_cflags_saved
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14242 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14243 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14244 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14245 fi ;;
14246 esac
14248 case $host in
14249 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14250 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14251 if ${ac_cv_cflags__Wno_format+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_wine_try_cflags_saved=$CFLAGS
14255 CFLAGS="$CFLAGS -Wno-format"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 int main(int argc, char **argv) { return 0; }
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 ac_cv_cflags__Wno_format=yes
14262 else
14263 ac_cv_cflags__Wno_format=no
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14267 CFLAGS=$ac_wine_try_cflags_saved
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14270 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14271 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14272 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14273 fi ;;
14274 esac
14276 if test "x$enable_maintainer_mode" = "xyes"
14277 then
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14279 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14280 if ${ac_cv_cflags__Werror+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -Werror"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_cflags__Werror=yes
14291 else
14292 ac_cv_cflags__Werror=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 CFLAGS=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14299 $as_echo "$ac_cv_cflags__Werror" >&6; }
14300 if test "x$ac_cv_cflags__Werror" = xyes; then :
14301 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14305 saved_CFLAGS="$CFLAGS"
14306 CFLAGS="$CFLAGS -Werror"
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14308 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14309 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14310 $as_echo_n "(cached) " >&6
14311 else
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14316 main ()
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_compile "$LINENO"; then :
14324 ac_cv_have_ms_hook_prologue="yes"
14325 else
14326 ac_cv_have_ms_hook_prologue="no"
14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14331 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14332 CFLAGS="$saved_CFLAGS"
14333 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14334 then
14336 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14338 else
14339 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14346 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14347 if ${ac_cv_c_fortify_enabled+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14352 #include <string.h>
14354 main ()
14356 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14357 #error Fortify enabled
14358 #endif
14360 return 0;
14362 _ACEOF
14363 if ac_fn_c_try_compile "$LINENO"; then :
14364 ac_cv_c_fortify_enabled=no
14365 else
14366 ac_cv_c_fortify_enabled=yes
14368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14371 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14372 if test "$ac_cv_c_fortify_enabled" = yes
14373 then
14374 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14379 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14380 if ${ac_cv_c_extern_prefix+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14385 extern int ac_test;
14387 main ()
14389 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14391 return 0;
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_c_extern_prefix="yes"
14396 else
14397 ac_cv_c_extern_prefix="no"
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14403 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14405 case $host_cpu in
14406 *i[3456789]86*)
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14408 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14409 if ${ac_cv_c_stdcall_suffix+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 #ifndef _MSC_VER
14415 #define __stdcall __attribute__((__stdcall__))
14416 #endif
14417 int __stdcall ac_test(int i) { return i; }
14419 main ()
14421 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14423 return 0;
14425 _ACEOF
14426 if ac_fn_c_try_link "$LINENO"; then :
14427 ac_cv_c_stdcall_suffix="yes"
14428 else
14429 ac_cv_c_stdcall_suffix="no"
14431 rm -f core conftest.err conftest.$ac_objext \
14432 conftest$ac_exeext conftest.$ac_ext
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14435 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14436 *) ac_cv_c_stdcall_suffix="no" ;;
14437 esac
14440 if test "$ac_cv_c_extern_prefix" = "yes"
14441 then
14442 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14444 asm_name_prefix="_"
14445 else
14446 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14448 asm_name_prefix=""
14452 if test "$ac_cv_c_stdcall_suffix" = "yes"
14453 then
14454 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14456 else
14457 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14463 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14464 if ${ac_cv_asm_func_def+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14468 /* end confdefs.h. */
14471 main ()
14473 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14475 return 0;
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_asm_func_def=".def"
14480 else
14481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14485 main ()
14487 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_asm_func_def=".type @function"
14494 else
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14499 main ()
14501 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14503 return 0;
14505 _ACEOF
14506 if ac_fn_c_try_link "$LINENO"; then :
14507 ac_cv_asm_func_def=".type 2"
14508 else
14509 ac_cv_asm_func_def="unknown"
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14521 $as_echo "$ac_cv_asm_func_def" >&6; }
14524 case "$ac_cv_asm_func_def" in
14525 ".def")
14526 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14528 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14529 ".type @function")
14530 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14532 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14533 ".type 2")
14534 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14536 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14538 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14540 asm_func_header="" ;;
14541 esac
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14544 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14545 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 asm(".text\n\t.long 0");
14552 main ()
14556 return 0;
14558 _ACEOF
14559 if ac_fn_c_try_compile "$LINENO"; then :
14560 ac_cv_c_asm_outside_funcs="yes"
14561 else
14562 ac_cv_c_asm_outside_funcs="no"
14564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14567 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14570 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14571 if ${ac_cv_c_dot_previous+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14578 main ()
14580 asm(".text\nac_test:\t.long 0\n\t.previous");
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"; then :
14586 ac_cv_c_dot_previous="yes"
14587 else
14588 ac_cv_c_dot_previous="no"
14590 rm -f core conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14594 $as_echo "$ac_cv_c_dot_previous" >&6; }
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14597 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14598 if ${ac_cv_c_cfi_support+:} false; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14602 /* end confdefs.h. */
14603 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14605 main ()
14609 return 0;
14611 _ACEOF
14612 if ac_fn_c_try_compile "$LINENO"; then :
14613 ac_cv_c_cfi_support="yes"
14614 else
14615 ac_cv_c_cfi_support="no"
14617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14620 $as_echo "$ac_cv_c_cfi_support" >&6; }
14622 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14623 asm_func_trailer=""
14624 if test "$ac_cv_c_dot_previous" = "yes"
14625 then
14626 asm_func_trailer="\\n\\t.previous"
14628 if test "$ac_cv_c_cfi_support" = "yes"
14629 then
14630 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14631 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14633 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14635 UNWINDFLAGS=-fasynchronous-unwind-tables
14637 else
14638 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14640 if test "x$enable_win64" = "xyes"
14641 then
14642 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14646 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14649 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14650 then
14651 cat >>confdefs.h <<_ACEOF
14652 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14653 _ACEOF
14655 else
14656 cat >>confdefs.h <<_ACEOF
14657 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14658 _ACEOF
14662 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14665 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14669 case $build_os in
14670 cygwin*|mingw32*) TOOLSEXT=".exe"
14672 esac
14674 case $host_os in
14675 linux*)
14676 case $host_cpu in
14677 *i[3456789]86*|x86_64*)
14678 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14679 loader_programs="$loader_programs $wine_binary-preloader"
14680 as_fn_append LOADER_RULES "
14681 $wine_binary-preloader: preloader.o
14682 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14684 install install-lib:: $wine_binary-preloader
14685 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14687 uninstall::
14688 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14690 preloader_EXTRADEFS = $BUILTINFLAG
14691 " ;;
14692 esac
14694 esac
14695 as_fn_append LOADER_RULES "
14696 PROGRAMS = $loader_programs
14700 ac_save_CFLAGS="$CFLAGS"
14701 CFLAGS="$CFLAGS $BUILTINFLAG"
14702 for ac_func in \
14703 __res_get_state \
14704 __res_getservers \
14705 _finite \
14706 _isnan \
14707 _pclose \
14708 _popen \
14709 _snprintf \
14710 _spawnvp \
14711 _strdup \
14712 _stricmp \
14713 _strnicmp \
14714 _strtoi64 \
14715 _strtoui64 \
14716 _vsnprintf \
14717 asctime_r \
14718 chsize \
14719 dlopen \
14720 epoll_create \
14721 ffs \
14722 finitef \
14723 fnmatch \
14724 fork \
14725 fpclass \
14726 fstatfs \
14727 fstatvfs \
14728 ftruncate \
14729 futimens \
14730 futimes \
14731 futimesat \
14732 getattrlist \
14733 getdirentries \
14734 getopt_long_only \
14735 getpwuid \
14736 gettimeofday \
14737 getuid \
14738 if_nameindex \
14739 isnanf \
14740 kqueue \
14741 lstat \
14742 memmove \
14743 mmap \
14744 pclose \
14745 pipe2 \
14746 poll \
14747 popen \
14748 port_create \
14749 prctl \
14750 pread \
14751 proc_pidinfo \
14752 pwrite \
14753 readdir \
14754 readlink \
14755 sched_yield \
14756 select \
14757 setproctitle \
14758 setrlimit \
14759 settimeofday \
14760 sigaltstack \
14761 sigprocmask \
14762 snprintf \
14763 statfs \
14764 statvfs \
14765 strcasecmp \
14766 strdup \
14767 strerror \
14768 strncasecmp \
14769 strtold \
14770 strtoll \
14771 strtoull \
14772 symlink \
14773 tcdrain \
14774 thr_kill2 \
14775 timegm \
14776 usleep \
14777 vsnprintf
14779 do :
14780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14782 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14783 cat >>confdefs.h <<_ACEOF
14784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14785 _ACEOF
14788 done
14790 CFLAGS="$ac_save_CFLAGS"
14792 if test "$ac_cv_func_dlopen" = no
14793 then
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14795 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14796 if ${ac_cv_lib_dl_dlopen+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_check_lib_save_LIBS=$LIBS
14800 LIBS="-ldl $LIBS"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char dlopen ();
14812 main ()
14814 return dlopen ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_lib_dl_dlopen=yes
14821 else
14822 ac_cv_lib_dl_dlopen=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 LIBS=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14829 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14830 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14831 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14832 DL_LIBS="-ldl"
14837 ac_wine_check_funcs_save_LIBS="$LIBS"
14838 LIBS="$LIBS $DL_LIBS"
14839 for ac_func in dladdr
14840 do :
14841 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14842 if test "x$ac_cv_func_dladdr" = xyes; then :
14843 cat >>confdefs.h <<_ACEOF
14844 #define HAVE_DLADDR 1
14845 _ACEOF
14848 done
14850 LIBS="$ac_wine_check_funcs_save_LIBS"
14852 if test "$ac_cv_func_poll" = no
14853 then
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14855 $as_echo_n "checking for poll in -lpoll... " >&6; }
14856 if ${ac_cv_lib_poll_poll+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_check_lib_save_LIBS=$LIBS
14860 LIBS="-lpoll $LIBS"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14867 #ifdef __cplusplus
14868 extern "C"
14869 #endif
14870 char poll ();
14872 main ()
14874 return poll ();
14876 return 0;
14878 _ACEOF
14879 if ac_fn_c_try_link "$LINENO"; then :
14880 ac_cv_lib_poll_poll=yes
14881 else
14882 ac_cv_lib_poll_poll=no
14884 rm -f core conftest.err conftest.$ac_objext \
14885 conftest$ac_exeext conftest.$ac_ext
14886 LIBS=$ac_check_lib_save_LIBS
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14889 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14890 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14891 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14892 POLL_LIBS="-lpoll"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14899 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14900 if ${ac_cv_search_gethostbyname+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_func_search_save_LIBS=$LIBS
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14910 #ifdef __cplusplus
14911 extern "C"
14912 #endif
14913 char gethostbyname ();
14915 main ()
14917 return gethostbyname ();
14919 return 0;
14921 _ACEOF
14922 for ac_lib in '' nsl; do
14923 if test -z "$ac_lib"; then
14924 ac_res="none required"
14925 else
14926 ac_res=-l$ac_lib
14927 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14929 if ac_fn_c_try_link "$LINENO"; then :
14930 ac_cv_search_gethostbyname=$ac_res
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext
14934 if ${ac_cv_search_gethostbyname+:} false; then :
14935 break
14937 done
14938 if ${ac_cv_search_gethostbyname+:} false; then :
14940 else
14941 ac_cv_search_gethostbyname=no
14943 rm conftest.$ac_ext
14944 LIBS=$ac_func_search_save_LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14947 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14948 ac_res=$ac_cv_search_gethostbyname
14949 if test "$ac_res" != no; then :
14950 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14956 $as_echo_n "checking for library containing connect... " >&6; }
14957 if ${ac_cv_search_connect+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 ac_func_search_save_LIBS=$LIBS
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14967 #ifdef __cplusplus
14968 extern "C"
14969 #endif
14970 char connect ();
14972 main ()
14974 return connect ();
14976 return 0;
14978 _ACEOF
14979 for ac_lib in '' socket; do
14980 if test -z "$ac_lib"; then
14981 ac_res="none required"
14982 else
14983 ac_res=-l$ac_lib
14984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_search_connect=$ac_res
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext
14991 if ${ac_cv_search_connect+:} false; then :
14992 break
14994 done
14995 if ${ac_cv_search_connect+:} false; then :
14997 else
14998 ac_cv_search_connect=no
15000 rm conftest.$ac_ext
15001 LIBS=$ac_func_search_save_LIBS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15004 $as_echo "$ac_cv_search_connect" >&6; }
15005 ac_res=$ac_cv_search_connect
15006 if test "$ac_res" != no; then :
15007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15013 $as_echo_n "checking for library containing inet_aton... " >&6; }
15014 if ${ac_cv_search_inet_aton+:} false; then :
15015 $as_echo_n "(cached) " >&6
15016 else
15017 ac_func_search_save_LIBS=$LIBS
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15024 #ifdef __cplusplus
15025 extern "C"
15026 #endif
15027 char inet_aton ();
15029 main ()
15031 return inet_aton ();
15033 return 0;
15035 _ACEOF
15036 for ac_lib in '' resolv; do
15037 if test -z "$ac_lib"; then
15038 ac_res="none required"
15039 else
15040 ac_res=-l$ac_lib
15041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15043 if ac_fn_c_try_link "$LINENO"; then :
15044 ac_cv_search_inet_aton=$ac_res
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext
15048 if ${ac_cv_search_inet_aton+:} false; then :
15049 break
15051 done
15052 if ${ac_cv_search_inet_aton+:} false; then :
15054 else
15055 ac_cv_search_inet_aton=no
15057 rm conftest.$ac_ext
15058 LIBS=$ac_func_search_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15061 $as_echo "$ac_cv_search_inet_aton" >&6; }
15062 ac_res=$ac_cv_search_inet_aton
15063 if test "$ac_res" != no; then :
15064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15069 for ac_func in \
15070 getaddrinfo \
15071 getnameinfo \
15072 getnetbyname \
15073 getprotobyname \
15074 getprotobynumber \
15075 getservbyport \
15076 inet_addr \
15077 inet_network \
15078 inet_ntop \
15079 inet_pton \
15080 sendmsg \
15081 socketpair \
15083 do :
15084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15087 cat >>confdefs.h <<_ACEOF
15088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15089 _ACEOF
15092 done
15095 ac_save_LIBS=$LIBS
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15097 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15098 if ${ac_cv_search_clock_gettime+:} false; then :
15099 $as_echo_n "(cached) " >&6
15100 else
15101 ac_func_search_save_LIBS=$LIBS
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15108 #ifdef __cplusplus
15109 extern "C"
15110 #endif
15111 char clock_gettime ();
15113 main ()
15115 return clock_gettime ();
15117 return 0;
15119 _ACEOF
15120 for ac_lib in '' rt; do
15121 if test -z "$ac_lib"; then
15122 ac_res="none required"
15123 else
15124 ac_res=-l$ac_lib
15125 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15127 if ac_fn_c_try_link "$LINENO"; then :
15128 ac_cv_search_clock_gettime=$ac_res
15130 rm -f core conftest.err conftest.$ac_objext \
15131 conftest$ac_exeext
15132 if ${ac_cv_search_clock_gettime+:} false; then :
15133 break
15135 done
15136 if ${ac_cv_search_clock_gettime+:} false; then :
15138 else
15139 ac_cv_search_clock_gettime=no
15141 rm conftest.$ac_ext
15142 LIBS=$ac_func_search_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15145 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15146 ac_res=$ac_cv_search_clock_gettime
15147 if test "$ac_res" != no; then :
15148 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15150 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15152 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15156 LIBS=$ac_save_LIBS
15158 LDAP_LIBS=""
15160 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15161 then
15162 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15164 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15166 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15167 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15168 $as_echo_n "(cached) " >&6
15169 else
15170 ac_check_lib_save_LIBS=$LIBS
15171 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char ldap_initialize ();
15183 main ()
15185 return ldap_initialize ();
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_link "$LINENO"; then :
15191 ac_cv_lib_ldap_r_ldap_initialize=yes
15192 else
15193 ac_cv_lib_ldap_r_ldap_initialize=no
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15197 LIBS=$ac_check_lib_save_LIBS
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15200 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15201 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15203 $as_echo_n "checking for ber_init in -llber... " >&6; }
15204 if ${ac_cv_lib_lber_ber_init+:} false; then :
15205 $as_echo_n "(cached) " >&6
15206 else
15207 ac_check_lib_save_LIBS=$LIBS
15208 LIBS="-llber $PTHREAD_LIBS $LIBS"
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 #ifdef __cplusplus
15216 extern "C"
15217 #endif
15218 char ber_init ();
15220 main ()
15222 return ber_init ();
15224 return 0;
15226 _ACEOF
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 ac_cv_lib_lber_ber_init=yes
15229 else
15230 ac_cv_lib_lber_ber_init=no
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_check_lib_save_LIBS
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15237 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15238 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15240 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15242 LDAP_LIBS="-lldap_r -llber"
15249 ac_wine_check_funcs_save_LIBS="$LIBS"
15250 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15251 for ac_func in \
15252 ldap_count_references \
15253 ldap_first_reference \
15254 ldap_next_reference \
15255 ldap_parse_reference \
15256 ldap_parse_sort_control \
15257 ldap_parse_sortresponse_control \
15258 ldap_parse_vlv_control \
15259 ldap_parse_vlvresponse_control
15260 do :
15261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15264 cat >>confdefs.h <<_ACEOF
15265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15266 _ACEOF
15269 done
15271 LIBS="$ac_wine_check_funcs_save_LIBS"
15273 if test "x$LDAP_LIBS" = "x"; then :
15274 case "x$with_ldap" in
15275 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15276 xno) ;;
15277 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15278 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15279 esac
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15283 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15284 if ${wine_cv_one_arg_mkdir+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <sys/stat.h>
15291 main ()
15293 mkdir("foo");
15295 return 0;
15297 _ACEOF
15298 if ac_fn_c_try_compile "$LINENO"; then :
15299 wine_cv_one_arg_mkdir=yes
15300 else
15301 wine_cv_one_arg_mkdir=no
15303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15306 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15307 if test "$wine_cv_one_arg_mkdir" = "yes"
15308 then
15310 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15315 $as_echo_n "checking for sched_setaffinity... " >&6; }
15316 if ${wine_cv_have_sched_setaffinity+:} false; then :
15317 $as_echo_n "(cached) " >&6
15318 else
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #define _GNU_SOURCE
15322 #include <sched.h>
15324 main ()
15326 sched_setaffinity(0, 0, 0);
15328 return 0;
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"; then :
15332 wine_cv_have_sched_setaffinity=yes
15333 else
15334 wine_cv_have_sched_setaffinity=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15340 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15341 if test "$wine_cv_have_sched_setaffinity" = "yes"
15342 then
15344 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15349 $as_echo_n "checking for fallocate... " >&6; }
15350 if ${wine_cv_have_fallocate+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 #define _GNU_SOURCE
15356 #include <fcntl.h>
15358 main ()
15360 fallocate(-1, 0, 0, 0);
15362 return 0;
15364 _ACEOF
15365 if ac_fn_c_try_link "$LINENO"; then :
15366 wine_cv_have_fallocate=yes
15367 else
15368 wine_cv_have_fallocate=no
15370 rm -f core conftest.err conftest.$ac_objext \
15371 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15374 $as_echo "$wine_cv_have_fallocate" >&6; }
15375 if test "$wine_cv_have_fallocate" = "yes"
15376 then
15378 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15384 $as_echo_n "checking for inline... " >&6; }
15385 if ${ac_cv_c_inline+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 ac_cv_c_inline=no
15389 for ac_kw in inline __inline__ __inline; do
15390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 #ifndef __cplusplus
15393 typedef int foo_t;
15394 static $ac_kw foo_t static_foo () {return 0; }
15395 $ac_kw foo_t foo () {return 0; }
15396 #endif
15398 _ACEOF
15399 if ac_fn_c_try_compile "$LINENO"; then :
15400 ac_cv_c_inline=$ac_kw
15402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15403 test "$ac_cv_c_inline" != no && break
15404 done
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15408 $as_echo "$ac_cv_c_inline" >&6; }
15410 case $ac_cv_c_inline in
15411 inline | yes) ;;
15413 case $ac_cv_c_inline in
15414 no) ac_val=;;
15415 *) ac_val=$ac_cv_c_inline;;
15416 esac
15417 cat >>confdefs.h <<_ACEOF
15418 #ifndef __cplusplus
15419 #define inline $ac_val
15420 #endif
15421 _ACEOF
15423 esac
15425 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15426 if test "x$ac_cv_type_mode_t" = xyes; then :
15428 cat >>confdefs.h <<_ACEOF
15429 #define HAVE_MODE_T 1
15430 _ACEOF
15434 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15435 if test "x$ac_cv_type_off_t" = xyes; then :
15437 cat >>confdefs.h <<_ACEOF
15438 #define HAVE_OFF_T 1
15439 _ACEOF
15443 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15444 if test "x$ac_cv_type_pid_t" = xyes; then :
15446 cat >>confdefs.h <<_ACEOF
15447 #define HAVE_PID_T 1
15448 _ACEOF
15452 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15453 if test "x$ac_cv_type_size_t" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_SIZE_T 1
15457 _ACEOF
15461 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15462 if test "x$ac_cv_type_ssize_t" = xyes; then :
15464 cat >>confdefs.h <<_ACEOF
15465 #define HAVE_SSIZE_T 1
15466 _ACEOF
15470 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15471 if test "x$ac_cv_type_long_long" = xyes; then :
15473 cat >>confdefs.h <<_ACEOF
15474 #define HAVE_LONG_LONG 1
15475 _ACEOF
15479 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15480 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15482 cat >>confdefs.h <<_ACEOF
15483 #define HAVE_FSBLKCNT_T 1
15484 _ACEOF
15488 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15489 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_FSFILCNT_T 1
15493 _ACEOF
15498 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15499 #include <signal.h>
15501 if test "x$ac_cv_type_sigset_t" = xyes; then :
15503 cat >>confdefs.h <<_ACEOF
15504 #define HAVE_SIGSET_T 1
15505 _ACEOF
15510 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15512 if test "x$ac_cv_type_request_sense" = xyes; then :
15514 cat >>confdefs.h <<_ACEOF
15515 #define HAVE_REQUEST_SENSE 1
15516 _ACEOF
15522 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15523 #ifdef HAVE_SYS_SOCKET_H
15524 #include <sys/socket.h>
15525 #endif
15526 #ifdef HAVE_SYS_SOCKETVAR_H
15527 #include <sys/socketvar.h>
15528 #endif
15529 #ifdef HAVE_NET_ROUTE_H
15530 #include <net/route.h>
15531 #endif
15532 #ifdef HAVE_NETINET_IN_H
15533 #include <netinet/in.h>
15534 #endif
15535 #ifdef HAVE_NETINET_IN_SYSTM_H
15536 #include <netinet/in_systm.h>
15537 #endif
15538 #ifdef HAVE_NETINET_IP_H
15539 #include <netinet/ip.h>
15540 #endif
15541 #ifdef HAVE_NETINET_IN_PCB_H
15542 #include <netinet/in_pcb.h>
15543 #endif
15545 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15547 cat >>confdefs.h <<_ACEOF
15548 #define HAVE_STRUCT_XINPGEN 1
15549 _ACEOF
15555 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15556 #include <link.h>
15557 #endif
15558 #ifdef HAVE_SYS_LINK_H
15559 #include <sys/link.h>
15560 #endif
15562 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15564 cat >>confdefs.h <<_ACEOF
15565 #define HAVE_STRUCT_R_DEBUG 1
15566 _ACEOF
15570 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15571 #include <link.h>
15572 #endif
15573 #ifdef HAVE_SYS_LINK_H
15574 #include <sys/link.h>
15575 #endif
15577 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15579 cat >>confdefs.h <<_ACEOF
15580 #define HAVE_STRUCT_LINK_MAP 1
15581 _ACEOF
15587 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15588 #include <linux/input.h>
15589 #endif
15591 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15593 cat >>confdefs.h <<_ACEOF
15594 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15595 _ACEOF
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15602 $as_echo_n "checking for sigaddset... " >&6; }
15603 if ${wine_cv_have_sigaddset+:} false; then :
15604 $as_echo_n "(cached) " >&6
15605 else
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 #include <signal.h>
15610 main ()
15612 sigset_t set; sigaddset(&set,SIGTERM);
15614 return 0;
15616 _ACEOF
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 wine_cv_have_sigaddset=yes
15619 else
15620 wine_cv_have_sigaddset=no
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15626 $as_echo "$wine_cv_have_sigaddset" >&6; }
15627 if test "$wine_cv_have_sigaddset" = "yes"
15628 then
15630 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15636 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15637 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15638 $as_echo_n "(cached) " >&6
15639 else
15640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15642 #include <netdb.h>
15644 main ()
15647 char *name=0;
15648 struct hostent he;
15649 struct hostent *result;
15650 char *buf=0;
15651 int bufsize=0;
15652 int errnr;
15653 char *addr=0;
15654 int addrlen=0;
15655 int addrtype=0;
15656 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15657 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15660 return 0;
15662 _ACEOF
15663 if ac_fn_c_try_link "$LINENO"; then :
15664 wine_cv_linux_gethostbyname_r_6=yes
15665 else
15666 wine_cv_linux_gethostbyname_r_6=no
15669 rm -f core conftest.err conftest.$ac_objext \
15670 conftest$ac_exeext conftest.$ac_ext
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15674 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15675 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15676 then
15678 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15682 if test "$ac_cv_header_linux_joystick_h" = "yes"
15683 then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15685 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15686 if ${wine_cv_linux_joystick_22_api+:} false; then :
15687 $as_echo_n "(cached) " >&6
15688 else
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 #include <sys/ioctl.h>
15693 #include <sys/types.h>
15694 #include <linux/joystick.h>
15696 struct js_event blub;
15697 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15698 #error "no 2.2 header"
15699 #endif
15702 main ()
15704 /*empty*/
15706 return 0;
15708 _ACEOF
15709 if ac_fn_c_try_compile "$LINENO"; then :
15710 wine_cv_linux_joystick_22_api=yes
15711 else
15712 wine_cv_linux_joystick_22_api=no
15714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15718 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15719 if test "$wine_cv_linux_joystick_22_api" = "yes"
15720 then
15722 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15728 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15729 #ifdef HAVE_SYS_PARAM_H
15730 # include <sys/param.h>
15731 #endif
15732 #ifdef HAVE_SYS_MOUNT_H
15733 # include <sys/mount.h>
15734 #endif
15735 #ifdef HAVE_SYS_VFS_H
15736 # include <sys/vfs.h>
15737 #endif
15738 #ifdef HAVE_SYS_STATFS_H
15739 # include <sys/statfs.h>
15740 #endif
15742 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_STRUCT_STATFS_F_BFREE 1
15746 _ACEOF
15750 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15751 #ifdef HAVE_SYS_PARAM_H
15752 # include <sys/param.h>
15753 #endif
15754 #ifdef HAVE_SYS_MOUNT_H
15755 # include <sys/mount.h>
15756 #endif
15757 #ifdef HAVE_SYS_VFS_H
15758 # include <sys/vfs.h>
15759 #endif
15760 #ifdef HAVE_SYS_STATFS_H
15761 # include <sys/statfs.h>
15762 #endif
15764 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_PARAM_H
15774 # include <sys/param.h>
15775 #endif
15776 #ifdef HAVE_SYS_MOUNT_H
15777 # include <sys/mount.h>
15778 #endif
15779 #ifdef HAVE_SYS_VFS_H
15780 # include <sys/vfs.h>
15781 #endif
15782 #ifdef HAVE_SYS_STATFS_H
15783 # include <sys/statfs.h>
15784 #endif
15786 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15790 _ACEOF
15794 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15795 #ifdef HAVE_SYS_PARAM_H
15796 # include <sys/param.h>
15797 #endif
15798 #ifdef HAVE_SYS_MOUNT_H
15799 # include <sys/mount.h>
15800 #endif
15801 #ifdef HAVE_SYS_VFS_H
15802 # include <sys/vfs.h>
15803 #endif
15804 #ifdef HAVE_SYS_STATFS_H
15805 # include <sys/statfs.h>
15806 #endif
15808 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15810 cat >>confdefs.h <<_ACEOF
15811 #define HAVE_STRUCT_STATFS_F_FFREE 1
15812 _ACEOF
15816 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15817 #ifdef HAVE_SYS_PARAM_H
15818 # include <sys/param.h>
15819 #endif
15820 #ifdef HAVE_SYS_MOUNT_H
15821 # include <sys/mount.h>
15822 #endif
15823 #ifdef HAVE_SYS_VFS_H
15824 # include <sys/vfs.h>
15825 #endif
15826 #ifdef HAVE_SYS_STATFS_H
15827 # include <sys/statfs.h>
15828 #endif
15830 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15834 _ACEOF
15838 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_PARAM_H
15840 # include <sys/param.h>
15841 #endif
15842 #ifdef HAVE_SYS_MOUNT_H
15843 # include <sys/mount.h>
15844 #endif
15845 #ifdef HAVE_SYS_VFS_H
15846 # include <sys/vfs.h>
15847 #endif
15848 #ifdef HAVE_SYS_STATFS_H
15849 # include <sys/statfs.h>
15850 #endif
15852 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15856 _ACEOF
15862 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15863 #include <sys/statvfs.h>
15864 #endif
15866 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15870 _ACEOF
15876 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15877 #include <dirent.h>
15878 #endif
15880 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15884 _ACEOF
15890 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_SOCKET_H
15892 # include <sys/socket.h>
15893 #endif
15894 #ifdef HAVE_SYS_UN_H
15895 # include <sys/un.h>
15896 #endif
15898 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15900 cat >>confdefs.h <<_ACEOF
15901 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15902 _ACEOF
15906 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15907 #ifdef HAVE_SYS_SOCKET_H
15908 # include <sys/socket.h>
15909 #endif
15910 #ifdef HAVE_SYS_UN_H
15911 # include <sys/un.h>
15912 #endif
15914 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15916 cat >>confdefs.h <<_ACEOF
15917 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15918 _ACEOF
15922 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15923 #ifdef HAVE_SYS_SOCKET_H
15924 # include <sys/socket.h>
15925 #endif
15926 #ifdef HAVE_SYS_UN_H
15927 # include <sys/un.h>
15928 #endif
15930 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15934 _ACEOF
15940 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15941 #ifdef HAVE_SCSI_SG_H
15942 #include <scsi/sg.h>
15943 #endif
15945 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_SCSIREQ_T_CMD 1
15949 _ACEOF
15953 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>
15954 #ifdef HAVE_SCSI_SG_H
15955 #include <scsi/sg.h>
15956 #endif
15958 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15960 cat >>confdefs.h <<_ACEOF
15961 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15962 _ACEOF
15968 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15970 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_SIGINFO_T_SI_FD 1
15974 _ACEOF
15980 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_MTIO_H
15982 #include <sys/mtio.h>
15983 #endif
15985 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15989 _ACEOF
15993 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_MTIO_H
15995 #include <sys/mtio.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16002 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_MTIO_H
16008 #include <sys/mtio.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16015 _ACEOF
16021 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16022 #include <getopt.h>
16023 #endif
16025 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define HAVE_STRUCT_OPTION_NAME 1
16029 _ACEOF
16035 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16036 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16040 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16045 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16047 cat >>confdefs.h <<_ACEOF
16048 #define HAVE_STRUCT_STAT_ST_MTIM 1
16049 _ACEOF
16053 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16054 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16058 _ACEOF
16062 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16063 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_STAT_ST_CTIM 1
16067 _ACEOF
16071 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16072 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16076 _ACEOF
16080 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16081 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_STAT_ST_ATIM 1
16085 _ACEOF
16089 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16090 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16094 _ACEOF
16098 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16099 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16103 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16108 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16112 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16117 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16119 cat >>confdefs.h <<_ACEOF
16120 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16121 _ACEOF
16125 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16126 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16130 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16135 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16139 _ACEOF
16145 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
16146 #include <sys/types.h>
16147 #endif
16148 #ifdef HAVE_NETINET_IN_H
16149 #include <netinet/in.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16156 _ACEOF
16162 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16163 #include <resolv.h>
16164 #endif
16166 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16168 cat >>confdefs.h <<_ACEOF
16169 #define HAVE_STRUCT___RES_STATE 1
16170 _ACEOF
16176 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
16177 #include <resolv.h>
16178 #endif
16180 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16182 cat >>confdefs.h <<_ACEOF
16183 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16184 _ACEOF
16190 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16192 #endif
16193 #ifdef HAVE_NETINET_IN_H
16194 # include <netinet/in.h>
16195 #endif
16196 #ifdef HAVE_ARPA_NAMESER_H
16197 # include <arpa/nameser.h>
16198 #endif
16200 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16202 cat >>confdefs.h <<_ACEOF
16203 #define HAVE_NS_MSG__MSG_PTR 1
16204 _ACEOF
16210 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16211 #include <sys/types.h>
16212 #endif
16213 #ifdef HAVE_NETINET_IP_H
16214 #include <netinet/ip.h>
16215 #endif
16216 #ifdef HAVE_NETINET_IP_ICMP_H
16217 #include <netinet/ip_icmp.h>
16218 #endif
16219 #ifdef HAVE_NETINET_ICMP_VAR_H
16220 #include <netinet/icmp_var.h>
16221 #endif
16223 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16227 _ACEOF
16233 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16234 #include <sys/types.h>
16235 #endif
16236 #ifdef HAVE_ALIAS_H
16237 #include <alias.h>
16238 #endif
16239 #ifdef HAVE_SYS_SOCKET_H
16240 #include <sys/socket.h>
16241 #endif
16242 #ifdef HAVE_SYS_SOCKETVAR_H
16243 #include <sys/socketvar.h>
16244 #endif
16245 #ifdef HAVE_SYS_TIMEOUT_H
16246 #include <sys/timeout.h>
16247 #endif
16248 #ifdef HAVE_NETINET_IN_H
16249 #include <netinet/in.h>
16250 #endif
16251 #ifdef HAVE_NETINET_IN_SYSTM_H
16252 #include <netinet/in_systm.h>
16253 #endif
16254 #ifdef HAVE_NETINET_IP_H
16255 #include <netinet/ip.h>
16256 #endif
16257 #ifdef HAVE_NETINET_IP_VAR_H
16258 #include <netinet/ip_var.h>
16259 #endif
16260 #ifdef HAVE_NETINET_IP_ICMP_H
16261 #include <netinet/ip_icmp.h>
16262 #endif
16263 #ifdef HAVE_NETINET_ICMP_VAR_H
16264 #include <netinet/icmp_var.h>
16265 #endif
16267 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16271 _ACEOF
16277 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16278 #include <sys/types.h>
16279 #endif
16280 #ifdef HAVE_SYS_SOCKETVAR_H
16281 #include <sys/socketvar.h>
16282 #endif
16283 #ifdef HAVE_NETINET_IN_H
16284 #include <netinet/in.h>
16285 #endif
16286 #ifdef HAVE_NETINET_IP_VAR_H
16287 #include <netinet/ip_var.h>
16288 #endif
16290 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16294 _ACEOF
16300 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
16301 #include <netinet/ip_var.h>
16302 #endif
16304 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16308 _ACEOF
16314 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16315 #include <sys/types.h>
16316 #endif
16317 #ifdef HAVE_SYS_SOCKETVAR_H
16318 #include <sys/socketvar.h>
16319 #endif
16320 #ifdef HAVE_NETINET_IN_H
16321 #include <netinet/in.h>
16322 #endif
16323 #ifdef HAVE_NETINET_TCP_H
16324 #include <netinet/tcp.h>
16325 #endif
16326 #ifdef HAVE_NETINET_TCP_VAR_H
16327 #include <netinet/tcp_var.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16334 _ACEOF
16340 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
16341 #include <netinet/tcp_var.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16348 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16355 #include <sys/types.h>
16356 #endif
16357 #ifdef HAVE_NETINET_IN_H
16358 #include <netinet/in.h>
16359 #endif
16360 #ifdef HAVE_NETINET_IP_VAR_H
16361 #include <netinet/ip_var.h>
16362 #endif
16363 #ifdef HAVE_NETINET_UDP_H
16364 #include <netinet/udp.h>
16365 #endif
16366 #ifdef HAVE_NETINET_UDP_VAR_H
16367 #include <netinet/udp_var.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16374 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16381 #include <sys/types.h>
16382 #endif
16383 #ifdef HAVE_NET_IF_H
16384 # include <net/if.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16391 _ACEOF
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16398 $as_echo_n "checking for timezone variable... " >&6; }
16399 if ${ac_cv_have_timezone+:} false; then :
16400 $as_echo_n "(cached) " >&6
16401 else
16402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16404 #include <time.h>
16406 main ()
16408 timezone = 1
16410 return 0;
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"; then :
16414 ac_cv_have_timezone="yes"
16415 else
16416 ac_cv_have_timezone="no"
16418 rm -f core conftest.err conftest.$ac_objext \
16419 conftest$ac_exeext conftest.$ac_ext
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16422 $as_echo "$ac_cv_have_timezone" >&6; }
16423 if test "$ac_cv_have_timezone" = "yes"
16424 then
16426 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16430 $as_echo_n "checking for daylight variable... " >&6; }
16431 if ${ac_cv_have_daylight+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #include <time.h>
16438 main ()
16440 daylight = 1
16442 return 0;
16444 _ACEOF
16445 if ac_fn_c_try_link "$LINENO"; then :
16446 ac_cv_have_daylight="yes"
16447 else
16448 ac_cv_have_daylight="no"
16450 rm -f core conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16454 $as_echo "$ac_cv_have_daylight" >&6; }
16455 if test "$ac_cv_have_daylight" = "yes"
16456 then
16458 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16462 ac_save_LIBS="$LIBS"
16463 LIBS="$LIBS -lm"
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16465 $as_echo_n "checking for isfinite... " >&6; }
16466 if ${ac_cv_have_isfinite+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16471 #define _GNU_SOURCE
16472 #include <math.h>
16474 main ()
16476 float f = 0.0; return isfinite(f)
16478 return 0;
16480 _ACEOF
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_have_isfinite="yes"
16483 else
16484 ac_cv_have_isfinite="no"
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16490 $as_echo "$ac_cv_have_isfinite" >&6; }
16491 if test "$ac_cv_have_isfinite" = "yes"
16492 then
16494 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16499 $as_echo_n "checking for isinf... " >&6; }
16500 if ${ac_cv_have_isinf+:} false; then :
16501 $as_echo_n "(cached) " >&6
16502 else
16503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16505 #include <math.h>
16507 main ()
16509 float f = 0.0; return isinf(f)
16511 return 0;
16513 _ACEOF
16514 if ac_fn_c_try_link "$LINENO"; then :
16515 ac_cv_have_isinf="yes"
16516 else
16517 ac_cv_have_isinf="no"
16519 rm -f core conftest.err conftest.$ac_objext \
16520 conftest$ac_exeext conftest.$ac_ext
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16523 $as_echo "$ac_cv_have_isinf" >&6; }
16524 if test "$ac_cv_have_isinf" = "yes"
16525 then
16527 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16532 $as_echo_n "checking for isnan... " >&6; }
16533 if ${ac_cv_have_isnan+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #include <math.h>
16540 main ()
16542 float f = 0.0; return isnan(f)
16544 return 0;
16546 _ACEOF
16547 if ac_fn_c_try_link "$LINENO"; then :
16548 ac_cv_have_isnan="yes"
16549 else
16550 ac_cv_have_isnan="no"
16552 rm -f core conftest.err conftest.$ac_objext \
16553 conftest$ac_exeext conftest.$ac_ext
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16556 $as_echo "$ac_cv_have_isnan" >&6; }
16557 if test "$ac_cv_have_isnan" = "yes"
16558 then
16560 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16564 for ac_func in \
16565 cbrt \
16566 cbrtf \
16567 erf \
16568 erff \
16569 exp2 \
16570 exp2f \
16571 llrint \
16572 llrintf \
16573 llround \
16574 llroundf \
16575 log2 \
16576 log2f \
16577 lrint \
16578 lrintf \
16579 lround \
16580 lroundf \
16581 rint \
16582 rintf \
16583 round \
16584 roundf \
16585 trunc \
16586 truncf
16588 do :
16589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16594 _ACEOF
16597 done
16599 LIBS="$ac_save_LIBS"
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16602 $as_echo_n "checking for __builtin_clz... " >&6; }
16603 if ${ac_cv_have___builtin_clz+:} false; then :
16604 $as_echo_n "(cached) " >&6
16605 else
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16610 main ()
16612 return __builtin_clz(1)
16614 return 0;
16616 _ACEOF
16617 if ac_fn_c_try_link "$LINENO"; then :
16618 ac_cv_have___builtin_clz="yes"
16619 else
16620 ac_cv_have___builtin_clz="no"
16622 rm -f core conftest.err conftest.$ac_objext \
16623 conftest$ac_exeext conftest.$ac_ext
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16626 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16627 if test "$ac_cv_have___builtin_clz" = "yes"
16628 then
16630 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16635 case $host_cpu in
16636 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16637 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16638 if ${ac_cv_cpp_def___i386__+:} false; then :
16639 $as_echo_n "(cached) " >&6
16640 else
16641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16642 /* end confdefs.h. */
16643 #ifndef __i386__
16645 #endif
16646 _ACEOF
16647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16648 $EGREP "yes" >/dev/null 2>&1; then :
16649 ac_cv_cpp_def___i386__=yes
16650 else
16651 ac_cv_cpp_def___i386__=no
16653 rm -f conftest*
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16657 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16658 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16659 CFLAGS="$CFLAGS -D__i386__"
16660 LINTFLAGS="$LINTFLAGS -D__i386__"
16661 fi ;;
16662 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16663 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16664 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16665 $as_echo_n "(cached) " >&6
16666 else
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16669 #ifndef __x86_64__
16671 #endif
16672 _ACEOF
16673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16674 $EGREP "yes" >/dev/null 2>&1; then :
16675 ac_cv_cpp_def___x86_64__=yes
16676 else
16677 ac_cv_cpp_def___x86_64__=no
16679 rm -f conftest*
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16683 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16684 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16685 CFLAGS="$CFLAGS -D__x86_64__"
16686 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16687 fi ;;
16688 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16689 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16690 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #ifndef __sparc64__
16697 #endif
16698 _ACEOF
16699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16700 $EGREP "yes" >/dev/null 2>&1; then :
16701 ac_cv_cpp_def___sparc64__=yes
16702 else
16703 ac_cv_cpp_def___sparc64__=no
16705 rm -f conftest*
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16709 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16710 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16711 CFLAGS="$CFLAGS -D__sparc64__"
16712 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16713 fi ;;
16714 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16715 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16716 if ${ac_cv_cpp_def___sparc__+:} false; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #ifndef __sparc__
16723 #endif
16724 _ACEOF
16725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16726 $EGREP "yes" >/dev/null 2>&1; then :
16727 ac_cv_cpp_def___sparc__=yes
16728 else
16729 ac_cv_cpp_def___sparc__=no
16731 rm -f conftest*
16734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16735 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16736 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16737 CFLAGS="$CFLAGS -D__sparc__"
16738 LINTFLAGS="$LINTFLAGS -D__sparc__"
16739 fi ;;
16740 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16741 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16742 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16743 $as_echo_n "(cached) " >&6
16744 else
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #ifndef __powerpc64__
16749 #endif
16750 _ACEOF
16751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16752 $EGREP "yes" >/dev/null 2>&1; then :
16753 ac_cv_cpp_def___powerpc64__=yes
16754 else
16755 ac_cv_cpp_def___powerpc64__=no
16757 rm -f conftest*
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16761 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16762 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16763 CFLAGS="$CFLAGS -D__powerpc64__"
16764 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16765 fi ;;
16766 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16767 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16768 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #ifndef __powerpc__
16775 #endif
16776 _ACEOF
16777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16778 $EGREP "yes" >/dev/null 2>&1; then :
16779 ac_cv_cpp_def___powerpc__=yes
16780 else
16781 ac_cv_cpp_def___powerpc__=no
16783 rm -f conftest*
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16787 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16788 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16789 CFLAGS="$CFLAGS -D__powerpc__"
16790 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16791 fi ;;
16792 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16793 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16794 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 #ifndef __aarch64__
16801 #endif
16802 _ACEOF
16803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16804 $EGREP "yes" >/dev/null 2>&1; then :
16805 ac_cv_cpp_def___aarch64__=yes
16806 else
16807 ac_cv_cpp_def___aarch64__=no
16809 rm -f conftest*
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16813 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16814 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16815 CFLAGS="$CFLAGS -D__aarch64__"
16816 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16817 fi ;;
16818 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16819 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16820 if ${ac_cv_cpp_def___arm__+:} false; then :
16821 $as_echo_n "(cached) " >&6
16822 else
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16825 #ifndef __arm__
16827 #endif
16828 _ACEOF
16829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16830 $EGREP "yes" >/dev/null 2>&1; then :
16831 ac_cv_cpp_def___arm__=yes
16832 else
16833 ac_cv_cpp_def___arm__=no
16835 rm -f conftest*
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16839 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16840 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16841 CFLAGS="$CFLAGS -D__arm__"
16842 LINTFLAGS="$LINTFLAGS -D__arm__"
16843 fi ;;
16844 esac
16846 case $host_vendor in
16847 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16848 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16849 if ${ac_cv_cpp_def___sun__+:} false; then :
16850 $as_echo_n "(cached) " >&6
16851 else
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16854 #ifndef __sun__
16856 #endif
16857 _ACEOF
16858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16859 $EGREP "yes" >/dev/null 2>&1; then :
16860 ac_cv_cpp_def___sun__=yes
16861 else
16862 ac_cv_cpp_def___sun__=no
16864 rm -f conftest*
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16868 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16869 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16870 CFLAGS="$CFLAGS -D__sun__"
16871 LINTFLAGS="$LINTFLAGS -D__sun__"
16872 fi ;;
16873 esac
16879 ac_config_commands="$ac_config_commands include/stamp-h"
16881 $as_echo_n "creating Makefile rules..." >&6
16883 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16884 SOCKET_LIBS = $SOCKET_LIBS
16885 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16886 IOKIT_LIBS = $IOKIT_LIBS
16887 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16888 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16889 CORESERVICES_LIBS = $CORESERVICES_LIBS
16890 APPKIT_LIBS = $APPKIT_LIBS
16891 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16892 SECURITY_LIBS = $SECURITY_LIBS
16893 COREAUDIO_LIBS = $COREAUDIO_LIBS
16894 OPENAL_LIBS = $OPENAL_LIBS
16895 OPENCL_LIBS = $OPENCL_LIBS
16896 QUICKTIME_LIBS = $QUICKTIME_LIBS
16897 CARBON_LIBS = $CARBON_LIBS
16898 PTHREAD_LIBS = $PTHREAD_LIBS
16899 X_CFLAGS = $X_CFLAGS
16900 X_PRE_LIBS = $X_PRE_LIBS
16901 X_LIBS = $X_LIBS
16902 X_EXTRA_LIBS = $X_EXTRA_LIBS
16903 XML2_CFLAGS = $XML2_CFLAGS
16904 XML2_LIBS = $XML2_LIBS
16905 XSLT_CFLAGS = $XSLT_CFLAGS
16906 XSLT_LIBS = $XSLT_LIBS
16907 DBUS_CFLAGS = $DBUS_CFLAGS
16908 DBUS_LIBS = $DBUS_LIBS
16909 HAL_CFLAGS = $HAL_CFLAGS
16910 HAL_LIBS = $HAL_LIBS
16911 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16912 GNUTLS_LIBS = $GNUTLS_LIBS
16913 SANE_CFLAGS = $SANE_CFLAGS
16914 SANE_LIBS = $SANE_LIBS
16915 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16916 GPHOTO2_LIBS = $GPHOTO2_LIBS
16917 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16918 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16919 RESOLV_LIBS = $RESOLV_LIBS
16920 LCMS2_CFLAGS = $LCMS2_CFLAGS
16921 LCMS2_LIBS = $LCMS2_LIBS
16922 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16923 FREETYPE_LIBS = $FREETYPE_LIBS
16924 Z_LIBS = $Z_LIBS
16925 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16926 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16927 GSTREAMER_LIBS = $GSTREAMER_LIBS
16928 ALSA_LIBS = $ALSA_LIBS
16929 OSS4_CFLAGS = $OSS4_CFLAGS
16930 CAPI20_CFLAGS = $CAPI20_CFLAGS
16931 CAPI20_LIBS = $CAPI20_LIBS
16932 CUPS_CFLAGS = $CUPS_CFLAGS
16933 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16934 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16935 JPEG_CFLAGS = $JPEG_CFLAGS
16936 JPEG_LIBS = $JPEG_LIBS
16937 PNG_CFLAGS = $PNG_CFLAGS
16938 PNG_LIBS = $PNG_LIBS
16939 TIFF_CFLAGS = $TIFF_CFLAGS
16940 TIFF_LIBS = $TIFF_LIBS
16941 MPG123_CFLAGS = $MPG123_CFLAGS
16942 MPG123_LIBS = $MPG123_LIBS
16943 KSTAT_LIBS = $KSTAT_LIBS
16944 PROCSTAT_LIBS = $PROCSTAT_LIBS
16945 DL_LIBS = $DL_LIBS
16946 POLL_LIBS = $POLL_LIBS
16947 RT_LIBS = $RT_LIBS
16948 LDAP_LIBS = $LDAP_LIBS
16953 wine_fn_append_rule "
16954 # Rules automatically generated by configure
16956 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16958 .INIT: Makefile
16959 .MAKEFILEDEPS:
16960 all: Makefile
16961 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16962 @./config.status Make.tmp Makefile"
16964 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16965 .gitignore: config.status
16966 @./config.status .gitignore"
16968 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16969 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16971 if test "x$enable_fonts" != xno; then
16972 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16973 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16974 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16975 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16976 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16978 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16979 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16980 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16981 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16982 ac_config_links="$ac_config_links wine:tools/winewrapper"
16983 wine_fn_config_symlink wine
16984 if test "x$enable_win64" != xno; then
16985 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16986 wine_fn_config_symlink wine64
16989 wine_fn_config_dll acledit enable_acledit
16990 wine_fn_config_dll aclui enable_aclui implib
16991 wine_fn_config_dll activeds enable_activeds implib
16992 wine_fn_config_dll actxprxy enable_actxprxy clean
16993 wine_fn_config_lib adsiid
16994 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16995 wine_fn_config_test dlls/advapi32/tests advapi32_test
16996 wine_fn_config_dll advpack enable_advpack implib
16997 wine_fn_config_test dlls/advpack/tests advpack_test
16998 wine_fn_config_dll amstream enable_amstream clean
16999 wine_fn_config_test dlls/amstream/tests amstream_test
17000 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17002 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17004 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17008 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17009 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17011 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17013 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17014 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17015 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17021 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17022 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17025 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17026 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17027 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17029 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17031 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17033 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17034 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17036 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17038 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17039 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17041 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17042 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17043 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17044 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17048 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17049 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17050 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17051 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17052 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17053 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17054 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17055 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17056 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17057 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17058 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17059 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17060 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17061 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17062 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17063 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17064 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17065 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17066 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17067 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17068 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17069 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17070 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17071 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17072 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17073 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17074 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17075 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17076 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17077 wine_fn_config_dll apphelp enable_apphelp
17078 wine_fn_config_test dlls/apphelp/tests apphelp_test
17079 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17080 wine_fn_config_dll atl enable_atl clean,implib
17081 wine_fn_config_test dlls/atl/tests atl_test
17082 wine_fn_config_dll atl100 enable_atl100 clean,implib
17083 wine_fn_config_test dlls/atl100/tests atl100_test
17084 wine_fn_config_dll atl110 enable_atl110 clean
17085 wine_fn_config_dll atl80 enable_atl80 clean,implib
17086 wine_fn_config_test dlls/atl80/tests atl80_test
17087 wine_fn_config_dll atl90 enable_atl90 clean
17088 wine_fn_config_dll authz enable_authz
17089 wine_fn_config_dll avicap32 enable_avicap32 implib
17090 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17091 wine_fn_config_test dlls/avifil32/tests avifil32_test
17092 wine_fn_config_dll avifile.dll16 enable_win16
17093 wine_fn_config_dll avrt enable_avrt implib
17094 wine_fn_config_dll bcrypt enable_bcrypt
17095 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17096 wine_fn_config_dll browseui enable_browseui clean,po
17097 wine_fn_config_test dlls/browseui/tests browseui_test
17098 wine_fn_config_dll cabinet enable_cabinet implib
17099 wine_fn_config_test dlls/cabinet/tests cabinet_test
17100 wine_fn_config_dll capi2032 enable_capi2032 implib
17101 wine_fn_config_dll cards enable_cards implib
17102 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17103 wine_fn_config_dll clusapi enable_clusapi implib
17104 wine_fn_config_dll combase enable_combase
17105 wine_fn_config_test dlls/combase/tests combase_test
17106 wine_fn_config_dll comcat enable_comcat
17107 wine_fn_config_test dlls/comcat/tests comcat_test
17108 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17109 wine_fn_config_test dlls/comctl32/tests comctl32_test
17110 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17111 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17112 wine_fn_config_dll comm.drv16 enable_win16
17113 wine_fn_config_dll commdlg.dll16 enable_win16
17114 wine_fn_config_dll compobj.dll16 enable_win16
17115 wine_fn_config_dll compstui enable_compstui implib
17116 wine_fn_config_dll comsvcs enable_comsvcs implib
17117 wine_fn_config_dll connect enable_connect
17118 wine_fn_config_dll credui enable_credui implib,po
17119 wine_fn_config_test dlls/credui/tests credui_test
17120 wine_fn_config_dll crtdll enable_crtdll implib
17121 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17122 wine_fn_config_test dlls/crypt32/tests crypt32_test
17123 wine_fn_config_dll cryptdlg enable_cryptdlg po
17124 wine_fn_config_dll cryptdll enable_cryptdll implib
17125 wine_fn_config_dll cryptext enable_cryptext
17126 wine_fn_config_dll cryptnet enable_cryptnet implib
17127 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17128 wine_fn_config_dll cryptui enable_cryptui implib,po
17129 wine_fn_config_test dlls/cryptui/tests cryptui_test
17130 wine_fn_config_dll ctapi32 enable_ctapi32
17131 wine_fn_config_dll ctl3d.dll16 enable_win16
17132 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17133 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17134 wine_fn_config_dll d2d1 enable_d2d1 implib
17135 wine_fn_config_test dlls/d2d1/tests d2d1_test
17136 wine_fn_config_dll d3d10 enable_d3d10 implib
17137 wine_fn_config_test dlls/d3d10/tests d3d10_test
17138 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17139 wine_fn_config_dll d3d10core enable_d3d10core implib
17140 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17141 wine_fn_config_dll d3d11 enable_d3d11
17142 wine_fn_config_dll d3d8 enable_d3d8 implib
17143 wine_fn_config_test dlls/d3d8/tests d3d8_test
17144 wine_fn_config_dll d3d9 enable_d3d9 implib
17145 wine_fn_config_test dlls/d3d9/tests d3d9_test
17146 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17147 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17148 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17149 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17150 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17151 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17152 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17153 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17154 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17155 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17156 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17157 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17158 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17159 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17160 wine_fn_config_dll d3dim enable_d3dim implib
17161 wine_fn_config_dll d3drm enable_d3drm implib
17162 wine_fn_config_test dlls/d3drm/tests d3drm_test
17163 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17164 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17165 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17166 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17167 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17168 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17169 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17170 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17171 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17172 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17173 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17174 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17175 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17176 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17177 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17178 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17179 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17180 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17181 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17182 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17183 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17184 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17185 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17186 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17187 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17188 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17189 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17190 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17191 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17192 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17193 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17194 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17195 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17196 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17197 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17198 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17199 wine_fn_config_dll dbgeng enable_dbgeng implib
17200 wine_fn_config_dll dbghelp enable_dbghelp implib
17201 wine_fn_config_dll dciman32 enable_dciman32 implib
17202 wine_fn_config_dll ddeml.dll16 enable_win16
17203 wine_fn_config_dll ddraw enable_ddraw clean,implib
17204 wine_fn_config_test dlls/ddraw/tests ddraw_test
17205 wine_fn_config_dll ddrawex enable_ddrawex clean
17206 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17207 wine_fn_config_dll devenum enable_devenum clean,po
17208 wine_fn_config_test dlls/devenum/tests devenum_test
17209 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17210 wine_fn_config_dll difxapi enable_difxapi
17211 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17212 wine_fn_config_test dlls/dinput/tests dinput_test
17213 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17214 wine_fn_config_test dlls/dinput8/tests dinput8_test
17215 wine_fn_config_dll dispdib.dll16 enable_win16
17216 wine_fn_config_dll dispex enable_dispex clean
17217 wine_fn_config_test dlls/dispex/tests dispex_test
17218 wine_fn_config_dll display.drv16 enable_win16
17219 wine_fn_config_dll dmband enable_dmband clean
17220 wine_fn_config_test dlls/dmband/tests dmband_test
17221 wine_fn_config_dll dmcompos enable_dmcompos clean
17222 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17223 wine_fn_config_dll dmime enable_dmime clean
17224 wine_fn_config_test dlls/dmime/tests dmime_test
17225 wine_fn_config_dll dmloader enable_dmloader clean
17226 wine_fn_config_test dlls/dmloader/tests dmloader_test
17227 wine_fn_config_dll dmscript enable_dmscript clean
17228 wine_fn_config_test dlls/dmscript/tests dmscript_test
17229 wine_fn_config_dll dmstyle enable_dmstyle clean
17230 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17231 wine_fn_config_dll dmsynth enable_dmsynth clean
17232 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17233 wine_fn_config_dll dmusic enable_dmusic clean
17234 wine_fn_config_test dlls/dmusic/tests dmusic_test
17235 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17236 wine_fn_config_dll dnsapi enable_dnsapi implib
17237 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17238 wine_fn_config_dll dplay enable_dplay implib
17239 wine_fn_config_dll dplayx enable_dplayx clean,implib
17240 wine_fn_config_test dlls/dplayx/tests dplayx_test
17241 wine_fn_config_dll dpnaddr enable_dpnaddr
17242 wine_fn_config_dll dpnet enable_dpnet clean,implib
17243 wine_fn_config_test dlls/dpnet/tests dpnet_test
17244 wine_fn_config_dll dpnhpast enable_dpnhpast
17245 wine_fn_config_dll dpnlobby enable_dpnlobby
17246 wine_fn_config_dll dpvoice enable_dpvoice clean
17247 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17248 wine_fn_config_dll dpwsockx enable_dpwsockx
17249 wine_fn_config_dll drmclien enable_drmclien
17250 wine_fn_config_dll dsound enable_dsound clean,implib
17251 wine_fn_config_test dlls/dsound/tests dsound_test
17252 wine_fn_config_dll dssenh enable_dssenh
17253 wine_fn_config_test dlls/dssenh/tests dssenh_test
17254 wine_fn_config_dll dswave enable_dswave clean
17255 wine_fn_config_test dlls/dswave/tests dswave_test
17256 wine_fn_config_dll dwmapi enable_dwmapi implib
17257 wine_fn_config_dll dwrite enable_dwrite implib
17258 wine_fn_config_test dlls/dwrite/tests dwrite_test
17259 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17260 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17261 wine_fn_config_lib dxerr8
17262 wine_fn_config_lib dxerr9
17263 wine_fn_config_dll dxgi enable_dxgi implib
17264 wine_fn_config_test dlls/dxgi/tests dxgi_test
17265 wine_fn_config_lib dxguid
17266 wine_fn_config_dll dxva2 enable_dxva2
17267 wine_fn_config_dll evr enable_evr
17268 wine_fn_config_dll explorerframe enable_explorerframe clean
17269 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17270 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17271 wine_fn_config_dll faultrep enable_faultrep implib
17272 wine_fn_config_test dlls/faultrep/tests faultrep_test
17273 wine_fn_config_dll fltlib enable_fltlib
17274 wine_fn_config_dll fntcache enable_fntcache
17275 wine_fn_config_dll fontsub enable_fontsub
17276 wine_fn_config_dll fusion enable_fusion
17277 wine_fn_config_test dlls/fusion/tests fusion_test
17278 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17279 wine_fn_config_dll gameux enable_gameux clean
17280 wine_fn_config_test dlls/gameux/tests gameux_test
17281 wine_fn_config_dll gdi.exe16 enable_win16
17282 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17283 wine_fn_config_test dlls/gdi32/tests gdi32_test
17284 wine_fn_config_dll gdiplus enable_gdiplus implib
17285 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17286 wine_fn_config_dll glu32 enable_glu32 implib
17287 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17288 wine_fn_config_dll gpkcsp enable_gpkcsp
17289 wine_fn_config_dll hal enable_hal
17290 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17291 wine_fn_config_dll hid enable_hid implib
17292 wine_fn_config_dll hlink enable_hlink clean,implib
17293 wine_fn_config_test dlls/hlink/tests hlink_test
17294 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17295 wine_fn_config_dll httpapi enable_httpapi
17296 wine_fn_config_dll iccvid enable_iccvid po
17297 wine_fn_config_dll icmp enable_icmp
17298 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17299 wine_fn_config_test dlls/ieframe/tests ieframe_test
17300 wine_fn_config_dll ifsmgr.vxd enable_win16
17301 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17302 wine_fn_config_dll imagehlp enable_imagehlp implib
17303 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17304 wine_fn_config_dll imm.dll16 enable_win16
17305 wine_fn_config_dll imm32 enable_imm32 implib
17306 wine_fn_config_test dlls/imm32/tests imm32_test
17307 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17308 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17309 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17310 wine_fn_config_dll inetmib1 enable_inetmib1
17311 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17312 wine_fn_config_dll infosoft enable_infosoft clean
17313 wine_fn_config_test dlls/infosoft/tests infosoft_test
17314 wine_fn_config_dll initpki enable_initpki
17315 wine_fn_config_dll inkobj enable_inkobj
17316 wine_fn_config_dll inseng enable_inseng clean
17317 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17318 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17319 wine_fn_config_dll itircl enable_itircl
17320 wine_fn_config_dll itss enable_itss clean
17321 wine_fn_config_test dlls/itss/tests itss_test
17322 wine_fn_config_dll joy.cpl enable_joy_cpl po
17323 wine_fn_config_dll jscript enable_jscript clean,po
17324 wine_fn_config_test dlls/jscript/tests jscript_test
17325 wine_fn_config_dll jsproxy enable_jsproxy implib
17326 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17327 wine_fn_config_test dlls/kernel32/tests kernel32_test
17328 wine_fn_config_dll keyboard.drv16 enable_win16
17329 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17330 wine_fn_config_dll ksuser enable_ksuser
17331 wine_fn_config_dll ktmw32 enable_ktmw32
17332 wine_fn_config_dll loadperf enable_loadperf implib
17333 wine_fn_config_dll localspl enable_localspl po
17334 wine_fn_config_test dlls/localspl/tests localspl_test
17335 wine_fn_config_dll localui enable_localui po
17336 wine_fn_config_test dlls/localui/tests localui_test
17337 wine_fn_config_dll lz32 enable_lz32 implib
17338 wine_fn_config_test dlls/lz32/tests lz32_test
17339 wine_fn_config_dll lzexpand.dll16 enable_win16
17340 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17341 wine_fn_config_test dlls/mapi32/tests mapi32_test
17342 wine_fn_config_dll mapistub enable_mapistub
17343 wine_fn_config_dll mciavi32 enable_mciavi32
17344 wine_fn_config_dll mcicda enable_mcicda
17345 wine_fn_config_dll mciqtz32 enable_mciqtz32
17346 wine_fn_config_dll mciseq enable_mciseq
17347 wine_fn_config_dll mciwave enable_mciwave
17348 wine_fn_config_dll mf enable_mf
17349 wine_fn_config_dll mfplat enable_mfplat
17350 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17351 wine_fn_config_dll mgmtapi enable_mgmtapi
17352 wine_fn_config_dll midimap enable_midimap
17353 wine_fn_config_dll mlang enable_mlang clean,implib
17354 wine_fn_config_test dlls/mlang/tests mlang_test
17355 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17356 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17357 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17358 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17359 wine_fn_config_dll mmdevldr.vxd enable_win16
17360 wine_fn_config_dll mmsystem.dll16 enable_win16
17361 wine_fn_config_dll monodebg.vxd enable_win16
17362 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17363 wine_fn_config_dll mouse.drv16 enable_win16
17364 wine_fn_config_dll mpr enable_mpr implib,po
17365 wine_fn_config_test dlls/mpr/tests mpr_test
17366 wine_fn_config_dll mprapi enable_mprapi implib
17367 wine_fn_config_dll msacm.dll16 enable_win16
17368 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17369 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17370 wine_fn_config_test dlls/msacm32/tests msacm32_test
17371 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17372 wine_fn_config_dll msasn1 enable_msasn1 implib
17373 wine_fn_config_dll mscat32 enable_mscat32
17374 wine_fn_config_dll mscms enable_mscms implib
17375 wine_fn_config_test dlls/mscms/tests mscms_test
17376 wine_fn_config_dll mscoree enable_mscoree clean
17377 wine_fn_config_test dlls/mscoree/tests mscoree_test
17378 wine_fn_config_dll msctf enable_msctf clean
17379 wine_fn_config_test dlls/msctf/tests msctf_test
17380 wine_fn_config_dll msctfp enable_msctfp clean
17381 wine_fn_config_dll msdaps enable_msdaps clean
17382 wine_fn_config_dll msdmo enable_msdmo implib
17383 wine_fn_config_test dlls/msdmo/tests msdmo_test
17384 wine_fn_config_dll msftedit enable_msftedit
17385 wine_fn_config_dll msg711.acm enable_msg711_acm
17386 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17387 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17388 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17389 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17390 wine_fn_config_dll msi enable_msi clean,implib,po
17391 wine_fn_config_test dlls/msi/tests msi_test
17392 wine_fn_config_dll msident enable_msident clean
17393 wine_fn_config_dll msimg32 enable_msimg32 implib
17394 wine_fn_config_dll msimsg enable_msimsg
17395 wine_fn_config_dll msimtf enable_msimtf clean
17396 wine_fn_config_dll msisip enable_msisip
17397 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17398 wine_fn_config_dll msls31 enable_msls31
17399 wine_fn_config_dll msnet32 enable_msnet32
17400 wine_fn_config_dll mspatcha enable_mspatcha implib
17401 wine_fn_config_dll msrle32 enable_msrle32 po
17402 wine_fn_config_test dlls/msrle32/tests msrle32_test
17403 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17404 wine_fn_config_dll mssign32 enable_mssign32
17405 wine_fn_config_dll mssip32 enable_mssip32
17406 wine_fn_config_dll mstask enable_mstask clean
17407 wine_fn_config_test dlls/mstask/tests mstask_test
17408 wine_fn_config_dll msvcirt enable_msvcirt
17409 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17410 wine_fn_config_dll msvcm80 enable_msvcm80
17411 wine_fn_config_dll msvcm90 enable_msvcm90
17412 wine_fn_config_dll msvcp100 enable_msvcp100
17413 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17414 wine_fn_config_dll msvcp110 enable_msvcp110
17415 wine_fn_config_dll msvcp120 enable_msvcp120
17416 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17417 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17418 wine_fn_config_dll msvcp60 enable_msvcp60
17419 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17420 wine_fn_config_dll msvcp70 enable_msvcp70
17421 wine_fn_config_dll msvcp71 enable_msvcp71
17422 wine_fn_config_dll msvcp80 enable_msvcp80
17423 wine_fn_config_dll msvcp90 enable_msvcp90
17424 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17425 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17426 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17427 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17428 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17429 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17430 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17431 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17432 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17433 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17434 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17435 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17436 wine_fn_config_dll msvcrt enable_msvcrt implib
17437 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17438 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17439 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17440 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17441 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17442 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17443 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17444 wine_fn_config_dll msvidc32 enable_msvidc32 po
17445 wine_fn_config_dll msvideo.dll16 enable_win16
17446 wine_fn_config_dll mswsock enable_mswsock implib
17447 wine_fn_config_dll msxml enable_msxml clean
17448 wine_fn_config_dll msxml2 enable_msxml2 clean
17449 wine_fn_config_dll msxml3 enable_msxml3 clean
17450 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17451 wine_fn_config_dll msxml4 enable_msxml4 clean
17452 wine_fn_config_dll msxml6 enable_msxml6 clean
17453 wine_fn_config_dll nddeapi enable_nddeapi implib
17454 wine_fn_config_dll ndis.sys enable_ndis_sys
17455 wine_fn_config_dll netapi32 enable_netapi32 implib
17456 wine_fn_config_test dlls/netapi32/tests netapi32_test
17457 wine_fn_config_dll netcfgx enable_netcfgx clean
17458 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17459 wine_fn_config_dll netprofm enable_netprofm clean
17460 wine_fn_config_test dlls/netprofm/tests netprofm_test
17461 wine_fn_config_dll newdev enable_newdev implib
17462 wine_fn_config_dll normaliz enable_normaliz implib
17463 wine_fn_config_dll npmshtml enable_npmshtml
17464 wine_fn_config_dll npptools enable_npptools
17465 wine_fn_config_dll ntdll enable_ntdll implib
17466 wine_fn_config_test dlls/ntdll/tests ntdll_test
17467 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17468 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17469 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17470 wine_fn_config_dll ntprint enable_ntprint
17471 wine_fn_config_test dlls/ntprint/tests ntprint_test
17472 wine_fn_config_dll objsel enable_objsel clean
17473 wine_fn_config_dll odbc32 enable_odbc32 implib
17474 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17475 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17476 wine_fn_config_dll odbccu32 enable_odbccu32
17477 wine_fn_config_dll ole2.dll16 enable_win16
17478 wine_fn_config_dll ole2conv.dll16 enable_win16
17479 wine_fn_config_dll ole2disp.dll16 enable_win16
17480 wine_fn_config_dll ole2nls.dll16 enable_win16
17481 wine_fn_config_dll ole2prox.dll16 enable_win16
17482 wine_fn_config_dll ole2thk.dll16 enable_win16
17483 wine_fn_config_dll ole32 enable_ole32 clean,implib
17484 wine_fn_config_test dlls/ole32/tests ole32_test
17485 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17486 wine_fn_config_test dlls/oleacc/tests oleacc_test
17487 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17488 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17489 wine_fn_config_dll olecli.dll16 enable_win16
17490 wine_fn_config_dll olecli32 enable_olecli32 implib
17491 wine_fn_config_dll oledb32 enable_oledb32 clean
17492 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17493 wine_fn_config_dll oledlg enable_oledlg implib,po
17494 wine_fn_config_test dlls/oledlg/tests oledlg_test
17495 wine_fn_config_dll olepro32 enable_olepro32 implib
17496 wine_fn_config_dll olesvr.dll16 enable_win16
17497 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17498 wine_fn_config_dll olethk32 enable_olethk32
17499 wine_fn_config_dll openal32 enable_openal32
17500 wine_fn_config_dll opencl enable_opencl
17501 wine_fn_config_dll opengl32 enable_opengl32 implib
17502 wine_fn_config_test dlls/opengl32/tests opengl32_test
17503 wine_fn_config_dll packager enable_packager clean
17504 wine_fn_config_test dlls/packager/tests packager_test
17505 wine_fn_config_dll pdh enable_pdh implib
17506 wine_fn_config_test dlls/pdh/tests pdh_test
17507 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17508 wine_fn_config_dll pidgen enable_pidgen
17509 wine_fn_config_dll powrprof enable_powrprof implib
17510 wine_fn_config_dll printui enable_printui
17511 wine_fn_config_dll prntvpt enable_prntvpt
17512 wine_fn_config_dll propsys enable_propsys clean,implib
17513 wine_fn_config_test dlls/propsys/tests propsys_test
17514 wine_fn_config_dll psapi enable_psapi implib
17515 wine_fn_config_test dlls/psapi/tests psapi_test
17516 wine_fn_config_dll pstorec enable_pstorec clean
17517 wine_fn_config_dll qcap enable_qcap
17518 wine_fn_config_test dlls/qcap/tests qcap_test
17519 wine_fn_config_dll qedit enable_qedit clean
17520 wine_fn_config_test dlls/qedit/tests qedit_test
17521 wine_fn_config_dll qmgr enable_qmgr clean
17522 wine_fn_config_test dlls/qmgr/tests qmgr_test
17523 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17524 wine_fn_config_dll quartz enable_quartz clean,implib
17525 wine_fn_config_test dlls/quartz/tests quartz_test clean
17526 wine_fn_config_dll query enable_query
17527 wine_fn_config_dll rasapi16.dll16 enable_win16
17528 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17529 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17530 wine_fn_config_dll rasdlg enable_rasdlg implib
17531 wine_fn_config_dll regapi enable_regapi
17532 wine_fn_config_dll resutils enable_resutils implib
17533 wine_fn_config_dll riched20 enable_riched20 clean,implib
17534 wine_fn_config_test dlls/riched20/tests riched20_test
17535 wine_fn_config_dll riched32 enable_riched32
17536 wine_fn_config_test dlls/riched32/tests riched32_test
17537 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17538 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17539 wine_fn_config_dll rsabase enable_rsabase
17540 wine_fn_config_dll rsaenh enable_rsaenh implib
17541 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17542 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17543 wine_fn_config_dll rtutils enable_rtutils implib
17544 wine_fn_config_dll samlib enable_samlib
17545 wine_fn_config_dll sane.ds enable_sane_ds po
17546 wine_fn_config_dll scarddlg enable_scarddlg
17547 wine_fn_config_dll sccbase enable_sccbase
17548 wine_fn_config_dll schannel enable_schannel
17549 wine_fn_config_test dlls/schannel/tests schannel_test
17550 wine_fn_config_dll schedsvc enable_schedsvc clean
17551 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17552 wine_fn_config_dll scrrun enable_scrrun clean
17553 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17554 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17555 wine_fn_config_dll secur32 enable_secur32 implib
17556 wine_fn_config_test dlls/secur32/tests secur32_test
17557 wine_fn_config_dll security enable_security
17558 wine_fn_config_dll sensapi enable_sensapi implib
17559 wine_fn_config_dll serialui enable_serialui implib,po
17560 wine_fn_config_test dlls/serialui/tests serialui_test
17561 wine_fn_config_dll setupapi enable_setupapi implib,po
17562 wine_fn_config_test dlls/setupapi/tests setupapi_test
17563 wine_fn_config_dll setupx.dll16 enable_win16
17564 wine_fn_config_dll sfc enable_sfc implib
17565 wine_fn_config_dll sfc_os enable_sfc_os implib
17566 wine_fn_config_dll shdoclc enable_shdoclc po
17567 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17568 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17569 wine_fn_config_dll shell.dll16 enable_win16
17570 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17571 wine_fn_config_test dlls/shell32/tests shell32_test
17572 wine_fn_config_dll shfolder enable_shfolder implib
17573 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17574 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17575 wine_fn_config_dll slbcsp enable_slbcsp
17576 wine_fn_config_dll slc enable_slc implib
17577 wine_fn_config_test dlls/slc/tests slc_test
17578 wine_fn_config_dll snmpapi enable_snmpapi implib
17579 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17580 wine_fn_config_dll softpub enable_softpub
17581 wine_fn_config_dll sound.drv16 enable_win16
17582 wine_fn_config_dll spoolss enable_spoolss implib
17583 wine_fn_config_test dlls/spoolss/tests spoolss_test
17584 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17585 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17586 wine_fn_config_dll sti enable_sti clean,implib
17587 wine_fn_config_test dlls/sti/tests sti_test
17588 wine_fn_config_dll storage.dll16 enable_win16
17589 wine_fn_config_dll stress.dll16 enable_win16
17590 wine_fn_config_lib strmbase
17591 wine_fn_config_lib strmiids
17592 wine_fn_config_dll svrapi enable_svrapi
17593 wine_fn_config_dll sxs enable_sxs implib
17594 wine_fn_config_test dlls/sxs/tests sxs_test
17595 wine_fn_config_dll system.drv16 enable_win16
17596 wine_fn_config_dll t2embed enable_t2embed
17597 wine_fn_config_dll tapi32 enable_tapi32 implib
17598 wine_fn_config_dll taskschd enable_taskschd clean
17599 wine_fn_config_test dlls/taskschd/tests taskschd_test
17600 wine_fn_config_dll toolhelp.dll16 enable_win16
17601 wine_fn_config_dll traffic enable_traffic
17602 wine_fn_config_dll twain.dll16 enable_win16
17603 wine_fn_config_dll twain_32 enable_twain_32
17604 wine_fn_config_test dlls/twain_32/tests twain_32_test
17605 wine_fn_config_dll typelib.dll16 enable_win16
17606 wine_fn_config_dll unicows enable_unicows implib
17607 wine_fn_config_dll updspapi enable_updspapi
17608 wine_fn_config_dll url enable_url implib
17609 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17610 wine_fn_config_test dlls/urlmon/tests urlmon_test
17611 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17612 wine_fn_config_dll user.exe16 enable_win16
17613 wine_fn_config_dll user32 enable_user32 clean,implib,po
17614 wine_fn_config_test dlls/user32/tests user32_test
17615 wine_fn_config_dll userenv enable_userenv implib
17616 wine_fn_config_test dlls/userenv/tests userenv_test
17617 wine_fn_config_dll usp10 enable_usp10 implib
17618 wine_fn_config_test dlls/usp10/tests usp10_test
17619 wine_fn_config_lib uuid
17620 wine_fn_config_dll uxtheme enable_uxtheme implib
17621 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17622 wine_fn_config_dll vbscript enable_vbscript clean
17623 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17624 wine_fn_config_dll vcomp enable_vcomp
17625 wine_fn_config_dll vcomp100 enable_vcomp100
17626 wine_fn_config_dll vcomp90 enable_vcomp90
17627 wine_fn_config_dll vdhcp.vxd enable_win16
17628 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17629 wine_fn_config_dll ver.dll16 enable_win16
17630 wine_fn_config_dll version enable_version implib
17631 wine_fn_config_test dlls/version/tests version_test
17632 wine_fn_config_dll vmm.vxd enable_win16
17633 wine_fn_config_dll vnbt.vxd enable_win16
17634 wine_fn_config_dll vnetbios.vxd enable_win16
17635 wine_fn_config_dll vssapi enable_vssapi
17636 wine_fn_config_dll vtdapi.vxd enable_win16
17637 wine_fn_config_dll vwin32.vxd enable_win16
17638 wine_fn_config_dll w32skrnl enable_win16
17639 wine_fn_config_dll w32sys.dll16 enable_win16
17640 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17641 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17642 wine_fn_config_dll wbemprox enable_wbemprox clean
17643 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17644 wine_fn_config_dll webservices enable_webservices implib
17645 wine_fn_config_dll wer enable_wer implib
17646 wine_fn_config_test dlls/wer/tests wer_test
17647 wine_fn_config_dll wevtapi enable_wevtapi
17648 wine_fn_config_dll wiaservc enable_wiaservc clean
17649 wine_fn_config_dll win32s16.dll16 enable_win16
17650 wine_fn_config_dll win87em.dll16 enable_win16
17651 wine_fn_config_dll winaspi.dll16 enable_win16
17652 wine_fn_config_dll windebug.dll16 enable_win16
17653 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17654 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17655 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17656 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17657 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17658 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17659 wine_fn_config_lib winecrt0
17660 wine_fn_config_dll wined3d enable_wined3d implib
17661 wine_fn_config_dll winegstreamer enable_winegstreamer
17662 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17663 wine_fn_config_dll winemac.drv enable_winemac_drv
17664 wine_fn_config_dll winemapi enable_winemapi
17665 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17666 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17667 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17668 wine_fn_config_dll wineps16.drv16 enable_win16
17669 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17670 wine_fn_config_dll winex11.drv enable_winex11_drv
17671 wine_fn_config_dll wing.dll16 enable_win16
17672 wine_fn_config_dll wing32 enable_wing32
17673 wine_fn_config_dll winhttp enable_winhttp clean,implib
17674 wine_fn_config_test dlls/winhttp/tests winhttp_test
17675 wine_fn_config_dll wininet enable_wininet implib,po
17676 wine_fn_config_test dlls/wininet/tests wininet_test
17677 wine_fn_config_dll winmm enable_winmm implib,po
17678 wine_fn_config_test dlls/winmm/tests winmm_test
17679 wine_fn_config_dll winnls.dll16 enable_win16
17680 wine_fn_config_dll winnls32 enable_winnls32 implib
17681 wine_fn_config_dll winscard enable_winscard implib
17682 wine_fn_config_dll winsock.dll16 enable_win16
17683 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17684 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17685 wine_fn_config_dll winsta enable_winsta
17686 wine_fn_config_dll wintab.dll16 enable_win16
17687 wine_fn_config_dll wintab32 enable_wintab32 implib
17688 wine_fn_config_test dlls/wintab32/tests wintab32_test
17689 wine_fn_config_dll wintrust enable_wintrust implib
17690 wine_fn_config_test dlls/wintrust/tests wintrust_test
17691 wine_fn_config_dll wlanapi enable_wlanapi
17692 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17693 wine_fn_config_test dlls/wldap32/tests wldap32_test
17694 wine_fn_config_dll wmi enable_wmi
17695 wine_fn_config_dll wmiutils enable_wmiutils clean
17696 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17697 wine_fn_config_dll wmp enable_wmp clean
17698 wine_fn_config_test dlls/wmp/tests wmp_test
17699 wine_fn_config_dll wmvcore enable_wmvcore
17700 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17701 wine_fn_config_dll wow32 enable_win16 implib
17702 wine_fn_config_dll wpcap enable_wpcap
17703 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17704 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17705 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17706 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17707 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17708 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17709 wine_fn_config_dll wsock32 enable_wsock32 implib
17710 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17711 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
17712 wine_fn_config_dll wuapi enable_wuapi clean
17713 wine_fn_config_dll wuaueng enable_wuaueng
17714 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17715 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17716 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17717 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17718 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17719 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17720 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17721 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17722 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17723 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17724 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17725 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
17726 wine_fn_config_dll xinput1_1 enable_xinput1_1
17727 wine_fn_config_dll xinput1_2 enable_xinput1_2
17728 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17729 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17730 wine_fn_config_dll xinput1_4 enable_xinput1_4
17731 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17732 wine_fn_config_dll xmllite enable_xmllite implib
17733 wine_fn_config_test dlls/xmllite/tests xmllite_test
17734 wine_fn_config_dll xolehlp enable_xolehlp
17735 wine_fn_config_dll xpsprint enable_xpsprint
17736 wine_fn_config_dll xpssvcs enable_xpssvcs
17737 wine_fn_config_makefile documentation enable_documentation clean
17738 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17739 wine_fn_config_makefile include enable_include clean,install-dev
17740 wine_fn_config_makefile libs/port enable_libs_port
17741 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17742 wine_fn_config_makefile libs/wpp enable_libs_wpp
17743 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17744 wine_fn_config_program arp enable_arp install
17745 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17746 wine_fn_config_program attrib enable_attrib install,po
17747 wine_fn_config_program cabarc enable_cabarc install
17748 wine_fn_config_program cacls enable_cacls install
17749 wine_fn_config_program clock enable_clock install,po
17750 wine_fn_config_program cmd enable_cmd install,po
17751 wine_fn_config_test programs/cmd/tests cmd.exe_test
17752 wine_fn_config_program conhost enable_conhost install
17753 wine_fn_config_program control enable_control install
17754 wine_fn_config_program cscript enable_cscript clean,install
17755 wine_fn_config_program dpnsvr enable_dpnsvr install
17756 wine_fn_config_program dxdiag enable_dxdiag install,po
17757 wine_fn_config_program eject enable_eject install
17758 wine_fn_config_program expand enable_expand install
17759 wine_fn_config_program explorer enable_explorer install,po
17760 wine_fn_config_program extrac32 enable_extrac32 install
17761 wine_fn_config_program findstr enable_findstr install
17762 wine_fn_config_program hh enable_hh install
17763 wine_fn_config_program hostname enable_hostname install,po
17764 wine_fn_config_program icinfo enable_icinfo install
17765 wine_fn_config_program iexplore enable_iexplore install
17766 wine_fn_config_program ipconfig enable_ipconfig install,po
17767 wine_fn_config_program lodctr enable_lodctr install
17768 wine_fn_config_program mofcomp enable_mofcomp install
17769 wine_fn_config_program mshta enable_mshta install
17770 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17771 wine_fn_config_program net enable_net install,po
17772 wine_fn_config_program netsh enable_netsh install
17773 wine_fn_config_program netstat enable_netstat install,po
17774 wine_fn_config_program ngen enable_ngen install
17775 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17776 wine_fn_config_program oleview enable_oleview install,po
17777 wine_fn_config_program ping enable_ping install
17778 wine_fn_config_program plugplay enable_plugplay install
17779 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17780 wine_fn_config_program progman enable_progman install,po
17781 wine_fn_config_program reg enable_reg install,po
17782 wine_fn_config_test programs/reg/tests reg.exe_test
17783 wine_fn_config_program regasm enable_regasm install
17784 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17785 wine_fn_config_test programs/regedit/tests regedit.exe_test
17786 wine_fn_config_program regsvcs enable_regsvcs install
17787 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
17788 wine_fn_config_program rpcss enable_rpcss clean,install
17789 wine_fn_config_program rundll.exe16 enable_win16 install
17790 wine_fn_config_program rundll32 enable_rundll32 install
17791 wine_fn_config_program sc enable_sc install
17792 wine_fn_config_program schtasks enable_schtasks install
17793 wine_fn_config_program sdbinst enable_sdbinst install
17794 wine_fn_config_program secedit enable_secedit install
17795 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17796 wine_fn_config_program services enable_services clean,install
17797 wine_fn_config_test programs/services/tests services.exe_test
17798 wine_fn_config_program spoolsv enable_spoolsv install
17799 wine_fn_config_program start enable_start install,po
17800 wine_fn_config_program svchost enable_svchost install
17801 wine_fn_config_program systeminfo enable_systeminfo install
17802 wine_fn_config_program taskkill enable_taskkill install,po
17803 wine_fn_config_program tasklist enable_tasklist install
17804 wine_fn_config_program taskmgr enable_taskmgr install,po
17805 wine_fn_config_program termsv enable_termsv install
17806 wine_fn_config_program uninstaller enable_uninstaller install,po
17807 wine_fn_config_program unlodctr enable_unlodctr install
17808 wine_fn_config_program view enable_view install,po
17809 wine_fn_config_program wevtutil enable_wevtutil install
17810 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17811 wine_fn_config_program winebrowser enable_winebrowser install
17812 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17813 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17814 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17815 wine_fn_config_program winedevice enable_winedevice install
17816 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17817 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17818 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17819 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17820 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17821 wine_fn_config_program winetest enable_winetest clean
17822 wine_fn_config_program winevdm enable_win16 install
17823 wine_fn_config_program winhelp.exe16 enable_win16 install
17824 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17825 wine_fn_config_program winoldap.mod16 enable_win16 install
17826 wine_fn_config_program winver enable_winver install
17827 wine_fn_config_program wmic enable_wmic install,po
17828 wine_fn_config_program wordpad enable_wordpad install,po
17829 wine_fn_config_program write enable_write install,po
17830 wine_fn_config_program wscript enable_wscript clean,install
17831 wine_fn_config_test programs/wscript/tests wscript.exe_test
17832 wine_fn_config_program wusa enable_wusa install
17833 wine_fn_config_program xcopy enable_xcopy install,po
17834 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17835 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17836 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17837 wine_fn_config_tool tools/sfnt2fon clean
17838 wine_fn_config_tool tools/widl clean,install-dev,manpage
17839 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17840 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17841 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17842 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17843 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17845 LINGUAS="\
17846 ar \
17847 bg \
17848 ca \
17849 cs \
17850 da \
17851 de \
17852 el \
17853 en \
17854 en_US \
17855 eo \
17856 es \
17857 fa \
17858 fi \
17859 fr \
17860 he \
17861 hi \
17862 hr \
17863 hu \
17864 it \
17865 ja \
17866 ko \
17867 lt \
17868 ml \
17869 nb_NO \
17870 nl \
17871 or \
17872 pa \
17873 pl \
17874 pt_BR \
17875 pt_PT \
17876 rm \
17877 ro \
17878 ru \
17879 sk \
17880 sl \
17881 sr_RS@cyrillic \
17882 sr_RS@latin \
17883 sv \
17884 te \
17885 th \
17886 tr \
17887 uk \
17888 wa \
17889 zh_CN \
17890 zh_TW"
17895 wine_fn_ignore_file ".gitignore"
17896 wine_fn_ignore_file "Makefile"
17897 wine_fn_ignore_file "TAGS"
17898 wine_fn_ignore_file "tags"
17899 wine_fn_ignore_file "autom4te.cache"
17900 wine_fn_ignore_file "config.cache"
17901 wine_fn_ignore_file "config.log"
17902 wine_fn_ignore_file "config.status"
17903 wine_fn_ignore_file "configure.lineno"
17904 wine_fn_ignore_file "include/config.h"
17905 wine_fn_ignore_file "include/stamp-h"
17906 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17908 if test "x$enable_tools" != xno
17909 then
17910 wine_fn_ignore_file "tools/makedep$ac_exeext"
17911 ac_config_commands="$ac_config_commands tools/makedep"
17915 ac_config_commands="$ac_config_commands Makefile"
17918 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17922 if test "x$enable_maintainer_mode" = xyes
17923 then
17924 wine_fn_append_rule "configure: configure.ac aclocal.m4
17925 autoconf --warnings=all
17926 include/config.h.in: include/stamp-h.in
17927 include/stamp-h.in: configure.ac aclocal.m4
17928 autoheader --warnings=all
17929 @echo timestamp > \$@"
17932 if test "x$with_gettextpo" = xyes
17933 then
17934 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17935 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17936 \$(LINGUAS:%=po/%.po): po/wine.pot
17937 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17938 po/wine.pot: \$(ALL_POT_FILES)
17939 msgcat -o \$@ \$(ALL_POT_FILES)"
17942 if test "$MSGFMT" != false
17943 then
17944 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17945 clean::
17946 \$(RM) \$(LINGUAS:%=po/%.mo)"
17948 posrc="po"
17949 test "$srcdir" = . || posrc="$srcdir/po"
17950 for i in $LINGUAS
17952 wine_fn_ignore_file "po/$i.mo"
17953 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17954 \$(MSGFMT) -o \$@ $posrc/$i.po"
17955 done
17956 else
17957 LINGUAS=
17960 if test "x$enable_tools" != xno
17961 then
17962 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17963 @./config.status tools/makedep
17964 Makefile: tools/makedep$ac_exeext
17965 distclean:: clean
17966 \$(RM) tools/makedep$ac_exeext"
17967 else
17968 wine_fn_append_rule "\$(MAKEDEP):
17969 @echo \"You need to run make in $TOOLSDIR first\" && false"
17972 if test -n "$with_wine64"
17973 then
17974 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17975 fonts server tools:
17976 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17977 $with_wine64/loader/wine:
17978 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17979 $with_wine64/loader/wine-preloader:
17980 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17981 clean::
17982 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17983 else
17984 as_fn_append LOADER_RULES "
17985 install install-lib:: wine.inf install-man-pages
17986 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17987 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17989 uninstall::
17990 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17994 if test "$srcdir" = .
17995 then
17996 ac_config_commands="$ac_config_commands .gitignore"
18000 $as_echo " done" >&6
18001 cat >confcache <<\_ACEOF
18002 # This file is a shell script that caches the results of configure
18003 # tests run on this system so they can be shared between configure
18004 # scripts and configure runs, see configure's option --config-cache.
18005 # It is not useful on other systems. If it contains results you don't
18006 # want to keep, you may remove or edit it.
18008 # config.status only pays attention to the cache file if you give it
18009 # the --recheck option to rerun configure.
18011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18013 # following values.
18015 _ACEOF
18017 # The following way of writing the cache mishandles newlines in values,
18018 # but we know of no workaround that is simple, portable, and efficient.
18019 # So, we kill variables containing newlines.
18020 # Ultrix sh set writes to stderr and can't be redirected directly,
18021 # and sets the high bit in the cache file unless we assign to the vars.
18023 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18024 eval ac_val=\$$ac_var
18025 case $ac_val in #(
18026 *${as_nl}*)
18027 case $ac_var in #(
18028 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18029 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18030 esac
18031 case $ac_var in #(
18032 _ | IFS | as_nl) ;; #(
18033 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18034 *) { eval $ac_var=; unset $ac_var;} ;;
18035 esac ;;
18036 esac
18037 done
18039 (set) 2>&1 |
18040 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18041 *${as_nl}ac_space=\ *)
18042 # `set' does not quote correctly, so add quotes: double-quote
18043 # substitution turns \\\\ into \\, and sed turns \\ into \.
18044 sed -n \
18045 "s/'/'\\\\''/g;
18046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18047 ;; #(
18049 # `set' quotes correctly as required by POSIX, so do not add quotes.
18050 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18052 esac |
18053 sort
18055 sed '
18056 /^ac_cv_env_/b end
18057 t clear
18058 :clear
18059 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18060 t end
18061 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18062 :end' >>confcache
18063 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18064 if test -w "$cache_file"; then
18065 if test "x$cache_file" != "x/dev/null"; then
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18067 $as_echo "$as_me: updating cache $cache_file" >&6;}
18068 if test ! -f "$cache_file" || test -h "$cache_file"; then
18069 cat confcache >"$cache_file"
18070 else
18071 case $cache_file in #(
18072 */* | ?:*)
18073 mv -f confcache "$cache_file"$$ &&
18074 mv -f "$cache_file"$$ "$cache_file" ;; #(
18076 mv -f confcache "$cache_file" ;;
18077 esac
18080 else
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18082 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18085 rm -f confcache
18087 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18088 # Let make expand exec_prefix.
18089 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18091 DEFS=-DHAVE_CONFIG_H
18093 ac_libobjs=
18094 ac_ltlibobjs=
18096 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18097 # 1. Remove the extension, and $U if already installed.
18098 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18099 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18101 # will be set to the directory where LIBOBJS objects are built.
18102 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18103 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18104 done
18105 LIBOBJS=$ac_libobjs
18107 LTLIBOBJS=$ac_ltlibobjs
18111 : "${CONFIG_STATUS=./config.status}"
18112 ac_write_fail=0
18113 ac_clean_files_save=$ac_clean_files
18114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18117 as_write_fail=0
18118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18119 #! $SHELL
18120 # Generated by $as_me.
18121 # Run this file to recreate the current configuration.
18122 # Compiler output produced by configure, useful for debugging
18123 # configure, is in config.log if it exists.
18125 debug=false
18126 ac_cs_recheck=false
18127 ac_cs_silent=false
18129 SHELL=\${CONFIG_SHELL-$SHELL}
18130 export SHELL
18131 _ASEOF
18132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18133 ## -------------------- ##
18134 ## M4sh Initialization. ##
18135 ## -------------------- ##
18137 # Be more Bourne compatible
18138 DUALCASE=1; export DUALCASE # for MKS sh
18139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18140 emulate sh
18141 NULLCMD=:
18142 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18143 # is contrary to our usage. Disable this feature.
18144 alias -g '${1+"$@"}'='"$@"'
18145 setopt NO_GLOB_SUBST
18146 else
18147 case `(set -o) 2>/dev/null` in #(
18148 *posix*) :
18149 set -o posix ;; #(
18150 *) :
18152 esac
18156 as_nl='
18158 export as_nl
18159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18163 # Prefer a ksh shell builtin over an external printf program on Solaris,
18164 # but without wasting forks for bash or zsh.
18165 if test -z "$BASH_VERSION$ZSH_VERSION" \
18166 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18167 as_echo='print -r --'
18168 as_echo_n='print -rn --'
18169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18170 as_echo='printf %s\n'
18171 as_echo_n='printf %s'
18172 else
18173 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18174 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18175 as_echo_n='/usr/ucb/echo -n'
18176 else
18177 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18178 as_echo_n_body='eval
18179 arg=$1;
18180 case $arg in #(
18181 *"$as_nl"*)
18182 expr "X$arg" : "X\\(.*\\)$as_nl";
18183 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18184 esac;
18185 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18187 export as_echo_n_body
18188 as_echo_n='sh -c $as_echo_n_body as_echo'
18190 export as_echo_body
18191 as_echo='sh -c $as_echo_body as_echo'
18194 # The user is always right.
18195 if test "${PATH_SEPARATOR+set}" != set; then
18196 PATH_SEPARATOR=:
18197 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18198 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18199 PATH_SEPARATOR=';'
18204 # IFS
18205 # We need space, tab and new line, in precisely that order. Quoting is
18206 # there to prevent editors from complaining about space-tab.
18207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18208 # splitting by setting IFS to empty value.)
18209 IFS=" "" $as_nl"
18211 # Find who we are. Look in the path if we contain no directory separator.
18212 as_myself=
18213 case $0 in #((
18214 *[\\/]* ) as_myself=$0 ;;
18215 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18216 for as_dir in $PATH
18218 IFS=$as_save_IFS
18219 test -z "$as_dir" && as_dir=.
18220 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18221 done
18222 IFS=$as_save_IFS
18225 esac
18226 # We did not find ourselves, most probably we were run as `sh COMMAND'
18227 # in which case we are not to be found in the path.
18228 if test "x$as_myself" = x; then
18229 as_myself=$0
18231 if test ! -f "$as_myself"; then
18232 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18233 exit 1
18236 # Unset variables that we do not need and which cause bugs (e.g. in
18237 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18238 # suppresses any "Segmentation fault" message there. '((' could
18239 # trigger a bug in pdksh 5.2.14.
18240 for as_var in BASH_ENV ENV MAIL MAILPATH
18241 do eval test x\${$as_var+set} = xset \
18242 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18243 done
18244 PS1='$ '
18245 PS2='> '
18246 PS4='+ '
18248 # NLS nuisances.
18249 LC_ALL=C
18250 export LC_ALL
18251 LANGUAGE=C
18252 export LANGUAGE
18254 # CDPATH.
18255 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18258 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18259 # ----------------------------------------
18260 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18261 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18262 # script with STATUS, using 1 if that was 0.
18263 as_fn_error ()
18265 as_status=$1; test $as_status -eq 0 && as_status=1
18266 if test "$4"; then
18267 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18268 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18270 $as_echo "$as_me: error: $2" >&2
18271 as_fn_exit $as_status
18272 } # as_fn_error
18275 # as_fn_set_status STATUS
18276 # -----------------------
18277 # Set $? to STATUS, without forking.
18278 as_fn_set_status ()
18280 return $1
18281 } # as_fn_set_status
18283 # as_fn_exit STATUS
18284 # -----------------
18285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18286 as_fn_exit ()
18288 set +e
18289 as_fn_set_status $1
18290 exit $1
18291 } # as_fn_exit
18293 # as_fn_unset VAR
18294 # ---------------
18295 # Portably unset VAR.
18296 as_fn_unset ()
18298 { eval $1=; unset $1;}
18300 as_unset=as_fn_unset
18301 # as_fn_append VAR VALUE
18302 # ----------------------
18303 # Append the text in VALUE to the end of the definition contained in VAR. Take
18304 # advantage of any shell optimizations that allow amortized linear growth over
18305 # repeated appends, instead of the typical quadratic growth present in naive
18306 # implementations.
18307 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18308 eval 'as_fn_append ()
18310 eval $1+=\$2
18312 else
18313 as_fn_append ()
18315 eval $1=\$$1\$2
18317 fi # as_fn_append
18319 # as_fn_arith ARG...
18320 # ------------------
18321 # Perform arithmetic evaluation on the ARGs, and store the result in the
18322 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18323 # must be portable across $(()) and expr.
18324 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18325 eval 'as_fn_arith ()
18327 as_val=$(( $* ))
18329 else
18330 as_fn_arith ()
18332 as_val=`expr "$@" || test $? -eq 1`
18334 fi # as_fn_arith
18337 if expr a : '\(a\)' >/dev/null 2>&1 &&
18338 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18339 as_expr=expr
18340 else
18341 as_expr=false
18344 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18345 as_basename=basename
18346 else
18347 as_basename=false
18350 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18351 as_dirname=dirname
18352 else
18353 as_dirname=false
18356 as_me=`$as_basename -- "$0" ||
18357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18358 X"$0" : 'X\(//\)$' \| \
18359 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18360 $as_echo X/"$0" |
18361 sed '/^.*\/\([^/][^/]*\)\/*$/{
18362 s//\1/
18365 /^X\/\(\/\/\)$/{
18366 s//\1/
18369 /^X\/\(\/\).*/{
18370 s//\1/
18373 s/.*/./; q'`
18375 # Avoid depending upon Character Ranges.
18376 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18377 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18378 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18379 as_cr_digits='0123456789'
18380 as_cr_alnum=$as_cr_Letters$as_cr_digits
18382 ECHO_C= ECHO_N= ECHO_T=
18383 case `echo -n x` in #(((((
18384 -n*)
18385 case `echo 'xy\c'` in
18386 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18387 xy) ECHO_C='\c';;
18388 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18389 ECHO_T=' ';;
18390 esac;;
18392 ECHO_N='-n';;
18393 esac
18395 rm -f conf$$ conf$$.exe conf$$.file
18396 if test -d conf$$.dir; then
18397 rm -f conf$$.dir/conf$$.file
18398 else
18399 rm -f conf$$.dir
18400 mkdir conf$$.dir 2>/dev/null
18402 if (echo >conf$$.file) 2>/dev/null; then
18403 if ln -s conf$$.file conf$$ 2>/dev/null; then
18404 as_ln_s='ln -s'
18405 # ... but there are two gotchas:
18406 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18407 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18408 # In both cases, we have to default to `cp -pR'.
18409 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18410 as_ln_s='cp -pR'
18411 elif ln conf$$.file conf$$ 2>/dev/null; then
18412 as_ln_s=ln
18413 else
18414 as_ln_s='cp -pR'
18416 else
18417 as_ln_s='cp -pR'
18419 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18420 rmdir conf$$.dir 2>/dev/null
18423 # as_fn_mkdir_p
18424 # -------------
18425 # Create "$as_dir" as a directory, including parents if necessary.
18426 as_fn_mkdir_p ()
18429 case $as_dir in #(
18430 -*) as_dir=./$as_dir;;
18431 esac
18432 test -d "$as_dir" || eval $as_mkdir_p || {
18433 as_dirs=
18434 while :; do
18435 case $as_dir in #(
18436 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18437 *) as_qdir=$as_dir;;
18438 esac
18439 as_dirs="'$as_qdir' $as_dirs"
18440 as_dir=`$as_dirname -- "$as_dir" ||
18441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18442 X"$as_dir" : 'X\(//\)[^/]' \| \
18443 X"$as_dir" : 'X\(//\)$' \| \
18444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18445 $as_echo X"$as_dir" |
18446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18447 s//\1/
18450 /^X\(\/\/\)[^/].*/{
18451 s//\1/
18454 /^X\(\/\/\)$/{
18455 s//\1/
18458 /^X\(\/\).*/{
18459 s//\1/
18462 s/.*/./; q'`
18463 test -d "$as_dir" && break
18464 done
18465 test -z "$as_dirs" || eval "mkdir $as_dirs"
18466 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18469 } # as_fn_mkdir_p
18470 if mkdir -p . 2>/dev/null; then
18471 as_mkdir_p='mkdir -p "$as_dir"'
18472 else
18473 test -d ./-p && rmdir ./-p
18474 as_mkdir_p=false
18478 # as_fn_executable_p FILE
18479 # -----------------------
18480 # Test if FILE is an executable regular file.
18481 as_fn_executable_p ()
18483 test -f "$1" && test -x "$1"
18484 } # as_fn_executable_p
18485 as_test_x='test -x'
18486 as_executable_p=as_fn_executable_p
18488 # Sed expression to map a string onto a valid CPP name.
18489 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18491 # Sed expression to map a string onto a valid variable name.
18492 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18495 exec 6>&1
18496 ## ----------------------------------- ##
18497 ## Main body of $CONFIG_STATUS script. ##
18498 ## ----------------------------------- ##
18499 _ASEOF
18500 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18503 # Save the log message, to keep $0 and so on meaningful, and to
18504 # report actual input values of CONFIG_FILES etc. instead of their
18505 # values after options handling.
18506 ac_log="
18507 This file was extended by Wine $as_me 1.7.46, which was
18508 generated by GNU Autoconf 2.69. Invocation command line was
18510 CONFIG_FILES = $CONFIG_FILES
18511 CONFIG_HEADERS = $CONFIG_HEADERS
18512 CONFIG_LINKS = $CONFIG_LINKS
18513 CONFIG_COMMANDS = $CONFIG_COMMANDS
18514 $ $0 $@
18516 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18519 _ACEOF
18521 case $ac_config_files in *"
18522 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18523 esac
18525 case $ac_config_headers in *"
18526 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18527 esac
18530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18531 # Files that config.status was made for.
18532 config_files="$ac_config_files"
18533 config_headers="$ac_config_headers"
18534 config_links="$ac_config_links"
18535 config_commands="$ac_config_commands"
18537 _ACEOF
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18540 ac_cs_usage="\
18541 \`$as_me' instantiates files and other configuration actions
18542 from templates according to the current configuration. Unless the files
18543 and actions are specified as TAGs, all are instantiated by default.
18545 Usage: $0 [OPTION]... [TAG]...
18547 -h, --help print this help, then exit
18548 -V, --version print version number and configuration settings, then exit
18549 --config print configuration, then exit
18550 -q, --quiet, --silent
18551 do not print progress messages
18552 -d, --debug don't remove temporary files
18553 --recheck update $as_me by reconfiguring in the same conditions
18554 --file=FILE[:TEMPLATE]
18555 instantiate the configuration file FILE
18556 --header=FILE[:TEMPLATE]
18557 instantiate the configuration header FILE
18559 Configuration files:
18560 $config_files
18562 Configuration headers:
18563 $config_headers
18565 Configuration links:
18566 $config_links
18568 Configuration commands:
18569 $config_commands
18571 Report bugs to <wine-devel@winehq.org>.
18572 Wine home page: <http://www.winehq.org>."
18574 _ACEOF
18575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18576 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18577 ac_cs_version="\\
18578 Wine config.status 1.7.46
18579 configured by $0, generated by GNU Autoconf 2.69,
18580 with options \\"\$ac_cs_config\\"
18582 Copyright (C) 2012 Free Software Foundation, Inc.
18583 This config.status script is free software; the Free Software Foundation
18584 gives unlimited permission to copy, distribute and modify it."
18586 ac_pwd='$ac_pwd'
18587 srcdir='$srcdir'
18588 test -n "\$AWK" || AWK=awk
18589 _ACEOF
18591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18592 # The default lists apply if the user does not specify any file.
18593 ac_need_defaults=:
18594 while test $# != 0
18596 case $1 in
18597 --*=?*)
18598 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18599 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18600 ac_shift=:
18602 --*=)
18603 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18604 ac_optarg=
18605 ac_shift=:
18608 ac_option=$1
18609 ac_optarg=$2
18610 ac_shift=shift
18612 esac
18614 case $ac_option in
18615 # Handling of the options.
18616 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18617 ac_cs_recheck=: ;;
18618 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18619 $as_echo "$ac_cs_version"; exit ;;
18620 --config | --confi | --conf | --con | --co | --c )
18621 $as_echo "$ac_cs_config"; exit ;;
18622 --debug | --debu | --deb | --de | --d | -d )
18623 debug=: ;;
18624 --file | --fil | --fi | --f )
18625 $ac_shift
18626 case $ac_optarg in
18627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18628 '') as_fn_error $? "missing file argument" ;;
18629 esac
18630 as_fn_append CONFIG_FILES " '$ac_optarg'"
18631 ac_need_defaults=false;;
18632 --header | --heade | --head | --hea )
18633 $ac_shift
18634 case $ac_optarg in
18635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18636 esac
18637 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18638 ac_need_defaults=false;;
18639 --he | --h)
18640 # Conflict between --help and --header
18641 as_fn_error $? "ambiguous option: \`$1'
18642 Try \`$0 --help' for more information.";;
18643 --help | --hel | -h )
18644 $as_echo "$ac_cs_usage"; exit ;;
18645 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18646 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18647 ac_cs_silent=: ;;
18649 # This is an error.
18650 -*) as_fn_error $? "unrecognized option: \`$1'
18651 Try \`$0 --help' for more information." ;;
18653 *) as_fn_append ac_config_targets " $1"
18654 ac_need_defaults=false ;;
18656 esac
18657 shift
18658 done
18660 ac_configure_extra_args=
18662 if $ac_cs_silent; then
18663 exec 6>/dev/null
18664 ac_configure_extra_args="$ac_configure_extra_args --silent"
18667 _ACEOF
18668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18669 if \$ac_cs_recheck; then
18670 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18671 shift
18672 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18673 CONFIG_SHELL='$SHELL'
18674 export CONFIG_SHELL
18675 exec "\$@"
18678 _ACEOF
18679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18680 exec 5>>config.log
18682 echo
18683 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18684 ## Running $as_me. ##
18685 _ASBOX
18686 $as_echo "$ac_log"
18687 } >&5
18689 _ACEOF
18690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18692 # INIT-COMMANDS
18694 wine_fn_output_makedep ()
18696 as_dir=tools; as_fn_mkdir_p
18697 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18699 wine_fn_output_makefile ()
18701 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18702 `cat $wine_rules_file`
18703 _WINE_EOF
18704 as_fn_error $? "could not create Makefile" "$LINENO" 5
18706 wine_fn_output_gitignore ()
18708 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18709 $GITIGNORE
18710 _WINE_EOF
18711 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18714 _ACEOF
18716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18718 # Handling of arguments.
18719 for ac_config_target in $ac_config_targets
18721 case $ac_config_target in
18722 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18723 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18724 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18725 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18726 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18727 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18728 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18729 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18730 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18731 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18732 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18733 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18734 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18735 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18737 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18738 esac
18739 done
18742 # If the user did not use the arguments to specify the items to instantiate,
18743 # then the envvar interface is used. Set only those that are not.
18744 # We use the long form for the default assignment because of an extremely
18745 # bizarre bug on SunOS 4.1.3.
18746 if $ac_need_defaults; then
18747 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18748 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18749 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18753 # Have a temporary directory for convenience. Make it in the build tree
18754 # simply because there is no reason against having it here, and in addition,
18755 # creating and moving files from /tmp can sometimes cause problems.
18756 # Hook for its removal unless debugging.
18757 # Note that there is a small window in which the directory will not be cleaned:
18758 # after its creation but before its name has been assigned to `$tmp'.
18759 $debug ||
18761 tmp= ac_tmp=
18762 trap 'exit_status=$?
18763 : "${ac_tmp:=$tmp}"
18764 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18766 trap 'as_fn_exit 1' 1 2 13 15
18768 # Create a (secure) tmp directory for tmp files.
18771 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18772 test -d "$tmp"
18773 } ||
18775 tmp=./conf$$-$RANDOM
18776 (umask 077 && mkdir "$tmp")
18777 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18778 ac_tmp=$tmp
18780 # Set up the scripts for CONFIG_FILES section.
18781 # No need to generate them if there are no CONFIG_FILES.
18782 # This happens for instance with `./config.status config.h'.
18783 if test -n "$CONFIG_FILES"; then
18786 ac_cr=`echo X | tr X '\015'`
18787 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18788 # But we know of no other shell where ac_cr would be empty at this
18789 # point, so we can use a bashism as a fallback.
18790 if test "x$ac_cr" = x; then
18791 eval ac_cr=\$\'\\r\'
18793 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18794 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18795 ac_cs_awk_cr='\\r'
18796 else
18797 ac_cs_awk_cr=$ac_cr
18800 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18801 _ACEOF
18805 echo "cat >conf$$subs.awk <<_ACEOF" &&
18806 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18807 echo "_ACEOF"
18808 } >conf$$subs.sh ||
18809 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18810 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18811 ac_delim='%!_!# '
18812 for ac_last_try in false false false false false :; do
18813 . ./conf$$subs.sh ||
18814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18816 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18817 if test $ac_delim_n = $ac_delim_num; then
18818 break
18819 elif $ac_last_try; then
18820 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18821 else
18822 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18824 done
18825 rm -f conf$$subs.sh
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18828 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18829 _ACEOF
18830 sed -n '
18832 s/^/S["/; s/!.*/"]=/
18835 s/^[^!]*!//
18836 :repl
18837 t repl
18838 s/'"$ac_delim"'$//
18839 t delim
18842 s/\(.\{148\}\)..*/\1/
18843 t more1
18844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18847 b repl
18848 :more1
18849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18852 s/.\{148\}//
18853 t nl
18854 :delim
18856 s/\(.\{148\}\)..*/\1/
18857 t more2
18858 s/["\\]/\\&/g; s/^/"/; s/$/"/
18861 :more2
18862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18865 s/.\{148\}//
18866 t delim
18867 ' <conf$$subs.awk | sed '
18868 /^[^""]/{
18870 s/\n//
18872 ' >>$CONFIG_STATUS || ac_write_fail=1
18873 rm -f conf$$subs.awk
18874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18875 _ACAWK
18876 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18877 for (key in S) S_is_set[key] = 1
18878 FS = "\a"
18882 line = $ 0
18883 nfields = split(line, field, "@")
18884 substed = 0
18885 len = length(field[1])
18886 for (i = 2; i < nfields; i++) {
18887 key = field[i]
18888 keylen = length(key)
18889 if (S_is_set[key]) {
18890 value = S[key]
18891 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18892 len += length(value) + length(field[++i])
18893 substed = 1
18894 } else
18895 len += 1 + keylen
18898 print line
18901 _ACAWK
18902 _ACEOF
18903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18905 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18906 else
18908 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18909 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18910 _ACEOF
18912 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18913 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18914 # trailing colons and then remove the whole line if VPATH becomes empty
18915 # (actually we leave an empty line to preserve line numbers).
18916 if test "x$srcdir" = x.; then
18917 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18919 s///
18920 s/^/:/
18921 s/[ ]*$/:/
18922 s/:\$(srcdir):/:/g
18923 s/:\${srcdir}:/:/g
18924 s/:@srcdir@:/:/g
18925 s/^:*//
18926 s/:*$//
18928 s/\(=[ ]*\).*/\1/
18930 s/\n//
18931 s/^[^=]*=[ ]*$//
18935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18936 fi # test -n "$CONFIG_FILES"
18938 # Set up the scripts for CONFIG_HEADERS section.
18939 # No need to generate them if there are no CONFIG_HEADERS.
18940 # This happens for instance with `./config.status Makefile'.
18941 if test -n "$CONFIG_HEADERS"; then
18942 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18943 BEGIN {
18944 _ACEOF
18946 # Transform confdefs.h into an awk script `defines.awk', embedded as
18947 # here-document in config.status, that substitutes the proper values into
18948 # config.h.in to produce config.h.
18950 # Create a delimiter string that does not exist in confdefs.h, to ease
18951 # handling of long lines.
18952 ac_delim='%!_!# '
18953 for ac_last_try in false false :; do
18954 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18955 if test -z "$ac_tt"; then
18956 break
18957 elif $ac_last_try; then
18958 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18959 else
18960 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18962 done
18964 # For the awk script, D is an array of macro values keyed by name,
18965 # likewise P contains macro parameters if any. Preserve backslash
18966 # newline sequences.
18968 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18969 sed -n '
18970 s/.\{148\}/&'"$ac_delim"'/g
18971 t rset
18972 :rset
18973 s/^[ ]*#[ ]*define[ ][ ]*/ /
18974 t def
18976 :def
18977 s/\\$//
18978 t bsnl
18979 s/["\\]/\\&/g
18980 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18981 D["\1"]=" \3"/p
18982 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18984 :bsnl
18985 s/["\\]/\\&/g
18986 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18987 D["\1"]=" \3\\\\\\n"\\/p
18988 t cont
18989 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18990 t cont
18992 :cont
18994 s/.\{148\}/&'"$ac_delim"'/g
18995 t clear
18996 :clear
18997 s/\\$//
18998 t bsnlc
18999 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19001 :bsnlc
19002 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19003 b cont
19004 ' <confdefs.h | sed '
19005 s/'"$ac_delim"'/"\\\
19006 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19009 for (key in D) D_is_set[key] = 1
19010 FS = "\a"
19012 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19013 line = \$ 0
19014 split(line, arg, " ")
19015 if (arg[1] == "#") {
19016 defundef = arg[2]
19017 mac1 = arg[3]
19018 } else {
19019 defundef = substr(arg[1], 2)
19020 mac1 = arg[2]
19022 split(mac1, mac2, "(") #)
19023 macro = mac2[1]
19024 prefix = substr(line, 1, index(line, defundef) - 1)
19025 if (D_is_set[macro]) {
19026 # Preserve the white space surrounding the "#".
19027 print prefix "define", macro P[macro] D[macro]
19028 next
19029 } else {
19030 # Replace #undef with comments. This is necessary, for example,
19031 # in the case of _POSIX_SOURCE, which is predefined and required
19032 # on some systems where configure will not decide to define it.
19033 if (defundef == "undef") {
19034 print "/*", prefix defundef, macro, "*/"
19035 next
19039 { print }
19040 _ACAWK
19041 _ACEOF
19042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19043 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19044 fi # test -n "$CONFIG_HEADERS"
19047 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19048 shift
19049 for ac_tag
19051 case $ac_tag in
19052 :[FHLC]) ac_mode=$ac_tag; continue;;
19053 esac
19054 case $ac_mode$ac_tag in
19055 :[FHL]*:*);;
19056 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19057 :[FH]-) ac_tag=-:-;;
19058 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19059 esac
19060 ac_save_IFS=$IFS
19061 IFS=:
19062 set x $ac_tag
19063 IFS=$ac_save_IFS
19064 shift
19065 ac_file=$1
19066 shift
19068 case $ac_mode in
19069 :L) ac_source=$1;;
19070 :[FH])
19071 ac_file_inputs=
19072 for ac_f
19074 case $ac_f in
19075 -) ac_f="$ac_tmp/stdin";;
19076 *) # Look for the file first in the build tree, then in the source tree
19077 # (if the path is not absolute). The absolute path cannot be DOS-style,
19078 # because $ac_f cannot contain `:'.
19079 test -f "$ac_f" ||
19080 case $ac_f in
19081 [\\/$]*) false;;
19082 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19083 esac ||
19084 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19085 esac
19086 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19087 as_fn_append ac_file_inputs " '$ac_f'"
19088 done
19090 # Let's still pretend it is `configure' which instantiates (i.e., don't
19091 # use $as_me), people would be surprised to read:
19092 # /* config.h. Generated by config.status. */
19093 configure_input='Generated from '`
19094 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19095 `' by configure.'
19096 if test x"$ac_file" != x-; then
19097 configure_input="$ac_file. $configure_input"
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19099 $as_echo "$as_me: creating $ac_file" >&6;}
19101 # Neutralize special characters interpreted by sed in replacement strings.
19102 case $configure_input in #(
19103 *\&* | *\|* | *\\* )
19104 ac_sed_conf_input=`$as_echo "$configure_input" |
19105 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19106 *) ac_sed_conf_input=$configure_input;;
19107 esac
19109 case $ac_tag in
19110 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19112 esac
19114 esac
19116 ac_dir=`$as_dirname -- "$ac_file" ||
19117 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19118 X"$ac_file" : 'X\(//\)[^/]' \| \
19119 X"$ac_file" : 'X\(//\)$' \| \
19120 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19121 $as_echo X"$ac_file" |
19122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19123 s//\1/
19126 /^X\(\/\/\)[^/].*/{
19127 s//\1/
19130 /^X\(\/\/\)$/{
19131 s//\1/
19134 /^X\(\/\).*/{
19135 s//\1/
19138 s/.*/./; q'`
19139 as_dir="$ac_dir"; as_fn_mkdir_p
19140 ac_builddir=.
19142 case "$ac_dir" in
19143 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19145 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19146 # A ".." for each directory in $ac_dir_suffix.
19147 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19148 case $ac_top_builddir_sub in
19149 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19150 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19151 esac ;;
19152 esac
19153 ac_abs_top_builddir=$ac_pwd
19154 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19155 # for backward compatibility:
19156 ac_top_builddir=$ac_top_build_prefix
19158 case $srcdir in
19159 .) # We are building in place.
19160 ac_srcdir=.
19161 ac_top_srcdir=$ac_top_builddir_sub
19162 ac_abs_top_srcdir=$ac_pwd ;;
19163 [\\/]* | ?:[\\/]* ) # Absolute name.
19164 ac_srcdir=$srcdir$ac_dir_suffix;
19165 ac_top_srcdir=$srcdir
19166 ac_abs_top_srcdir=$srcdir ;;
19167 *) # Relative name.
19168 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19169 ac_top_srcdir=$ac_top_build_prefix$srcdir
19170 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19171 esac
19172 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19175 case $ac_mode in
19178 # CONFIG_FILE
19181 _ACEOF
19183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19184 # If the template does not know about datarootdir, expand it.
19185 # FIXME: This hack should be removed a few years after 2.60.
19186 ac_datarootdir_hack=; ac_datarootdir_seen=
19187 ac_sed_dataroot='
19188 /datarootdir/ {
19192 /@datadir@/p
19193 /@docdir@/p
19194 /@infodir@/p
19195 /@localedir@/p
19196 /@mandir@/p'
19197 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19198 *datarootdir*) ac_datarootdir_seen=yes;;
19199 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19201 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19202 _ACEOF
19203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19204 ac_datarootdir_hack='
19205 s&@datadir@&$datadir&g
19206 s&@docdir@&$docdir&g
19207 s&@infodir@&$infodir&g
19208 s&@localedir@&$localedir&g
19209 s&@mandir@&$mandir&g
19210 s&\\\${datarootdir}&$datarootdir&g' ;;
19211 esac
19212 _ACEOF
19214 # Neutralize VPATH when `$srcdir' = `.'.
19215 # Shell code in configure.ac might set extrasub.
19216 # FIXME: do we really want to maintain this feature?
19217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19218 ac_sed_extra="$ac_vpsub
19219 $extrasub
19220 _ACEOF
19221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19223 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19224 s|@configure_input@|$ac_sed_conf_input|;t t
19225 s&@top_builddir@&$ac_top_builddir_sub&;t t
19226 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19227 s&@srcdir@&$ac_srcdir&;t t
19228 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19229 s&@top_srcdir@&$ac_top_srcdir&;t t
19230 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19231 s&@builddir@&$ac_builddir&;t t
19232 s&@abs_builddir@&$ac_abs_builddir&;t t
19233 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19234 $ac_datarootdir_hack
19236 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19237 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19239 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19240 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19241 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19242 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19244 which seems to be undefined. Please make sure it is defined" >&5
19245 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19246 which seems to be undefined. Please make sure it is defined" >&2;}
19248 rm -f "$ac_tmp/stdin"
19249 case $ac_file in
19250 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19251 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19252 esac \
19253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19257 # CONFIG_HEADER
19259 if test x"$ac_file" != x-; then
19261 $as_echo "/* $configure_input */" \
19262 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19263 } >"$ac_tmp/config.h" \
19264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19265 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19267 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19268 else
19269 rm -f "$ac_file"
19270 mv "$ac_tmp/config.h" "$ac_file" \
19271 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19273 else
19274 $as_echo "/* $configure_input */" \
19275 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19276 || as_fn_error $? "could not create -" "$LINENO" 5
19281 # CONFIG_LINK
19284 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19286 else
19287 # Prefer the file from the source tree if names are identical.
19288 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19289 ac_source=$srcdir/$ac_source
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19293 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19295 if test ! -r "$ac_source"; then
19296 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19298 rm -f "$ac_file"
19300 # Try a relative symlink, then a hard link, then a copy.
19301 case $ac_source in
19302 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19303 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19304 esac
19305 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19306 ln "$ac_source" "$ac_file" 2>/dev/null ||
19307 cp -p "$ac_source" "$ac_file" ||
19308 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19311 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19312 $as_echo "$as_me: executing $ac_file commands" >&6;}
19314 esac
19317 case $ac_file$ac_mode in
19318 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19319 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19320 "Makefile":C) wine_fn_output_makefile Makefile ;;
19321 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19323 esac
19324 done # for ac_tag
19327 as_fn_exit 0
19328 _ACEOF
19329 ac_clean_files=$ac_clean_files_save
19331 test $ac_write_fail = 0 ||
19332 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19335 # configure is writing to config.log, and then calls config.status.
19336 # config.status does its own redirection, appending to config.log.
19337 # Unfortunately, on DOS this fails, as config.log is still kept open
19338 # by configure, so config.status won't be able to write to it; its
19339 # output is simply discarded. So we exec the FD to /dev/null,
19340 # effectively closing config.log, so it can be properly (re)opened and
19341 # appended to by config.status. When coming back to configure, we
19342 # need to make the FD available again.
19343 if test "$no_create" != yes; then
19344 ac_cs_success=:
19345 ac_config_status_args=
19346 test "$silent" = yes &&
19347 ac_config_status_args="$ac_config_status_args --quiet"
19348 exec 5>/dev/null
19349 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19350 exec 5>>config.log
19351 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19352 # would make configure fail if this is the last instruction.
19353 $ac_cs_success || as_fn_exit 1
19355 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19357 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19361 if test "$no_create" = "yes"
19362 then
19363 exit 0
19366 ac_save_IFS="$IFS"
19367 if test "x$wine_notices != "x; then
19368 echo >&6
19369 IFS="|"
19370 for msg in $wine_notices; do
19371 IFS="$ac_save_IFS"
19372 if ${msg:+false} :; then :
19374 else
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19376 $as_echo "$as_me: $msg" >&6;}
19378 done
19380 IFS="|"
19381 for msg in $wine_warnings; do
19382 IFS="$ac_save_IFS"
19383 if ${msg:+false} :; then :
19385 else
19386 echo >&2
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19388 $as_echo "$as_me: WARNING: $msg" >&2;}
19390 done
19391 IFS="$ac_save_IFS"
19393 $as_echo "
19394 $as_me: Finished. Do '${ac_make}' to compile Wine.
19395 " >&6