cabarc: Use BOOL type where appropriate.
[wine.git] / configure
blob9ba1adb1f4064a197b71b869033801bba546cb35
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.12.
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.12'
584 PACKAGE_STRING='Wine 1.7.12'
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 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 PTHREAD_LIBS
685 CROSSCC
686 CROSSTARGET
687 PRELINK
688 CARBON_LIBS
689 QUICKTIME_LIBS
690 OPENCL_LIBS
691 OPENAL_LIBS
692 COREAUDIO_LIBS
693 SECURITY_LIBS
694 DISKARBITRATION_LIBS
695 APPKIT_LIBS
696 CORESERVICES_LIBS
697 APPLICATIONSERVICES_LIBS
698 FORCEFEEDBACK_LIBS
699 IOKIT_LIBS
700 COREFOUNDATION_LIBS
701 LIBWINE_RULES
702 SOCKET_LIBS
703 DLLTOOL
704 LOADER_RULES
705 ALL_TEST_RESOURCES
706 READELF
708 LDRPATH_LOCAL
709 LDRPATH_INSTALL
710 DLLFLAGS
711 DLLPREFIX
712 dlldir
714 OPENGL_LIBS
715 ICOTOOL
716 CONVERT
717 RSVG
718 FONTFORGE
719 PKG_CONFIG
720 MSGFMT
721 LDCONFIG
722 EGREP
723 GREP
724 LN_S
725 RANLIB
726 ARFLAGS
727 STRIP
728 ac_ct_AR
730 BISON
731 FLEX
732 TOOLSDIR
733 TARGETFLAGS
734 CPPBIN
735 ac_ct_CXX
736 CXXFLAGS
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
745 SET_MAKE
746 host_os
747 host_vendor
748 host_cpu
749 host
750 build_os
751 build_vendor
752 build_cpu
753 build
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_win16
796 enable_win64
797 enable_tests
798 enable_maintainer_mode
799 with_alsa
800 with_capi
801 with_cms
802 with_coreaudio
803 with_cups
804 with_curses
805 with_dbus
806 with_fontconfig
807 with_freetype
808 with_gettext
809 with_gettextpo
810 with_gphoto
811 with_glu
812 with_gnutls
813 with_gsm
814 with_gstreamer
815 with_hal
816 with_jpeg
817 with_ldap
818 with_mpg123
819 with_netapi
820 with_openal
821 with_opencl
822 with_opengl
823 with_osmesa
824 with_oss
825 with_png
826 with_pthread
827 with_sane
828 with_tiff
829 with_v4l
830 with_xcomposite
831 with_xcursor
832 with_xinerama
833 with_xinput
834 with_xinput2
835 with_xml
836 with_xrandr
837 with_xrender
838 with_xshape
839 with_xshm
840 with_xslt
841 with_xxf86vm
842 with_zlib
843 with_wine_tools
844 with_wine64
845 enable_largefile
846 with_x
847 enable_acledit
848 enable_aclui
849 enable_activeds
850 enable_actxprxy
851 enable_advapi32
852 enable_advpack
853 enable_amstream
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_rtlsupport_l1_2_0
878 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
879 enable_api_ms_win_core_string_l1_1_0
880 enable_api_ms_win_core_synch_l1_2_0
881 enable_api_ms_win_core_sysinfo_l1_2_0
882 enable_api_ms_win_core_threadpool_legacy_l1_1_0
883 enable_api_ms_win_core_timezone_l1_1_0
884 enable_api_ms_win_core_url_l1_1_0
885 enable_api_ms_win_core_util_l1_1_0
886 enable_api_ms_win_core_winrt_error_l1_1_0
887 enable_api_ms_win_core_winrt_string_l1_1_0
888 enable_api_ms_win_downlevel_advapi32_l1_1_0
889 enable_api_ms_win_downlevel_advapi32_l2_1_0
890 enable_api_ms_win_downlevel_normaliz_l1_1_0
891 enable_api_ms_win_downlevel_ole32_l1_1_0
892 enable_api_ms_win_downlevel_shell32_l1_1_0
893 enable_api_ms_win_downlevel_shlwapi_l1_1_0
894 enable_api_ms_win_downlevel_shlwapi_l2_1_0
895 enable_api_ms_win_downlevel_user32_l1_1_0
896 enable_api_ms_win_downlevel_version_l1_1_0
897 enable_api_ms_win_eventing_provider_l1_1_0
898 enable_api_ms_win_ntuser_dc_access_l1_1_0
899 enable_api_ms_win_security_base_l1_1_0
900 enable_api_ms_win_security_base_l1_2_0
901 enable_api_ms_win_security_sddl_l1_1_0
902 enable_api_ms_win_service_core_l1_1_1
903 enable_api_ms_win_service_management_l1_1_0
904 enable_api_ms_win_service_winsvc_l1_2_0
905 enable_apphelp
906 enable_appwiz_cpl
907 enable_atl
908 enable_atl100
909 enable_atl110
910 enable_atl80
911 enable_atl90
912 enable_authz
913 enable_avicap32
914 enable_avifil32
915 enable_avrt
916 enable_bcrypt
917 enable_browseui
918 enable_cabinet
919 enable_capi2032
920 enable_cards
921 enable_cfgmgr32
922 enable_clusapi
923 enable_comcat
924 enable_comctl32
925 enable_comdlg32
926 enable_compstui
927 enable_comsvcs
928 enable_credui
929 enable_crtdll
930 enable_crypt32
931 enable_cryptdlg
932 enable_cryptdll
933 enable_cryptnet
934 enable_cryptui
935 enable_ctapi32
936 enable_ctl3d32
937 enable_d2d1
938 enable_d3d10
939 enable_d3d10_1
940 enable_d3d10core
941 enable_d3d11
942 enable_d3d8
943 enable_d3d9
944 enable_d3dcompiler_33
945 enable_d3dcompiler_34
946 enable_d3dcompiler_35
947 enable_d3dcompiler_36
948 enable_d3dcompiler_37
949 enable_d3dcompiler_38
950 enable_d3dcompiler_39
951 enable_d3dcompiler_40
952 enable_d3dcompiler_41
953 enable_d3dcompiler_42
954 enable_d3dcompiler_43
955 enable_d3dim
956 enable_d3drm
957 enable_d3dx10_33
958 enable_d3dx10_34
959 enable_d3dx10_35
960 enable_d3dx10_36
961 enable_d3dx10_37
962 enable_d3dx10_38
963 enable_d3dx10_39
964 enable_d3dx10_40
965 enable_d3dx10_41
966 enable_d3dx10_42
967 enable_d3dx10_43
968 enable_d3dx11_42
969 enable_d3dx11_43
970 enable_d3dx9_24
971 enable_d3dx9_25
972 enable_d3dx9_26
973 enable_d3dx9_27
974 enable_d3dx9_28
975 enable_d3dx9_29
976 enable_d3dx9_30
977 enable_d3dx9_31
978 enable_d3dx9_32
979 enable_d3dx9_33
980 enable_d3dx9_34
981 enable_d3dx9_35
982 enable_d3dx9_36
983 enable_d3dx9_37
984 enable_d3dx9_38
985 enable_d3dx9_39
986 enable_d3dx9_40
987 enable_d3dx9_41
988 enable_d3dx9_42
989 enable_d3dx9_43
990 enable_d3dxof
991 enable_dbgeng
992 enable_dbghelp
993 enable_dciman32
994 enable_ddraw
995 enable_ddrawex
996 enable_devenum
997 enable_dhcpcsvc
998 enable_difxapi
999 enable_dinput
1000 enable_dinput8
1001 enable_dispex
1002 enable_dmband
1003 enable_dmcompos
1004 enable_dmime
1005 enable_dmloader
1006 enable_dmscript
1007 enable_dmstyle
1008 enable_dmsynth
1009 enable_dmusic
1010 enable_dmusic32
1011 enable_dnsapi
1012 enable_dplay
1013 enable_dplayx
1014 enable_dpnaddr
1015 enable_dpnet
1016 enable_dpnhpast
1017 enable_dpnlobby
1018 enable_dpwsockx
1019 enable_drmclien
1020 enable_dsound
1021 enable_dssenh
1022 enable_dswave
1023 enable_dwmapi
1024 enable_dwrite
1025 enable_dxdiagn
1026 enable_dxgi
1027 enable_explorerframe
1028 enable_ext_ms_win_gdi_devcaps_l1_1_0
1029 enable_faultrep
1030 enable_fltlib
1031 enable_fusion
1032 enable_fwpuclnt
1033 enable_gameux
1034 enable_gdi32
1035 enable_gdiplus
1036 enable_glu32
1037 enable_gphoto2_ds
1038 enable_gpkcsp
1039 enable_hal
1040 enable_hhctrl_ocx
1041 enable_hid
1042 enable_hlink
1043 enable_hnetcfg
1044 enable_httpapi
1045 enable_iccvid
1046 enable_icmp
1047 enable_ieframe
1048 enable_imaadp32_acm
1049 enable_imagehlp
1050 enable_imm32
1051 enable_inetcomm
1052 enable_inetcpl_cpl
1053 enable_inetmib1
1054 enable_infosoft
1055 enable_initpki
1056 enable_inkobj
1057 enable_inseng
1058 enable_iphlpapi
1059 enable_itircl
1060 enable_itss
1061 enable_joy_cpl
1062 enable_jscript
1063 enable_kernel32
1064 enable_ktmw32
1065 enable_loadperf
1066 enable_localspl
1067 enable_localui
1068 enable_lz32
1069 enable_mapi32
1070 enable_mapistub
1071 enable_mciavi32
1072 enable_mcicda
1073 enable_mciqtz32
1074 enable_mciseq
1075 enable_mciwave
1076 enable_mgmtapi
1077 enable_midimap
1078 enable_mlang
1079 enable_mmcndmgr
1080 enable_mmdevapi
1081 enable_mountmgr_sys
1082 enable_mpr
1083 enable_mprapi
1084 enable_msacm32_drv
1085 enable_msacm32
1086 enable_msadp32_acm
1087 enable_mscat32
1088 enable_mscms
1089 enable_mscoree
1090 enable_msctf
1091 enable_msdaps
1092 enable_msdmo
1093 enable_msftedit
1094 enable_msg711_acm
1095 enable_msgsm32_acm
1096 enable_mshtml_tlb
1097 enable_mshtml
1098 enable_msi
1099 enable_msident
1100 enable_msimg32
1101 enable_msimsg
1102 enable_msimtf
1103 enable_msisip
1104 enable_msisys_ocx
1105 enable_msls31
1106 enable_msnet32
1107 enable_mspatcha
1108 enable_msrle32
1109 enable_mssign32
1110 enable_mssip32
1111 enable_mstask
1112 enable_msvcirt
1113 enable_msvcm80
1114 enable_msvcm90
1115 enable_msvcp100
1116 enable_msvcp110
1117 enable_msvcp60
1118 enable_msvcp70
1119 enable_msvcp71
1120 enable_msvcp80
1121 enable_msvcp90
1122 enable_msvcr100
1123 enable_msvcr110
1124 enable_msvcr70
1125 enable_msvcr71
1126 enable_msvcr80
1127 enable_msvcr90
1128 enable_msvcrt
1129 enable_msvcrt20
1130 enable_msvcrt40
1131 enable_msvcrtd
1132 enable_msvfw32
1133 enable_msvidc32
1134 enable_mswsock
1135 enable_msxml
1136 enable_msxml2
1137 enable_msxml3
1138 enable_msxml4
1139 enable_msxml6
1140 enable_nddeapi
1141 enable_netapi32
1142 enable_netcfgx
1143 enable_newdev
1144 enable_normaliz
1145 enable_npmshtml
1146 enable_ntdll
1147 enable_ntdsapi
1148 enable_ntoskrnl_exe
1149 enable_ntprint
1150 enable_objsel
1151 enable_odbc32
1152 enable_odbccp32
1153 enable_odbccu32
1154 enable_ole32
1155 enable_oleacc
1156 enable_oleaut32
1157 enable_olecli32
1158 enable_oledb32
1159 enable_oledlg
1160 enable_olepro32
1161 enable_olesvr32
1162 enable_olethk32
1163 enable_openal32
1164 enable_opencl
1165 enable_opengl32
1166 enable_pdh
1167 enable_photometadatahandler
1168 enable_pidgen
1169 enable_powrprof
1170 enable_printui
1171 enable_propsys
1172 enable_psapi
1173 enable_pstorec
1174 enable_qcap
1175 enable_qedit
1176 enable_qmgr
1177 enable_qmgrprxy
1178 enable_quartz
1179 enable_query
1180 enable_rasapi32
1181 enable_rasdlg
1182 enable_regapi
1183 enable_resutils
1184 enable_riched20
1185 enable_riched32
1186 enable_rpcrt4
1187 enable_rsabase
1188 enable_rsaenh
1189 enable_rstrtmgr
1190 enable_rtutils
1191 enable_samlib
1192 enable_sane_ds
1193 enable_scarddlg
1194 enable_sccbase
1195 enable_schannel
1196 enable_scrrun
1197 enable_scsiport_sys
1198 enable_secur32
1199 enable_security
1200 enable_sensapi
1201 enable_serialui
1202 enable_setupapi
1203 enable_sfc
1204 enable_sfc_os
1205 enable_shdoclc
1206 enable_shdocvw
1207 enable_shell32
1208 enable_shfolder
1209 enable_shlwapi
1210 enable_slbcsp
1211 enable_slc
1212 enable_snmpapi
1213 enable_softpub
1214 enable_spoolss
1215 enable_stdole2_tlb
1216 enable_stdole32_tlb
1217 enable_sti
1218 enable_svrapi
1219 enable_sxs
1220 enable_t2embed
1221 enable_tapi32
1222 enable_taskschd
1223 enable_traffic
1224 enable_twain_32
1225 enable_unicows
1226 enable_updspapi
1227 enable_url
1228 enable_urlmon
1229 enable_usbd_sys
1230 enable_user32
1231 enable_userenv
1232 enable_usp10
1233 enable_uxtheme
1234 enable_vbscript
1235 enable_vcomp
1236 enable_vcomp100
1237 enable_vcomp90
1238 enable_vdmdbg
1239 enable_version
1240 enable_wbemdisp
1241 enable_wbemprox
1242 enable_webservices
1243 enable_wer
1244 enable_wevtapi
1245 enable_wiaservc
1246 enable_windowscodecs
1247 enable_windowscodecsext
1248 enable_winealsa_drv
1249 enable_winecoreaudio_drv
1250 enable_wined3d
1251 enable_winegstreamer
1252 enable_winejoystick_drv
1253 enable_winemac_drv
1254 enable_winemapi
1255 enable_winemp3_acm
1256 enable_wineoss_drv
1257 enable_wineps_drv
1258 enable_wineqtdecoder
1259 enable_winex11_drv
1260 enable_wing32
1261 enable_winhttp
1262 enable_wininet
1263 enable_winmm
1264 enable_winnls32
1265 enable_winscard
1266 enable_winspool_drv
1267 enable_winsta
1268 enable_wintab32
1269 enable_wintrust
1270 enable_wlanapi
1271 enable_wldap32
1272 enable_wmi
1273 enable_wmiutils
1274 enable_wmp
1275 enable_wmvcore
1276 enable_wnaspi32
1277 enable_ws2_32
1278 enable_wshom_ocx
1279 enable_wsnmp32
1280 enable_wsock32
1281 enable_wtsapi32
1282 enable_wuapi
1283 enable_wuaueng
1284 enable_xapofx1_1
1285 enable_xinput1_1
1286 enable_xinput1_2
1287 enable_xinput1_3
1288 enable_xinput1_4
1289 enable_xinput9_1_0
1290 enable_xmllite
1291 enable_xolehlp
1292 enable_xpsprint
1293 enable_xpssvcs
1294 enable_documentation
1295 enable_fonts
1296 enable_include
1297 enable_libs_port
1298 enable_libs_wine
1299 enable_libs_wpp
1300 enable_loader
1301 enable_arp
1302 enable_aspnet_regiis
1303 enable_attrib
1304 enable_cabarc
1305 enable_cacls
1306 enable_clock
1307 enable_cmd
1308 enable_conhost
1309 enable_control
1310 enable_cscript
1311 enable_dpnsvr
1312 enable_dxdiag
1313 enable_eject
1314 enable_expand
1315 enable_explorer
1316 enable_extrac32
1317 enable_findstr
1318 enable_hh
1319 enable_hostname
1320 enable_icinfo
1321 enable_iexplore
1322 enable_ipconfig
1323 enable_lodctr
1324 enable_mofcomp
1325 enable_mshta
1326 enable_msiexec
1327 enable_net
1328 enable_netsh
1329 enable_netstat
1330 enable_ngen
1331 enable_notepad
1332 enable_oleview
1333 enable_ping
1334 enable_plugplay
1335 enable_presentationfontcache
1336 enable_progman
1337 enable_reg
1338 enable_regasm
1339 enable_regedit
1340 enable_regsvcs
1341 enable_regsvr32
1342 enable_rpcss
1343 enable_rundll32
1344 enable_sc
1345 enable_schtasks
1346 enable_secedit
1347 enable_servicemodelreg
1348 enable_services
1349 enable_spoolsv
1350 enable_start
1351 enable_svchost
1352 enable_taskkill
1353 enable_tasklist
1354 enable_taskmgr
1355 enable_termsv
1356 enable_uninstaller
1357 enable_unlodctr
1358 enable_view
1359 enable_wineboot
1360 enable_winebrowser
1361 enable_winecfg
1362 enable_wineconsole
1363 enable_winedbg
1364 enable_winedevice
1365 enable_winefile
1366 enable_winemenubuilder
1367 enable_winemine
1368 enable_winemsibuilder
1369 enable_winepath
1370 enable_winetest
1371 enable_winhlp32
1372 enable_winver
1373 enable_wmic
1374 enable_wordpad
1375 enable_write
1376 enable_wscript
1377 enable_wusa
1378 enable_xcopy
1379 enable_server
1380 enable_tools
1382 ac_precious_vars='build_alias
1383 host_alias
1384 target_alias
1386 CFLAGS
1387 LDFLAGS
1388 LIBS
1389 CPPFLAGS
1391 CXXFLAGS
1394 XMKMF
1395 XML2_CFLAGS
1396 XML2_LIBS
1397 XSLT_CFLAGS
1398 XSLT_LIBS
1399 DBUS_CFLAGS
1400 DBUS_LIBS
1401 HAL_CFLAGS
1402 HAL_LIBS
1403 GNUTLS_CFLAGS
1404 GNUTLS_LIBS
1405 SANE_CFLAGS
1406 SANE_LIBS
1407 GPHOTO2_CFLAGS
1408 GPHOTO2_LIBS
1409 GPHOTO2_PORT_CFLAGS
1410 GPHOTO2_PORT_LIBS
1411 LCMS2_CFLAGS
1412 LCMS2_LIBS
1413 FREETYPE_CFLAGS
1414 FREETYPE_LIBS
1415 GSTREAMER_CFLAGS
1416 GSTREAMER_LIBS
1417 CAPI20_CFLAGS
1418 CAPI20_LIBS
1419 FONTCONFIG_CFLAGS
1420 FONTCONFIG_LIBS
1421 JPEG_CFLAGS
1422 JPEG_LIBS
1423 PNG_CFLAGS
1424 PNG_LIBS
1425 TIFF_CFLAGS
1426 TIFF_LIBS
1427 MPG123_CFLAGS
1428 MPG123_LIBS'
1431 # Initialize some variables set by options.
1432 ac_init_help=
1433 ac_init_version=false
1434 ac_unrecognized_opts=
1435 ac_unrecognized_sep=
1436 # The variables have the same names as the options, with
1437 # dashes changed to underlines.
1438 cache_file=/dev/null
1439 exec_prefix=NONE
1440 no_create=
1441 no_recursion=
1442 prefix=NONE
1443 program_prefix=NONE
1444 program_suffix=NONE
1445 program_transform_name=s,x,x,
1446 silent=
1447 site=
1448 srcdir=
1449 verbose=
1450 x_includes=NONE
1451 x_libraries=NONE
1453 # Installation directory options.
1454 # These are left unexpanded so users can "make install exec_prefix=/foo"
1455 # and all the variables that are supposed to be based on exec_prefix
1456 # by default will actually change.
1457 # Use braces instead of parens because sh, perl, etc. also accept them.
1458 # (The list follows the same order as the GNU Coding Standards.)
1459 bindir='${exec_prefix}/bin'
1460 sbindir='${exec_prefix}/sbin'
1461 libexecdir='${exec_prefix}/libexec'
1462 datarootdir='${prefix}/share'
1463 datadir='${datarootdir}'
1464 sysconfdir='${prefix}/etc'
1465 sharedstatedir='${prefix}/com'
1466 localstatedir='${prefix}/var'
1467 includedir='${prefix}/include'
1468 oldincludedir='/usr/include'
1469 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1470 infodir='${datarootdir}/info'
1471 htmldir='${docdir}'
1472 dvidir='${docdir}'
1473 pdfdir='${docdir}'
1474 psdir='${docdir}'
1475 libdir='${exec_prefix}/lib'
1476 localedir='${datarootdir}/locale'
1477 mandir='${datarootdir}/man'
1479 ac_prev=
1480 ac_dashdash=
1481 for ac_option
1483 # If the previous option needs an argument, assign it.
1484 if test -n "$ac_prev"; then
1485 eval $ac_prev=\$ac_option
1486 ac_prev=
1487 continue
1490 case $ac_option in
1491 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1492 *=) ac_optarg= ;;
1493 *) ac_optarg=yes ;;
1494 esac
1496 # Accept the important Cygnus configure options, so we can diagnose typos.
1498 case $ac_dashdash$ac_option in
1500 ac_dashdash=yes ;;
1502 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1503 ac_prev=bindir ;;
1504 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1505 bindir=$ac_optarg ;;
1507 -build | --build | --buil | --bui | --bu)
1508 ac_prev=build_alias ;;
1509 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1510 build_alias=$ac_optarg ;;
1512 -cache-file | --cache-file | --cache-fil | --cache-fi \
1513 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1514 ac_prev=cache_file ;;
1515 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1516 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1517 cache_file=$ac_optarg ;;
1519 --config-cache | -C)
1520 cache_file=config.cache ;;
1522 -datadir | --datadir | --datadi | --datad)
1523 ac_prev=datadir ;;
1524 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1525 datadir=$ac_optarg ;;
1527 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1528 | --dataroo | --dataro | --datar)
1529 ac_prev=datarootdir ;;
1530 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1531 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1532 datarootdir=$ac_optarg ;;
1534 -disable-* | --disable-*)
1535 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1536 # Reject names that are not valid shell variable names.
1537 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1538 as_fn_error $? "invalid feature name: $ac_useropt"
1539 ac_useropt_orig=$ac_useropt
1540 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1541 case $ac_user_opts in
1543 "enable_$ac_useropt"
1544 "*) ;;
1545 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1546 ac_unrecognized_sep=', ';;
1547 esac
1548 eval enable_$ac_useropt=no ;;
1550 -docdir | --docdir | --docdi | --doc | --do)
1551 ac_prev=docdir ;;
1552 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1553 docdir=$ac_optarg ;;
1555 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1556 ac_prev=dvidir ;;
1557 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1558 dvidir=$ac_optarg ;;
1560 -enable-* | --enable-*)
1561 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1562 # Reject names that are not valid shell variable names.
1563 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1564 as_fn_error $? "invalid feature name: $ac_useropt"
1565 ac_useropt_orig=$ac_useropt
1566 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1567 case $ac_user_opts in
1569 "enable_$ac_useropt"
1570 "*) ;;
1571 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1572 ac_unrecognized_sep=', ';;
1573 esac
1574 eval enable_$ac_useropt=\$ac_optarg ;;
1576 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1577 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1578 | --exec | --exe | --ex)
1579 ac_prev=exec_prefix ;;
1580 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1581 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1582 | --exec=* | --exe=* | --ex=*)
1583 exec_prefix=$ac_optarg ;;
1585 -gas | --gas | --ga | --g)
1586 # Obsolete; use --with-gas.
1587 with_gas=yes ;;
1589 -help | --help | --hel | --he | -h)
1590 ac_init_help=long ;;
1591 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1592 ac_init_help=recursive ;;
1593 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1594 ac_init_help=short ;;
1596 -host | --host | --hos | --ho)
1597 ac_prev=host_alias ;;
1598 -host=* | --host=* | --hos=* | --ho=*)
1599 host_alias=$ac_optarg ;;
1601 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1602 ac_prev=htmldir ;;
1603 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1604 | --ht=*)
1605 htmldir=$ac_optarg ;;
1607 -includedir | --includedir | --includedi | --included | --include \
1608 | --includ | --inclu | --incl | --inc)
1609 ac_prev=includedir ;;
1610 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1611 | --includ=* | --inclu=* | --incl=* | --inc=*)
1612 includedir=$ac_optarg ;;
1614 -infodir | --infodir | --infodi | --infod | --info | --inf)
1615 ac_prev=infodir ;;
1616 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1617 infodir=$ac_optarg ;;
1619 -libdir | --libdir | --libdi | --libd)
1620 ac_prev=libdir ;;
1621 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1622 libdir=$ac_optarg ;;
1624 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1625 | --libexe | --libex | --libe)
1626 ac_prev=libexecdir ;;
1627 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1628 | --libexe=* | --libex=* | --libe=*)
1629 libexecdir=$ac_optarg ;;
1631 -localedir | --localedir | --localedi | --localed | --locale)
1632 ac_prev=localedir ;;
1633 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1634 localedir=$ac_optarg ;;
1636 -localstatedir | --localstatedir | --localstatedi | --localstated \
1637 | --localstate | --localstat | --localsta | --localst | --locals)
1638 ac_prev=localstatedir ;;
1639 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1640 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1641 localstatedir=$ac_optarg ;;
1643 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1644 ac_prev=mandir ;;
1645 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1646 mandir=$ac_optarg ;;
1648 -nfp | --nfp | --nf)
1649 # Obsolete; use --without-fp.
1650 with_fp=no ;;
1652 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1653 | --no-cr | --no-c | -n)
1654 no_create=yes ;;
1656 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1657 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1658 no_recursion=yes ;;
1660 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1661 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1662 | --oldin | --oldi | --old | --ol | --o)
1663 ac_prev=oldincludedir ;;
1664 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1665 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1666 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1667 oldincludedir=$ac_optarg ;;
1669 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1670 ac_prev=prefix ;;
1671 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1672 prefix=$ac_optarg ;;
1674 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1675 | --program-pre | --program-pr | --program-p)
1676 ac_prev=program_prefix ;;
1677 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1678 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1679 program_prefix=$ac_optarg ;;
1681 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1682 | --program-suf | --program-su | --program-s)
1683 ac_prev=program_suffix ;;
1684 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1685 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1686 program_suffix=$ac_optarg ;;
1688 -program-transform-name | --program-transform-name \
1689 | --program-transform-nam | --program-transform-na \
1690 | --program-transform-n | --program-transform- \
1691 | --program-transform | --program-transfor \
1692 | --program-transfo | --program-transf \
1693 | --program-trans | --program-tran \
1694 | --progr-tra | --program-tr | --program-t)
1695 ac_prev=program_transform_name ;;
1696 -program-transform-name=* | --program-transform-name=* \
1697 | --program-transform-nam=* | --program-transform-na=* \
1698 | --program-transform-n=* | --program-transform-=* \
1699 | --program-transform=* | --program-transfor=* \
1700 | --program-transfo=* | --program-transf=* \
1701 | --program-trans=* | --program-tran=* \
1702 | --progr-tra=* | --program-tr=* | --program-t=*)
1703 program_transform_name=$ac_optarg ;;
1705 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1706 ac_prev=pdfdir ;;
1707 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1708 pdfdir=$ac_optarg ;;
1710 -psdir | --psdir | --psdi | --psd | --ps)
1711 ac_prev=psdir ;;
1712 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1713 psdir=$ac_optarg ;;
1715 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1716 | -silent | --silent | --silen | --sile | --sil)
1717 silent=yes ;;
1719 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1720 ac_prev=sbindir ;;
1721 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1722 | --sbi=* | --sb=*)
1723 sbindir=$ac_optarg ;;
1725 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1726 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1727 | --sharedst | --shareds | --shared | --share | --shar \
1728 | --sha | --sh)
1729 ac_prev=sharedstatedir ;;
1730 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1731 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1732 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1733 | --sha=* | --sh=*)
1734 sharedstatedir=$ac_optarg ;;
1736 -site | --site | --sit)
1737 ac_prev=site ;;
1738 -site=* | --site=* | --sit=*)
1739 site=$ac_optarg ;;
1741 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1742 ac_prev=srcdir ;;
1743 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1744 srcdir=$ac_optarg ;;
1746 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1747 | --syscon | --sysco | --sysc | --sys | --sy)
1748 ac_prev=sysconfdir ;;
1749 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1750 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1751 sysconfdir=$ac_optarg ;;
1753 -target | --target | --targe | --targ | --tar | --ta | --t)
1754 ac_prev=target_alias ;;
1755 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1756 target_alias=$ac_optarg ;;
1758 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1759 verbose=yes ;;
1761 -version | --version | --versio | --versi | --vers | -V)
1762 ac_init_version=: ;;
1764 -with-* | --with-*)
1765 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1766 # Reject names that are not valid shell variable names.
1767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1768 as_fn_error $? "invalid package name: $ac_useropt"
1769 ac_useropt_orig=$ac_useropt
1770 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1771 case $ac_user_opts in
1773 "with_$ac_useropt"
1774 "*) ;;
1775 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1776 ac_unrecognized_sep=', ';;
1777 esac
1778 eval with_$ac_useropt=\$ac_optarg ;;
1780 -without-* | --without-*)
1781 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1784 as_fn_error $? "invalid package name: $ac_useropt"
1785 ac_useropt_orig=$ac_useropt
1786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "with_$ac_useropt"
1790 "*) ;;
1791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1792 ac_unrecognized_sep=', ';;
1793 esac
1794 eval with_$ac_useropt=no ;;
1796 --x)
1797 # Obsolete; use --with-x.
1798 with_x=yes ;;
1800 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1801 | --x-incl | --x-inc | --x-in | --x-i)
1802 ac_prev=x_includes ;;
1803 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1804 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1805 x_includes=$ac_optarg ;;
1807 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1808 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1809 ac_prev=x_libraries ;;
1810 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1811 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1812 x_libraries=$ac_optarg ;;
1814 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1815 Try \`$0 --help' for more information"
1818 *=*)
1819 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1820 # Reject names that are not valid shell variable names.
1821 case $ac_envvar in #(
1822 '' | [0-9]* | *[!_$as_cr_alnum]* )
1823 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1824 esac
1825 eval $ac_envvar=\$ac_optarg
1826 export $ac_envvar ;;
1829 # FIXME: should be removed in autoconf 3.0.
1830 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1831 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1832 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1833 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1836 esac
1837 done
1839 if test -n "$ac_prev"; then
1840 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1841 as_fn_error $? "missing argument to $ac_option"
1844 if test -n "$ac_unrecognized_opts"; then
1845 case $enable_option_checking in
1846 no) ;;
1847 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1848 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1849 esac
1852 # Check all directory arguments for consistency.
1853 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1854 datadir sysconfdir sharedstatedir localstatedir includedir \
1855 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1856 libdir localedir mandir
1858 eval ac_val=\$$ac_var
1859 # Remove trailing slashes.
1860 case $ac_val in
1861 */ )
1862 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1863 eval $ac_var=\$ac_val;;
1864 esac
1865 # Be sure to have absolute directory names.
1866 case $ac_val in
1867 [\\/$]* | ?:[\\/]* ) continue;;
1868 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1869 esac
1870 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1871 done
1873 # There might be people who depend on the old broken behavior: `$host'
1874 # used to hold the argument of --host etc.
1875 # FIXME: To remove some day.
1876 build=$build_alias
1877 host=$host_alias
1878 target=$target_alias
1880 # FIXME: To remove some day.
1881 if test "x$host_alias" != x; then
1882 if test "x$build_alias" = x; then
1883 cross_compiling=maybe
1884 elif test "x$build_alias" != "x$host_alias"; then
1885 cross_compiling=yes
1889 ac_tool_prefix=
1890 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1892 test "$silent" = yes && exec 6>/dev/null
1895 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1896 ac_ls_di=`ls -di .` &&
1897 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1898 as_fn_error $? "working directory cannot be determined"
1899 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1900 as_fn_error $? "pwd does not report name of working directory"
1903 # Find the source files, if location was not specified.
1904 if test -z "$srcdir"; then
1905 ac_srcdir_defaulted=yes
1906 # Try the directory containing this script, then the parent directory.
1907 ac_confdir=`$as_dirname -- "$as_myself" ||
1908 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1909 X"$as_myself" : 'X\(//\)[^/]' \| \
1910 X"$as_myself" : 'X\(//\)$' \| \
1911 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1912 $as_echo X"$as_myself" |
1913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1914 s//\1/
1917 /^X\(\/\/\)[^/].*/{
1918 s//\1/
1921 /^X\(\/\/\)$/{
1922 s//\1/
1925 /^X\(\/\).*/{
1926 s//\1/
1929 s/.*/./; q'`
1930 srcdir=$ac_confdir
1931 if test ! -r "$srcdir/$ac_unique_file"; then
1932 srcdir=..
1934 else
1935 ac_srcdir_defaulted=no
1937 if test ! -r "$srcdir/$ac_unique_file"; then
1938 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1939 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1941 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1942 ac_abs_confdir=`(
1943 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1944 pwd)`
1945 # When building in place, set srcdir=.
1946 if test "$ac_abs_confdir" = "$ac_pwd"; then
1947 srcdir=.
1949 # Remove unnecessary trailing slashes from srcdir.
1950 # Double slashes in file names in object file debugging info
1951 # mess up M-x gdb in Emacs.
1952 case $srcdir in
1953 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1954 esac
1955 for ac_var in $ac_precious_vars; do
1956 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1957 eval ac_env_${ac_var}_value=\$${ac_var}
1958 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1959 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1960 done
1963 # Report the --help message.
1965 if test "$ac_init_help" = "long"; then
1966 # Omit some internal or obsolete options to make the list less imposing.
1967 # This message is too long to be a string in the A/UX 3.1 sh.
1968 cat <<_ACEOF
1969 \`configure' configures Wine 1.7.12 to adapt to many kinds of systems.
1971 Usage: $0 [OPTION]... [VAR=VALUE]...
1973 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1974 VAR=VALUE. See below for descriptions of some of the useful variables.
1976 Defaults for the options are specified in brackets.
1978 Configuration:
1979 -h, --help display this help and exit
1980 --help=short display options specific to this package
1981 --help=recursive display the short help of all the included packages
1982 -V, --version display version information and exit
1983 -q, --quiet, --silent do not print \`checking ...' messages
1984 --cache-file=FILE cache test results in FILE [disabled]
1985 -C, --config-cache alias for \`--cache-file=config.cache'
1986 -n, --no-create do not create output files
1987 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1989 Installation directories:
1990 --prefix=PREFIX install architecture-independent files in PREFIX
1991 [$ac_default_prefix]
1992 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1993 [PREFIX]
1995 By default, \`make install' will install all the files in
1996 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1997 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1998 for instance \`--prefix=\$HOME'.
2000 For better control, use the options below.
2002 Fine tuning of the installation directories:
2003 --bindir=DIR user executables [EPREFIX/bin]
2004 --sbindir=DIR system admin executables [EPREFIX/sbin]
2005 --libexecdir=DIR program executables [EPREFIX/libexec]
2006 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2007 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2008 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2009 --libdir=DIR object code libraries [EPREFIX/lib]
2010 --includedir=DIR C header files [PREFIX/include]
2011 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2012 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2013 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2014 --infodir=DIR info documentation [DATAROOTDIR/info]
2015 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2016 --mandir=DIR man documentation [DATAROOTDIR/man]
2017 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2018 --htmldir=DIR html documentation [DOCDIR]
2019 --dvidir=DIR dvi documentation [DOCDIR]
2020 --pdfdir=DIR pdf documentation [DOCDIR]
2021 --psdir=DIR ps documentation [DOCDIR]
2022 _ACEOF
2024 cat <<\_ACEOF
2026 X features:
2027 --x-includes=DIR X include files are in DIR
2028 --x-libraries=DIR X library files are in DIR
2030 System types:
2031 --build=BUILD configure for building on BUILD [guessed]
2032 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2033 _ACEOF
2036 if test -n "$ac_init_help"; then
2037 case $ac_init_help in
2038 short | recursive ) echo "Configuration of Wine 1.7.12:";;
2039 esac
2040 cat <<\_ACEOF
2042 Optional Features:
2043 --disable-option-checking ignore unrecognized --enable/--with options
2044 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2045 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2046 --disable-win16 do not include Win16 support
2047 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2048 binaries)
2049 --disable-tests do not build the regression tests
2050 --enable-maintainer-mode
2051 enable maintainer-specific build rules
2052 --disable-largefile omit support for large files
2054 Optional Packages:
2055 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2056 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2057 --without-alsa do not use the Alsa sound support
2058 --without-capi do not use CAPI (ISDN support)
2059 --without-cms do not use CMS (color management support)
2060 --without-coreaudio do not use the CoreAudio sound support
2061 --without-cups do not use CUPS
2062 --without-curses do not use (n)curses
2063 --without-dbus do not use DBus (dynamic device support)
2064 --without-fontconfig do not use fontconfig
2065 --without-freetype do not use the FreeType library
2066 --without-gettext do not use gettext
2067 --with-gettextpo use the GetTextPO library to rebuild po files
2068 --without-gphoto do not use gphoto (Digital Camera support)
2069 --without-glu do not use the GLU library
2070 --without-gnutls do not use GnuTLS (schannel support)
2071 --without-gsm do not use libgsm (GSM 06.10 codec support)
2072 --without-gstreamer do not use GStreamer (codecs support)
2073 --without-hal do not use HAL (dynamic device support)
2074 --without-jpeg do not use JPEG
2075 --without-ldap do not use LDAP
2076 --without-mpg123 do not use the mpg123 library
2077 --without-netapi do not use the Samba NetAPI library
2078 --without-openal do not use OpenAL
2079 --without-opencl do not use OpenCL
2080 --without-opengl do not use OpenGL
2081 --without-osmesa do not use the OSMesa library
2082 --without-oss do not use the OSS sound support
2083 --without-png do not use PNG
2084 --without-pthread do not use the pthread library
2085 --without-sane do not use SANE (scanner support)
2086 --without-tiff do not use TIFF
2087 --without-v4l do not use v4l1 (v4l support)
2088 --without-xcomposite do not use the Xcomposite extension
2089 --without-xcursor do not use the Xcursor extension
2090 --without-xinerama do not use Xinerama (multi-monitor support)
2091 --without-xinput do not use the Xinput extension
2092 --without-xinput2 do not use the Xinput 2 extension
2093 --without-xml do not use XML
2094 --without-xrandr do not use Xrandr (resolution changes)
2095 --without-xrender do not use the Xrender extension
2096 --without-xshape do not use the Xshape extension
2097 --without-xshm do not use XShm (shared memory extension)
2098 --without-xslt do not use XSLT
2099 --without-xxf86vm do not use XFree video mode extension
2100 --without-zlib do not use Zlib (data compression)
2101 --with-wine-tools=DIR use Wine tools from directory DIR
2102 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2103 --with-x use the X Window System
2105 Some influential environment variables:
2106 CC C compiler command
2107 CFLAGS C compiler flags
2108 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2109 nonstandard directory <lib dir>
2110 LIBS libraries to pass to the linker, e.g. -l<library>
2111 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2112 you have headers in a nonstandard directory <include dir>
2113 CXX C++ compiler command
2114 CXXFLAGS C++ compiler flags
2115 CPP C preprocessor
2116 XMKMF Path to xmkmf, Makefile generator for X Window System
2117 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2118 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2119 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2120 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2121 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2122 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2123 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2124 HAL_LIBS Linker flags for hal, overriding pkg-config
2125 GNUTLS_CFLAGS
2126 C compiler flags for gnutls, overriding pkg-config
2127 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2128 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2129 SANE_LIBS Linker flags for libsane, overriding pkg-config
2130 GPHOTO2_CFLAGS
2131 C compiler flags for libgphoto2, overriding pkg-config
2132 GPHOTO2_LIBS
2133 Linker flags for libgphoto2, overriding pkg-config
2134 GPHOTO2_PORT_CFLAGS
2135 C compiler flags for libgphoto2_port, overriding pkg-config
2136 GPHOTO2_PORT_LIBS
2137 Linker flags for libgphoto2_port, overriding pkg-config
2138 LCMS2_CFLAGS
2139 C compiler flags for lcms2, overriding pkg-config
2140 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2141 FREETYPE_CFLAGS
2142 C compiler flags for freetype2, overriding pkg-config
2143 FREETYPE_LIBS
2144 Linker flags for freetype2, overriding pkg-config
2145 GSTREAMER_CFLAGS
2146 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2147 GSTREAMER_LIBS
2148 Linker flags for gstreamer-app-0.10, overriding pkg-config
2149 CAPI20_CFLAGS
2150 C compiler flags for capi20, overriding pkg-config
2151 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2152 FONTCONFIG_CFLAGS
2153 C compiler flags for fontconfig, overriding pkg-config
2154 FONTCONFIG_LIBS
2155 Linker flags for fontconfig, overriding pkg-config
2156 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2157 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2158 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2159 PNG_LIBS Linker flags for libpng, overriding pkg-config
2160 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2161 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2162 MPG123_CFLAGS
2163 C compiler flags for libmpg123, overriding pkg-config
2164 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2166 Use these variables to override the choices made by `configure' or to help
2167 it to find libraries and programs with nonstandard names/locations.
2169 Report bugs to <wine-devel@winehq.org>.
2170 Wine home page: <http://www.winehq.org>.
2171 _ACEOF
2172 ac_status=$?
2175 if test "$ac_init_help" = "recursive"; then
2176 # If there are subdirs, report their specific --help.
2177 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2178 test -d "$ac_dir" ||
2179 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2180 continue
2181 ac_builddir=.
2183 case "$ac_dir" in
2184 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2186 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2187 # A ".." for each directory in $ac_dir_suffix.
2188 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2189 case $ac_top_builddir_sub in
2190 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2191 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2192 esac ;;
2193 esac
2194 ac_abs_top_builddir=$ac_pwd
2195 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2196 # for backward compatibility:
2197 ac_top_builddir=$ac_top_build_prefix
2199 case $srcdir in
2200 .) # We are building in place.
2201 ac_srcdir=.
2202 ac_top_srcdir=$ac_top_builddir_sub
2203 ac_abs_top_srcdir=$ac_pwd ;;
2204 [\\/]* | ?:[\\/]* ) # Absolute name.
2205 ac_srcdir=$srcdir$ac_dir_suffix;
2206 ac_top_srcdir=$srcdir
2207 ac_abs_top_srcdir=$srcdir ;;
2208 *) # Relative name.
2209 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2210 ac_top_srcdir=$ac_top_build_prefix$srcdir
2211 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2212 esac
2213 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2215 cd "$ac_dir" || { ac_status=$?; continue; }
2216 # Check for guested configure.
2217 if test -f "$ac_srcdir/configure.gnu"; then
2218 echo &&
2219 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2220 elif test -f "$ac_srcdir/configure"; then
2221 echo &&
2222 $SHELL "$ac_srcdir/configure" --help=recursive
2223 else
2224 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2225 fi || ac_status=$?
2226 cd "$ac_pwd" || { ac_status=$?; break; }
2227 done
2230 test -n "$ac_init_help" && exit $ac_status
2231 if $ac_init_version; then
2232 cat <<\_ACEOF
2233 Wine configure 1.7.12
2234 generated by GNU Autoconf 2.69
2236 Copyright (C) 2012 Free Software Foundation, Inc.
2237 This configure script is free software; the Free Software Foundation
2238 gives unlimited permission to copy, distribute and modify it.
2239 _ACEOF
2240 exit
2243 ## ------------------------ ##
2244 ## Autoconf initialization. ##
2245 ## ------------------------ ##
2247 # ac_fn_c_try_compile LINENO
2248 # --------------------------
2249 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2250 ac_fn_c_try_compile ()
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 rm -f conftest.$ac_objext
2254 if { { ac_try="$ac_compile"
2255 case "(($ac_try" in
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2258 esac
2259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_compile") 2>conftest.err
2262 ac_status=$?
2263 if test -s conftest.err; then
2264 grep -v '^ *+' conftest.err >conftest.er1
2265 cat conftest.er1 >&5
2266 mv -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; } && {
2270 test -z "$ac_c_werror_flag" ||
2271 test ! -s conftest.err
2272 } && test -s conftest.$ac_objext; then :
2273 ac_retval=0
2274 else
2275 $as_echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.$ac_ext >&5
2278 ac_retval=1
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281 as_fn_set_status $ac_retval
2283 } # ac_fn_c_try_compile
2285 # ac_fn_cxx_try_compile LINENO
2286 # ----------------------------
2287 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2288 ac_fn_cxx_try_compile ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 rm -f conftest.$ac_objext
2292 if { { ac_try="$ac_compile"
2293 case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2296 esac
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_compile") 2>conftest.err
2300 ac_status=$?
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_cxx_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest.$ac_objext; then :
2311 ac_retval=0
2312 else
2313 $as_echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 ac_retval=1
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319 as_fn_set_status $ac_retval
2321 } # ac_fn_cxx_try_compile
2323 # ac_fn_c_try_link LINENO
2324 # -----------------------
2325 # Try to link conftest.$ac_ext, and return whether this succeeded.
2326 ac_fn_c_try_link ()
2328 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2329 rm -f conftest.$ac_objext conftest$ac_exeext
2330 if { { ac_try="$ac_link"
2331 case "(($ac_try" in
2332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2334 esac
2335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$ac_try_echo"; } >&5
2337 (eval "$ac_link") 2>conftest.err
2338 ac_status=$?
2339 if test -s conftest.err; then
2340 grep -v '^ *+' conftest.err >conftest.er1
2341 cat conftest.er1 >&5
2342 mv -f conftest.er1 conftest.err
2344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2345 test $ac_status = 0; } && {
2346 test -z "$ac_c_werror_flag" ||
2347 test ! -s conftest.err
2348 } && test -s conftest$ac_exeext && {
2349 test "$cross_compiling" = yes ||
2350 test -x conftest$ac_exeext
2351 }; then :
2352 ac_retval=0
2353 else
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2357 ac_retval=1
2359 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2360 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2361 # interfere with the next link command; also delete a directory that is
2362 # left behind by Apple's compiler. We do this before executing the actions.
2363 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2364 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2365 as_fn_set_status $ac_retval
2367 } # ac_fn_c_try_link
2369 # ac_fn_c_try_cpp LINENO
2370 # ----------------------
2371 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2372 ac_fn_c_try_cpp ()
2374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2375 if { { ac_try="$ac_cpp conftest.$ac_ext"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2383 ac_status=$?
2384 if test -s conftest.err; then
2385 grep -v '^ *+' conftest.err >conftest.er1
2386 cat conftest.er1 >&5
2387 mv -f conftest.er1 conftest.err
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; } > conftest.i && {
2391 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2392 test ! -s conftest.err
2393 }; then :
2394 ac_retval=0
2395 else
2396 $as_echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 ac_retval=1
2401 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2402 as_fn_set_status $ac_retval
2404 } # ac_fn_c_try_cpp
2406 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2407 # -------------------------------------------------------
2408 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2409 # the include files in INCLUDES and setting the cache variable VAR
2410 # accordingly.
2411 ac_fn_c_check_header_mongrel ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 if eval \${$3+:} false; then :
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2416 $as_echo_n "checking for $2... " >&6; }
2417 if eval \${$3+:} false; then :
2418 $as_echo_n "(cached) " >&6
2420 eval ac_res=\$$3
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422 $as_echo "$ac_res" >&6; }
2423 else
2424 # Is the header compilable?
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2426 $as_echo_n "checking $2 usability... " >&6; }
2427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2428 /* end confdefs.h. */
2430 #include <$2>
2431 _ACEOF
2432 if ac_fn_c_try_compile "$LINENO"; then :
2433 ac_header_compiler=yes
2434 else
2435 ac_header_compiler=no
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2439 $as_echo "$ac_header_compiler" >&6; }
2441 # Is the header present?
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2443 $as_echo_n "checking $2 presence... " >&6; }
2444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2445 /* end confdefs.h. */
2446 #include <$2>
2447 _ACEOF
2448 if ac_fn_c_try_cpp "$LINENO"; then :
2449 ac_header_preproc=yes
2450 else
2451 ac_header_preproc=no
2453 rm -f conftest.err conftest.i conftest.$ac_ext
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2455 $as_echo "$ac_header_preproc" >&6; }
2457 # So? What about this header?
2458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2459 yes:no: )
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2461 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2463 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2465 no:yes:* )
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2467 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2469 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2471 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2473 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2475 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2476 ( $as_echo "## ------------------------------------ ##
2477 ## Report this to wine-devel@winehq.org ##
2478 ## ------------------------------------ ##"
2479 ) | sed "s/^/$as_me: WARNING: /" >&2
2481 esac
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2483 $as_echo_n "checking for $2... " >&6; }
2484 if eval \${$3+:} false; then :
2485 $as_echo_n "(cached) " >&6
2486 else
2487 eval "$3=\$ac_header_compiler"
2489 eval ac_res=\$$3
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2491 $as_echo "$ac_res" >&6; }
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2495 } # ac_fn_c_check_header_mongrel
2497 # ac_fn_c_try_run LINENO
2498 # ----------------------
2499 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2500 # that executables *can* be run.
2501 ac_fn_c_try_run ()
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 if { { ac_try="$ac_link"
2505 case "(($ac_try" in
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2508 esac
2509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2510 $as_echo "$ac_try_echo"; } >&5
2511 (eval "$ac_link") 2>&5
2512 ac_status=$?
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2515 { { case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2520 $as_echo "$ac_try_echo"; } >&5
2521 (eval "$ac_try") 2>&5
2522 ac_status=$?
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; }; }; then :
2525 ac_retval=0
2526 else
2527 $as_echo "$as_me: program exited with status $ac_status" >&5
2528 $as_echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.$ac_ext >&5
2531 ac_retval=$ac_status
2533 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 as_fn_set_status $ac_retval
2537 } # ac_fn_c_try_run
2539 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2540 # -------------------------------------------------------
2541 # Tests whether HEADER exists and can be compiled using the include files in
2542 # INCLUDES, setting the cache variable VAR accordingly.
2543 ac_fn_c_check_header_compile ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2552 /* end confdefs.h. */
2554 #include <$2>
2555 _ACEOF
2556 if ac_fn_c_try_compile "$LINENO"; then :
2557 eval "$3=yes"
2558 else
2559 eval "$3=no"
2561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 eval ac_res=\$$3
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2565 $as_echo "$ac_res" >&6; }
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2568 } # ac_fn_c_check_header_compile
2570 # ac_fn_c_check_func LINENO FUNC VAR
2571 # ----------------------------------
2572 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2573 ac_fn_c_check_func ()
2575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2577 $as_echo_n "checking for $2... " >&6; }
2578 if eval \${$3+:} false; then :
2579 $as_echo_n "(cached) " >&6
2580 else
2581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582 /* end confdefs.h. */
2583 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2585 #define $2 innocuous_$2
2587 /* System header to define __stub macros and hopefully few prototypes,
2588 which can conflict with char $2 (); below.
2589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2590 <limits.h> exists even on freestanding compilers. */
2592 #ifdef __STDC__
2593 # include <limits.h>
2594 #else
2595 # include <assert.h>
2596 #endif
2598 #undef $2
2600 /* Override any GCC internal prototype to avoid an error.
2601 Use char because int might match the return type of a GCC
2602 builtin and then its argument prototype would still apply. */
2603 #ifdef __cplusplus
2604 extern "C"
2605 #endif
2606 char $2 ();
2607 /* The GNU C library defines this for functions which it implements
2608 to always fail with ENOSYS. Some functions are actually named
2609 something starting with __ and the normal name is an alias. */
2610 #if defined __stub_$2 || defined __stub___$2
2611 choke me
2612 #endif
2615 main ()
2617 return $2 ();
2619 return 0;
2621 _ACEOF
2622 if ac_fn_c_try_link "$LINENO"; then :
2623 eval "$3=yes"
2624 else
2625 eval "$3=no"
2627 rm -f core conftest.err conftest.$ac_objext \
2628 conftest$ac_exeext conftest.$ac_ext
2630 eval ac_res=\$$3
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2632 $as_echo "$ac_res" >&6; }
2633 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2635 } # ac_fn_c_check_func
2637 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2638 # ----------------------------------------------------
2639 # Tries to find if the field MEMBER exists in type AGGR, after including
2640 # INCLUDES, setting cache variable VAR accordingly.
2641 ac_fn_c_check_member ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2645 $as_echo_n "checking for $2.$3... " >&6; }
2646 if eval \${$4+:} false; then :
2647 $as_echo_n "(cached) " >&6
2648 else
2649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2653 main ()
2655 static $2 ac_aggr;
2656 if (ac_aggr.$3)
2657 return 0;
2659 return 0;
2661 _ACEOF
2662 if ac_fn_c_try_compile "$LINENO"; then :
2663 eval "$4=yes"
2664 else
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2669 main ()
2671 static $2 ac_aggr;
2672 if (sizeof ac_aggr.$3)
2673 return 0;
2675 return 0;
2677 _ACEOF
2678 if ac_fn_c_try_compile "$LINENO"; then :
2679 eval "$4=yes"
2680 else
2681 eval "$4=no"
2683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2687 eval ac_res=\$$4
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2689 $as_echo "$ac_res" >&6; }
2690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2692 } # ac_fn_c_check_member
2694 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2695 # -------------------------------------------
2696 # Tests whether TYPE exists after having included INCLUDES, setting cache
2697 # variable VAR accordingly.
2698 ac_fn_c_check_type ()
2700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2702 $as_echo_n "checking for $2... " >&6; }
2703 if eval \${$3+:} false; then :
2704 $as_echo_n "(cached) " >&6
2705 else
2706 eval "$3=no"
2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 /* end confdefs.h. */
2711 main ()
2713 if (sizeof ($2))
2714 return 0;
2716 return 0;
2718 _ACEOF
2719 if ac_fn_c_try_compile "$LINENO"; then :
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2724 main ()
2726 if (sizeof (($2)))
2727 return 0;
2729 return 0;
2731 _ACEOF
2732 if ac_fn_c_try_compile "$LINENO"; then :
2734 else
2735 eval "$3=yes"
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 eval ac_res=\$$3
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2743 $as_echo "$ac_res" >&6; }
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 } # ac_fn_c_check_type
2747 cat >config.log <<_ACEOF
2748 This file contains any messages produced by compilers while
2749 running configure, to aid debugging if configure makes a mistake.
2751 It was created by Wine $as_me 1.7.12, which was
2752 generated by GNU Autoconf 2.69. Invocation command line was
2754 $ $0 $@
2756 _ACEOF
2757 exec 5>>config.log
2759 cat <<_ASUNAME
2760 ## --------- ##
2761 ## Platform. ##
2762 ## --------- ##
2764 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2765 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2766 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2767 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2768 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2770 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2771 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2773 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2774 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2775 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2776 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2777 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2778 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2779 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2781 _ASUNAME
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 for as_dir in $PATH
2786 IFS=$as_save_IFS
2787 test -z "$as_dir" && as_dir=.
2788 $as_echo "PATH: $as_dir"
2789 done
2790 IFS=$as_save_IFS
2792 } >&5
2794 cat >&5 <<_ACEOF
2797 ## ----------- ##
2798 ## Core tests. ##
2799 ## ----------- ##
2801 _ACEOF
2804 # Keep a trace of the command line.
2805 # Strip out --no-create and --no-recursion so they do not pile up.
2806 # Strip out --silent because we don't want to record it for future runs.
2807 # Also quote any args containing shell meta-characters.
2808 # Make two passes to allow for proper duplicate-argument suppression.
2809 ac_configure_args=
2810 ac_configure_args0=
2811 ac_configure_args1=
2812 ac_must_keep_next=false
2813 for ac_pass in 1 2
2815 for ac_arg
2817 case $ac_arg in
2818 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2819 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2820 | -silent | --silent | --silen | --sile | --sil)
2821 continue ;;
2822 *\'*)
2823 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2824 esac
2825 case $ac_pass in
2826 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2828 as_fn_append ac_configure_args1 " '$ac_arg'"
2829 if test $ac_must_keep_next = true; then
2830 ac_must_keep_next=false # Got value, back to normal.
2831 else
2832 case $ac_arg in
2833 *=* | --config-cache | -C | -disable-* | --disable-* \
2834 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2835 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2836 | -with-* | --with-* | -without-* | --without-* | --x)
2837 case "$ac_configure_args0 " in
2838 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2839 esac
2841 -* ) ac_must_keep_next=true ;;
2842 esac
2844 as_fn_append ac_configure_args " '$ac_arg'"
2846 esac
2847 done
2848 done
2849 { ac_configure_args0=; unset ac_configure_args0;}
2850 { ac_configure_args1=; unset ac_configure_args1;}
2852 # When interrupted or exit'd, cleanup temporary files, and complete
2853 # config.log. We remove comments because anyway the quotes in there
2854 # would cause problems or look ugly.
2855 # WARNING: Use '\'' to represent an apostrophe within the trap.
2856 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2857 trap 'exit_status=$?
2858 # Save into config.log some information that might help in debugging.
2860 echo
2862 $as_echo "## ---------------- ##
2863 ## Cache variables. ##
2864 ## ---------------- ##"
2865 echo
2866 # The following way of writing the cache mishandles newlines in values,
2868 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2869 eval ac_val=\$$ac_var
2870 case $ac_val in #(
2871 *${as_nl}*)
2872 case $ac_var in #(
2873 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2874 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2875 esac
2876 case $ac_var in #(
2877 _ | IFS | as_nl) ;; #(
2878 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2879 *) { eval $ac_var=; unset $ac_var;} ;;
2880 esac ;;
2881 esac
2882 done
2883 (set) 2>&1 |
2884 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2885 *${as_nl}ac_space=\ *)
2886 sed -n \
2887 "s/'\''/'\''\\\\'\'''\''/g;
2888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2889 ;; #(
2891 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2893 esac |
2894 sort
2896 echo
2898 $as_echo "## ----------------- ##
2899 ## Output variables. ##
2900 ## ----------------- ##"
2901 echo
2902 for ac_var in $ac_subst_vars
2904 eval ac_val=\$$ac_var
2905 case $ac_val in
2906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2907 esac
2908 $as_echo "$ac_var='\''$ac_val'\''"
2909 done | sort
2910 echo
2912 if test -n "$ac_subst_files"; then
2913 $as_echo "## ------------------- ##
2914 ## File substitutions. ##
2915 ## ------------------- ##"
2916 echo
2917 for ac_var in $ac_subst_files
2919 eval ac_val=\$$ac_var
2920 case $ac_val in
2921 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2922 esac
2923 $as_echo "$ac_var='\''$ac_val'\''"
2924 done | sort
2925 echo
2928 if test -s confdefs.h; then
2929 $as_echo "## ----------- ##
2930 ## confdefs.h. ##
2931 ## ----------- ##"
2932 echo
2933 cat confdefs.h
2934 echo
2936 test "$ac_signal" != 0 &&
2937 $as_echo "$as_me: caught signal $ac_signal"
2938 $as_echo "$as_me: exit $exit_status"
2939 } >&5
2940 rm -f core *.core core.conftest.* &&
2941 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2942 exit $exit_status
2944 for ac_signal in 1 2 13 15; do
2945 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2946 done
2947 ac_signal=0
2949 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2950 rm -f -r conftest* confdefs.h
2952 $as_echo "/* confdefs.h */" > confdefs.h
2954 # Predefined preprocessor variables.
2956 cat >>confdefs.h <<_ACEOF
2957 #define PACKAGE_NAME "$PACKAGE_NAME"
2958 _ACEOF
2960 cat >>confdefs.h <<_ACEOF
2961 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2962 _ACEOF
2964 cat >>confdefs.h <<_ACEOF
2965 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2966 _ACEOF
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE_STRING "$PACKAGE_STRING"
2970 _ACEOF
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_URL "$PACKAGE_URL"
2978 _ACEOF
2981 # Let the site file select an alternate cache file if it wants to.
2982 # Prefer an explicitly selected file to automatically selected ones.
2983 ac_site_file1=NONE
2984 ac_site_file2=NONE
2985 if test -n "$CONFIG_SITE"; then
2986 # We do not want a PATH search for config.site.
2987 case $CONFIG_SITE in #((
2988 -*) ac_site_file1=./$CONFIG_SITE;;
2989 */*) ac_site_file1=$CONFIG_SITE;;
2990 *) ac_site_file1=./$CONFIG_SITE;;
2991 esac
2992 elif test "x$prefix" != xNONE; then
2993 ac_site_file1=$prefix/share/config.site
2994 ac_site_file2=$prefix/etc/config.site
2995 else
2996 ac_site_file1=$ac_default_prefix/share/config.site
2997 ac_site_file2=$ac_default_prefix/etc/config.site
2999 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3001 test "x$ac_site_file" = xNONE && continue
3002 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3004 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3005 sed 's/^/| /' "$ac_site_file" >&5
3006 . "$ac_site_file" \
3007 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3009 as_fn_error $? "failed to load site script $ac_site_file
3010 See \`config.log' for more details" "$LINENO" 5; }
3012 done
3014 if test -r "$cache_file"; then
3015 # Some versions of bash will fail to source /dev/null (special files
3016 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3017 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3019 $as_echo "$as_me: loading cache $cache_file" >&6;}
3020 case $cache_file in
3021 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3022 *) . "./$cache_file";;
3023 esac
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3027 $as_echo "$as_me: creating cache $cache_file" >&6;}
3028 >$cache_file
3031 # Check that the precious variables saved in the cache have kept the same
3032 # value.
3033 ac_cache_corrupted=false
3034 for ac_var in $ac_precious_vars; do
3035 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3036 eval ac_new_set=\$ac_env_${ac_var}_set
3037 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3038 eval ac_new_val=\$ac_env_${ac_var}_value
3039 case $ac_old_set,$ac_new_set in
3040 set,)
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3042 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3043 ac_cache_corrupted=: ;;
3044 ,set)
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3046 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3047 ac_cache_corrupted=: ;;
3048 ,);;
3050 if test "x$ac_old_val" != "x$ac_new_val"; then
3051 # differences in whitespace do not lead to failure.
3052 ac_old_val_w=`echo x $ac_old_val`
3053 ac_new_val_w=`echo x $ac_new_val`
3054 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3056 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3057 ac_cache_corrupted=:
3058 else
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3060 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3061 eval $ac_var=\$ac_old_val
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3064 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3066 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3067 fi;;
3068 esac
3069 # Pass precious variables to config.status.
3070 if test "$ac_new_set" = set; then
3071 case $ac_new_val in
3072 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3073 *) ac_arg=$ac_var=$ac_new_val ;;
3074 esac
3075 case " $ac_configure_args " in
3076 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3077 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3078 esac
3080 done
3081 if $ac_cache_corrupted; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3085 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3086 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3088 ## -------------------- ##
3089 ## Main body of script. ##
3090 ## -------------------- ##
3092 ac_ext=c
3093 ac_cpp='$CPP $CPPFLAGS'
3094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 ac_config_headers="$ac_config_headers include/config.h"
3102 ac_aux_dir=
3103 for ac_dir in tools "$srcdir"/tools; do
3104 if test -f "$ac_dir/install-sh"; then
3105 ac_aux_dir=$ac_dir
3106 ac_install_sh="$ac_aux_dir/install-sh -c"
3107 break
3108 elif test -f "$ac_dir/install.sh"; then
3109 ac_aux_dir=$ac_dir
3110 ac_install_sh="$ac_aux_dir/install.sh -c"
3111 break
3112 elif test -f "$ac_dir/shtool"; then
3113 ac_aux_dir=$ac_dir
3114 ac_install_sh="$ac_aux_dir/shtool install -c"
3115 break
3117 done
3118 if test -z "$ac_aux_dir"; then
3119 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3122 # These three variables are undocumented and unsupported,
3123 # and are intended to be withdrawn in a future Autoconf release.
3124 # They can cause serious problems if a builder's source tree is in a directory
3125 # whose full name contains unusual characters.
3126 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3127 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3128 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3132 libwine_version="1.0"
3136 # Check whether --enable-win16 was given.
3137 if test "${enable_win16+set}" = set; then :
3138 enableval=$enable_win16;
3141 # Check whether --enable-win64 was given.
3142 if test "${enable_win64+set}" = set; then :
3143 enableval=$enable_win64;
3146 # Check whether --enable-tests was given.
3147 if test "${enable_tests+set}" = set; then :
3148 enableval=$enable_tests;
3151 # Check whether --enable-maintainer-mode was given.
3152 if test "${enable_maintainer_mode+set}" = set; then :
3153 enableval=$enable_maintainer_mode;
3158 # Check whether --with-alsa was given.
3159 if test "${with_alsa+set}" = set; then :
3160 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3164 # Check whether --with-capi was given.
3165 if test "${with_capi+set}" = set; then :
3166 withval=$with_capi;
3170 # Check whether --with-cms was given.
3171 if test "${with_cms+set}" = set; then :
3172 withval=$with_cms;
3176 # Check whether --with-coreaudio was given.
3177 if test "${with_coreaudio+set}" = set; then :
3178 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3182 # Check whether --with-cups was given.
3183 if test "${with_cups+set}" = set; then :
3184 withval=$with_cups;
3188 # Check whether --with-curses was given.
3189 if test "${with_curses+set}" = set; then :
3190 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3194 # Check whether --with-dbus was given.
3195 if test "${with_dbus+set}" = set; then :
3196 withval=$with_dbus;
3200 # Check whether --with-fontconfig was given.
3201 if test "${with_fontconfig+set}" = set; then :
3202 withval=$with_fontconfig;
3206 # Check whether --with-freetype was given.
3207 if test "${with_freetype+set}" = set; then :
3208 withval=$with_freetype;
3212 # Check whether --with-gettext was given.
3213 if test "${with_gettext+set}" = set; then :
3214 withval=$with_gettext;
3218 # Check whether --with-gettextpo was given.
3219 if test "${with_gettextpo+set}" = set; then :
3220 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3224 # Check whether --with-gphoto was given.
3225 if test "${with_gphoto+set}" = set; then :
3226 withval=$with_gphoto;
3230 # Check whether --with-glu was given.
3231 if test "${with_glu+set}" = set; then :
3232 withval=$with_glu;
3236 # Check whether --with-gnutls was given.
3237 if test "${with_gnutls+set}" = set; then :
3238 withval=$with_gnutls;
3242 # Check whether --with-gsm was given.
3243 if test "${with_gsm+set}" = set; then :
3244 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3248 # Check whether --with-gstreamer was given.
3249 if test "${with_gstreamer+set}" = set; then :
3250 withval=$with_gstreamer;
3254 # Check whether --with-hal was given.
3255 if test "${with_hal+set}" = set; then :
3256 withval=$with_hal;
3260 # Check whether --with-jpeg was given.
3261 if test "${with_jpeg+set}" = set; then :
3262 withval=$with_jpeg;
3266 # Check whether --with-ldap was given.
3267 if test "${with_ldap+set}" = set; then :
3268 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3272 # Check whether --with-mpg123 was given.
3273 if test "${with_mpg123+set}" = set; then :
3274 withval=$with_mpg123;
3278 # Check whether --with-netapi was given.
3279 if test "${with_netapi+set}" = set; then :
3280 withval=$with_netapi;
3284 # Check whether --with-openal was given.
3285 if test "${with_openal+set}" = set; then :
3286 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3290 # Check whether --with-opencl was given.
3291 if test "${with_opencl+set}" = set; then :
3292 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3296 # Check whether --with-opengl was given.
3297 if test "${with_opengl+set}" = set; then :
3298 withval=$with_opengl;
3302 # Check whether --with-osmesa was given.
3303 if test "${with_osmesa+set}" = set; then :
3304 withval=$with_osmesa;
3308 # Check whether --with-oss was given.
3309 if test "${with_oss+set}" = set; then :
3310 withval=$with_oss;
3314 # Check whether --with-png was given.
3315 if test "${with_png+set}" = set; then :
3316 withval=$with_png;
3320 # Check whether --with-pthread was given.
3321 if test "${with_pthread+set}" = set; then :
3322 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3326 # Check whether --with-sane was given.
3327 if test "${with_sane+set}" = set; then :
3328 withval=$with_sane;
3332 # Check whether --with-tiff was given.
3333 if test "${with_tiff+set}" = set; then :
3334 withval=$with_tiff;
3338 # Check whether --with-v4l was given.
3339 if test "${with_v4l+set}" = set; then :
3340 withval=$with_v4l;
3344 # Check whether --with-xcomposite was given.
3345 if test "${with_xcomposite+set}" = set; then :
3346 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3350 # Check whether --with-xcursor was given.
3351 if test "${with_xcursor+set}" = set; then :
3352 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3356 # Check whether --with-xinerama was given.
3357 if test "${with_xinerama+set}" = set; then :
3358 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3362 # Check whether --with-xinput was given.
3363 if test "${with_xinput+set}" = set; then :
3364 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3368 # Check whether --with-xinput2 was given.
3369 if test "${with_xinput2+set}" = set; then :
3370 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3374 # Check whether --with-xml was given.
3375 if test "${with_xml+set}" = set; then :
3376 withval=$with_xml;
3380 # Check whether --with-xrandr was given.
3381 if test "${with_xrandr+set}" = set; then :
3382 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3386 # Check whether --with-xrender was given.
3387 if test "${with_xrender+set}" = set; then :
3388 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3392 # Check whether --with-xshape was given.
3393 if test "${with_xshape+set}" = set; then :
3394 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3398 # Check whether --with-xshm was given.
3399 if test "${with_xshm+set}" = set; then :
3400 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3404 # Check whether --with-xslt was given.
3405 if test "${with_xslt+set}" = set; then :
3406 withval=$with_xslt;
3410 # Check whether --with-xxf86vm was given.
3411 if test "${with_xxf86vm+set}" = set; then :
3412 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
3416 # Check whether --with-zlib was given.
3417 if test "${with_zlib+set}" = set; then :
3418 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3423 # Check whether --with-wine-tools was given.
3424 if test "${with_wine_tools+set}" = set; then :
3425 withval=$with_wine_tools;
3429 # Check whether --with-wine64 was given.
3430 if test "${with_wine64+set}" = set; then :
3431 withval=$with_wine64;
3435 # Make sure we can run config.sub.
3436 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3437 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3440 $as_echo_n "checking build system type... " >&6; }
3441 if ${ac_cv_build+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 ac_build_alias=$build_alias
3445 test "x$ac_build_alias" = x &&
3446 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3447 test "x$ac_build_alias" = x &&
3448 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3449 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3450 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3454 $as_echo "$ac_cv_build" >&6; }
3455 case $ac_cv_build in
3456 *-*-*) ;;
3457 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3458 esac
3459 build=$ac_cv_build
3460 ac_save_IFS=$IFS; IFS='-'
3461 set x $ac_cv_build
3462 shift
3463 build_cpu=$1
3464 build_vendor=$2
3465 shift; shift
3466 # Remember, the first character of IFS is used to create $*,
3467 # except with old shells:
3468 build_os=$*
3469 IFS=$ac_save_IFS
3470 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3474 $as_echo_n "checking host system type... " >&6; }
3475 if ${ac_cv_host+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 if test "x$host_alias" = x; then
3479 ac_cv_host=$ac_cv_build
3480 else
3481 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3482 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3487 $as_echo "$ac_cv_host" >&6; }
3488 case $ac_cv_host in
3489 *-*-*) ;;
3490 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3491 esac
3492 host=$ac_cv_host
3493 ac_save_IFS=$IFS; IFS='-'
3494 set x $ac_cv_host
3495 shift
3496 host_cpu=$1
3497 host_vendor=$2
3498 shift; shift
3499 # Remember, the first character of IFS is used to create $*,
3500 # except with old shells:
3501 host_os=$*
3502 IFS=$ac_save_IFS
3503 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3507 case "$srcdir" in
3508 .) ;;
3509 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3510 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3511 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3512 fi ;;
3513 esac
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3517 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3518 set x ${MAKE-make}
3519 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3520 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 cat >conftest.make <<\_ACEOF
3524 SHELL = /bin/sh
3525 all:
3526 @echo '@@@%%%=$(MAKE)=@@@%%%'
3527 _ACEOF
3528 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3529 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3530 *@@@%%%=?*=@@@%%%*)
3531 eval ac_cv_prog_make_${ac_make}_set=yes;;
3533 eval ac_cv_prog_make_${ac_make}_set=no;;
3534 esac
3535 rm -f conftest.make
3537 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3539 $as_echo "yes" >&6; }
3540 SET_MAKE=
3541 else
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3544 SET_MAKE="MAKE=${MAKE-make}"
3547 ac_ext=c
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if ${ac_cv_prog_CC+:} false; then :
3558 $as_echo_n "(cached) " >&6
3559 else
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC="$CC" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3574 done
3575 done
3576 IFS=$as_save_IFS
3580 CC=$ac_cv_prog_CC
3581 if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583 $as_echo "$CC" >&6; }
3584 else
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3591 if test -z "$ac_cv_prog_CC"; then
3592 ac_ct_CC=$CC
3593 # Extract the first word of "gcc", so it can be a program name with args.
3594 set dummy gcc; ac_word=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3598 $as_echo_n "(cached) " >&6
3599 else
3600 if test -n "$ac_ct_CC"; then
3601 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3602 else
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 for as_dir in $PATH
3606 IFS=$as_save_IFS
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_ac_ct_CC="gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 break 2
3614 done
3615 done
3616 IFS=$as_save_IFS
3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3621 if test -n "$ac_ct_CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3623 $as_echo "$ac_ct_CC" >&6; }
3624 else
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3629 if test "x$ac_ct_CC" = x; then
3630 CC=""
3631 else
3632 case $cross_compiling:$ac_tool_warned in
3633 yes:)
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638 CC=$ac_ct_CC
3640 else
3641 CC="$ac_cv_prog_CC"
3644 if test -z "$CC"; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3647 set dummy ${ac_tool_prefix}cc; ac_word=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_CC+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC="$CC" # Let the user override the test.
3655 else
3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 for as_dir in $PATH
3659 IFS=$as_save_IFS
3660 test -z "$as_dir" && as_dir=.
3661 for ac_exec_ext in '' $ac_executable_extensions; do
3662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3663 ac_cv_prog_CC="${ac_tool_prefix}cc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 break 2
3667 done
3668 done
3669 IFS=$as_save_IFS
3673 CC=$ac_cv_prog_CC
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3677 else
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3685 if test -z "$CC"; then
3686 # Extract the first word of "cc", so it can be a program name with args.
3687 set dummy cc; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_CC+:} false; then :
3691 $as_echo_n "(cached) " >&6
3692 else
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC="$CC" # Let the user override the test.
3695 else
3696 ac_prog_rejected=no
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 for as_dir in $PATH
3700 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3705 ac_prog_rejected=yes
3706 continue
3708 ac_cv_prog_CC="cc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3712 done
3713 done
3714 IFS=$as_save_IFS
3716 if test $ac_prog_rejected = yes; then
3717 # We found a bogon in the path, so make sure we never use it.
3718 set dummy $ac_cv_prog_CC
3719 shift
3720 if test $# != 0; then
3721 # We chose a different compiler from the bogus one.
3722 # However, it has the same basename, so the bogon will be chosen
3723 # first if we set CC to just the basename; use the full file name.
3724 shift
3725 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 CC=$ac_cv_prog_CC
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3734 else
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 if test -n "$ac_tool_prefix"; then
3743 for ac_prog in cl.exe
3745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 test -n "$CC" && break
3783 done
3785 if test -z "$CC"; then
3786 ac_ct_CC=$CC
3787 for ac_prog in cl.exe
3789 # Extract the first word of "$ac_prog", so it can be a program name with args.
3790 set dummy $ac_prog; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3794 $as_echo_n "(cached) " >&6
3795 else
3796 if test -n "$ac_ct_CC"; then
3797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3798 else
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3800 for as_dir in $PATH
3802 IFS=$as_save_IFS
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3806 ac_cv_prog_ac_ct_CC="$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 break 2
3810 done
3811 done
3812 IFS=$as_save_IFS
3816 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3817 if test -n "$ac_ct_CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3819 $as_echo "$ac_ct_CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$ac_ct_CC" && break
3827 done
3829 if test "x$ac_ct_CC" = x; then
3830 CC=""
3831 else
3832 case $cross_compiling:$ac_tool_warned in
3833 yes:)
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3836 ac_tool_warned=yes ;;
3837 esac
3838 CC=$ac_ct_CC
3845 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $? "no acceptable C compiler found in \$PATH
3848 See \`config.log' for more details" "$LINENO" 5; }
3850 # Provide some information about the compiler.
3851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3852 set X $ac_compile
3853 ac_compiler=$2
3854 for ac_option in --version -v -V -qversion; do
3855 { { ac_try="$ac_compiler $ac_option >&5"
3856 case "(($ac_try" in
3857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3859 esac
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3863 ac_status=$?
3864 if test -s conftest.err; then
3865 sed '10a\
3866 ... rest of stderr output deleted ...
3867 10q' conftest.err >conftest.er1
3868 cat conftest.er1 >&5
3870 rm -f conftest.er1 conftest.err
3871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3873 done
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3879 main ()
3883 return 0;
3885 _ACEOF
3886 ac_clean_files_save=$ac_clean_files
3887 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3888 # Try to create an executable without -o first, disregard a.out.
3889 # It will help us diagnose broken compilers, and finding out an intuition
3890 # of exeext.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3892 $as_echo_n "checking whether the C compiler works... " >&6; }
3893 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3895 # The possible output files:
3896 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3898 ac_rmfiles=
3899 for ac_file in $ac_files
3901 case $ac_file in
3902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3903 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3904 esac
3905 done
3906 rm -f $ac_rmfiles
3908 if { { ac_try="$ac_link_default"
3909 case "(($ac_try" in
3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3912 esac
3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3914 $as_echo "$ac_try_echo"; } >&5
3915 (eval "$ac_link_default") 2>&5
3916 ac_status=$?
3917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3918 test $ac_status = 0; }; then :
3919 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3920 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3921 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3922 # so that the user can short-circuit this test for compilers unknown to
3923 # Autoconf.
3924 for ac_file in $ac_files ''
3926 test -f "$ac_file" || continue
3927 case $ac_file in
3928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3930 [ab].out )
3931 # We found the default executable, but exeext='' is most
3932 # certainly right.
3933 break;;
3934 *.* )
3935 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3936 then :; else
3937 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3939 # We set ac_cv_exeext here because the later test for it is not
3940 # safe: cross compilers may not add the suffix if given an `-o'
3941 # argument, so we may need to know it at that point already.
3942 # Even if this section looks crufty: it has the advantage of
3943 # actually working.
3944 break;;
3946 break;;
3947 esac
3948 done
3949 test "$ac_cv_exeext" = no && ac_cv_exeext=
3951 else
3952 ac_file=''
3954 if test -z "$ac_file"; then :
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3957 $as_echo "$as_me: failed program was:" >&5
3958 sed 's/^/| /' conftest.$ac_ext >&5
3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3962 as_fn_error 77 "C compiler cannot create executables
3963 See \`config.log' for more details" "$LINENO" 5; }
3964 else
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3966 $as_echo "yes" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3969 $as_echo_n "checking for C compiler default output file name... " >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3971 $as_echo "$ac_file" >&6; }
3972 ac_exeext=$ac_cv_exeext
3974 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3975 ac_clean_files=$ac_clean_files_save
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3977 $as_echo_n "checking for suffix of executables... " >&6; }
3978 if { { ac_try="$ac_link"
3979 case "(($ac_try" in
3980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981 *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_link") 2>&5
3986 ac_status=$?
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3990 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3991 # work properly (i.e., refer to `conftest.exe'), while it won't with
3992 # `rm'.
3993 for ac_file in conftest.exe conftest conftest.*; do
3994 test -f "$ac_file" || continue
3995 case $ac_file in
3996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3997 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3998 break;;
3999 * ) break;;
4000 esac
4001 done
4002 else
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4006 See \`config.log' for more details" "$LINENO" 5; }
4008 rm -f conftest conftest$ac_cv_exeext
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4010 $as_echo "$ac_cv_exeext" >&6; }
4012 rm -f conftest.$ac_ext
4013 EXEEXT=$ac_cv_exeext
4014 ac_exeext=$EXEEXT
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4017 #include <stdio.h>
4019 main ()
4021 FILE *f = fopen ("conftest.out", "w");
4022 return ferror (f) || fclose (f) != 0;
4025 return 0;
4027 _ACEOF
4028 ac_clean_files="$ac_clean_files conftest.out"
4029 # Check that the compiler produces executables we can run. If not, either
4030 # the compiler is broken, or we cross compile.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4032 $as_echo_n "checking whether we are cross compiling... " >&6; }
4033 if test "$cross_compiling" != yes; then
4034 { { ac_try="$ac_link"
4035 case "(($ac_try" in
4036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037 *) ac_try_echo=$ac_try;;
4038 esac
4039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 $as_echo "$ac_try_echo"; } >&5
4041 (eval "$ac_link") 2>&5
4042 ac_status=$?
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }
4045 if { ac_try='./conftest$ac_cv_exeext'
4046 { { case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_try") 2>&5
4053 ac_status=$?
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; }; then
4056 cross_compiling=no
4057 else
4058 if test "$cross_compiling" = maybe; then
4059 cross_compiling=yes
4060 else
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error $? "cannot run C compiled programs.
4064 If you meant to cross compile, use \`--host'.
4065 See \`config.log' for more details" "$LINENO" 5; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4070 $as_echo "$cross_compiling" >&6; }
4072 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4073 ac_clean_files=$ac_clean_files_save
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4075 $as_echo_n "checking for suffix of object files... " >&6; }
4076 if ${ac_cv_objext+:} false; then :
4077 $as_echo_n "(cached) " >&6
4078 else
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4083 main ()
4087 return 0;
4089 _ACEOF
4090 rm -f conftest.o conftest.obj
4091 if { { ac_try="$ac_compile"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_compile") 2>&5
4099 ac_status=$?
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; then :
4102 for ac_file in conftest.o conftest.obj conftest.*; do
4103 test -f "$ac_file" || continue;
4104 case $ac_file in
4105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4106 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4107 break;;
4108 esac
4109 done
4110 else
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4116 as_fn_error $? "cannot compute suffix of object files: cannot compile
4117 See \`config.log' for more details" "$LINENO" 5; }
4119 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4122 $as_echo "$ac_cv_objext" >&6; }
4123 OBJEXT=$ac_cv_objext
4124 ac_objext=$OBJEXT
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4126 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4127 if ${ac_cv_c_compiler_gnu+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4134 main ()
4136 #ifndef __GNUC__
4137 choke me
4138 #endif
4141 return 0;
4143 _ACEOF
4144 if ac_fn_c_try_compile "$LINENO"; then :
4145 ac_compiler_gnu=yes
4146 else
4147 ac_compiler_gnu=no
4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4150 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4154 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4155 if test $ac_compiler_gnu = yes; then
4156 GCC=yes
4157 else
4158 GCC=
4160 ac_test_CFLAGS=${CFLAGS+set}
4161 ac_save_CFLAGS=$CFLAGS
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4163 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4164 if ${ac_cv_prog_cc_g+:} false; then :
4165 $as_echo_n "(cached) " >&6
4166 else
4167 ac_save_c_werror_flag=$ac_c_werror_flag
4168 ac_c_werror_flag=yes
4169 ac_cv_prog_cc_g=no
4170 CFLAGS="-g"
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4175 main ()
4179 return 0;
4181 _ACEOF
4182 if ac_fn_c_try_compile "$LINENO"; then :
4183 ac_cv_prog_cc_g=yes
4184 else
4185 CFLAGS=""
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4199 else
4200 ac_c_werror_flag=$ac_save_c_werror_flag
4201 CFLAGS="-g"
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203 /* end confdefs.h. */
4206 main ()
4210 return 0;
4212 _ACEOF
4213 if ac_fn_c_try_compile "$LINENO"; then :
4214 ac_cv_prog_cc_g=yes
4216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 ac_c_werror_flag=$ac_save_c_werror_flag
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4224 $as_echo "$ac_cv_prog_cc_g" >&6; }
4225 if test "$ac_test_CFLAGS" = set; then
4226 CFLAGS=$ac_save_CFLAGS
4227 elif test $ac_cv_prog_cc_g = yes; then
4228 if test "$GCC" = yes; then
4229 CFLAGS="-g -O2"
4230 else
4231 CFLAGS="-g"
4233 else
4234 if test "$GCC" = yes; then
4235 CFLAGS="-O2"
4236 else
4237 CFLAGS=
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4241 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4242 if ${ac_cv_prog_cc_c89+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 ac_cv_prog_cc_c89=no
4246 ac_save_CC=$CC
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4249 #include <stdarg.h>
4250 #include <stdio.h>
4251 struct stat;
4252 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4253 struct buf { int x; };
4254 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4255 static char *e (p, i)
4256 char **p;
4257 int i;
4259 return p[i];
4261 static char *f (char * (*g) (char **, int), char **p, ...)
4263 char *s;
4264 va_list v;
4265 va_start (v,p);
4266 s = g (p, va_arg (v,int));
4267 va_end (v);
4268 return s;
4271 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4272 function prototypes and stuff, but not '\xHH' hex character constants.
4273 These don't provoke an error unfortunately, instead are silently treated
4274 as 'x'. The following induces an error, until -std is added to get
4275 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4276 array size at least. It's necessary to write '\x00'==0 to get something
4277 that's true only with -std. */
4278 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4280 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4281 inside strings and character constants. */
4282 #define FOO(x) 'x'
4283 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4285 int test (int i, double x);
4286 struct s1 {int (*f) (int a);};
4287 struct s2 {int (*f) (double a);};
4288 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 int argc;
4290 char **argv;
4292 main ()
4294 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4296 return 0;
4298 _ACEOF
4299 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4300 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4302 CC="$ac_save_CC $ac_arg"
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 ac_cv_prog_cc_c89=$ac_arg
4306 rm -f core conftest.err conftest.$ac_objext
4307 test "x$ac_cv_prog_cc_c89" != "xno" && break
4308 done
4309 rm -f conftest.$ac_ext
4310 CC=$ac_save_CC
4313 # AC_CACHE_VAL
4314 case "x$ac_cv_prog_cc_c89" in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4317 $as_echo "none needed" >&6; } ;;
4318 xno)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4320 $as_echo "unsupported" >&6; } ;;
4322 CC="$CC $ac_cv_prog_cc_c89"
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4325 esac
4326 if test "x$ac_cv_prog_cc_c89" != xno; then :
4330 ac_ext=c
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 ac_ext=cpp
4337 ac_cpp='$CXXCPP $CPPFLAGS'
4338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4341 if test -z "$CXX"; then
4342 if test -n "$CCC"; then
4343 CXX=$CCC
4344 else
4345 if test -n "$ac_tool_prefix"; then
4346 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4348 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4351 $as_echo_n "checking for $ac_word... " >&6; }
4352 if ${ac_cv_prog_CXX+:} false; then :
4353 $as_echo_n "(cached) " >&6
4354 else
4355 if test -n "$CXX"; then
4356 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4369 done
4370 done
4371 IFS=$as_save_IFS
4375 CXX=$ac_cv_prog_CXX
4376 if test -n "$CXX"; then
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4378 $as_echo "$CXX" >&6; }
4379 else
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4381 $as_echo "no" >&6; }
4385 test -n "$CXX" && break
4386 done
4388 if test -z "$CXX"; then
4389 ac_ct_CXX=$CXX
4390 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4392 # Extract the first word of "$ac_prog", so it can be a program name with args.
4393 set dummy $ac_prog; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$ac_ct_CXX"; then
4400 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_prog"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4413 done
4414 done
4415 IFS=$as_save_IFS
4419 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4420 if test -n "$ac_ct_CXX"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4422 $as_echo "$ac_ct_CXX" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4429 test -n "$ac_ct_CXX" && break
4430 done
4432 if test "x$ac_ct_CXX" = x; then
4433 CXX="g++"
4434 else
4435 case $cross_compiling:$ac_tool_warned in
4436 yes:)
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4439 ac_tool_warned=yes ;;
4440 esac
4441 CXX=$ac_ct_CXX
4447 # Provide some information about the compiler.
4448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4449 set X $ac_compile
4450 ac_compiler=$2
4451 for ac_option in --version -v -V -qversion; do
4452 { { ac_try="$ac_compiler $ac_option >&5"
4453 case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4460 ac_status=$?
4461 if test -s conftest.err; then
4462 sed '10a\
4463 ... rest of stderr output deleted ...
4464 10q' conftest.err >conftest.er1
4465 cat conftest.er1 >&5
4467 rm -f conftest.er1 conftest.err
4468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4469 test $ac_status = 0; }
4470 done
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4473 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4474 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4481 main ()
4483 #ifndef __GNUC__
4484 choke me
4485 #endif
4488 return 0;
4490 _ACEOF
4491 if ac_fn_cxx_try_compile "$LINENO"; then :
4492 ac_compiler_gnu=yes
4493 else
4494 ac_compiler_gnu=no
4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4497 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4501 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4502 if test $ac_compiler_gnu = yes; then
4503 GXX=yes
4504 else
4505 GXX=
4507 ac_test_CXXFLAGS=${CXXFLAGS+set}
4508 ac_save_CXXFLAGS=$CXXFLAGS
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4510 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4511 if ${ac_cv_prog_cxx_g+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4515 ac_cxx_werror_flag=yes
4516 ac_cv_prog_cxx_g=no
4517 CXXFLAGS="-g"
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4522 main ()
4526 return 0;
4528 _ACEOF
4529 if ac_fn_cxx_try_compile "$LINENO"; then :
4530 ac_cv_prog_cxx_g=yes
4531 else
4532 CXXFLAGS=""
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4537 main ()
4541 return 0;
4543 _ACEOF
4544 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 else
4547 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4548 CXXFLAGS="-g"
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4561 ac_cv_prog_cxx_g=yes
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4571 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4572 if test "$ac_test_CXXFLAGS" = set; then
4573 CXXFLAGS=$ac_save_CXXFLAGS
4574 elif test $ac_cv_prog_cxx_g = yes; then
4575 if test "$GXX" = yes; then
4576 CXXFLAGS="-g -O2"
4577 else
4578 CXXFLAGS="-g"
4580 else
4581 if test "$GXX" = yes; then
4582 CXXFLAGS="-O2"
4583 else
4584 CXXFLAGS=
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 if test -n "$ac_tool_prefix"; then
4594 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4595 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_CPPBIN+:} false; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 if test -n "$CPPBIN"; then
4602 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4603 else
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH
4607 IFS=$as_save_IFS
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 break 2
4615 done
4616 done
4617 IFS=$as_save_IFS
4621 CPPBIN=$ac_cv_prog_CPPBIN
4622 if test -n "$CPPBIN"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4624 $as_echo "$CPPBIN" >&6; }
4625 else
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4632 if test -z "$ac_cv_prog_CPPBIN"; then
4633 ac_ct_CPPBIN=$CPPBIN
4634 # Extract the first word of "cpp", so it can be a program name with args.
4635 set dummy cpp; ac_word=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4639 $as_echo_n "(cached) " >&6
4640 else
4641 if test -n "$ac_ct_CPPBIN"; then
4642 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4643 else
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH
4647 IFS=$as_save_IFS
4648 test -z "$as_dir" && as_dir=.
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_CPPBIN="cpp"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4662 if test -n "$ac_ct_CPPBIN"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4664 $as_echo "$ac_ct_CPPBIN" >&6; }
4665 else
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4670 if test "x$ac_ct_CPPBIN" = x; then
4671 CPPBIN="cpp"
4672 else
4673 case $cross_compiling:$ac_tool_warned in
4674 yes:)
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4677 ac_tool_warned=yes ;;
4678 esac
4679 CPPBIN=$ac_ct_CPPBIN
4681 else
4682 CPPBIN="$ac_cv_prog_CPPBIN"
4686 cat >>confdefs.h <<_ACEOF
4687 #define EXEEXT "$ac_exeext"
4688 _ACEOF
4691 case $host in
4692 *-darwin*)
4693 if test "x$enable_win64" = "xyes"
4694 then
4695 CC="$CC -m64"
4696 CXX="$CXX -m64"
4697 host_cpu="x86_64"
4698 notice_platform="64-bit "
4699 TARGETFLAGS="-m64"
4701 else
4702 CC="$CC -m32"
4703 CXX="$CXX -m32"
4704 host_cpu="i386"
4705 notice_platform="32-bit "
4706 TARGETFLAGS="-m32"
4708 enable_win16=${enable_win16:-yes}
4710 with_fontconfig=${with_fontconfig:-no}
4712 x86_64*)
4713 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4714 then
4715 CC="$CC -m32"
4716 CXX="$CXX -m32"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4718 $as_echo_n "checking whether $CC works... " >&6; }
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4724 main ()
4728 return 0;
4730 _ACEOF
4731 if ac_fn_c_try_link "$LINENO"; then :
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4733 $as_echo "yes" >&6; }
4734 else
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4739 rm -f core conftest.err conftest.$ac_objext \
4740 conftest$ac_exeext conftest.$ac_ext
4741 host_cpu="i386"
4742 notice_platform="32-bit "
4743 TARGETFLAGS="-m32"
4745 enable_win16=${enable_win16:-yes}
4746 else
4747 if test "x${GCC}" = "xyes"
4748 then
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4750 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4753 #include <stdarg.h>
4755 main ()
4757 void func(__builtin_ms_va_list *args);
4759 return 0;
4761 _ACEOF
4762 if ac_fn_c_try_compile "$LINENO"; then :
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4764 $as_echo "yes" >&6; }
4765 else
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4768 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 TARGETFLAGS="-m64"
4776 arm*)
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4778 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4781 int ac_test(int i) { return i; }
4783 main ()
4785 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4787 return 0;
4789 _ACEOF
4790 if ac_fn_c_try_link "$LINENO"; then :
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4792 $as_echo "yes" >&6; }
4793 else
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 $as_echo "no" >&6; }
4796 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4798 rm -f core conftest.err conftest.$ac_objext \
4799 conftest$ac_exeext conftest.$ac_ext
4800 CFLAGS="$CFLAGS -marm"
4801 TARGETFLAGS="-marm"
4804 *-mingw32*|*-cygwin*)
4805 enable_win16=${enable_win16:-no}
4806 CFLAGS="$CFLAGS -D_WIN32"
4808 i[3456789]86*)
4809 enable_win16=${enable_win16:-yes}
4811 esac
4813 enable_win16=${enable_win16:-no}
4814 enable_win64=${enable_win64:-no}
4816 enable_winetest=${enable_winetest:-$enable_tests}
4818 if test -n "$with_wine64"
4819 then
4820 if test "x$enable_win64" = "xyes"
4821 then
4822 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4823 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4825 enable_fonts=${enable_fonts:-no}
4826 enable_server=${enable_server:-no}
4827 elif test "x$enable_win64" = "xyes"
4828 then
4829 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4833 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4834 if ${wine_cv_toolsdir+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 wine_cv_toolsdir="$with_wine_tools"
4838 if test -z "$with_wine_tools"; then
4839 if test "$cross_compiling" = "yes"; then
4840 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4841 elif test -n "$with_wine64"; then
4842 wine_cv_toolsdir="$with_wine64"
4845 if test -z "$wine_cv_toolsdir"; then
4846 wine_cv_toolsdir="\$(top_builddir)"
4847 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4848 case "$wine_cv_toolsdir" in
4849 /*) ;;
4850 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4851 esac
4852 enable_tools=${enable_tools:-no}
4853 else
4854 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4858 $as_echo "$wine_cv_toolsdir" >&6; }
4859 TOOLSDIR=$wine_cv_toolsdir
4861 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4862 then
4863 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4867 for ac_prog in flex
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy $ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_FLEX+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 if test -n "$FLEX"; then
4877 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_FLEX="$ac_prog"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 FLEX=$ac_cv_prog_FLEX
4897 if test -n "$FLEX"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4899 $as_echo "$FLEX" >&6; }
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4906 test -n "$FLEX" && break
4907 done
4908 test -n "$FLEX" || FLEX="none"
4910 if test "$FLEX" = "none"
4911 then
4912 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4915 $as_echo_n "checking whether flex is recent enough... " >&6; }
4916 cat >conftest.l <<EOF
4917 %top{
4918 #include "prediluvian.h"
4922 if $FLEX -t conftest.l >/dev/null 2>&5
4923 then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4925 $as_echo "yes" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4929 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4932 for ac_prog in bison
4934 # Extract the first word of "$ac_prog", so it can be a program name with args.
4935 set dummy $ac_prog; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_BISON+:} false; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 if test -n "$BISON"; then
4942 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4943 else
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $PATH
4947 IFS=$as_save_IFS
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_BISON="$ac_prog"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 break 2
4955 done
4956 done
4957 IFS=$as_save_IFS
4961 BISON=$ac_cv_prog_BISON
4962 if test -n "$BISON"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4964 $as_echo "$BISON" >&6; }
4965 else
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4971 test -n "$BISON" && break
4972 done
4973 test -n "$BISON" || BISON="none"
4975 if test "$BISON" = "none"
4976 then
4977 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4980 if test -n "$ac_tool_prefix"; then
4981 for ac_prog in ar gar
4983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_AR+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$AR"; then
4991 ac_cv_prog_AR="$AR" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 AR=$ac_cv_prog_AR
5011 if test -n "$AR"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5013 $as_echo "$AR" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$AR" && break
5021 done
5023 if test -z "$AR"; then
5024 ac_ct_AR=$AR
5025 for ac_prog in ar gar
5027 # Extract the first word of "$ac_prog", so it can be a program name with args.
5028 set dummy $ac_prog; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5032 $as_echo_n "(cached) " >&6
5033 else
5034 if test -n "$ac_ct_AR"; then
5035 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5040 IFS=$as_save_IFS
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_ac_ct_AR="$ac_prog"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 break 2
5048 done
5049 done
5050 IFS=$as_save_IFS
5054 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5055 if test -n "$ac_ct_AR"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5057 $as_echo "$ac_ct_AR" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5064 test -n "$ac_ct_AR" && break
5065 done
5067 if test "x$ac_ct_AR" = x; then
5068 AR="ar"
5069 else
5070 case $cross_compiling:$ac_tool_warned in
5071 yes:)
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5075 esac
5076 AR=$ac_ct_AR
5080 if test -n "$ac_tool_prefix"; then
5081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5082 set dummy ${ac_tool_prefix}strip; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_STRIP+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 if test -n "$STRIP"; then
5089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5108 STRIP=$ac_cv_prog_STRIP
5109 if test -n "$STRIP"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5111 $as_echo "$STRIP" >&6; }
5112 else
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5119 if test -z "$ac_cv_prog_STRIP"; then
5120 ac_ct_STRIP=$STRIP
5121 # Extract the first word of "strip", so it can be a program name with args.
5122 set dummy strip; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 if test -n "$ac_ct_STRIP"; then
5129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5134 IFS=$as_save_IFS
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_ac_ct_STRIP="strip"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 break 2
5142 done
5143 done
5144 IFS=$as_save_IFS
5148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5149 if test -n "$ac_ct_STRIP"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5151 $as_echo "$ac_ct_STRIP" >&6; }
5152 else
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5157 if test "x$ac_ct_STRIP" = x; then
5158 STRIP="strip"
5159 else
5160 case $cross_compiling:$ac_tool_warned in
5161 yes:)
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5164 ac_tool_warned=yes ;;
5165 esac
5166 STRIP=$ac_ct_STRIP
5168 else
5169 STRIP="$ac_cv_prog_STRIP"
5172 ARFLAGS=rc
5174 if test -n "$ac_tool_prefix"; then
5175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5176 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_RANLIB+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 if test -n "$RANLIB"; then
5183 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5184 else
5185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5186 for as_dir in $PATH
5188 IFS=$as_save_IFS
5189 test -z "$as_dir" && as_dir=.
5190 for ac_exec_ext in '' $ac_executable_extensions; do
5191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5194 break 2
5196 done
5197 done
5198 IFS=$as_save_IFS
5202 RANLIB=$ac_cv_prog_RANLIB
5203 if test -n "$RANLIB"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5205 $as_echo "$RANLIB" >&6; }
5206 else
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5213 if test -z "$ac_cv_prog_RANLIB"; then
5214 ac_ct_RANLIB=$RANLIB
5215 # Extract the first word of "ranlib", so it can be a program name with args.
5216 set dummy ranlib; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 if test -n "$ac_ct_RANLIB"; then
5223 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5224 else
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5228 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_ac_ct_RANLIB="ranlib"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 break 2
5236 done
5237 done
5238 IFS=$as_save_IFS
5242 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5243 if test -n "$ac_ct_RANLIB"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5245 $as_echo "$ac_ct_RANLIB" >&6; }
5246 else
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5251 if test "x$ac_ct_RANLIB" = x; then
5252 RANLIB=":"
5253 else
5254 case $cross_compiling:$ac_tool_warned in
5255 yes:)
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5258 ac_tool_warned=yes ;;
5259 esac
5260 RANLIB=$ac_ct_RANLIB
5262 else
5263 RANLIB="$ac_cv_prog_RANLIB"
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5267 $as_echo_n "checking whether ln -s works... " >&6; }
5268 LN_S=$as_ln_s
5269 if test "$LN_S" = "ln -s"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5271 $as_echo "yes" >&6; }
5272 else
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5274 $as_echo "no, using $LN_S" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5278 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5279 if ${ac_cv_path_GREP+:} false; then :
5280 $as_echo_n "(cached) " >&6
5281 else
5282 if test -z "$GREP"; then
5283 ac_path_GREP_found=false
5284 # Loop through the user's path and test for each of PROGNAME-LIST
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_prog in grep ggrep; do
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5293 as_fn_executable_p "$ac_path_GREP" || continue
5294 # Check for GNU ac_path_GREP and select it if it is found.
5295 # Check for GNU $ac_path_GREP
5296 case `"$ac_path_GREP" --version 2>&1` in
5297 *GNU*)
5298 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5300 ac_count=0
5301 $as_echo_n 0123456789 >"conftest.in"
5302 while :
5304 cat "conftest.in" "conftest.in" >"conftest.tmp"
5305 mv "conftest.tmp" "conftest.in"
5306 cp "conftest.in" "conftest.nl"
5307 $as_echo 'GREP' >> "conftest.nl"
5308 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5309 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5310 as_fn_arith $ac_count + 1 && ac_count=$as_val
5311 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5312 # Best one so far, save it but keep looking for a better one
5313 ac_cv_path_GREP="$ac_path_GREP"
5314 ac_path_GREP_max=$ac_count
5316 # 10*(2^10) chars as input seems more than enough
5317 test $ac_count -gt 10 && break
5318 done
5319 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5320 esac
5322 $ac_path_GREP_found && break 3
5323 done
5324 done
5325 done
5326 IFS=$as_save_IFS
5327 if test -z "$ac_cv_path_GREP"; then
5328 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5330 else
5331 ac_cv_path_GREP=$GREP
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5336 $as_echo "$ac_cv_path_GREP" >&6; }
5337 GREP="$ac_cv_path_GREP"
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5341 $as_echo_n "checking for egrep... " >&6; }
5342 if ${ac_cv_path_EGREP+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5346 then ac_cv_path_EGREP="$GREP -E"
5347 else
5348 if test -z "$EGREP"; then
5349 ac_path_EGREP_found=false
5350 # Loop through the user's path and test for each of PROGNAME-LIST
5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5354 IFS=$as_save_IFS
5355 test -z "$as_dir" && as_dir=.
5356 for ac_prog in egrep; do
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5359 as_fn_executable_p "$ac_path_EGREP" || continue
5360 # Check for GNU ac_path_EGREP and select it if it is found.
5361 # Check for GNU $ac_path_EGREP
5362 case `"$ac_path_EGREP" --version 2>&1` in
5363 *GNU*)
5364 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5366 ac_count=0
5367 $as_echo_n 0123456789 >"conftest.in"
5368 while :
5370 cat "conftest.in" "conftest.in" >"conftest.tmp"
5371 mv "conftest.tmp" "conftest.in"
5372 cp "conftest.in" "conftest.nl"
5373 $as_echo 'EGREP' >> "conftest.nl"
5374 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5375 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5376 as_fn_arith $ac_count + 1 && ac_count=$as_val
5377 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5378 # Best one so far, save it but keep looking for a better one
5379 ac_cv_path_EGREP="$ac_path_EGREP"
5380 ac_path_EGREP_max=$ac_count
5382 # 10*(2^10) chars as input seems more than enough
5383 test $ac_count -gt 10 && break
5384 done
5385 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5386 esac
5388 $ac_path_EGREP_found && break 3
5389 done
5390 done
5391 done
5392 IFS=$as_save_IFS
5393 if test -z "$ac_cv_path_EGREP"; then
5394 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5396 else
5397 ac_cv_path_EGREP=$EGREP
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5403 $as_echo "$ac_cv_path_EGREP" >&6; }
5404 EGREP="$ac_cv_path_EGREP"
5407 # Extract the first word of "ldconfig", so it can be a program name with args.
5408 set dummy ldconfig; ac_word=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_path_LDCONFIG+:} false; then :
5412 $as_echo_n "(cached) " >&6
5413 else
5414 case $LDCONFIG in
5415 [\\/]* | ?:[\\/]*)
5416 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in /sbin /usr/sbin $PATH
5422 IFS=$as_save_IFS
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428 break 2
5430 done
5431 done
5432 IFS=$as_save_IFS
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5436 esac
5438 LDCONFIG=$ac_cv_path_LDCONFIG
5439 if test -n "$LDCONFIG"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5441 $as_echo "$LDCONFIG" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 for ac_prog in msgfmt
5450 # Extract the first word of "$ac_prog", so it can be a program name with args.
5451 set dummy $ac_prog; ac_word=$2
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5453 $as_echo_n "checking for $ac_word... " >&6; }
5454 if ${ac_cv_prog_MSGFMT+:} false; then :
5455 $as_echo_n "(cached) " >&6
5456 else
5457 if test -n "$MSGFMT"; then
5458 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5467 ac_cv_prog_MSGFMT="$ac_prog"
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 MSGFMT=$ac_cv_prog_MSGFMT
5478 if test -n "$MSGFMT"; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5480 $as_echo "$MSGFMT" >&6; }
5481 else
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5483 $as_echo "no" >&6; }
5487 test -n "$MSGFMT" && break
5488 done
5489 test -n "$MSGFMT" || MSGFMT="false"
5491 if ${ac_tool_prefix+:} false; then :
5492 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$PKG_CONFIG"; then
5500 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5520 if test -n "$PKG_CONFIG"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5522 $as_echo "$PKG_CONFIG" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5530 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5531 if test "x$cross_compiling" = xyes; then :
5533 else
5534 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5535 # Extract the first word of "pkg-config", so it can be a program name with args.
5536 set dummy pkg-config; ac_word=$2
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5538 $as_echo_n "checking for $ac_word... " >&6; }
5539 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5540 $as_echo_n "(cached) " >&6
5541 else
5542 if test -n "$PKG_CONFIG"; then
5543 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5544 else
5545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546 for as_dir in $PATH
5548 IFS=$as_save_IFS
5549 test -z "$as_dir" && as_dir=.
5550 for ac_exec_ext in '' $ac_executable_extensions; do
5551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5552 ac_cv_prog_PKG_CONFIG="pkg-config"
5553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 break 2
5556 done
5557 done
5558 IFS=$as_save_IFS
5562 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5563 if test -n "$PKG_CONFIG"; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5565 $as_echo "$PKG_CONFIG" >&6; }
5566 else
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5573 else
5574 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5577 if test "x$enable_maintainer_mode" != "xyes"
5578 then
5579 FONTFORGE=""
5580 RSVG=""
5581 CONVERT=""
5582 ICOTOOL=""
5583 else
5584 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5585 for ac_prog in fontforge
5587 # Extract the first word of "$ac_prog", so it can be a program name with args.
5588 set dummy $ac_prog; ac_word=$2
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590 $as_echo_n "checking for $ac_word... " >&6; }
5591 if ${ac_cv_prog_FONTFORGE+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 if test -n "$FONTFORGE"; then
5595 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604 ac_cv_prog_FONTFORGE="$ac_prog"
5605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 FONTFORGE=$ac_cv_prog_FONTFORGE
5615 if test -n "$FONTFORGE"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5617 $as_echo "$FONTFORGE" >&6; }
5618 else
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5620 $as_echo "no" >&6; }
5624 test -n "$FONTFORGE" && break
5625 done
5626 test -n "$FONTFORGE" || FONTFORGE="false"
5628 for ac_prog in rsvg
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631 set dummy $ac_prog; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if ${ac_cv_prog_RSVG+:} false; then :
5635 $as_echo_n "(cached) " >&6
5636 else
5637 if test -n "$RSVG"; then
5638 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5639 else
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5647 ac_cv_prog_RSVG="$ac_prog"
5648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 break 2
5651 done
5652 done
5653 IFS=$as_save_IFS
5657 RSVG=$ac_cv_prog_RSVG
5658 if test -n "$RSVG"; then
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5660 $as_echo "$RSVG" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5667 test -n "$RSVG" && break
5668 done
5669 test -n "$RSVG" || RSVG="false"
5671 for ac_prog in convert
5673 # Extract the first word of "$ac_prog", so it can be a program name with args.
5674 set dummy $ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_CONVERT+:} false; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 if test -n "$CONVERT"; then
5681 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_CONVERT="$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5700 CONVERT=$ac_cv_prog_CONVERT
5701 if test -n "$CONVERT"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5703 $as_echo "$CONVERT" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$CONVERT" && break
5711 done
5712 test -n "$CONVERT" || CONVERT="false"
5714 for ac_prog in icotool
5716 # Extract the first word of "$ac_prog", so it can be a program name with args.
5717 set dummy $ac_prog; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if ${ac_cv_prog_ICOTOOL+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -n "$ICOTOOL"; then
5724 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_ICOTOOL="$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 ICOTOOL=$ac_cv_prog_ICOTOOL
5744 if test -n "$ICOTOOL"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5746 $as_echo "$ICOTOOL" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 test -n "$ICOTOOL" && break
5754 done
5755 test -n "$ICOTOOL" || ICOTOOL="false"
5757 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5758 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5760 if test "$CONVERT" = false
5761 then
5762 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5765 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5766 convert_version=`convert --version | head -n1`
5767 if test "x$convert_version" != "x"
5768 then
5769 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5770 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5771 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5772 then
5773 CONVERT=false
5776 if test "$CONVERT" = false
5777 then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5779 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5780 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5783 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5787 if test "$ICOTOOL" = false
5788 then
5789 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5792 $as_echo_n "checking for recent enough icotool... " >&6; }
5793 icotool_version=`icotool --version | head -n1`
5794 if test "x$icotool_version" != "x"
5795 then
5796 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5797 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5798 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5799 then
5800 ICOTOOL=false
5801 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5804 if test "$ICOTOOL" = false
5805 then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5807 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5808 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5809 else
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5811 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5815 with_gettext=yes
5816 with_gettextpo=yes
5817 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5820 test "x$with_gettext" != xno || MSGFMT=false
5821 if test "$MSGFMT" != "false"
5822 then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5824 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5825 cat >conftest.po <<EOF
5826 # comment
5827 msgctxt "ctxt"
5828 msgid "id"
5829 msgstr "str"
5831 if $MSGFMT -o /dev/null conftest.po 2>&5
5832 then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5834 $as_echo "yes" >&6; }
5835 else
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5838 MSGFMT=false
5841 if test "$MSGFMT" = false; then :
5842 case "x$with_gettext" in
5843 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5844 xno) ;;
5845 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5846 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5847 esac
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5852 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5853 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 ac_check_lib_save_LIBS=$LIBS
5857 LIBS="-li386 $LIBS"
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5861 /* Override any GCC internal prototype to avoid an error.
5862 Use char because int might match the return type of a GCC
5863 builtin and then its argument prototype would still apply. */
5864 #ifdef __cplusplus
5865 extern "C"
5866 #endif
5867 char i386_set_ldt ();
5869 main ()
5871 return i386_set_ldt ();
5873 return 0;
5875 _ACEOF
5876 if ac_fn_c_try_link "$LINENO"; then :
5877 ac_cv_lib_i386_i386_set_ldt=yes
5878 else
5879 ac_cv_lib_i386_i386_set_ldt=no
5881 rm -f core conftest.err conftest.$ac_objext \
5882 conftest$ac_exeext conftest.$ac_ext
5883 LIBS=$ac_check_lib_save_LIBS
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5886 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5887 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5888 cat >>confdefs.h <<_ACEOF
5889 #define HAVE_LIBI386 1
5890 _ACEOF
5892 LIBS="-li386 $LIBS"
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5897 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5898 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 ac_check_lib_save_LIBS=$LIBS
5902 LIBS="-lossaudio $LIBS"
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5906 /* Override any GCC internal prototype to avoid an error.
5907 Use char because int might match the return type of a GCC
5908 builtin and then its argument prototype would still apply. */
5909 #ifdef __cplusplus
5910 extern "C"
5911 #endif
5912 char _oss_ioctl ();
5914 main ()
5916 return _oss_ioctl ();
5918 return 0;
5920 _ACEOF
5921 if ac_fn_c_try_link "$LINENO"; then :
5922 ac_cv_lib_ossaudio__oss_ioctl=yes
5923 else
5924 ac_cv_lib_ossaudio__oss_ioctl=no
5926 rm -f core conftest.err conftest.$ac_objext \
5927 conftest$ac_exeext conftest.$ac_ext
5928 LIBS=$ac_check_lib_save_LIBS
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5931 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5932 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5933 cat >>confdefs.h <<_ACEOF
5934 #define HAVE_LIBOSSAUDIO 1
5935 _ACEOF
5937 LIBS="-lossaudio $LIBS"
5942 OPENGL_LIBS=""
5946 # Check whether --enable-largefile was given.
5947 if test "${enable_largefile+set}" = set; then :
5948 enableval=$enable_largefile;
5951 if test "$enable_largefile" != no; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5954 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5955 if ${ac_cv_sys_largefile_CC+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 ac_cv_sys_largefile_CC=no
5959 if test "$GCC" != yes; then
5960 ac_save_CC=$CC
5961 while :; do
5962 # IRIX 6.2 and later do not support large files by default,
5963 # so use the C compiler's -n32 option if that helps.
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 #include <sys/types.h>
5967 /* Check that off_t can represent 2**63 - 1 correctly.
5968 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5969 since some C++ compilers masquerading as C compilers
5970 incorrectly reject 9223372036854775807. */
5971 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5972 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5973 && LARGE_OFF_T % 2147483647 == 1)
5974 ? 1 : -1];
5976 main ()
5980 return 0;
5982 _ACEOF
5983 if ac_fn_c_try_compile "$LINENO"; then :
5984 break
5986 rm -f core conftest.err conftest.$ac_objext
5987 CC="$CC -n32"
5988 if ac_fn_c_try_compile "$LINENO"; then :
5989 ac_cv_sys_largefile_CC=' -n32'; break
5991 rm -f core conftest.err conftest.$ac_objext
5992 break
5993 done
5994 CC=$ac_save_CC
5995 rm -f conftest.$ac_ext
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5999 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6000 if test "$ac_cv_sys_largefile_CC" != no; then
6001 CC=$CC$ac_cv_sys_largefile_CC
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6005 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6006 if ${ac_cv_sys_file_offset_bits+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 while :; do
6010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6011 /* end confdefs.h. */
6012 #include <sys/types.h>
6013 /* Check that off_t can represent 2**63 - 1 correctly.
6014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6015 since some C++ compilers masquerading as C compilers
6016 incorrectly reject 9223372036854775807. */
6017 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6019 && LARGE_OFF_T % 2147483647 == 1)
6020 ? 1 : -1];
6022 main ()
6026 return 0;
6028 _ACEOF
6029 if ac_fn_c_try_compile "$LINENO"; then :
6030 ac_cv_sys_file_offset_bits=no; break
6032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6035 #define _FILE_OFFSET_BITS 64
6036 #include <sys/types.h>
6037 /* Check that off_t can represent 2**63 - 1 correctly.
6038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6039 since some C++ compilers masquerading as C compilers
6040 incorrectly reject 9223372036854775807. */
6041 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6043 && LARGE_OFF_T % 2147483647 == 1)
6044 ? 1 : -1];
6046 main ()
6050 return 0;
6052 _ACEOF
6053 if ac_fn_c_try_compile "$LINENO"; then :
6054 ac_cv_sys_file_offset_bits=64; break
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057 ac_cv_sys_file_offset_bits=unknown
6058 break
6059 done
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6062 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6063 case $ac_cv_sys_file_offset_bits in #(
6064 no | unknown) ;;
6066 cat >>confdefs.h <<_ACEOF
6067 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6068 _ACEOF
6070 esac
6071 rm -rf conftest*
6072 if test $ac_cv_sys_file_offset_bits = unknown; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6074 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6075 if ${ac_cv_sys_large_files+:} false; then :
6076 $as_echo_n "(cached) " >&6
6077 else
6078 while :; do
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6081 #include <sys/types.h>
6082 /* Check that off_t can represent 2**63 - 1 correctly.
6083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6084 since some C++ compilers masquerading as C compilers
6085 incorrectly reject 9223372036854775807. */
6086 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6088 && LARGE_OFF_T % 2147483647 == 1)
6089 ? 1 : -1];
6091 main ()
6095 return 0;
6097 _ACEOF
6098 if ac_fn_c_try_compile "$LINENO"; then :
6099 ac_cv_sys_large_files=no; break
6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #define _LARGE_FILES 1
6105 #include <sys/types.h>
6106 /* Check that off_t can represent 2**63 - 1 correctly.
6107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6108 since some C++ compilers masquerading as C compilers
6109 incorrectly reject 9223372036854775807. */
6110 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6112 && LARGE_OFF_T % 2147483647 == 1)
6113 ? 1 : -1];
6115 main ()
6119 return 0;
6121 _ACEOF
6122 if ac_fn_c_try_compile "$LINENO"; then :
6123 ac_cv_sys_large_files=1; break
6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6126 ac_cv_sys_large_files=unknown
6127 break
6128 done
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6131 $as_echo "$ac_cv_sys_large_files" >&6; }
6132 case $ac_cv_sys_large_files in #(
6133 no | unknown) ;;
6135 cat >>confdefs.h <<_ACEOF
6136 #define _LARGE_FILES $ac_cv_sys_large_files
6137 _ACEOF
6139 esac
6140 rm -rf conftest*
6147 ac_ext=c
6148 ac_cpp='$CPP $CPPFLAGS'
6149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6154 # On Suns, sometimes $CPP names a directory.
6155 if test -n "$CPP" && test -d "$CPP"; then
6156 CPP=
6158 if test -z "$CPP"; then
6159 if ${ac_cv_prog_CPP+:} false; then :
6160 $as_echo_n "(cached) " >&6
6161 else
6162 # Double quotes because CPP needs to be expanded
6163 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6165 ac_preproc_ok=false
6166 for ac_c_preproc_warn_flag in '' yes
6168 # Use a header file that comes with gcc, so configuring glibc
6169 # with a fresh cross-compiler works.
6170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6171 # <limits.h> exists even on freestanding compilers.
6172 # On the NeXT, cc -E runs the code through the compiler's parser,
6173 # not just through cpp. "Syntax error" is here to catch this case.
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6176 #ifdef __STDC__
6177 # include <limits.h>
6178 #else
6179 # include <assert.h>
6180 #endif
6181 Syntax error
6182 _ACEOF
6183 if ac_fn_c_try_cpp "$LINENO"; then :
6185 else
6186 # Broken: fails on valid input.
6187 continue
6189 rm -f conftest.err conftest.i conftest.$ac_ext
6191 # OK, works on sane cases. Now check whether nonexistent headers
6192 # can be detected and how.
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6195 #include <ac_nonexistent.h>
6196 _ACEOF
6197 if ac_fn_c_try_cpp "$LINENO"; then :
6198 # Broken: success on invalid input.
6199 continue
6200 else
6201 # Passes both tests.
6202 ac_preproc_ok=:
6203 break
6205 rm -f conftest.err conftest.i conftest.$ac_ext
6207 done
6208 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6209 rm -f conftest.i conftest.err conftest.$ac_ext
6210 if $ac_preproc_ok; then :
6211 break
6214 done
6215 ac_cv_prog_CPP=$CPP
6218 CPP=$ac_cv_prog_CPP
6219 else
6220 ac_cv_prog_CPP=$CPP
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6223 $as_echo "$CPP" >&6; }
6224 ac_preproc_ok=false
6225 for ac_c_preproc_warn_flag in '' yes
6227 # Use a header file that comes with gcc, so configuring glibc
6228 # with a fresh cross-compiler works.
6229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6230 # <limits.h> exists even on freestanding compilers.
6231 # On the NeXT, cc -E runs the code through the compiler's parser,
6232 # not just through cpp. "Syntax error" is here to catch this case.
6233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6235 #ifdef __STDC__
6236 # include <limits.h>
6237 #else
6238 # include <assert.h>
6239 #endif
6240 Syntax error
6241 _ACEOF
6242 if ac_fn_c_try_cpp "$LINENO"; then :
6244 else
6245 # Broken: fails on valid input.
6246 continue
6248 rm -f conftest.err conftest.i conftest.$ac_ext
6250 # OK, works on sane cases. Now check whether nonexistent headers
6251 # can be detected and how.
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6254 #include <ac_nonexistent.h>
6255 _ACEOF
6256 if ac_fn_c_try_cpp "$LINENO"; then :
6257 # Broken: success on invalid input.
6258 continue
6259 else
6260 # Passes both tests.
6261 ac_preproc_ok=:
6262 break
6264 rm -f conftest.err conftest.i conftest.$ac_ext
6266 done
6267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6268 rm -f conftest.i conftest.err conftest.$ac_ext
6269 if $ac_preproc_ok; then :
6271 else
6272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6274 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6275 See \`config.log' for more details" "$LINENO" 5; }
6278 ac_ext=c
6279 ac_cpp='$CPP $CPPFLAGS'
6280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6286 $as_echo_n "checking for ANSI C header files... " >&6; }
6287 if ${ac_cv_header_stdc+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <stdlib.h>
6293 #include <stdarg.h>
6294 #include <string.h>
6295 #include <float.h>
6298 main ()
6302 return 0;
6304 _ACEOF
6305 if ac_fn_c_try_compile "$LINENO"; then :
6306 ac_cv_header_stdc=yes
6307 else
6308 ac_cv_header_stdc=no
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6312 if test $ac_cv_header_stdc = yes; then
6313 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6316 #include <string.h>
6318 _ACEOF
6319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6320 $EGREP "memchr" >/dev/null 2>&1; then :
6322 else
6323 ac_cv_header_stdc=no
6325 rm -f conftest*
6329 if test $ac_cv_header_stdc = yes; then
6330 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #include <stdlib.h>
6335 _ACEOF
6336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6337 $EGREP "free" >/dev/null 2>&1; then :
6339 else
6340 ac_cv_header_stdc=no
6342 rm -f conftest*
6346 if test $ac_cv_header_stdc = yes; then
6347 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6348 if test "$cross_compiling" = yes; then :
6350 else
6351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <ctype.h>
6354 #include <stdlib.h>
6355 #if ((' ' & 0x0FF) == 0x020)
6356 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6357 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6358 #else
6359 # define ISLOWER(c) \
6360 (('a' <= (c) && (c) <= 'i') \
6361 || ('j' <= (c) && (c) <= 'r') \
6362 || ('s' <= (c) && (c) <= 'z'))
6363 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6364 #endif
6366 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6368 main ()
6370 int i;
6371 for (i = 0; i < 256; i++)
6372 if (XOR (islower (i), ISLOWER (i))
6373 || toupper (i) != TOUPPER (i))
6374 return 2;
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_run "$LINENO"; then :
6380 else
6381 ac_cv_header_stdc=no
6383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6384 conftest.$ac_objext conftest.beam conftest.$ac_ext
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6390 $as_echo "$ac_cv_header_stdc" >&6; }
6391 if test $ac_cv_header_stdc = yes; then
6393 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6398 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6399 inttypes.h stdint.h unistd.h
6400 do :
6401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6405 cat >>confdefs.h <<_ACEOF
6406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6407 _ACEOF
6411 done
6414 for ac_header in \
6415 AL/al.h \
6416 ApplicationServices/ApplicationServices.h \
6417 AudioToolbox/AudioConverter.h \
6418 AudioUnit/AudioUnit.h \
6419 AudioUnit/AudioComponent.h \
6420 CL/cl.h \
6421 Carbon/Carbon.h \
6422 CoreAudio/CoreAudio.h \
6423 CoreServices/CoreServices.h \
6424 DiskArbitration/DiskArbitration.h \
6425 IOKit/IOKitLib.h \
6426 IOKit/hid/IOHIDLib.h \
6427 OpenAL/al.h \
6428 OpenCL/opencl.h \
6429 QuickTime/ImageCompression.h \
6430 Security/Security.h \
6431 alias.h \
6432 alsa/asoundlib.h \
6433 arpa/inet.h \
6434 arpa/nameser.h \
6435 asm/types.h \
6436 asm/user.h \
6437 curses.h \
6438 direct.h \
6439 dirent.h \
6440 dlfcn.h \
6441 elf.h \
6442 float.h \
6443 fnmatch.h \
6444 getopt.h \
6445 gettext-po.h \
6446 grp.h \
6447 gsm.h \
6448 gsm/gsm.h \
6449 ieeefp.h \
6450 inet/mib2.h \
6451 io.h \
6452 kstat.h \
6453 lber.h \
6454 ldap.h \
6455 libproc.h \
6456 link.h \
6457 linux/cdrom.h \
6458 linux/compiler.h \
6459 linux/filter.h \
6460 linux/hdreg.h \
6461 linux/input.h \
6462 linux/ioctl.h \
6463 linux/joystick.h \
6464 linux/major.h \
6465 linux/param.h \
6466 linux/serial.h \
6467 linux/types.h \
6468 linux/ucdrom.h \
6469 lwp.h \
6470 mach-o/nlist.h \
6471 mach-o/loader.h \
6472 mach/mach.h \
6473 mach/machine.h \
6474 machine/cpu.h \
6475 machine/limits.h \
6476 machine/sysarch.h \
6477 mntent.h \
6478 ncurses.h \
6479 netdb.h \
6480 netinet/in.h \
6481 netinet/in_systm.h \
6482 netinet/tcp.h \
6483 netinet/tcp_fsm.h \
6484 poll.h \
6485 port.h \
6486 process.h \
6487 pthread.h \
6488 pwd.h \
6489 sched.h \
6490 scsi/scsi.h \
6491 scsi/scsi_ioctl.h \
6492 scsi/sg.h \
6493 stdbool.h \
6494 stdint.h \
6495 stropts.h \
6496 sys/asoundlib.h \
6497 sys/attr.h \
6498 sys/cdio.h \
6499 sys/elf32.h \
6500 sys/epoll.h \
6501 sys/event.h \
6502 sys/exec_elf.h \
6503 sys/filio.h \
6504 sys/inotify.h \
6505 sys/ioctl.h \
6506 sys/ipc.h \
6507 sys/limits.h \
6508 sys/link.h \
6509 sys/mman.h \
6510 sys/modem.h \
6511 sys/msg.h \
6512 sys/mtio.h \
6513 sys/param.h \
6514 sys/poll.h \
6515 sys/prctl.h \
6516 sys/protosw.h \
6517 sys/ptrace.h \
6518 sys/queue.h \
6519 sys/resource.h \
6520 sys/scsiio.h \
6521 sys/shm.h \
6522 sys/signal.h \
6523 sys/socket.h \
6524 sys/socketvar.h \
6525 sys/sockio.h \
6526 sys/statvfs.h \
6527 sys/strtio.h \
6528 sys/syscall.h \
6529 sys/tihdr.h \
6530 sys/time.h \
6531 sys/timeout.h \
6532 sys/times.h \
6533 sys/uio.h \
6534 sys/user.h \
6535 sys/utsname.h \
6536 sys/vm86.h \
6537 sys/wait.h \
6538 syscall.h \
6539 termios.h \
6540 unistd.h \
6541 utime.h \
6542 valgrind/memcheck.h \
6543 valgrind/valgrind.h \
6544 zlib.h
6546 do :
6547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6548 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6550 cat >>confdefs.h <<_ACEOF
6551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6552 _ACEOF
6556 done
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6559 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6560 if ${ac_cv_header_stat_broken+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 #include <sys/types.h>
6566 #include <sys/stat.h>
6568 #if defined S_ISBLK && defined S_IFDIR
6569 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6570 #endif
6572 #if defined S_ISBLK && defined S_IFCHR
6573 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6574 #endif
6576 #if defined S_ISLNK && defined S_IFREG
6577 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6578 #endif
6580 #if defined S_ISSOCK && defined S_IFREG
6581 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6582 #endif
6584 _ACEOF
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 ac_cv_header_stat_broken=no
6587 else
6588 ac_cv_header_stat_broken=yes
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6593 $as_echo "$ac_cv_header_stat_broken" >&6; }
6594 if test $ac_cv_header_stat_broken = yes; then
6596 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6602 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6603 do :
6604 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6605 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6606 #ifdef HAVE_SYS_PARAM_H
6607 # include <sys/param.h>
6608 #endif
6610 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6611 cat >>confdefs.h <<_ACEOF
6612 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6613 _ACEOF
6617 done
6620 for ac_header in \
6621 netinet/ip.h \
6622 net/if.h \
6623 net/if_arp.h \
6624 net/if_dl.h \
6625 net/if_types.h \
6626 net/route.h \
6627 netinet/if_ether.h \
6628 netinet/if_inarp.h \
6629 netinet/in_pcb.h \
6630 netinet/ip_icmp.h \
6631 netinet/ip_var.h \
6632 netinet/udp.h \
6633 netipx/ipx.h \
6634 sys/un.h \
6636 do :
6637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6638 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6639 #ifdef HAVE_SYS_SOCKET_H
6640 # include <sys/socket.h>
6641 #endif
6642 #ifdef HAVE_SYS_SOCKETVAR_H
6643 # include <sys/socketvar.h>
6644 #endif
6645 #ifdef HAVE_NET_ROUTE_H
6646 # include <net/route.h>
6647 #endif
6648 #ifdef HAVE_NETINET_IN_H
6649 # include <netinet/in.h>
6650 #endif
6651 #ifdef HAVE_NETINET_IN_SYSTM_H
6652 # include <netinet/in_systm.h>
6653 #endif
6654 #ifdef HAVE_NET_IF_H
6655 # include <net/if.h>
6656 #endif
6657 #ifdef HAVE_NETINET_IP_H
6658 # include <netinet/ip.h>
6659 #endif
6661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6662 cat >>confdefs.h <<_ACEOF
6663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6664 _ACEOF
6668 done
6671 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6672 do :
6673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6675 #ifdef HAVE_ALIAS_H
6676 # include <alias.h>
6677 #endif
6678 #ifdef HAVE_SYS_SOCKET_H
6679 # include <sys/socket.h>
6680 #endif
6681 #ifdef HAVE_SYS_SOCKETVAR_H
6682 # include <sys/socketvar.h>
6683 #endif
6684 #ifdef HAVE_SYS_TIMEOUT_H
6685 # include <sys/timeout.h>
6686 #endif
6687 #ifdef HAVE_NETINET_IN_H
6688 # include <netinet/in.h>
6689 #endif
6690 #ifdef HAVE_NETINET_IN_SYSTM_H
6691 # include <netinet/in_systm.h>
6692 #endif
6693 #ifdef HAVE_NETINET_IP_H
6694 # include <netinet/ip.h>
6695 #endif
6696 #ifdef HAVE_NETINET_IP_VAR_H
6697 # include <netinet/ip_var.h>
6698 #endif
6699 #ifdef HAVE_NETINET_IP_ICMP_H
6700 # include <netinet/ip_icmp.h>
6701 #endif
6702 #ifdef HAVE_NETINET_UDP_H
6703 # include <netinet/udp.h>
6704 #endif
6705 #ifdef HAVE_NETINET_TCP_H
6706 # include <netinet/tcp.h>
6707 #endif
6708 #ifdef HAVE_NETINET_TCP_TIMER_H
6709 #include <netinet/tcp_timer.h>
6710 #endif
6712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6713 cat >>confdefs.h <<_ACEOF
6714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6715 _ACEOF
6719 done
6722 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6723 do :
6724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6726 #ifdef HAVE_ASM_TYPES_H
6727 # include <asm/types.h>
6728 #endif
6729 #ifdef HAVE_SYS_SOCKET_H
6730 # include <sys/socket.h>
6731 #endif
6732 #ifdef HAVE_LINUX_TYPES_H
6733 # include <linux/types.h>
6734 #endif
6736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6737 cat >>confdefs.h <<_ACEOF
6738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6739 _ACEOF
6743 done
6746 for ac_header in mach-o/dyld_images.h
6747 do :
6748 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6749 # include <stdbool.h>
6750 #endif
6751 #ifdef HAVE_STDINT_H
6752 # include <stdint.h>
6753 #endif
6755 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6756 cat >>confdefs.h <<_ACEOF
6757 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6758 _ACEOF
6762 done
6765 for ac_header in resolv.h
6766 do :
6767 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6768 #ifdef HAVE_SYS_SOCKET_H
6769 # include <sys/socket.h>
6770 #endif
6771 #ifdef HAVE_NETINET_IN_H
6772 # include <netinet/in.h>
6773 #endif
6774 #ifdef HAVE_ARPA_NAMESER_H
6775 # include <arpa/nameser.h>
6776 #endif
6778 if test "x$ac_cv_header_resolv_h" = xyes; then :
6779 cat >>confdefs.h <<_ACEOF
6780 #define HAVE_RESOLV_H 1
6781 _ACEOF
6785 done
6788 for ac_header in ifaddrs.h
6789 do :
6790 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6792 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6793 cat >>confdefs.h <<_ACEOF
6794 #define HAVE_IFADDRS_H 1
6795 _ACEOF
6799 done
6802 for ac_header in ucontext.h
6803 do :
6804 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6806 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_UCONTEXT_H 1
6809 _ACEOF
6813 done
6816 for ac_header in sys/thr.h
6817 do :
6818 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6819 #ifdef HAVE_UCONTEXT_H
6820 #include <ucontext.h>
6821 #endif
6823 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6824 cat >>confdefs.h <<_ACEOF
6825 #define HAVE_SYS_THR_H 1
6826 _ACEOF
6830 done
6833 for ac_header in pthread_np.h
6834 do :
6835 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6836 #include <pthread.h>
6837 #endif
6839 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6840 cat >>confdefs.h <<_ACEOF
6841 #define HAVE_PTHREAD_NP_H 1
6842 _ACEOF
6846 done
6849 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.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" "#ifdef HAVE_SYS_TIME_H
6853 #include <sys/time.h>
6854 #endif
6855 #include <sys/types.h>
6856 #ifdef HAVE_ASM_TYPES_H
6857 #include <asm/types.h>
6858 #endif
6860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6861 cat >>confdefs.h <<_ACEOF
6862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6863 _ACEOF
6867 done
6870 for ac_header in libprocstat.h
6871 do :
6872 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6873 #include <sys/param.h>
6874 #endif
6875 #ifdef HAVE_SYS_QUEUE_H
6876 #include <sys/queue.h>
6877 #endif
6878 #ifdef HAVE_SYS_SOCKET_H
6879 #include <sys/socket.h>
6880 #endif
6882 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6883 cat >>confdefs.h <<_ACEOF
6884 #define HAVE_LIBPROCSTAT_H 1
6885 _ACEOF
6889 done
6893 dlldir="\${libdir}/wine"
6895 DLLPREFIX=""
6897 DLLFLAGS="-D_REENTRANT"
6899 LDRPATH_INSTALL=""
6901 LDRPATH_LOCAL=""
6903 LIBEXT="so"
6904 DLLEXT=".so"
6905 IMPLIBEXT="def"
6906 STATIC_IMPLIBEXT="def.a"
6907 # Extract the first word of "ldd", so it can be a program name with args.
6908 set dummy ldd; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_path_LDD+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 case $LDD in
6915 [\\/]* | ?:[\\/]*)
6916 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 as_dummy="/sbin:/usr/sbin:$PATH"
6921 for as_dir in $as_dummy
6923 IFS=$as_save_IFS
6924 test -z "$as_dir" && as_dir=.
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 break 2
6931 done
6932 done
6933 IFS=$as_save_IFS
6935 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6937 esac
6939 LDD=$ac_cv_path_LDD
6940 if test -n "$LDD"; then
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6942 $as_echo "$LDD" >&6; }
6943 else
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6945 $as_echo "no" >&6; }
6949 if test -n "$ac_tool_prefix"; then
6950 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6951 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953 $as_echo_n "checking for $ac_word... " >&6; }
6954 if ${ac_cv_prog_READELF+:} false; then :
6955 $as_echo_n "(cached) " >&6
6956 else
6957 if test -n "$READELF"; then
6958 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6959 else
6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961 for as_dir in $PATH
6963 IFS=$as_save_IFS
6964 test -z "$as_dir" && as_dir=.
6965 for ac_exec_ext in '' $ac_executable_extensions; do
6966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 break 2
6971 done
6972 done
6973 IFS=$as_save_IFS
6977 READELF=$ac_cv_prog_READELF
6978 if test -n "$READELF"; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6980 $as_echo "$READELF" >&6; }
6981 else
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983 $as_echo "no" >&6; }
6988 if test -z "$ac_cv_prog_READELF"; then
6989 ac_ct_READELF=$READELF
6990 # Extract the first word of "readelf", so it can be a program name with args.
6991 set dummy readelf; ac_word=$2
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993 $as_echo_n "checking for $ac_word... " >&6; }
6994 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6995 $as_echo_n "(cached) " >&6
6996 else
6997 if test -n "$ac_ct_READELF"; then
6998 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6999 else
7000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001 for as_dir in $PATH
7003 IFS=$as_save_IFS
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7007 ac_cv_prog_ac_ct_READELF="readelf"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 break 2
7011 done
7012 done
7013 IFS=$as_save_IFS
7017 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7018 if test -n "$ac_ct_READELF"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7020 $as_echo "$ac_ct_READELF" >&6; }
7021 else
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7026 if test "x$ac_ct_READELF" = x; then
7027 READELF="true"
7028 else
7029 case $cross_compiling:$ac_tool_warned in
7030 yes:)
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7033 ac_tool_warned=yes ;;
7034 esac
7035 READELF=$ac_ct_READELF
7037 else
7038 READELF="$ac_cv_prog_READELF"
7041 wine_rules_file=conf$$rules.make
7042 rm -f $wine_rules_file
7043 ALL_POT_FILES=""
7044 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7045 ALL_TEST_RESOURCES=""
7048 wine_fn_append_file ()
7050 as_fn_append $1 " \\$as_nl $2"
7053 wine_fn_ignore_file ()
7055 case "$1" in
7056 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7057 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7058 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7059 esac
7062 wine_fn_append_rule ()
7064 $as_echo "$1" >>$wine_rules_file
7067 wine_fn_has_flag ()
7069 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7072 wine_fn_depend_rules ()
7074 wine_fn_append_rule \
7075 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7076 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7077 depend: $ac_dir/depend
7078 .PHONY: $ac_dir/depend
7079 $ac_dir/depend: \$(MAKEDEP) dummy
7080 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7083 wine_fn_pot_rules ()
7085 test "x$with_gettextpo" = xyes || return
7087 if wine_fn_has_flag mc
7088 then
7089 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7090 wine_fn_append_rule \
7091 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7092 @cd $ac_dir && \$(MAKE) msg.pot
7093 $ac_dir/msg.pot: tools/wmc include"
7095 if wine_fn_has_flag po
7096 then
7097 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7098 wine_fn_append_rule \
7099 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7100 @cd $ac_dir && \$(MAKE) rsrc.pot
7101 $ac_dir/rsrc.pot: tools/wrc include"
7105 wine_fn_all_rules ()
7107 wine_fn_depend_rules
7108 wine_fn_append_rule \
7109 "all: $ac_dir
7110 .PHONY: $ac_dir
7111 $ac_dir: $ac_dir/Makefile dummy
7112 @cd $ac_dir && \$(MAKE)"
7115 wine_fn_install_rules ()
7117 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7119 wine_fn_append_rule \
7120 ".PHONY: $ac_dir/install $ac_dir/uninstall
7121 $ac_dir/install:: $ac_dir
7122 @cd $ac_dir && \$(MAKE) install
7123 $ac_dir/uninstall:: $ac_dir/Makefile
7124 @cd $ac_dir && \$(MAKE) uninstall
7125 install:: $ac_dir/install
7126 __uninstall__: $ac_dir/uninstall"
7128 if wine_fn_has_flag install-lib
7129 then
7130 wine_fn_append_rule \
7131 ".PHONY: $ac_dir/install-lib
7132 $ac_dir/install-lib:: $ac_dir
7133 @cd $ac_dir && \$(MAKE) install-lib
7134 install-lib:: $ac_dir/install-lib"
7137 if wine_fn_has_flag install-dev
7138 then
7139 wine_fn_append_rule \
7140 ".PHONY: $ac_dir/install-dev
7141 $ac_dir/install-dev:: $ac_dir
7142 @cd $ac_dir && \$(MAKE) install-dev
7143 install-dev:: $ac_dir/install-dev"
7147 wine_fn_clean_rules ()
7149 ac_clean=$@
7150 ac_extraclean="$ac_dir/Makefile"
7151 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7152 case $ac_dir in
7153 */tests) ac_extraclean="$ac_extraclean $ac_dir/testlist.c" ;;
7154 esac
7156 if wine_fn_has_flag clean
7157 then
7158 wine_fn_append_rule \
7159 "__clean__: $ac_dir/clean
7160 .PHONY: $ac_dir/clean
7161 $ac_dir/clean: $ac_dir/Makefile
7162 @cd $ac_dir && \$(MAKE) clean
7163 \$(RM) $ac_extraclean"
7164 else
7165 wine_fn_append_rule \
7166 "__clean__: $ac_dir/clean
7167 .PHONY: $ac_dir/clean
7168 $ac_dir/clean: dummy
7169 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7173 wine_fn_disabled_rules ()
7175 ac_clean=$@
7176 ac_extraclean="$ac_dir/Makefile"
7177 test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
7179 wine_fn_append_rule \
7180 "__clean__: $ac_dir/clean
7181 .PHONY: $ac_dir/clean
7182 $ac_dir/clean: dummy
7183 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7186 wine_fn_config_makefile ()
7188 ac_dir=$1
7189 ac_enable=$2
7190 ac_flags=$3
7192 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7193 wine_fn_disabled_rules; return
7195 wine_fn_all_rules
7196 wine_fn_install_rules
7197 wine_fn_clean_rules
7200 wine_fn_config_lib ()
7202 ac_name=$1
7203 ac_flags=$2
7204 ac_dir=dlls/$ac_name
7205 ac_deps="include"
7207 if test "x$enable_tools" = xno; then :
7209 else
7210 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7212 wine_fn_all_rules
7213 wine_fn_clean_rules
7215 wine_fn_append_rule \
7216 ".PHONY: $ac_dir/install $ac_dir/uninstall
7217 $ac_dir/install:: $ac_dir
7218 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7219 $ac_dir/uninstall::
7220 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7221 install install-dev:: $ac_dir/install
7222 __uninstall__: $ac_dir/uninstall
7223 __builddeps__: $ac_dir
7224 $ac_dir: $ac_deps"
7227 wine_fn_config_dll ()
7229 ac_name=$1
7230 ac_dir=dlls/$ac_name
7231 ac_enable=$2
7232 ac_flags=$3
7233 ac_implib=${4:-$ac_name}
7234 ac_file=$ac_dir/lib$ac_implib
7235 ac_dll=$ac_name
7236 ac_deps="include"
7237 ac_implibflags=""
7239 if test "x$enable_tools" = xno; then :
7241 else
7242 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7244 case $ac_name in
7245 *16) ac_implibflags=" -m16" ;;
7246 *.*) ;;
7247 *) ac_dll=$ac_dll.dll ;;
7248 esac
7250 ac_clean=
7251 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7252 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7253 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7254 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7256 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7257 if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
7258 then
7259 wine_fn_depend_rules
7260 wine_fn_clean_rules $ac_clean
7261 else
7262 wine_fn_disabled_rules $ac_clean
7263 return
7265 else
7266 wine_fn_all_rules
7267 wine_fn_clean_rules $ac_clean
7268 wine_fn_append_rule \
7269 "$ac_dir: __builddeps__
7270 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7271 @cd $ac_dir && \$(MAKE) \$@
7272 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7273 install install-lib:: $ac_dir/install-lib
7274 __uninstall__: $ac_dir/uninstall"
7275 if test -n "$DLLEXT"
7276 then
7277 wine_fn_append_rule \
7278 "$ac_dir/install-lib:: $ac_dir
7279 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7280 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7281 $ac_dir/uninstall::
7282 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7283 else
7284 wine_fn_append_rule \
7285 "$ac_dir/install-lib:: $ac_dir
7286 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7287 $ac_dir/uninstall::
7288 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7291 wine_fn_pot_rules
7294 if wine_fn_has_flag staticimplib
7295 then
7296 wine_fn_append_rule \
7297 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7298 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7299 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7300 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7301 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7302 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7303 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7304 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7305 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7306 $ac_dir/uninstall::
7307 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7308 install install-dev:: $ac_dir/install-dev
7309 __uninstall__: $ac_dir/uninstall"
7311 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7312 then
7313 wine_fn_append_rule \
7314 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7315 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7316 $ac_dir/uninstall::
7317 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7320 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7321 then
7322 wine_fn_append_rule \
7323 "__builddeps__: $ac_file.cross.a
7324 $ac_file.cross.a: $ac_dir/Makefile dummy
7325 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7328 elif wine_fn_has_flag implib
7329 then
7330 wine_fn_append_rule \
7331 "__builddeps__: $ac_file.$IMPLIBEXT
7332 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7333 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7334 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7335 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7336 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7337 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7338 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7339 $ac_dir/uninstall::
7340 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7341 install install-dev:: $ac_dir/install-dev
7342 __uninstall__: $ac_dir/uninstall"
7343 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7344 then
7345 wine_fn_append_rule \
7346 "__builddeps__: $ac_file.cross.a
7347 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7348 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7351 if test "$ac_name" != "$ac_implib"
7352 then
7353 wine_fn_append_rule \
7354 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7355 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7356 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7357 clean::
7358 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7359 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7360 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7361 then
7362 wine_fn_append_rule \
7363 "__builddeps__: dlls/lib$ac_implib.cross.a
7364 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7365 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7366 clean::
7367 \$(RM) dlls/lib$ac_implib.cross.a"
7368 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7374 wine_fn_config_program ()
7376 ac_name=$1
7377 ac_dir=programs/$ac_name
7378 ac_enable=$2
7379 ac_flags=$3
7380 ac_program=$ac_name
7382 case $ac_name in
7383 *.*) ;;
7384 *) ac_program=$ac_program.exe ;;
7385 esac
7387 ac_clean=
7388 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7389 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7390 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7391 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7393 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7394 wine_fn_disabled_rules $ac_clean; return
7397 wine_fn_all_rules
7398 wine_fn_clean_rules $ac_clean
7399 wine_fn_append_rule "$ac_dir: __builddeps__"
7400 wine_fn_pot_rules
7402 wine_fn_has_flag install || return
7403 wine_fn_append_rule \
7404 ".PHONY: $ac_dir/install $ac_dir/uninstall
7405 install install-lib:: $ac_dir/install
7406 __uninstall__: $ac_dir/uninstall"
7408 if test -n "$DLLEXT"
7409 then
7410 wine_fn_append_rule \
7411 "$ac_dir/install:: $ac_dir
7412 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7413 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7414 $ac_dir/uninstall::
7415 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7417 if test -z "$with_wine64" && wine_fn_has_flag installbin
7418 then
7419 wine_fn_append_rule \
7420 "$ac_dir/install:: __tooldeps__
7421 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7422 $ac_dir/uninstall::
7423 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7425 else
7426 wine_fn_append_rule \
7427 "$ac_dir/install:: $ac_dir
7428 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7429 $ac_dir/uninstall::
7430 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7433 if test -z "$with_wine64" && wine_fn_has_flag manpage
7434 then
7435 wine_fn_append_rule \
7436 "$ac_dir/install:: $ac_dir
7437 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7438 $ac_dir/uninstall::
7439 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7443 wine_fn_config_test ()
7445 ac_dir=$1
7446 ac_name=$2
7447 ac_flags=$3
7449 ac_clean=
7450 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7451 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7453 if test "x$enable_tests" = xno; then :
7454 wine_fn_disabled_rules $ac_clean; return
7457 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7458 wine_fn_all_rules
7459 wine_fn_clean_rules $ac_clean
7461 wine_fn_append_rule \
7462 "$ac_dir: programs/winetest/Makefile __builddeps__
7463 programs/winetest: $ac_dir
7464 check test: $ac_dir/test
7465 .PHONY: $ac_dir/test
7466 $ac_dir/test: dummy
7467 @cd $ac_dir && \$(MAKE) test
7468 testclean::
7469 \$(RM) $ac_dir/*.ok"
7471 if test -n "$CROSSTARGET"
7472 then
7473 wine_fn_append_rule \
7474 "crosstest: $ac_dir/crosstest
7475 .PHONY: $ac_dir/crosstest
7476 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7477 @cd $ac_dir && \$(MAKE) crosstest"
7481 wine_fn_config_tool ()
7483 ac_dir=$1
7484 ac_flags=$2
7485 if test "x$enable_tools" = xno; then :
7486 return
7489 wine_fn_all_rules
7490 wine_fn_install_rules
7491 wine_fn_clean_rules
7493 wine_fn_append_rule "__tooldeps__: $ac_dir"
7494 wine_fn_append_rule "$ac_dir: libs/port"
7495 case $ac_dir in
7496 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7497 esac
7500 wine_fn_config_symlink ()
7502 ac_linkdir=
7503 if test "x$1" = "x-d"
7504 then
7505 ac_linkdir=$2
7506 shift; shift
7508 ac_links=$@
7509 wine_fn_append_rule \
7510 "$ac_links:
7511 @./config.status \$@
7512 distclean::
7513 \$(RM) $ac_links"
7514 for f in $ac_links; do wine_fn_ignore_file $f; done
7515 test -n "$ac_linkdir" || return
7516 wine_fn_append_rule "$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7519 wine_binary="wine"
7520 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7521 loader_programs="$wine_binary wine-installed"
7522 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7524 LOADER_RULES="
7525 install install-lib:: wine-installed
7526 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7528 uninstall::
7529 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7533 case $host_os in
7534 cygwin*|mingw32*)
7535 if test -n "$ac_tool_prefix"; then
7536 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7537 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_DLLTOOL+:} false; then :
7541 $as_echo_n "(cached) " >&6
7542 else
7543 if test -n "$DLLTOOL"; then
7544 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7545 else
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 for as_dir in $PATH
7549 IFS=$as_save_IFS
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 break 2
7557 done
7558 done
7559 IFS=$as_save_IFS
7563 DLLTOOL=$ac_cv_prog_DLLTOOL
7564 if test -n "$DLLTOOL"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7566 $as_echo "$DLLTOOL" >&6; }
7567 else
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7574 if test -z "$ac_cv_prog_DLLTOOL"; then
7575 ac_ct_DLLTOOL=$DLLTOOL
7576 # Extract the first word of "dlltool", so it can be a program name with args.
7577 set dummy dlltool; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7579 $as_echo_n "checking for $ac_word... " >&6; }
7580 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 if test -n "$ac_ct_DLLTOOL"; then
7584 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7585 else
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7587 for as_dir in $PATH
7589 IFS=$as_save_IFS
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7593 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 break 2
7597 done
7598 done
7599 IFS=$as_save_IFS
7603 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7604 if test -n "$ac_ct_DLLTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7606 $as_echo "$ac_ct_DLLTOOL" >&6; }
7607 else
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7609 $as_echo "no" >&6; }
7612 if test "x$ac_ct_DLLTOOL" = x; then
7613 DLLTOOL="false"
7614 else
7615 case $cross_compiling:$ac_tool_warned in
7616 yes:)
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7619 ac_tool_warned=yes ;;
7620 esac
7621 DLLTOOL=$ac_ct_DLLTOOL
7623 else
7624 DLLTOOL="$ac_cv_prog_DLLTOOL"
7627 LIBEXT="dll"
7628 DLLEXT=""
7629 IMPLIBEXT="a"
7630 STATIC_IMPLIBEXT="a"
7631 enable_iphlpapi=${enable_iphlpapi:-no}
7632 enable_kernel32=${enable_kernel32:-no}
7633 enable_msvcrt=${enable_msvcrt:-no}
7634 enable_ntdll=${enable_ntdll:-no}
7635 enable_ws2_32=${enable_ws2_32:-no}
7636 enable_loader=${enable_loader:-no}
7637 enable_server=${enable_server:-no}
7638 with_x=${with_x:-no}
7639 with_pthread=${with_pthread:-no}
7641 crtlibs=""
7642 case $host_os in
7643 mingw32*)
7644 crtlibs="-lmsvcrt"
7645 SOCKET_LIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7647 esac
7649 libwine_targets="libwine.dll libwine.a"
7650 LIBWINE_RULES="
7651 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7653 all: libwine.dll libwine.a
7655 libwine.a: \$(srcdir)/wine.def
7656 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7658 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7659 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7661 install install-lib:: libwine.dll
7662 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7664 install install-dev:: libwine.a
7665 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7667 uninstall::
7668 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7673 darwin*|macosx*)
7674 LIBEXT="dylib"
7675 DLLFLAGS="$DLLFLAGS -fPIC"
7676 LIBWINE_LDFLAGS="-multiply_defined suppress"
7677 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7678 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7679 COREFOUNDATION_LIBS="-framework CoreFoundation"
7681 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7683 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7685 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7687 CORESERVICES_LIBS="-framework CoreServices"
7689 APPKIT_LIBS="-framework AppKit"
7691 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7692 case $host_os in
7693 darwin11*) LDEXECFLAGS="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7694 esac
7695 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7696 then
7697 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7700 if test "$ac_cv_header_Security_Security_h" = "yes"
7701 then
7702 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7704 ac_save_LIBS="$LIBS"
7705 LIBS="$LIBS $SECURITY_LIBS"
7706 for ac_func in SSLCopyPeerCertificates
7707 do :
7708 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7709 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7710 cat >>confdefs.h <<_ACEOF
7711 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7712 _ACEOF
7715 done
7717 LIBS="$ac_save_LIBS"
7718 with_gnutls=${with_gnutls:-no}
7720 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7721 then
7722 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7723 then
7724 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7726 else
7727 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7730 ac_save_LIBS="$LIBS"
7731 LIBS="$LIBS $COREAUDIO_LIBS"
7732 for ac_func in AUGraphAddNode
7733 do :
7734 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7735 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_AUGRAPHADDNODE 1
7738 _ACEOF
7741 done
7743 LIBS="$ac_save_LIBS"
7745 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7746 then
7747 OPENAL_LIBS="-framework OpenAL"
7750 cat >>confdefs.h <<_ACEOF
7751 #define HAVE_OPENAL 1
7752 _ACEOF
7754 ac_cv_lib_openal=yes
7756 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7757 then
7758 OPENCL_LIBS="-framework OpenCL"
7760 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
7762 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7763 then
7764 ac_save_LIBS="$LIBS"
7765 LIBS="$LIBS $IOKIT_LIBS"
7766 for ac_func in IOHIDManagerCreate
7767 do :
7768 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7769 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_IOHIDMANAGERCREATE 1
7772 _ACEOF
7775 done
7777 LIBS="$ac_save_LIBS"
7779 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7780 then
7781 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7783 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
7784 else
7785 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7787 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7788 then
7789 CARBON_LIBS="-framework Carbon"
7793 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7794 then
7795 ac_save_LIBS="$LIBS"
7796 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
7797 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7798 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
7799 enable_winemac_drv=${enable_winemac_drv:-yes}
7802 LIBS="$ac_save_LIBS"
7805 if test "x$enable_win16" = "xyes"
7806 then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7808 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7809 if test "$cross_compiling" = yes; then :
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7811 $as_echo "cross-compiling, assuming yes" >&6; }
7812 else
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7815 asm(".text\n"
7816 "bad:\tnop;nop\n"
7817 "good:\tnop;nop\n\t"
7818 ".globl _testfunc\n"
7819 "_testfunc:\tcallw good");
7820 extern void testfunc();
7822 main ()
7824 unsigned short *p = (unsigned short *)testfunc;
7825 return p[0] != 0xe866 || p[1] != 0xfffa
7827 return 0;
7829 _ACEOF
7830 if ac_fn_c_try_run "$LINENO"; then :
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7832 $as_echo "yes" >&6; }
7833 else
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7836 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
7838 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7839 conftest.$ac_objext conftest.beam conftest.$ac_ext
7844 libwine_targets="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7845 LIBWINE_RULES="
7846 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7848 all: libwine.dylib
7850 libwine.$libwine_version.dylib: \$(OBJS)
7851 \$(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 \$@
7853 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7854 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7856 libwine.dylib: libwine.$libwine_soversion.dylib
7857 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7859 install install-lib:: libwine.$libwine_version.dylib
7860 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7861 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7863 install install-dev::
7864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7866 uninstall::
7867 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7871 as_fn_append LOADER_RULES "
7872 $wine_binary: main.o wine_info.plist
7873 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7875 wine-installed: main.o wine_info.plist
7876 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7880 linux-android*)
7881 DLLFLAGS="$DLLFLAGS -fPIC"
7882 DLLPREFIX="lib"
7883 LDEXECFLAGS=""
7884 dlldir="\${libdir}"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7886 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7887 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 ac_wine_try_cflags_saved=$CFLAGS
7891 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 int main(int argc, char **argv) { return 0; }
7895 _ACEOF
7896 if ac_fn_c_try_link "$LINENO"; then :
7897 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7898 else
7899 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7901 rm -f core conftest.err conftest.$ac_objext \
7902 conftest$ac_exeext conftest.$ac_ext
7903 CFLAGS=$ac_wine_try_cflags_saved
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7906 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7907 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
7908 LDEXECFLAGS="-Wl,--export-dynamic"
7910 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7912 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7913 if eval \${$as_ac_var+:} false; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 ac_wine_try_cflags_saved=$CFLAGS
7917 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919 /* end confdefs.h. */
7920 int main(int argc, char **argv) { return 0; }
7921 _ACEOF
7922 if ac_fn_c_try_link "$LINENO"; then :
7923 eval "$as_ac_var=yes"
7924 else
7925 eval "$as_ac_var=no"
7927 rm -f core conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929 CFLAGS=$ac_wine_try_cflags_saved
7931 eval ac_res=\$$as_ac_var
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7933 $as_echo "$ac_res" >&6; }
7934 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7935 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7936 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7937 else
7938 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7941 if eval \${$as_ac_var+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 ac_wine_try_cflags_saved=$CFLAGS
7945 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7949 _ACEOF
7950 if ac_fn_c_try_link "$LINENO"; then :
7951 eval "$as_ac_var=yes"
7952 else
7953 eval "$as_ac_var=no"
7955 rm -f core conftest.err conftest.$ac_objext \
7956 conftest$ac_exeext conftest.$ac_ext
7957 CFLAGS=$ac_wine_try_cflags_saved
7959 eval ac_res=\$$as_ac_var
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7961 $as_echo "$ac_res" >&6; }
7962 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7963 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7964 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7969 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7970 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7971 $as_echo_n "(cached) " >&6
7972 else
7973 ac_wine_try_cflags_saved=$CFLAGS
7974 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 int main(int argc, char **argv) { return 0; }
7978 _ACEOF
7979 if ac_fn_c_try_link "$LINENO"; then :
7980 ac_cv_cflags__Wl___enable_new_dtags=yes
7981 else
7982 ac_cv_cflags__Wl___enable_new_dtags=no
7984 rm -f core conftest.err conftest.$ac_objext \
7985 conftest$ac_exeext conftest.$ac_ext
7986 CFLAGS=$ac_wine_try_cflags_saved
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7989 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7990 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
7991 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7994 case $host_cpu in
7995 *i[3456789]86* | x86_64)
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7997 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7998 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7999 $as_echo_n "(cached) " >&6
8000 else
8001 ac_wine_try_cflags_saved=$CFLAGS
8002 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8006 _ACEOF
8007 if ac_fn_c_try_link "$LINENO"; then :
8008 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8009 else
8010 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8012 rm -f core conftest.err conftest.$ac_objext \
8013 conftest$ac_exeext conftest.$ac_ext
8014 CFLAGS=$ac_wine_try_cflags_saved
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8017 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8018 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8019 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8022 esac
8024 libwine_targets="libwine.so"
8025 LIBWINE_RULES="
8026 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8028 all: libwine.so
8030 libwine.so: \$(OBJS)
8031 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8033 install install-lib:: libwine.so
8034 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8036 uninstall::
8037 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8041 as_fn_append LOADER_RULES "
8042 $wine_binary: main.o
8043 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8045 wine-installed: main.o
8046 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8051 DLLFLAGS="$DLLFLAGS -fPIC"
8052 LDEXECFLAGS=""
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8054 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8055 if ${ac_cv_c_dll_gnuelf+:} false; then :
8056 $as_echo_n "(cached) " >&6
8057 else
8058 ac_wine_try_cflags_saved=$CFLAGS
8059 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8062 void myfunc() {}
8063 _ACEOF
8064 if ac_fn_c_try_link "$LINENO"; then :
8065 ac_cv_c_dll_gnuelf="yes"
8066 else
8067 ac_cv_c_dll_gnuelf="no"
8069 rm -f core conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8071 CFLAGS=$ac_wine_try_cflags_saved
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8074 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8075 if test "$ac_cv_c_dll_gnuelf" = "yes"
8076 then
8077 LDSHARED="\$(CC) -shared"
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8079 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8080 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8081 $as_echo_n "(cached) " >&6
8082 else
8083 ac_wine_try_cflags_saved=$CFLAGS
8084 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8086 /* end confdefs.h. */
8087 int main(int argc, char **argv) { return 0; }
8088 _ACEOF
8089 if ac_fn_c_try_link "$LINENO"; then :
8090 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8091 else
8092 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8096 CFLAGS=$ac_wine_try_cflags_saved
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8099 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8100 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8101 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8102 else
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8104 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8105 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8106 $as_echo_n "(cached) " >&6
8107 else
8108 ac_wine_try_cflags_saved=$CFLAGS
8109 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8111 /* end confdefs.h. */
8112 int main(int argc, char **argv) { return 0; }
8113 _ACEOF
8114 if ac_fn_c_try_link "$LINENO"; then :
8115 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8116 else
8117 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8119 rm -f core conftest.err conftest.$ac_objext \
8120 conftest$ac_exeext conftest.$ac_ext
8121 CFLAGS=$ac_wine_try_cflags_saved
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8124 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8125 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8126 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8130 echo '{ global: *; };' >conftest.map
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8132 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8133 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 ac_wine_try_cflags_saved=$CFLAGS
8137 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8140 int main(int argc, char **argv) { return 0; }
8141 _ACEOF
8142 if ac_fn_c_try_link "$LINENO"; then :
8143 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8144 else
8145 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8147 rm -f core conftest.err conftest.$ac_objext \
8148 conftest$ac_exeext conftest.$ac_ext
8149 CFLAGS=$ac_wine_try_cflags_saved
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8152 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8153 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8154 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8156 rm -f conftest.map
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8160 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8161 $as_echo_n "(cached) " >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8168 _ACEOF
8169 if ac_fn_c_try_link "$LINENO"; then :
8170 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8171 else
8172 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8174 rm -f core conftest.err conftest.$ac_objext \
8175 conftest$ac_exeext conftest.$ac_ext
8176 CFLAGS=$ac_wine_try_cflags_saved
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8179 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8180 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8181 LDEXECFLAGS="-Wl,--export-dynamic"
8184 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8186 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8187 if eval \${$as_ac_var+:} false; then :
8188 $as_echo_n "(cached) " >&6
8189 else
8190 ac_wine_try_cflags_saved=$CFLAGS
8191 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8193 /* end confdefs.h. */
8194 int main(int argc, char **argv) { return 0; }
8195 _ACEOF
8196 if ac_fn_c_try_link "$LINENO"; then :
8197 eval "$as_ac_var=yes"
8198 else
8199 eval "$as_ac_var=no"
8201 rm -f core conftest.err conftest.$ac_objext \
8202 conftest$ac_exeext conftest.$ac_ext
8203 CFLAGS=$ac_wine_try_cflags_saved
8205 eval ac_res=\$$as_ac_var
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8207 $as_echo "$ac_res" >&6; }
8208 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8209 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8210 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8211 else
8212 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8214 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8215 if eval \${$as_ac_var+:} false; then :
8216 $as_echo_n "(cached) " >&6
8217 else
8218 ac_wine_try_cflags_saved=$CFLAGS
8219 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8222 int main(int argc, char **argv) { return 0; }
8223 _ACEOF
8224 if ac_fn_c_try_link "$LINENO"; then :
8225 eval "$as_ac_var=yes"
8226 else
8227 eval "$as_ac_var=no"
8229 rm -f core conftest.err conftest.$ac_objext \
8230 conftest$ac_exeext conftest.$ac_ext
8231 CFLAGS=$ac_wine_try_cflags_saved
8233 eval ac_res=\$$as_ac_var
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8235 $as_echo "$ac_res" >&6; }
8236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8237 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8238 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8243 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8244 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 ac_wine_try_cflags_saved=$CFLAGS
8248 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 int main(int argc, char **argv) { return 0; }
8252 _ACEOF
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 ac_cv_cflags__Wl___enable_new_dtags=yes
8255 else
8256 ac_cv_cflags__Wl___enable_new_dtags=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 CFLAGS=$ac_wine_try_cflags_saved
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8263 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8264 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8265 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8268 case $host_cpu in
8269 *i[3456789]86* | x86_64)
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8271 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8272 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_wine_try_cflags_saved=$CFLAGS
8276 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 int main(int argc, char **argv) { return 0; }
8280 _ACEOF
8281 if ac_fn_c_try_link "$LINENO"; then :
8282 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8283 else
8284 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8286 rm -f core conftest.err conftest.$ac_objext \
8287 conftest$ac_exeext conftest.$ac_ext
8288 CFLAGS=$ac_wine_try_cflags_saved
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8291 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8292 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8293 case $host_os in
8294 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8295 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8296 esac
8299 # Extract the first word of "prelink", so it can be a program name with args.
8300 set dummy prelink; ac_word=$2
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8302 $as_echo_n "checking for $ac_word... " >&6; }
8303 if ${ac_cv_path_PRELINK+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 case $PRELINK in
8307 [\\/]* | ?:[\\/]*)
8308 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 for as_dir in /sbin /usr/sbin $PATH
8314 IFS=$as_save_IFS
8315 test -z "$as_dir" && as_dir=.
8316 for ac_exec_ext in '' $ac_executable_extensions; do
8317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8318 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320 break 2
8322 done
8323 done
8324 IFS=$as_save_IFS
8326 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8328 esac
8330 PRELINK=$ac_cv_path_PRELINK
8331 if test -n "$PRELINK"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8333 $as_echo "$PRELINK" >&6; }
8334 else
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8340 if test "x$PRELINK" = xfalse
8341 then
8342 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
8345 esac
8347 else
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8349 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8350 if ${ac_cv_c_dll_unixware+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 ac_wine_try_cflags_saved=$CFLAGS
8354 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 void myfunc() {}
8358 _ACEOF
8359 if ac_fn_c_try_link "$LINENO"; then :
8360 ac_cv_c_dll_unixware="yes"
8361 else
8362 ac_cv_c_dll_unixware="no"
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 CFLAGS=$ac_wine_try_cflags_saved
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8369 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8370 if test "$ac_cv_c_dll_unixware" = "yes"
8371 then
8372 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8375 libwine_targets="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8376 LIBWINE_RULES="
8377 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8379 all: libwine.so
8381 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8382 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8384 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8385 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8387 libwine.so: libwine.so.$libwine_soversion
8388 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8390 install install-lib:: libwine.so.$libwine_version
8391 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8392 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8394 install install-dev::
8395 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8397 uninstall::
8398 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8402 as_fn_append LOADER_RULES "
8403 $wine_binary: main.o
8404 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8406 wine-installed: main.o
8407 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8410 esac
8412 as_fn_append LIBWINE_RULES "
8413 EXTRA_TARGETS = $libwine_targets
8416 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8417 enable_winemac_drv=${enable_winemac_drv:-no}
8419 CROSSTARGET=""
8421 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8422 then
8423 case "$host_cpu" in
8424 i[3456789]86*)
8425 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
8426 mingw32-gcc" ;;
8427 x86_64)
8428 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 " ;;
8430 ac_prefix_list="" ;;
8431 esac
8432 for ac_prog in $ac_prefix_list
8434 # Extract the first word of "$ac_prog", so it can be a program name with args.
8435 set dummy $ac_prog; ac_word=$2
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8437 $as_echo_n "checking for $ac_word... " >&6; }
8438 if ${ac_cv_prog_CROSSCC+:} false; then :
8439 $as_echo_n "(cached) " >&6
8440 else
8441 if test -n "$CROSSCC"; then
8442 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8443 else
8444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8445 for as_dir in $PATH
8447 IFS=$as_save_IFS
8448 test -z "$as_dir" && as_dir=.
8449 for ac_exec_ext in '' $ac_executable_extensions; do
8450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8451 ac_cv_prog_CROSSCC="$ac_prog"
8452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 break 2
8455 done
8456 done
8457 IFS=$as_save_IFS
8461 CROSSCC=$ac_cv_prog_CROSSCC
8462 if test -n "$CROSSCC"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8464 $as_echo "$CROSSCC" >&6; }
8465 else
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8467 $as_echo "no" >&6; }
8471 test -n "$CROSSCC" && break
8472 done
8473 test -n "$CROSSCC" || CROSSCC="false"
8475 if test "$CROSSCC" != "false"
8476 then
8477 ac_save_CC="$CC"
8478 CC="$CROSSCC"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8480 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8485 main ()
8489 return 0;
8491 _ACEOF
8492 if ac_fn_c_try_compile "$LINENO"; then :
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8494 $as_echo "yes" >&6; }
8495 set x $CROSSCC
8496 shift
8497 while test $# -ge 1
8499 case "$1" in
8500 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8501 esac
8502 shift
8503 done
8504 else
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8506 $as_echo "no" >&6; }
8508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8509 CC="$ac_save_CC"
8514 if test "$ac_cv_header_pthread_h" = "yes"
8515 then
8516 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8517 if test "x$ac_cv_func_pthread_create" = xyes; then :
8519 else
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8521 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8522 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_check_lib_save_LIBS=$LIBS
8526 LIBS="-lpthread $LIBS"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8530 /* Override any GCC internal prototype to avoid an error.
8531 Use char because int might match the return type of a GCC
8532 builtin and then its argument prototype would still apply. */
8533 #ifdef __cplusplus
8534 extern "C"
8535 #endif
8536 char pthread_create ();
8538 main ()
8540 return pthread_create ();
8542 return 0;
8544 _ACEOF
8545 if ac_fn_c_try_link "$LINENO"; then :
8546 ac_cv_lib_pthread_pthread_create=yes
8547 else
8548 ac_cv_lib_pthread_pthread_create=no
8550 rm -f core conftest.err conftest.$ac_objext \
8551 conftest$ac_exeext conftest.$ac_ext
8552 LIBS=$ac_check_lib_save_LIBS
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8555 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8556 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8557 PTHREAD_LIBS="-lpthread"
8564 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8565 case "x$with_pthread" in
8566 xno) ;;
8567 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8568 Wine cannot support threads without libpthread.
8569 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8570 esac
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8575 $as_echo_n "checking for X... " >&6; }
8578 # Check whether --with-x was given.
8579 if test "${with_x+set}" = set; then :
8580 withval=$with_x;
8583 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8584 if test "x$with_x" = xno; then
8585 # The user explicitly disabled X.
8586 have_x=disabled
8587 else
8588 case $x_includes,$x_libraries in #(
8589 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8590 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 # One or both of the vars are not set, and there is no cached value.
8594 ac_x_includes=no ac_x_libraries=no
8595 rm -f -r conftest.dir
8596 if mkdir conftest.dir; then
8597 cd conftest.dir
8598 cat >Imakefile <<'_ACEOF'
8599 incroot:
8600 @echo incroot='${INCROOT}'
8601 usrlibdir:
8602 @echo usrlibdir='${USRLIBDIR}'
8603 libdir:
8604 @echo libdir='${LIBDIR}'
8605 _ACEOF
8606 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8607 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8608 for ac_var in incroot usrlibdir libdir; do
8609 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8610 done
8611 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8612 for ac_extension in a so sl dylib la dll; do
8613 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8614 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8615 ac_im_usrlibdir=$ac_im_libdir; break
8617 done
8618 # Screen out bogus values from the imake configuration. They are
8619 # bogus both because they are the default anyway, and because
8620 # using them would break gcc on systems where it needs fixed includes.
8621 case $ac_im_incroot in
8622 /usr/include) ac_x_includes= ;;
8623 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8624 esac
8625 case $ac_im_usrlibdir in
8626 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8627 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8628 esac
8630 cd ..
8631 rm -f -r conftest.dir
8634 # Standard set of common directories for X headers.
8635 # Check X11 before X11Rn because it is often a symlink to the current release.
8636 ac_x_header_dirs='
8637 /usr/X11/include
8638 /usr/X11R7/include
8639 /usr/X11R6/include
8640 /usr/X11R5/include
8641 /usr/X11R4/include
8643 /usr/include/X11
8644 /usr/include/X11R7
8645 /usr/include/X11R6
8646 /usr/include/X11R5
8647 /usr/include/X11R4
8649 /usr/local/X11/include
8650 /usr/local/X11R7/include
8651 /usr/local/X11R6/include
8652 /usr/local/X11R5/include
8653 /usr/local/X11R4/include
8655 /usr/local/include/X11
8656 /usr/local/include/X11R7
8657 /usr/local/include/X11R6
8658 /usr/local/include/X11R5
8659 /usr/local/include/X11R4
8661 /usr/X386/include
8662 /usr/x386/include
8663 /usr/XFree86/include/X11
8665 /usr/include
8666 /usr/local/include
8667 /usr/unsupported/include
8668 /usr/athena/include
8669 /usr/local/x11r5/include
8670 /usr/lpp/Xamples/include
8672 /usr/openwin/include
8673 /usr/openwin/share/include'
8675 if test "$ac_x_includes" = no; then
8676 # Guess where to find include files, by looking for Xlib.h.
8677 # First, try using that file with no special directory specified.
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 #include <X11/Xlib.h>
8681 _ACEOF
8682 if ac_fn_c_try_cpp "$LINENO"; then :
8683 # We can compile using X headers with no special include directory.
8684 ac_x_includes=
8685 else
8686 for ac_dir in $ac_x_header_dirs; do
8687 if test -r "$ac_dir/X11/Xlib.h"; then
8688 ac_x_includes=$ac_dir
8689 break
8691 done
8693 rm -f conftest.err conftest.i conftest.$ac_ext
8694 fi # $ac_x_includes = no
8696 if test "$ac_x_libraries" = no; then
8697 # Check for the libraries.
8698 # See if we find them without any special options.
8699 # Don't add to $LIBS permanently.
8700 ac_save_LIBS=$LIBS
8701 LIBS="-lX11 $LIBS"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 #include <X11/Xlib.h>
8706 main ()
8708 XrmInitialize ()
8710 return 0;
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 LIBS=$ac_save_LIBS
8715 # We can link X programs with no special library path.
8716 ac_x_libraries=
8717 else
8718 LIBS=$ac_save_LIBS
8719 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8721 # Don't even attempt the hair of trying to link an X program!
8722 for ac_extension in a so sl dylib la dll; do
8723 if test -r "$ac_dir/libX11.$ac_extension"; then
8724 ac_x_libraries=$ac_dir
8725 break 2
8727 done
8728 done
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 fi # $ac_x_libraries = no
8734 case $ac_x_includes,$ac_x_libraries in #(
8735 no,* | *,no | *\'*)
8736 # Didn't find X, or a directory has "'" in its name.
8737 ac_cv_have_x="have_x=no";; #(
8739 # Record where we found X for the cache.
8740 ac_cv_have_x="have_x=yes\
8741 ac_x_includes='$ac_x_includes'\
8742 ac_x_libraries='$ac_x_libraries'"
8743 esac
8745 ;; #(
8746 *) have_x=yes;;
8747 esac
8748 eval "$ac_cv_have_x"
8749 fi # $with_x != no
8751 if test "$have_x" != yes; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8753 $as_echo "$have_x" >&6; }
8754 no_x=yes
8755 else
8756 # If each of the values was on the command line, it overrides each guess.
8757 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
8758 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
8759 # Update the cache value to reflect the command line values.
8760 ac_cv_have_x="have_x=yes\
8761 ac_x_includes='$x_includes'\
8762 ac_x_libraries='$x_libraries'"
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8764 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8767 if test "$no_x" = yes; then
8768 # Not all programs may use this symbol, but it does not hurt to define it.
8770 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8772 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
8773 else
8774 if test -n "$x_includes"; then
8775 X_CFLAGS="$X_CFLAGS -I$x_includes"
8778 # It would also be nice to do this for all -L options, not just this one.
8779 if test -n "$x_libraries"; then
8780 X_LIBS="$X_LIBS -L$x_libraries"
8781 # For Solaris; some versions of Sun CC require a space after -R and
8782 # others require no space. Words are not sufficient . . . .
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8784 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8785 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
8786 ac_xsave_c_werror_flag=$ac_c_werror_flag
8787 ac_c_werror_flag=yes
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8792 main ()
8796 return 0;
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8802 X_LIBS="$X_LIBS -R$x_libraries"
8803 else
8804 LIBS="$ac_xsave_LIBS -R $x_libraries"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8809 main ()
8813 return 0;
8815 _ACEOF
8816 if ac_fn_c_try_link "$LINENO"; then :
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8818 $as_echo "yes" >&6; }
8819 X_LIBS="$X_LIBS -R $x_libraries"
8820 else
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8822 $as_echo "neither works" >&6; }
8824 rm -f core conftest.err conftest.$ac_objext \
8825 conftest$ac_exeext conftest.$ac_ext
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 ac_c_werror_flag=$ac_xsave_c_werror_flag
8830 LIBS=$ac_xsave_LIBS
8833 # Check for system-dependent libraries X programs must link with.
8834 # Do this before checking for the system-independent R6 libraries
8835 # (-lICE), since we may need -lsocket or whatever for X linking.
8837 if test "$ISC" = yes; then
8838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
8839 else
8840 # Martyn Johnson says this is needed for Ultrix, if the X
8841 # libraries were built with DECnet support. And Karl Berry says
8842 # the Alpha needs dnet_stub (dnet does not exist).
8843 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
8844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8845 /* end confdefs.h. */
8847 /* Override any GCC internal prototype to avoid an error.
8848 Use char because int might match the return type of a GCC
8849 builtin and then its argument prototype would still apply. */
8850 #ifdef __cplusplus
8851 extern "C"
8852 #endif
8853 char XOpenDisplay ();
8855 main ()
8857 return XOpenDisplay ();
8859 return 0;
8861 _ACEOF
8862 if ac_fn_c_try_link "$LINENO"; then :
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8866 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8867 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_check_lib_save_LIBS=$LIBS
8871 LIBS="-ldnet $LIBS"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8878 #ifdef __cplusplus
8879 extern "C"
8880 #endif
8881 char dnet_ntoa ();
8883 main ()
8885 return dnet_ntoa ();
8887 return 0;
8889 _ACEOF
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 ac_cv_lib_dnet_dnet_ntoa=yes
8892 else
8893 ac_cv_lib_dnet_dnet_ntoa=no
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8897 LIBS=$ac_check_lib_save_LIBS
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8900 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8901 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
8902 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
8905 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8907 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8908 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 ac_check_lib_save_LIBS=$LIBS
8912 LIBS="-ldnet_stub $LIBS"
8913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8916 /* Override any GCC internal prototype to avoid an error.
8917 Use char because int might match the return type of a GCC
8918 builtin and then its argument prototype would still apply. */
8919 #ifdef __cplusplus
8920 extern "C"
8921 #endif
8922 char dnet_ntoa ();
8924 main ()
8926 return dnet_ntoa ();
8928 return 0;
8930 _ACEOF
8931 if ac_fn_c_try_link "$LINENO"; then :
8932 ac_cv_lib_dnet_stub_dnet_ntoa=yes
8933 else
8934 ac_cv_lib_dnet_stub_dnet_ntoa=no
8936 rm -f core conftest.err conftest.$ac_objext \
8937 conftest$ac_exeext conftest.$ac_ext
8938 LIBS=$ac_check_lib_save_LIBS
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8941 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8942 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
8943 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS="$ac_xsave_LIBS"
8952 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8953 # to get the SysV transport functions.
8954 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8955 # needs -lnsl.
8956 # The nsl library prevents programs from opening the X display
8957 # on Irix 5.2, according to T.E. Dickey.
8958 # The functions gethostbyname, getservbyname, and inet_addr are
8959 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8960 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8961 if test "x$ac_cv_func_gethostbyname" = xyes; then :
8965 if test $ac_cv_func_gethostbyname = no; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8967 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8968 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 ac_check_lib_save_LIBS=$LIBS
8972 LIBS="-lnsl $LIBS"
8973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8976 /* Override any GCC internal prototype to avoid an error.
8977 Use char because int might match the return type of a GCC
8978 builtin and then its argument prototype would still apply. */
8979 #ifdef __cplusplus
8980 extern "C"
8981 #endif
8982 char gethostbyname ();
8984 main ()
8986 return gethostbyname ();
8988 return 0;
8990 _ACEOF
8991 if ac_fn_c_try_link "$LINENO"; then :
8992 ac_cv_lib_nsl_gethostbyname=yes
8993 else
8994 ac_cv_lib_nsl_gethostbyname=no
8996 rm -f core conftest.err conftest.$ac_objext \
8997 conftest$ac_exeext conftest.$ac_ext
8998 LIBS=$ac_check_lib_save_LIBS
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9001 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9002 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9006 if test $ac_cv_lib_nsl_gethostbyname = no; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9008 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9009 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 ac_check_lib_save_LIBS=$LIBS
9013 LIBS="-lbsd $LIBS"
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9020 #ifdef __cplusplus
9021 extern "C"
9022 #endif
9023 char gethostbyname ();
9025 main ()
9027 return gethostbyname ();
9029 return 0;
9031 _ACEOF
9032 if ac_fn_c_try_link "$LINENO"; then :
9033 ac_cv_lib_bsd_gethostbyname=yes
9034 else
9035 ac_cv_lib_bsd_gethostbyname=no
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 LIBS=$ac_check_lib_save_LIBS
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9042 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9043 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9050 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9051 # socket/setsockopt and other routines are undefined under SCO ODT
9052 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9053 # on later versions), says Simon Leinen: it contains gethostby*
9054 # variants that don't use the name server (or something). -lsocket
9055 # must be given before -lnsl if both are needed. We assume that
9056 # if connect needs -lnsl, so does gethostbyname.
9057 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9058 if test "x$ac_cv_func_connect" = xyes; then :
9062 if test $ac_cv_func_connect = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9064 $as_echo_n "checking for connect in -lsocket... " >&6; }
9065 if ${ac_cv_lib_socket_connect+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_check_lib_save_LIBS=$LIBS
9069 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9073 /* Override any GCC internal prototype to avoid an error.
9074 Use char because int might match the return type of a GCC
9075 builtin and then its argument prototype would still apply. */
9076 #ifdef __cplusplus
9077 extern "C"
9078 #endif
9079 char connect ();
9081 main ()
9083 return connect ();
9085 return 0;
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 ac_cv_lib_socket_connect=yes
9090 else
9091 ac_cv_lib_socket_connect=no
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 LIBS=$ac_check_lib_save_LIBS
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9098 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9099 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9100 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9105 # Guillermo Gomez says -lposix is necessary on A/UX.
9106 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9107 if test "x$ac_cv_func_remove" = xyes; then :
9111 if test $ac_cv_func_remove = no; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9113 $as_echo_n "checking for remove in -lposix... " >&6; }
9114 if ${ac_cv_lib_posix_remove+:} false; then :
9115 $as_echo_n "(cached) " >&6
9116 else
9117 ac_check_lib_save_LIBS=$LIBS
9118 LIBS="-lposix $LIBS"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char remove ();
9130 main ()
9132 return remove ();
9134 return 0;
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 ac_cv_lib_posix_remove=yes
9139 else
9140 ac_cv_lib_posix_remove=no
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 LIBS=$ac_check_lib_save_LIBS
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9147 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9148 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9154 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9155 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9156 if test "x$ac_cv_func_shmat" = xyes; then :
9160 if test $ac_cv_func_shmat = no; then
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9162 $as_echo_n "checking for shmat in -lipc... " >&6; }
9163 if ${ac_cv_lib_ipc_shmat+:} false; then :
9164 $as_echo_n "(cached) " >&6
9165 else
9166 ac_check_lib_save_LIBS=$LIBS
9167 LIBS="-lipc $LIBS"
9168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9169 /* end confdefs.h. */
9171 /* Override any GCC internal prototype to avoid an error.
9172 Use char because int might match the return type of a GCC
9173 builtin and then its argument prototype would still apply. */
9174 #ifdef __cplusplus
9175 extern "C"
9176 #endif
9177 char shmat ();
9179 main ()
9181 return shmat ();
9183 return 0;
9185 _ACEOF
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 ac_cv_lib_ipc_shmat=yes
9188 else
9189 ac_cv_lib_ipc_shmat=no
9191 rm -f core conftest.err conftest.$ac_objext \
9192 conftest$ac_exeext conftest.$ac_ext
9193 LIBS=$ac_check_lib_save_LIBS
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9196 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9197 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9198 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9204 # Check for libraries that X11R6 Xt/Xaw programs need.
9205 ac_save_LDFLAGS=$LDFLAGS
9206 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9207 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9208 # check for ICE first), but we must link in the order -lSM -lICE or
9209 # we get undefined symbols. So assume we have SM if we have ICE.
9210 # These have to be linked with before -lX11, unlike the other
9211 # libraries we check for below, so use a different variable.
9212 # John Interrante, Karl Berry
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9214 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9215 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9216 $as_echo_n "(cached) " >&6
9217 else
9218 ac_check_lib_save_LIBS=$LIBS
9219 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9226 #ifdef __cplusplus
9227 extern "C"
9228 #endif
9229 char IceConnectionNumber ();
9231 main ()
9233 return IceConnectionNumber ();
9235 return 0;
9237 _ACEOF
9238 if ac_fn_c_try_link "$LINENO"; then :
9239 ac_cv_lib_ICE_IceConnectionNumber=yes
9240 else
9241 ac_cv_lib_ICE_IceConnectionNumber=no
9243 rm -f core conftest.err conftest.$ac_objext \
9244 conftest$ac_exeext conftest.$ac_ext
9245 LIBS=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9248 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9249 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9250 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9253 LDFLAGS=$ac_save_LDFLAGS
9258 if test "$have_x" = "yes"
9259 then
9260 ac_save_CPPFLAGS="$CPPFLAGS"
9261 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9264 $as_echo_n "checking for -lX11... " >&6; }
9265 if ${ac_cv_lib_soname_X11+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_check_soname_save_LIBS=$LIBS
9269 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char XCreateWindow ();
9281 main ()
9283 return XCreateWindow ();
9285 return 0;
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 case "$LIBEXT" in
9290 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9291 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'` ;;
9292 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9293 if ${ac_cv_lib_soname_X11:+false} :; then :
9294 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9295 fi ;;
9296 esac
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 LIBS=$ac_check_soname_save_LIBS
9302 if ${ac_cv_lib_soname_X11:+false} :; then :
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9304 $as_echo "not found" >&6; }
9306 else
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9308 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9310 cat >>confdefs.h <<_ACEOF
9311 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9312 _ACEOF
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9317 $as_echo_n "checking for -lXext... " >&6; }
9318 if ${ac_cv_lib_soname_Xext+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_soname_save_LIBS=$LIBS
9322 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char XextCreateExtension ();
9334 main ()
9336 return XextCreateExtension ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 case "$LIBEXT" in
9343 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9344 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'` ;;
9345 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9346 if ${ac_cv_lib_soname_Xext:+false} :; then :
9347 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9348 fi ;;
9349 esac
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_soname_save_LIBS
9355 if ${ac_cv_lib_soname_Xext:+false} :; then :
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9357 $as_echo "not found" >&6; }
9359 else
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9361 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9363 cat >>confdefs.h <<_ACEOF
9364 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9365 _ACEOF
9367 X_LIBS="$X_LIBS -lXext"
9369 X_LIBS="$X_LIBS -lX11"
9371 for ac_header in X11/Xlib.h \
9372 X11/XKBlib.h \
9373 X11/Xutil.h \
9374 X11/Xcursor/Xcursor.h \
9375 X11/extensions/shape.h \
9376 X11/extensions/XInput.h \
9377 X11/extensions/XInput2.h \
9378 X11/extensions/XShm.h \
9379 X11/extensions/Xcomposite.h \
9380 X11/extensions/Xinerama.h \
9381 X11/extensions/Xrandr.h \
9382 X11/extensions/Xrender.h \
9383 X11/extensions/xf86vmode.h \
9384 X11/extensions/xf86vmproto.h
9385 do :
9386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9387 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9388 # include <X11/Xlib.h>
9389 #endif
9390 #ifdef HAVE_X11_XUTIL_H
9391 # include <X11/Xutil.h>
9392 #endif
9394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9395 cat >>confdefs.h <<_ACEOF
9396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9397 _ACEOF
9401 done
9404 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9405 then
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9407 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9408 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_check_lib_save_LIBS=$LIBS
9412 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 char XkbQueryExtension ();
9424 main ()
9426 return XkbQueryExtension ();
9428 return 0;
9430 _ACEOF
9431 if ac_fn_c_try_link "$LINENO"; then :
9432 ac_cv_lib_X11_XkbQueryExtension=yes
9433 else
9434 ac_cv_lib_X11_XkbQueryExtension=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9441 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9442 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9444 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9450 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9451 then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9453 $as_echo_n "checking for -lXcursor... " >&6; }
9454 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_soname_save_LIBS=$LIBS
9458 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9465 #ifdef __cplusplus
9466 extern "C"
9467 #endif
9468 char XcursorImageLoadCursor ();
9470 main ()
9472 return XcursorImageLoadCursor ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 case "$LIBEXT" in
9479 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9480 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'` ;;
9481 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9482 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9483 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9484 fi ;;
9485 esac
9487 rm -f core conftest.err conftest.$ac_objext \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_soname_save_LIBS
9491 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9493 $as_echo "not found" >&6; }
9495 else
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9497 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9499 cat >>confdefs.h <<_ACEOF
9500 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9501 _ACEOF
9506 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9507 case "x$with_xcursor" in
9508 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9509 xno) ;;
9510 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9511 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9512 esac
9515 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9516 then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9518 $as_echo_n "checking for -lXi... " >&6; }
9519 if ${ac_cv_lib_soname_Xi+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_check_soname_save_LIBS=$LIBS
9523 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char XOpenDevice ();
9535 main ()
9537 return XOpenDevice ();
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"; then :
9543 case "$LIBEXT" in
9544 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9545 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'` ;;
9546 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9547 if ${ac_cv_lib_soname_Xi:+false} :; then :
9548 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9549 fi ;;
9550 esac
9552 rm -f core conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if ${ac_cv_lib_soname_Xi:+false} :; then :
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9558 $as_echo "not found" >&6; }
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9562 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9566 _ACEOF
9571 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9572 case "x$with_xinput" in
9573 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9574 xno) ;;
9575 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9576 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9577 esac
9580 if test "x$ac_cv_lib_soname_Xi" != x
9581 then
9582 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9583 case "x$with_xinput2" in
9584 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9585 xno) ;;
9586 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9587 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9588 esac
9592 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9593 then
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9595 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9596 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9607 #ifdef __cplusplus
9608 extern "C"
9609 #endif
9610 char XShmQueryExtension ();
9612 main ()
9614 return XShmQueryExtension ();
9616 return 0;
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_lib_Xext_XShmQueryExtension=yes
9621 else
9622 ac_cv_lib_Xext_XShmQueryExtension=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9629 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9630 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9632 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9637 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9638 case "x$with_xshm" in
9639 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9640 xno) ;;
9641 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9642 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9643 esac
9646 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9647 then
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9649 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9650 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_check_lib_save_LIBS=$LIBS
9654 LIBS="-lXext $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 XShapeQueryExtension ();
9666 main ()
9668 return XShapeQueryExtension ();
9670 return 0;
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 ac_cv_lib_Xext_XShapeQueryExtension=yes
9675 else
9676 ac_cv_lib_Xext_XShapeQueryExtension=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_Xext_XShapeQueryExtension" >&5
9683 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9684 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9686 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9691 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9692 case "x$with_xshape" in
9693 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9694 xno) ;;
9695 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9696 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9697 esac
9700 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9701 then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9703 $as_echo_n "checking for -lXxf86vm... " >&6; }
9704 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9705 $as_echo_n "(cached) " >&6
9706 else
9707 ac_check_soname_save_LIBS=$LIBS
9708 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9715 #ifdef __cplusplus
9716 extern "C"
9717 #endif
9718 char XF86VidModeQueryExtension ();
9720 main ()
9722 return XF86VidModeQueryExtension ();
9724 return 0;
9726 _ACEOF
9727 if ac_fn_c_try_link "$LINENO"; then :
9728 case "$LIBEXT" in
9729 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9730 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'` ;;
9731 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9732 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9733 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9734 fi ;;
9735 esac
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_soname_save_LIBS
9741 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9743 $as_echo "not found" >&6; }
9745 else
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9747 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9749 cat >>confdefs.h <<_ACEOF
9750 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9751 _ACEOF
9756 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9757 case "x$with_xxf86vm" in
9758 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9759 xno) ;;
9760 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9761 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9762 esac
9765 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9766 then
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9768 $as_echo_n "checking for -lXrender... " >&6; }
9769 if ${ac_cv_lib_soname_Xrender+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_check_soname_save_LIBS=$LIBS
9773 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9780 #ifdef __cplusplus
9781 extern "C"
9782 #endif
9783 char XRenderQueryExtension ();
9785 main ()
9787 return XRenderQueryExtension ();
9789 return 0;
9791 _ACEOF
9792 if ac_fn_c_try_link "$LINENO"; then :
9793 case "$LIBEXT" in
9794 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9795 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'` ;;
9796 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9797 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9798 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9799 fi ;;
9800 esac
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 LIBS=$ac_check_soname_save_LIBS
9806 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9808 $as_echo "not found" >&6; }
9810 else
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9812 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9814 cat >>confdefs.h <<_ACEOF
9815 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9816 _ACEOF
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9819 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9820 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_lib_save_LIBS=$LIBS
9824 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XRenderSetPictureTransform ();
9836 main ()
9838 return XRenderSetPictureTransform ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9845 else
9846 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9848 rm -f core conftest.err conftest.$ac_objext \
9849 conftest$ac_exeext conftest.$ac_ext
9850 LIBS=$ac_check_lib_save_LIBS
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9853 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9854 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
9856 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9861 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9862 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
9863 $as_echo_n "(cached) " >&6
9864 else
9865 ac_check_lib_save_LIBS=$LIBS
9866 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9873 #ifdef __cplusplus
9874 extern "C"
9875 #endif
9876 char XRenderCreateLinearGradient ();
9878 main ()
9880 return XRenderCreateLinearGradient ();
9882 return 0;
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"; then :
9886 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
9887 else
9888 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
9890 rm -f core conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
9892 LIBS=$ac_check_lib_save_LIBS
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9895 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9896 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
9898 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9905 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9906 case "x$with_xrender" in
9907 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9908 xno) ;;
9909 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
9910 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9911 esac
9914 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9915 then
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 #include <X11/Xlib.h>
9919 #include <X11/extensions/Xrandr.h>
9921 main ()
9923 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_compile "$LINENO"; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9930 $as_echo_n "checking for -lXrandr... " >&6; }
9931 if ${ac_cv_lib_soname_Xrandr+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char XRRQueryExtension ();
9947 main ()
9949 return XRRQueryExtension ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9960 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9974 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9978 _ACEOF
9980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9982 #include <X11/Xlib.h>
9983 #include <X11/extensions/Xrandr.h>
9985 main ()
9987 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_compile "$LINENO"; then :
9994 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10002 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10003 case "x$with_xrandr" in
10004 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10005 xno) ;;
10006 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10007 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10008 esac
10011 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10012 then
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10015 #include <X11/Xlib.h>
10016 #include <X11/extensions/Xinerama.h>
10018 main ()
10020 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10022 return 0;
10024 _ACEOF
10025 if ac_fn_c_try_compile "$LINENO"; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10027 $as_echo_n "checking for -lXinerama... " >&6; }
10028 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10029 $as_echo_n "(cached) " >&6
10030 else
10031 ac_check_soname_save_LIBS=$LIBS
10032 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10039 #ifdef __cplusplus
10040 extern "C"
10041 #endif
10042 char XineramaQueryScreens ();
10044 main ()
10046 return XineramaQueryScreens ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"; then :
10052 case "$LIBEXT" in
10053 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10054 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'` ;;
10055 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10056 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10057 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10058 fi ;;
10059 esac
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_soname_save_LIBS
10065 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10067 $as_echo "not found" >&6; }
10069 else
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10071 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10073 cat >>confdefs.h <<_ACEOF
10074 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10075 _ACEOF
10080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10082 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10083 case "x$with_xinerama" in
10084 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10085 xno) ;;
10086 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10087 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10088 esac
10091 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10092 then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10094 $as_echo_n "checking for -lXcomposite... " >&6; }
10095 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10096 $as_echo_n "(cached) " >&6
10097 else
10098 ac_check_soname_save_LIBS=$LIBS
10099 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10103 /* Override any GCC internal prototype to avoid an error.
10104 Use char because int might match the return type of a GCC
10105 builtin and then its argument prototype would still apply. */
10106 #ifdef __cplusplus
10107 extern "C"
10108 #endif
10109 char XCompositeRedirectWindow ();
10111 main ()
10113 return XCompositeRedirectWindow ();
10115 return 0;
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 case "$LIBEXT" in
10120 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10121 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'` ;;
10122 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10123 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10124 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10125 fi ;;
10126 esac
10128 rm -f core conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 LIBS=$ac_check_soname_save_LIBS
10132 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10134 $as_echo "not found" >&6; }
10136 else
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10138 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10140 cat >>confdefs.h <<_ACEOF
10141 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10142 _ACEOF
10147 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10148 case "x$with_xcomposite" in
10149 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10150 xno) ;;
10151 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10152 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10153 esac
10156 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10157 #include <X11/Xlib.h>
10158 #endif
10160 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10162 cat >>confdefs.h <<_ACEOF
10163 #define HAVE_XICCALLBACK_CALLBACK 1
10164 _ACEOF
10168 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10169 #include <X11/Xlib.h>
10170 #endif
10172 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10174 cat >>confdefs.h <<_ACEOF
10175 #define HAVE_XEVENT_XCOOKIE 1
10176 _ACEOF
10183 opengl_msg=""
10184 if test "x$with_opengl" != "xno"
10185 then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10187 $as_echo_n "checking for -lGL... " >&6; }
10188 if ${ac_cv_lib_soname_GL+:} false; then :
10189 $as_echo_n "(cached) " >&6
10190 else
10191 ac_check_soname_save_LIBS=$LIBS
10192 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10199 #ifdef __cplusplus
10200 extern "C"
10201 #endif
10202 char glXCreateContext ();
10204 main ()
10206 return glXCreateContext ();
10208 return 0;
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 case "$LIBEXT" in
10213 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10214 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'` ;;
10215 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10216 if ${ac_cv_lib_soname_GL:+false} :; then :
10217 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10218 fi ;;
10219 esac
10221 rm -f core conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_GL:+false} :; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10227 $as_echo "not found" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10229 $as_echo_n "checking for -lGL... " >&6; }
10230 if ${ac_cv_lib_soname_GL+:} false; then :
10231 $as_echo_n "(cached) " >&6
10232 else
10233 ac_check_soname_save_LIBS=$LIBS
10234 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"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10241 #ifdef __cplusplus
10242 extern "C"
10243 #endif
10244 char glXCreateContext ();
10246 main ()
10248 return glXCreateContext ();
10250 return 0;
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 case "$LIBEXT" in
10255 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10256 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'` ;;
10257 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10258 if ${ac_cv_lib_soname_GL:+false} :; then :
10259 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10260 fi ;;
10261 esac
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_soname_save_LIBS
10267 if ${ac_cv_lib_soname_GL:+false} :; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10269 $as_echo "not found" >&6; }
10270 if test -f /usr/X11R6/lib/libGL.a
10271 then
10272 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10273 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10274 else
10275 opengl_msg="No OpenGL library found on this system."
10277 else
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10279 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10281 cat >>confdefs.h <<_ACEOF
10282 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10283 _ACEOF
10285 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"
10287 else
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10289 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10291 cat >>confdefs.h <<_ACEOF
10292 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10293 _ACEOF
10295 OPENGL_LIBS="-lGL"
10297 if test "x$with_glu" != "xno"
10298 then
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10300 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10301 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_lib_save_LIBS=$LIBS
10305 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10312 #ifdef __cplusplus
10313 extern "C"
10314 #endif
10315 char gluLookAt ();
10317 main ()
10319 return gluLookAt ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_lib_GLU_gluLookAt=yes
10326 else
10327 ac_cv_lib_GLU_gluLookAt=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10334 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10335 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10339 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10340 case "x$with_glu" in
10341 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10342 xno) ;;
10343 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10344 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10345 esac
10349 if test "x$with_osmesa" != "xno"
10350 then
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10352 $as_echo_n "checking for -lOSMesa... " >&6; }
10353 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10354 $as_echo_n "(cached) " >&6
10355 else
10356 ac_check_soname_save_LIBS=$LIBS
10357 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10364 #ifdef __cplusplus
10365 extern "C"
10366 #endif
10367 char glAccum ();
10369 main ()
10371 return glAccum ();
10373 return 0;
10375 _ACEOF
10376 if ac_fn_c_try_link "$LINENO"; then :
10377 case "$LIBEXT" in
10378 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10381 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10382 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10383 fi ;;
10384 esac
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 LIBS=$ac_check_soname_save_LIBS
10390 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10392 $as_echo "not found" >&6; }
10394 else
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10396 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10398 cat >>confdefs.h <<_ACEOF
10399 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10400 _ACEOF
10404 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10405 case "x$with_osmesa" in
10406 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10407 xno) ;;
10408 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10409 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10410 esac
10414 if test -n "$opengl_msg"; then :
10415 case "x$with_opengl" in
10416 x) as_fn_append wine_warnings "|$opengl_msg
10417 OpenGL and Direct3D won't be supported." ;;
10418 xno) ;;
10419 *) as_fn_error $? "$opengl_msg
10420 OpenGL and Direct3D won't be supported.
10421 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10422 esac
10425 CPPFLAGS="$ac_save_CPPFLAGS"
10426 else
10427 X_CFLAGS=""
10428 X_LIBS=""
10429 enable_winex11_drv=${enable_winex11_drv:-no}
10431 if test "x$X_LIBS" = "x"; then :
10432 case "x$with_x" in
10433 xno) ;;
10434 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10435 without X support, which probably isn't what you want. You will need
10436 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10437 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10438 esac
10441 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10443 if test "$ac_cv_header_CL_cl_h" = "yes"
10444 then
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10446 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10447 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10448 $as_echo_n "(cached) " >&6
10449 else
10450 ac_check_lib_save_LIBS=$LIBS
10451 LIBS="-lOpenCL $LIBS"
10452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10453 /* end confdefs.h. */
10455 /* Override any GCC internal prototype to avoid an error.
10456 Use char because int might match the return type of a GCC
10457 builtin and then its argument prototype would still apply. */
10458 #ifdef __cplusplus
10459 extern "C"
10460 #endif
10461 char clGetPlatformInfo ();
10463 main ()
10465 return clGetPlatformInfo ();
10467 return 0;
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10472 else
10473 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_lib_save_LIBS
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10480 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10481 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10482 OPENCL_LIBS="-lOpenCL"
10487 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10488 case "x$with_opencl" in
10489 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10490 xno) ;;
10491 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10492 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10493 esac
10495 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10498 if test "x$with_xml" != "xno"
10499 then
10500 if ${XML2_CFLAGS:+false} :; then :
10501 if ${PKG_CONFIG+:} false; then :
10502 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10505 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10506 if ${XML2_LIBS:+false} :; then :
10507 if ${PKG_CONFIG+:} false; then :
10508 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10511 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10512 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10513 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10514 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10515 ac_save_CPPFLAGS=$CPPFLAGS
10516 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10517 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10518 do :
10519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10522 cat >>confdefs.h <<_ACEOF
10523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10524 _ACEOF
10528 done
10530 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"
10531 then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10533 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10534 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10535 $as_echo_n "(cached) " >&6
10536 else
10537 ac_check_lib_save_LIBS=$LIBS
10538 LIBS="-lxml2 $XML2_LIBS $LIBS"
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10542 /* Override any GCC internal prototype to avoid an error.
10543 Use char because int might match the return type of a GCC
10544 builtin and then its argument prototype would still apply. */
10545 #ifdef __cplusplus
10546 extern "C"
10547 #endif
10548 char xmlParseMemory ();
10550 main ()
10552 return xmlParseMemory ();
10554 return 0;
10556 _ACEOF
10557 if ac_fn_c_try_link "$LINENO"; then :
10558 ac_cv_lib_xml2_xmlParseMemory=yes
10559 else
10560 ac_cv_lib_xml2_xmlParseMemory=no
10562 rm -f core conftest.err conftest.$ac_objext \
10563 conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_lib_save_LIBS
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10567 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10568 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10570 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10572 else
10573 XML2_LIBS=""
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10577 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10578 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 ac_check_lib_save_LIBS=$LIBS
10582 LIBS="-lxml2 $XML2_LIBS $LIBS"
10583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10589 #ifdef __cplusplus
10590 extern "C"
10591 #endif
10592 char xmlReadMemory ();
10594 main ()
10596 return xmlReadMemory ();
10598 return 0;
10600 _ACEOF
10601 if ac_fn_c_try_link "$LINENO"; then :
10602 ac_cv_lib_xml2_xmlReadMemory=yes
10603 else
10604 ac_cv_lib_xml2_xmlReadMemory=no
10606 rm -f core conftest.err conftest.$ac_objext \
10607 conftest$ac_exeext conftest.$ac_ext
10608 LIBS=$ac_check_lib_save_LIBS
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10611 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10612 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10614 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10619 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10620 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10621 $as_echo_n "(cached) " >&6
10622 else
10623 ac_check_lib_save_LIBS=$LIBS
10624 LIBS="-lxml2 $XML2_LIBS $LIBS"
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10628 /* Override any GCC internal prototype to avoid an error.
10629 Use char because int might match the return type of a GCC
10630 builtin and then its argument prototype would still apply. */
10631 #ifdef __cplusplus
10632 extern "C"
10633 #endif
10634 char xmlNewDocPI ();
10636 main ()
10638 return xmlNewDocPI ();
10640 return 0;
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 ac_cv_lib_xml2_xmlNewDocPI=yes
10645 else
10646 ac_cv_lib_xml2_xmlNewDocPI=no
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_lib_save_LIBS
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10653 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10654 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
10656 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10661 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_check_lib_save_LIBS=$LIBS
10666 LIBS="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char xmlSchemaSetParserStructuredErrors ();
10678 main ()
10680 return xmlSchemaSetParserStructuredErrors ();
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
10687 else
10688 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
10690 rm -f core conftest.err conftest.$ac_objext \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
10698 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10703 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
10705 $as_echo_n "(cached) " >&6
10706 else
10707 ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char xmlSchemaSetValidStructuredErrors ();
10720 main ()
10722 return xmlSchemaSetValidStructuredErrors ();
10724 return 0;
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
10729 else
10730 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
10732 rm -f core conftest.err conftest.$ac_objext \
10733 conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
10740 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10745 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10746 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_check_lib_save_LIBS=$LIBS
10750 LIBS="-lxml2 $XML2_LIBS $LIBS"
10751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h. */
10754 /* Override any GCC internal prototype to avoid an error.
10755 Use char because int might match the return type of a GCC
10756 builtin and then its argument prototype would still apply. */
10757 #ifdef __cplusplus
10758 extern "C"
10759 #endif
10760 char xmlFirstElementChild ();
10762 main ()
10764 return xmlFirstElementChild ();
10766 return 0;
10768 _ACEOF
10769 if ac_fn_c_try_link "$LINENO"; then :
10770 ac_cv_lib_xml2_xmlFirstElementChild=yes
10771 else
10772 ac_cv_lib_xml2_xmlFirstElementChild=no
10774 rm -f core conftest.err conftest.$ac_objext \
10775 conftest$ac_exeext conftest.$ac_ext
10776 LIBS=$ac_check_lib_save_LIBS
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10779 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10780 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
10782 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10786 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10788 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
10790 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10794 else
10795 XML2_CFLAGS=""
10796 XML2_LIBS=""
10798 CPPFLAGS=$ac_save_CPPFLAGS
10799 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10800 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10803 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10804 case "x$with_xml" in
10805 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10806 xno) ;;
10807 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10808 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10809 esac
10812 if test "x$with_xslt" != "xno"
10813 then
10814 if ${XSLT_CFLAGS:+false} :; then :
10815 if ${PKG_CONFIG+:} false; then :
10816 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10819 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10820 if ${XSLT_LIBS:+false} :; then :
10821 if ${PKG_CONFIG+:} false; then :
10822 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10825 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10826 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
10827 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10828 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10829 ac_save_CPPFLAGS=$CPPFLAGS
10830 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
10831 for ac_header in libxslt/pattern.h libxslt/transform.h
10832 do :
10833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10834 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10835 # include <libxslt/pattern.h>
10836 #endif
10838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10839 cat >>confdefs.h <<_ACEOF
10840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10841 _ACEOF
10845 done
10847 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10848 then
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10850 $as_echo_n "checking for -lxslt... " >&6; }
10851 if ${ac_cv_lib_soname_xslt+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 ac_check_soname_save_LIBS=$LIBS
10855 LIBS="-lxslt $XSLT_LIBS $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10862 #ifdef __cplusplus
10863 extern "C"
10864 #endif
10865 char xsltCompilePattern ();
10867 main ()
10869 return xsltCompilePattern ();
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 case "$LIBEXT" in
10876 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10877 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'` ;;
10878 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10879 if ${ac_cv_lib_soname_xslt:+false} :; then :
10880 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10881 fi ;;
10882 esac
10884 rm -f core conftest.err conftest.$ac_objext \
10885 conftest$ac_exeext conftest.$ac_ext
10886 LIBS=$ac_check_soname_save_LIBS
10888 if ${ac_cv_lib_soname_xslt:+false} :; then :
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10890 $as_echo "not found" >&6; }
10892 else
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10894 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10896 cat >>confdefs.h <<_ACEOF
10897 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10898 _ACEOF
10902 else
10903 XSLT_CFLAGS=""
10905 CPPFLAGS=$ac_save_CPPFLAGS
10906 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10907 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10910 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10911 case "x$with_xslt" in
10912 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
10915 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10916 esac
10919 if test "x$with_dbus" != "xno"
10920 then
10921 if ${DBUS_CFLAGS:+false} :; then :
10922 if ${PKG_CONFIG+:} false; then :
10923 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10927 if ${DBUS_LIBS:+false} :; then :
10928 if ${PKG_CONFIG+:} false; then :
10929 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10934 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10935 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10936 ac_save_CPPFLAGS=$CPPFLAGS
10937 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
10938 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10939 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10941 $as_echo_n "checking for -ldbus-1... " >&6; }
10942 if ${ac_cv_lib_soname_dbus_1+:} false; then :
10943 $as_echo_n "(cached) " >&6
10944 else
10945 ac_check_soname_save_LIBS=$LIBS
10946 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10953 #ifdef __cplusplus
10954 extern "C"
10955 #endif
10956 char dbus_connection_close ();
10958 main ()
10960 return dbus_connection_close ();
10962 return 0;
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"; then :
10966 case "$LIBEXT" in
10967 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10968 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'` ;;
10969 *) 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'`
10970 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10971 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10972 fi ;;
10973 esac
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_soname_save_LIBS
10979 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10981 $as_echo "not found" >&6; }
10982 DBUS_CFLAGS=""
10983 else
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10985 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10987 cat >>confdefs.h <<_ACEOF
10988 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10989 _ACEOF
10993 else
10994 DBUS_CFLAGS=""
10998 CPPFLAGS=$ac_save_CPPFLAGS
10999 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11000 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11003 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11004 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11005 case "x$with_dbus" in
11006 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11007 xno) ;;
11008 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11009 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11010 esac
11013 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11014 then
11015 if ${HAL_CFLAGS:+false} :; then :
11016 if ${PKG_CONFIG+:} false; then :
11017 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11021 if ${HAL_LIBS:+false} :; then :
11022 if ${PKG_CONFIG+:} false; then :
11023 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11027 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11028 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11029 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11030 ac_save_CPPFLAGS=$CPPFLAGS
11031 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11032 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11033 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11035 $as_echo_n "checking for -lhal... " >&6; }
11036 if ${ac_cv_lib_soname_hal+:} false; then :
11037 $as_echo_n "(cached) " >&6
11038 else
11039 ac_check_soname_save_LIBS=$LIBS
11040 LIBS="-lhal $HAL_LIBS $LIBS"
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11047 #ifdef __cplusplus
11048 extern "C"
11049 #endif
11050 char libhal_ctx_new ();
11052 main ()
11054 return libhal_ctx_new ();
11056 return 0;
11058 _ACEOF
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 case "$LIBEXT" in
11061 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11062 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'` ;;
11063 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11064 if ${ac_cv_lib_soname_hal:+false} :; then :
11065 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11066 fi ;;
11067 esac
11069 rm -f core conftest.err conftest.$ac_objext \
11070 conftest$ac_exeext conftest.$ac_ext
11071 LIBS=$ac_check_soname_save_LIBS
11073 if ${ac_cv_lib_soname_hal:+false} :; then :
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11075 $as_echo "not found" >&6; }
11076 HAL_CFLAGS=""
11077 else
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11079 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11081 cat >>confdefs.h <<_ACEOF
11082 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11083 _ACEOF
11087 else
11088 HAL_CFLAGS=""
11092 CPPFLAGS=$ac_save_CPPFLAGS
11093 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11094 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11096 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11097 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11098 case "x$with_hal" in
11099 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11100 xno) ;;
11101 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11102 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11103 esac
11107 if test "x$with_gnutls" != "xno"
11108 then
11109 if ${GNUTLS_CFLAGS:+false} :; then :
11110 if ${PKG_CONFIG+:} false; then :
11111 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11115 if ${GNUTLS_LIBS:+false} :; then :
11116 if ${PKG_CONFIG+:} false; then :
11117 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11122 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11123 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11124 ac_save_CPPFLAGS=$CPPFLAGS
11125 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11126 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11127 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11130 #include <gnutls/gnutls.h>
11131 #include <gnutls/crypto.h>
11133 main ()
11135 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_compile "$LINENO"; then :
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11142 $as_echo_n "checking for -lgnutls... " >&6; }
11143 if ${ac_cv_lib_soname_gnutls+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_soname_save_LIBS=$LIBS
11147 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char gnutls_global_init ();
11159 main ()
11161 return gnutls_global_init ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 case "$LIBEXT" in
11168 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11169 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11170 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11171 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11172 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11173 fi ;;
11174 esac
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_soname_save_LIBS
11180 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11182 $as_echo "not found" >&6; }
11183 GNUTLS_CFLAGS=""
11184 else
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11186 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11188 cat >>confdefs.h <<_ACEOF
11189 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11190 _ACEOF
11195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11196 else
11197 GNUTLS_CFLAGS=""
11201 CPPFLAGS=$ac_save_CPPFLAGS
11202 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11203 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11206 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11207 case "x$with_gnutls" in
11208 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11209 xno) ;;
11210 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11211 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11212 esac
11215 CURSES_LIBS=""
11216 if test "$ac_cv_header_ncurses_h" = "yes"
11217 then
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11219 $as_echo_n "checking for -lncurses... " >&6; }
11220 if ${ac_cv_lib_soname_ncurses+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_soname_save_LIBS=$LIBS
11224 LIBS="-lncurses $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char waddch ();
11236 main ()
11238 return waddch ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 case "$LIBEXT" in
11245 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11246 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11247 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11248 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11249 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11250 fi ;;
11251 esac
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_soname_save_LIBS
11257 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11259 $as_echo "not found" >&6; }
11261 else
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11263 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11265 cat >>confdefs.h <<_ACEOF
11266 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11267 _ACEOF
11269 CURSES_LIBS="-lncurses"
11271 elif test "$ac_cv_header_curses_h" = "yes"
11272 then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11274 $as_echo_n "checking for -lcurses... " >&6; }
11275 if ${ac_cv_lib_soname_curses+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_soname_save_LIBS=$LIBS
11279 LIBS="-lcurses $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char waddch ();
11291 main ()
11293 return waddch ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 case "$LIBEXT" in
11300 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11301 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'` ;;
11302 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11303 if ${ac_cv_lib_soname_curses:+false} :; then :
11304 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11305 fi ;;
11306 esac
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_soname_save_LIBS
11312 if ${ac_cv_lib_soname_curses:+false} :; then :
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11314 $as_echo "not found" >&6; }
11316 else
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11318 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11320 cat >>confdefs.h <<_ACEOF
11321 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11322 _ACEOF
11324 CURSES_LIBS="-lcurses"
11327 ac_save_LIBS="$LIBS"
11328 LIBS="$LIBS $CURSES_LIBS"
11329 for ac_func in mousemask
11330 do :
11331 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11332 if test "x$ac_cv_func_mousemask" = xyes; then :
11333 cat >>confdefs.h <<_ACEOF
11334 #define HAVE_MOUSEMASK 1
11335 _ACEOF
11338 done
11340 LIBS="$ac_save_LIBS"
11341 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11342 case "x$with_curses" in
11343 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11344 xno) ;;
11345 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11346 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11347 esac
11350 if test "x$with_sane" != "xno"
11351 then
11352 if ${SANE_CFLAGS:+false} :; then :
11353 if ${PKG_CONFIG+:} false; then :
11354 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11357 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11358 if ${SANE_LIBS:+false} :; then :
11359 if ${PKG_CONFIG+:} false; then :
11360 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11363 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11365 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11366 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11367 ac_save_CPPFLAGS=$CPPFLAGS
11368 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11369 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11370 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11372 $as_echo_n "checking for -lsane... " >&6; }
11373 if ${ac_cv_lib_soname_sane+:} false; then :
11374 $as_echo_n "(cached) " >&6
11375 else
11376 ac_check_soname_save_LIBS=$LIBS
11377 LIBS="-lsane $SANE_LIBS $LIBS"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char sane_init ();
11389 main ()
11391 return sane_init ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 case "$LIBEXT" in
11398 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11399 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'` ;;
11400 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11401 if ${ac_cv_lib_soname_sane:+false} :; then :
11402 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11403 fi ;;
11404 esac
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_soname_save_LIBS
11410 if ${ac_cv_lib_soname_sane:+false} :; then :
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11412 $as_echo "not found" >&6; }
11413 SANE_CFLAGS=""
11414 else
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11416 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11418 cat >>confdefs.h <<_ACEOF
11419 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11420 _ACEOF
11424 else
11425 SANE_CFLAGS=""
11429 CPPFLAGS=$ac_save_CPPFLAGS
11430 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11431 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11434 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11435 case "x$with_sane" in
11436 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11437 xno) ;;
11438 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11439 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11440 esac
11443 if test "x$with_v4l" != "xno"
11444 then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11446 $as_echo_n "checking for -lv4l1... " >&6; }
11447 if ${ac_cv_lib_soname_v4l1+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lv4l1 $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char v4l1_open ();
11463 main ()
11465 return v4l1_open ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11476 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11480 rm -f core conftest.err conftest.$ac_objext \
11481 conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_soname_save_LIBS
11484 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11486 $as_echo "not found" >&6; }
11488 else
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11490 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11492 cat >>confdefs.h <<_ACEOF
11493 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11494 _ACEOF
11499 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11500 case "x$with_v4l" in
11501 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11502 xno) ;;
11503 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11504 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11505 esac
11508 if test "x$with_gphoto" != "xno"
11509 then
11510 if ${GPHOTO2_CFLAGS:+false} :; then :
11511 if ${PKG_CONFIG+:} false; then :
11512 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11515 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11516 if ${GPHOTO2_LIBS:+false} :; then :
11517 if ${PKG_CONFIG+:} false; then :
11518 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11521 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11522 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11523 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11524 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11525 ac_save_CPPFLAGS=$CPPFLAGS
11526 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11527 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11528 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11530 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11531 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char gp_camera_new ();
11547 main ()
11549 return gp_camera_new ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 ac_cv_lib_gphoto2_gp_camera_new=yes
11556 else
11557 ac_cv_lib_gphoto2_gp_camera_new=no
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_lib_save_LIBS
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11564 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11565 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11567 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11569 else
11570 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11573 else
11574 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11578 CPPFLAGS=$ac_save_CPPFLAGS
11579 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11580 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11582 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11583 if ${PKG_CONFIG+:} false; then :
11584 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11587 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11588 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11589 if ${PKG_CONFIG+:} false; then :
11590 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11593 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11594 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11595 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11596 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11597 ac_save_CPPFLAGS=$CPPFLAGS
11598 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11599 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11600 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11602 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11603 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11604 $as_echo_n "(cached) " >&6
11605 else
11606 ac_check_lib_save_LIBS=$LIBS
11607 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11614 #ifdef __cplusplus
11615 extern "C"
11616 #endif
11617 char gp_port_info_list_new ();
11619 main ()
11621 return gp_port_info_list_new ();
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_link "$LINENO"; then :
11627 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
11628 else
11629 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_lib_save_LIBS
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11636 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11637 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
11639 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11641 else
11642 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11645 else
11646 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
11650 CPPFLAGS=$ac_save_CPPFLAGS
11651 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11652 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11655 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11656 case "x$with_gphoto" in
11657 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11658 xno) ;;
11659 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11660 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11661 esac
11663 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11664 case "x$with_gphoto" in
11665 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11666 xno) ;;
11667 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11668 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11669 esac
11673 if test "$ac_cv_header_resolv_h" = "yes"
11674 then
11675 ac_save_LIBS="$LIBS"
11676 for lib in '' -lresolv
11678 LIBS="$lib $ac_save_LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11681 #ifdef HAVE_NETINET_IN_H
11682 #include <netinet/in.h>
11683 #endif
11684 #include <resolv.h>
11686 main ()
11688 res_query("foo",ns_c_in,0,0,0);
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"; then :
11695 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11697 RESOLV_LIBS="$lib"
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 if test "${RESOLV_LIBS+set}" = set; then
11703 break
11705 done
11706 LIBS="$ac_save_LIBS"
11709 if test "x$with_lcms2" != "xno"
11710 then
11711 if ${LCMS2_CFLAGS:+false} :; then :
11712 if ${PKG_CONFIG+:} false; then :
11713 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11717 if ${LCMS2_LIBS:+false} :; then :
11718 if ${PKG_CONFIG+:} false; then :
11719 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11723 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
11724 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11725 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11726 ac_save_CPPFLAGS=$CPPFLAGS
11727 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
11728 for ac_header in lcms2.h
11729 do :
11730 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11731 if test "x$ac_cv_header_lcms2_h" = xyes; then :
11732 cat >>confdefs.h <<_ACEOF
11733 #define HAVE_LCMS2_H 1
11734 _ACEOF
11738 done
11740 if test "$ac_cv_header_lcms2_h" = "yes"
11741 then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11743 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11744 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
11745 $as_echo_n "(cached) " >&6
11746 else
11747 ac_check_lib_save_LIBS=$LIBS
11748 LIBS="-llcms2 $LIBS"
11749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11755 #ifdef __cplusplus
11756 extern "C"
11757 #endif
11758 char cmsOpenProfileFromFile ();
11760 main ()
11762 return cmsOpenProfileFromFile ();
11764 return 0;
11766 _ACEOF
11767 if ac_fn_c_try_link "$LINENO"; then :
11768 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
11769 else
11770 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_lib_save_LIBS
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11777 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11778 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
11780 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11782 else
11783 LCMS2_LIBS=""
11786 else
11787 LCMS2_CFLAGS=""
11788 LCMS2_LIBS=""
11790 CPPFLAGS=$ac_save_CPPFLAGS
11791 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11792 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11795 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11796 case "x$with_cms" in
11797 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11800 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11801 esac
11804 if test "x$with_freetype" != "xno"
11805 then
11806 if ${FREETYPE_CFLAGS:+false} :; then :
11807 if ${PKG_CONFIG+:} false; then :
11808 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11811 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11812 if ${FREETYPE_LIBS:+false} :; then :
11813 if ${PKG_CONFIG+:} false; then :
11814 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11817 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11818 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
11819 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11820 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11821 ac_save_CPPFLAGS=$CPPFLAGS
11822 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
11823 for ac_header in ft2build.h
11824 do :
11825 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11826 if test "x$ac_cv_header_ft2build_h" = xyes; then :
11827 cat >>confdefs.h <<_ACEOF
11828 #define HAVE_FT2BUILD_H 1
11829 _ACEOF
11833 done
11835 if test "$ac_cv_header_ft2build_h" = "yes"
11836 then
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11838 $as_echo_n "checking for -lfreetype... " >&6; }
11839 if ${ac_cv_lib_soname_freetype+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 ac_check_soname_save_LIBS=$LIBS
11843 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11845 /* end confdefs.h. */
11847 /* Override any GCC internal prototype to avoid an error.
11848 Use char because int might match the return type of a GCC
11849 builtin and then its argument prototype would still apply. */
11850 #ifdef __cplusplus
11851 extern "C"
11852 #endif
11853 char FT_Init_FreeType ();
11855 main ()
11857 return FT_Init_FreeType ();
11859 return 0;
11861 _ACEOF
11862 if ac_fn_c_try_link "$LINENO"; then :
11863 case "$LIBEXT" in
11864 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11865 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'` ;;
11866 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11867 if ${ac_cv_lib_soname_freetype:+false} :; then :
11868 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11869 fi ;;
11870 esac
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_soname_save_LIBS
11876 if ${ac_cv_lib_soname_freetype:+false} :; then :
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11878 $as_echo "not found" >&6; }
11879 FREETYPE_LIBS=""
11880 else
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11882 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11884 cat >>confdefs.h <<_ACEOF
11885 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11886 _ACEOF
11889 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11891 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11892 #include FT_MODULE_H
11894 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
11896 cat >>confdefs.h <<_ACEOF
11897 #define HAVE_FT_TRUETYPEENGINETYPE 1
11898 _ACEOF
11904 else
11905 FREETYPE_CFLAGS=""
11906 FREETYPE_LIBS=""
11908 CPPFLAGS=$ac_save_CPPFLAGS
11909 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11910 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11913 if test "x$ac_cv_lib_soname_freetype" = x; then :
11914 case "x$with_freetype" in
11915 xno) ;;
11916 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
11917 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11918 esac
11920 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11923 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11924 if ${ac_cv_c_ppdev+:} false; then :
11925 $as_echo_n "(cached) " >&6
11926 else
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #ifdef HAVE_SYS_IOCTL_H
11930 # include <sys/ioctl.h>
11931 #endif
11932 #include <linux/ppdev.h>
11934 main ()
11936 ioctl (1,PPCLAIM,0)
11938 return 0;
11940 _ACEOF
11941 if ac_fn_c_try_compile "$LINENO"; then :
11942 ac_cv_c_ppdev="yes"
11943 else
11944 ac_cv_c_ppdev="no"
11946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11949 $as_echo "$ac_cv_c_ppdev" >&6; }
11950 if test "$ac_cv_c_ppdev" = "yes"
11951 then
11953 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11957 ac_wine_check_funcs_save_LIBS="$LIBS"
11958 LIBS="$LIBS $PTHREAD_LIBS"
11959 for ac_func in \
11960 pthread_attr_get_np \
11961 pthread_getattr_np \
11962 pthread_getthreadid_np \
11963 pthread_get_stackaddr_np \
11964 pthread_get_stacksize_np
11965 do :
11966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11968 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11969 cat >>confdefs.h <<_ACEOF
11970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 _ACEOF
11974 done
11976 LIBS="$ac_wine_check_funcs_save_LIBS"
11978 if test "$ac_cv_header_zlib_h" = "yes"
11979 then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11981 $as_echo_n "checking for inflate in -lz... " >&6; }
11982 if ${ac_cv_lib_z_inflate+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_lib_save_LIBS=$LIBS
11986 LIBS="-lz $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char inflate ();
11998 main ()
12000 return inflate ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 ac_cv_lib_z_inflate=yes
12007 else
12008 ac_cv_lib_z_inflate=no
12010 rm -f core conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12012 LIBS=$ac_check_lib_save_LIBS
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12015 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12016 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12018 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12020 Z_LIBS="-lz"
12025 if test "x$Z_LIBS" = "x"; then :
12026 case "x$with_zlib" in
12027 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12028 xno) ;;
12029 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12030 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12031 esac
12034 if test "x$enable_tools" != xno
12035 then
12036 if test "$ac_cv_header_gettext_po_h" = "yes"
12037 then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12039 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12040 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12041 $as_echo_n "(cached) " >&6
12042 else
12043 ac_check_lib_save_LIBS=$LIBS
12044 LIBS="-lgettextpo $LIBS"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 /* Override any GCC internal prototype to avoid an error.
12049 Use char because int might match the return type of a GCC
12050 builtin and then its argument prototype would still apply. */
12051 #ifdef __cplusplus
12052 extern "C"
12053 #endif
12054 char po_message_msgctxt ();
12056 main ()
12058 return po_message_msgctxt ();
12060 return 0;
12062 _ACEOF
12063 if ac_fn_c_try_link "$LINENO"; then :
12064 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12065 else
12066 ac_cv_lib_gettextpo_po_message_msgctxt=no
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_lib_save_LIBS
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12073 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12074 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12076 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12078 GETTEXTPO_LIBS="-lgettextpo"
12083 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12084 case "x$with_gettextpo" in
12085 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12086 xno) ;;
12087 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12088 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12089 esac
12093 if test "x$with_gstreamer" != "xno"
12094 then
12095 if ${GSTREAMER_CFLAGS:+false} :; then :
12096 if ${PKG_CONFIG+:} false; then :
12097 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12101 if ${GSTREAMER_LIBS:+false} :; then :
12102 if ${PKG_CONFIG+:} false; then :
12103 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12108 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12109 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12110 ac_save_CPPFLAGS=$CPPFLAGS
12111 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12112 ac_gst_incl=""
12113 for i in $GSTREAMER_CFLAGS
12115 case "$i" in
12116 -I*) ac_gst_incl="$ac_gst_incl $i";;
12117 esac
12118 done
12119 GSTREAMER_CFLAGS=$ac_gst_incl
12120 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12121 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12122 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
12123 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12126 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12129 #include <gst/app/gstappsink.h>
12131 main ()
12133 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12135 return 0;
12137 _ACEOF
12138 if ac_fn_c_try_compile "$LINENO"; then :
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12140 $as_echo "yes" >&6; }
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12142 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12143 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_lib_save_LIBS=$LIBS
12147 LIBS="-lgstreamer-0.10 $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char gst_pad_get_caps_reffed ();
12159 main ()
12161 return gst_pad_get_caps_reffed ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
12168 else
12169 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12176 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12177 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12179 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12180 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
12181 $as_echo_n "(cached) " >&6
12182 else
12183 ac_check_lib_save_LIBS=$LIBS
12184 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 /* Override any GCC internal prototype to avoid an error.
12189 Use char because int might match the return type of a GCC
12190 builtin and then its argument prototype would still apply. */
12191 #ifdef __cplusplus
12192 extern "C"
12193 #endif
12194 char gst_app_buffer_new ();
12196 main ()
12198 return gst_app_buffer_new ();
12200 return 0;
12202 _ACEOF
12203 if ac_fn_c_try_link "$LINENO"; then :
12204 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
12205 else
12206 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
12208 rm -f core conftest.err conftest.$ac_objext \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_lib_save_LIBS
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12213 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12214 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
12220 else
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12228 else
12229 GSTREAMER_CFLAGS=""
12233 CPPFLAGS=$ac_save_CPPFLAGS
12234 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12235 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12238 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
12239 case "x$with_gstreamer" in
12240 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12241 xno) ;;
12242 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12243 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12244 esac
12246 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12248 ALSA_LIBS=""
12250 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12251 then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12253 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12254 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12255 $as_echo_n "(cached) " >&6
12256 else
12257 ac_check_lib_save_LIBS=$LIBS
12258 LIBS="-lasound $LIBS"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 /* Override any GCC internal prototype to avoid an error.
12263 Use char because int might match the return type of a GCC
12264 builtin and then its argument prototype would still apply. */
12265 #ifdef __cplusplus
12266 extern "C"
12267 #endif
12268 char snd_pcm_hw_params_get_access_mask ();
12270 main ()
12272 return snd_pcm_hw_params_get_access_mask ();
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_link "$LINENO"; then :
12278 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12279 else
12280 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12282 rm -f core conftest.err conftest.$ac_objext \
12283 conftest$ac_exeext conftest.$ac_ext
12284 LIBS=$ac_check_lib_save_LIBS
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12287 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12288 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12290 /* end confdefs.h. */
12291 #ifdef HAVE_ALSA_ASOUNDLIB_H
12292 #include <alsa/asoundlib.h>
12293 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12294 #include <sys/asoundlib.h>
12295 #endif
12297 main ()
12299 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_compile "$LINENO"; then :
12305 ALSA_LIBS="-lasound"
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12312 if test "x$with_oss" != xno
12313 then
12314 ac_save_CPPFLAGS="$CPPFLAGS"
12315 if test -f /etc/oss.conf
12316 then
12317 . /etc/oss.conf
12319 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12320 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12321 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12322 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12323 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12325 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12327 cat >>confdefs.h <<_ACEOF
12328 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12329 _ACEOF
12331 OSS4_CFLAGS="$ac_oss_incl"
12338 CPPFLAGS="$ac_save_CPPFLAGS"
12339 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12340 then
12341 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12345 if test "x$with_capi" != "xno"
12346 then
12347 if ${CAPI20_CFLAGS:+false} :; then :
12348 if ${PKG_CONFIG+:} false; then :
12349 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12353 if ${CAPI20_LIBS:+false} :; then :
12354 if ${PKG_CONFIG+:} false; then :
12355 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12360 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12361 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12362 ac_save_CPPFLAGS=$CPPFLAGS
12363 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12364 for ac_header in capi20.h linux/capi.h
12365 do :
12366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12367 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12369 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12370 cat >>confdefs.h <<_ACEOF
12371 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12372 _ACEOF
12376 done
12378 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12379 then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12381 $as_echo_n "checking for -lcapi20... " >&6; }
12382 if ${ac_cv_lib_soname_capi20+:} false; then :
12383 $as_echo_n "(cached) " >&6
12384 else
12385 ac_check_soname_save_LIBS=$LIBS
12386 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 #ifdef __cplusplus
12394 extern "C"
12395 #endif
12396 char capi20_register ();
12398 main ()
12400 return capi20_register ();
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_link "$LINENO"; then :
12406 case "$LIBEXT" in
12407 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12408 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'` ;;
12409 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12410 if ${ac_cv_lib_soname_capi20:+false} :; then :
12411 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12412 fi ;;
12413 esac
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_soname_save_LIBS
12419 if ${ac_cv_lib_soname_capi20:+false} :; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12421 $as_echo "not found" >&6; }
12423 else
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12425 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12427 cat >>confdefs.h <<_ACEOF
12428 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12429 _ACEOF
12434 CPPFLAGS=$ac_save_CPPFLAGS
12435 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12436 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12439 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12440 case "x$with_capi" in
12441 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12442 xno) ;;
12443 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12444 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12445 esac
12448 CUPS_CFLAGS=""
12450 if test "x$with_cups" != "xno"
12451 then
12452 ac_save_CPPFLAGS="$CPPFLAGS"
12453 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
12454 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
12455 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12456 for ac_header in cups/cups.h
12457 do :
12458 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12459 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12460 cat >>confdefs.h <<_ACEOF
12461 #define HAVE_CUPS_CUPS_H 1
12462 _ACEOF
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12464 $as_echo_n "checking for -lcups... " >&6; }
12465 if ${ac_cv_lib_soname_cups+:} false; then :
12466 $as_echo_n "(cached) " >&6
12467 else
12468 ac_check_soname_save_LIBS=$LIBS
12469 LIBS="-lcups $ac_cups_libs $LIBS"
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 #ifdef __cplusplus
12477 extern "C"
12478 #endif
12479 char cupsGetDefault ();
12481 main ()
12483 return cupsGetDefault ();
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 case "$LIBEXT" in
12490 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12491 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'` ;;
12492 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12493 if ${ac_cv_lib_soname_cups:+false} :; then :
12494 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12495 fi ;;
12496 esac
12498 rm -f core conftest.err conftest.$ac_objext \
12499 conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_soname_save_LIBS
12502 if ${ac_cv_lib_soname_cups:+false} :; then :
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12504 $as_echo "not found" >&6; }
12506 else
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12508 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12510 cat >>confdefs.h <<_ACEOF
12511 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12512 _ACEOF
12514 CUPS_CFLAGS="$ac_cups_cflags"
12518 done
12520 CPPFLAGS="$ac_save_CPPFLAGS"
12522 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12523 case "x$with_cups" in
12524 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12525 xno) ;;
12526 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12527 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12528 esac
12531 if test "x$with_fontconfig" != "xno"
12532 then
12533 if ${FONTCONFIG_CFLAGS:+false} :; then :
12534 if ${PKG_CONFIG+:} false; then :
12535 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12538 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12539 if ${FONTCONFIG_LIBS:+false} :; then :
12540 if ${PKG_CONFIG+:} false; then :
12541 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12544 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
12546 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12547 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12548 ac_save_CPPFLAGS=$CPPFLAGS
12549 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
12550 for ac_header in fontconfig/fontconfig.h
12551 do :
12552 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12553 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12556 _ACEOF
12560 done
12562 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12565 $as_echo_n "checking for -lfontconfig... " >&6; }
12566 if ${ac_cv_lib_soname_fontconfig+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_soname_save_LIBS=$LIBS
12570 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char FcInit ();
12582 main ()
12584 return FcInit ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 case "$LIBEXT" in
12591 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12595 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 fi ;;
12597 esac
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12606 FONTCONFIG_CFLAGS=""
12607 else
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12609 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12611 cat >>confdefs.h <<_ACEOF
12612 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12613 _ACEOF
12617 else
12618 FONTCONFIG_CFLAGS=""
12620 CPPFLAGS=$ac_save_CPPFLAGS
12621 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12622 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12625 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12626 case "x$with_fontconfig" in
12627 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12628 xno) ;;
12629 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12630 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12631 esac
12634 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12635 then
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12637 $as_echo_n "checking for -lgsm... " >&6; }
12638 if ${ac_cv_lib_soname_gsm+:} false; then :
12639 $as_echo_n "(cached) " >&6
12640 else
12641 ac_check_soname_save_LIBS=$LIBS
12642 LIBS="-lgsm $LIBS"
12643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char gsm_create ();
12654 main ()
12656 return gsm_create ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 case "$LIBEXT" in
12663 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12664 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'` ;;
12665 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12666 if ${ac_cv_lib_soname_gsm:+false} :; then :
12667 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12668 fi ;;
12669 esac
12671 rm -f core conftest.err conftest.$ac_objext \
12672 conftest$ac_exeext conftest.$ac_ext
12673 LIBS=$ac_check_soname_save_LIBS
12675 if ${ac_cv_lib_soname_gsm:+false} :; then :
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12677 $as_echo "not found" >&6; }
12679 else
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12681 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12683 cat >>confdefs.h <<_ACEOF
12684 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12685 _ACEOF
12690 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12691 case "x$with_gsm" in
12692 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12693 xno) ;;
12694 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12695 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12696 esac
12699 if test "x$with_jpeg" != "xno"
12700 then
12701 if ${JPEG_CFLAGS:+false} :; then :
12702 if ${PKG_CONFIG+:} false; then :
12703 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12707 if ${JPEG_LIBS:+false} :; then :
12708 if ${PKG_CONFIG+:} false; then :
12709 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12714 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12715 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12716 ac_save_CPPFLAGS=$CPPFLAGS
12717 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
12718 for ac_header in jpeglib.h
12719 do :
12720 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12721 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
12722 cat >>confdefs.h <<_ACEOF
12723 #define HAVE_JPEGLIB_H 1
12724 _ACEOF
12728 done
12730 if test "$ac_cv_header_jpeglib_h" = "yes"
12731 then
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12733 $as_echo_n "checking for -ljpeg... " >&6; }
12734 if ${ac_cv_lib_soname_jpeg+:} false; then :
12735 $as_echo_n "(cached) " >&6
12736 else
12737 ac_check_soname_save_LIBS=$LIBS
12738 LIBS="-ljpeg $JPEG_LIBS $LIBS"
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12742 /* Override any GCC internal prototype to avoid an error.
12743 Use char because int might match the return type of a GCC
12744 builtin and then its argument prototype would still apply. */
12745 #ifdef __cplusplus
12746 extern "C"
12747 #endif
12748 char jpeg_start_decompress ();
12750 main ()
12752 return jpeg_start_decompress ();
12754 return 0;
12756 _ACEOF
12757 if ac_fn_c_try_link "$LINENO"; then :
12758 case "$LIBEXT" in
12759 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12760 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'` ;;
12761 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12762 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12763 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12764 fi ;;
12765 esac
12767 rm -f core conftest.err conftest.$ac_objext \
12768 conftest$ac_exeext conftest.$ac_ext
12769 LIBS=$ac_check_soname_save_LIBS
12771 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12773 $as_echo "not found" >&6; }
12774 JPEG_CFLAGS=""
12775 else
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12777 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12779 cat >>confdefs.h <<_ACEOF
12780 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12781 _ACEOF
12785 else
12786 JPEG_CFLAGS=""
12788 CPPFLAGS=$ac_save_CPPFLAGS
12789 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12790 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12793 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12794 case "x$with_jpeg" in
12795 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12796 xno) ;;
12797 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12798 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12799 esac
12802 if test "x$with_png" != "xno"
12803 then
12804 if ${PNG_CFLAGS:+false} :; then :
12805 if ${PKG_CONFIG+:} false; then :
12806 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12809 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
12810 if ${PNG_LIBS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
12815 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
12817 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12819 ac_save_CPPFLAGS=$CPPFLAGS
12820 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
12821 for ac_header in png.h
12822 do :
12823 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12824 if test "x$ac_cv_header_png_h" = xyes; then :
12825 cat >>confdefs.h <<_ACEOF
12826 #define HAVE_PNG_H 1
12827 _ACEOF
12831 done
12833 if test "$ac_cv_header_png_h" = "yes"
12834 then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12836 $as_echo_n "checking for -lpng... " >&6; }
12837 if ${ac_cv_lib_soname_png+:} false; then :
12838 $as_echo_n "(cached) " >&6
12839 else
12840 ac_check_soname_save_LIBS=$LIBS
12841 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 #ifdef __cplusplus
12849 extern "C"
12850 #endif
12851 char png_create_read_struct ();
12853 main ()
12855 return png_create_read_struct ();
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 case "$LIBEXT" in
12862 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12863 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'` ;;
12864 *) 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'`
12865 if ${ac_cv_lib_soname_png:+false} :; then :
12866 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12867 fi ;;
12868 esac
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_soname_save_LIBS
12874 if ${ac_cv_lib_soname_png:+false} :; then :
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12876 $as_echo "not found" >&6; }
12877 PNG_CFLAGS=""
12878 else
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12880 $as_echo "$ac_cv_lib_soname_png" >&6; }
12882 cat >>confdefs.h <<_ACEOF
12883 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12884 _ACEOF
12886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12887 /* end confdefs.h. */
12888 #include <png.h>
12890 main ()
12892 typeof(png_set_expand_gray_1_2_4_to_8) *p
12894 return 0;
12896 _ACEOF
12897 if ac_fn_c_try_compile "$LINENO"; then :
12899 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12904 else
12905 PNG_CFLAGS=""
12907 CPPFLAGS=$ac_save_CPPFLAGS
12908 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12909 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12912 if test "x$ac_cv_lib_soname_png" = "x"; then :
12913 case "x$with_png" in
12914 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12915 xno) ;;
12916 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
12917 This is an error since --with-png was requested." "$LINENO" 5 ;;
12918 esac
12921 if test "x$with_tiff" != "xno"
12922 then
12923 if ${TIFF_CFLAGS:+false} :; then :
12924 if ${PKG_CONFIG+:} false; then :
12925 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12929 if ${TIFF_LIBS:+false} :; then :
12930 if ${PKG_CONFIG+:} false; then :
12931 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12936 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12937 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12938 ac_save_CPPFLAGS=$CPPFLAGS
12939 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
12940 for ac_header in tiffio.h
12941 do :
12942 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12943 if test "x$ac_cv_header_tiffio_h" = xyes; then :
12944 cat >>confdefs.h <<_ACEOF
12945 #define HAVE_TIFFIO_H 1
12946 _ACEOF
12950 done
12952 if test "$ac_cv_header_tiffio_h" = "yes"
12953 then
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12955 $as_echo_n "checking for -ltiff... " >&6; }
12956 if ${ac_cv_lib_soname_tiff+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_soname_save_LIBS=$LIBS
12960 LIBS="-ltiff $TIFF_LIBS $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char TIFFClientOpen ();
12972 main ()
12974 return TIFFClientOpen ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 case "$LIBEXT" in
12981 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12982 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'` ;;
12983 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12984 if ${ac_cv_lib_soname_tiff:+false} :; then :
12985 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12986 fi ;;
12987 esac
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_soname_save_LIBS
12993 if ${ac_cv_lib_soname_tiff:+false} :; then :
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12995 $as_echo "not found" >&6; }
12997 else
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12999 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13001 cat >>confdefs.h <<_ACEOF
13002 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13003 _ACEOF
13008 CPPFLAGS=$ac_save_CPPFLAGS
13009 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13014 case "x$with_tiff" in
13015 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13018 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13019 esac
13022 if test "x$with_mpg123" != "xno"
13023 then
13024 if ${MPG123_CFLAGS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13030 if ${MPG123_LIBS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13036 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13039 ac_save_CPPFLAGS=$CPPFLAGS
13040 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13041 for ac_header in mpg123.h
13042 do :
13043 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13044 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define HAVE_MPG123_H 1
13047 _ACEOF
13051 done
13053 if test "$ac_cv_header_mpg123_h" = "yes"
13054 then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13056 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13057 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_lib_save_LIBS=$LIBS
13061 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char mpg123_feed ();
13073 main ()
13075 return mpg123_feed ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 ac_cv_lib_mpg123_mpg123_feed=yes
13082 else
13083 ac_cv_lib_mpg123_mpg123_feed=no
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_lib_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13090 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13091 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13093 else
13094 MPG123_LIBS=""
13097 else
13098 MPG123_CFLAGS=""
13099 MPG123_LIBS=""
13101 CPPFLAGS=$ac_save_CPPFLAGS
13102 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13103 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13106 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13107 case "x$with_mpg123" in
13108 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13109 xno) ;;
13110 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13111 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13112 esac
13114 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}
13116 if test "$ac_cv_header_AL_al_h" = "yes"
13117 then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13119 $as_echo_n "checking for -lopenal... " >&6; }
13120 if ${ac_cv_lib_soname_openal+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_soname_save_LIBS=$LIBS
13124 LIBS="-lopenal $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char alGetSource3i ();
13136 main ()
13138 return alGetSource3i ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 case "$LIBEXT" in
13145 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13146 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'` ;;
13147 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13148 if ${ac_cv_lib_soname_openal:+false} :; then :
13149 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13150 fi ;;
13151 esac
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_soname_save_LIBS
13157 if ${ac_cv_lib_soname_openal:+false} :; then :
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13159 $as_echo "not found" >&6; }
13161 else
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13163 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13165 cat >>confdefs.h <<_ACEOF
13166 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13167 _ACEOF
13169 OPENAL_LIBS="-lopenal"
13171 ac_cv_lib_openal=yes
13173 cat >>confdefs.h <<_ACEOF
13174 #define HAVE_OPENAL 1
13175 _ACEOF
13179 if test "x$ac_cv_lib_openal" != xyes; then :
13180 case "x$with_openal" in
13181 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13182 xno) ;;
13183 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13184 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13185 esac
13187 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13189 if test "$ac_cv_header_kstat_h" = "yes"
13190 then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13192 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13193 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13194 $as_echo_n "(cached) " >&6
13195 else
13196 ac_check_lib_save_LIBS=$LIBS
13197 LIBS="-lkstat $LIBS"
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13204 #ifdef __cplusplus
13205 extern "C"
13206 #endif
13207 char kstat_open ();
13209 main ()
13211 return kstat_open ();
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 ac_cv_lib_kstat_kstat_open=yes
13218 else
13219 ac_cv_lib_kstat_kstat_open=no
13221 rm -f core conftest.err conftest.$ac_objext \
13222 conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13226 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13227 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13229 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13231 KSTAT_LIBS="-lkstat"
13237 if test "$ac_cv_header_libprocstat_h" = "yes"
13238 then
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13240 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13241 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13242 $as_echo_n "(cached) " >&6
13243 else
13244 ac_check_lib_save_LIBS=$LIBS
13245 LIBS="-lprocstat $LIBS"
13246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13249 /* Override any GCC internal prototype to avoid an error.
13250 Use char because int might match the return type of a GCC
13251 builtin and then its argument prototype would still apply. */
13252 #ifdef __cplusplus
13253 extern "C"
13254 #endif
13255 char procstat_open_sysctl ();
13257 main ()
13259 return procstat_open_sysctl ();
13261 return 0;
13263 _ACEOF
13264 if ac_fn_c_try_link "$LINENO"; then :
13265 ac_cv_lib_procstat_procstat_open_sysctl=yes
13266 else
13267 ac_cv_lib_procstat_procstat_open_sysctl=no
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13271 LIBS=$ac_check_lib_save_LIBS
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13274 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13275 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13277 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13279 PROCSTAT_LIBS="-lprocstat"
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13286 $as_echo_n "checking for -lodbc... " >&6; }
13287 if ${ac_cv_lib_soname_odbc+:} false; then :
13288 $as_echo_n "(cached) " >&6
13289 else
13290 ac_check_soname_save_LIBS=$LIBS
13291 LIBS="-lodbc $LIBS"
13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13293 /* end confdefs.h. */
13295 /* Override any GCC internal prototype to avoid an error.
13296 Use char because int might match the return type of a GCC
13297 builtin and then its argument prototype would still apply. */
13298 #ifdef __cplusplus
13299 extern "C"
13300 #endif
13301 char SQLConnect ();
13303 main ()
13305 return SQLConnect ();
13307 return 0;
13309 _ACEOF
13310 if ac_fn_c_try_link "$LINENO"; then :
13311 case "$LIBEXT" in
13312 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13313 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'` ;;
13314 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13315 if ${ac_cv_lib_soname_odbc:+false} :; then :
13316 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13317 fi ;;
13318 esac
13320 rm -f core conftest.err conftest.$ac_objext \
13321 conftest$ac_exeext conftest.$ac_ext
13322 LIBS=$ac_check_soname_save_LIBS
13324 if ${ac_cv_lib_soname_odbc:+false} :; then :
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13326 $as_echo "not found" >&6; }
13327 cat >>confdefs.h <<_ACEOF
13328 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13329 _ACEOF
13331 else
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13333 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13335 cat >>confdefs.h <<_ACEOF
13336 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13337 _ACEOF
13342 if test "x$with_netapi" != "xno"
13343 then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13345 $as_echo_n "checking for -lnetapi... " >&6; }
13346 if ${ac_cv_lib_soname_netapi+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-lnetapi $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char libnetapi_init ();
13362 main ()
13364 return libnetapi_init ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13374 if ${ac_cv_lib_soname_netapi:+false} :; then :
13375 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13379 rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_soname_save_LIBS
13383 if ${ac_cv_lib_soname_netapi:+false} :; then :
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13385 $as_echo "not found" >&6; }
13386 cat >>confdefs.h <<_ACEOF
13387 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13388 _ACEOF
13390 else
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13392 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13394 cat >>confdefs.h <<_ACEOF
13395 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13396 _ACEOF
13402 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13403 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
13404 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
13405 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
13407 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13408 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
13409 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13410 then
13411 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13415 EXTRACFLAGS=""
13417 if test "x${GCC}" = "xyes"
13418 then
13419 EXTRACFLAGS="-Wall -pipe"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13422 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13423 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 if test "$cross_compiling" = yes; then :
13427 ac_cv_c_gcc_strength_bug="yes"
13428 else
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 int L[4] = {0,1,2,3};
13433 main ()
13435 static int Array[3];
13436 unsigned int B = 3;
13437 int i;
13438 for(i=0; i<B; i++) Array[i] = i - 3;
13439 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13440 L[i] = 4;
13441 return (Array[1] != -2 || L[2] != 3)
13443 return 0;
13445 _ACEOF
13446 if ac_fn_c_try_run "$LINENO"; then :
13447 ac_cv_c_gcc_strength_bug="no"
13448 else
13449 ac_cv_c_gcc_strength_bug="yes"
13451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13452 conftest.$ac_objext conftest.beam conftest.$ac_ext
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13457 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13458 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13459 then
13460 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13464 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13465 if ${ac_cv_cflags__fno_builtin+:} false; then :
13466 $as_echo_n "(cached) " >&6
13467 else
13468 ac_wine_try_cflags_saved=$CFLAGS
13469 CFLAGS="$CFLAGS -fno-builtin"
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13472 int main(int argc, char **argv) { return 0; }
13473 _ACEOF
13474 if ac_fn_c_try_link "$LINENO"; then :
13475 ac_cv_cflags__fno_builtin=yes
13476 else
13477 ac_cv_cflags__fno_builtin=no
13479 rm -f core conftest.err conftest.$ac_objext \
13480 conftest$ac_exeext conftest.$ac_ext
13481 CFLAGS=$ac_wine_try_cflags_saved
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13484 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13485 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
13486 BUILTINFLAG="-fno-builtin"
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13490 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13491 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
13492 $as_echo_n "(cached) " >&6
13493 else
13494 ac_wine_try_cflags_saved=$CFLAGS
13495 CFLAGS="$CFLAGS -fno-strict-aliasing"
13496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13498 int main(int argc, char **argv) { return 0; }
13499 _ACEOF
13500 if ac_fn_c_try_link "$LINENO"; then :
13501 ac_cv_cflags__fno_strict_aliasing=yes
13502 else
13503 ac_cv_cflags__fno_strict_aliasing=no
13505 rm -f core conftest.err conftest.$ac_objext \
13506 conftest$ac_exeext conftest.$ac_ext
13507 CFLAGS=$ac_wine_try_cflags_saved
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13510 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13511 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
13512 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
13514 saved_CFLAGS=$CFLAGS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13516 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13517 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
13518 $as_echo_n "(cached) " >&6
13519 else
13520 ac_wine_try_cflags_saved=$CFLAGS
13521 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13524 int main(int argc, char **argv) { return 0; }
13525 _ACEOF
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 ac_cv_cflags__Werror_unknown_warning_option=yes
13528 else
13529 ac_cv_cflags__Werror_unknown_warning_option=no
13531 rm -f core conftest.err conftest.$ac_objext \
13532 conftest$ac_exeext conftest.$ac_ext
13533 CFLAGS=$ac_wine_try_cflags_saved
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13536 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13537 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
13538 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13541 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13542 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_wine_try_cflags_saved=$CFLAGS
13546 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13549 int main(int argc, char **argv) { return 0; }
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 ac_cv_cflags__Wdeclaration_after_statement=yes
13553 else
13554 ac_cv_cflags__Wdeclaration_after_statement=no
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 CFLAGS=$ac_wine_try_cflags_saved
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13561 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13562 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
13563 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13566 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13567 if ${ac_cv_cflags__Wempty_body+:} false; then :
13568 $as_echo_n "(cached) " >&6
13569 else
13570 ac_wine_try_cflags_saved=$CFLAGS
13571 CFLAGS="$CFLAGS -Wempty-body"
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 int main(int argc, char **argv) { return 0; }
13575 _ACEOF
13576 if ac_fn_c_try_link "$LINENO"; then :
13577 ac_cv_cflags__Wempty_body=yes
13578 else
13579 ac_cv_cflags__Wempty_body=no
13581 rm -f core conftest.err conftest.$ac_objext \
13582 conftest$ac_exeext conftest.$ac_ext
13583 CFLAGS=$ac_wine_try_cflags_saved
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13586 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13587 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
13588 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13591 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13592 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
13593 $as_echo_n "(cached) " >&6
13594 else
13595 ac_wine_try_cflags_saved=$CFLAGS
13596 CFLAGS="$CFLAGS -Wignored-qualifiers"
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 int main(int argc, char **argv) { return 0; }
13600 _ACEOF
13601 if ac_fn_c_try_link "$LINENO"; then :
13602 ac_cv_cflags__Wignored_qualifiers=yes
13603 else
13604 ac_cv_cflags__Wignored_qualifiers=no
13606 rm -f core conftest.err conftest.$ac_objext \
13607 conftest$ac_exeext conftest.$ac_ext
13608 CFLAGS=$ac_wine_try_cflags_saved
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13611 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13612 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
13613 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13616 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13617 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
13618 $as_echo_n "(cached) " >&6
13619 else
13620 ac_wine_try_cflags_saved=$CFLAGS
13621 CFLAGS="$CFLAGS -Wstrict-prototypes"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 int main(int argc, char **argv) { return 0; }
13625 _ACEOF
13626 if ac_fn_c_try_link "$LINENO"; then :
13627 ac_cv_cflags__Wstrict_prototypes=yes
13628 else
13629 ac_cv_cflags__Wstrict_prototypes=no
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 CFLAGS=$ac_wine_try_cflags_saved
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13636 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13637 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
13638 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13641 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13642 if ${ac_cv_cflags__Wtype_limits+:} false; then :
13643 $as_echo_n "(cached) " >&6
13644 else
13645 ac_wine_try_cflags_saved=$CFLAGS
13646 CFLAGS="$CFLAGS -Wtype-limits"
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 int main(int argc, char **argv) { return 0; }
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 ac_cv_cflags__Wtype_limits=yes
13653 else
13654 ac_cv_cflags__Wtype_limits=no
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 CFLAGS=$ac_wine_try_cflags_saved
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13661 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13662 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
13663 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13666 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13667 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
13668 $as_echo_n "(cached) " >&6
13669 else
13670 ac_wine_try_cflags_saved=$CFLAGS
13671 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 int main(int argc, char **argv) { return 0; }
13675 _ACEOF
13676 if ac_fn_c_try_link "$LINENO"; then :
13677 ac_cv_cflags__Wunused_but_set_parameter=yes
13678 else
13679 ac_cv_cflags__Wunused_but_set_parameter=no
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 CFLAGS=$ac_wine_try_cflags_saved
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13686 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13687 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
13688 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13691 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13692 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
13693 $as_echo_n "(cached) " >&6
13694 else
13695 ac_wine_try_cflags_saved=$CFLAGS
13696 CFLAGS="$CFLAGS -Wwrite-strings"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 int main(int argc, char **argv) { return 0; }
13700 _ACEOF
13701 if ac_fn_c_try_link "$LINENO"; then :
13702 ac_cv_cflags__Wwrite_strings=yes
13703 else
13704 ac_cv_cflags__Wwrite_strings=no
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 CFLAGS=$ac_wine_try_cflags_saved
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13711 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13712 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
13713 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13717 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13718 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 ac_wine_try_cflags_saved=$CFLAGS
13722 CFLAGS="$CFLAGS -Wpointer-arith"
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 int main(int argc, char **argv) { return 0; }
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"; then :
13728 ac_cv_cflags__Wpointer_arith=yes
13729 else
13730 ac_cv_cflags__Wpointer_arith=no
13732 rm -f core conftest.err conftest.$ac_objext \
13733 conftest$ac_exeext conftest.$ac_ext
13734 CFLAGS=$ac_wine_try_cflags_saved
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13737 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13738 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
13739 saved_string_h_CFLAGS=$CFLAGS
13740 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13742 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13743 if ${ac_cv_c_string_h_warnings+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13748 #include <string.h>
13750 main ()
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_compile "$LINENO"; then :
13758 ac_cv_c_string_h_warnings=no
13759 else
13760 ac_cv_c_string_h_warnings=yes
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13765 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13766 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
13767 CFLAGS=$saved_string_h_CFLAGS
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13771 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13772 if ${ac_cv_cflags__Wlogical_op+:} false; then :
13773 $as_echo_n "(cached) " >&6
13774 else
13775 ac_wine_try_cflags_saved=$CFLAGS
13776 CFLAGS="$CFLAGS -Wlogical-op"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 int main(int argc, char **argv) { return 0; }
13780 _ACEOF
13781 if ac_fn_c_try_link "$LINENO"; then :
13782 ac_cv_cflags__Wlogical_op=yes
13783 else
13784 ac_cv_cflags__Wlogical_op=no
13786 rm -f core conftest.err conftest.$ac_objext \
13787 conftest$ac_exeext conftest.$ac_ext
13788 CFLAGS=$ac_wine_try_cflags_saved
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13791 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13792 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
13793 saved_string_h_CFLAGS=$CFLAGS
13794 CFLAGS="$CFLAGS -Wlogical-op -Werror"
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13796 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13797 if ${ac_cv_c_logicalop_noisy+:} false; then :
13798 $as_echo_n "(cached) " >&6
13799 else
13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13801 /* end confdefs.h. */
13802 #include <string.h>
13803 char*f(const char *h,char n) {return strchr(h,n);}
13805 main ()
13809 return 0;
13811 _ACEOF
13812 if ac_fn_c_try_compile "$LINENO"; then :
13813 ac_cv_c_logicalop_noisy=no
13814 else
13815 ac_cv_c_logicalop_noisy=yes
13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13820 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13821 CFLAGS=$saved_string_h_CFLAGS
13822 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
13825 CFLAGS=$saved_CFLAGS
13827 for ac_flag in $CFLAGS; do
13828 case $ac_flag in
13829 -g) case $host_os in
13830 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13831 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13832 if ${ac_cv_cflags__gstabsp+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -gstabs+"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 int main(int argc, char **argv) { return 0; }
13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_cflags__gstabsp=yes
13843 else
13844 ac_cv_cflags__gstabsp=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 CFLAGS=$ac_wine_try_cflags_saved
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13851 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13852 if test "x$ac_cv_cflags__gstabsp" = xyes; then :
13853 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
13854 fi ;;
13855 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13856 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13857 if ${ac_cv_cflags__gdwarf_2+:} false; then :
13858 $as_echo_n "(cached) " >&6
13859 else
13860 ac_wine_try_cflags_saved=$CFLAGS
13861 CFLAGS="$CFLAGS -gdwarf-2"
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 int main(int argc, char **argv) { return 0; }
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"; then :
13867 ac_cv_cflags__gdwarf_2=yes
13868 else
13869 ac_cv_cflags__gdwarf_2=no
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 CFLAGS=$ac_wine_try_cflags_saved
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13876 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13877 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
13878 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13881 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13882 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 ac_wine_try_cflags_saved=$CFLAGS
13886 CFLAGS="$CFLAGS -gstrict-dwarf"
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13890 _ACEOF
13891 if ac_fn_c_try_link "$LINENO"; then :
13892 ac_cv_cflags__gstrict_dwarf=yes
13893 else
13894 ac_cv_cflags__gstrict_dwarf=no
13896 rm -f core conftest.err conftest.$ac_objext \
13897 conftest$ac_exeext conftest.$ac_ext
13898 CFLAGS=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13901 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13902 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
13903 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
13904 fi ;;
13905 esac ;;
13906 esac
13907 done
13909 case $host_cpu in
13910 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13911 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13912 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_wine_try_cflags_saved=$CFLAGS
13916 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 int main(int argc, char **argv) { return 0; }
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 ac_cv_cflags__fno_omit_frame_pointer=yes
13923 else
13924 ac_cv_cflags__fno_omit_frame_pointer=no
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 CFLAGS=$ac_wine_try_cflags_saved
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13931 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13932 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
13933 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
13934 fi ;;
13935 esac
13937 case $host in
13938 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13939 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13940 if ${ac_cv_cflags__Wno_format+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_wine_try_cflags_saved=$CFLAGS
13944 CFLAGS="$CFLAGS -Wno-format"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13948 _ACEOF
13949 if ac_fn_c_try_link "$LINENO"; then :
13950 ac_cv_cflags__Wno_format=yes
13951 else
13952 ac_cv_cflags__Wno_format=no
13954 rm -f core conftest.err conftest.$ac_objext \
13955 conftest$ac_exeext conftest.$ac_ext
13956 CFLAGS=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13959 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13960 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
13961 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
13962 fi ;;
13963 esac
13965 if test "x$enable_maintainer_mode" = "xyes"
13966 then
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13968 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13969 if ${ac_cv_cflags__Werror+:} false; then :
13970 $as_echo_n "(cached) " >&6
13971 else
13972 ac_wine_try_cflags_saved=$CFLAGS
13973 CFLAGS="$CFLAGS -Werror"
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13977 _ACEOF
13978 if ac_fn_c_try_link "$LINENO"; then :
13979 ac_cv_cflags__Werror=yes
13980 else
13981 ac_cv_cflags__Werror=no
13983 rm -f core conftest.err conftest.$ac_objext \
13984 conftest$ac_exeext conftest.$ac_ext
13985 CFLAGS=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13988 $as_echo "$ac_cv_cflags__Werror" >&6; }
13989 if test "x$ac_cv_cflags__Werror" = xyes; then :
13990 EXTRACFLAGS="$EXTRACFLAGS -Werror"
13994 saved_CFLAGS="$CFLAGS"
13995 CFLAGS="$CFLAGS -Werror"
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13997 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13998 if ${ac_cv_have_ms_hook_prologue+:} false; then :
13999 $as_echo_n "(cached) " >&6
14000 else
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14005 main ()
14009 return 0;
14011 _ACEOF
14012 if ac_fn_c_try_compile "$LINENO"; then :
14013 ac_cv_have_ms_hook_prologue="yes"
14014 else
14015 ac_cv_have_ms_hook_prologue="no"
14017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14020 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14021 CFLAGS="$saved_CFLAGS"
14022 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14023 then
14025 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14027 else
14028 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14035 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14036 if ${ac_cv_c_fortify_enabled+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 #include <string.h>
14043 main ()
14045 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14046 #error Fortify enabled
14047 #endif
14049 return 0;
14051 _ACEOF
14052 if ac_fn_c_try_compile "$LINENO"; then :
14053 ac_cv_c_fortify_enabled=no
14054 else
14055 ac_cv_c_fortify_enabled=yes
14057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14060 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14061 if test "$ac_cv_c_fortify_enabled" = yes
14062 then
14063 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14068 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14069 if ${ac_cv_c_extern_prefix+:} false; then :
14070 $as_echo_n "(cached) " >&6
14071 else
14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 extern int ac_test;
14076 main ()
14078 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_c_extern_prefix="yes"
14085 else
14086 ac_cv_c_extern_prefix="no"
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14092 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14094 case $host_cpu in
14095 *i[3456789]86*)
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14097 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14098 if ${ac_cv_c_stdcall_suffix+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14103 #ifndef _MSC_VER
14104 #define __stdcall __attribute__((__stdcall__))
14105 #endif
14106 int __stdcall ac_test(int i) { return i; }
14108 main ()
14110 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"; then :
14116 ac_cv_c_stdcall_suffix="yes"
14117 else
14118 ac_cv_c_stdcall_suffix="no"
14120 rm -f core conftest.err conftest.$ac_objext \
14121 conftest$ac_exeext conftest.$ac_ext
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14124 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14125 *) ac_cv_c_stdcall_suffix="no" ;;
14126 esac
14129 if test "$ac_cv_c_extern_prefix" = "yes"
14130 then
14131 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14133 asm_name_prefix="_"
14134 else
14135 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14137 asm_name_prefix=""
14141 if test "$ac_cv_c_stdcall_suffix" = "yes"
14142 then
14143 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14145 else
14146 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14152 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14153 if ${ac_cv_asm_func_def+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14160 main ()
14162 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14164 return 0;
14166 _ACEOF
14167 if ac_fn_c_try_link "$LINENO"; then :
14168 ac_cv_asm_func_def=".def"
14169 else
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14174 main ()
14176 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14178 return 0;
14180 _ACEOF
14181 if ac_fn_c_try_link "$LINENO"; then :
14182 ac_cv_asm_func_def=".type @function"
14183 else
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14188 main ()
14190 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_link "$LINENO"; then :
14196 ac_cv_asm_func_def=".type 2"
14197 else
14198 ac_cv_asm_func_def="unknown"
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14210 $as_echo "$ac_cv_asm_func_def" >&6; }
14213 case "$ac_cv_asm_func_def" in
14214 ".def")
14215 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14217 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14218 ".type @function")
14219 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14221 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14222 ".type 2")
14223 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14225 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14227 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14229 asm_func_header="" ;;
14230 esac
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14233 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14234 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14235 $as_echo_n "(cached) " >&6
14236 else
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 asm(".text\n\t.long 0");
14241 main ()
14245 return 0;
14247 _ACEOF
14248 if ac_fn_c_try_compile "$LINENO"; then :
14249 ac_cv_c_asm_outside_funcs="yes"
14250 else
14251 ac_cv_c_asm_outside_funcs="no"
14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14256 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14259 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14260 if ${ac_cv_c_dot_previous+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14267 main ()
14269 asm(".text\nac_test:\t.long 0\n\t.previous");
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_c_dot_previous="yes"
14276 else
14277 ac_cv_c_dot_previous="no"
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14283 $as_echo "$ac_cv_c_dot_previous" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14286 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14287 if ${ac_cv_c_cfi_support+:} false; then :
14288 $as_echo_n "(cached) " >&6
14289 else
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14292 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14294 main ()
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_compile "$LINENO"; then :
14302 ac_cv_c_cfi_support="yes"
14303 else
14304 ac_cv_c_cfi_support="no"
14306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14309 $as_echo "$ac_cv_c_cfi_support" >&6; }
14311 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14312 asm_func_trailer=""
14313 if test "$ac_cv_c_dot_previous" = "yes"
14314 then
14315 asm_func_trailer="\\n\\t.previous"
14317 if test "$ac_cv_c_cfi_support" = "yes"
14318 then
14319 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14320 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14322 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14324 UNWINDFLAGS=-fasynchronous-unwind-tables
14326 else
14327 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14331 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14334 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14335 then
14336 cat >>confdefs.h <<_ACEOF
14337 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14338 _ACEOF
14340 else
14341 cat >>confdefs.h <<_ACEOF
14342 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14343 _ACEOF
14347 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14350 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14354 case $build_os in
14355 cygwin*|mingw32*) TOOLSEXT=".exe"
14357 esac
14359 case $host_os in
14360 linux*)
14361 case $host_cpu in
14362 *i[3456789]86*|x86_64*)
14363 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14364 loader_programs="$loader_programs $wine_binary-preloader"
14365 as_fn_append LOADER_RULES "
14366 $wine_binary-preloader: preloader.o
14367 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14369 install install-lib:: $wine_binary-preloader
14370 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14372 uninstall::
14373 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14375 preloader_EXTRADEFS = $BUILTINFLAG
14376 " ;;
14377 esac
14379 esac
14380 as_fn_append LOADER_RULES "
14381 PROGRAMS = $loader_programs
14385 ac_save_CFLAGS="$CFLAGS"
14386 CFLAGS="$CFLAGS $BUILTINFLAG"
14387 for ac_func in \
14388 __res_get_state \
14389 __res_getservers \
14390 _finite \
14391 _isnan \
14392 _pclose \
14393 _popen \
14394 _snprintf \
14395 _spawnvp \
14396 _strdup \
14397 _stricmp \
14398 _strnicmp \
14399 _strtoi64 \
14400 _strtoui64 \
14401 _vsnprintf \
14402 asctime_r \
14403 chsize \
14404 dlopen \
14405 epoll_create \
14406 ffs \
14407 fnmatch \
14408 fork \
14409 fpclass \
14410 fstatfs \
14411 fstatvfs \
14412 ftruncate \
14413 futimens \
14414 futimes \
14415 futimesat \
14416 getattrlist \
14417 getdirentries \
14418 getopt_long_only \
14419 getpwuid \
14420 gettimeofday \
14421 getuid \
14422 if_nameindex \
14423 kqueue \
14424 lstat \
14425 memmove \
14426 mmap \
14427 pclose \
14428 pipe2 \
14429 poll \
14430 popen \
14431 port_create \
14432 prctl \
14433 pread \
14434 proc_pidinfo \
14435 pwrite \
14436 readdir \
14437 readlink \
14438 sched_yield \
14439 select \
14440 setproctitle \
14441 setrlimit \
14442 settimeofday \
14443 sigaltstack \
14444 sigprocmask \
14445 snprintf \
14446 statfs \
14447 statvfs \
14448 strcasecmp \
14449 strdup \
14450 strerror \
14451 strncasecmp \
14452 strtold \
14453 strtoll \
14454 strtoull \
14455 symlink \
14456 tcdrain \
14457 thr_kill2 \
14458 timegm \
14459 usleep \
14460 vsnprintf
14462 do :
14463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14466 cat >>confdefs.h <<_ACEOF
14467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14468 _ACEOF
14471 done
14473 CFLAGS="$ac_save_CFLAGS"
14475 if test "$ac_cv_func_dlopen" = no
14476 then
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14478 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14479 if ${ac_cv_lib_dl_dlopen+:} false; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 ac_check_lib_save_LIBS=$LIBS
14483 LIBS="-ldl $LIBS"
14484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485 /* end confdefs.h. */
14487 /* Override any GCC internal prototype to avoid an error.
14488 Use char because int might match the return type of a GCC
14489 builtin and then its argument prototype would still apply. */
14490 #ifdef __cplusplus
14491 extern "C"
14492 #endif
14493 char dlopen ();
14495 main ()
14497 return dlopen ();
14499 return 0;
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_lib_dl_dlopen=yes
14504 else
14505 ac_cv_lib_dl_dlopen=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 LIBS=$ac_check_lib_save_LIBS
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14512 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14513 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14514 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14515 DL_LIBS="-ldl"
14520 ac_wine_check_funcs_save_LIBS="$LIBS"
14521 LIBS="$LIBS $DL_LIBS"
14522 for ac_func in dladdr
14523 do :
14524 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14525 if test "x$ac_cv_func_dladdr" = xyes; then :
14526 cat >>confdefs.h <<_ACEOF
14527 #define HAVE_DLADDR 1
14528 _ACEOF
14531 done
14533 LIBS="$ac_wine_check_funcs_save_LIBS"
14535 if test "$ac_cv_func_poll" = no
14536 then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14538 $as_echo_n "checking for poll in -lpoll... " >&6; }
14539 if ${ac_cv_lib_poll_poll+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_check_lib_save_LIBS=$LIBS
14543 LIBS="-lpoll $LIBS"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14550 #ifdef __cplusplus
14551 extern "C"
14552 #endif
14553 char poll ();
14555 main ()
14557 return poll ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_lib_poll_poll=yes
14564 else
14565 ac_cv_lib_poll_poll=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14572 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14573 if test "x$ac_cv_lib_poll_poll" = xyes; then :
14574 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14575 POLL_LIBS="-lpoll"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14582 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14583 if ${ac_cv_search_gethostbyname+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_func_search_save_LIBS=$LIBS
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 #ifdef __cplusplus
14594 extern "C"
14595 #endif
14596 char gethostbyname ();
14598 main ()
14600 return gethostbyname ();
14602 return 0;
14604 _ACEOF
14605 for ac_lib in '' nsl; do
14606 if test -z "$ac_lib"; then
14607 ac_res="none required"
14608 else
14609 ac_res=-l$ac_lib
14610 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14612 if ac_fn_c_try_link "$LINENO"; then :
14613 ac_cv_search_gethostbyname=$ac_res
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext
14617 if ${ac_cv_search_gethostbyname+:} false; then :
14618 break
14620 done
14621 if ${ac_cv_search_gethostbyname+:} false; then :
14623 else
14624 ac_cv_search_gethostbyname=no
14626 rm conftest.$ac_ext
14627 LIBS=$ac_func_search_save_LIBS
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14630 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14631 ac_res=$ac_cv_search_gethostbyname
14632 if test "$ac_res" != no; then :
14633 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14639 $as_echo_n "checking for library containing connect... " >&6; }
14640 if ${ac_cv_search_connect+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 ac_func_search_save_LIBS=$LIBS
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 #ifdef __cplusplus
14651 extern "C"
14652 #endif
14653 char connect ();
14655 main ()
14657 return connect ();
14659 return 0;
14661 _ACEOF
14662 for ac_lib in '' socket; do
14663 if test -z "$ac_lib"; then
14664 ac_res="none required"
14665 else
14666 ac_res=-l$ac_lib
14667 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_search_connect=$ac_res
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext
14674 if ${ac_cv_search_connect+:} false; then :
14675 break
14677 done
14678 if ${ac_cv_search_connect+:} false; then :
14680 else
14681 ac_cv_search_connect=no
14683 rm conftest.$ac_ext
14684 LIBS=$ac_func_search_save_LIBS
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14687 $as_echo "$ac_cv_search_connect" >&6; }
14688 ac_res=$ac_cv_search_connect
14689 if test "$ac_res" != no; then :
14690 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14696 $as_echo_n "checking for library containing inet_aton... " >&6; }
14697 if ${ac_cv_search_inet_aton+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 ac_func_search_save_LIBS=$LIBS
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14707 #ifdef __cplusplus
14708 extern "C"
14709 #endif
14710 char inet_aton ();
14712 main ()
14714 return inet_aton ();
14716 return 0;
14718 _ACEOF
14719 for ac_lib in '' resolv; do
14720 if test -z "$ac_lib"; then
14721 ac_res="none required"
14722 else
14723 ac_res=-l$ac_lib
14724 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 ac_cv_search_inet_aton=$ac_res
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext
14731 if ${ac_cv_search_inet_aton+:} false; then :
14732 break
14734 done
14735 if ${ac_cv_search_inet_aton+:} false; then :
14737 else
14738 ac_cv_search_inet_aton=no
14740 rm conftest.$ac_ext
14741 LIBS=$ac_func_search_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14744 $as_echo "$ac_cv_search_inet_aton" >&6; }
14745 ac_res=$ac_cv_search_inet_aton
14746 if test "$ac_res" != no; then :
14747 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14752 for ac_func in \
14753 getaddrinfo \
14754 getnameinfo \
14755 getnetbyname \
14756 getprotobyname \
14757 getprotobynumber \
14758 getservbyport \
14759 inet_addr \
14760 inet_network \
14761 inet_ntop \
14762 inet_pton \
14763 sendmsg \
14764 socketpair \
14766 do :
14767 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14768 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14769 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14770 cat >>confdefs.h <<_ACEOF
14771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14772 _ACEOF
14775 done
14778 ac_save_LIBS=$LIBS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14780 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14781 if ${ac_cv_search_clock_gettime+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 ac_func_search_save_LIBS=$LIBS
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14788 /* Override any GCC internal prototype to avoid an error.
14789 Use char because int might match the return type of a GCC
14790 builtin and then its argument prototype would still apply. */
14791 #ifdef __cplusplus
14792 extern "C"
14793 #endif
14794 char clock_gettime ();
14796 main ()
14798 return clock_gettime ();
14800 return 0;
14802 _ACEOF
14803 for ac_lib in '' rt; do
14804 if test -z "$ac_lib"; then
14805 ac_res="none required"
14806 else
14807 ac_res=-l$ac_lib
14808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_search_clock_gettime=$ac_res
14813 rm -f core conftest.err conftest.$ac_objext \
14814 conftest$ac_exeext
14815 if ${ac_cv_search_clock_gettime+:} false; then :
14816 break
14818 done
14819 if ${ac_cv_search_clock_gettime+:} false; then :
14821 else
14822 ac_cv_search_clock_gettime=no
14824 rm conftest.$ac_ext
14825 LIBS=$ac_func_search_save_LIBS
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14828 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14829 ac_res=$ac_cv_search_clock_gettime
14830 if test "$ac_res" != no; then :
14831 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14833 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14835 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
14839 LIBS=$ac_save_LIBS
14841 LDAP_LIBS=""
14843 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14844 then
14845 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14847 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14849 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14850 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_check_lib_save_LIBS=$LIBS
14854 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14861 #ifdef __cplusplus
14862 extern "C"
14863 #endif
14864 char ldap_initialize ();
14866 main ()
14868 return ldap_initialize ();
14870 return 0;
14872 _ACEOF
14873 if ac_fn_c_try_link "$LINENO"; then :
14874 ac_cv_lib_ldap_r_ldap_initialize=yes
14875 else
14876 ac_cv_lib_ldap_r_ldap_initialize=no
14878 rm -f core conftest.err conftest.$ac_objext \
14879 conftest$ac_exeext conftest.$ac_ext
14880 LIBS=$ac_check_lib_save_LIBS
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14883 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14884 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14886 $as_echo_n "checking for ber_init in -llber... " >&6; }
14887 if ${ac_cv_lib_lber_ber_init+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 ac_check_lib_save_LIBS=$LIBS
14891 LIBS="-llber $PTHREAD_LIBS $LIBS"
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14895 /* Override any GCC internal prototype to avoid an error.
14896 Use char because int might match the return type of a GCC
14897 builtin and then its argument prototype would still apply. */
14898 #ifdef __cplusplus
14899 extern "C"
14900 #endif
14901 char ber_init ();
14903 main ()
14905 return ber_init ();
14907 return 0;
14909 _ACEOF
14910 if ac_fn_c_try_link "$LINENO"; then :
14911 ac_cv_lib_lber_ber_init=yes
14912 else
14913 ac_cv_lib_lber_ber_init=no
14915 rm -f core conftest.err conftest.$ac_objext \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_lib_save_LIBS
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14920 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14921 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
14923 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14925 LDAP_LIBS="-lldap_r -llber"
14932 ac_wine_check_funcs_save_LIBS="$LIBS"
14933 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14934 for ac_func in \
14935 ldap_count_references \
14936 ldap_first_reference \
14937 ldap_next_reference \
14938 ldap_parse_reference \
14939 ldap_parse_sort_control \
14940 ldap_parse_sortresponse_control \
14941 ldap_parse_vlv_control \
14942 ldap_parse_vlvresponse_control
14943 do :
14944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14946 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14947 cat >>confdefs.h <<_ACEOF
14948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14949 _ACEOF
14952 done
14954 LIBS="$ac_wine_check_funcs_save_LIBS"
14956 if test "x$LDAP_LIBS" = "x"; then :
14957 case "x$with_ldap" in
14958 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14959 xno) ;;
14960 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14961 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14962 esac
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14966 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14967 if ${wine_cv_one_arg_mkdir+:} false; then :
14968 $as_echo_n "(cached) " >&6
14969 else
14970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 #include <sys/stat.h>
14974 main ()
14976 mkdir("foo");
14978 return 0;
14980 _ACEOF
14981 if ac_fn_c_try_compile "$LINENO"; then :
14982 wine_cv_one_arg_mkdir=yes
14983 else
14984 wine_cv_one_arg_mkdir=no
14986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14989 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14990 if test "$wine_cv_one_arg_mkdir" = "yes"
14991 then
14993 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14998 $as_echo_n "checking for sched_setaffinity... " >&6; }
14999 if ${wine_cv_have_sched_setaffinity+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #define _GNU_SOURCE
15005 #include <sched.h>
15007 main ()
15009 sched_setaffinity(0, 0, 0);
15011 return 0;
15013 _ACEOF
15014 if ac_fn_c_try_link "$LINENO"; then :
15015 wine_cv_have_sched_setaffinity=yes
15016 else
15017 wine_cv_have_sched_setaffinity=no
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15023 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15024 if test "$wine_cv_have_sched_setaffinity" = "yes"
15025 then
15027 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15032 $as_echo_n "checking for fallocate... " >&6; }
15033 if ${wine_cv_have_fallocate+:} false; then :
15034 $as_echo_n "(cached) " >&6
15035 else
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #define _GNU_SOURCE
15039 #include <fcntl.h>
15041 main ()
15043 fallocate(-1, 0, 0, 0);
15045 return 0;
15047 _ACEOF
15048 if ac_fn_c_try_link "$LINENO"; then :
15049 wine_cv_have_fallocate=yes
15050 else
15051 wine_cv_have_fallocate=no
15053 rm -f core conftest.err conftest.$ac_objext \
15054 conftest$ac_exeext conftest.$ac_ext
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15057 $as_echo "$wine_cv_have_fallocate" >&6; }
15058 if test "$wine_cv_have_fallocate" = "yes"
15059 then
15061 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15067 $as_echo_n "checking for inline... " >&6; }
15068 if ${ac_cv_c_inline+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 ac_cv_c_inline=no
15072 for ac_kw in inline __inline__ __inline; do
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 #ifndef __cplusplus
15076 typedef int foo_t;
15077 static $ac_kw foo_t static_foo () {return 0; }
15078 $ac_kw foo_t foo () {return 0; }
15079 #endif
15081 _ACEOF
15082 if ac_fn_c_try_compile "$LINENO"; then :
15083 ac_cv_c_inline=$ac_kw
15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15086 test "$ac_cv_c_inline" != no && break
15087 done
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15091 $as_echo "$ac_cv_c_inline" >&6; }
15093 case $ac_cv_c_inline in
15094 inline | yes) ;;
15096 case $ac_cv_c_inline in
15097 no) ac_val=;;
15098 *) ac_val=$ac_cv_c_inline;;
15099 esac
15100 cat >>confdefs.h <<_ACEOF
15101 #ifndef __cplusplus
15102 #define inline $ac_val
15103 #endif
15104 _ACEOF
15106 esac
15108 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15109 if test "x$ac_cv_type_mode_t" = xyes; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define HAVE_MODE_T 1
15113 _ACEOF
15117 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15118 if test "x$ac_cv_type_off_t" = xyes; then :
15120 cat >>confdefs.h <<_ACEOF
15121 #define HAVE_OFF_T 1
15122 _ACEOF
15126 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15127 if test "x$ac_cv_type_pid_t" = xyes; then :
15129 cat >>confdefs.h <<_ACEOF
15130 #define HAVE_PID_T 1
15131 _ACEOF
15135 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15136 if test "x$ac_cv_type_size_t" = xyes; then :
15138 cat >>confdefs.h <<_ACEOF
15139 #define HAVE_SIZE_T 1
15140 _ACEOF
15144 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15145 if test "x$ac_cv_type_ssize_t" = xyes; then :
15147 cat >>confdefs.h <<_ACEOF
15148 #define HAVE_SSIZE_T 1
15149 _ACEOF
15153 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15154 if test "x$ac_cv_type_long_long" = xyes; then :
15156 cat >>confdefs.h <<_ACEOF
15157 #define HAVE_LONG_LONG 1
15158 _ACEOF
15162 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15163 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15165 cat >>confdefs.h <<_ACEOF
15166 #define HAVE_FSBLKCNT_T 1
15167 _ACEOF
15171 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15172 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define HAVE_FSFILCNT_T 1
15176 _ACEOF
15181 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15182 #include <signal.h>
15184 if test "x$ac_cv_type_sigset_t" = xyes; then :
15186 cat >>confdefs.h <<_ACEOF
15187 #define HAVE_SIGSET_T 1
15188 _ACEOF
15193 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15195 if test "x$ac_cv_type_request_sense" = xyes; then :
15197 cat >>confdefs.h <<_ACEOF
15198 #define HAVE_REQUEST_SENSE 1
15199 _ACEOF
15205 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15206 #ifdef HAVE_SYS_SOCKET_H
15207 #include <sys/socket.h>
15208 #endif
15209 #ifdef HAVE_SYS_SOCKETVAR_H
15210 #include <sys/socketvar.h>
15211 #endif
15212 #ifdef HAVE_NET_ROUTE_H
15213 #include <net/route.h>
15214 #endif
15215 #ifdef HAVE_NETINET_IN_H
15216 #include <netinet/in.h>
15217 #endif
15218 #ifdef HAVE_NETINET_IN_SYSTM_H
15219 #include <netinet/in_systm.h>
15220 #endif
15221 #ifdef HAVE_NETINET_IP_H
15222 #include <netinet/ip.h>
15223 #endif
15224 #ifdef HAVE_NETINET_IN_PCB_H
15225 #include <netinet/in_pcb.h>
15226 #endif
15228 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15230 cat >>confdefs.h <<_ACEOF
15231 #define HAVE_STRUCT_XINPGEN 1
15232 _ACEOF
15238 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15239 #include <link.h>
15240 #endif
15241 #ifdef HAVE_SYS_LINK_H
15242 #include <sys/link.h>
15243 #endif
15245 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15247 cat >>confdefs.h <<_ACEOF
15248 #define HAVE_STRUCT_R_DEBUG 1
15249 _ACEOF
15253 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15254 #include <link.h>
15255 #endif
15256 #ifdef HAVE_SYS_LINK_H
15257 #include <sys/link.h>
15258 #endif
15260 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15262 cat >>confdefs.h <<_ACEOF
15263 #define HAVE_STRUCT_LINK_MAP 1
15264 _ACEOF
15270 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15271 #include <linux/input.h>
15272 #endif
15274 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15278 _ACEOF
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15285 $as_echo_n "checking for sigaddset... " >&6; }
15286 if ${wine_cv_have_sigaddset+:} false; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15291 #include <signal.h>
15293 main ()
15295 sigset_t set; sigaddset(&set,SIGTERM);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_c_try_link "$LINENO"; then :
15301 wine_cv_have_sigaddset=yes
15302 else
15303 wine_cv_have_sigaddset=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15309 $as_echo "$wine_cv_have_sigaddset" >&6; }
15310 if test "$wine_cv_have_sigaddset" = "yes"
15311 then
15313 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15319 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15320 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15325 #include <netdb.h>
15327 main ()
15330 char *name=0;
15331 struct hostent he;
15332 struct hostent *result;
15333 char *buf=0;
15334 int bufsize=0;
15335 int errnr;
15336 char *addr=0;
15337 int addrlen=0;
15338 int addrtype=0;
15339 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15340 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 wine_cv_linux_gethostbyname_r_6=yes
15348 else
15349 wine_cv_linux_gethostbyname_r_6=no
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15357 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15358 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15359 then
15361 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15365 if test "$ac_cv_header_linux_joystick_h" = "yes"
15366 then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15368 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15369 if ${wine_cv_linux_joystick_22_api+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 #include <sys/ioctl.h>
15376 #include <sys/types.h>
15377 #include <linux/joystick.h>
15379 struct js_event blub;
15380 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15381 #error "no 2.2 header"
15382 #endif
15385 main ()
15387 /*empty*/
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_compile "$LINENO"; then :
15393 wine_cv_linux_joystick_22_api=yes
15394 else
15395 wine_cv_linux_joystick_22_api=no
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15401 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15402 if test "$wine_cv_linux_joystick_22_api" = "yes"
15403 then
15405 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15411 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15412 #ifdef HAVE_SYS_PARAM_H
15413 # include <sys/param.h>
15414 #endif
15415 #ifdef HAVE_SYS_MOUNT_H
15416 # include <sys/mount.h>
15417 #endif
15418 #ifdef HAVE_SYS_VFS_H
15419 # include <sys/vfs.h>
15420 #endif
15421 #ifdef HAVE_SYS_STATFS_H
15422 # include <sys/statfs.h>
15423 #endif
15425 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
15427 cat >>confdefs.h <<_ACEOF
15428 #define HAVE_STRUCT_STATFS_F_BFREE 1
15429 _ACEOF
15433 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15434 #ifdef HAVE_SYS_PARAM_H
15435 # include <sys/param.h>
15436 #endif
15437 #ifdef HAVE_SYS_MOUNT_H
15438 # include <sys/mount.h>
15439 #endif
15440 #ifdef HAVE_SYS_VFS_H
15441 # include <sys/vfs.h>
15442 #endif
15443 #ifdef HAVE_SYS_STATFS_H
15444 # include <sys/statfs.h>
15445 #endif
15447 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15451 _ACEOF
15455 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15456 #ifdef HAVE_SYS_PARAM_H
15457 # include <sys/param.h>
15458 #endif
15459 #ifdef HAVE_SYS_MOUNT_H
15460 # include <sys/mount.h>
15461 #endif
15462 #ifdef HAVE_SYS_VFS_H
15463 # include <sys/vfs.h>
15464 #endif
15465 #ifdef HAVE_SYS_STATFS_H
15466 # include <sys/statfs.h>
15467 #endif
15469 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
15471 cat >>confdefs.h <<_ACEOF
15472 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15473 _ACEOF
15477 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15478 #ifdef HAVE_SYS_PARAM_H
15479 # include <sys/param.h>
15480 #endif
15481 #ifdef HAVE_SYS_MOUNT_H
15482 # include <sys/mount.h>
15483 #endif
15484 #ifdef HAVE_SYS_VFS_H
15485 # include <sys/vfs.h>
15486 #endif
15487 #ifdef HAVE_SYS_STATFS_H
15488 # include <sys/statfs.h>
15489 #endif
15491 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
15493 cat >>confdefs.h <<_ACEOF
15494 #define HAVE_STRUCT_STATFS_F_FFREE 1
15495 _ACEOF
15499 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15500 #ifdef HAVE_SYS_PARAM_H
15501 # include <sys/param.h>
15502 #endif
15503 #ifdef HAVE_SYS_MOUNT_H
15504 # include <sys/mount.h>
15505 #endif
15506 #ifdef HAVE_SYS_VFS_H
15507 # include <sys/vfs.h>
15508 #endif
15509 #ifdef HAVE_SYS_STATFS_H
15510 # include <sys/statfs.h>
15511 #endif
15513 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
15515 cat >>confdefs.h <<_ACEOF
15516 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15517 _ACEOF
15521 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15522 #ifdef HAVE_SYS_PARAM_H
15523 # include <sys/param.h>
15524 #endif
15525 #ifdef HAVE_SYS_MOUNT_H
15526 # include <sys/mount.h>
15527 #endif
15528 #ifdef HAVE_SYS_VFS_H
15529 # include <sys/vfs.h>
15530 #endif
15531 #ifdef HAVE_SYS_STATFS_H
15532 # include <sys/statfs.h>
15533 #endif
15535 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15539 _ACEOF
15545 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15546 #include <sys/statvfs.h>
15547 #endif
15549 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15553 _ACEOF
15559 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15560 #include <dirent.h>
15561 #endif
15563 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
15565 cat >>confdefs.h <<_ACEOF
15566 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15567 _ACEOF
15573 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15574 #ifdef HAVE_SYS_SOCKET_H
15575 # include <sys/socket.h>
15576 #endif
15577 #ifdef HAVE_SYS_UN_H
15578 # include <sys/un.h>
15579 #endif
15581 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
15583 cat >>confdefs.h <<_ACEOF
15584 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15585 _ACEOF
15589 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15590 #ifdef HAVE_SYS_SOCKET_H
15591 # include <sys/socket.h>
15592 #endif
15593 #ifdef HAVE_SYS_UN_H
15594 # include <sys/un.h>
15595 #endif
15597 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
15599 cat >>confdefs.h <<_ACEOF
15600 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15601 _ACEOF
15605 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15606 #ifdef HAVE_SYS_SOCKET_H
15607 # include <sys/socket.h>
15608 #endif
15609 #ifdef HAVE_SYS_UN_H
15610 # include <sys/un.h>
15611 #endif
15613 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
15615 cat >>confdefs.h <<_ACEOF
15616 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15617 _ACEOF
15623 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15624 #ifdef HAVE_SCSI_SG_H
15625 #include <scsi/sg.h>
15626 #endif
15628 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
15630 cat >>confdefs.h <<_ACEOF
15631 #define HAVE_SCSIREQ_T_CMD 1
15632 _ACEOF
15636 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>
15637 #ifdef HAVE_SCSI_SG_H
15638 #include <scsi/sg.h>
15639 #endif
15641 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
15643 cat >>confdefs.h <<_ACEOF
15644 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15645 _ACEOF
15651 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15653 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
15655 cat >>confdefs.h <<_ACEOF
15656 #define HAVE_SIGINFO_T_SI_FD 1
15657 _ACEOF
15663 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15664 #ifdef HAVE_SYS_MTIO_H
15665 #include <sys/mtio.h>
15666 #endif
15668 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
15670 cat >>confdefs.h <<_ACEOF
15671 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15672 _ACEOF
15676 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15677 #ifdef HAVE_SYS_MTIO_H
15678 #include <sys/mtio.h>
15679 #endif
15681 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
15683 cat >>confdefs.h <<_ACEOF
15684 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15685 _ACEOF
15689 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15690 #ifdef HAVE_SYS_MTIO_H
15691 #include <sys/mtio.h>
15692 #endif
15694 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
15696 cat >>confdefs.h <<_ACEOF
15697 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15698 _ACEOF
15704 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15705 #include <getopt.h>
15706 #endif
15708 if test "x$ac_cv_member_struct_option_name" = xyes; then :
15710 cat >>confdefs.h <<_ACEOF
15711 #define HAVE_STRUCT_OPTION_NAME 1
15712 _ACEOF
15718 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15719 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
15721 cat >>confdefs.h <<_ACEOF
15722 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15723 _ACEOF
15727 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15728 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
15730 cat >>confdefs.h <<_ACEOF
15731 #define HAVE_STRUCT_STAT_ST_MTIM 1
15732 _ACEOF
15736 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15737 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
15739 cat >>confdefs.h <<_ACEOF
15740 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15741 _ACEOF
15745 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15746 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
15748 cat >>confdefs.h <<_ACEOF
15749 #define HAVE_STRUCT_STAT_ST_CTIM 1
15750 _ACEOF
15754 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15755 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15759 _ACEOF
15763 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15764 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define HAVE_STRUCT_STAT_ST_ATIM 1
15768 _ACEOF
15772 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15773 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15777 _ACEOF
15781 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15782 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15786 _ACEOF
15790 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15791 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
15793 cat >>confdefs.h <<_ACEOF
15794 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15795 _ACEOF
15799 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15800 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
15802 cat >>confdefs.h <<_ACEOF
15803 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15804 _ACEOF
15808 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15809 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
15811 cat >>confdefs.h <<_ACEOF
15812 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15813 _ACEOF
15817 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15818 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15822 _ACEOF
15828 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
15829 #include <sys/types.h>
15830 #endif
15831 #ifdef HAVE_NETINET_IN_H
15832 #include <netinet/in.h>
15833 #endif
15835 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
15837 cat >>confdefs.h <<_ACEOF
15838 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15839 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15846 #include <resolv.h>
15847 #endif
15849 if test "x$ac_cv_type_struct___res_state" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT___RES_STATE 1
15853 _ACEOF
15859 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
15860 #include <resolv.h>
15861 #endif
15863 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15867 _ACEOF
15873 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15874 #include <sys/types.h>
15875 #endif
15876 #ifdef HAVE_NETINET_IN_H
15877 # include <netinet/in.h>
15878 #endif
15879 #ifdef HAVE_ARPA_NAMESER_H
15880 # include <arpa/nameser.h>
15881 #endif
15883 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
15885 cat >>confdefs.h <<_ACEOF
15886 #define HAVE_NS_MSG__MSG_PTR 1
15887 _ACEOF
15893 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15894 #include <sys/types.h>
15895 #endif
15896 #ifdef HAVE_NETINET_IP_H
15897 #include <netinet/ip.h>
15898 #endif
15899 #ifdef HAVE_NETINET_IP_ICMP_H
15900 #include <netinet/ip_icmp.h>
15901 #endif
15902 #ifdef HAVE_NETINET_ICMP_VAR_H
15903 #include <netinet/icmp_var.h>
15904 #endif
15906 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15910 _ACEOF
15916 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15917 #include <sys/types.h>
15918 #endif
15919 #ifdef HAVE_ALIAS_H
15920 #include <alias.h>
15921 #endif
15922 #ifdef HAVE_SYS_SOCKET_H
15923 #include <sys/socket.h>
15924 #endif
15925 #ifdef HAVE_SYS_SOCKETVAR_H
15926 #include <sys/socketvar.h>
15927 #endif
15928 #ifdef HAVE_SYS_TIMEOUT_H
15929 #include <sys/timeout.h>
15930 #endif
15931 #ifdef HAVE_NETINET_IN_H
15932 #include <netinet/in.h>
15933 #endif
15934 #ifdef HAVE_NETINET_IN_SYSTM_H
15935 #include <netinet/in_systm.h>
15936 #endif
15937 #ifdef HAVE_NETINET_IP_H
15938 #include <netinet/ip.h>
15939 #endif
15940 #ifdef HAVE_NETINET_IP_VAR_H
15941 #include <netinet/ip_var.h>
15942 #endif
15943 #ifdef HAVE_NETINET_IP_ICMP_H
15944 #include <netinet/ip_icmp.h>
15945 #endif
15946 #ifdef HAVE_NETINET_ICMP_VAR_H
15947 #include <netinet/icmp_var.h>
15948 #endif
15950 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15954 _ACEOF
15960 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15961 #include <sys/types.h>
15962 #endif
15963 #ifdef HAVE_SYS_SOCKETVAR_H
15964 #include <sys/socketvar.h>
15965 #endif
15966 #ifdef HAVE_NETINET_IN_H
15967 #include <netinet/in.h>
15968 #endif
15969 #ifdef HAVE_NETINET_IP_VAR_H
15970 #include <netinet/ip_var.h>
15971 #endif
15973 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15977 _ACEOF
15983 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
15984 #include <netinet/ip_var.h>
15985 #endif
15987 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15991 _ACEOF
15997 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15998 #include <sys/types.h>
15999 #endif
16000 #ifdef HAVE_SYS_SOCKETVAR_H
16001 #include <sys/socketvar.h>
16002 #endif
16003 #ifdef HAVE_NETINET_IN_H
16004 #include <netinet/in.h>
16005 #endif
16006 #ifdef HAVE_NETINET_TCP_H
16007 #include <netinet/tcp.h>
16008 #endif
16009 #ifdef HAVE_NETINET_TCP_VAR_H
16010 #include <netinet/tcp_var.h>
16011 #endif
16013 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16017 _ACEOF
16023 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
16024 #include <netinet/tcp_var.h>
16025 #endif
16027 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16031 _ACEOF
16037 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16038 #include <sys/types.h>
16039 #endif
16040 #ifdef HAVE_NETINET_IN_H
16041 #include <netinet/in.h>
16042 #endif
16043 #ifdef HAVE_NETINET_IP_VAR_H
16044 #include <netinet/ip_var.h>
16045 #endif
16046 #ifdef HAVE_NETINET_UDP_H
16047 #include <netinet/udp.h>
16048 #endif
16049 #ifdef HAVE_NETINET_UDP_VAR_H
16050 #include <netinet/udp_var.h>
16051 #endif
16053 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16057 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16064 #include <sys/types.h>
16065 #endif
16066 #ifdef HAVE_NET_IF_H
16067 # include <net/if.h>
16068 #endif
16070 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16072 cat >>confdefs.h <<_ACEOF
16073 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16074 _ACEOF
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16081 $as_echo_n "checking for timezone variable... " >&6; }
16082 if ${ac_cv_have_timezone+:} false; then :
16083 $as_echo_n "(cached) " >&6
16084 else
16085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16086 /* end confdefs.h. */
16087 #include <time.h>
16089 main ()
16091 timezone = 1
16093 return 0;
16095 _ACEOF
16096 if ac_fn_c_try_link "$LINENO"; then :
16097 ac_cv_have_timezone="yes"
16098 else
16099 ac_cv_have_timezone="no"
16101 rm -f core conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16105 $as_echo "$ac_cv_have_timezone" >&6; }
16106 if test "$ac_cv_have_timezone" = "yes"
16107 then
16109 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16113 $as_echo_n "checking for daylight variable... " >&6; }
16114 if ${ac_cv_have_daylight+:} false; then :
16115 $as_echo_n "(cached) " >&6
16116 else
16117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16119 #include <time.h>
16121 main ()
16123 daylight = 1
16125 return 0;
16127 _ACEOF
16128 if ac_fn_c_try_link "$LINENO"; then :
16129 ac_cv_have_daylight="yes"
16130 else
16131 ac_cv_have_daylight="no"
16133 rm -f core conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16137 $as_echo "$ac_cv_have_daylight" >&6; }
16138 if test "$ac_cv_have_daylight" = "yes"
16139 then
16141 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16145 ac_save_LIBS="$LIBS"
16146 LIBS="$LIBS -lm"
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16148 $as_echo_n "checking for isfinite... " >&6; }
16149 if ${ac_cv_have_isfinite+:} false; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 /* end confdefs.h. */
16154 #define _GNU_SOURCE
16155 #include <math.h>
16157 main ()
16159 float f = 0.0; return isfinite(f)
16161 return 0;
16163 _ACEOF
16164 if ac_fn_c_try_link "$LINENO"; then :
16165 ac_cv_have_isfinite="yes"
16166 else
16167 ac_cv_have_isfinite="no"
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext conftest.$ac_ext
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16173 $as_echo "$ac_cv_have_isfinite" >&6; }
16174 if test "$ac_cv_have_isfinite" = "yes"
16175 then
16177 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16181 ac_save_LIBS="$LIBS"
16182 LIBS="$LIBS -lm"
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16184 $as_echo_n "checking for isinf... " >&6; }
16185 if ${ac_cv_have_isinf+:} false; then :
16186 $as_echo_n "(cached) " >&6
16187 else
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #include <math.h>
16192 main ()
16194 float f = 0.0; return isinf(f)
16196 return 0;
16198 _ACEOF
16199 if ac_fn_c_try_link "$LINENO"; then :
16200 ac_cv_have_isinf="yes"
16201 else
16202 ac_cv_have_isinf="no"
16204 rm -f core conftest.err conftest.$ac_objext \
16205 conftest$ac_exeext conftest.$ac_ext
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16208 $as_echo "$ac_cv_have_isinf" >&6; }
16209 if test "$ac_cv_have_isinf" = "yes"
16210 then
16212 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16217 $as_echo_n "checking for isnan... " >&6; }
16218 if ${ac_cv_have_isnan+:} false; then :
16219 $as_echo_n "(cached) " >&6
16220 else
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16223 #include <math.h>
16225 main ()
16227 float f = 0.0; return isnan(f)
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"; then :
16233 ac_cv_have_isnan="yes"
16234 else
16235 ac_cv_have_isnan="no"
16237 rm -f core conftest.err conftest.$ac_objext \
16238 conftest$ac_exeext conftest.$ac_ext
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16241 $as_echo "$ac_cv_have_isnan" >&6; }
16242 if test "$ac_cv_have_isnan" = "yes"
16243 then
16245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16248 LIBS="$ac_save_LIBS"
16251 case $host_cpu in
16252 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16253 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16254 if ${ac_cv_cpp_def___i386__+:} false; then :
16255 $as_echo_n "(cached) " >&6
16256 else
16257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16258 /* end confdefs.h. */
16259 #ifndef __i386__
16261 #endif
16262 _ACEOF
16263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16264 $EGREP "yes" >/dev/null 2>&1; then :
16265 ac_cv_cpp_def___i386__=yes
16266 else
16267 ac_cv_cpp_def___i386__=no
16269 rm -f conftest*
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16273 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16274 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16275 CFLAGS="$CFLAGS -D__i386__"
16276 LINTFLAGS="$LINTFLAGS -D__i386__"
16277 fi ;;
16278 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16279 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16280 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16281 $as_echo_n "(cached) " >&6
16282 else
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16285 #ifndef __x86_64__
16287 #endif
16288 _ACEOF
16289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16290 $EGREP "yes" >/dev/null 2>&1; then :
16291 ac_cv_cpp_def___x86_64__=yes
16292 else
16293 ac_cv_cpp_def___x86_64__=no
16295 rm -f conftest*
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16299 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16300 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16301 CFLAGS="$CFLAGS -D__x86_64__"
16302 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16303 fi ;;
16304 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16305 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16306 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16307 $as_echo_n "(cached) " >&6
16308 else
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 #ifndef __sparc64__
16313 #endif
16314 _ACEOF
16315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16316 $EGREP "yes" >/dev/null 2>&1; then :
16317 ac_cv_cpp_def___sparc64__=yes
16318 else
16319 ac_cv_cpp_def___sparc64__=no
16321 rm -f conftest*
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16325 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16326 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
16327 CFLAGS="$CFLAGS -D__sparc64__"
16328 LINTFLAGS="$LINTFLAGS -D__sparc64__"
16329 fi ;;
16330 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16331 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16332 if ${ac_cv_cpp_def___sparc__+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16337 #ifndef __sparc__
16339 #endif
16340 _ACEOF
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 $EGREP "yes" >/dev/null 2>&1; then :
16343 ac_cv_cpp_def___sparc__=yes
16344 else
16345 ac_cv_cpp_def___sparc__=no
16347 rm -f conftest*
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16351 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16352 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
16353 CFLAGS="$CFLAGS -D__sparc__"
16354 LINTFLAGS="$LINTFLAGS -D__sparc__"
16355 fi ;;
16356 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16357 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16358 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
16359 $as_echo_n "(cached) " >&6
16360 else
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16363 #ifndef __powerpc64__
16365 #endif
16366 _ACEOF
16367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16368 $EGREP "yes" >/dev/null 2>&1; then :
16369 ac_cv_cpp_def___powerpc64__=yes
16370 else
16371 ac_cv_cpp_def___powerpc64__=no
16373 rm -f conftest*
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16377 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16378 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
16379 CFLAGS="$CFLAGS -D__powerpc64__"
16380 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
16381 fi ;;
16382 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16383 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16384 if ${ac_cv_cpp_def___powerpc__+:} false; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #ifndef __powerpc__
16391 #endif
16392 _ACEOF
16393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16394 $EGREP "yes" >/dev/null 2>&1; then :
16395 ac_cv_cpp_def___powerpc__=yes
16396 else
16397 ac_cv_cpp_def___powerpc__=no
16399 rm -f conftest*
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16403 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16404 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
16405 CFLAGS="$CFLAGS -D__powerpc__"
16406 LINTFLAGS="$LINTFLAGS -D__powerpc__"
16407 fi ;;
16408 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16409 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16410 if ${ac_cv_cpp_def___aarch64__+:} false; then :
16411 $as_echo_n "(cached) " >&6
16412 else
16413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16415 #ifndef __aarch64__
16417 #endif
16418 _ACEOF
16419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16420 $EGREP "yes" >/dev/null 2>&1; then :
16421 ac_cv_cpp_def___aarch64__=yes
16422 else
16423 ac_cv_cpp_def___aarch64__=no
16425 rm -f conftest*
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16429 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16430 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
16431 CFLAGS="$CFLAGS -D__aarch64__"
16432 LINTFLAGS="$LINTFLAGS -D__aarch64__"
16433 fi ;;
16434 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16435 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16436 if ${ac_cv_cpp_def___arm__+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 /* end confdefs.h. */
16441 #ifndef __arm__
16443 #endif
16444 _ACEOF
16445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16446 $EGREP "yes" >/dev/null 2>&1; then :
16447 ac_cv_cpp_def___arm__=yes
16448 else
16449 ac_cv_cpp_def___arm__=no
16451 rm -f conftest*
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16455 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16456 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
16457 CFLAGS="$CFLAGS -D__arm__"
16458 LINTFLAGS="$LINTFLAGS -D__arm__"
16459 fi ;;
16460 esac
16462 case $host_vendor in
16463 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16464 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16465 if ${ac_cv_cpp_def___sun__+:} false; then :
16466 $as_echo_n "(cached) " >&6
16467 else
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16470 #ifndef __sun__
16472 #endif
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "yes" >/dev/null 2>&1; then :
16476 ac_cv_cpp_def___sun__=yes
16477 else
16478 ac_cv_cpp_def___sun__=no
16480 rm -f conftest*
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16484 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16485 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
16486 CFLAGS="$CFLAGS -D__sun__"
16487 LINTFLAGS="$LINTFLAGS -D__sun__"
16488 fi ;;
16489 esac
16495 ac_config_commands="$ac_config_commands include/stamp-h"
16497 $as_echo_n "creating Makefile rules..." >&6
16499 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
16500 SOCKET_LIBS = $SOCKET_LIBS
16501 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16502 IOKIT_LIBS = $IOKIT_LIBS
16503 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16504 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16505 CORESERVICES_LIBS = $CORESERVICES_LIBS
16506 APPKIT_LIBS = $APPKIT_LIBS
16507 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16508 SECURITY_LIBS = $SECURITY_LIBS
16509 COREAUDIO_LIBS = $COREAUDIO_LIBS
16510 OPENAL_LIBS = $OPENAL_LIBS
16511 OPENCL_LIBS = $OPENCL_LIBS
16512 QUICKTIME_LIBS = $QUICKTIME_LIBS
16513 CARBON_LIBS = $CARBON_LIBS
16514 PTHREAD_LIBS = $PTHREAD_LIBS
16515 X_CFLAGS = $X_CFLAGS
16516 X_PRE_LIBS = $X_PRE_LIBS
16517 X_LIBS = $X_LIBS
16518 X_EXTRA_LIBS = $X_EXTRA_LIBS
16519 XML2_CFLAGS = $XML2_CFLAGS
16520 XML2_LIBS = $XML2_LIBS
16521 XSLT_CFLAGS = $XSLT_CFLAGS
16522 XSLT_LIBS = $XSLT_LIBS
16523 DBUS_CFLAGS = $DBUS_CFLAGS
16524 DBUS_LIBS = $DBUS_LIBS
16525 HAL_CFLAGS = $HAL_CFLAGS
16526 HAL_LIBS = $HAL_LIBS
16527 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16528 GNUTLS_LIBS = $GNUTLS_LIBS
16529 SANE_CFLAGS = $SANE_CFLAGS
16530 SANE_LIBS = $SANE_LIBS
16531 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16532 GPHOTO2_LIBS = $GPHOTO2_LIBS
16533 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16534 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16535 RESOLV_LIBS = $RESOLV_LIBS
16536 LCMS2_CFLAGS = $LCMS2_CFLAGS
16537 LCMS2_LIBS = $LCMS2_LIBS
16538 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16539 FREETYPE_LIBS = $FREETYPE_LIBS
16540 Z_LIBS = $Z_LIBS
16541 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16542 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16543 GSTREAMER_LIBS = $GSTREAMER_LIBS
16544 ALSA_LIBS = $ALSA_LIBS
16545 OSS4_CFLAGS = $OSS4_CFLAGS
16546 CAPI20_CFLAGS = $CAPI20_CFLAGS
16547 CAPI20_LIBS = $CAPI20_LIBS
16548 CUPS_CFLAGS = $CUPS_CFLAGS
16549 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16550 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16551 JPEG_CFLAGS = $JPEG_CFLAGS
16552 JPEG_LIBS = $JPEG_LIBS
16553 PNG_CFLAGS = $PNG_CFLAGS
16554 PNG_LIBS = $PNG_LIBS
16555 TIFF_CFLAGS = $TIFF_CFLAGS
16556 TIFF_LIBS = $TIFF_LIBS
16557 MPG123_CFLAGS = $MPG123_CFLAGS
16558 MPG123_LIBS = $MPG123_LIBS
16559 KSTAT_LIBS = $KSTAT_LIBS
16560 PROCSTAT_LIBS = $PROCSTAT_LIBS
16561 DL_LIBS = $DL_LIBS
16562 POLL_LIBS = $POLL_LIBS
16563 RT_LIBS = $RT_LIBS
16564 LDAP_LIBS = $LDAP_LIBS
16569 wine_fn_append_rule "
16570 # Rules automatically generated by configure
16572 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16574 .INIT: Makefile
16575 .MAKEFILEDEPS:
16576 all: Makefile
16577 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16578 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16580 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
16581 .gitignore: config.status
16582 @./config.status .gitignore"
16584 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
16585 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16587 if test "x$enable_fonts" != xno; then
16588 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16589 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16590 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16591 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16592 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf
16594 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16595 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
16596 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
16597 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
16598 ac_config_links="$ac_config_links wine:tools/winewrapper"
16599 wine_fn_config_symlink wine
16600 if test "x$enable_win64" != xno; then
16601 ac_config_links="$ac_config_links wine64:tools/winewrapper"
16602 wine_fn_config_symlink wine64
16605 wine_fn_config_dll acledit enable_acledit
16606 wine_fn_config_dll aclui enable_aclui implib
16607 wine_fn_config_dll activeds enable_activeds implib
16608 wine_fn_config_dll actxprxy enable_actxprxy clean
16609 wine_fn_config_lib adsiid
16610 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
16611 wine_fn_config_test dlls/advapi32/tests advapi32_test
16612 wine_fn_config_dll advpack enable_advpack implib
16613 wine_fn_config_test dlls/advpack/tests advpack_test
16614 wine_fn_config_dll amstream enable_amstream clean
16615 wine_fn_config_test dlls/amstream/tests amstream_test
16616 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16618 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16619 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16620 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16621 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16622 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16623 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16624 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16625 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16626 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16627 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16628 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16629 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16632 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16633 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16634 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16635 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16636 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16637 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16638 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16639 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16640 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16641 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16642 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16643 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16644 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16645 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16646 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16647 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16648 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16649 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16650 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16651 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16652 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16653 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16654 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16655 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16656 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16657 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16658 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16659 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16660 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16661 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16662 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16663 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16664 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16665 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16666 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16667 wine_fn_config_dll apphelp enable_apphelp
16668 wine_fn_config_test dlls/apphelp/tests apphelp_test
16669 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16670 wine_fn_config_dll atl enable_atl clean,implib
16671 wine_fn_config_test dlls/atl/tests atl_test
16672 wine_fn_config_dll atl100 enable_atl100 implib
16673 wine_fn_config_test dlls/atl100/tests atl100_test
16674 wine_fn_config_dll atl110 enable_atl110
16675 wine_fn_config_dll atl80 enable_atl80 implib
16676 wine_fn_config_test dlls/atl80/tests atl80_test
16677 wine_fn_config_dll atl90 enable_atl90
16678 wine_fn_config_dll authz enable_authz
16679 wine_fn_config_dll avicap32 enable_avicap32 implib
16680 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
16681 wine_fn_config_test dlls/avifil32/tests avifil32_test
16682 wine_fn_config_dll avifile.dll16 enable_win16
16683 wine_fn_config_dll avrt enable_avrt implib
16684 wine_fn_config_dll bcrypt enable_bcrypt
16685 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
16686 wine_fn_config_dll browseui enable_browseui clean,po
16687 wine_fn_config_test dlls/browseui/tests browseui_test
16688 wine_fn_config_dll cabinet enable_cabinet implib
16689 wine_fn_config_test dlls/cabinet/tests cabinet_test
16690 wine_fn_config_dll capi2032 enable_capi2032 implib
16691 wine_fn_config_dll cards enable_cards implib
16692 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16693 wine_fn_config_dll clusapi enable_clusapi implib
16694 wine_fn_config_dll comcat enable_comcat
16695 wine_fn_config_test dlls/comcat/tests comcat_test
16696 wine_fn_config_dll comctl32 enable_comctl32 implib,po
16697 wine_fn_config_test dlls/comctl32/tests comctl32_test
16698 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
16699 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
16700 wine_fn_config_dll comm.drv16 enable_win16
16701 wine_fn_config_dll commdlg.dll16 enable_win16
16702 wine_fn_config_dll compobj.dll16 enable_win16
16703 wine_fn_config_dll compstui enable_compstui implib
16704 wine_fn_config_dll comsvcs enable_comsvcs implib
16705 wine_fn_config_dll credui enable_credui implib,po
16706 wine_fn_config_test dlls/credui/tests credui_test
16707 wine_fn_config_dll crtdll enable_crtdll implib
16708 wine_fn_config_dll crypt32 enable_crypt32 implib,po
16709 wine_fn_config_test dlls/crypt32/tests crypt32_test
16710 wine_fn_config_dll cryptdlg enable_cryptdlg po
16711 wine_fn_config_dll cryptdll enable_cryptdll implib
16712 wine_fn_config_dll cryptnet enable_cryptnet implib
16713 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
16714 wine_fn_config_dll cryptui enable_cryptui implib,po
16715 wine_fn_config_test dlls/cryptui/tests cryptui_test
16716 wine_fn_config_dll ctapi32 enable_ctapi32
16717 wine_fn_config_dll ctl3d.dll16 enable_win16
16718 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16719 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16720 wine_fn_config_dll d2d1 enable_d2d1 implib
16721 wine_fn_config_dll d3d10 enable_d3d10 implib
16722 wine_fn_config_test dlls/d3d10/tests d3d10_test
16723 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16724 wine_fn_config_dll d3d10core enable_d3d10core implib
16725 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
16726 wine_fn_config_dll d3d11 enable_d3d11
16727 wine_fn_config_dll d3d8 enable_d3d8 implib
16728 wine_fn_config_test dlls/d3d8/tests d3d8_test
16729 wine_fn_config_dll d3d9 enable_d3d9 implib
16730 wine_fn_config_test dlls/d3d9/tests d3d9_test
16731 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16732 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16733 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16734 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16735 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16736 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16737 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16738 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16739 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16740 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16741 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16742 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
16743 wine_fn_config_dll d3dim enable_d3dim implib
16744 wine_fn_config_dll d3drm enable_d3drm implib
16745 wine_fn_config_test dlls/d3drm/tests d3drm_test
16746 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16747 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16748 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16749 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16750 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16751 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16752 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16753 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16754 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16755 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16756 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16757 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16758 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16759 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16760 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16761 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16762 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16763 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16764 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16765 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16766 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16767 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16768 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16769 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16770 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16771 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16772 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16773 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16774 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16775 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16776 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16777 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16778 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16779 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16780 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
16781 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16782 wine_fn_config_dll dbgeng enable_dbgeng implib
16783 wine_fn_config_dll dbghelp enable_dbghelp implib
16784 wine_fn_config_dll dciman32 enable_dciman32 implib
16785 wine_fn_config_dll ddeml.dll16 enable_win16
16786 wine_fn_config_dll ddraw enable_ddraw clean,implib
16787 wine_fn_config_test dlls/ddraw/tests ddraw_test
16788 wine_fn_config_dll ddrawex enable_ddrawex clean
16789 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16790 wine_fn_config_dll devenum enable_devenum clean,po
16791 wine_fn_config_test dlls/devenum/tests devenum_test
16792 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16793 wine_fn_config_dll difxapi enable_difxapi
16794 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
16795 wine_fn_config_test dlls/dinput/tests dinput_test
16796 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
16797 wine_fn_config_test dlls/dinput8/tests dinput8_test
16798 wine_fn_config_dll dispdib.dll16 enable_win16
16799 wine_fn_config_dll dispex enable_dispex clean
16800 wine_fn_config_test dlls/dispex/tests dispex_test
16801 wine_fn_config_dll display.drv16 enable_win16
16802 wine_fn_config_dll dmband enable_dmband clean
16803 wine_fn_config_test dlls/dmband/tests dmband_test
16804 wine_fn_config_dll dmcompos enable_dmcompos clean
16805 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
16806 wine_fn_config_dll dmime enable_dmime clean
16807 wine_fn_config_test dlls/dmime/tests dmime_test
16808 wine_fn_config_dll dmloader enable_dmloader clean
16809 wine_fn_config_test dlls/dmloader/tests dmloader_test
16810 wine_fn_config_dll dmscript enable_dmscript clean
16811 wine_fn_config_test dlls/dmscript/tests dmscript_test
16812 wine_fn_config_dll dmstyle enable_dmstyle clean
16813 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
16814 wine_fn_config_dll dmsynth enable_dmsynth clean
16815 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16816 wine_fn_config_dll dmusic enable_dmusic clean
16817 wine_fn_config_test dlls/dmusic/tests dmusic_test
16818 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16819 wine_fn_config_dll dnsapi enable_dnsapi implib
16820 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16821 wine_fn_config_dll dplay enable_dplay implib
16822 wine_fn_config_dll dplayx enable_dplayx clean,implib
16823 wine_fn_config_test dlls/dplayx/tests dplayx_test
16824 wine_fn_config_dll dpnaddr enable_dpnaddr
16825 wine_fn_config_dll dpnet enable_dpnet clean,implib
16826 wine_fn_config_test dlls/dpnet/tests dpnet_test
16827 wine_fn_config_dll dpnhpast enable_dpnhpast
16828 wine_fn_config_dll dpnlobby enable_dpnlobby
16829 wine_fn_config_dll dpwsockx enable_dpwsockx
16830 wine_fn_config_dll drmclien enable_drmclien
16831 wine_fn_config_dll dsound enable_dsound clean,implib
16832 wine_fn_config_test dlls/dsound/tests dsound_test
16833 wine_fn_config_dll dssenh enable_dssenh
16834 wine_fn_config_test dlls/dssenh/tests dssenh_test
16835 wine_fn_config_dll dswave enable_dswave clean
16836 wine_fn_config_dll dwmapi enable_dwmapi implib
16837 wine_fn_config_dll dwrite enable_dwrite implib
16838 wine_fn_config_test dlls/dwrite/tests dwrite_test
16839 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
16840 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16841 wine_fn_config_lib dxerr8
16842 wine_fn_config_lib dxerr9
16843 wine_fn_config_dll dxgi enable_dxgi implib
16844 wine_fn_config_test dlls/dxgi/tests dxgi_test
16845 wine_fn_config_lib dxguid
16846 wine_fn_config_dll explorerframe enable_explorerframe clean
16847 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16848 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16849 wine_fn_config_dll faultrep enable_faultrep implib
16850 wine_fn_config_test dlls/faultrep/tests faultrep_test
16851 wine_fn_config_dll fltlib enable_fltlib
16852 wine_fn_config_dll fusion enable_fusion
16853 wine_fn_config_test dlls/fusion/tests fusion_test
16854 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16855 wine_fn_config_dll gameux enable_gameux clean
16856 wine_fn_config_test dlls/gameux/tests gameux_test
16857 wine_fn_config_dll gdi.exe16 enable_win16
16858 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
16859 wine_fn_config_test dlls/gdi32/tests gdi32_test
16860 wine_fn_config_dll gdiplus enable_gdiplus implib
16861 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16862 wine_fn_config_dll glu32 enable_glu32 implib
16863 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16864 wine_fn_config_dll gpkcsp enable_gpkcsp
16865 wine_fn_config_dll hal enable_hal
16866 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
16867 wine_fn_config_dll hid enable_hid implib
16868 wine_fn_config_dll hlink enable_hlink clean,implib
16869 wine_fn_config_test dlls/hlink/tests hlink_test
16870 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16871 wine_fn_config_dll httpapi enable_httpapi
16872 wine_fn_config_dll iccvid enable_iccvid po
16873 wine_fn_config_dll icmp enable_icmp
16874 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
16875 wine_fn_config_test dlls/ieframe/tests ieframe_test
16876 wine_fn_config_dll ifsmgr.vxd enable_win16
16877 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16878 wine_fn_config_dll imagehlp enable_imagehlp implib
16879 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16880 wine_fn_config_dll imm.dll16 enable_win16
16881 wine_fn_config_dll imm32 enable_imm32 implib
16882 wine_fn_config_test dlls/imm32/tests imm32_test
16883 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
16884 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16885 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16886 wine_fn_config_dll inetmib1 enable_inetmib1
16887 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16888 wine_fn_config_dll infosoft enable_infosoft clean
16889 wine_fn_config_test dlls/infosoft/tests infosoft_test
16890 wine_fn_config_dll initpki enable_initpki
16891 wine_fn_config_dll inkobj enable_inkobj
16892 wine_fn_config_dll inseng enable_inseng clean
16893 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16894 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16895 wine_fn_config_dll itircl enable_itircl
16896 wine_fn_config_dll itss enable_itss clean
16897 wine_fn_config_test dlls/itss/tests itss_test
16898 wine_fn_config_dll joy.cpl enable_joy_cpl po
16899 wine_fn_config_dll jscript enable_jscript clean,po
16900 wine_fn_config_test dlls/jscript/tests jscript_test
16901 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
16902 wine_fn_config_test dlls/kernel32/tests kernel32_test
16903 wine_fn_config_dll keyboard.drv16 enable_win16
16904 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16905 wine_fn_config_dll ktmw32 enable_ktmw32
16906 wine_fn_config_dll loadperf enable_loadperf implib
16907 wine_fn_config_dll localspl enable_localspl po
16908 wine_fn_config_test dlls/localspl/tests localspl_test
16909 wine_fn_config_dll localui enable_localui po
16910 wine_fn_config_test dlls/localui/tests localui_test
16911 wine_fn_config_dll lz32 enable_lz32 implib
16912 wine_fn_config_test dlls/lz32/tests lz32_test
16913 wine_fn_config_dll lzexpand.dll16 enable_win16
16914 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16915 wine_fn_config_test dlls/mapi32/tests mapi32_test
16916 wine_fn_config_dll mapistub enable_mapistub
16917 wine_fn_config_dll mciavi32 enable_mciavi32
16918 wine_fn_config_dll mcicda enable_mcicda
16919 wine_fn_config_dll mciqtz32 enable_mciqtz32
16920 wine_fn_config_dll mciseq enable_mciseq
16921 wine_fn_config_dll mciwave enable_mciwave
16922 wine_fn_config_dll mgmtapi enable_mgmtapi
16923 wine_fn_config_dll midimap enable_midimap
16924 wine_fn_config_dll mlang enable_mlang clean,implib
16925 wine_fn_config_test dlls/mlang/tests mlang_test
16926 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16927 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16928 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16929 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16930 wine_fn_config_dll mmdevldr.vxd enable_win16
16931 wine_fn_config_dll mmsystem.dll16 enable_win16
16932 wine_fn_config_dll monodebg.vxd enable_win16
16933 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16934 wine_fn_config_dll mouse.drv16 enable_win16
16935 wine_fn_config_dll mpr enable_mpr implib,po
16936 wine_fn_config_test dlls/mpr/tests mpr_test
16937 wine_fn_config_dll mprapi enable_mprapi implib
16938 wine_fn_config_dll msacm.dll16 enable_win16
16939 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16940 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16941 wine_fn_config_test dlls/msacm32/tests msacm32_test
16942 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16943 wine_fn_config_dll mscat32 enable_mscat32
16944 wine_fn_config_dll mscms enable_mscms implib
16945 wine_fn_config_test dlls/mscms/tests mscms_test
16946 wine_fn_config_dll mscoree enable_mscoree clean
16947 wine_fn_config_test dlls/mscoree/tests mscoree_test
16948 wine_fn_config_dll msctf enable_msctf clean
16949 wine_fn_config_test dlls/msctf/tests msctf_test
16950 wine_fn_config_dll msdaps enable_msdaps clean
16951 wine_fn_config_dll msdmo enable_msdmo implib
16952 wine_fn_config_dll msftedit enable_msftedit
16953 wine_fn_config_dll msg711.acm enable_msg711_acm
16954 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16955 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16956 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
16957 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
16958 wine_fn_config_dll msi enable_msi clean,implib,po
16959 wine_fn_config_test dlls/msi/tests msi_test
16960 wine_fn_config_dll msident enable_msident clean
16961 wine_fn_config_dll msimg32 enable_msimg32 implib
16962 wine_fn_config_dll msimsg enable_msimsg
16963 wine_fn_config_dll msimtf enable_msimtf clean
16964 wine_fn_config_dll msisip enable_msisip
16965 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16966 wine_fn_config_dll msls31 enable_msls31
16967 wine_fn_config_dll msnet32 enable_msnet32
16968 wine_fn_config_dll mspatcha enable_mspatcha
16969 wine_fn_config_dll msrle32 enable_msrle32 po
16970 wine_fn_config_test dlls/msrle32/tests msrle32_test
16971 wine_fn_config_dll mssign32 enable_mssign32
16972 wine_fn_config_dll mssip32 enable_mssip32
16973 wine_fn_config_dll mstask enable_mstask clean
16974 wine_fn_config_test dlls/mstask/tests mstask_test
16975 wine_fn_config_dll msvcirt enable_msvcirt
16976 wine_fn_config_dll msvcm80 enable_msvcm80
16977 wine_fn_config_dll msvcm90 enable_msvcm90
16978 wine_fn_config_dll msvcp100 enable_msvcp100
16979 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16980 wine_fn_config_dll msvcp110 enable_msvcp110
16981 wine_fn_config_dll msvcp60 enable_msvcp60
16982 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16983 wine_fn_config_dll msvcp70 enable_msvcp70
16984 wine_fn_config_dll msvcp71 enable_msvcp71
16985 wine_fn_config_dll msvcp80 enable_msvcp80
16986 wine_fn_config_dll msvcp90 enable_msvcp90
16987 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16988 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16989 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16990 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16991 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16992 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16993 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16994 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16995 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16996 wine_fn_config_dll msvcrt enable_msvcrt implib
16997 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16998 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16999 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17000 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17001 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17002 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17003 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17004 wine_fn_config_dll msvidc32 enable_msvidc32 po
17005 wine_fn_config_dll msvideo.dll16 enable_win16
17006 wine_fn_config_dll mswsock enable_mswsock implib
17007 wine_fn_config_dll msxml enable_msxml clean
17008 wine_fn_config_dll msxml2 enable_msxml2 clean
17009 wine_fn_config_dll msxml3 enable_msxml3 clean
17010 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17011 wine_fn_config_dll msxml4 enable_msxml4 clean
17012 wine_fn_config_dll msxml6 enable_msxml6 clean
17013 wine_fn_config_dll nddeapi enable_nddeapi implib
17014 wine_fn_config_dll netapi32 enable_netapi32 implib
17015 wine_fn_config_test dlls/netapi32/tests netapi32_test
17016 wine_fn_config_dll netcfgx enable_netcfgx
17017 wine_fn_config_dll newdev enable_newdev implib
17018 wine_fn_config_dll normaliz enable_normaliz implib
17019 wine_fn_config_dll npmshtml enable_npmshtml
17020 wine_fn_config_dll ntdll enable_ntdll implib
17021 wine_fn_config_test dlls/ntdll/tests ntdll_test
17022 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17023 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17024 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17025 wine_fn_config_dll ntprint enable_ntprint
17026 wine_fn_config_test dlls/ntprint/tests ntprint_test
17027 wine_fn_config_dll objsel enable_objsel clean
17028 wine_fn_config_dll odbc32 enable_odbc32 implib
17029 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17030 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17031 wine_fn_config_dll odbccu32 enable_odbccu32
17032 wine_fn_config_dll ole2.dll16 enable_win16
17033 wine_fn_config_dll ole2conv.dll16 enable_win16
17034 wine_fn_config_dll ole2disp.dll16 enable_win16
17035 wine_fn_config_dll ole2nls.dll16 enable_win16
17036 wine_fn_config_dll ole2prox.dll16 enable_win16
17037 wine_fn_config_dll ole2thk.dll16 enable_win16
17038 wine_fn_config_dll ole32 enable_ole32 clean,implib
17039 wine_fn_config_test dlls/ole32/tests ole32_test
17040 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17041 wine_fn_config_test dlls/oleacc/tests oleacc_test
17042 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17043 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17044 wine_fn_config_dll olecli.dll16 enable_win16
17045 wine_fn_config_dll olecli32 enable_olecli32 implib
17046 wine_fn_config_dll oledb32 enable_oledb32 clean
17047 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17048 wine_fn_config_dll oledlg enable_oledlg implib,po
17049 wine_fn_config_dll olepro32 enable_olepro32 implib
17050 wine_fn_config_dll olesvr.dll16 enable_win16
17051 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17052 wine_fn_config_dll olethk32 enable_olethk32
17053 wine_fn_config_dll openal32 enable_openal32
17054 wine_fn_config_dll opencl enable_opencl
17055 wine_fn_config_dll opengl32 enable_opengl32 implib
17056 wine_fn_config_test dlls/opengl32/tests opengl32_test
17057 wine_fn_config_dll pdh enable_pdh implib
17058 wine_fn_config_test dlls/pdh/tests pdh_test
17059 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17060 wine_fn_config_dll pidgen enable_pidgen
17061 wine_fn_config_dll powrprof enable_powrprof implib
17062 wine_fn_config_dll printui enable_printui
17063 wine_fn_config_dll propsys enable_propsys clean,implib
17064 wine_fn_config_test dlls/propsys/tests propsys_test
17065 wine_fn_config_dll psapi enable_psapi implib
17066 wine_fn_config_test dlls/psapi/tests psapi_test
17067 wine_fn_config_dll pstorec enable_pstorec clean
17068 wine_fn_config_dll qcap enable_qcap
17069 wine_fn_config_test dlls/qcap/tests qcap_test
17070 wine_fn_config_dll qedit enable_qedit clean
17071 wine_fn_config_test dlls/qedit/tests qedit_test
17072 wine_fn_config_dll qmgr enable_qmgr clean
17073 wine_fn_config_test dlls/qmgr/tests qmgr_test
17074 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17075 wine_fn_config_dll quartz enable_quartz clean,implib
17076 wine_fn_config_test dlls/quartz/tests quartz_test clean
17077 wine_fn_config_dll query enable_query
17078 wine_fn_config_dll rasapi16.dll16 enable_win16
17079 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17080 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17081 wine_fn_config_dll rasdlg enable_rasdlg implib
17082 wine_fn_config_dll regapi enable_regapi
17083 wine_fn_config_dll resutils enable_resutils implib
17084 wine_fn_config_dll riched20 enable_riched20 implib
17085 wine_fn_config_test dlls/riched20/tests riched20_test
17086 wine_fn_config_dll riched32 enable_riched32
17087 wine_fn_config_test dlls/riched32/tests riched32_test
17088 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17089 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17090 wine_fn_config_dll rsabase enable_rsabase
17091 wine_fn_config_dll rsaenh enable_rsaenh implib
17092 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17093 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17094 wine_fn_config_dll rtutils enable_rtutils implib
17095 wine_fn_config_dll samlib enable_samlib
17096 wine_fn_config_dll sane.ds enable_sane_ds po
17097 wine_fn_config_dll scarddlg enable_scarddlg
17098 wine_fn_config_dll sccbase enable_sccbase
17099 wine_fn_config_dll schannel enable_schannel
17100 wine_fn_config_test dlls/schannel/tests schannel_test
17101 wine_fn_config_dll scrrun enable_scrrun clean
17102 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17103 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17104 wine_fn_config_dll secur32 enable_secur32 implib
17105 wine_fn_config_test dlls/secur32/tests secur32_test
17106 wine_fn_config_dll security enable_security
17107 wine_fn_config_dll sensapi enable_sensapi implib
17108 wine_fn_config_dll serialui enable_serialui implib,po
17109 wine_fn_config_test dlls/serialui/tests serialui_test
17110 wine_fn_config_dll setupapi enable_setupapi implib,po
17111 wine_fn_config_test dlls/setupapi/tests setupapi_test
17112 wine_fn_config_dll setupx.dll16 enable_win16
17113 wine_fn_config_dll sfc enable_sfc implib
17114 wine_fn_config_dll sfc_os enable_sfc_os implib
17115 wine_fn_config_dll shdoclc enable_shdoclc po
17116 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17117 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17118 wine_fn_config_dll shell.dll16 enable_win16
17119 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17120 wine_fn_config_test dlls/shell32/tests shell32_test
17121 wine_fn_config_dll shfolder enable_shfolder implib
17122 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17123 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17124 wine_fn_config_dll slbcsp enable_slbcsp
17125 wine_fn_config_dll slc enable_slc implib
17126 wine_fn_config_dll snmpapi enable_snmpapi implib
17127 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17128 wine_fn_config_dll softpub enable_softpub
17129 wine_fn_config_dll sound.drv16 enable_win16
17130 wine_fn_config_dll spoolss enable_spoolss implib
17131 wine_fn_config_test dlls/spoolss/tests spoolss_test
17132 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17133 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17134 wine_fn_config_dll sti enable_sti clean,implib
17135 wine_fn_config_test dlls/sti/tests sti_test
17136 wine_fn_config_dll storage.dll16 enable_win16
17137 wine_fn_config_dll stress.dll16 enable_win16
17138 wine_fn_config_lib strmbase
17139 wine_fn_config_lib strmiids
17140 wine_fn_config_dll svrapi enable_svrapi
17141 wine_fn_config_dll sxs enable_sxs implib
17142 wine_fn_config_test dlls/sxs/tests sxs_test
17143 wine_fn_config_dll system.drv16 enable_win16
17144 wine_fn_config_dll t2embed enable_t2embed
17145 wine_fn_config_dll tapi32 enable_tapi32 implib
17146 wine_fn_config_dll taskschd enable_taskschd clean
17147 wine_fn_config_test dlls/taskschd/tests taskschd_test
17148 wine_fn_config_dll toolhelp.dll16 enable_win16
17149 wine_fn_config_dll traffic enable_traffic
17150 wine_fn_config_dll twain.dll16 enable_win16
17151 wine_fn_config_dll twain_32 enable_twain_32
17152 wine_fn_config_test dlls/twain_32/tests twain_32_test
17153 wine_fn_config_dll typelib.dll16 enable_win16
17154 wine_fn_config_dll unicows enable_unicows implib
17155 wine_fn_config_dll updspapi enable_updspapi
17156 wine_fn_config_dll url enable_url implib
17157 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17158 wine_fn_config_test dlls/urlmon/tests urlmon_test
17159 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17160 wine_fn_config_dll user.exe16 enable_win16
17161 wine_fn_config_dll user32 enable_user32 clean,implib,po
17162 wine_fn_config_test dlls/user32/tests user32_test
17163 wine_fn_config_dll userenv enable_userenv implib
17164 wine_fn_config_test dlls/userenv/tests userenv_test
17165 wine_fn_config_dll usp10 enable_usp10 implib
17166 wine_fn_config_test dlls/usp10/tests usp10_test
17167 wine_fn_config_lib uuid
17168 wine_fn_config_dll uxtheme enable_uxtheme implib
17169 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17170 wine_fn_config_dll vbscript enable_vbscript clean
17171 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17172 wine_fn_config_dll vcomp enable_vcomp
17173 wine_fn_config_dll vcomp100 enable_vcomp100
17174 wine_fn_config_dll vcomp90 enable_vcomp90
17175 wine_fn_config_dll vdhcp.vxd enable_win16
17176 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17177 wine_fn_config_dll ver.dll16 enable_win16
17178 wine_fn_config_dll version enable_version implib
17179 wine_fn_config_test dlls/version/tests version_test
17180 wine_fn_config_dll vmm.vxd enable_win16
17181 wine_fn_config_dll vnbt.vxd enable_win16
17182 wine_fn_config_dll vnetbios.vxd enable_win16
17183 wine_fn_config_dll vtdapi.vxd enable_win16
17184 wine_fn_config_dll vwin32.vxd enable_win16
17185 wine_fn_config_dll w32skrnl enable_win16
17186 wine_fn_config_dll w32sys.dll16 enable_win16
17187 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17188 wine_fn_config_dll wbemprox enable_wbemprox clean
17189 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17190 wine_fn_config_dll webservices enable_webservices implib
17191 wine_fn_config_dll wer enable_wer implib
17192 wine_fn_config_test dlls/wer/tests wer_test
17193 wine_fn_config_dll wevtapi enable_wevtapi
17194 wine_fn_config_dll wiaservc enable_wiaservc clean
17195 wine_fn_config_dll win32s16.dll16 enable_win16
17196 wine_fn_config_dll win87em.dll16 enable_win16
17197 wine_fn_config_dll winaspi.dll16 enable_win16
17198 wine_fn_config_dll windebug.dll16 enable_win16
17199 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17200 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17201 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17202 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17203 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17204 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17205 wine_fn_config_lib winecrt0
17206 wine_fn_config_dll wined3d enable_wined3d implib
17207 wine_fn_config_dll winegstreamer enable_winegstreamer
17208 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17209 wine_fn_config_dll winemac.drv enable_winemac_drv
17210 wine_fn_config_dll winemapi enable_winemapi
17211 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17212 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17213 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
17214 wine_fn_config_dll wineps16.drv16 enable_win16
17215 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17216 wine_fn_config_dll winex11.drv enable_winex11_drv
17217 wine_fn_config_dll wing.dll16 enable_win16
17218 wine_fn_config_dll wing32 enable_wing32
17219 wine_fn_config_dll winhttp enable_winhttp clean,implib
17220 wine_fn_config_test dlls/winhttp/tests winhttp_test
17221 wine_fn_config_dll wininet enable_wininet implib,po
17222 wine_fn_config_test dlls/wininet/tests wininet_test
17223 wine_fn_config_dll winmm enable_winmm implib,po
17224 wine_fn_config_test dlls/winmm/tests winmm_test
17225 wine_fn_config_dll winnls.dll16 enable_win16
17226 wine_fn_config_dll winnls32 enable_winnls32 implib
17227 wine_fn_config_dll winscard enable_winscard implib
17228 wine_fn_config_dll winsock.dll16 enable_win16
17229 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
17230 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
17231 wine_fn_config_dll winsta enable_winsta
17232 wine_fn_config_dll wintab.dll16 enable_win16
17233 wine_fn_config_dll wintab32 enable_wintab32 implib
17234 wine_fn_config_test dlls/wintab32/tests wintab32_test
17235 wine_fn_config_dll wintrust enable_wintrust implib
17236 wine_fn_config_test dlls/wintrust/tests wintrust_test
17237 wine_fn_config_dll wlanapi enable_wlanapi
17238 wine_fn_config_dll wldap32 enable_wldap32 implib,po
17239 wine_fn_config_test dlls/wldap32/tests wldap32_test
17240 wine_fn_config_dll wmi enable_wmi
17241 wine_fn_config_dll wmiutils enable_wmiutils clean
17242 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
17243 wine_fn_config_dll wmp enable_wmp clean
17244 wine_fn_config_test dlls/wmp/tests wmp_test
17245 wine_fn_config_dll wmvcore enable_wmvcore
17246 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17247 wine_fn_config_dll wow32 enable_win16 implib
17248 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17249 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
17250 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17251 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
17252 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17253 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
17254 wine_fn_config_dll wsock32 enable_wsock32 implib
17255 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17256 wine_fn_config_dll wuapi enable_wuapi clean
17257 wine_fn_config_dll wuaueng enable_wuaueng
17258 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17259 wine_fn_config_dll xinput1_1 enable_xinput1_1
17260 wine_fn_config_dll xinput1_2 enable_xinput1_2
17261 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17262 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
17263 wine_fn_config_dll xinput1_4 enable_xinput1_4
17264 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17265 wine_fn_config_dll xmllite enable_xmllite implib
17266 wine_fn_config_test dlls/xmllite/tests xmllite_test
17267 wine_fn_config_dll xolehlp enable_xolehlp
17268 wine_fn_config_dll xpsprint enable_xpsprint
17269 wine_fn_config_dll xpssvcs enable_xpssvcs
17270 wine_fn_config_makefile documentation enable_documentation clean
17271 wine_fn_config_makefile fonts enable_fonts clean,install-lib
17272 wine_fn_config_makefile include enable_include clean,install-dev
17273 wine_fn_config_makefile libs/port enable_libs_port
17274 wine_fn_config_makefile libs/wine enable_libs_wine clean,install-dev,install-lib
17275 wine_fn_config_makefile libs/wpp enable_libs_wpp
17276 wine_fn_config_makefile loader enable_loader clean,install-lib,manpage
17277 wine_fn_config_program arp enable_arp install
17278 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
17279 wine_fn_config_program attrib enable_attrib install,po
17280 wine_fn_config_program cabarc enable_cabarc install
17281 wine_fn_config_program cacls enable_cacls install
17282 wine_fn_config_program clock enable_clock install,po
17283 wine_fn_config_program cmd enable_cmd install,po
17284 wine_fn_config_test programs/cmd/tests cmd.exe_test
17285 wine_fn_config_program conhost enable_conhost install
17286 wine_fn_config_program control enable_control install
17287 wine_fn_config_program cscript enable_cscript install
17288 wine_fn_config_program dpnsvr enable_dpnsvr install
17289 wine_fn_config_program dxdiag enable_dxdiag install,po
17290 wine_fn_config_program eject enable_eject install
17291 wine_fn_config_program expand enable_expand install
17292 wine_fn_config_program explorer enable_explorer install,po
17293 wine_fn_config_program extrac32 enable_extrac32 install
17294 wine_fn_config_program findstr enable_findstr install
17295 wine_fn_config_program hh enable_hh install
17296 wine_fn_config_program hostname enable_hostname install,po
17297 wine_fn_config_program icinfo enable_icinfo install
17298 wine_fn_config_program iexplore enable_iexplore install
17299 wine_fn_config_program ipconfig enable_ipconfig install,po
17300 wine_fn_config_program lodctr enable_lodctr install
17301 wine_fn_config_program mofcomp enable_mofcomp install
17302 wine_fn_config_program mshta enable_mshta install
17303 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
17304 wine_fn_config_program net enable_net install,po
17305 wine_fn_config_program netsh enable_netsh install
17306 wine_fn_config_program netstat enable_netstat install,po
17307 wine_fn_config_program ngen enable_ngen install
17308 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
17309 wine_fn_config_program oleview enable_oleview install,po
17310 wine_fn_config_program ping enable_ping install
17311 wine_fn_config_program plugplay enable_plugplay install
17312 wine_fn_config_program presentationfontcache enable_presentationfontcache install
17313 wine_fn_config_program progman enable_progman install,po
17314 wine_fn_config_program reg enable_reg install,po
17315 wine_fn_config_program regasm enable_regasm install
17316 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
17317 wine_fn_config_test programs/regedit/tests regedit.exe_test
17318 wine_fn_config_program regsvcs enable_regsvcs install
17319 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
17320 wine_fn_config_program rpcss enable_rpcss clean,install
17321 wine_fn_config_program rundll.exe16 enable_win16 install
17322 wine_fn_config_program rundll32 enable_rundll32 install
17323 wine_fn_config_program sc enable_sc install
17324 wine_fn_config_program schtasks enable_schtasks install
17325 wine_fn_config_program secedit enable_secedit install
17326 wine_fn_config_program servicemodelreg enable_servicemodelreg install
17327 wine_fn_config_program services enable_services clean,install
17328 wine_fn_config_test programs/services/tests services.exe_test
17329 wine_fn_config_program spoolsv enable_spoolsv install
17330 wine_fn_config_program start enable_start install,po
17331 wine_fn_config_program svchost enable_svchost install
17332 wine_fn_config_program taskkill enable_taskkill install,po
17333 wine_fn_config_program tasklist enable_tasklist install
17334 wine_fn_config_program taskmgr enable_taskmgr install,po
17335 wine_fn_config_program termsv enable_termsv install
17336 wine_fn_config_program uninstaller enable_uninstaller install,po
17337 wine_fn_config_program unlodctr enable_unlodctr install
17338 wine_fn_config_program view enable_view install,po
17339 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
17340 wine_fn_config_program winebrowser enable_winebrowser install
17341 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
17342 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
17343 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
17344 wine_fn_config_program winedevice enable_winedevice install
17345 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
17346 wine_fn_config_program winemenubuilder enable_winemenubuilder install
17347 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
17348 wine_fn_config_program winemsibuilder enable_winemsibuilder install
17349 wine_fn_config_program winepath enable_winepath install,installbin,manpage
17350 wine_fn_config_program winetest enable_winetest clean
17351 wine_fn_config_program winevdm enable_win16 install
17352 wine_fn_config_program winhelp.exe16 enable_win16 install
17353 wine_fn_config_program winhlp32 enable_winhlp32 install,po
17354 wine_fn_config_program winoldap.mod16 enable_win16 install
17355 wine_fn_config_program winver enable_winver install
17356 wine_fn_config_program wmic enable_wmic install,po
17357 wine_fn_config_program wordpad enable_wordpad install,po
17358 wine_fn_config_program write enable_write install,po
17359 wine_fn_config_program wscript enable_wscript clean,install
17360 wine_fn_config_test programs/wscript/tests wscript.exe_test
17361 wine_fn_config_program wusa enable_wusa install
17362 wine_fn_config_program xcopy enable_xcopy install,po
17363 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
17364 wine_fn_config_makefile server enable_server clean,install-lib,manpage
17365 wine_fn_config_tool tools clean,install-dev,install-lib,manpage
17366 wine_fn_config_tool tools/sfnt2fon clean
17367 wine_fn_config_tool tools/widl clean,install-dev,manpage
17368 wine_fn_config_tool tools/winebuild clean,install-dev,manpage
17369 wine_fn_config_tool tools/winedump clean,install-dev,manpage
17370 wine_fn_config_tool tools/winegcc clean,install-dev,manpage
17371 wine_fn_config_tool tools/wmc clean,install-dev,manpage
17372 wine_fn_config_tool tools/wrc clean,install-dev,manpage
17374 LINGUAS="\
17375 ar \
17376 bg \
17377 ca \
17378 cs \
17379 da \
17380 de \
17381 el \
17382 en \
17383 en_US \
17384 eo \
17385 es \
17386 fa \
17387 fi \
17388 fr \
17389 he \
17390 hi \
17391 hr \
17392 hu \
17393 it \
17394 ja \
17395 ko \
17396 lt \
17397 ml \
17398 nb_NO \
17399 nl \
17400 or \
17401 pa \
17402 pl \
17403 pt_BR \
17404 pt_PT \
17405 rm \
17406 ro \
17407 ru \
17408 sk \
17409 sl \
17410 sr_RS@cyrillic \
17411 sr_RS@latin \
17412 sv \
17413 te \
17414 th \
17415 tr \
17416 uk \
17417 wa \
17418 zh_CN \
17419 zh_TW"
17424 wine_fn_ignore_file ".gitignore"
17425 wine_fn_ignore_file "Makefile"
17426 wine_fn_ignore_file "TAGS"
17427 wine_fn_ignore_file "tags"
17428 wine_fn_ignore_file "autom4te.cache"
17429 wine_fn_ignore_file "config.cache"
17430 wine_fn_ignore_file "config.log"
17431 wine_fn_ignore_file "config.status"
17432 wine_fn_ignore_file "configure.lineno"
17433 wine_fn_ignore_file "include/config.h"
17434 wine_fn_ignore_file "include/stamp-h"
17435 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
17437 if test "x$enable_tools" != xno
17438 then
17439 wine_fn_ignore_file "tools/makedep$ac_exeext"
17440 ac_config_commands="$ac_config_commands tools/makedep"
17444 ac_config_commands="$ac_config_commands Makefile"
17447 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17451 if test "x$enable_maintainer_mode" = xyes
17452 then
17453 wine_fn_append_rule "configure: configure.ac aclocal.m4
17454 autoconf --warnings=all
17455 include/config.h.in: include/stamp-h.in
17456 include/stamp-h.in: configure.ac aclocal.m4
17457 autoheader --warnings=all
17458 @echo timestamp > \$@"
17461 if test "x$with_gettextpo" = xyes
17462 then
17463 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17464 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
17465 \$(LINGUAS:%=po/%.po): po/wine.pot
17466 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17467 po/wine.pot: \$(ALL_POT_FILES)
17468 msgcat -o \$@ \$(ALL_POT_FILES)"
17471 if test "$MSGFMT" != false
17472 then
17473 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
17474 clean::
17475 \$(RM) \$(LINGUAS:%=po/%.mo)"
17477 posrc="po"
17478 test "$srcdir" = . || posrc="$srcdir/po"
17479 for i in $LINGUAS
17481 wine_fn_ignore_file "po/$i.mo"
17482 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
17483 \$(MSGFMT) -o \$@ $posrc/$i.po"
17484 done
17485 else
17486 LINGUAS=
17489 if test "x$enable_tools" != xno
17490 then
17491 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17492 @./config.status tools/makedep
17493 Makefile: tools/makedep$ac_exeext
17494 distclean:: clean
17495 \$(RM) tools/makedep$ac_exeext"
17496 else
17497 wine_fn_append_rule "\$(MAKEDEP):
17498 @echo \"You need to run make in $TOOLSDIR first\" && false"
17501 if test -n "$with_wine64"
17502 then
17503 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17504 fonts server tools:
17505 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17506 $with_wine64/loader/wine:
17507 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17508 $with_wine64/loader/wine-preloader:
17509 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17510 clean::
17511 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17512 else
17513 as_fn_append LOADER_RULES "
17514 all: wine.inf
17516 install install-lib:: wine.inf install-man-pages
17517 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17518 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17520 uninstall::
17521 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17525 if test "$srcdir" = .
17526 then
17527 ac_config_commands="$ac_config_commands .gitignore"
17531 $as_echo " done" >&6
17532 cat >confcache <<\_ACEOF
17533 # This file is a shell script that caches the results of configure
17534 # tests run on this system so they can be shared between configure
17535 # scripts and configure runs, see configure's option --config-cache.
17536 # It is not useful on other systems. If it contains results you don't
17537 # want to keep, you may remove or edit it.
17539 # config.status only pays attention to the cache file if you give it
17540 # the --recheck option to rerun configure.
17542 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17543 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17544 # following values.
17546 _ACEOF
17548 # The following way of writing the cache mishandles newlines in values,
17549 # but we know of no workaround that is simple, portable, and efficient.
17550 # So, we kill variables containing newlines.
17551 # Ultrix sh set writes to stderr and can't be redirected directly,
17552 # and sets the high bit in the cache file unless we assign to the vars.
17554 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17555 eval ac_val=\$$ac_var
17556 case $ac_val in #(
17557 *${as_nl}*)
17558 case $ac_var in #(
17559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17561 esac
17562 case $ac_var in #(
17563 _ | IFS | as_nl) ;; #(
17564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17565 *) { eval $ac_var=; unset $ac_var;} ;;
17566 esac ;;
17567 esac
17568 done
17570 (set) 2>&1 |
17571 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17572 *${as_nl}ac_space=\ *)
17573 # `set' does not quote correctly, so add quotes: double-quote
17574 # substitution turns \\\\ into \\, and sed turns \\ into \.
17575 sed -n \
17576 "s/'/'\\\\''/g;
17577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17578 ;; #(
17580 # `set' quotes correctly as required by POSIX, so do not add quotes.
17581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17583 esac |
17584 sort
17586 sed '
17587 /^ac_cv_env_/b end
17588 t clear
17589 :clear
17590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17591 t end
17592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17593 :end' >>confcache
17594 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17595 if test -w "$cache_file"; then
17596 if test "x$cache_file" != "x/dev/null"; then
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17598 $as_echo "$as_me: updating cache $cache_file" >&6;}
17599 if test ! -f "$cache_file" || test -h "$cache_file"; then
17600 cat confcache >"$cache_file"
17601 else
17602 case $cache_file in #(
17603 */* | ?:*)
17604 mv -f confcache "$cache_file"$$ &&
17605 mv -f "$cache_file"$$ "$cache_file" ;; #(
17607 mv -f confcache "$cache_file" ;;
17608 esac
17611 else
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17613 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17616 rm -f confcache
17618 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17619 # Let make expand exec_prefix.
17620 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17622 DEFS=-DHAVE_CONFIG_H
17624 ac_libobjs=
17625 ac_ltlibobjs=
17627 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17628 # 1. Remove the extension, and $U if already installed.
17629 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17630 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17631 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17632 # will be set to the directory where LIBOBJS objects are built.
17633 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17634 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17635 done
17636 LIBOBJS=$ac_libobjs
17638 LTLIBOBJS=$ac_ltlibobjs
17642 : "${CONFIG_STATUS=./config.status}"
17643 ac_write_fail=0
17644 ac_clean_files_save=$ac_clean_files
17645 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17647 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17648 as_write_fail=0
17649 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17650 #! $SHELL
17651 # Generated by $as_me.
17652 # Run this file to recreate the current configuration.
17653 # Compiler output produced by configure, useful for debugging
17654 # configure, is in config.log if it exists.
17656 debug=false
17657 ac_cs_recheck=false
17658 ac_cs_silent=false
17660 SHELL=\${CONFIG_SHELL-$SHELL}
17661 export SHELL
17662 _ASEOF
17663 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17664 ## -------------------- ##
17665 ## M4sh Initialization. ##
17666 ## -------------------- ##
17668 # Be more Bourne compatible
17669 DUALCASE=1; export DUALCASE # for MKS sh
17670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17671 emulate sh
17672 NULLCMD=:
17673 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17674 # is contrary to our usage. Disable this feature.
17675 alias -g '${1+"$@"}'='"$@"'
17676 setopt NO_GLOB_SUBST
17677 else
17678 case `(set -o) 2>/dev/null` in #(
17679 *posix*) :
17680 set -o posix ;; #(
17681 *) :
17683 esac
17687 as_nl='
17689 export as_nl
17690 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17691 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17693 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17694 # Prefer a ksh shell builtin over an external printf program on Solaris,
17695 # but without wasting forks for bash or zsh.
17696 if test -z "$BASH_VERSION$ZSH_VERSION" \
17697 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17698 as_echo='print -r --'
17699 as_echo_n='print -rn --'
17700 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17701 as_echo='printf %s\n'
17702 as_echo_n='printf %s'
17703 else
17704 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17705 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17706 as_echo_n='/usr/ucb/echo -n'
17707 else
17708 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17709 as_echo_n_body='eval
17710 arg=$1;
17711 case $arg in #(
17712 *"$as_nl"*)
17713 expr "X$arg" : "X\\(.*\\)$as_nl";
17714 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17715 esac;
17716 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17718 export as_echo_n_body
17719 as_echo_n='sh -c $as_echo_n_body as_echo'
17721 export as_echo_body
17722 as_echo='sh -c $as_echo_body as_echo'
17725 # The user is always right.
17726 if test "${PATH_SEPARATOR+set}" != set; then
17727 PATH_SEPARATOR=:
17728 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17729 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17730 PATH_SEPARATOR=';'
17735 # IFS
17736 # We need space, tab and new line, in precisely that order. Quoting is
17737 # there to prevent editors from complaining about space-tab.
17738 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17739 # splitting by setting IFS to empty value.)
17740 IFS=" "" $as_nl"
17742 # Find who we are. Look in the path if we contain no directory separator.
17743 as_myself=
17744 case $0 in #((
17745 *[\\/]* ) as_myself=$0 ;;
17746 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17747 for as_dir in $PATH
17749 IFS=$as_save_IFS
17750 test -z "$as_dir" && as_dir=.
17751 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17752 done
17753 IFS=$as_save_IFS
17756 esac
17757 # We did not find ourselves, most probably we were run as `sh COMMAND'
17758 # in which case we are not to be found in the path.
17759 if test "x$as_myself" = x; then
17760 as_myself=$0
17762 if test ! -f "$as_myself"; then
17763 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17764 exit 1
17767 # Unset variables that we do not need and which cause bugs (e.g. in
17768 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17769 # suppresses any "Segmentation fault" message there. '((' could
17770 # trigger a bug in pdksh 5.2.14.
17771 for as_var in BASH_ENV ENV MAIL MAILPATH
17772 do eval test x\${$as_var+set} = xset \
17773 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17774 done
17775 PS1='$ '
17776 PS2='> '
17777 PS4='+ '
17779 # NLS nuisances.
17780 LC_ALL=C
17781 export LC_ALL
17782 LANGUAGE=C
17783 export LANGUAGE
17785 # CDPATH.
17786 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17789 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17790 # ----------------------------------------
17791 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17792 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17793 # script with STATUS, using 1 if that was 0.
17794 as_fn_error ()
17796 as_status=$1; test $as_status -eq 0 && as_status=1
17797 if test "$4"; then
17798 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17799 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17801 $as_echo "$as_me: error: $2" >&2
17802 as_fn_exit $as_status
17803 } # as_fn_error
17806 # as_fn_set_status STATUS
17807 # -----------------------
17808 # Set $? to STATUS, without forking.
17809 as_fn_set_status ()
17811 return $1
17812 } # as_fn_set_status
17814 # as_fn_exit STATUS
17815 # -----------------
17816 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17817 as_fn_exit ()
17819 set +e
17820 as_fn_set_status $1
17821 exit $1
17822 } # as_fn_exit
17824 # as_fn_unset VAR
17825 # ---------------
17826 # Portably unset VAR.
17827 as_fn_unset ()
17829 { eval $1=; unset $1;}
17831 as_unset=as_fn_unset
17832 # as_fn_append VAR VALUE
17833 # ----------------------
17834 # Append the text in VALUE to the end of the definition contained in VAR. Take
17835 # advantage of any shell optimizations that allow amortized linear growth over
17836 # repeated appends, instead of the typical quadratic growth present in naive
17837 # implementations.
17838 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17839 eval 'as_fn_append ()
17841 eval $1+=\$2
17843 else
17844 as_fn_append ()
17846 eval $1=\$$1\$2
17848 fi # as_fn_append
17850 # as_fn_arith ARG...
17851 # ------------------
17852 # Perform arithmetic evaluation on the ARGs, and store the result in the
17853 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17854 # must be portable across $(()) and expr.
17855 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17856 eval 'as_fn_arith ()
17858 as_val=$(( $* ))
17860 else
17861 as_fn_arith ()
17863 as_val=`expr "$@" || test $? -eq 1`
17865 fi # as_fn_arith
17868 if expr a : '\(a\)' >/dev/null 2>&1 &&
17869 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17870 as_expr=expr
17871 else
17872 as_expr=false
17875 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17876 as_basename=basename
17877 else
17878 as_basename=false
17881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17882 as_dirname=dirname
17883 else
17884 as_dirname=false
17887 as_me=`$as_basename -- "$0" ||
17888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17889 X"$0" : 'X\(//\)$' \| \
17890 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17891 $as_echo X/"$0" |
17892 sed '/^.*\/\([^/][^/]*\)\/*$/{
17893 s//\1/
17896 /^X\/\(\/\/\)$/{
17897 s//\1/
17900 /^X\/\(\/\).*/{
17901 s//\1/
17904 s/.*/./; q'`
17906 # Avoid depending upon Character Ranges.
17907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17910 as_cr_digits='0123456789'
17911 as_cr_alnum=$as_cr_Letters$as_cr_digits
17913 ECHO_C= ECHO_N= ECHO_T=
17914 case `echo -n x` in #(((((
17915 -n*)
17916 case `echo 'xy\c'` in
17917 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17918 xy) ECHO_C='\c';;
17919 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17920 ECHO_T=' ';;
17921 esac;;
17923 ECHO_N='-n';;
17924 esac
17926 rm -f conf$$ conf$$.exe conf$$.file
17927 if test -d conf$$.dir; then
17928 rm -f conf$$.dir/conf$$.file
17929 else
17930 rm -f conf$$.dir
17931 mkdir conf$$.dir 2>/dev/null
17933 if (echo >conf$$.file) 2>/dev/null; then
17934 if ln -s conf$$.file conf$$ 2>/dev/null; then
17935 as_ln_s='ln -s'
17936 # ... but there are two gotchas:
17937 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17938 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17939 # In both cases, we have to default to `cp -pR'.
17940 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17941 as_ln_s='cp -pR'
17942 elif ln conf$$.file conf$$ 2>/dev/null; then
17943 as_ln_s=ln
17944 else
17945 as_ln_s='cp -pR'
17947 else
17948 as_ln_s='cp -pR'
17950 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17951 rmdir conf$$.dir 2>/dev/null
17954 # as_fn_mkdir_p
17955 # -------------
17956 # Create "$as_dir" as a directory, including parents if necessary.
17957 as_fn_mkdir_p ()
17960 case $as_dir in #(
17961 -*) as_dir=./$as_dir;;
17962 esac
17963 test -d "$as_dir" || eval $as_mkdir_p || {
17964 as_dirs=
17965 while :; do
17966 case $as_dir in #(
17967 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17968 *) as_qdir=$as_dir;;
17969 esac
17970 as_dirs="'$as_qdir' $as_dirs"
17971 as_dir=`$as_dirname -- "$as_dir" ||
17972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17973 X"$as_dir" : 'X\(//\)[^/]' \| \
17974 X"$as_dir" : 'X\(//\)$' \| \
17975 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17976 $as_echo X"$as_dir" |
17977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17978 s//\1/
17981 /^X\(\/\/\)[^/].*/{
17982 s//\1/
17985 /^X\(\/\/\)$/{
17986 s//\1/
17989 /^X\(\/\).*/{
17990 s//\1/
17993 s/.*/./; q'`
17994 test -d "$as_dir" && break
17995 done
17996 test -z "$as_dirs" || eval "mkdir $as_dirs"
17997 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18000 } # as_fn_mkdir_p
18001 if mkdir -p . 2>/dev/null; then
18002 as_mkdir_p='mkdir -p "$as_dir"'
18003 else
18004 test -d ./-p && rmdir ./-p
18005 as_mkdir_p=false
18009 # as_fn_executable_p FILE
18010 # -----------------------
18011 # Test if FILE is an executable regular file.
18012 as_fn_executable_p ()
18014 test -f "$1" && test -x "$1"
18015 } # as_fn_executable_p
18016 as_test_x='test -x'
18017 as_executable_p=as_fn_executable_p
18019 # Sed expression to map a string onto a valid CPP name.
18020 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18022 # Sed expression to map a string onto a valid variable name.
18023 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18026 exec 6>&1
18027 ## ----------------------------------- ##
18028 ## Main body of $CONFIG_STATUS script. ##
18029 ## ----------------------------------- ##
18030 _ASEOF
18031 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18034 # Save the log message, to keep $0 and so on meaningful, and to
18035 # report actual input values of CONFIG_FILES etc. instead of their
18036 # values after options handling.
18037 ac_log="
18038 This file was extended by Wine $as_me 1.7.12, which was
18039 generated by GNU Autoconf 2.69. Invocation command line was
18041 CONFIG_FILES = $CONFIG_FILES
18042 CONFIG_HEADERS = $CONFIG_HEADERS
18043 CONFIG_LINKS = $CONFIG_LINKS
18044 CONFIG_COMMANDS = $CONFIG_COMMANDS
18045 $ $0 $@
18047 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18050 _ACEOF
18052 case $ac_config_files in *"
18053 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18054 esac
18056 case $ac_config_headers in *"
18057 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18058 esac
18061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18062 # Files that config.status was made for.
18063 config_files="$ac_config_files"
18064 config_headers="$ac_config_headers"
18065 config_links="$ac_config_links"
18066 config_commands="$ac_config_commands"
18068 _ACEOF
18070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18071 ac_cs_usage="\
18072 \`$as_me' instantiates files and other configuration actions
18073 from templates according to the current configuration. Unless the files
18074 and actions are specified as TAGs, all are instantiated by default.
18076 Usage: $0 [OPTION]... [TAG]...
18078 -h, --help print this help, then exit
18079 -V, --version print version number and configuration settings, then exit
18080 --config print configuration, then exit
18081 -q, --quiet, --silent
18082 do not print progress messages
18083 -d, --debug don't remove temporary files
18084 --recheck update $as_me by reconfiguring in the same conditions
18085 --file=FILE[:TEMPLATE]
18086 instantiate the configuration file FILE
18087 --header=FILE[:TEMPLATE]
18088 instantiate the configuration header FILE
18090 Configuration files:
18091 $config_files
18093 Configuration headers:
18094 $config_headers
18096 Configuration links:
18097 $config_links
18099 Configuration commands:
18100 $config_commands
18102 Report bugs to <wine-devel@winehq.org>.
18103 Wine home page: <http://www.winehq.org>."
18105 _ACEOF
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18107 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18108 ac_cs_version="\\
18109 Wine config.status 1.7.12
18110 configured by $0, generated by GNU Autoconf 2.69,
18111 with options \\"\$ac_cs_config\\"
18113 Copyright (C) 2012 Free Software Foundation, Inc.
18114 This config.status script is free software; the Free Software Foundation
18115 gives unlimited permission to copy, distribute and modify it."
18117 ac_pwd='$ac_pwd'
18118 srcdir='$srcdir'
18119 test -n "\$AWK" || AWK=awk
18120 _ACEOF
18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18123 # The default lists apply if the user does not specify any file.
18124 ac_need_defaults=:
18125 while test $# != 0
18127 case $1 in
18128 --*=?*)
18129 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18130 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18131 ac_shift=:
18133 --*=)
18134 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18135 ac_optarg=
18136 ac_shift=:
18139 ac_option=$1
18140 ac_optarg=$2
18141 ac_shift=shift
18143 esac
18145 case $ac_option in
18146 # Handling of the options.
18147 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18148 ac_cs_recheck=: ;;
18149 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18150 $as_echo "$ac_cs_version"; exit ;;
18151 --config | --confi | --conf | --con | --co | --c )
18152 $as_echo "$ac_cs_config"; exit ;;
18153 --debug | --debu | --deb | --de | --d | -d )
18154 debug=: ;;
18155 --file | --fil | --fi | --f )
18156 $ac_shift
18157 case $ac_optarg in
18158 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18159 '') as_fn_error $? "missing file argument" ;;
18160 esac
18161 as_fn_append CONFIG_FILES " '$ac_optarg'"
18162 ac_need_defaults=false;;
18163 --header | --heade | --head | --hea )
18164 $ac_shift
18165 case $ac_optarg in
18166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18167 esac
18168 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18169 ac_need_defaults=false;;
18170 --he | --h)
18171 # Conflict between --help and --header
18172 as_fn_error $? "ambiguous option: \`$1'
18173 Try \`$0 --help' for more information.";;
18174 --help | --hel | -h )
18175 $as_echo "$ac_cs_usage"; exit ;;
18176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18177 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18178 ac_cs_silent=: ;;
18180 # This is an error.
18181 -*) as_fn_error $? "unrecognized option: \`$1'
18182 Try \`$0 --help' for more information." ;;
18184 *) as_fn_append ac_config_targets " $1"
18185 ac_need_defaults=false ;;
18187 esac
18188 shift
18189 done
18191 ac_configure_extra_args=
18193 if $ac_cs_silent; then
18194 exec 6>/dev/null
18195 ac_configure_extra_args="$ac_configure_extra_args --silent"
18198 _ACEOF
18199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18200 if \$ac_cs_recheck; then
18201 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18202 shift
18203 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18204 CONFIG_SHELL='$SHELL'
18205 export CONFIG_SHELL
18206 exec "\$@"
18209 _ACEOF
18210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18211 exec 5>>config.log
18213 echo
18214 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18215 ## Running $as_me. ##
18216 _ASBOX
18217 $as_echo "$ac_log"
18218 } >&5
18220 _ACEOF
18221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18223 # INIT-COMMANDS
18225 wine_fn_output_makedep ()
18227 as_dir=tools; as_fn_mkdir_p
18228 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18230 wine_fn_output_makefile ()
18232 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18233 `cat $wine_rules_file`
18234 _WINE_EOF
18235 as_fn_error $? "could not create Makefile" "$LINENO" 5
18237 wine_fn_output_gitignore ()
18239 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18240 $GITIGNORE
18241 _WINE_EOF
18242 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18245 _ACEOF
18247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18249 # Handling of arguments.
18250 for ac_config_target in $ac_config_targets
18252 case $ac_config_target in
18253 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18254 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
18255 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18256 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18257 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18258 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18259 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18260 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18261 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
18262 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18263 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
18264 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
18265 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18266 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
18268 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18269 esac
18270 done
18273 # If the user did not use the arguments to specify the items to instantiate,
18274 # then the envvar interface is used. Set only those that are not.
18275 # We use the long form for the default assignment because of an extremely
18276 # bizarre bug on SunOS 4.1.3.
18277 if $ac_need_defaults; then
18278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18280 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
18281 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18284 # Have a temporary directory for convenience. Make it in the build tree
18285 # simply because there is no reason against having it here, and in addition,
18286 # creating and moving files from /tmp can sometimes cause problems.
18287 # Hook for its removal unless debugging.
18288 # Note that there is a small window in which the directory will not be cleaned:
18289 # after its creation but before its name has been assigned to `$tmp'.
18290 $debug ||
18292 tmp= ac_tmp=
18293 trap 'exit_status=$?
18294 : "${ac_tmp:=$tmp}"
18295 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18297 trap 'as_fn_exit 1' 1 2 13 15
18299 # Create a (secure) tmp directory for tmp files.
18302 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18303 test -d "$tmp"
18304 } ||
18306 tmp=./conf$$-$RANDOM
18307 (umask 077 && mkdir "$tmp")
18308 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18309 ac_tmp=$tmp
18311 # Set up the scripts for CONFIG_FILES section.
18312 # No need to generate them if there are no CONFIG_FILES.
18313 # This happens for instance with `./config.status config.h'.
18314 if test -n "$CONFIG_FILES"; then
18317 ac_cr=`echo X | tr X '\015'`
18318 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18319 # But we know of no other shell where ac_cr would be empty at this
18320 # point, so we can use a bashism as a fallback.
18321 if test "x$ac_cr" = x; then
18322 eval ac_cr=\$\'\\r\'
18324 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18325 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18326 ac_cs_awk_cr='\\r'
18327 else
18328 ac_cs_awk_cr=$ac_cr
18331 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18332 _ACEOF
18336 echo "cat >conf$$subs.awk <<_ACEOF" &&
18337 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18338 echo "_ACEOF"
18339 } >conf$$subs.sh ||
18340 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18341 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18342 ac_delim='%!_!# '
18343 for ac_last_try in false false false false false :; do
18344 . ./conf$$subs.sh ||
18345 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18347 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18348 if test $ac_delim_n = $ac_delim_num; then
18349 break
18350 elif $ac_last_try; then
18351 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18352 else
18353 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18355 done
18356 rm -f conf$$subs.sh
18358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18359 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18360 _ACEOF
18361 sed -n '
18363 s/^/S["/; s/!.*/"]=/
18366 s/^[^!]*!//
18367 :repl
18368 t repl
18369 s/'"$ac_delim"'$//
18370 t delim
18373 s/\(.\{148\}\)..*/\1/
18374 t more1
18375 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18378 b repl
18379 :more1
18380 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18383 s/.\{148\}//
18384 t nl
18385 :delim
18387 s/\(.\{148\}\)..*/\1/
18388 t more2
18389 s/["\\]/\\&/g; s/^/"/; s/$/"/
18392 :more2
18393 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18396 s/.\{148\}//
18397 t delim
18398 ' <conf$$subs.awk | sed '
18399 /^[^""]/{
18401 s/\n//
18403 ' >>$CONFIG_STATUS || ac_write_fail=1
18404 rm -f conf$$subs.awk
18405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18406 _ACAWK
18407 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18408 for (key in S) S_is_set[key] = 1
18409 FS = "\a"
18413 line = $ 0
18414 nfields = split(line, field, "@")
18415 substed = 0
18416 len = length(field[1])
18417 for (i = 2; i < nfields; i++) {
18418 key = field[i]
18419 keylen = length(key)
18420 if (S_is_set[key]) {
18421 value = S[key]
18422 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18423 len += length(value) + length(field[++i])
18424 substed = 1
18425 } else
18426 len += 1 + keylen
18429 print line
18432 _ACAWK
18433 _ACEOF
18434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18435 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18436 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18437 else
18439 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18440 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18441 _ACEOF
18443 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18444 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18445 # trailing colons and then remove the whole line if VPATH becomes empty
18446 # (actually we leave an empty line to preserve line numbers).
18447 if test "x$srcdir" = x.; then
18448 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18450 s///
18451 s/^/:/
18452 s/[ ]*$/:/
18453 s/:\$(srcdir):/:/g
18454 s/:\${srcdir}:/:/g
18455 s/:@srcdir@:/:/g
18456 s/^:*//
18457 s/:*$//
18459 s/\(=[ ]*\).*/\1/
18461 s/\n//
18462 s/^[^=]*=[ ]*$//
18466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18467 fi # test -n "$CONFIG_FILES"
18469 # Set up the scripts for CONFIG_HEADERS section.
18470 # No need to generate them if there are no CONFIG_HEADERS.
18471 # This happens for instance with `./config.status Makefile'.
18472 if test -n "$CONFIG_HEADERS"; then
18473 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18474 BEGIN {
18475 _ACEOF
18477 # Transform confdefs.h into an awk script `defines.awk', embedded as
18478 # here-document in config.status, that substitutes the proper values into
18479 # config.h.in to produce config.h.
18481 # Create a delimiter string that does not exist in confdefs.h, to ease
18482 # handling of long lines.
18483 ac_delim='%!_!# '
18484 for ac_last_try in false false :; do
18485 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18486 if test -z "$ac_tt"; then
18487 break
18488 elif $ac_last_try; then
18489 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18490 else
18491 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18493 done
18495 # For the awk script, D is an array of macro values keyed by name,
18496 # likewise P contains macro parameters if any. Preserve backslash
18497 # newline sequences.
18499 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18500 sed -n '
18501 s/.\{148\}/&'"$ac_delim"'/g
18502 t rset
18503 :rset
18504 s/^[ ]*#[ ]*define[ ][ ]*/ /
18505 t def
18507 :def
18508 s/\\$//
18509 t bsnl
18510 s/["\\]/\\&/g
18511 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18512 D["\1"]=" \3"/p
18513 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18515 :bsnl
18516 s/["\\]/\\&/g
18517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18518 D["\1"]=" \3\\\\\\n"\\/p
18519 t cont
18520 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18521 t cont
18523 :cont
18525 s/.\{148\}/&'"$ac_delim"'/g
18526 t clear
18527 :clear
18528 s/\\$//
18529 t bsnlc
18530 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18532 :bsnlc
18533 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18534 b cont
18535 ' <confdefs.h | sed '
18536 s/'"$ac_delim"'/"\\\
18537 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18540 for (key in D) D_is_set[key] = 1
18541 FS = "\a"
18543 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18544 line = \$ 0
18545 split(line, arg, " ")
18546 if (arg[1] == "#") {
18547 defundef = arg[2]
18548 mac1 = arg[3]
18549 } else {
18550 defundef = substr(arg[1], 2)
18551 mac1 = arg[2]
18553 split(mac1, mac2, "(") #)
18554 macro = mac2[1]
18555 prefix = substr(line, 1, index(line, defundef) - 1)
18556 if (D_is_set[macro]) {
18557 # Preserve the white space surrounding the "#".
18558 print prefix "define", macro P[macro] D[macro]
18559 next
18560 } else {
18561 # Replace #undef with comments. This is necessary, for example,
18562 # in the case of _POSIX_SOURCE, which is predefined and required
18563 # on some systems where configure will not decide to define it.
18564 if (defundef == "undef") {
18565 print "/*", prefix defundef, macro, "*/"
18566 next
18570 { print }
18571 _ACAWK
18572 _ACEOF
18573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18574 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18575 fi # test -n "$CONFIG_HEADERS"
18578 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18579 shift
18580 for ac_tag
18582 case $ac_tag in
18583 :[FHLC]) ac_mode=$ac_tag; continue;;
18584 esac
18585 case $ac_mode$ac_tag in
18586 :[FHL]*:*);;
18587 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18588 :[FH]-) ac_tag=-:-;;
18589 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18590 esac
18591 ac_save_IFS=$IFS
18592 IFS=:
18593 set x $ac_tag
18594 IFS=$ac_save_IFS
18595 shift
18596 ac_file=$1
18597 shift
18599 case $ac_mode in
18600 :L) ac_source=$1;;
18601 :[FH])
18602 ac_file_inputs=
18603 for ac_f
18605 case $ac_f in
18606 -) ac_f="$ac_tmp/stdin";;
18607 *) # Look for the file first in the build tree, then in the source tree
18608 # (if the path is not absolute). The absolute path cannot be DOS-style,
18609 # because $ac_f cannot contain `:'.
18610 test -f "$ac_f" ||
18611 case $ac_f in
18612 [\\/$]*) false;;
18613 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18614 esac ||
18615 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18616 esac
18617 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18618 as_fn_append ac_file_inputs " '$ac_f'"
18619 done
18621 # Let's still pretend it is `configure' which instantiates (i.e., don't
18622 # use $as_me), people would be surprised to read:
18623 # /* config.h. Generated by config.status. */
18624 configure_input='Generated from '`
18625 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18626 `' by configure.'
18627 if test x"$ac_file" != x-; then
18628 configure_input="$ac_file. $configure_input"
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18630 $as_echo "$as_me: creating $ac_file" >&6;}
18632 # Neutralize special characters interpreted by sed in replacement strings.
18633 case $configure_input in #(
18634 *\&* | *\|* | *\\* )
18635 ac_sed_conf_input=`$as_echo "$configure_input" |
18636 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18637 *) ac_sed_conf_input=$configure_input;;
18638 esac
18640 case $ac_tag in
18641 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18642 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18643 esac
18645 esac
18647 ac_dir=`$as_dirname -- "$ac_file" ||
18648 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18649 X"$ac_file" : 'X\(//\)[^/]' \| \
18650 X"$ac_file" : 'X\(//\)$' \| \
18651 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18652 $as_echo X"$ac_file" |
18653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18654 s//\1/
18657 /^X\(\/\/\)[^/].*/{
18658 s//\1/
18661 /^X\(\/\/\)$/{
18662 s//\1/
18665 /^X\(\/\).*/{
18666 s//\1/
18669 s/.*/./; q'`
18670 as_dir="$ac_dir"; as_fn_mkdir_p
18671 ac_builddir=.
18673 case "$ac_dir" in
18674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18676 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18677 # A ".." for each directory in $ac_dir_suffix.
18678 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18679 case $ac_top_builddir_sub in
18680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18682 esac ;;
18683 esac
18684 ac_abs_top_builddir=$ac_pwd
18685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18686 # for backward compatibility:
18687 ac_top_builddir=$ac_top_build_prefix
18689 case $srcdir in
18690 .) # We are building in place.
18691 ac_srcdir=.
18692 ac_top_srcdir=$ac_top_builddir_sub
18693 ac_abs_top_srcdir=$ac_pwd ;;
18694 [\\/]* | ?:[\\/]* ) # Absolute name.
18695 ac_srcdir=$srcdir$ac_dir_suffix;
18696 ac_top_srcdir=$srcdir
18697 ac_abs_top_srcdir=$srcdir ;;
18698 *) # Relative name.
18699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18700 ac_top_srcdir=$ac_top_build_prefix$srcdir
18701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18702 esac
18703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18706 case $ac_mode in
18709 # CONFIG_FILE
18712 _ACEOF
18714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18715 # If the template does not know about datarootdir, expand it.
18716 # FIXME: This hack should be removed a few years after 2.60.
18717 ac_datarootdir_hack=; ac_datarootdir_seen=
18718 ac_sed_dataroot='
18719 /datarootdir/ {
18723 /@datadir@/p
18724 /@docdir@/p
18725 /@infodir@/p
18726 /@localedir@/p
18727 /@mandir@/p'
18728 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18729 *datarootdir*) ac_datarootdir_seen=yes;;
18730 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18732 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18733 _ACEOF
18734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18735 ac_datarootdir_hack='
18736 s&@datadir@&$datadir&g
18737 s&@docdir@&$docdir&g
18738 s&@infodir@&$infodir&g
18739 s&@localedir@&$localedir&g
18740 s&@mandir@&$mandir&g
18741 s&\\\${datarootdir}&$datarootdir&g' ;;
18742 esac
18743 _ACEOF
18745 # Neutralize VPATH when `$srcdir' = `.'.
18746 # Shell code in configure.ac might set extrasub.
18747 # FIXME: do we really want to maintain this feature?
18748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18749 ac_sed_extra="$ac_vpsub
18750 $extrasub
18751 _ACEOF
18752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18755 s|@configure_input@|$ac_sed_conf_input|;t t
18756 s&@top_builddir@&$ac_top_builddir_sub&;t t
18757 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18758 s&@srcdir@&$ac_srcdir&;t t
18759 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18760 s&@top_srcdir@&$ac_top_srcdir&;t t
18761 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18762 s&@builddir@&$ac_builddir&;t t
18763 s&@abs_builddir@&$ac_abs_builddir&;t t
18764 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18765 $ac_datarootdir_hack
18767 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18768 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18771 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18773 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18775 which seems to be undefined. Please make sure it is defined" >&5
18776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18777 which seems to be undefined. Please make sure it is defined" >&2;}
18779 rm -f "$ac_tmp/stdin"
18780 case $ac_file in
18781 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18782 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18783 esac \
18784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18788 # CONFIG_HEADER
18790 if test x"$ac_file" != x-; then
18792 $as_echo "/* $configure_input */" \
18793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18794 } >"$ac_tmp/config.h" \
18795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18796 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18798 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18799 else
18800 rm -f "$ac_file"
18801 mv "$ac_tmp/config.h" "$ac_file" \
18802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18804 else
18805 $as_echo "/* $configure_input */" \
18806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18807 || as_fn_error $? "could not create -" "$LINENO" 5
18812 # CONFIG_LINK
18815 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18817 else
18818 # Prefer the file from the source tree if names are identical.
18819 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18820 ac_source=$srcdir/$ac_source
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18824 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18826 if test ! -r "$ac_source"; then
18827 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18829 rm -f "$ac_file"
18831 # Try a relative symlink, then a hard link, then a copy.
18832 case $ac_source in
18833 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18834 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18835 esac
18836 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18837 ln "$ac_source" "$ac_file" 2>/dev/null ||
18838 cp -p "$ac_source" "$ac_file" ||
18839 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18843 $as_echo "$as_me: executing $ac_file commands" >&6;}
18845 esac
18848 case $ac_file$ac_mode in
18849 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18850 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18851 "Makefile":C) wine_fn_output_makefile Makefile ;;
18852 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18854 esac
18855 done # for ac_tag
18858 as_fn_exit 0
18859 _ACEOF
18860 ac_clean_files=$ac_clean_files_save
18862 test $ac_write_fail = 0 ||
18863 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18866 # configure is writing to config.log, and then calls config.status.
18867 # config.status does its own redirection, appending to config.log.
18868 # Unfortunately, on DOS this fails, as config.log is still kept open
18869 # by configure, so config.status won't be able to write to it; its
18870 # output is simply discarded. So we exec the FD to /dev/null,
18871 # effectively closing config.log, so it can be properly (re)opened and
18872 # appended to by config.status. When coming back to configure, we
18873 # need to make the FD available again.
18874 if test "$no_create" != yes; then
18875 ac_cs_success=:
18876 ac_config_status_args=
18877 test "$silent" = yes &&
18878 ac_config_status_args="$ac_config_status_args --quiet"
18879 exec 5>/dev/null
18880 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18881 exec 5>>config.log
18882 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18883 # would make configure fail if this is the last instruction.
18884 $ac_cs_success || as_fn_exit 1
18886 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18888 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18892 if test "$no_create" = "yes"
18893 then
18894 exit 0
18897 ac_save_IFS="$IFS"
18898 if test "x$wine_notices != "x; then
18899 echo >&6
18900 IFS="|"
18901 for msg in $wine_notices; do
18902 IFS="$ac_save_IFS"
18903 if ${msg+:} false; then :
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18905 $as_echo "$as_me: $msg" >&6;}
18907 done
18909 IFS="|"
18910 for msg in $wine_warnings; do
18911 IFS="$ac_save_IFS"
18912 if ${msg+:} false; then :
18913 echo >&2
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18915 $as_echo "$as_me: WARNING: $msg" >&2;}
18917 done
18918 IFS="$ac_save_IFS"
18920 $as_echo "
18921 $as_me: Finished. Do '${ac_make}' to compile Wine.
18922 " >&6