iphlpapi: Don't set the dns server list if there are no servers.
[wine/multimedia.git] / configure
blob5056a203c1c94fecd10e86e23624ccc0855cdac5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.1.
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.1'
584 PACKAGE_STRING='Wine 1.7.1'
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 PORCFLAGS
628 LINGUAS
629 ALL_TEST_RESOURCES
630 LDAPLIBS
631 LIBRT
632 LIBPOLL
633 LIBDL
634 EXTRA_BINARIES
635 MAIN_BINARY
636 TOOLSEXT
637 LDPATH
638 UNWINDFLAGS
639 BUILTINFLAG
640 EXTRACFLAGS
641 LIBPROCSTAT
642 LIBKSTAT
643 LIBOPENAL
644 MPG123_LIBS
645 MPG123_CFLAGS
646 TIFF_LIBS
647 TIFF_CFLAGS
648 PNG_LIBS
649 PNG_CFLAGS
650 JPEG_LIBS
651 JPEG_CFLAGS
652 FONTCONFIGINCL
653 CUPSINCL
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 OSS4INCL
657 ALSALIBS
658 GSTREAMER_LIBS
659 GSTREAMER_CFLAGS
660 LIBGETTEXTPO
661 ZLIB
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLVLIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 X_EXTRA_LIBS
684 X_LIBS
685 X_PRE_LIBS
686 X_CFLAGS
687 XMKMF
688 LIBPTHREAD
689 CROSSTARGET
690 CROSSCC
691 CROSSTEST_DISABLE
692 PRELINK
693 CARBONLIB
694 QUICKTIMELIB
695 LIBOPENCL
696 FRAMEWORK_OPENAL
697 COREAUDIO
698 SECURITYLIB
699 DISKARBITRATIONLIB
700 LDEXECFLAGS
701 APPKITLIB
702 CORESERVICESLIB
703 APPLICATIONSERVICESLIB
704 FORCEFEEDBACKLIB
705 IOKITLIB
706 COREFOUNDATIONLIB
707 LIBWINE_RULES
708 SOCKETLIBS
709 DLLTOOL
710 READELF
712 LDRPATH_LOCAL
713 LDRPATH_INSTALL
714 IMPLIBEXT
715 DLLFLAGS
716 DLLEXT
718 OPENGL_LIBS
719 XLIB
720 MAINTAINER_MODE
721 PKG_CONFIG
722 MSGFMT
723 ICOTOOL
724 CONVERT
725 RSVG
726 FONTFORGE
727 LINTFLAGS
728 LINT
729 INSTALL_DATA
730 INSTALL_SCRIPT
731 INSTALL_PROGRAM
732 LDCONFIG
733 EGREP
734 GREP
735 LN_S
736 RANLIB
737 ARFLAGS
738 ac_ct_AR
740 BISON
741 FLEX
742 TOOLSDIR
743 WOW64_DISABLE
744 TARGETFLAGS
745 CPPBIN
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 SET_MAKE
757 host_os
758 host_vendor
759 host_cpu
760 host
761 build_os
762 build_vendor
763 build_cpu
764 build
765 target_alias
766 host_alias
767 build_alias
768 LIBS
769 ECHO_T
770 ECHO_N
771 ECHO_C
772 DEFS
773 mandir
774 localedir
775 libdir
776 psdir
777 pdfdir
778 dvidir
779 htmldir
780 infodir
781 docdir
782 oldincludedir
783 includedir
784 localstatedir
785 sharedstatedir
786 sysconfdir
787 datadir
788 datarootdir
789 libexecdir
790 sbindir
791 bindir
792 program_transform_name
793 prefix
794 exec_prefix
795 PACKAGE_URL
796 PACKAGE_BUGREPORT
797 PACKAGE_STRING
798 PACKAGE_VERSION
799 PACKAGE_TARNAME
800 PACKAGE_NAME
801 PATH_SEPARATOR
802 SHELL'
803 ac_subst_files='MAKE_RULES
804 MAKE_TEST_RULES
805 MAKE_DLL_RULES
806 MAKE_IMPLIB_RULES
807 MAKE_PROG_RULES'
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_openal
835 with_opencl
836 with_opengl
837 with_osmesa
838 with_oss
839 with_png
840 with_pthread
841 with_sane
842 with_tiff
843 with_v4l
844 with_xcomposite
845 with_xcursor
846 with_xinerama
847 with_xinput
848 with_xinput2
849 with_xml
850 with_xrandr
851 with_xrender
852 with_xshape
853 with_xshm
854 with_xslt
855 with_xxf86vm
856 with_zlib
857 with_wine_tools
858 with_wine64
859 enable_largefile
860 with_x
862 ac_precious_vars='build_alias
863 host_alias
864 target_alias
866 CFLAGS
867 LDFLAGS
868 LIBS
869 CPPFLAGS
871 CXXFLAGS
874 XMKMF
875 XML2_CFLAGS
876 XML2_LIBS
877 XSLT_CFLAGS
878 XSLT_LIBS
879 DBUS_CFLAGS
880 DBUS_LIBS
881 HAL_CFLAGS
882 HAL_LIBS
883 GNUTLS_CFLAGS
884 GNUTLS_LIBS
885 SANE_CFLAGS
886 SANE_LIBS
887 GPHOTO2_CFLAGS
888 GPHOTO2_LIBS
889 GPHOTO2_PORT_CFLAGS
890 GPHOTO2_PORT_LIBS
891 LCMS2_CFLAGS
892 LCMS2_LIBS
893 FREETYPE_CFLAGS
894 FREETYPE_LIBS
895 GSTREAMER_CFLAGS
896 GSTREAMER_LIBS
897 CAPI20_CFLAGS
898 CAPI20_LIBS
899 JPEG_CFLAGS
900 JPEG_LIBS
901 PNG_CFLAGS
902 PNG_LIBS
903 TIFF_CFLAGS
904 TIFF_LIBS
905 MPG123_CFLAGS
906 MPG123_LIBS'
909 # Initialize some variables set by options.
910 ac_init_help=
911 ac_init_version=false
912 ac_unrecognized_opts=
913 ac_unrecognized_sep=
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
916 cache_file=/dev/null
917 exec_prefix=NONE
918 no_create=
919 no_recursion=
920 prefix=NONE
921 program_prefix=NONE
922 program_suffix=NONE
923 program_transform_name=s,x,x,
924 silent=
925 site=
926 srcdir=
927 verbose=
928 x_includes=NONE
929 x_libraries=NONE
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir='${exec_prefix}/bin'
938 sbindir='${exec_prefix}/sbin'
939 libexecdir='${exec_prefix}/libexec'
940 datarootdir='${prefix}/share'
941 datadir='${datarootdir}'
942 sysconfdir='${prefix}/etc'
943 sharedstatedir='${prefix}/com'
944 localstatedir='${prefix}/var'
945 includedir='${prefix}/include'
946 oldincludedir='/usr/include'
947 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
948 infodir='${datarootdir}/info'
949 htmldir='${docdir}'
950 dvidir='${docdir}'
951 pdfdir='${docdir}'
952 psdir='${docdir}'
953 libdir='${exec_prefix}/lib'
954 localedir='${datarootdir}/locale'
955 mandir='${datarootdir}/man'
957 ac_prev=
958 ac_dashdash=
959 for ac_option
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\$ac_option
964 ac_prev=
965 continue
968 case $ac_option in
969 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
970 *=) ac_optarg= ;;
971 *) ac_optarg=yes ;;
972 esac
974 # Accept the important Cygnus configure options, so we can diagnose typos.
976 case $ac_dashdash$ac_option in
978 ac_dashdash=yes ;;
980 -bindir | --bindir | --bindi | --bind | --bin | --bi)
981 ac_prev=bindir ;;
982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
983 bindir=$ac_optarg ;;
985 -build | --build | --buil | --bui | --bu)
986 ac_prev=build_alias ;;
987 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
988 build_alias=$ac_optarg ;;
990 -cache-file | --cache-file | --cache-fil | --cache-fi \
991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
992 ac_prev=cache_file ;;
993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
995 cache_file=$ac_optarg ;;
997 --config-cache | -C)
998 cache_file=config.cache ;;
1000 -datadir | --datadir | --datadi | --datad)
1001 ac_prev=datadir ;;
1002 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1003 datadir=$ac_optarg ;;
1005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1006 | --dataroo | --dataro | --datar)
1007 ac_prev=datarootdir ;;
1008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1010 datarootdir=$ac_optarg ;;
1012 -disable-* | --disable-*)
1013 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 as_fn_error $? "invalid feature name: $ac_useropt"
1017 ac_useropt_orig=$ac_useropt
1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_$ac_useropt"
1022 "*) ;;
1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep=', ';;
1025 esac
1026 eval enable_$ac_useropt=no ;;
1028 -docdir | --docdir | --docdi | --doc | --do)
1029 ac_prev=docdir ;;
1030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031 docdir=$ac_optarg ;;
1033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1034 ac_prev=dvidir ;;
1035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036 dvidir=$ac_optarg ;;
1038 -enable-* | --enable-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid feature name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval enable_$ac_useropt=\$ac_optarg ;;
1054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1056 | --exec | --exe | --ex)
1057 ac_prev=exec_prefix ;;
1058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1060 | --exec=* | --exe=* | --ex=*)
1061 exec_prefix=$ac_optarg ;;
1063 -gas | --gas | --ga | --g)
1064 # Obsolete; use --with-gas.
1065 with_gas=yes ;;
1067 -help | --help | --hel | --he | -h)
1068 ac_init_help=long ;;
1069 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1070 ac_init_help=recursive ;;
1071 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1072 ac_init_help=short ;;
1074 -host | --host | --hos | --ho)
1075 ac_prev=host_alias ;;
1076 -host=* | --host=* | --hos=* | --ho=*)
1077 host_alias=$ac_optarg ;;
1079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1080 ac_prev=htmldir ;;
1081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1082 | --ht=*)
1083 htmldir=$ac_optarg ;;
1085 -includedir | --includedir | --includedi | --included | --include \
1086 | --includ | --inclu | --incl | --inc)
1087 ac_prev=includedir ;;
1088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1089 | --includ=* | --inclu=* | --incl=* | --inc=*)
1090 includedir=$ac_optarg ;;
1092 -infodir | --infodir | --infodi | --infod | --info | --inf)
1093 ac_prev=infodir ;;
1094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1095 infodir=$ac_optarg ;;
1097 -libdir | --libdir | --libdi | --libd)
1098 ac_prev=libdir ;;
1099 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1100 libdir=$ac_optarg ;;
1102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1103 | --libexe | --libex | --libe)
1104 ac_prev=libexecdir ;;
1105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1106 | --libexe=* | --libex=* | --libe=*)
1107 libexecdir=$ac_optarg ;;
1109 -localedir | --localedir | --localedi | --localed | --locale)
1110 ac_prev=localedir ;;
1111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1112 localedir=$ac_optarg ;;
1114 -localstatedir | --localstatedir | --localstatedi | --localstated \
1115 | --localstate | --localstat | --localsta | --localst | --locals)
1116 ac_prev=localstatedir ;;
1117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1119 localstatedir=$ac_optarg ;;
1121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1122 ac_prev=mandir ;;
1123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1124 mandir=$ac_optarg ;;
1126 -nfp | --nfp | --nf)
1127 # Obsolete; use --without-fp.
1128 with_fp=no ;;
1130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1131 | --no-cr | --no-c | -n)
1132 no_create=yes ;;
1134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1136 no_recursion=yes ;;
1138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1140 | --oldin | --oldi | --old | --ol | --o)
1141 ac_prev=oldincludedir ;;
1142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1145 oldincludedir=$ac_optarg ;;
1147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1148 ac_prev=prefix ;;
1149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1150 prefix=$ac_optarg ;;
1152 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1153 | --program-pre | --program-pr | --program-p)
1154 ac_prev=program_prefix ;;
1155 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1157 program_prefix=$ac_optarg ;;
1159 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1160 | --program-suf | --program-su | --program-s)
1161 ac_prev=program_suffix ;;
1162 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1164 program_suffix=$ac_optarg ;;
1166 -program-transform-name | --program-transform-name \
1167 | --program-transform-nam | --program-transform-na \
1168 | --program-transform-n | --program-transform- \
1169 | --program-transform | --program-transfor \
1170 | --program-transfo | --program-transf \
1171 | --program-trans | --program-tran \
1172 | --progr-tra | --program-tr | --program-t)
1173 ac_prev=program_transform_name ;;
1174 -program-transform-name=* | --program-transform-name=* \
1175 | --program-transform-nam=* | --program-transform-na=* \
1176 | --program-transform-n=* | --program-transform-=* \
1177 | --program-transform=* | --program-transfor=* \
1178 | --program-transfo=* | --program-transf=* \
1179 | --program-trans=* | --program-tran=* \
1180 | --progr-tra=* | --program-tr=* | --program-t=*)
1181 program_transform_name=$ac_optarg ;;
1183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1184 ac_prev=pdfdir ;;
1185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1186 pdfdir=$ac_optarg ;;
1188 -psdir | --psdir | --psdi | --psd | --ps)
1189 ac_prev=psdir ;;
1190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1191 psdir=$ac_optarg ;;
1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1194 | -silent | --silent | --silen | --sile | --sil)
1195 silent=yes ;;
1197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1198 ac_prev=sbindir ;;
1199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1200 | --sbi=* | --sb=*)
1201 sbindir=$ac_optarg ;;
1203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1205 | --sharedst | --shareds | --shared | --share | --shar \
1206 | --sha | --sh)
1207 ac_prev=sharedstatedir ;;
1208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1211 | --sha=* | --sh=*)
1212 sharedstatedir=$ac_optarg ;;
1214 -site | --site | --sit)
1215 ac_prev=site ;;
1216 -site=* | --site=* | --sit=*)
1217 site=$ac_optarg ;;
1219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1220 ac_prev=srcdir ;;
1221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1222 srcdir=$ac_optarg ;;
1224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1225 | --syscon | --sysco | --sysc | --sys | --sy)
1226 ac_prev=sysconfdir ;;
1227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1229 sysconfdir=$ac_optarg ;;
1231 -target | --target | --targe | --targ | --tar | --ta | --t)
1232 ac_prev=target_alias ;;
1233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1234 target_alias=$ac_optarg ;;
1236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237 verbose=yes ;;
1239 -version | --version | --versio | --versi | --vers | -V)
1240 ac_init_version=: ;;
1242 -with-* | --with-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error $? "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1251 "with_$ac_useropt"
1252 "*) ;;
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1255 esac
1256 eval with_$ac_useropt=\$ac_optarg ;;
1258 -without-* | --without-*)
1259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error $? "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1267 "with_$ac_useropt"
1268 "*) ;;
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1271 esac
1272 eval with_$ac_useropt=no ;;
1274 --x)
1275 # Obsolete; use --with-x.
1276 with_x=yes ;;
1278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1279 | --x-incl | --x-inc | --x-in | --x-i)
1280 ac_prev=x_includes ;;
1281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1283 x_includes=$ac_optarg ;;
1285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1287 ac_prev=x_libraries ;;
1288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1290 x_libraries=$ac_optarg ;;
1292 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1293 Try \`$0 --help' for more information"
1296 *=*)
1297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1298 # Reject names that are not valid shell variable names.
1299 case $ac_envvar in #(
1300 '' | [0-9]* | *[!_$as_cr_alnum]* )
1301 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1302 esac
1303 eval $ac_envvar=\$ac_optarg
1304 export $ac_envvar ;;
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1314 esac
1315 done
1317 if test -n "$ac_prev"; then
1318 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1319 as_fn_error $? "missing argument to $ac_option"
1322 if test -n "$ac_unrecognized_opts"; then
1323 case $enable_option_checking in
1324 no) ;;
1325 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327 esac
1330 # Check all directory arguments for consistency.
1331 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332 datadir sysconfdir sharedstatedir localstatedir includedir \
1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334 libdir localedir mandir
1336 eval ac_val=\$$ac_var
1337 # Remove trailing slashes.
1338 case $ac_val in
1339 */ )
1340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341 eval $ac_var=\$ac_val;;
1342 esac
1343 # Be sure to have absolute directory names.
1344 case $ac_val in
1345 [\\/$]* | ?:[\\/]* ) continue;;
1346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1347 esac
1348 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1349 done
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1354 build=$build_alias
1355 host=$host_alias
1356 target=$target_alias
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x; then
1360 if test "x$build_alias" = x; then
1361 cross_compiling=maybe
1362 elif test "x$build_alias" != "x$host_alias"; then
1363 cross_compiling=yes
1367 ac_tool_prefix=
1368 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1370 test "$silent" = yes && exec 6>/dev/null
1373 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1374 ac_ls_di=`ls -di .` &&
1375 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1376 as_fn_error $? "working directory cannot be determined"
1377 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 as_fn_error $? "pwd does not report name of working directory"
1381 # Find the source files, if location was not specified.
1382 if test -z "$srcdir"; then
1383 ac_srcdir_defaulted=yes
1384 # Try the directory containing this script, then the parent directory.
1385 ac_confdir=`$as_dirname -- "$as_myself" ||
1386 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1387 X"$as_myself" : 'X\(//\)[^/]' \| \
1388 X"$as_myself" : 'X\(//\)$' \| \
1389 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1390 $as_echo X"$as_myself" |
1391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392 s//\1/
1395 /^X\(\/\/\)[^/].*/{
1396 s//\1/
1399 /^X\(\/\/\)$/{
1400 s//\1/
1403 /^X\(\/\).*/{
1404 s//\1/
1407 s/.*/./; q'`
1408 srcdir=$ac_confdir
1409 if test ! -r "$srcdir/$ac_unique_file"; then
1410 srcdir=..
1412 else
1413 ac_srcdir_defaulted=no
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1417 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1419 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1420 ac_abs_confdir=`(
1421 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1422 pwd)`
1423 # When building in place, set srcdir=.
1424 if test "$ac_abs_confdir" = "$ac_pwd"; then
1425 srcdir=.
1427 # Remove unnecessary trailing slashes from srcdir.
1428 # Double slashes in file names in object file debugging info
1429 # mess up M-x gdb in Emacs.
1430 case $srcdir in
1431 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432 esac
1433 for ac_var in $ac_precious_vars; do
1434 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_env_${ac_var}_value=\$${ac_var}
1436 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1437 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1438 done
1441 # Report the --help message.
1443 if test "$ac_init_help" = "long"; then
1444 # Omit some internal or obsolete options to make the list less imposing.
1445 # This message is too long to be a string in the A/UX 3.1 sh.
1446 cat <<_ACEOF
1447 \`configure' configures Wine 1.7.1 to adapt to many kinds of systems.
1449 Usage: $0 [OPTION]... [VAR=VALUE]...
1451 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1452 VAR=VALUE. See below for descriptions of some of the useful variables.
1454 Defaults for the options are specified in brackets.
1456 Configuration:
1457 -h, --help display this help and exit
1458 --help=short display options specific to this package
1459 --help=recursive display the short help of all the included packages
1460 -V, --version display version information and exit
1461 -q, --quiet, --silent do not print \`checking ...' messages
1462 --cache-file=FILE cache test results in FILE [disabled]
1463 -C, --config-cache alias for \`--cache-file=config.cache'
1464 -n, --no-create do not create output files
1465 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1467 Installation directories:
1468 --prefix=PREFIX install architecture-independent files in PREFIX
1469 [$ac_default_prefix]
1470 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1471 [PREFIX]
1473 By default, \`make install' will install all the files in
1474 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1475 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1476 for instance \`--prefix=\$HOME'.
1478 For better control, use the options below.
1480 Fine tuning of the installation directories:
1481 --bindir=DIR user executables [EPREFIX/bin]
1482 --sbindir=DIR system admin executables [EPREFIX/sbin]
1483 --libexecdir=DIR program executables [EPREFIX/libexec]
1484 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1485 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1486 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1487 --libdir=DIR object code libraries [EPREFIX/lib]
1488 --includedir=DIR C header files [PREFIX/include]
1489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1492 --infodir=DIR info documentation [DATAROOTDIR/info]
1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1494 --mandir=DIR man documentation [DATAROOTDIR/man]
1495 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1496 --htmldir=DIR html documentation [DOCDIR]
1497 --dvidir=DIR dvi documentation [DOCDIR]
1498 --pdfdir=DIR pdf documentation [DOCDIR]
1499 --psdir=DIR ps documentation [DOCDIR]
1500 _ACEOF
1502 cat <<\_ACEOF
1504 X features:
1505 --x-includes=DIR X include files are in DIR
1506 --x-libraries=DIR X library files are in DIR
1508 System types:
1509 --build=BUILD configure for building on BUILD [guessed]
1510 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1511 _ACEOF
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of Wine 1.7.1:";;
1517 esac
1518 cat <<\_ACEOF
1520 Optional Features:
1521 --disable-option-checking ignore unrecognized --enable/--with options
1522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1524 --disable-win16 do not include Win16 support
1525 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1526 binaries)
1527 --disable-tests do not build the regression tests
1528 --enable-maintainer-mode
1529 enable maintainer-specific build rules
1530 --disable-largefile omit support for large files
1532 Optional Packages:
1533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1535 --without-alsa do not use the Alsa sound support
1536 --without-capi do not use CAPI (ISDN support)
1537 --without-cms do not use CMS (color management support)
1538 --without-coreaudio do not use the CoreAudio sound support
1539 --without-cups do not use CUPS
1540 --without-curses do not use (n)curses
1541 --without-dbus do not use DBus (dynamic device support)
1542 --without-fontconfig do not use fontconfig
1543 --without-freetype do not use the FreeType library
1544 --without-gettext do not use gettext
1545 --with-gettextpo use the GetTextPO library to rebuild po files
1546 --without-gphoto do not use gphoto (Digital Camera support)
1547 --without-glu do not use the GLU library
1548 --without-gnutls do not use GnuTLS (schannel support)
1549 --without-gsm do not use libgsm (GSM 06.10 codec support)
1550 --without-gstreamer do not use GStreamer (codecs support)
1551 --without-hal do not use HAL (dynamic device support)
1552 --without-jpeg do not use JPEG
1553 --without-ldap do not use LDAP
1554 --without-mpg123 do not use the mpg123 library
1555 --without-openal do not use OpenAL
1556 --without-opencl do not use OpenCL
1557 --without-opengl do not use OpenGL
1558 --without-osmesa do not use the OSMesa library
1559 --without-oss do not use the OSS sound support
1560 --without-png do not use PNG
1561 --without-pthread do not use the pthread library
1562 --without-sane do not use SANE (scanner support)
1563 --without-tiff do not use TIFF
1564 --without-v4l do not use v4l1 (v4l support)
1565 --without-xcomposite do not use the Xcomposite extension
1566 --without-xcursor do not use the Xcursor extension
1567 --without-xinerama do not use Xinerama (multi-monitor support)
1568 --without-xinput do not use the Xinput extension
1569 --without-xinput2 do not use the Xinput 2 extension
1570 --without-xml do not use XML
1571 --without-xrandr do not use Xrandr (resolution changes)
1572 --without-xrender do not use the Xrender extension
1573 --without-xshape do not use the Xshape extension
1574 --without-xshm do not use XShm (shared memory extension)
1575 --without-xslt do not use XSLT
1576 --without-xxf86vm do not use XFree video mode extension
1577 --without-zlib do not use Zlib (data compression)
1578 --with-wine-tools=DIR use Wine tools from directory DIR
1579 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1580 --with-x use the X Window System
1582 Some influential environment variables:
1583 CC C compiler command
1584 CFLAGS C compiler flags
1585 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1586 nonstandard directory <lib dir>
1587 LIBS libraries to pass to the linker, e.g. -l<library>
1588 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1589 you have headers in a nonstandard directory <include dir>
1590 CXX C++ compiler command
1591 CXXFLAGS C++ compiler flags
1592 CPP C preprocessor
1593 XMKMF Path to xmkmf, Makefile generator for X Window System
1594 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1595 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1596 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1597 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1598 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1599 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1600 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1601 HAL_LIBS Linker flags for hal, overriding pkg-config
1602 GNUTLS_CFLAGS
1603 C compiler flags for gnutls, overriding pkg-config
1604 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1605 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1606 SANE_LIBS Linker flags for libsane, overriding pkg-config
1607 GPHOTO2_CFLAGS
1608 C compiler flags for libgphoto2, overriding pkg-config
1609 GPHOTO2_LIBS
1610 Linker flags for libgphoto2, overriding pkg-config
1611 GPHOTO2_PORT_CFLAGS
1612 C compiler flags for libgphoto2_port, overriding pkg-config
1613 GPHOTO2_PORT_LIBS
1614 Linker flags for libgphoto2_port, overriding pkg-config
1615 LCMS2_CFLAGS
1616 C compiler flags for lcms2, overriding pkg-config
1617 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
1618 FREETYPE_CFLAGS
1619 C compiler flags for freetype2, overriding pkg-config
1620 FREETYPE_LIBS
1621 Linker flags for freetype2, overriding pkg-config
1622 GSTREAMER_CFLAGS
1623 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1624 GSTREAMER_LIBS
1625 Linker flags for gstreamer-app-0.10, overriding pkg-config
1626 CAPI20_CFLAGS
1627 C compiler flags for capi20, overriding pkg-config
1628 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
1629 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
1630 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
1631 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
1632 PNG_LIBS Linker flags for libpng, overriding pkg-config
1633 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
1634 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
1635 MPG123_CFLAGS
1636 C compiler flags for libmpg123, overriding pkg-config
1637 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
1639 Use these variables to override the choices made by `configure' or to help
1640 it to find libraries and programs with nonstandard names/locations.
1642 Report bugs to <wine-devel@winehq.org>.
1643 Wine home page: <http://www.winehq.org>.
1644 _ACEOF
1645 ac_status=$?
1648 if test "$ac_init_help" = "recursive"; then
1649 # If there are subdirs, report their specific --help.
1650 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1651 test -d "$ac_dir" ||
1652 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1653 continue
1654 ac_builddir=.
1656 case "$ac_dir" in
1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1660 # A ".." for each directory in $ac_dir_suffix.
1661 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1662 case $ac_top_builddir_sub in
1663 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1664 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1665 esac ;;
1666 esac
1667 ac_abs_top_builddir=$ac_pwd
1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1669 # for backward compatibility:
1670 ac_top_builddir=$ac_top_build_prefix
1672 case $srcdir in
1673 .) # We are building in place.
1674 ac_srcdir=.
1675 ac_top_srcdir=$ac_top_builddir_sub
1676 ac_abs_top_srcdir=$ac_pwd ;;
1677 [\\/]* | ?:[\\/]* ) # Absolute name.
1678 ac_srcdir=$srcdir$ac_dir_suffix;
1679 ac_top_srcdir=$srcdir
1680 ac_abs_top_srcdir=$srcdir ;;
1681 *) # Relative name.
1682 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1683 ac_top_srcdir=$ac_top_build_prefix$srcdir
1684 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1685 esac
1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1688 cd "$ac_dir" || { ac_status=$?; continue; }
1689 # Check for guested configure.
1690 if test -f "$ac_srcdir/configure.gnu"; then
1691 echo &&
1692 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1693 elif test -f "$ac_srcdir/configure"; then
1694 echo &&
1695 $SHELL "$ac_srcdir/configure" --help=recursive
1696 else
1697 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1698 fi || ac_status=$?
1699 cd "$ac_pwd" || { ac_status=$?; break; }
1700 done
1703 test -n "$ac_init_help" && exit $ac_status
1704 if $ac_init_version; then
1705 cat <<\_ACEOF
1706 Wine configure 1.7.1
1707 generated by GNU Autoconf 2.69
1709 Copyright (C) 2012 Free Software Foundation, Inc.
1710 This configure script is free software; the Free Software Foundation
1711 gives unlimited permission to copy, distribute and modify it.
1712 _ACEOF
1713 exit
1716 ## ------------------------ ##
1717 ## Autoconf initialization. ##
1718 ## ------------------------ ##
1720 # ac_fn_c_try_compile LINENO
1721 # --------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_c_try_compile ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 rm -f conftest.$ac_objext
1727 if { { ac_try="$ac_compile"
1728 case "(($ac_try" in
1729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1735 ac_status=$?
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1746 ac_retval=0
1747 else
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1751 ac_retval=1
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status $ac_retval
1756 } # ac_fn_c_try_compile
1758 # ac_fn_cxx_try_compile LINENO
1759 # ----------------------------
1760 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1761 ac_fn_cxx_try_compile ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext
1765 if { { ac_try="$ac_compile"
1766 case "(($ac_try" in
1767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1769 esac
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_compile") 2>conftest.err
1773 ac_status=$?
1774 if test -s conftest.err; then
1775 grep -v '^ *+' conftest.err >conftest.er1
1776 cat conftest.er1 >&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_cxx_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest.$ac_objext; then :
1784 ac_retval=0
1785 else
1786 $as_echo "$as_me: failed program was:" >&5
1787 sed 's/^/| /' conftest.$ac_ext >&5
1789 ac_retval=1
1791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792 as_fn_set_status $ac_retval
1794 } # ac_fn_cxx_try_compile
1796 # ac_fn_c_try_link LINENO
1797 # -----------------------
1798 # Try to link conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_c_try_link ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext conftest$ac_exeext
1803 if { { ac_try="$ac_link"
1804 case "(($ac_try" in
1805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1806 *) ac_try_echo=$ac_try;;
1807 esac
1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_link") 2>conftest.err
1811 ac_status=$?
1812 if test -s conftest.err; then
1813 grep -v '^ *+' conftest.err >conftest.er1
1814 cat conftest.er1 >&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest$ac_exeext && {
1822 test "$cross_compiling" = yes ||
1823 test -x conftest$ac_exeext
1824 }; then :
1825 ac_retval=0
1826 else
1827 $as_echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.$ac_ext >&5
1830 ac_retval=1
1832 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1833 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1834 # interfere with the next link command; also delete a directory that is
1835 # left behind by Apple's compiler. We do this before executing the actions.
1836 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status $ac_retval
1840 } # ac_fn_c_try_link
1842 # ac_fn_c_try_cpp LINENO
1843 # ----------------------
1844 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1845 ac_fn_c_try_cpp ()
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 if { { ac_try="$ac_cpp conftest.$ac_ext"
1849 case "(($ac_try" in
1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1852 esac
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856 ac_status=$?
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } > conftest.i && {
1864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 }; then :
1867 ac_retval=0
1868 else
1869 $as_echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.$ac_ext >&5
1872 ac_retval=1
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 as_fn_set_status $ac_retval
1877 } # ac_fn_c_try_cpp
1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1880 # -------------------------------------------------------
1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1882 # the include files in INCLUDES and setting the cache variable VAR
1883 # accordingly.
1884 ac_fn_c_check_header_mongrel ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 if eval \${$3+:} false; then :
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1893 eval ac_res=\$$3
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1895 $as_echo "$ac_res" >&6; }
1896 else
1897 # Is the header compilable?
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1899 $as_echo_n "checking $2 usability... " >&6; }
1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1903 #include <$2>
1904 _ACEOF
1905 if ac_fn_c_try_compile "$LINENO"; then :
1906 ac_header_compiler=yes
1907 else
1908 ac_header_compiler=no
1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1912 $as_echo "$ac_header_compiler" >&6; }
1914 # Is the header present?
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1916 $as_echo_n "checking $2 presence... " >&6; }
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1919 #include <$2>
1920 _ACEOF
1921 if ac_fn_c_try_cpp "$LINENO"; then :
1922 ac_header_preproc=yes
1923 else
1924 ac_header_preproc=no
1926 rm -f conftest.err conftest.i conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1928 $as_echo "$ac_header_preproc" >&6; }
1930 # So? What about this header?
1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1932 yes:no: )
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1938 no:yes:* )
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1942 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1946 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1949 ( $as_echo "## ------------------------------------ ##
1950 ## Report this to wine-devel@winehq.org ##
1951 ## ------------------------------------ ##"
1952 ) | sed "s/^/$as_me: WARNING: /" >&2
1954 esac
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1956 $as_echo_n "checking for $2... " >&6; }
1957 if eval \${$3+:} false; then :
1958 $as_echo_n "(cached) " >&6
1959 else
1960 eval "$3=\$ac_header_compiler"
1962 eval ac_res=\$$3
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_header_mongrel
1970 # ac_fn_c_try_run LINENO
1971 # ----------------------
1972 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1973 # that executables *can* be run.
1974 ac_fn_c_try_run ()
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 if { { ac_try="$ac_link"
1978 case "(($ac_try" in
1979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1980 *) ac_try_echo=$ac_try;;
1981 esac
1982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_link") 2>&5
1985 ac_status=$?
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1988 { { case "(($ac_try" in
1989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990 *) ac_try_echo=$ac_try;;
1991 esac
1992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_try") 2>&5
1995 ac_status=$?
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; }; }; then :
1998 ac_retval=0
1999 else
2000 $as_echo "$as_me: program exited with status $ac_status" >&5
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2004 ac_retval=$ac_status
2006 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 as_fn_set_status $ac_retval
2010 } # ac_fn_c_try_run
2012 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2013 # -------------------------------------------------------
2014 # Tests whether HEADER exists and can be compiled using the include files in
2015 # INCLUDES, setting the cache variable VAR accordingly.
2016 ac_fn_c_check_header_compile ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2023 else
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2027 #include <$2>
2028 _ACEOF
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030 eval "$3=yes"
2031 else
2032 eval "$3=no"
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 eval ac_res=\$$3
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041 } # ac_fn_c_check_header_compile
2043 # ac_fn_c_check_func LINENO FUNC VAR
2044 # ----------------------------------
2045 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2046 ac_fn_c_check_func ()
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2050 $as_echo_n "checking for $2... " >&6; }
2051 if eval \${$3+:} false; then :
2052 $as_echo_n "(cached) " >&6
2053 else
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2056 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2058 #define $2 innocuous_$2
2060 /* System header to define __stub macros and hopefully few prototypes,
2061 which can conflict with char $2 (); below.
2062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2063 <limits.h> exists even on freestanding compilers. */
2065 #ifdef __STDC__
2066 # include <limits.h>
2067 #else
2068 # include <assert.h>
2069 #endif
2071 #undef $2
2073 /* Override any GCC internal prototype to avoid an error.
2074 Use char because int might match the return type of a GCC
2075 builtin and then its argument prototype would still apply. */
2076 #ifdef __cplusplus
2077 extern "C"
2078 #endif
2079 char $2 ();
2080 /* The GNU C library defines this for functions which it implements
2081 to always fail with ENOSYS. Some functions are actually named
2082 something starting with __ and the normal name is an alias. */
2083 #if defined __stub_$2 || defined __stub___$2
2084 choke me
2085 #endif
2088 main ()
2090 return $2 ();
2092 return 0;
2094 _ACEOF
2095 if ac_fn_c_try_link "$LINENO"; then :
2096 eval "$3=yes"
2097 else
2098 eval "$3=no"
2100 rm -f core conftest.err conftest.$ac_objext \
2101 conftest$ac_exeext conftest.$ac_ext
2103 eval ac_res=\$$3
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105 $as_echo "$ac_res" >&6; }
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 } # ac_fn_c_check_func
2110 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2111 # ----------------------------------------------------
2112 # Tries to find if the field MEMBER exists in type AGGR, after including
2113 # INCLUDES, setting cache variable VAR accordingly.
2114 ac_fn_c_check_member ()
2116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2118 $as_echo_n "checking for $2.$3... " >&6; }
2119 if eval \${$4+:} false; then :
2120 $as_echo_n "(cached) " >&6
2121 else
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2126 main ()
2128 static $2 ac_aggr;
2129 if (ac_aggr.$3)
2130 return 0;
2132 return 0;
2134 _ACEOF
2135 if ac_fn_c_try_compile "$LINENO"; then :
2136 eval "$4=yes"
2137 else
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2142 main ()
2144 static $2 ac_aggr;
2145 if (sizeof ac_aggr.$3)
2146 return 0;
2148 return 0;
2150 _ACEOF
2151 if ac_fn_c_try_compile "$LINENO"; then :
2152 eval "$4=yes"
2153 else
2154 eval "$4=no"
2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 eval ac_res=\$$4
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 } # ac_fn_c_check_member
2167 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2168 # -------------------------------------------
2169 # Tests whether TYPE exists after having included INCLUDES, setting cache
2170 # variable VAR accordingly.
2171 ac_fn_c_check_type ()
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if eval \${$3+:} false; then :
2177 $as_echo_n "(cached) " >&6
2178 else
2179 eval "$3=no"
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2184 main ()
2186 if (sizeof ($2))
2187 return 0;
2189 return 0;
2191 _ACEOF
2192 if ac_fn_c_try_compile "$LINENO"; then :
2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2197 main ()
2199 if (sizeof (($2)))
2200 return 0;
2202 return 0;
2204 _ACEOF
2205 if ac_fn_c_try_compile "$LINENO"; then :
2207 else
2208 eval "$3=yes"
2210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219 } # ac_fn_c_check_type
2220 cat >config.log <<_ACEOF
2221 This file contains any messages produced by compilers while
2222 running configure, to aid debugging if configure makes a mistake.
2224 It was created by Wine $as_me 1.7.1, which was
2225 generated by GNU Autoconf 2.69. Invocation command line was
2227 $ $0 $@
2229 _ACEOF
2230 exec 5>>config.log
2232 cat <<_ASUNAME
2233 ## --------- ##
2234 ## Platform. ##
2235 ## --------- ##
2237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2249 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2254 _ASUNAME
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 for as_dir in $PATH
2259 IFS=$as_save_IFS
2260 test -z "$as_dir" && as_dir=.
2261 $as_echo "PATH: $as_dir"
2262 done
2263 IFS=$as_save_IFS
2265 } >&5
2267 cat >&5 <<_ACEOF
2270 ## ----------- ##
2271 ## Core tests. ##
2272 ## ----------- ##
2274 _ACEOF
2277 # Keep a trace of the command line.
2278 # Strip out --no-create and --no-recursion so they do not pile up.
2279 # Strip out --silent because we don't want to record it for future runs.
2280 # Also quote any args containing shell meta-characters.
2281 # Make two passes to allow for proper duplicate-argument suppression.
2282 ac_configure_args=
2283 ac_configure_args0=
2284 ac_configure_args1=
2285 ac_must_keep_next=false
2286 for ac_pass in 1 2
2288 for ac_arg
2290 case $ac_arg in
2291 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2292 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2293 | -silent | --silent | --silen | --sile | --sil)
2294 continue ;;
2295 *\'*)
2296 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 esac
2298 case $ac_pass in
2299 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2301 as_fn_append ac_configure_args1 " '$ac_arg'"
2302 if test $ac_must_keep_next = true; then
2303 ac_must_keep_next=false # Got value, back to normal.
2304 else
2305 case $ac_arg in
2306 *=* | --config-cache | -C | -disable-* | --disable-* \
2307 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2308 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2309 | -with-* | --with-* | -without-* | --without-* | --x)
2310 case "$ac_configure_args0 " in
2311 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2312 esac
2314 -* ) ac_must_keep_next=true ;;
2315 esac
2317 as_fn_append ac_configure_args " '$ac_arg'"
2319 esac
2320 done
2321 done
2322 { ac_configure_args0=; unset ac_configure_args0;}
2323 { ac_configure_args1=; unset ac_configure_args1;}
2325 # When interrupted or exit'd, cleanup temporary files, and complete
2326 # config.log. We remove comments because anyway the quotes in there
2327 # would cause problems or look ugly.
2328 # WARNING: Use '\'' to represent an apostrophe within the trap.
2329 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2330 trap 'exit_status=$?
2331 # Save into config.log some information that might help in debugging.
2333 echo
2335 $as_echo "## ---------------- ##
2336 ## Cache variables. ##
2337 ## ---------------- ##"
2338 echo
2339 # The following way of writing the cache mishandles newlines in values,
2341 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2342 eval ac_val=\$$ac_var
2343 case $ac_val in #(
2344 *${as_nl}*)
2345 case $ac_var in #(
2346 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2347 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2348 esac
2349 case $ac_var in #(
2350 _ | IFS | as_nl) ;; #(
2351 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2352 *) { eval $ac_var=; unset $ac_var;} ;;
2353 esac ;;
2354 esac
2355 done
2356 (set) 2>&1 |
2357 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2358 *${as_nl}ac_space=\ *)
2359 sed -n \
2360 "s/'\''/'\''\\\\'\'''\''/g;
2361 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2362 ;; #(
2364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2366 esac |
2367 sort
2369 echo
2371 $as_echo "## ----------------- ##
2372 ## Output variables. ##
2373 ## ----------------- ##"
2374 echo
2375 for ac_var in $ac_subst_vars
2377 eval ac_val=\$$ac_var
2378 case $ac_val in
2379 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380 esac
2381 $as_echo "$ac_var='\''$ac_val'\''"
2382 done | sort
2383 echo
2385 if test -n "$ac_subst_files"; then
2386 $as_echo "## ------------------- ##
2387 ## File substitutions. ##
2388 ## ------------------- ##"
2389 echo
2390 for ac_var in $ac_subst_files
2392 eval ac_val=\$$ac_var
2393 case $ac_val in
2394 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2395 esac
2396 $as_echo "$ac_var='\''$ac_val'\''"
2397 done | sort
2398 echo
2401 if test -s confdefs.h; then
2402 $as_echo "## ----------- ##
2403 ## confdefs.h. ##
2404 ## ----------- ##"
2405 echo
2406 cat confdefs.h
2407 echo
2409 test "$ac_signal" != 0 &&
2410 $as_echo "$as_me: caught signal $ac_signal"
2411 $as_echo "$as_me: exit $exit_status"
2412 } >&5
2413 rm -f core *.core core.conftest.* &&
2414 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2415 exit $exit_status
2417 for ac_signal in 1 2 13 15; do
2418 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2419 done
2420 ac_signal=0
2422 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2423 rm -f -r conftest* confdefs.h
2425 $as_echo "/* confdefs.h */" > confdefs.h
2427 # Predefined preprocessor variables.
2429 cat >>confdefs.h <<_ACEOF
2430 #define PACKAGE_NAME "$PACKAGE_NAME"
2431 _ACEOF
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2435 _ACEOF
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2439 _ACEOF
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_STRING "$PACKAGE_STRING"
2443 _ACEOF
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2447 _ACEOF
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_URL "$PACKAGE_URL"
2451 _ACEOF
2454 # Let the site file select an alternate cache file if it wants to.
2455 # Prefer an explicitly selected file to automatically selected ones.
2456 ac_site_file1=NONE
2457 ac_site_file2=NONE
2458 if test -n "$CONFIG_SITE"; then
2459 # We do not want a PATH search for config.site.
2460 case $CONFIG_SITE in #((
2461 -*) ac_site_file1=./$CONFIG_SITE;;
2462 */*) ac_site_file1=$CONFIG_SITE;;
2463 *) ac_site_file1=./$CONFIG_SITE;;
2464 esac
2465 elif test "x$prefix" != xNONE; then
2466 ac_site_file1=$prefix/share/config.site
2467 ac_site_file2=$prefix/etc/config.site
2468 else
2469 ac_site_file1=$ac_default_prefix/share/config.site
2470 ac_site_file2=$ac_default_prefix/etc/config.site
2472 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2474 test "x$ac_site_file" = xNONE && continue
2475 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2477 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2478 sed 's/^/| /' "$ac_site_file" >&5
2479 . "$ac_site_file" \
2480 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2482 as_fn_error $? "failed to load site script $ac_site_file
2483 See \`config.log' for more details" "$LINENO" 5; }
2485 done
2487 if test -r "$cache_file"; then
2488 # Some versions of bash will fail to source /dev/null (special files
2489 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2490 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2492 $as_echo "$as_me: loading cache $cache_file" >&6;}
2493 case $cache_file in
2494 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2495 *) . "./$cache_file";;
2496 esac
2498 else
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2500 $as_echo "$as_me: creating cache $cache_file" >&6;}
2501 >$cache_file
2504 # Check that the precious variables saved in the cache have kept the same
2505 # value.
2506 ac_cache_corrupted=false
2507 for ac_var in $ac_precious_vars; do
2508 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2509 eval ac_new_set=\$ac_env_${ac_var}_set
2510 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2511 eval ac_new_val=\$ac_env_${ac_var}_value
2512 case $ac_old_set,$ac_new_set in
2513 set,)
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2515 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2516 ac_cache_corrupted=: ;;
2517 ,set)
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2519 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2520 ac_cache_corrupted=: ;;
2521 ,);;
2523 if test "x$ac_old_val" != "x$ac_new_val"; then
2524 # differences in whitespace do not lead to failure.
2525 ac_old_val_w=`echo x $ac_old_val`
2526 ac_new_val_w=`echo x $ac_new_val`
2527 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2529 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2530 ac_cache_corrupted=:
2531 else
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2533 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2534 eval $ac_var=\$ac_old_val
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2537 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2539 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2540 fi;;
2541 esac
2542 # Pass precious variables to config.status.
2543 if test "$ac_new_set" = set; then
2544 case $ac_new_val in
2545 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2546 *) ac_arg=$ac_var=$ac_new_val ;;
2547 esac
2548 case " $ac_configure_args " in
2549 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2550 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2551 esac
2553 done
2554 if $ac_cache_corrupted; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2558 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2559 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2561 ## -------------------- ##
2562 ## Main body of script. ##
2563 ## -------------------- ##
2565 ac_ext=c
2566 ac_cpp='$CPP $CPPFLAGS'
2567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2573 ac_config_headers="$ac_config_headers include/config.h"
2575 ac_aux_dir=
2576 for ac_dir in tools "$srcdir"/tools; do
2577 if test -f "$ac_dir/install-sh"; then
2578 ac_aux_dir=$ac_dir
2579 ac_install_sh="$ac_aux_dir/install-sh -c"
2580 break
2581 elif test -f "$ac_dir/install.sh"; then
2582 ac_aux_dir=$ac_dir
2583 ac_install_sh="$ac_aux_dir/install.sh -c"
2584 break
2585 elif test -f "$ac_dir/shtool"; then
2586 ac_aux_dir=$ac_dir
2587 ac_install_sh="$ac_aux_dir/shtool install -c"
2588 break
2590 done
2591 if test -z "$ac_aux_dir"; then
2592 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2595 # These three variables are undocumented and unsupported,
2596 # and are intended to be withdrawn in a future Autoconf release.
2597 # They can cause serious problems if a builder's source tree is in a directory
2598 # whose full name contains unusual characters.
2599 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2600 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2601 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2607 # Check whether --enable-win16 was given.
2608 if test "${enable_win16+set}" = set; then :
2609 enableval=$enable_win16;
2612 # Check whether --enable-win64 was given.
2613 if test "${enable_win64+set}" = set; then :
2614 enableval=$enable_win64;
2617 # Check whether --enable-tests was given.
2618 if test "${enable_tests+set}" = set; then :
2619 enableval=$enable_tests;
2622 # Check whether --enable-maintainer-mode was given.
2623 if test "${enable_maintainer_mode+set}" = set; then :
2624 enableval=$enable_maintainer_mode;
2629 # Check whether --with-alsa was given.
2630 if test "${with_alsa+set}" = set; then :
2631 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2635 # Check whether --with-capi was given.
2636 if test "${with_capi+set}" = set; then :
2637 withval=$with_capi;
2641 # Check whether --with-cms was given.
2642 if test "${with_cms+set}" = set; then :
2643 withval=$with_cms;
2647 # Check whether --with-coreaudio was given.
2648 if test "${with_coreaudio+set}" = set; then :
2649 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2653 # Check whether --with-cups was given.
2654 if test "${with_cups+set}" = set; then :
2655 withval=$with_cups;
2659 # Check whether --with-curses was given.
2660 if test "${with_curses+set}" = set; then :
2661 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2665 # Check whether --with-dbus was given.
2666 if test "${with_dbus+set}" = set; then :
2667 withval=$with_dbus;
2671 # Check whether --with-fontconfig was given.
2672 if test "${with_fontconfig+set}" = set; then :
2673 withval=$with_fontconfig;
2677 # Check whether --with-freetype was given.
2678 if test "${with_freetype+set}" = set; then :
2679 withval=$with_freetype;
2683 # Check whether --with-gettext was given.
2684 if test "${with_gettext+set}" = set; then :
2685 withval=$with_gettext;
2689 # Check whether --with-gettextpo was given.
2690 if test "${with_gettextpo+set}" = set; then :
2691 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2695 # Check whether --with-gphoto was given.
2696 if test "${with_gphoto+set}" = set; then :
2697 withval=$with_gphoto;
2701 # Check whether --with-glu was given.
2702 if test "${with_glu+set}" = set; then :
2703 withval=$with_glu;
2707 # Check whether --with-gnutls was given.
2708 if test "${with_gnutls+set}" = set; then :
2709 withval=$with_gnutls;
2713 # Check whether --with-gsm was given.
2714 if test "${with_gsm+set}" = set; then :
2715 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2719 # Check whether --with-gstreamer was given.
2720 if test "${with_gstreamer+set}" = set; then :
2721 withval=$with_gstreamer;
2725 # Check whether --with-hal was given.
2726 if test "${with_hal+set}" = set; then :
2727 withval=$with_hal;
2731 # Check whether --with-jpeg was given.
2732 if test "${with_jpeg+set}" = set; then :
2733 withval=$with_jpeg;
2737 # Check whether --with-ldap was given.
2738 if test "${with_ldap+set}" = set; then :
2739 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2743 # Check whether --with-mpg123 was given.
2744 if test "${with_mpg123+set}" = set; then :
2745 withval=$with_mpg123;
2749 # Check whether --with-openal was given.
2750 if test "${with_openal+set}" = set; then :
2751 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2755 # Check whether --with-opencl was given.
2756 if test "${with_opencl+set}" = set; then :
2757 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2761 # Check whether --with-opengl was given.
2762 if test "${with_opengl+set}" = set; then :
2763 withval=$with_opengl;
2767 # Check whether --with-osmesa was given.
2768 if test "${with_osmesa+set}" = set; then :
2769 withval=$with_osmesa;
2773 # Check whether --with-oss was given.
2774 if test "${with_oss+set}" = set; then :
2775 withval=$with_oss;
2779 # Check whether --with-png was given.
2780 if test "${with_png+set}" = set; then :
2781 withval=$with_png;
2785 # Check whether --with-pthread was given.
2786 if test "${with_pthread+set}" = set; then :
2787 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2791 # Check whether --with-sane was given.
2792 if test "${with_sane+set}" = set; then :
2793 withval=$with_sane;
2797 # Check whether --with-tiff was given.
2798 if test "${with_tiff+set}" = set; then :
2799 withval=$with_tiff;
2803 # Check whether --with-v4l was given.
2804 if test "${with_v4l+set}" = set; then :
2805 withval=$with_v4l;
2809 # Check whether --with-xcomposite was given.
2810 if test "${with_xcomposite+set}" = set; then :
2811 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2815 # Check whether --with-xcursor was given.
2816 if test "${with_xcursor+set}" = set; then :
2817 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2821 # Check whether --with-xinerama was given.
2822 if test "${with_xinerama+set}" = set; then :
2823 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2827 # Check whether --with-xinput was given.
2828 if test "${with_xinput+set}" = set; then :
2829 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2833 # Check whether --with-xinput2 was given.
2834 if test "${with_xinput2+set}" = set; then :
2835 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2839 # Check whether --with-xml was given.
2840 if test "${with_xml+set}" = set; then :
2841 withval=$with_xml;
2845 # Check whether --with-xrandr was given.
2846 if test "${with_xrandr+set}" = set; then :
2847 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2851 # Check whether --with-xrender was given.
2852 if test "${with_xrender+set}" = set; then :
2853 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2857 # Check whether --with-xshape was given.
2858 if test "${with_xshape+set}" = set; then :
2859 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2863 # Check whether --with-xshm was given.
2864 if test "${with_xshm+set}" = set; then :
2865 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2869 # Check whether --with-xslt was given.
2870 if test "${with_xslt+set}" = set; then :
2871 withval=$with_xslt;
2875 # Check whether --with-xxf86vm was given.
2876 if test "${with_xxf86vm+set}" = set; then :
2877 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
2881 # Check whether --with-zlib was given.
2882 if test "${with_zlib+set}" = set; then :
2883 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2888 # Check whether --with-wine-tools was given.
2889 if test "${with_wine_tools+set}" = set; then :
2890 withval=$with_wine_tools;
2894 # Check whether --with-wine64 was given.
2895 if test "${with_wine64+set}" = set; then :
2896 withval=$with_wine64;
2900 # Make sure we can run config.sub.
2901 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2902 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2905 $as_echo_n "checking build system type... " >&6; }
2906 if ${ac_cv_build+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 ac_build_alias=$build_alias
2910 test "x$ac_build_alias" = x &&
2911 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2912 test "x$ac_build_alias" = x &&
2913 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2914 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2915 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2919 $as_echo "$ac_cv_build" >&6; }
2920 case $ac_cv_build in
2921 *-*-*) ;;
2922 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2923 esac
2924 build=$ac_cv_build
2925 ac_save_IFS=$IFS; IFS='-'
2926 set x $ac_cv_build
2927 shift
2928 build_cpu=$1
2929 build_vendor=$2
2930 shift; shift
2931 # Remember, the first character of IFS is used to create $*,
2932 # except with old shells:
2933 build_os=$*
2934 IFS=$ac_save_IFS
2935 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2939 $as_echo_n "checking host system type... " >&6; }
2940 if ${ac_cv_host+:} false; then :
2941 $as_echo_n "(cached) " >&6
2942 else
2943 if test "x$host_alias" = x; then
2944 ac_cv_host=$ac_cv_build
2945 else
2946 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2947 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2952 $as_echo "$ac_cv_host" >&6; }
2953 case $ac_cv_host in
2954 *-*-*) ;;
2955 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2956 esac
2957 host=$ac_cv_host
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_host
2960 shift
2961 host_cpu=$1
2962 host_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 host_os=$*
2967 IFS=$ac_save_IFS
2968 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972 case "$srcdir" in
2973 .) ;;
2974 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2975 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2976 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2977 fi ;;
2978 esac
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2982 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2983 set x ${MAKE-make}
2984 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2985 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2986 $as_echo_n "(cached) " >&6
2987 else
2988 cat >conftest.make <<\_ACEOF
2989 SHELL = /bin/sh
2990 all:
2991 @echo '@@@%%%=$(MAKE)=@@@%%%'
2992 _ACEOF
2993 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2994 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2995 *@@@%%%=?*=@@@%%%*)
2996 eval ac_cv_prog_make_${ac_make}_set=yes;;
2998 eval ac_cv_prog_make_${ac_make}_set=no;;
2999 esac
3000 rm -f conftest.make
3002 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3004 $as_echo "yes" >&6; }
3005 SET_MAKE=
3006 else
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3009 SET_MAKE="MAKE=${MAKE-make}"
3012 ac_ext=c
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3017 if test -n "$ac_tool_prefix"; then
3018 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3019 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_CC+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 if test -n "$CC"; then
3026 ac_cv_prog_CC="$CC" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3031 IFS=$as_save_IFS
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 break 2
3039 done
3040 done
3041 IFS=$as_save_IFS
3045 CC=$ac_cv_prog_CC
3046 if test -n "$CC"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3048 $as_echo "$CC" >&6; }
3049 else
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3056 if test -z "$ac_cv_prog_CC"; then
3057 ac_ct_CC=$CC
3058 # Extract the first word of "gcc", so it can be a program name with args.
3059 set dummy gcc; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3063 $as_echo_n "(cached) " >&6
3064 else
3065 if test -n "$ac_ct_CC"; then
3066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3067 else
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 for as_dir in $PATH
3071 IFS=$as_save_IFS
3072 test -z "$as_dir" && as_dir=.
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_ac_ct_CC="gcc"
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 break 2
3079 done
3080 done
3081 IFS=$as_save_IFS
3085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3086 if test -n "$ac_ct_CC"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3088 $as_echo "$ac_ct_CC" >&6; }
3089 else
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3094 if test "x$ac_ct_CC" = x; then
3095 CC=""
3096 else
3097 case $cross_compiling:$ac_tool_warned in
3098 yes:)
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3101 ac_tool_warned=yes ;;
3102 esac
3103 CC=$ac_ct_CC
3105 else
3106 CC="$ac_cv_prog_CC"
3109 if test -z "$CC"; then
3110 if test -n "$ac_tool_prefix"; then
3111 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3112 set dummy ${ac_tool_prefix}cc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false; then :
3116 $as_echo_n "(cached) " >&6
3117 else
3118 if test -n "$CC"; then
3119 ac_cv_prog_CC="$CC" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3128 ac_cv_prog_CC="${ac_tool_prefix}cc"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 break 2
3132 done
3133 done
3134 IFS=$as_save_IFS
3138 CC=$ac_cv_prog_CC
3139 if test -n "$CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3141 $as_echo "$CC" >&6; }
3142 else
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3150 if test -z "$CC"; then
3151 # Extract the first word of "cc", so it can be a program name with args.
3152 set dummy cc; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_CC+:} false; then :
3156 $as_echo_n "(cached) " >&6
3157 else
3158 if test -n "$CC"; then
3159 ac_cv_prog_CC="$CC" # Let the user override the test.
3160 else
3161 ac_prog_rejected=no
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 for as_dir in $PATH
3165 IFS=$as_save_IFS
3166 test -z "$as_dir" && as_dir=.
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3169 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3170 ac_prog_rejected=yes
3171 continue
3173 ac_cv_prog_CC="cc"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175 break 2
3177 done
3178 done
3179 IFS=$as_save_IFS
3181 if test $ac_prog_rejected = yes; then
3182 # We found a bogon in the path, so make sure we never use it.
3183 set dummy $ac_cv_prog_CC
3184 shift
3185 if test $# != 0; then
3186 # We chose a different compiler from the bogus one.
3187 # However, it has the same basename, so the bogon will be chosen
3188 # first if we set CC to just the basename; use the full file name.
3189 shift
3190 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3195 CC=$ac_cv_prog_CC
3196 if test -n "$CC"; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3198 $as_echo "$CC" >&6; }
3199 else
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3206 if test -z "$CC"; then
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in cl.exe
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_CC+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 if test -n "$CC"; then
3218 ac_cv_prog_CC="$CC" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3231 done
3232 done
3233 IFS=$as_save_IFS
3237 CC=$ac_cv_prog_CC
3238 if test -n "$CC"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3240 $as_echo "$CC" >&6; }
3241 else
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3247 test -n "$CC" && break
3248 done
3250 if test -z "$CC"; then
3251 ac_ct_CC=$CC
3252 for ac_prog in cl.exe
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3257 $as_echo_n "checking for $ac_word... " >&6; }
3258 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3259 $as_echo_n "(cached) " >&6
3260 else
3261 if test -n "$ac_ct_CC"; then
3262 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3267 IFS=$as_save_IFS
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3271 ac_cv_prog_ac_ct_CC="$ac_prog"
3272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 break 2
3275 done
3276 done
3277 IFS=$as_save_IFS
3281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3282 if test -n "$ac_ct_CC"; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3284 $as_echo "$ac_ct_CC" >&6; }
3285 else
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3291 test -n "$ac_ct_CC" && break
3292 done
3294 if test "x$ac_ct_CC" = x; then
3295 CC=""
3296 else
3297 case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3301 ac_tool_warned=yes ;;
3302 esac
3303 CC=$ac_ct_CC
3310 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error $? "no acceptable C compiler found in \$PATH
3313 See \`config.log' for more details" "$LINENO" 5; }
3315 # Provide some information about the compiler.
3316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3317 set X $ac_compile
3318 ac_compiler=$2
3319 for ac_option in --version -v -V -qversion; do
3320 { { ac_try="$ac_compiler $ac_option >&5"
3321 case "(($ac_try" in
3322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3324 esac
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3328 ac_status=$?
3329 if test -s conftest.err; then
3330 sed '10a\
3331 ... rest of stderr output deleted ...
3332 10q' conftest.err >conftest.er1
3333 cat conftest.er1 >&5
3335 rm -f conftest.er1 conftest.err
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }
3338 done
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3344 main ()
3348 return 0;
3350 _ACEOF
3351 ac_clean_files_save=$ac_clean_files
3352 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3353 # Try to create an executable without -o first, disregard a.out.
3354 # It will help us diagnose broken compilers, and finding out an intuition
3355 # of exeext.
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3357 $as_echo_n "checking whether the C compiler works... " >&6; }
3358 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3360 # The possible output files:
3361 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3363 ac_rmfiles=
3364 for ac_file in $ac_files
3366 case $ac_file in
3367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3368 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3369 esac
3370 done
3371 rm -f $ac_rmfiles
3373 if { { ac_try="$ac_link_default"
3374 case "(($ac_try" in
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3377 esac
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_link_default") 2>&5
3381 ac_status=$?
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }; then :
3384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3386 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3387 # so that the user can short-circuit this test for compilers unknown to
3388 # Autoconf.
3389 for ac_file in $ac_files ''
3391 test -f "$ac_file" || continue
3392 case $ac_file in
3393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3395 [ab].out )
3396 # We found the default executable, but exeext='' is most
3397 # certainly right.
3398 break;;
3399 *.* )
3400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3401 then :; else
3402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3404 # We set ac_cv_exeext here because the later test for it is not
3405 # safe: cross compilers may not add the suffix if given an `-o'
3406 # argument, so we may need to know it at that point already.
3407 # Even if this section looks crufty: it has the advantage of
3408 # actually working.
3409 break;;
3411 break;;
3412 esac
3413 done
3414 test "$ac_cv_exeext" = no && ac_cv_exeext=
3416 else
3417 ac_file=''
3419 if test -z "$ac_file"; then :
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422 $as_echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3427 as_fn_error 77 "C compiler cannot create executables
3428 See \`config.log' for more details" "$LINENO" 5; }
3429 else
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3431 $as_echo "yes" >&6; }
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3434 $as_echo_n "checking for C compiler default output file name... " >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3436 $as_echo "$ac_file" >&6; }
3437 ac_exeext=$ac_cv_exeext
3439 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3440 ac_clean_files=$ac_clean_files_save
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3442 $as_echo_n "checking for suffix of executables... " >&6; }
3443 if { { ac_try="$ac_link"
3444 case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3447 esac
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_link") 2>&5
3451 ac_status=$?
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; then :
3454 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3456 # work properly (i.e., refer to `conftest.exe'), while it won't with
3457 # `rm'.
3458 for ac_file in conftest.exe conftest conftest.*; do
3459 test -f "$ac_file" || continue
3460 case $ac_file in
3461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3462 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3463 break;;
3464 * ) break;;
3465 esac
3466 done
3467 else
3468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3470 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3471 See \`config.log' for more details" "$LINENO" 5; }
3473 rm -f conftest conftest$ac_cv_exeext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3475 $as_echo "$ac_cv_exeext" >&6; }
3477 rm -f conftest.$ac_ext
3478 EXEEXT=$ac_cv_exeext
3479 ac_exeext=$EXEEXT
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3482 #include <stdio.h>
3484 main ()
3486 FILE *f = fopen ("conftest.out", "w");
3487 return ferror (f) || fclose (f) != 0;
3490 return 0;
3492 _ACEOF
3493 ac_clean_files="$ac_clean_files conftest.out"
3494 # Check that the compiler produces executables we can run. If not, either
3495 # the compiler is broken, or we cross compile.
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3497 $as_echo_n "checking whether we are cross compiling... " >&6; }
3498 if test "$cross_compiling" != yes; then
3499 { { ac_try="$ac_link"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3505 $as_echo "$ac_try_echo"; } >&5
3506 (eval "$ac_link") 2>&5
3507 ac_status=$?
3508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3509 test $ac_status = 0; }
3510 if { ac_try='./conftest$ac_cv_exeext'
3511 { { case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_try") 2>&5
3518 ac_status=$?
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }; }; then
3521 cross_compiling=no
3522 else
3523 if test "$cross_compiling" = maybe; then
3524 cross_compiling=yes
3525 else
3526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 as_fn_error $? "cannot run C compiled programs.
3529 If you meant to cross compile, use \`--host'.
3530 See \`config.log' for more details" "$LINENO" 5; }
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3535 $as_echo "$cross_compiling" >&6; }
3537 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3538 ac_clean_files=$ac_clean_files_save
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3540 $as_echo_n "checking for suffix of object files... " >&6; }
3541 if ${ac_cv_objext+:} false; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3548 main ()
3552 return 0;
3554 _ACEOF
3555 rm -f conftest.o conftest.obj
3556 if { { ac_try="$ac_compile"
3557 case "(($ac_try" in
3558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559 *) ac_try_echo=$ac_try;;
3560 esac
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
3563 (eval "$ac_compile") 2>&5
3564 ac_status=$?
3565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566 test $ac_status = 0; }; then :
3567 for ac_file in conftest.o conftest.obj conftest.*; do
3568 test -f "$ac_file" || continue;
3569 case $ac_file in
3570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3571 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3572 break;;
3573 esac
3574 done
3575 else
3576 $as_echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.$ac_ext >&5
3579 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $? "cannot compute suffix of object files: cannot compile
3582 See \`config.log' for more details" "$LINENO" 5; }
3584 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3587 $as_echo "$ac_cv_objext" >&6; }
3588 OBJEXT=$ac_cv_objext
3589 ac_objext=$OBJEXT
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3591 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3592 if ${ac_cv_c_compiler_gnu+:} false; then :
3593 $as_echo_n "(cached) " >&6
3594 else
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3599 main ()
3601 #ifndef __GNUC__
3602 choke me
3603 #endif
3606 return 0;
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 ac_compiler_gnu=yes
3611 else
3612 ac_compiler_gnu=no
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3619 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3620 if test $ac_compiler_gnu = yes; then
3621 GCC=yes
3622 else
3623 GCC=
3625 ac_test_CFLAGS=${CFLAGS+set}
3626 ac_save_CFLAGS=$CFLAGS
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3628 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3629 if ${ac_cv_prog_cc_g+:} false; then :
3630 $as_echo_n "(cached) " >&6
3631 else
3632 ac_save_c_werror_flag=$ac_c_werror_flag
3633 ac_c_werror_flag=yes
3634 ac_cv_prog_cc_g=no
3635 CFLAGS="-g"
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3640 main ()
3644 return 0;
3646 _ACEOF
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648 ac_cv_prog_cc_g=yes
3649 else
3650 CFLAGS=""
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3655 main ()
3659 return 0;
3661 _ACEOF
3662 if ac_fn_c_try_compile "$LINENO"; then :
3664 else
3665 ac_c_werror_flag=$ac_save_c_werror_flag
3666 CFLAGS="-g"
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3671 main ()
3675 return 0;
3677 _ACEOF
3678 if ac_fn_c_try_compile "$LINENO"; then :
3679 ac_cv_prog_cc_g=yes
3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3686 ac_c_werror_flag=$ac_save_c_werror_flag
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3689 $as_echo "$ac_cv_prog_cc_g" >&6; }
3690 if test "$ac_test_CFLAGS" = set; then
3691 CFLAGS=$ac_save_CFLAGS
3692 elif test $ac_cv_prog_cc_g = yes; then
3693 if test "$GCC" = yes; then
3694 CFLAGS="-g -O2"
3695 else
3696 CFLAGS="-g"
3698 else
3699 if test "$GCC" = yes; then
3700 CFLAGS="-O2"
3701 else
3702 CFLAGS=
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3706 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3707 if ${ac_cv_prog_cc_c89+:} false; then :
3708 $as_echo_n "(cached) " >&6
3709 else
3710 ac_cv_prog_cc_c89=no
3711 ac_save_CC=$CC
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */
3714 #include <stdarg.h>
3715 #include <stdio.h>
3716 struct stat;
3717 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3718 struct buf { int x; };
3719 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3720 static char *e (p, i)
3721 char **p;
3722 int i;
3724 return p[i];
3726 static char *f (char * (*g) (char **, int), char **p, ...)
3728 char *s;
3729 va_list v;
3730 va_start (v,p);
3731 s = g (p, va_arg (v,int));
3732 va_end (v);
3733 return s;
3736 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3737 function prototypes and stuff, but not '\xHH' hex character constants.
3738 These don't provoke an error unfortunately, instead are silently treated
3739 as 'x'. The following induces an error, until -std is added to get
3740 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3741 array size at least. It's necessary to write '\x00'==0 to get something
3742 that's true only with -std. */
3743 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3745 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3746 inside strings and character constants. */
3747 #define FOO(x) 'x'
3748 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3750 int test (int i, double x);
3751 struct s1 {int (*f) (int a);};
3752 struct s2 {int (*f) (double a);};
3753 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3754 int argc;
3755 char **argv;
3757 main ()
3759 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3761 return 0;
3763 _ACEOF
3764 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3765 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3767 CC="$ac_save_CC $ac_arg"
3768 if ac_fn_c_try_compile "$LINENO"; then :
3769 ac_cv_prog_cc_c89=$ac_arg
3771 rm -f core conftest.err conftest.$ac_objext
3772 test "x$ac_cv_prog_cc_c89" != "xno" && break
3773 done
3774 rm -f conftest.$ac_ext
3775 CC=$ac_save_CC
3778 # AC_CACHE_VAL
3779 case "x$ac_cv_prog_cc_c89" in
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3782 $as_echo "none needed" >&6; } ;;
3783 xno)
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3785 $as_echo "unsupported" >&6; } ;;
3787 CC="$CC $ac_cv_prog_cc_c89"
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3789 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3790 esac
3791 if test "x$ac_cv_prog_cc_c89" != xno; then :
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 ac_ext=cpp
3802 ac_cpp='$CXXCPP $CPPFLAGS'
3803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3806 if test -z "$CXX"; then
3807 if test -n "$CCC"; then
3808 CXX=$CCC
3809 else
3810 if test -n "$ac_tool_prefix"; then
3811 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3817 if ${ac_cv_prog_CXX+:} false; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 if test -n "$CXX"; then
3821 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3822 else
3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 for as_dir in $PATH
3826 IFS=$as_save_IFS
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3834 done
3835 done
3836 IFS=$as_save_IFS
3840 CXX=$ac_cv_prog_CXX
3841 if test -n "$CXX"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3843 $as_echo "$CXX" >&6; }
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$CXX" && break
3851 done
3853 if test -z "$CXX"; then
3854 ac_ct_CXX=$CXX
3855 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3857 # Extract the first word of "$ac_prog", so it can be a program name with args.
3858 set dummy $ac_prog; ac_word=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3862 $as_echo_n "(cached) " >&6
3863 else
3864 if test -n "$ac_ct_CXX"; then
3865 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3866 else
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 for as_dir in $PATH
3870 IFS=$as_save_IFS
3871 test -z "$as_dir" && as_dir=.
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3874 ac_cv_prog_ac_ct_CXX="$ac_prog"
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 break 2
3878 done
3879 done
3880 IFS=$as_save_IFS
3884 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3885 if test -n "$ac_ct_CXX"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3887 $as_echo "$ac_ct_CXX" >&6; }
3888 else
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3894 test -n "$ac_ct_CXX" && break
3895 done
3897 if test "x$ac_ct_CXX" = x; then
3898 CXX="g++"
3899 else
3900 case $cross_compiling:$ac_tool_warned in
3901 yes:)
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3904 ac_tool_warned=yes ;;
3905 esac
3906 CXX=$ac_ct_CXX
3912 # Provide some information about the compiler.
3913 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3914 set X $ac_compile
3915 ac_compiler=$2
3916 for ac_option in --version -v -V -qversion; do
3917 { { ac_try="$ac_compiler $ac_option >&5"
3918 case "(($ac_try" in
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3921 esac
3922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3923 $as_echo "$ac_try_echo"; } >&5
3924 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3925 ac_status=$?
3926 if test -s conftest.err; then
3927 sed '10a\
3928 ... rest of stderr output deleted ...
3929 10q' conftest.err >conftest.er1
3930 cat conftest.er1 >&5
3932 rm -f conftest.er1 conftest.err
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }
3935 done
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3938 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3939 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3946 main ()
3948 #ifndef __GNUC__
3949 choke me
3950 #endif
3953 return 0;
3955 _ACEOF
3956 if ac_fn_cxx_try_compile "$LINENO"; then :
3957 ac_compiler_gnu=yes
3958 else
3959 ac_compiler_gnu=no
3961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3966 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3967 if test $ac_compiler_gnu = yes; then
3968 GXX=yes
3969 else
3970 GXX=
3972 ac_test_CXXFLAGS=${CXXFLAGS+set}
3973 ac_save_CXXFLAGS=$CXXFLAGS
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3975 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3976 if ${ac_cv_prog_cxx_g+:} false; then :
3977 $as_echo_n "(cached) " >&6
3978 else
3979 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3980 ac_cxx_werror_flag=yes
3981 ac_cv_prog_cxx_g=no
3982 CXXFLAGS="-g"
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3987 main ()
3991 return 0;
3993 _ACEOF
3994 if ac_fn_cxx_try_compile "$LINENO"; then :
3995 ac_cv_prog_cxx_g=yes
3996 else
3997 CXXFLAGS=""
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 main ()
4006 return 0;
4008 _ACEOF
4009 if ac_fn_cxx_try_compile "$LINENO"; then :
4011 else
4012 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4013 CXXFLAGS="-g"
4014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015 /* end confdefs.h. */
4018 main ()
4022 return 0;
4024 _ACEOF
4025 if ac_fn_cxx_try_compile "$LINENO"; then :
4026 ac_cv_prog_cxx_g=yes
4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4033 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4036 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4037 if test "$ac_test_CXXFLAGS" = set; then
4038 CXXFLAGS=$ac_save_CXXFLAGS
4039 elif test $ac_cv_prog_cxx_g = yes; then
4040 if test "$GXX" = yes; then
4041 CXXFLAGS="-g -O2"
4042 else
4043 CXXFLAGS="-g"
4045 else
4046 if test "$GXX" = yes; then
4047 CXXFLAGS="-O2"
4048 else
4049 CXXFLAGS=
4052 ac_ext=c
4053 ac_cpp='$CPP $CPPFLAGS'
4054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4058 if test -n "$ac_tool_prefix"; then
4059 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4060 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if ${ac_cv_prog_CPPBIN+:} false; then :
4064 $as_echo_n "(cached) " >&6
4065 else
4066 if test -n "$CPPBIN"; then
4067 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4072 IFS=$as_save_IFS
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 break 2
4080 done
4081 done
4082 IFS=$as_save_IFS
4086 CPPBIN=$ac_cv_prog_CPPBIN
4087 if test -n "$CPPBIN"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4089 $as_echo "$CPPBIN" >&6; }
4090 else
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4097 if test -z "$ac_cv_prog_CPPBIN"; then
4098 ac_ct_CPPBIN=$CPPBIN
4099 # Extract the first word of "cpp", so it can be a program name with args.
4100 set dummy cpp; ac_word=$2
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4102 $as_echo_n "checking for $ac_word... " >&6; }
4103 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4104 $as_echo_n "(cached) " >&6
4105 else
4106 if test -n "$ac_ct_CPPBIN"; then
4107 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4108 else
4109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4110 for as_dir in $PATH
4112 IFS=$as_save_IFS
4113 test -z "$as_dir" && as_dir=.
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_CPPBIN="cpp"
4117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 break 2
4120 done
4121 done
4122 IFS=$as_save_IFS
4126 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4127 if test -n "$ac_ct_CPPBIN"; then
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4129 $as_echo "$ac_ct_CPPBIN" >&6; }
4130 else
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 $as_echo "no" >&6; }
4135 if test "x$ac_ct_CPPBIN" = x; then
4136 CPPBIN="cpp"
4137 else
4138 case $cross_compiling:$ac_tool_warned in
4139 yes:)
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4142 ac_tool_warned=yes ;;
4143 esac
4144 CPPBIN=$ac_ct_CPPBIN
4146 else
4147 CPPBIN="$ac_cv_prog_CPPBIN"
4151 cat >>confdefs.h <<_ACEOF
4152 #define EXEEXT "$ac_exeext"
4153 _ACEOF
4156 case $host in
4157 *-darwin*)
4158 if test "x$enable_win64" = "xyes"
4159 then
4160 CC="$CC -m64"
4161 CXX="$CXX -m64"
4162 host_cpu="x86_64"
4163 notice_platform="64-bit "
4164 TARGETFLAGS="-m64"
4166 else
4167 CC="$CC -m32"
4168 CXX="$CXX -m32"
4169 host_cpu="i386"
4170 notice_platform="32-bit "
4171 TARGETFLAGS="-m32"
4173 enable_win16=${enable_win16:-yes}
4175 with_fontconfig=${with_fontconfig:-no}
4177 x86_64*)
4178 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4179 then
4180 CC="$CC -m32"
4181 CXX="$CXX -m32"
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4183 $as_echo_n "checking whether $CC works... " >&6; }
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4189 main ()
4193 return 0;
4195 _ACEOF
4196 if ac_fn_c_try_link "$LINENO"; then :
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4198 $as_echo "yes" >&6; }
4199 else
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4201 $as_echo "no" >&6; }
4202 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4204 rm -f core conftest.err conftest.$ac_objext \
4205 conftest$ac_exeext conftest.$ac_ext
4206 host_cpu="i386"
4207 notice_platform="32-bit "
4208 TARGETFLAGS="-m32"
4210 enable_win16=${enable_win16:-yes}
4211 else
4212 if test "x${GCC}" = "xyes"
4213 then
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4215 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4218 #include <stdarg.h>
4220 main ()
4222 void func(__builtin_ms_va_list *args);
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4229 $as_echo "yes" >&6; }
4230 else
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 TARGETFLAGS="-m64"
4241 arm*)
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4243 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4246 int ac_test(int i) { return i; }
4248 main ()
4250 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4252 return 0;
4254 _ACEOF
4255 if ac_fn_c_try_link "$LINENO"; then :
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4257 $as_echo "yes" >&6; }
4258 else
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4261 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4263 rm -f core conftest.err conftest.$ac_objext \
4264 conftest$ac_exeext conftest.$ac_ext
4265 CFLAGS="$CFLAGS -marm"
4267 *-mingw32*|*-cygwin*)
4268 enable_win16=${enable_win16:-no}
4269 CFLAGS="$CFLAGS -D_WIN32"
4271 i[3456789]86*)
4272 enable_win16=${enable_win16:-yes}
4274 esac
4276 enable_win16=${enable_win16:-no}
4277 enable_win64=${enable_win64:-no}
4279 enable_winetest=${enable_winetest:-$enable_tests}
4281 if test -n "$with_wine64"
4282 then
4283 if test "x$enable_win64" = "xyes"
4284 then
4285 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4286 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4288 WOW64_DISABLE=\#
4290 enable_fonts=${enable_fonts:-no}
4291 enable_server=${enable_server:-no}
4292 enable_tools=${enable_tools:-no}
4293 elif test "x$enable_win64" = "xyes"
4294 then
4295 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4299 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4300 if ${wine_cv_toolsdir+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 wine_cv_toolsdir="$with_wine_tools"
4304 if test -z "$with_wine_tools"; then
4305 if test "$cross_compiling" = "yes"; then
4306 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4307 elif test -n "$with_wine64"; then
4308 wine_cv_toolsdir="$with_wine64"
4311 if test -z "$wine_cv_toolsdir"; then
4312 wine_cv_toolsdir="\$(top_builddir)"
4313 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4314 case "$wine_cv_toolsdir" in
4315 /*) ;;
4316 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4317 esac
4318 else
4319 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4323 $as_echo "$wine_cv_toolsdir" >&6; }
4324 TOOLSDIR=$wine_cv_toolsdir
4326 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4327 then
4328 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4332 for ac_prog in flex
4334 # Extract the first word of "$ac_prog", so it can be a program name with args.
4335 set dummy $ac_prog; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_FLEX+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -n "$FLEX"; then
4342 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_FLEX="$ac_prog"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 break 2
4355 done
4356 done
4357 IFS=$as_save_IFS
4361 FLEX=$ac_cv_prog_FLEX
4362 if test -n "$FLEX"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4364 $as_echo "$FLEX" >&6; }
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4371 test -n "$FLEX" && break
4372 done
4373 test -n "$FLEX" || FLEX="none"
4375 if test "$FLEX" = "none"
4376 then
4377 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4380 $as_echo_n "checking whether flex is recent enough... " >&6; }
4381 cat >conftest.l <<EOF
4382 %top{
4383 #include "prediluvian.h"
4387 if $FLEX -t conftest.l >/dev/null 2>&5
4388 then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4390 $as_echo "yes" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4394 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4397 for ac_prog in bison
4399 # Extract the first word of "$ac_prog", so it can be a program name with args.
4400 set dummy $ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_BISON+:} false; then :
4404 $as_echo_n "(cached) " >&6
4405 else
4406 if test -n "$BISON"; then
4407 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4408 else
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4412 IFS=$as_save_IFS
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_BISON="$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 break 2
4420 done
4421 done
4422 IFS=$as_save_IFS
4426 BISON=$ac_cv_prog_BISON
4427 if test -n "$BISON"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4429 $as_echo "$BISON" >&6; }
4430 else
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$BISON" && break
4437 done
4438 test -n "$BISON" || BISON="none"
4440 if test "$BISON" = "none"
4441 then
4442 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4445 if test -n "$ac_tool_prefix"; then
4446 for ac_prog in ar gar
4448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_AR+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 if test -n "$AR"; then
4456 ac_cv_prog_AR="$AR" # Let the user override the test.
4457 else
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH
4461 IFS=$as_save_IFS
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 break 2
4469 done
4470 done
4471 IFS=$as_save_IFS
4475 AR=$ac_cv_prog_AR
4476 if test -n "$AR"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4478 $as_echo "$AR" >&6; }
4479 else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4485 test -n "$AR" && break
4486 done
4488 if test -z "$AR"; then
4489 ac_ct_AR=$AR
4490 for ac_prog in ar gar
4492 # Extract the first word of "$ac_prog", so it can be a program name with args.
4493 set dummy $ac_prog; ac_word=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4497 $as_echo_n "(cached) " >&6
4498 else
4499 if test -n "$ac_ct_AR"; then
4500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4501 else
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4505 IFS=$as_save_IFS
4506 test -z "$as_dir" && as_dir=.
4507 for ac_exec_ext in '' $ac_executable_extensions; do
4508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_prog_ac_ct_AR="$ac_prog"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 break 2
4513 done
4514 done
4515 IFS=$as_save_IFS
4519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4520 if test -n "$ac_ct_AR"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4522 $as_echo "$ac_ct_AR" >&6; }
4523 else
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4529 test -n "$ac_ct_AR" && break
4530 done
4532 if test "x$ac_ct_AR" = x; then
4533 AR="ar"
4534 else
4535 case $cross_compiling:$ac_tool_warned in
4536 yes:)
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4539 ac_tool_warned=yes ;;
4540 esac
4541 AR=$ac_ct_AR
4545 ARFLAGS=rc
4547 if test -n "$ac_tool_prefix"; then
4548 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4549 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_RANLIB+:} false; then :
4553 $as_echo_n "(cached) " >&6
4554 else
4555 if test -n "$RANLIB"; then
4556 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4557 else
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4561 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4571 IFS=$as_save_IFS
4575 RANLIB=$ac_cv_prog_RANLIB
4576 if test -n "$RANLIB"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4578 $as_echo "$RANLIB" >&6; }
4579 else
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4586 if test -z "$ac_cv_prog_RANLIB"; then
4587 ac_ct_RANLIB=$RANLIB
4588 # Extract the first word of "ranlib", so it can be a program name with args.
4589 set dummy ranlib; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4593 $as_echo_n "(cached) " >&6
4594 else
4595 if test -n "$ac_ct_RANLIB"; then
4596 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4601 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605 ac_cv_prog_ac_ct_RANLIB="ranlib"
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 break 2
4609 done
4610 done
4611 IFS=$as_save_IFS
4615 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4616 if test -n "$ac_ct_RANLIB"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4618 $as_echo "$ac_ct_RANLIB" >&6; }
4619 else
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621 $as_echo "no" >&6; }
4624 if test "x$ac_ct_RANLIB" = x; then
4625 RANLIB=":"
4626 else
4627 case $cross_compiling:$ac_tool_warned in
4628 yes:)
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned=yes ;;
4632 esac
4633 RANLIB=$ac_ct_RANLIB
4635 else
4636 RANLIB="$ac_cv_prog_RANLIB"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4640 $as_echo_n "checking whether ln -s works... " >&6; }
4641 LN_S=$as_ln_s
4642 if test "$LN_S" = "ln -s"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4644 $as_echo "yes" >&6; }
4645 else
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4647 $as_echo "no, using $LN_S" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4651 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4652 if ${ac_cv_path_GREP+:} false; then :
4653 $as_echo_n "(cached) " >&6
4654 else
4655 if test -z "$GREP"; then
4656 ac_path_GREP_found=false
4657 # Loop through the user's path and test for each of PROGNAME-LIST
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4661 IFS=$as_save_IFS
4662 test -z "$as_dir" && as_dir=.
4663 for ac_prog in grep ggrep; do
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4666 as_fn_executable_p "$ac_path_GREP" || continue
4667 # Check for GNU ac_path_GREP and select it if it is found.
4668 # Check for GNU $ac_path_GREP
4669 case `"$ac_path_GREP" --version 2>&1` in
4670 *GNU*)
4671 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4673 ac_count=0
4674 $as_echo_n 0123456789 >"conftest.in"
4675 while :
4677 cat "conftest.in" "conftest.in" >"conftest.tmp"
4678 mv "conftest.tmp" "conftest.in"
4679 cp "conftest.in" "conftest.nl"
4680 $as_echo 'GREP' >> "conftest.nl"
4681 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4682 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4683 as_fn_arith $ac_count + 1 && ac_count=$as_val
4684 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4685 # Best one so far, save it but keep looking for a better one
4686 ac_cv_path_GREP="$ac_path_GREP"
4687 ac_path_GREP_max=$ac_count
4689 # 10*(2^10) chars as input seems more than enough
4690 test $ac_count -gt 10 && break
4691 done
4692 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4693 esac
4695 $ac_path_GREP_found && break 3
4696 done
4697 done
4698 done
4699 IFS=$as_save_IFS
4700 if test -z "$ac_cv_path_GREP"; then
4701 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4703 else
4704 ac_cv_path_GREP=$GREP
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4709 $as_echo "$ac_cv_path_GREP" >&6; }
4710 GREP="$ac_cv_path_GREP"
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4714 $as_echo_n "checking for egrep... " >&6; }
4715 if ${ac_cv_path_EGREP+:} false; then :
4716 $as_echo_n "(cached) " >&6
4717 else
4718 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4719 then ac_cv_path_EGREP="$GREP -E"
4720 else
4721 if test -z "$EGREP"; then
4722 ac_path_EGREP_found=false
4723 # Loop through the user's path and test for each of PROGNAME-LIST
4724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4725 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4727 IFS=$as_save_IFS
4728 test -z "$as_dir" && as_dir=.
4729 for ac_prog in egrep; do
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4732 as_fn_executable_p "$ac_path_EGREP" || continue
4733 # Check for GNU ac_path_EGREP and select it if it is found.
4734 # Check for GNU $ac_path_EGREP
4735 case `"$ac_path_EGREP" --version 2>&1` in
4736 *GNU*)
4737 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4739 ac_count=0
4740 $as_echo_n 0123456789 >"conftest.in"
4741 while :
4743 cat "conftest.in" "conftest.in" >"conftest.tmp"
4744 mv "conftest.tmp" "conftest.in"
4745 cp "conftest.in" "conftest.nl"
4746 $as_echo 'EGREP' >> "conftest.nl"
4747 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4748 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4749 as_fn_arith $ac_count + 1 && ac_count=$as_val
4750 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4751 # Best one so far, save it but keep looking for a better one
4752 ac_cv_path_EGREP="$ac_path_EGREP"
4753 ac_path_EGREP_max=$ac_count
4755 # 10*(2^10) chars as input seems more than enough
4756 test $ac_count -gt 10 && break
4757 done
4758 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4759 esac
4761 $ac_path_EGREP_found && break 3
4762 done
4763 done
4764 done
4765 IFS=$as_save_IFS
4766 if test -z "$ac_cv_path_EGREP"; then
4767 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4769 else
4770 ac_cv_path_EGREP=$EGREP
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4776 $as_echo "$ac_cv_path_EGREP" >&6; }
4777 EGREP="$ac_cv_path_EGREP"
4780 # Extract the first word of "ldconfig", so it can be a program name with args.
4781 set dummy ldconfig; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_path_LDCONFIG+:} false; then :
4785 $as_echo_n "(cached) " >&6
4786 else
4787 case $LDCONFIG in
4788 [\\/]* | ?:[\\/]*)
4789 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in /sbin /usr/sbin $PATH
4795 IFS=$as_save_IFS
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 break 2
4803 done
4804 done
4805 IFS=$as_save_IFS
4807 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4809 esac
4811 LDCONFIG=$ac_cv_path_LDCONFIG
4812 if test -n "$LDCONFIG"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4814 $as_echo "$LDCONFIG" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4821 # Find a good install program. We prefer a C program (faster),
4822 # so one script is as good as another. But avoid the broken or
4823 # incompatible versions:
4824 # SysV /etc/install, /usr/sbin/install
4825 # SunOS /usr/etc/install
4826 # IRIX /sbin/install
4827 # AIX /bin/install
4828 # AmigaOS /C/install, which installs bootblocks on floppy discs
4829 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4830 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4831 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4832 # OS/2's system install, which has a completely different semantic
4833 # ./install, which can be erroneously created by make from ./install.sh.
4834 # Reject install programs that cannot install multiple files.
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4836 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4837 if test -z "$INSTALL"; then
4838 if ${ac_cv_path_install+:} false; then :
4839 $as_echo_n "(cached) " >&6
4840 else
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 # Account for people who put trailing slashes in PATH elements.
4847 case $as_dir/ in #((
4848 ./ | .// | /[cC]/* | \
4849 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4850 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4851 /usr/ucb/* ) ;;
4853 # OSF1 and SCO ODT 3.0 have their own names for install.
4854 # Don't use installbsd from OSF since it installs stuff as root
4855 # by default.
4856 for ac_prog in ginstall scoinst install; do
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4859 if test $ac_prog = install &&
4860 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4861 # AIX install. It has an incompatible calling convention.
4863 elif test $ac_prog = install &&
4864 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4865 # program-specific install script used by HP pwplus--don't use.
4867 else
4868 rm -rf conftest.one conftest.two conftest.dir
4869 echo one > conftest.one
4870 echo two > conftest.two
4871 mkdir conftest.dir
4872 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4873 test -s conftest.one && test -s conftest.two &&
4874 test -s conftest.dir/conftest.one &&
4875 test -s conftest.dir/conftest.two
4876 then
4877 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4878 break 3
4882 done
4883 done
4885 esac
4887 done
4888 IFS=$as_save_IFS
4890 rm -rf conftest.one conftest.two conftest.dir
4893 if test "${ac_cv_path_install+set}" = set; then
4894 INSTALL=$ac_cv_path_install
4895 else
4896 # As a last resort, use the slow shell script. Don't cache a
4897 # value for INSTALL within a source directory, because that will
4898 # break other packages using the cache if that directory is
4899 # removed, or if the value is a relative name.
4900 INSTALL=$ac_install_sh
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4904 $as_echo "$INSTALL" >&6; }
4906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4907 # It thinks the first close brace ends the variable substitution.
4908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4910 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4912 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4914 case "$INSTALL" in
4915 [\\/$]* | ?:[\\/]* ) ;;
4916 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4917 esac
4919 for ac_prog in lclint lint
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy $ac_prog; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_LINT+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$LINT"; then
4929 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_LINT="$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 LINT=$ac_cv_prog_LINT
4949 if test -n "$LINT"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4951 $as_echo "$LINT" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$LINT" && break
4959 done
4961 if test "$LINT" = "lint"
4962 then
4963 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4967 for ac_prog in fontforge
4969 # Extract the first word of "$ac_prog", so it can be a program name with args.
4970 set dummy $ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_FONTFORGE+:} false; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$FONTFORGE"; then
4977 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_FONTFORGE="$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4990 done
4991 done
4992 IFS=$as_save_IFS
4996 FONTFORGE=$ac_cv_prog_FONTFORGE
4997 if test -n "$FONTFORGE"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4999 $as_echo "$FONTFORGE" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$FONTFORGE" && break
5007 done
5008 test -n "$FONTFORGE" || FONTFORGE="false"
5010 for ac_prog in rsvg
5012 # Extract the first word of "$ac_prog", so it can be a program name with args.
5013 set dummy $ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_RSVG+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$RSVG"; then
5020 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_RSVG="$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 RSVG=$ac_cv_prog_RSVG
5040 if test -n "$RSVG"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5042 $as_echo "$RSVG" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$RSVG" && break
5050 done
5051 test -n "$RSVG" || RSVG="false"
5053 for ac_prog in convert
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy $ac_prog; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if ${ac_cv_prog_CONVERT+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 if test -n "$CONVERT"; then
5063 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5064 else
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 for as_dir in $PATH
5068 IFS=$as_save_IFS
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_CONVERT="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 CONVERT=$ac_cv_prog_CONVERT
5083 if test -n "$CONVERT"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5085 $as_echo "$CONVERT" >&6; }
5086 else
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$CONVERT" && break
5093 done
5094 test -n "$CONVERT" || CONVERT="false"
5096 for ac_prog in icotool
5098 # Extract the first word of "$ac_prog", so it can be a program name with args.
5099 set dummy $ac_prog; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if ${ac_cv_prog_ICOTOOL+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 if test -n "$ICOTOOL"; then
5106 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ICOTOOL="$ac_prog"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 ICOTOOL=$ac_cv_prog_ICOTOOL
5126 if test -n "$ICOTOOL"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5128 $as_echo "$ICOTOOL" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5135 test -n "$ICOTOOL" && break
5136 done
5137 test -n "$ICOTOOL" || ICOTOOL="false"
5139 for ac_prog in msgfmt
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if ${ac_cv_prog_MSGFMT+:} false; then :
5146 $as_echo_n "(cached) " >&6
5147 else
5148 if test -n "$MSGFMT"; then
5149 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 ac_cv_prog_MSGFMT="$ac_prog"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 MSGFMT=$ac_cv_prog_MSGFMT
5169 if test -n "$MSGFMT"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5171 $as_echo "$MSGFMT" >&6; }
5172 else
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5178 test -n "$MSGFMT" && break
5179 done
5180 test -n "$MSGFMT" || MSGFMT="false"
5182 if test -n "$ac_tool_prefix"; then
5183 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5184 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5188 $as_echo_n "(cached) " >&6
5189 else
5190 if test -n "$PKG_CONFIG"; then
5191 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5192 else
5193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 for as_dir in $PATH
5196 IFS=$as_save_IFS
5197 test -z "$as_dir" && as_dir=.
5198 for ac_exec_ext in '' $ac_executable_extensions; do
5199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 break 2
5204 done
5205 done
5206 IFS=$as_save_IFS
5210 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5211 if test -n "$PKG_CONFIG"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5213 $as_echo "$PKG_CONFIG" >&6; }
5214 else
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5221 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5222 PKG_CONFIG="$ac_cv_prog_PKG_CONFIG"
5223 elif test "$cross_compiling" != yes; then
5224 unset ac_cv_prog_PKG_CONFIG
5225 # Extract the first word of "pkg-config", so it can be a program name with args.
5226 set dummy pkg-config; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5230 $as_echo_n "(cached) " >&6
5231 else
5232 if test -n "$PKG_CONFIG"; then
5233 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5238 IFS=$as_save_IFS
5239 test -z "$as_dir" && as_dir=.
5240 for ac_exec_ext in '' $ac_executable_extensions; do
5241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_PKG_CONFIG="pkg-config"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 break 2
5246 done
5247 done
5248 IFS=$as_save_IFS
5252 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5253 if test -n "$PKG_CONFIG"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5255 $as_echo "$PKG_CONFIG" >&6; }
5256 else
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5264 if test "x$enable_maintainer_mode" != "xyes"
5265 then
5266 MAINTAINER_MODE=\#
5268 else
5269 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5270 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5272 if test "$CONVERT" = false
5273 then
5274 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5275 else
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5277 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5278 convert_version=`convert --version | head -n1`
5279 if test "x$convert_version" != "x"
5280 then
5281 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5282 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5283 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5284 then
5285 CONVERT=false
5288 if test "$CONVERT" = false
5289 then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5291 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5292 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5295 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5299 if test "$ICOTOOL" = false
5300 then
5301 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5302 else
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5304 $as_echo_n "checking for recent enough icotool... " >&6; }
5305 icotool_version=`icotool --version | head -n1`
5306 if test "x$icotool_version" != "x"
5307 then
5308 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5309 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5310 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5311 then
5312 ICOTOOL=false
5313 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5316 if test "$ICOTOOL" = false
5317 then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5319 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5320 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5321 else
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5323 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5327 with_gettext=yes
5328 with_gettextpo=yes
5329 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5332 test "x$with_gettext" != xno || MSGFMT=false
5333 if test "$MSGFMT" != "false"
5334 then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5336 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5337 cat >conftest.po <<EOF
5338 # comment
5339 msgctxt "ctxt"
5340 msgid "id"
5341 msgstr "str"
5343 if $MSGFMT -o /dev/null conftest.po 2>&5
5344 then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5346 $as_echo "yes" >&6; }
5347 else
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5350 MSGFMT=false
5353 if test "$MSGFMT" = false; then :
5354 case "x$with_gettext" in
5355 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5356 xno) ;;
5357 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5358 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5359 esac
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5364 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5365 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5366 $as_echo_n "(cached) " >&6
5367 else
5368 ac_check_lib_save_LIBS=$LIBS
5369 LIBS="-li386 $LIBS"
5370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5373 /* Override any GCC internal prototype to avoid an error.
5374 Use char because int might match the return type of a GCC
5375 builtin and then its argument prototype would still apply. */
5376 #ifdef __cplusplus
5377 extern "C"
5378 #endif
5379 char i386_set_ldt ();
5381 main ()
5383 return i386_set_ldt ();
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_link "$LINENO"; then :
5389 ac_cv_lib_i386_i386_set_ldt=yes
5390 else
5391 ac_cv_lib_i386_i386_set_ldt=no
5393 rm -f core conftest.err conftest.$ac_objext \
5394 conftest$ac_exeext conftest.$ac_ext
5395 LIBS=$ac_check_lib_save_LIBS
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5398 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5399 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5400 cat >>confdefs.h <<_ACEOF
5401 #define HAVE_LIBI386 1
5402 _ACEOF
5404 LIBS="-li386 $LIBS"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5409 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5410 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5411 $as_echo_n "(cached) " >&6
5412 else
5413 ac_check_lib_save_LIBS=$LIBS
5414 LIBS="-lossaudio $LIBS"
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5418 /* Override any GCC internal prototype to avoid an error.
5419 Use char because int might match the return type of a GCC
5420 builtin and then its argument prototype would still apply. */
5421 #ifdef __cplusplus
5422 extern "C"
5423 #endif
5424 char _oss_ioctl ();
5426 main ()
5428 return _oss_ioctl ();
5430 return 0;
5432 _ACEOF
5433 if ac_fn_c_try_link "$LINENO"; then :
5434 ac_cv_lib_ossaudio__oss_ioctl=yes
5435 else
5436 ac_cv_lib_ossaudio__oss_ioctl=no
5438 rm -f core conftest.err conftest.$ac_objext \
5439 conftest$ac_exeext conftest.$ac_ext
5440 LIBS=$ac_check_lib_save_LIBS
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5443 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5444 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5445 cat >>confdefs.h <<_ACEOF
5446 #define HAVE_LIBOSSAUDIO 1
5447 _ACEOF
5449 LIBS="-lossaudio $LIBS"
5454 XLIB=""
5456 OPENGL_LIBS=""
5460 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5462 # Check whether --enable-largefile was given.
5463 if test "${enable_largefile+set}" = set; then :
5464 enableval=$enable_largefile;
5467 if test "$enable_largefile" != no; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5470 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5471 if ${ac_cv_sys_largefile_CC+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 ac_cv_sys_largefile_CC=no
5475 if test "$GCC" != yes; then
5476 ac_save_CC=$CC
5477 while :; do
5478 # IRIX 6.2 and later do not support large files by default,
5479 # so use the C compiler's -n32 option if that helps.
5480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5482 #include <sys/types.h>
5483 /* Check that off_t can represent 2**63 - 1 correctly.
5484 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5485 since some C++ compilers masquerading as C compilers
5486 incorrectly reject 9223372036854775807. */
5487 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5488 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5489 && LARGE_OFF_T % 2147483647 == 1)
5490 ? 1 : -1];
5492 main ()
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"; then :
5500 break
5502 rm -f core conftest.err conftest.$ac_objext
5503 CC="$CC -n32"
5504 if ac_fn_c_try_compile "$LINENO"; then :
5505 ac_cv_sys_largefile_CC=' -n32'; break
5507 rm -f core conftest.err conftest.$ac_objext
5508 break
5509 done
5510 CC=$ac_save_CC
5511 rm -f conftest.$ac_ext
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5515 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5516 if test "$ac_cv_sys_largefile_CC" != no; then
5517 CC=$CC$ac_cv_sys_largefile_CC
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5521 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5522 if ${ac_cv_sys_file_offset_bits+:} false; then :
5523 $as_echo_n "(cached) " >&6
5524 else
5525 while :; do
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 #include <sys/types.h>
5529 /* Check that off_t can represent 2**63 - 1 correctly.
5530 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5531 since some C++ compilers masquerading as C compilers
5532 incorrectly reject 9223372036854775807. */
5533 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5534 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5535 && LARGE_OFF_T % 2147483647 == 1)
5536 ? 1 : -1];
5538 main ()
5542 return 0;
5544 _ACEOF
5545 if ac_fn_c_try_compile "$LINENO"; then :
5546 ac_cv_sys_file_offset_bits=no; break
5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5550 /* end confdefs.h. */
5551 #define _FILE_OFFSET_BITS 64
5552 #include <sys/types.h>
5553 /* Check that off_t can represent 2**63 - 1 correctly.
5554 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5555 since some C++ compilers masquerading as C compilers
5556 incorrectly reject 9223372036854775807. */
5557 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5558 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5559 && LARGE_OFF_T % 2147483647 == 1)
5560 ? 1 : -1];
5562 main ()
5566 return 0;
5568 _ACEOF
5569 if ac_fn_c_try_compile "$LINENO"; then :
5570 ac_cv_sys_file_offset_bits=64; break
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5573 ac_cv_sys_file_offset_bits=unknown
5574 break
5575 done
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5578 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5579 case $ac_cv_sys_file_offset_bits in #(
5580 no | unknown) ;;
5582 cat >>confdefs.h <<_ACEOF
5583 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5584 _ACEOF
5586 esac
5587 rm -rf conftest*
5588 if test $ac_cv_sys_file_offset_bits = unknown; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5590 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5591 if ${ac_cv_sys_large_files+:} false; then :
5592 $as_echo_n "(cached) " >&6
5593 else
5594 while :; do
5595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5597 #include <sys/types.h>
5598 /* Check that off_t can represent 2**63 - 1 correctly.
5599 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5600 since some C++ compilers masquerading as C compilers
5601 incorrectly reject 9223372036854775807. */
5602 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5603 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5604 && LARGE_OFF_T % 2147483647 == 1)
5605 ? 1 : -1];
5607 main ()
5611 return 0;
5613 _ACEOF
5614 if ac_fn_c_try_compile "$LINENO"; then :
5615 ac_cv_sys_large_files=no; break
5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5620 #define _LARGE_FILES 1
5621 #include <sys/types.h>
5622 /* Check that off_t can represent 2**63 - 1 correctly.
5623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5624 since some C++ compilers masquerading as C compilers
5625 incorrectly reject 9223372036854775807. */
5626 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5628 && LARGE_OFF_T % 2147483647 == 1)
5629 ? 1 : -1];
5631 main ()
5635 return 0;
5637 _ACEOF
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 ac_cv_sys_large_files=1; break
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5642 ac_cv_sys_large_files=unknown
5643 break
5644 done
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5647 $as_echo "$ac_cv_sys_large_files" >&6; }
5648 case $ac_cv_sys_large_files in #(
5649 no | unknown) ;;
5651 cat >>confdefs.h <<_ACEOF
5652 #define _LARGE_FILES $ac_cv_sys_large_files
5653 _ACEOF
5655 esac
5656 rm -rf conftest*
5663 ac_ext=c
5664 ac_cpp='$CPP $CPPFLAGS'
5665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5669 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5670 # On Suns, sometimes $CPP names a directory.
5671 if test -n "$CPP" && test -d "$CPP"; then
5672 CPP=
5674 if test -z "$CPP"; then
5675 if ${ac_cv_prog_CPP+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 # Double quotes because CPP needs to be expanded
5679 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5681 ac_preproc_ok=false
5682 for ac_c_preproc_warn_flag in '' yes
5684 # Use a header file that comes with gcc, so configuring glibc
5685 # with a fresh cross-compiler works.
5686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5687 # <limits.h> exists even on freestanding compilers.
5688 # On the NeXT, cc -E runs the code through the compiler's parser,
5689 # not just through cpp. "Syntax error" is here to catch this case.
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5692 #ifdef __STDC__
5693 # include <limits.h>
5694 #else
5695 # include <assert.h>
5696 #endif
5697 Syntax error
5698 _ACEOF
5699 if ac_fn_c_try_cpp "$LINENO"; then :
5701 else
5702 # Broken: fails on valid input.
5703 continue
5705 rm -f conftest.err conftest.i conftest.$ac_ext
5707 # OK, works on sane cases. Now check whether nonexistent headers
5708 # can be detected and how.
5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5711 #include <ac_nonexistent.h>
5712 _ACEOF
5713 if ac_fn_c_try_cpp "$LINENO"; then :
5714 # Broken: success on invalid input.
5715 continue
5716 else
5717 # Passes both tests.
5718 ac_preproc_ok=:
5719 break
5721 rm -f conftest.err conftest.i conftest.$ac_ext
5723 done
5724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5725 rm -f conftest.i conftest.err conftest.$ac_ext
5726 if $ac_preproc_ok; then :
5727 break
5730 done
5731 ac_cv_prog_CPP=$CPP
5734 CPP=$ac_cv_prog_CPP
5735 else
5736 ac_cv_prog_CPP=$CPP
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5739 $as_echo "$CPP" >&6; }
5740 ac_preproc_ok=false
5741 for ac_c_preproc_warn_flag in '' yes
5743 # Use a header file that comes with gcc, so configuring glibc
5744 # with a fresh cross-compiler works.
5745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5746 # <limits.h> exists even on freestanding compilers.
5747 # On the NeXT, cc -E runs the code through the compiler's parser,
5748 # not just through cpp. "Syntax error" is here to catch this case.
5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5751 #ifdef __STDC__
5752 # include <limits.h>
5753 #else
5754 # include <assert.h>
5755 #endif
5756 Syntax error
5757 _ACEOF
5758 if ac_fn_c_try_cpp "$LINENO"; then :
5760 else
5761 # Broken: fails on valid input.
5762 continue
5764 rm -f conftest.err conftest.i conftest.$ac_ext
5766 # OK, works on sane cases. Now check whether nonexistent headers
5767 # can be detected and how.
5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5770 #include <ac_nonexistent.h>
5771 _ACEOF
5772 if ac_fn_c_try_cpp "$LINENO"; then :
5773 # Broken: success on invalid input.
5774 continue
5775 else
5776 # Passes both tests.
5777 ac_preproc_ok=:
5778 break
5780 rm -f conftest.err conftest.i conftest.$ac_ext
5782 done
5783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5784 rm -f conftest.i conftest.err conftest.$ac_ext
5785 if $ac_preproc_ok; then :
5787 else
5788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5790 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5791 See \`config.log' for more details" "$LINENO" 5; }
5794 ac_ext=c
5795 ac_cpp='$CPP $CPPFLAGS'
5796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5802 $as_echo_n "checking for ANSI C header files... " >&6; }
5803 if ${ac_cv_header_stdc+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5808 #include <stdlib.h>
5809 #include <stdarg.h>
5810 #include <string.h>
5811 #include <float.h>
5814 main ()
5818 return 0;
5820 _ACEOF
5821 if ac_fn_c_try_compile "$LINENO"; then :
5822 ac_cv_header_stdc=yes
5823 else
5824 ac_cv_header_stdc=no
5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5828 if test $ac_cv_header_stdc = yes; then
5829 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5831 /* end confdefs.h. */
5832 #include <string.h>
5834 _ACEOF
5835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5836 $EGREP "memchr" >/dev/null 2>&1; then :
5838 else
5839 ac_cv_header_stdc=no
5841 rm -f conftest*
5845 if test $ac_cv_header_stdc = yes; then
5846 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5848 /* end confdefs.h. */
5849 #include <stdlib.h>
5851 _ACEOF
5852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5853 $EGREP "free" >/dev/null 2>&1; then :
5855 else
5856 ac_cv_header_stdc=no
5858 rm -f conftest*
5862 if test $ac_cv_header_stdc = yes; then
5863 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5864 if test "$cross_compiling" = yes; then :
5866 else
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include <ctype.h>
5870 #include <stdlib.h>
5871 #if ((' ' & 0x0FF) == 0x020)
5872 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5873 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5874 #else
5875 # define ISLOWER(c) \
5876 (('a' <= (c) && (c) <= 'i') \
5877 || ('j' <= (c) && (c) <= 'r') \
5878 || ('s' <= (c) && (c) <= 'z'))
5879 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5880 #endif
5882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5884 main ()
5886 int i;
5887 for (i = 0; i < 256; i++)
5888 if (XOR (islower (i), ISLOWER (i))
5889 || toupper (i) != TOUPPER (i))
5890 return 2;
5891 return 0;
5893 _ACEOF
5894 if ac_fn_c_try_run "$LINENO"; then :
5896 else
5897 ac_cv_header_stdc=no
5899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5900 conftest.$ac_objext conftest.beam conftest.$ac_ext
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5906 $as_echo "$ac_cv_header_stdc" >&6; }
5907 if test $ac_cv_header_stdc = yes; then
5909 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5915 inttypes.h stdint.h unistd.h
5916 do :
5917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5918 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5921 cat >>confdefs.h <<_ACEOF
5922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5923 _ACEOF
5927 done
5930 for ac_header in \
5931 AL/al.h \
5932 ApplicationServices/ApplicationServices.h \
5933 AudioToolbox/AudioConverter.h \
5934 AudioUnit/AudioUnit.h \
5935 AudioUnit/AudioComponent.h \
5936 CL/cl.h \
5937 Carbon/Carbon.h \
5938 CoreAudio/CoreAudio.h \
5939 CoreServices/CoreServices.h \
5940 DiskArbitration/DiskArbitration.h \
5941 IOKit/IOKitLib.h \
5942 IOKit/hid/IOHIDLib.h \
5943 OpenAL/al.h \
5944 OpenCL/opencl.h \
5945 QuickTime/ImageCompression.h \
5946 Security/Security.h \
5947 alias.h \
5948 alsa/asoundlib.h \
5949 arpa/inet.h \
5950 arpa/nameser.h \
5951 asm/types.h \
5952 curses.h \
5953 direct.h \
5954 dirent.h \
5955 dlfcn.h \
5956 elf.h \
5957 float.h \
5958 fnmatch.h \
5959 fontconfig/fontconfig.h \
5960 getopt.h \
5961 gettext-po.h \
5962 grp.h \
5963 gsm.h \
5964 gsm/gsm.h \
5965 ieeefp.h \
5966 inet/mib2.h \
5967 io.h \
5968 kstat.h \
5969 lber.h \
5970 ldap.h \
5971 libproc.h \
5972 link.h \
5973 linux/cdrom.h \
5974 linux/compiler.h \
5975 linux/filter.h \
5976 linux/hdreg.h \
5977 linux/input.h \
5978 linux/ioctl.h \
5979 linux/joystick.h \
5980 linux/major.h \
5981 linux/param.h \
5982 linux/serial.h \
5983 linux/types.h \
5984 linux/ucdrom.h \
5985 lwp.h \
5986 mach-o/nlist.h \
5987 mach-o/loader.h \
5988 mach/mach.h \
5989 mach/machine.h \
5990 machine/cpu.h \
5991 machine/limits.h \
5992 machine/sysarch.h \
5993 mntent.h \
5994 ncurses.h \
5995 netdb.h \
5996 netinet/in.h \
5997 netinet/in_systm.h \
5998 netinet/tcp.h \
5999 netinet/tcp_fsm.h \
6000 poll.h \
6001 port.h \
6002 process.h \
6003 pthread.h \
6004 pwd.h \
6005 sched.h \
6006 scsi/scsi.h \
6007 scsi/scsi_ioctl.h \
6008 scsi/sg.h \
6009 stdbool.h \
6010 stdint.h \
6011 stropts.h \
6012 sys/asoundlib.h \
6013 sys/attr.h \
6014 sys/cdio.h \
6015 sys/elf32.h \
6016 sys/epoll.h \
6017 sys/event.h \
6018 sys/exec_elf.h \
6019 sys/filio.h \
6020 sys/inotify.h \
6021 sys/ioctl.h \
6022 sys/ipc.h \
6023 sys/limits.h \
6024 sys/link.h \
6025 sys/mman.h \
6026 sys/modem.h \
6027 sys/msg.h \
6028 sys/mtio.h \
6029 sys/param.h \
6030 sys/poll.h \
6031 sys/prctl.h \
6032 sys/protosw.h \
6033 sys/ptrace.h \
6034 sys/queue.h \
6035 sys/resource.h \
6036 sys/scsiio.h \
6037 sys/shm.h \
6038 sys/signal.h \
6039 sys/socket.h \
6040 sys/socketvar.h \
6041 sys/sockio.h \
6042 sys/statvfs.h \
6043 sys/strtio.h \
6044 sys/syscall.h \
6045 sys/tihdr.h \
6046 sys/time.h \
6047 sys/timeout.h \
6048 sys/times.h \
6049 sys/uio.h \
6050 sys/user.h \
6051 sys/utsname.h \
6052 sys/vm86.h \
6053 sys/wait.h \
6054 syscall.h \
6055 termios.h \
6056 unistd.h \
6057 utime.h \
6058 valgrind/memcheck.h \
6059 valgrind/valgrind.h \
6060 zlib.h
6062 do :
6063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6064 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6066 cat >>confdefs.h <<_ACEOF
6067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6068 _ACEOF
6072 done
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6075 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6076 if ${ac_cv_header_stat_broken+:} false; then :
6077 $as_echo_n "(cached) " >&6
6078 else
6079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6080 /* end confdefs.h. */
6081 #include <sys/types.h>
6082 #include <sys/stat.h>
6084 #if defined S_ISBLK && defined S_IFDIR
6085 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6086 #endif
6088 #if defined S_ISBLK && defined S_IFCHR
6089 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6090 #endif
6092 #if defined S_ISLNK && defined S_IFREG
6093 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6094 #endif
6096 #if defined S_ISSOCK && defined S_IFREG
6097 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6098 #endif
6100 _ACEOF
6101 if ac_fn_c_try_compile "$LINENO"; then :
6102 ac_cv_header_stat_broken=no
6103 else
6104 ac_cv_header_stat_broken=yes
6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6109 $as_echo "$ac_cv_header_stat_broken" >&6; }
6110 if test $ac_cv_header_stat_broken = yes; then
6112 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6118 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6119 do :
6120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6122 #ifdef HAVE_SYS_PARAM_H
6123 # include <sys/param.h>
6124 #endif
6126 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6127 cat >>confdefs.h <<_ACEOF
6128 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6129 _ACEOF
6133 done
6136 for ac_header in \
6137 netinet/ip.h \
6138 net/if.h \
6139 net/if_arp.h \
6140 net/if_dl.h \
6141 net/if_types.h \
6142 net/route.h \
6143 netinet/if_ether.h \
6144 netinet/if_inarp.h \
6145 netinet/in_pcb.h \
6146 netinet/ip_icmp.h \
6147 netinet/ip_var.h \
6148 netinet/udp.h \
6149 netipx/ipx.h \
6150 sys/un.h \
6152 do :
6153 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6155 #ifdef HAVE_SYS_SOCKET_H
6156 # include <sys/socket.h>
6157 #endif
6158 #ifdef HAVE_SYS_SOCKETVAR_H
6159 # include <sys/socketvar.h>
6160 #endif
6161 #ifdef HAVE_NET_ROUTE_H
6162 # include <net/route.h>
6163 #endif
6164 #ifdef HAVE_NETINET_IN_H
6165 # include <netinet/in.h>
6166 #endif
6167 #ifdef HAVE_NETINET_IN_SYSTM_H
6168 # include <netinet/in_systm.h>
6169 #endif
6170 #ifdef HAVE_NET_IF_H
6171 # include <net/if.h>
6172 #endif
6173 #ifdef HAVE_NETINET_IP_H
6174 # include <netinet/ip.h>
6175 #endif
6177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6178 cat >>confdefs.h <<_ACEOF
6179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6184 done
6187 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6188 do :
6189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6191 #ifdef HAVE_ALIAS_H
6192 # include <alias.h>
6193 #endif
6194 #ifdef HAVE_SYS_SOCKET_H
6195 # include <sys/socket.h>
6196 #endif
6197 #ifdef HAVE_SYS_SOCKETVAR_H
6198 # include <sys/socketvar.h>
6199 #endif
6200 #ifdef HAVE_SYS_TIMEOUT_H
6201 # include <sys/timeout.h>
6202 #endif
6203 #ifdef HAVE_NETINET_IN_H
6204 # include <netinet/in.h>
6205 #endif
6206 #ifdef HAVE_NETINET_IN_SYSTM_H
6207 # include <netinet/in_systm.h>
6208 #endif
6209 #ifdef HAVE_NETINET_IP_H
6210 # include <netinet/ip.h>
6211 #endif
6212 #ifdef HAVE_NETINET_IP_VAR_H
6213 # include <netinet/ip_var.h>
6214 #endif
6215 #ifdef HAVE_NETINET_IP_ICMP_H
6216 # include <netinet/ip_icmp.h>
6217 #endif
6218 #ifdef HAVE_NETINET_UDP_H
6219 # include <netinet/udp.h>
6220 #endif
6221 #ifdef HAVE_NETINET_TCP_H
6222 # include <netinet/tcp.h>
6223 #endif
6224 #ifdef HAVE_NETINET_TCP_TIMER_H
6225 #include <netinet/tcp_timer.h>
6226 #endif
6228 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6229 cat >>confdefs.h <<_ACEOF
6230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6231 _ACEOF
6235 done
6238 for ac_header in linux/ipx.h linux/irda.h
6239 do :
6240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6241 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6242 #ifdef HAVE_ASM_TYPES_H
6243 # include <asm/types.h>
6244 #endif
6245 #ifdef HAVE_SYS_SOCKET_H
6246 # include <sys/socket.h>
6247 #endif
6248 #ifdef HAVE_LINUX_TYPES_H
6249 # include <linux/types.h>
6250 #endif
6252 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6253 cat >>confdefs.h <<_ACEOF
6254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6255 _ACEOF
6259 done
6262 for ac_header in mach-o/dyld_images.h
6263 do :
6264 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6265 # include <stdbool.h>
6266 #endif
6267 #ifdef HAVE_STDINT_H
6268 # include <stdint.h>
6269 #endif
6271 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6272 cat >>confdefs.h <<_ACEOF
6273 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6274 _ACEOF
6278 done
6281 for ac_header in resolv.h
6282 do :
6283 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6284 #ifdef HAVE_SYS_SOCKET_H
6285 # include <sys/socket.h>
6286 #endif
6287 #ifdef HAVE_NETINET_IN_H
6288 # include <netinet/in.h>
6289 #endif
6290 #ifdef HAVE_ARPA_NAMESER_H
6291 # include <arpa/nameser.h>
6292 #endif
6294 if test "x$ac_cv_header_resolv_h" = xyes; then :
6295 cat >>confdefs.h <<_ACEOF
6296 #define HAVE_RESOLV_H 1
6297 _ACEOF
6301 done
6304 for ac_header in ifaddrs.h
6305 do :
6306 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6308 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6309 cat >>confdefs.h <<_ACEOF
6310 #define HAVE_IFADDRS_H 1
6311 _ACEOF
6315 done
6318 for ac_header in ucontext.h
6319 do :
6320 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6322 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6323 cat >>confdefs.h <<_ACEOF
6324 #define HAVE_UCONTEXT_H 1
6325 _ACEOF
6329 done
6332 for ac_header in sys/thr.h
6333 do :
6334 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6335 #ifdef HAVE_UCONTEXT_H
6336 #include <ucontext.h>
6337 #endif
6339 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6340 cat >>confdefs.h <<_ACEOF
6341 #define HAVE_SYS_THR_H 1
6342 _ACEOF
6346 done
6349 for ac_header in pthread_np.h
6350 do :
6351 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6352 #include <pthread.h>
6353 #endif
6355 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6356 cat >>confdefs.h <<_ACEOF
6357 #define HAVE_PTHREAD_NP_H 1
6358 _ACEOF
6362 done
6365 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6366 do :
6367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6369 #include <sys/time.h>
6370 #endif
6371 #include <sys/types.h>
6372 #ifdef HAVE_ASM_TYPES_H
6373 #include <asm/types.h>
6374 #endif
6376 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6377 cat >>confdefs.h <<_ACEOF
6378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6379 _ACEOF
6383 done
6386 for ac_header in libprocstat.h
6387 do :
6388 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6389 #include <sys/param.h>
6390 #endif
6391 #ifdef HAVE_SYS_QUEUE_H
6392 #include <sys/queue.h>
6393 #endif
6394 #ifdef HAVE_SYS_SOCKET_H
6395 #include <sys/socket.h>
6396 #endif
6398 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
6399 cat >>confdefs.h <<_ACEOF
6400 #define HAVE_LIBPROCSTAT_H 1
6401 _ACEOF
6405 done
6409 DLLEXT=""
6411 DLLFLAGS="-D_REENTRANT"
6413 IMPLIBEXT="def"
6415 LDRPATH_INSTALL=""
6417 LDRPATH_LOCAL=""
6419 LIBEXT="so"
6420 STATIC_IMPLIBEXT="def.a"
6421 # Extract the first word of "ldd", so it can be a program name with args.
6422 set dummy ldd; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_path_LDD+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 case $LDD in
6429 [\\/]* | ?:[\\/]*)
6430 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 as_dummy="/sbin:/usr/sbin:$PATH"
6435 for as_dir in $as_dummy
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6449 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6451 esac
6453 LDD=$ac_cv_path_LDD
6454 if test -n "$LDD"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6456 $as_echo "$LDD" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6463 if test -n "$ac_tool_prefix"; then
6464 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6465 set dummy ${ac_tool_prefix}readelf; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_READELF+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$READELF"; then
6472 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 READELF=$ac_cv_prog_READELF
6492 if test -n "$READELF"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6494 $as_echo "$READELF" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6502 if test -z "$ac_cv_prog_READELF"; then
6503 ac_ct_READELF=$READELF
6504 # Extract the first word of "readelf", so it can be a program name with args.
6505 set dummy readelf; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$ac_ct_READELF"; then
6512 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_ac_ct_READELF="readelf"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6532 if test -n "$ac_ct_READELF"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6534 $as_echo "$ac_ct_READELF" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6540 if test "x$ac_ct_READELF" = x; then
6541 READELF="true"
6542 else
6543 case $cross_compiling:$ac_tool_warned in
6544 yes:)
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6547 ac_tool_warned=yes ;;
6548 esac
6549 READELF=$ac_ct_READELF
6551 else
6552 READELF="$ac_cv_prog_READELF"
6556 case $host_os in
6557 cygwin*|mingw32*)
6558 if test -n "$ac_tool_prefix"; then
6559 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_DLLTOOL+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$DLLTOOL"; then
6567 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6580 done
6581 done
6582 IFS=$as_save_IFS
6586 DLLTOOL=$ac_cv_prog_DLLTOOL
6587 if test -n "$DLLTOOL"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6589 $as_echo "$DLLTOOL" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6597 if test -z "$ac_cv_prog_DLLTOOL"; then
6598 ac_ct_DLLTOOL=$DLLTOOL
6599 # Extract the first word of "dlltool", so it can be a program name with args.
6600 set dummy dlltool; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$ac_ct_DLLTOOL"; then
6607 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6627 if test -n "$ac_ct_DLLTOOL"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6629 $as_echo "$ac_ct_DLLTOOL" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6635 if test "x$ac_ct_DLLTOOL" = x; then
6636 DLLTOOL="false"
6637 else
6638 case $cross_compiling:$ac_tool_warned in
6639 yes:)
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642 ac_tool_warned=yes ;;
6643 esac
6644 DLLTOOL=$ac_ct_DLLTOOL
6646 else
6647 DLLTOOL="$ac_cv_prog_DLLTOOL"
6650 LIBEXT="dll"
6651 IMPLIBEXT="a"
6652 STATIC_IMPLIBEXT="a"
6653 enable_iphlpapi=${enable_iphlpapi:-no}
6654 enable_kernel32=${enable_kernel32:-no}
6655 enable_msvcrt=${enable_msvcrt:-no}
6656 enable_ntdll=${enable_ntdll:-no}
6657 enable_ws2_32=${enable_ws2_32:-no}
6658 enable_loader=${enable_loader:-no}
6659 enable_server=${enable_server:-no}
6660 with_x=${with_x:-no}
6661 with_pthread=${with_pthread:-no}
6663 crtlibs=""
6664 case $host_os in
6665 mingw32*)
6666 crtlibs="-lmsvcrt"
6667 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6669 esac
6671 LIBWINE_RULES="
6672 all: libwine.dll libwine.a
6674 libwine.a: wine.def
6675 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6677 libwine.dll: \$(OBJS) wine.def Makefile.in
6678 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6680 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6681 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6683 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6684 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6686 uninstall::
6687 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6689 clean::
6690 \$(RM) libwine.dll version.c
6695 darwin*|macosx*)
6696 DLLEXT=".so"
6697 LIBEXT="dylib"
6698 DLLFLAGS="$DLLFLAGS -fPIC"
6699 LIBWINE_LDFLAGS="-multiply_defined suppress"
6700 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6701 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6702 COREFOUNDATIONLIB="-framework CoreFoundation"
6704 IOKITLIB="-framework IOKit -framework CoreFoundation"
6706 FORCEFEEDBACKLIB="-framework ForceFeedback -framework CoreFoundation"
6708 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6710 CORESERVICESLIB="-framework CoreServices"
6712 APPKITLIB="-framework AppKit"
6714 case $host_os in
6715 darwin11*)
6716 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6719 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6721 esac
6722 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6723 then
6724 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6727 if test "$ac_cv_header_Security_Security_h" = "yes"
6728 then
6729 SECURITYLIB="-framework Security -framework CoreFoundation"
6731 ac_save_LIBS="$LIBS"
6732 LIBS="$LIBS $SECURITYLIB"
6733 for ac_func in SSLCopyPeerCertificates
6734 do :
6735 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6736 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6737 cat >>confdefs.h <<_ACEOF
6738 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6739 _ACEOF
6742 done
6744 LIBS="$ac_save_LIBS"
6745 with_gnutls=${with_gnutls:-no}
6747 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6748 then
6749 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6750 then
6751 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6753 else
6754 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6757 ac_save_LIBS="$LIBS"
6758 LIBS="$LIBS $COREAUDIO"
6759 for ac_func in AUGraphAddNode
6760 do :
6761 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6762 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6763 cat >>confdefs.h <<_ACEOF
6764 #define HAVE_AUGRAPHADDNODE 1
6765 _ACEOF
6768 done
6770 LIBS="$ac_save_LIBS"
6772 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6773 then
6774 FRAMEWORK_OPENAL="-framework OpenAL"
6777 cat >>confdefs.h <<_ACEOF
6778 #define HAVE_OPENAL 1
6779 _ACEOF
6781 ac_cv_lib_openal=yes
6783 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6784 then
6785 LIBOPENCL="-framework OpenCL"
6787 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6789 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6790 then
6791 ac_save_LIBS="$LIBS"
6792 LIBS="$LIBS $IOKITLIB"
6793 for ac_func in IOHIDManagerCreate
6794 do :
6795 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6796 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6797 cat >>confdefs.h <<_ACEOF
6798 #define HAVE_IOHIDMANAGERCREATE 1
6799 _ACEOF
6802 done
6804 LIBS="$ac_save_LIBS"
6806 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6807 then
6808 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6810 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6811 else
6812 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6814 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6815 then
6816 CARBONLIB="-framework Carbon"
6820 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6821 then
6822 ac_save_LIBS="$LIBS"
6823 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6824 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6825 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6826 enable_winemac_drv=${enable_winemac_drv:-yes}
6829 LIBS="$ac_save_LIBS"
6832 if test "x$enable_win16" = "xyes"
6833 then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6835 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6836 if test "$cross_compiling" = yes; then :
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6838 $as_echo "cross-compiling, assuming yes" >&6; }
6839 else
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 asm(".text\n"
6843 "bad:\tnop;nop\n"
6844 "good:\tnop;nop\n\t"
6845 ".globl _testfunc\n"
6846 "_testfunc:\tcallw good");
6847 extern void testfunc();
6849 main ()
6851 unsigned short *p = (unsigned short *)testfunc;
6852 return p[0] != 0xe866 || p[1] != 0xfffa
6854 return 0;
6856 _ACEOF
6857 if ac_fn_c_try_run "$LINENO"; then :
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6859 $as_echo "yes" >&6; }
6860 else
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6863 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
6865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6866 conftest.$ac_objext conftest.beam conftest.$ac_ext
6871 LIBWINE_RULES="
6872 all: libwine.dylib
6874 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6875 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6877 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6878 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6880 libwine.dylib: libwine.\$(SOVERSION).dylib
6881 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6883 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6884 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6885 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6887 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6888 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6890 uninstall::
6891 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6893 clean::
6894 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6899 linux-android*)
6900 DLLFLAGS="$DLLFLAGS -fPIC"
6901 DLLEXT=".so"
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6903 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6904 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6905 $as_echo_n "(cached) " >&6
6906 else
6907 ac_wine_try_cflags_saved=$CFLAGS
6908 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 int main(int argc, char **argv) { return 0; }
6912 _ACEOF
6913 if ac_fn_c_try_link "$LINENO"; then :
6914 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6915 else
6916 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6918 rm -f core conftest.err conftest.$ac_objext \
6919 conftest$ac_exeext conftest.$ac_ext
6920 CFLAGS=$ac_wine_try_cflags_saved
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6923 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6924 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6925 LDEXECFLAGS="-Wl,--export-dynamic"
6928 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6930 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6931 if eval \${$as_ac_var+:} false; then :
6932 $as_echo_n "(cached) " >&6
6933 else
6934 ac_wine_try_cflags_saved=$CFLAGS
6935 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 int main(int argc, char **argv) { return 0; }
6939 _ACEOF
6940 if ac_fn_c_try_link "$LINENO"; then :
6941 eval "$as_ac_var=yes"
6942 else
6943 eval "$as_ac_var=no"
6945 rm -f core conftest.err conftest.$ac_objext \
6946 conftest$ac_exeext conftest.$ac_ext
6947 CFLAGS=$ac_wine_try_cflags_saved
6949 eval ac_res=\$$as_ac_var
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6951 $as_echo "$ac_res" >&6; }
6952 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6953 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6954 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6955 else
6956 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6958 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6959 if eval \${$as_ac_var+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 ac_wine_try_cflags_saved=$CFLAGS
6963 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 int main(int argc, char **argv) { return 0; }
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 eval "$as_ac_var=yes"
6970 else
6971 eval "$as_ac_var=no"
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6975 CFLAGS=$ac_wine_try_cflags_saved
6977 eval ac_res=\$$as_ac_var
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6979 $as_echo "$ac_res" >&6; }
6980 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6981 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6982 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6987 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6988 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 ac_wine_try_cflags_saved=$CFLAGS
6992 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
6995 int main(int argc, char **argv) { return 0; }
6996 _ACEOF
6997 if ac_fn_c_try_link "$LINENO"; then :
6998 ac_cv_cflags__Wl___enable_new_dtags=yes
6999 else
7000 ac_cv_cflags__Wl___enable_new_dtags=no
7002 rm -f core conftest.err conftest.$ac_objext \
7003 conftest$ac_exeext conftest.$ac_ext
7004 CFLAGS=$ac_wine_try_cflags_saved
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7007 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7008 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7009 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7012 case $host_cpu in
7013 *i[3456789]86* | x86_64)
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7015 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7016 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 ac_wine_try_cflags_saved=$CFLAGS
7020 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7023 int main(int argc, char **argv) { return 0; }
7024 _ACEOF
7025 if ac_fn_c_try_link "$LINENO"; then :
7026 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7027 else
7028 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7030 rm -f core conftest.err conftest.$ac_objext \
7031 conftest$ac_exeext conftest.$ac_ext
7032 CFLAGS=$ac_wine_try_cflags_saved
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7035 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7036 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7037 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7040 esac
7042 LIBWINE_RULES="
7043 all: libwine.so
7045 libwine.so: \$(OBJS) Makefile.in
7046 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7048 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7049 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7051 uninstall::
7052 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7054 clean::
7055 \$(RM) libwine.so version.c
7061 DLLFLAGS="$DLLFLAGS -fPIC"
7062 DLLEXT=".so"
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7064 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7065 if ${ac_cv_c_dll_gnuelf+:} false; then :
7066 $as_echo_n "(cached) " >&6
7067 else
7068 ac_wine_try_cflags_saved=$CFLAGS
7069 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7072 void myfunc() {}
7073 _ACEOF
7074 if ac_fn_c_try_link "$LINENO"; then :
7075 ac_cv_c_dll_gnuelf="yes"
7076 else
7077 ac_cv_c_dll_gnuelf="no"
7079 rm -f core conftest.err conftest.$ac_objext \
7080 conftest$ac_exeext conftest.$ac_ext
7081 CFLAGS=$ac_wine_try_cflags_saved
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7084 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7085 if test "$ac_cv_c_dll_gnuelf" = "yes"
7086 then
7087 LDSHARED="\$(CC) -shared"
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7089 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7090 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 ac_wine_try_cflags_saved=$CFLAGS
7094 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7097 int main(int argc, char **argv) { return 0; }
7098 _ACEOF
7099 if ac_fn_c_try_link "$LINENO"; then :
7100 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
7101 else
7102 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7104 rm -f core conftest.err conftest.$ac_objext \
7105 conftest$ac_exeext conftest.$ac_ext
7106 CFLAGS=$ac_wine_try_cflags_saved
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7109 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7110 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7111 LDSHARED="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7112 else
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7114 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7115 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
7116 $as_echo_n "(cached) " >&6
7117 else
7118 ac_wine_try_cflags_saved=$CFLAGS
7119 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 int main(int argc, char **argv) { return 0; }
7123 _ACEOF
7124 if ac_fn_c_try_link "$LINENO"; then :
7125 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
7126 else
7127 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
7129 rm -f core conftest.err conftest.$ac_objext \
7130 conftest$ac_exeext conftest.$ac_ext
7131 CFLAGS=$ac_wine_try_cflags_saved
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7134 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7135 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7136 LDSHARED="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7140 echo '{ global: *; };' >conftest.map
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7142 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7143 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
7144 $as_echo_n "(cached) " >&6
7145 else
7146 ac_wine_try_cflags_saved=$CFLAGS
7147 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 int main(int argc, char **argv) { return 0; }
7151 _ACEOF
7152 if ac_fn_c_try_link "$LINENO"; then :
7153 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
7154 else
7155 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
7157 rm -f core conftest.err conftest.$ac_objext \
7158 conftest$ac_exeext conftest.$ac_ext
7159 CFLAGS=$ac_wine_try_cflags_saved
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7162 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7163 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7164 LDSHARED="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7166 rm -f conftest.map
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7169 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7170 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 ac_wine_try_cflags_saved=$CFLAGS
7174 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 int main(int argc, char **argv) { return 0; }
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7181 else
7182 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 CFLAGS=$ac_wine_try_cflags_saved
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7189 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7190 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7191 LDEXECFLAGS="-Wl,--export-dynamic"
7195 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7197 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7198 if eval \${$as_ac_var+:} false; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 ac_wine_try_cflags_saved=$CFLAGS
7202 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7204 /* end confdefs.h. */
7205 int main(int argc, char **argv) { return 0; }
7206 _ACEOF
7207 if ac_fn_c_try_link "$LINENO"; then :
7208 eval "$as_ac_var=yes"
7209 else
7210 eval "$as_ac_var=no"
7212 rm -f core conftest.err conftest.$ac_objext \
7213 conftest$ac_exeext conftest.$ac_ext
7214 CFLAGS=$ac_wine_try_cflags_saved
7216 eval ac_res=\$$as_ac_var
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7218 $as_echo "$ac_res" >&6; }
7219 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7220 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7221 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7222 else
7223 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7225 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7226 if eval \${$as_ac_var+:} false; then :
7227 $as_echo_n "(cached) " >&6
7228 else
7229 ac_wine_try_cflags_saved=$CFLAGS
7230 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 int main(int argc, char **argv) { return 0; }
7234 _ACEOF
7235 if ac_fn_c_try_link "$LINENO"; then :
7236 eval "$as_ac_var=yes"
7237 else
7238 eval "$as_ac_var=no"
7240 rm -f core conftest.err conftest.$ac_objext \
7241 conftest$ac_exeext conftest.$ac_ext
7242 CFLAGS=$ac_wine_try_cflags_saved
7244 eval ac_res=\$$as_ac_var
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7246 $as_echo "$ac_res" >&6; }
7247 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7248 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7249 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7254 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7255 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7256 $as_echo_n "(cached) " >&6
7257 else
7258 ac_wine_try_cflags_saved=$CFLAGS
7259 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 int main(int argc, char **argv) { return 0; }
7263 _ACEOF
7264 if ac_fn_c_try_link "$LINENO"; then :
7265 ac_cv_cflags__Wl___enable_new_dtags=yes
7266 else
7267 ac_cv_cflags__Wl___enable_new_dtags=no
7269 rm -f core conftest.err conftest.$ac_objext \
7270 conftest$ac_exeext conftest.$ac_ext
7271 CFLAGS=$ac_wine_try_cflags_saved
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7274 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7275 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7276 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7279 case $host_cpu in
7280 *i[3456789]86* | x86_64)
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7282 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7283 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7284 $as_echo_n "(cached) " >&6
7285 else
7286 ac_wine_try_cflags_saved=$CFLAGS
7287 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 int main(int argc, char **argv) { return 0; }
7291 _ACEOF
7292 if ac_fn_c_try_link "$LINENO"; then :
7293 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7294 else
7295 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7297 rm -f core conftest.err conftest.$ac_objext \
7298 conftest$ac_exeext conftest.$ac_ext
7299 CFLAGS=$ac_wine_try_cflags_saved
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7302 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7303 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7304 case $host_os in
7305 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7306 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7307 esac
7310 # Extract the first word of "prelink", so it can be a program name with args.
7311 set dummy prelink; ac_word=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if ${ac_cv_path_PRELINK+:} false; then :
7315 $as_echo_n "(cached) " >&6
7316 else
7317 case $PRELINK in
7318 [\\/]* | ?:[\\/]*)
7319 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in /sbin /usr/sbin $PATH
7325 IFS=$as_save_IFS
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331 break 2
7333 done
7334 done
7335 IFS=$as_save_IFS
7337 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7339 esac
7341 PRELINK=$ac_cv_path_PRELINK
7342 if test -n "$PRELINK"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7344 $as_echo "$PRELINK" >&6; }
7345 else
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7351 if test "x$PRELINK" = xfalse
7352 then
7353 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7356 esac
7358 else
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7360 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7361 if ${ac_cv_c_dll_unixware+:} false; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 ac_wine_try_cflags_saved=$CFLAGS
7365 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7367 /* end confdefs.h. */
7368 void myfunc() {}
7369 _ACEOF
7370 if ac_fn_c_try_link "$LINENO"; then :
7371 ac_cv_c_dll_unixware="yes"
7372 else
7373 ac_cv_c_dll_unixware="no"
7375 rm -f core conftest.err conftest.$ac_objext \
7376 conftest$ac_exeext conftest.$ac_ext
7377 CFLAGS=$ac_wine_try_cflags_saved
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7380 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7381 if test "$ac_cv_c_dll_unixware" = "yes"
7382 then
7383 LDSHARED="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7386 LIBWINE_RULES="
7387 all: libwine.so
7389 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7390 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7392 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7393 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7395 libwine.so: libwine.so.\$(SOVERSION)
7396 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7398 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7399 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7400 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7402 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7403 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7405 uninstall::
7406 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7408 clean::
7409 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7413 esac
7415 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7416 enable_winemac_drv=${enable_winemac_drv:-no}
7418 CROSSTEST_DISABLE=\#
7420 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7421 then
7422 case "$host_cpu" in
7423 i[3456789]86*)
7424 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
7425 mingw32-gcc" ;;
7426 x86_64)
7427 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 " ;;
7429 ac_prefix_list="" ;;
7430 esac
7431 for ac_prog in $ac_prefix_list
7433 # Extract the first word of "$ac_prog", so it can be a program name with args.
7434 set dummy $ac_prog; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_CROSSCC+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$CROSSCC"; then
7441 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_CROSSCC="$ac_prog"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 CROSSCC=$ac_cv_prog_CROSSCC
7461 if test -n "$CROSSCC"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7463 $as_echo "$CROSSCC" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7470 test -n "$CROSSCC" && break
7471 done
7472 test -n "$CROSSCC" || CROSSCC="false"
7474 if test "$CROSSCC" != "false"
7475 then
7476 ac_save_CC="$CC"
7477 CC="$CROSSCC"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7479 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7484 main ()
7488 return 0;
7490 _ACEOF
7491 if ac_fn_c_try_compile "$LINENO"; then :
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7493 $as_echo "yes" >&6; }
7494 set x $CROSSCC
7495 shift
7496 target=""
7497 while test $# -ge 1
7499 case "$1" in
7500 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7501 esac
7502 shift
7503 done
7504 if test -n "$target"
7505 then
7506 CROSSTEST_DISABLE=""
7507 CROSSTARGET="$target"
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7515 CC="$ac_save_CC"
7520 if test "$ac_cv_header_pthread_h" = "yes"
7521 then
7522 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7523 if test "x$ac_cv_func_pthread_create" = xyes; then :
7525 else
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7527 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7528 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7529 $as_echo_n "(cached) " >&6
7530 else
7531 ac_check_lib_save_LIBS=$LIBS
7532 LIBS="-lpthread $LIBS"
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7536 /* Override any GCC internal prototype to avoid an error.
7537 Use char because int might match the return type of a GCC
7538 builtin and then its argument prototype would still apply. */
7539 #ifdef __cplusplus
7540 extern "C"
7541 #endif
7542 char pthread_create ();
7544 main ()
7546 return pthread_create ();
7548 return 0;
7550 _ACEOF
7551 if ac_fn_c_try_link "$LINENO"; then :
7552 ac_cv_lib_pthread_pthread_create=yes
7553 else
7554 ac_cv_lib_pthread_pthread_create=no
7556 rm -f core conftest.err conftest.$ac_objext \
7557 conftest$ac_exeext conftest.$ac_ext
7558 LIBS=$ac_check_lib_save_LIBS
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7561 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7562 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7563 LIBPTHREAD="-lpthread"
7570 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7571 case "x$with_pthread" in
7572 xno) ;;
7573 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7574 Wine cannot support threads without libpthread.
7575 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7576 esac
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7581 $as_echo_n "checking for X... " >&6; }
7584 # Check whether --with-x was given.
7585 if test "${with_x+set}" = set; then :
7586 withval=$with_x;
7589 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7590 if test "x$with_x" = xno; then
7591 # The user explicitly disabled X.
7592 have_x=disabled
7593 else
7594 case $x_includes,$x_libraries in #(
7595 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7596 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7597 $as_echo_n "(cached) " >&6
7598 else
7599 # One or both of the vars are not set, and there is no cached value.
7600 ac_x_includes=no ac_x_libraries=no
7601 rm -f -r conftest.dir
7602 if mkdir conftest.dir; then
7603 cd conftest.dir
7604 cat >Imakefile <<'_ACEOF'
7605 incroot:
7606 @echo incroot='${INCROOT}'
7607 usrlibdir:
7608 @echo usrlibdir='${USRLIBDIR}'
7609 libdir:
7610 @echo libdir='${LIBDIR}'
7611 _ACEOF
7612 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7614 for ac_var in incroot usrlibdir libdir; do
7615 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7616 done
7617 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7618 for ac_extension in a so sl dylib la dll; do
7619 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7620 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7621 ac_im_usrlibdir=$ac_im_libdir; break
7623 done
7624 # Screen out bogus values from the imake configuration. They are
7625 # bogus both because they are the default anyway, and because
7626 # using them would break gcc on systems where it needs fixed includes.
7627 case $ac_im_incroot in
7628 /usr/include) ac_x_includes= ;;
7629 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7630 esac
7631 case $ac_im_usrlibdir in
7632 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7633 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7634 esac
7636 cd ..
7637 rm -f -r conftest.dir
7640 # Standard set of common directories for X headers.
7641 # Check X11 before X11Rn because it is often a symlink to the current release.
7642 ac_x_header_dirs='
7643 /usr/X11/include
7644 /usr/X11R7/include
7645 /usr/X11R6/include
7646 /usr/X11R5/include
7647 /usr/X11R4/include
7649 /usr/include/X11
7650 /usr/include/X11R7
7651 /usr/include/X11R6
7652 /usr/include/X11R5
7653 /usr/include/X11R4
7655 /usr/local/X11/include
7656 /usr/local/X11R7/include
7657 /usr/local/X11R6/include
7658 /usr/local/X11R5/include
7659 /usr/local/X11R4/include
7661 /usr/local/include/X11
7662 /usr/local/include/X11R7
7663 /usr/local/include/X11R6
7664 /usr/local/include/X11R5
7665 /usr/local/include/X11R4
7667 /usr/X386/include
7668 /usr/x386/include
7669 /usr/XFree86/include/X11
7671 /usr/include
7672 /usr/local/include
7673 /usr/unsupported/include
7674 /usr/athena/include
7675 /usr/local/x11r5/include
7676 /usr/lpp/Xamples/include
7678 /usr/openwin/include
7679 /usr/openwin/share/include'
7681 if test "$ac_x_includes" = no; then
7682 # Guess where to find include files, by looking for Xlib.h.
7683 # First, try using that file with no special directory specified.
7684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685 /* end confdefs.h. */
7686 #include <X11/Xlib.h>
7687 _ACEOF
7688 if ac_fn_c_try_cpp "$LINENO"; then :
7689 # We can compile using X headers with no special include directory.
7690 ac_x_includes=
7691 else
7692 for ac_dir in $ac_x_header_dirs; do
7693 if test -r "$ac_dir/X11/Xlib.h"; then
7694 ac_x_includes=$ac_dir
7695 break
7697 done
7699 rm -f conftest.err conftest.i conftest.$ac_ext
7700 fi # $ac_x_includes = no
7702 if test "$ac_x_libraries" = no; then
7703 # Check for the libraries.
7704 # See if we find them without any special options.
7705 # Don't add to $LIBS permanently.
7706 ac_save_LIBS=$LIBS
7707 LIBS="-lX11 $LIBS"
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7710 #include <X11/Xlib.h>
7712 main ()
7714 XrmInitialize ()
7716 return 0;
7718 _ACEOF
7719 if ac_fn_c_try_link "$LINENO"; then :
7720 LIBS=$ac_save_LIBS
7721 # We can link X programs with no special library path.
7722 ac_x_libraries=
7723 else
7724 LIBS=$ac_save_LIBS
7725 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7727 # Don't even attempt the hair of trying to link an X program!
7728 for ac_extension in a so sl dylib la dll; do
7729 if test -r "$ac_dir/libX11.$ac_extension"; then
7730 ac_x_libraries=$ac_dir
7731 break 2
7733 done
7734 done
7736 rm -f core conftest.err conftest.$ac_objext \
7737 conftest$ac_exeext conftest.$ac_ext
7738 fi # $ac_x_libraries = no
7740 case $ac_x_includes,$ac_x_libraries in #(
7741 no,* | *,no | *\'*)
7742 # Didn't find X, or a directory has "'" in its name.
7743 ac_cv_have_x="have_x=no";; #(
7745 # Record where we found X for the cache.
7746 ac_cv_have_x="have_x=yes\
7747 ac_x_includes='$ac_x_includes'\
7748 ac_x_libraries='$ac_x_libraries'"
7749 esac
7751 ;; #(
7752 *) have_x=yes;;
7753 esac
7754 eval "$ac_cv_have_x"
7755 fi # $with_x != no
7757 if test "$have_x" != yes; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7759 $as_echo "$have_x" >&6; }
7760 no_x=yes
7761 else
7762 # If each of the values was on the command line, it overrides each guess.
7763 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7764 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7765 # Update the cache value to reflect the command line values.
7766 ac_cv_have_x="have_x=yes\
7767 ac_x_includes='$x_includes'\
7768 ac_x_libraries='$x_libraries'"
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7770 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7773 if test "$no_x" = yes; then
7774 # Not all programs may use this symbol, but it does not hurt to define it.
7776 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7778 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7779 else
7780 if test -n "$x_includes"; then
7781 X_CFLAGS="$X_CFLAGS -I$x_includes"
7784 # It would also be nice to do this for all -L options, not just this one.
7785 if test -n "$x_libraries"; then
7786 X_LIBS="$X_LIBS -L$x_libraries"
7787 # For Solaris; some versions of Sun CC require a space after -R and
7788 # others require no space. Words are not sufficient . . . .
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7790 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7791 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7792 ac_xsave_c_werror_flag=$ac_c_werror_flag
7793 ac_c_werror_flag=yes
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7807 $as_echo "no" >&6; }
7808 X_LIBS="$X_LIBS -R$x_libraries"
7809 else
7810 LIBS="$ac_xsave_LIBS -R $x_libraries"
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7815 main ()
7819 return 0;
7821 _ACEOF
7822 if ac_fn_c_try_link "$LINENO"; then :
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7824 $as_echo "yes" >&6; }
7825 X_LIBS="$X_LIBS -R $x_libraries"
7826 else
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7828 $as_echo "neither works" >&6; }
7830 rm -f core conftest.err conftest.$ac_objext \
7831 conftest$ac_exeext conftest.$ac_ext
7833 rm -f core conftest.err conftest.$ac_objext \
7834 conftest$ac_exeext conftest.$ac_ext
7835 ac_c_werror_flag=$ac_xsave_c_werror_flag
7836 LIBS=$ac_xsave_LIBS
7839 # Check for system-dependent libraries X programs must link with.
7840 # Do this before checking for the system-independent R6 libraries
7841 # (-lICE), since we may need -lsocket or whatever for X linking.
7843 if test "$ISC" = yes; then
7844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7845 else
7846 # Martyn Johnson says this is needed for Ultrix, if the X
7847 # libraries were built with DECnet support. And Karl Berry says
7848 # the Alpha needs dnet_stub (dnet does not exist).
7849 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7853 /* Override any GCC internal prototype to avoid an error.
7854 Use char because int might match the return type of a GCC
7855 builtin and then its argument prototype would still apply. */
7856 #ifdef __cplusplus
7857 extern "C"
7858 #endif
7859 char XOpenDisplay ();
7861 main ()
7863 return XOpenDisplay ();
7865 return 0;
7867 _ACEOF
7868 if ac_fn_c_try_link "$LINENO"; then :
7870 else
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7872 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7873 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7874 $as_echo_n "(cached) " >&6
7875 else
7876 ac_check_lib_save_LIBS=$LIBS
7877 LIBS="-ldnet $LIBS"
7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7879 /* end confdefs.h. */
7881 /* Override any GCC internal prototype to avoid an error.
7882 Use char because int might match the return type of a GCC
7883 builtin and then its argument prototype would still apply. */
7884 #ifdef __cplusplus
7885 extern "C"
7886 #endif
7887 char dnet_ntoa ();
7889 main ()
7891 return dnet_ntoa ();
7893 return 0;
7895 _ACEOF
7896 if ac_fn_c_try_link "$LINENO"; then :
7897 ac_cv_lib_dnet_dnet_ntoa=yes
7898 else
7899 ac_cv_lib_dnet_dnet_ntoa=no
7901 rm -f core conftest.err conftest.$ac_objext \
7902 conftest$ac_exeext conftest.$ac_ext
7903 LIBS=$ac_check_lib_save_LIBS
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7906 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7907 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7908 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7911 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7913 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7914 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 ac_check_lib_save_LIBS=$LIBS
7918 LIBS="-ldnet_stub $LIBS"
7919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7920 /* end confdefs.h. */
7922 /* Override any GCC internal prototype to avoid an error.
7923 Use char because int might match the return type of a GCC
7924 builtin and then its argument prototype would still apply. */
7925 #ifdef __cplusplus
7926 extern "C"
7927 #endif
7928 char dnet_ntoa ();
7930 main ()
7932 return dnet_ntoa ();
7934 return 0;
7936 _ACEOF
7937 if ac_fn_c_try_link "$LINENO"; then :
7938 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7939 else
7940 ac_cv_lib_dnet_stub_dnet_ntoa=no
7942 rm -f core conftest.err conftest.$ac_objext \
7943 conftest$ac_exeext conftest.$ac_ext
7944 LIBS=$ac_check_lib_save_LIBS
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7947 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7948 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7954 rm -f core conftest.err conftest.$ac_objext \
7955 conftest$ac_exeext conftest.$ac_ext
7956 LIBS="$ac_xsave_LIBS"
7958 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7959 # to get the SysV transport functions.
7960 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7961 # needs -lnsl.
7962 # The nsl library prevents programs from opening the X display
7963 # on Irix 5.2, according to T.E. Dickey.
7964 # The functions gethostbyname, getservbyname, and inet_addr are
7965 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7966 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7967 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7971 if test $ac_cv_func_gethostbyname = no; then
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7973 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7974 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7975 $as_echo_n "(cached) " >&6
7976 else
7977 ac_check_lib_save_LIBS=$LIBS
7978 LIBS="-lnsl $LIBS"
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7985 #ifdef __cplusplus
7986 extern "C"
7987 #endif
7988 char gethostbyname ();
7990 main ()
7992 return gethostbyname ();
7994 return 0;
7996 _ACEOF
7997 if ac_fn_c_try_link "$LINENO"; then :
7998 ac_cv_lib_nsl_gethostbyname=yes
7999 else
8000 ac_cv_lib_nsl_gethostbyname=no
8002 rm -f core conftest.err conftest.$ac_objext \
8003 conftest$ac_exeext conftest.$ac_ext
8004 LIBS=$ac_check_lib_save_LIBS
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8007 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8008 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
8009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8012 if test $ac_cv_lib_nsl_gethostbyname = no; then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8014 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8015 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 ac_check_lib_save_LIBS=$LIBS
8019 LIBS="-lbsd $LIBS"
8020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h. */
8023 /* Override any GCC internal prototype to avoid an error.
8024 Use char because int might match the return type of a GCC
8025 builtin and then its argument prototype would still apply. */
8026 #ifdef __cplusplus
8027 extern "C"
8028 #endif
8029 char gethostbyname ();
8031 main ()
8033 return gethostbyname ();
8035 return 0;
8037 _ACEOF
8038 if ac_fn_c_try_link "$LINENO"; then :
8039 ac_cv_lib_bsd_gethostbyname=yes
8040 else
8041 ac_cv_lib_bsd_gethostbyname=no
8043 rm -f core conftest.err conftest.$ac_objext \
8044 conftest$ac_exeext conftest.$ac_ext
8045 LIBS=$ac_check_lib_save_LIBS
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8048 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8049 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
8050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8056 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8057 # socket/setsockopt and other routines are undefined under SCO ODT
8058 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8059 # on later versions), says Simon Leinen: it contains gethostby*
8060 # variants that don't use the name server (or something). -lsocket
8061 # must be given before -lnsl if both are needed. We assume that
8062 # if connect needs -lnsl, so does gethostbyname.
8063 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
8064 if test "x$ac_cv_func_connect" = xyes; then :
8068 if test $ac_cv_func_connect = no; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8070 $as_echo_n "checking for connect in -lsocket... " >&6; }
8071 if ${ac_cv_lib_socket_connect+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 ac_check_lib_save_LIBS=$LIBS
8075 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8079 /* Override any GCC internal prototype to avoid an error.
8080 Use char because int might match the return type of a GCC
8081 builtin and then its argument prototype would still apply. */
8082 #ifdef __cplusplus
8083 extern "C"
8084 #endif
8085 char connect ();
8087 main ()
8089 return connect ();
8091 return 0;
8093 _ACEOF
8094 if ac_fn_c_try_link "$LINENO"; then :
8095 ac_cv_lib_socket_connect=yes
8096 else
8097 ac_cv_lib_socket_connect=no
8099 rm -f core conftest.err conftest.$ac_objext \
8100 conftest$ac_exeext conftest.$ac_ext
8101 LIBS=$ac_check_lib_save_LIBS
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8104 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8105 if test "x$ac_cv_lib_socket_connect" = xyes; then :
8106 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8111 # Guillermo Gomez says -lposix is necessary on A/UX.
8112 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
8113 if test "x$ac_cv_func_remove" = xyes; then :
8117 if test $ac_cv_func_remove = no; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8119 $as_echo_n "checking for remove in -lposix... " >&6; }
8120 if ${ac_cv_lib_posix_remove+:} false; then :
8121 $as_echo_n "(cached) " >&6
8122 else
8123 ac_check_lib_save_LIBS=$LIBS
8124 LIBS="-lposix $LIBS"
8125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8126 /* end confdefs.h. */
8128 /* Override any GCC internal prototype to avoid an error.
8129 Use char because int might match the return type of a GCC
8130 builtin and then its argument prototype would still apply. */
8131 #ifdef __cplusplus
8132 extern "C"
8133 #endif
8134 char remove ();
8136 main ()
8138 return remove ();
8140 return 0;
8142 _ACEOF
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 ac_cv_lib_posix_remove=yes
8145 else
8146 ac_cv_lib_posix_remove=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8153 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8154 if test "x$ac_cv_lib_posix_remove" = xyes; then :
8155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8160 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8161 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8162 if test "x$ac_cv_func_shmat" = xyes; then :
8166 if test $ac_cv_func_shmat = no; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8168 $as_echo_n "checking for shmat in -lipc... " >&6; }
8169 if ${ac_cv_lib_ipc_shmat+:} false; then :
8170 $as_echo_n "(cached) " >&6
8171 else
8172 ac_check_lib_save_LIBS=$LIBS
8173 LIBS="-lipc $LIBS"
8174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8177 /* Override any GCC internal prototype to avoid an error.
8178 Use char because int might match the return type of a GCC
8179 builtin and then its argument prototype would still apply. */
8180 #ifdef __cplusplus
8181 extern "C"
8182 #endif
8183 char shmat ();
8185 main ()
8187 return shmat ();
8189 return 0;
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 ac_cv_lib_ipc_shmat=yes
8194 else
8195 ac_cv_lib_ipc_shmat=no
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 LIBS=$ac_check_lib_save_LIBS
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8202 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8203 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8210 # Check for libraries that X11R6 Xt/Xaw programs need.
8211 ac_save_LDFLAGS=$LDFLAGS
8212 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8214 # check for ICE first), but we must link in the order -lSM -lICE or
8215 # we get undefined symbols. So assume we have SM if we have ICE.
8216 # These have to be linked with before -lX11, unlike the other
8217 # libraries we check for below, so use a different variable.
8218 # John Interrante, Karl Berry
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8220 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8221 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8222 $as_echo_n "(cached) " >&6
8223 else
8224 ac_check_lib_save_LIBS=$LIBS
8225 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8229 /* Override any GCC internal prototype to avoid an error.
8230 Use char because int might match the return type of a GCC
8231 builtin and then its argument prototype would still apply. */
8232 #ifdef __cplusplus
8233 extern "C"
8234 #endif
8235 char IceConnectionNumber ();
8237 main ()
8239 return IceConnectionNumber ();
8241 return 0;
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 ac_cv_lib_ICE_IceConnectionNumber=yes
8246 else
8247 ac_cv_lib_ICE_IceConnectionNumber=no
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 LIBS=$ac_check_lib_save_LIBS
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8254 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8255 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8259 LDFLAGS=$ac_save_LDFLAGS
8264 if test "$have_x" = "yes"
8265 then
8266 XLIB="-lX11"
8267 ac_save_CPPFLAGS="$CPPFLAGS"
8268 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8271 $as_echo_n "checking for -lX11... " >&6; }
8272 if ${ac_cv_lib_soname_X11+:} false; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 ac_check_soname_save_LIBS=$LIBS
8276 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8280 /* Override any GCC internal prototype to avoid an error.
8281 Use char because int might match the return type of a GCC
8282 builtin and then its argument prototype would still apply. */
8283 #ifdef __cplusplus
8284 extern "C"
8285 #endif
8286 char XCreateWindow ();
8288 main ()
8290 return XCreateWindow ();
8292 return 0;
8294 _ACEOF
8295 if ac_fn_c_try_link "$LINENO"; then :
8296 case "$LIBEXT" in
8297 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8298 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'` ;;
8299 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8300 if test "x$ac_cv_lib_soname_X11" = x; then :
8301 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8302 fi ;;
8303 esac
8305 rm -f core conftest.err conftest.$ac_objext \
8306 conftest$ac_exeext conftest.$ac_ext
8307 LIBS=$ac_check_soname_save_LIBS
8309 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8311 $as_echo "not found" >&6; }
8313 else
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8315 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8317 cat >>confdefs.h <<_ACEOF
8318 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8319 _ACEOF
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8324 $as_echo_n "checking for -lXext... " >&6; }
8325 if ${ac_cv_lib_soname_Xext+:} false; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 ac_check_soname_save_LIBS=$LIBS
8329 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8333 /* Override any GCC internal prototype to avoid an error.
8334 Use char because int might match the return type of a GCC
8335 builtin and then its argument prototype would still apply. */
8336 #ifdef __cplusplus
8337 extern "C"
8338 #endif
8339 char XextCreateExtension ();
8341 main ()
8343 return XextCreateExtension ();
8345 return 0;
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 case "$LIBEXT" in
8350 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8351 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'` ;;
8352 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8353 if test "x$ac_cv_lib_soname_Xext" = x; then :
8354 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8355 fi ;;
8356 esac
8358 rm -f core conftest.err conftest.$ac_objext \
8359 conftest$ac_exeext conftest.$ac_ext
8360 LIBS=$ac_check_soname_save_LIBS
8362 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8364 $as_echo "not found" >&6; }
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8368 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8370 cat >>confdefs.h <<_ACEOF
8371 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8372 _ACEOF
8374 XLIB="-lXext $XLIB"
8377 for ac_header in X11/Xlib.h \
8378 X11/XKBlib.h \
8379 X11/Xutil.h \
8380 X11/Xcursor/Xcursor.h \
8381 X11/extensions/shape.h \
8382 X11/extensions/XInput.h \
8383 X11/extensions/XInput2.h \
8384 X11/extensions/XShm.h \
8385 X11/extensions/Xcomposite.h \
8386 X11/extensions/Xinerama.h \
8387 X11/extensions/Xrandr.h \
8388 X11/extensions/Xrender.h \
8389 X11/extensions/xf86vmode.h \
8390 X11/extensions/xf86vmproto.h
8391 do :
8392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8393 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8394 # include <X11/Xlib.h>
8395 #endif
8396 #ifdef HAVE_X11_XUTIL_H
8397 # include <X11/Xutil.h>
8398 #endif
8400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8401 cat >>confdefs.h <<_ACEOF
8402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8403 _ACEOF
8407 done
8410 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8411 then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8413 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8414 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 ac_check_lib_save_LIBS=$LIBS
8418 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8422 /* Override any GCC internal prototype to avoid an error.
8423 Use char because int might match the return type of a GCC
8424 builtin and then its argument prototype would still apply. */
8425 #ifdef __cplusplus
8426 extern "C"
8427 #endif
8428 char XkbQueryExtension ();
8430 main ()
8432 return XkbQueryExtension ();
8434 return 0;
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438 ac_cv_lib_X11_XkbQueryExtension=yes
8439 else
8440 ac_cv_lib_X11_XkbQueryExtension=no
8442 rm -f core conftest.err conftest.$ac_objext \
8443 conftest$ac_exeext conftest.$ac_ext
8444 LIBS=$ac_check_lib_save_LIBS
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8447 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8448 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8450 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8456 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8457 then
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8459 $as_echo_n "checking for -lXcursor... " >&6; }
8460 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 ac_check_soname_save_LIBS=$LIBS
8464 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8468 /* Override any GCC internal prototype to avoid an error.
8469 Use char because int might match the return type of a GCC
8470 builtin and then its argument prototype would still apply. */
8471 #ifdef __cplusplus
8472 extern "C"
8473 #endif
8474 char XcursorImageLoadCursor ();
8476 main ()
8478 return XcursorImageLoadCursor ();
8480 return 0;
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 case "$LIBEXT" in
8485 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8486 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'` ;;
8487 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8488 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8489 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8490 fi ;;
8491 esac
8493 rm -f core conftest.err conftest.$ac_objext \
8494 conftest$ac_exeext conftest.$ac_ext
8495 LIBS=$ac_check_soname_save_LIBS
8497 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8499 $as_echo "not found" >&6; }
8501 else
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8503 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8505 cat >>confdefs.h <<_ACEOF
8506 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8507 _ACEOF
8512 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8513 case "x$with_xcursor" in
8514 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8515 xno) ;;
8516 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8517 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8518 esac
8521 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8522 then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8524 $as_echo_n "checking for -lXi... " >&6; }
8525 if ${ac_cv_lib_soname_Xi+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_check_soname_save_LIBS=$LIBS
8529 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8533 /* Override any GCC internal prototype to avoid an error.
8534 Use char because int might match the return type of a GCC
8535 builtin and then its argument prototype would still apply. */
8536 #ifdef __cplusplus
8537 extern "C"
8538 #endif
8539 char XOpenDevice ();
8541 main ()
8543 return XOpenDevice ();
8545 return 0;
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 case "$LIBEXT" in
8550 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8551 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'` ;;
8552 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8553 if test "x$ac_cv_lib_soname_Xi" = x; then :
8554 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8555 fi ;;
8556 esac
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 LIBS=$ac_check_soname_save_LIBS
8562 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8564 $as_echo "not found" >&6; }
8566 else
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8568 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8570 cat >>confdefs.h <<_ACEOF
8571 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8572 _ACEOF
8577 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8578 case "x$with_xinput" in
8579 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8580 xno) ;;
8581 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8582 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8583 esac
8586 if test "x$ac_cv_lib_soname_Xi" != x
8587 then
8588 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8589 case "x$with_xinput2" in
8590 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8591 xno) ;;
8592 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8593 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8594 esac
8598 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8599 then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8601 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8602 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8603 $as_echo_n "(cached) " >&6
8604 else
8605 ac_check_lib_save_LIBS=$LIBS
8606 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8608 /* end confdefs.h. */
8610 /* Override any GCC internal prototype to avoid an error.
8611 Use char because int might match the return type of a GCC
8612 builtin and then its argument prototype would still apply. */
8613 #ifdef __cplusplus
8614 extern "C"
8615 #endif
8616 char XShmQueryExtension ();
8618 main ()
8620 return XShmQueryExtension ();
8622 return 0;
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 ac_cv_lib_Xext_XShmQueryExtension=yes
8627 else
8628 ac_cv_lib_Xext_XShmQueryExtension=no
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 LIBS=$ac_check_lib_save_LIBS
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8635 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8636 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8638 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8643 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8644 case "x$with_xshm" in
8645 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8646 xno) ;;
8647 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8648 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8649 esac
8652 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8653 then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8655 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8656 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8657 $as_echo_n "(cached) " >&6
8658 else
8659 ac_check_lib_save_LIBS=$LIBS
8660 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8664 /* Override any GCC internal prototype to avoid an error.
8665 Use char because int might match the return type of a GCC
8666 builtin and then its argument prototype would still apply. */
8667 #ifdef __cplusplus
8668 extern "C"
8669 #endif
8670 char XShapeQueryExtension ();
8672 main ()
8674 return XShapeQueryExtension ();
8676 return 0;
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_lib_Xext_XShapeQueryExtension=yes
8681 else
8682 ac_cv_lib_Xext_XShapeQueryExtension=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 LIBS=$ac_check_lib_save_LIBS
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8689 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8690 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8692 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8697 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8698 case "x$with_xshape" in
8699 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8700 xno) ;;
8701 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8702 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8703 esac
8706 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8707 then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8709 $as_echo_n "checking for -lXxf86vm... " >&6; }
8710 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8711 $as_echo_n "(cached) " >&6
8712 else
8713 ac_check_soname_save_LIBS=$LIBS
8714 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8716 /* end confdefs.h. */
8718 /* Override any GCC internal prototype to avoid an error.
8719 Use char because int might match the return type of a GCC
8720 builtin and then its argument prototype would still apply. */
8721 #ifdef __cplusplus
8722 extern "C"
8723 #endif
8724 char XF86VidModeQueryExtension ();
8726 main ()
8728 return XF86VidModeQueryExtension ();
8730 return 0;
8732 _ACEOF
8733 if ac_fn_c_try_link "$LINENO"; then :
8734 case "$LIBEXT" in
8735 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8736 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'` ;;
8737 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8738 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8739 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8740 fi ;;
8741 esac
8743 rm -f core conftest.err conftest.$ac_objext \
8744 conftest$ac_exeext conftest.$ac_ext
8745 LIBS=$ac_check_soname_save_LIBS
8747 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8749 $as_echo "not found" >&6; }
8751 else
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8753 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8755 cat >>confdefs.h <<_ACEOF
8756 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8757 _ACEOF
8762 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8763 case "x$with_xxf86vm" in
8764 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8765 xno) ;;
8766 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8767 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8768 esac
8771 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"
8772 then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8774 $as_echo_n "checking for -lXrender... " >&6; }
8775 if ${ac_cv_lib_soname_Xrender+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_check_soname_save_LIBS=$LIBS
8779 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8783 /* Override any GCC internal prototype to avoid an error.
8784 Use char because int might match the return type of a GCC
8785 builtin and then its argument prototype would still apply. */
8786 #ifdef __cplusplus
8787 extern "C"
8788 #endif
8789 char XRenderQueryExtension ();
8791 main ()
8793 return XRenderQueryExtension ();
8795 return 0;
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 case "$LIBEXT" in
8800 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8801 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'` ;;
8802 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8803 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8804 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8805 fi ;;
8806 esac
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 LIBS=$ac_check_soname_save_LIBS
8812 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8814 $as_echo "not found" >&6; }
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8818 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8820 cat >>confdefs.h <<_ACEOF
8821 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8822 _ACEOF
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8825 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8826 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8827 $as_echo_n "(cached) " >&6
8828 else
8829 ac_check_lib_save_LIBS=$LIBS
8830 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8834 /* Override any GCC internal prototype to avoid an error.
8835 Use char because int might match the return type of a GCC
8836 builtin and then its argument prototype would still apply. */
8837 #ifdef __cplusplus
8838 extern "C"
8839 #endif
8840 char XRenderSetPictureTransform ();
8842 main ()
8844 return XRenderSetPictureTransform ();
8846 return 0;
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8851 else
8852 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 LIBS=$ac_check_lib_save_LIBS
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8859 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8860 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8862 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8867 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8868 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_check_lib_save_LIBS=$LIBS
8872 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8876 /* Override any GCC internal prototype to avoid an error.
8877 Use char because int might match the return type of a GCC
8878 builtin and then its argument prototype would still apply. */
8879 #ifdef __cplusplus
8880 extern "C"
8881 #endif
8882 char XRenderCreateLinearGradient ();
8884 main ()
8886 return XRenderCreateLinearGradient ();
8888 return 0;
8890 _ACEOF
8891 if ac_fn_c_try_link "$LINENO"; then :
8892 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8893 else
8894 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8896 rm -f core conftest.err conftest.$ac_objext \
8897 conftest$ac_exeext conftest.$ac_ext
8898 LIBS=$ac_check_lib_save_LIBS
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8901 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8902 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8904 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8911 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8912 case "x$with_xrender" in
8913 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8914 xno) ;;
8915 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8916 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8917 esac
8920 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8921 then
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8924 #include <X11/Xlib.h>
8925 #include <X11/extensions/Xrandr.h>
8927 main ()
8929 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8931 return 0;
8933 _ACEOF
8934 if ac_fn_c_try_compile "$LINENO"; then :
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8936 $as_echo_n "checking for -lXrandr... " >&6; }
8937 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8938 $as_echo_n "(cached) " >&6
8939 else
8940 ac_check_soname_save_LIBS=$LIBS
8941 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8948 #ifdef __cplusplus
8949 extern "C"
8950 #endif
8951 char XRRQueryExtension ();
8953 main ()
8955 return XRRQueryExtension ();
8957 return 0;
8959 _ACEOF
8960 if ac_fn_c_try_link "$LINENO"; then :
8961 case "$LIBEXT" in
8962 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8963 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'` ;;
8964 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8965 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8966 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8967 fi ;;
8968 esac
8970 rm -f core conftest.err conftest.$ac_objext \
8971 conftest$ac_exeext conftest.$ac_ext
8972 LIBS=$ac_check_soname_save_LIBS
8974 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8976 $as_echo "not found" >&6; }
8978 else
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8980 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8982 cat >>confdefs.h <<_ACEOF
8983 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8984 _ACEOF
8986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 /* end confdefs.h. */
8988 #include <X11/Xlib.h>
8989 #include <X11/extensions/Xrandr.h>
8991 main ()
8993 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8995 return 0;
8997 _ACEOF
8998 if ac_fn_c_try_compile "$LINENO"; then :
9000 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9008 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9009 case "x$with_xrandr" in
9010 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9011 xno) ;;
9012 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9013 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9014 esac
9017 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9018 then
9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 #include <X11/Xlib.h>
9022 #include <X11/extensions/Xinerama.h>
9024 main ()
9026 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9028 return 0;
9030 _ACEOF
9031 if ac_fn_c_try_compile "$LINENO"; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9033 $as_echo_n "checking for -lXinerama... " >&6; }
9034 if ${ac_cv_lib_soname_Xinerama+:} false; then :
9035 $as_echo_n "(cached) " >&6
9036 else
9037 ac_check_soname_save_LIBS=$LIBS
9038 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9040 /* end confdefs.h. */
9042 /* Override any GCC internal prototype to avoid an error.
9043 Use char because int might match the return type of a GCC
9044 builtin and then its argument prototype would still apply. */
9045 #ifdef __cplusplus
9046 extern "C"
9047 #endif
9048 char XineramaQueryScreens ();
9050 main ()
9052 return XineramaQueryScreens ();
9054 return 0;
9056 _ACEOF
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 case "$LIBEXT" in
9059 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9060 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'` ;;
9061 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9062 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
9063 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9064 fi ;;
9065 esac
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 LIBS=$ac_check_soname_save_LIBS
9071 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9073 $as_echo "not found" >&6; }
9075 else
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9077 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9079 cat >>confdefs.h <<_ACEOF
9080 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9081 _ACEOF
9086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9088 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9089 case "x$with_xinerama" in
9090 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9091 xno) ;;
9092 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9093 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9094 esac
9097 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9098 then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9100 $as_echo_n "checking for -lXcomposite... " >&6; }
9101 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
9102 $as_echo_n "(cached) " >&6
9103 else
9104 ac_check_soname_save_LIBS=$LIBS
9105 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9112 #ifdef __cplusplus
9113 extern "C"
9114 #endif
9115 char XCompositeRedirectWindow ();
9117 main ()
9119 return XCompositeRedirectWindow ();
9121 return 0;
9123 _ACEOF
9124 if ac_fn_c_try_link "$LINENO"; then :
9125 case "$LIBEXT" in
9126 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9127 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'` ;;
9128 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9129 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
9130 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9131 fi ;;
9132 esac
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 LIBS=$ac_check_soname_save_LIBS
9138 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9140 $as_echo "not found" >&6; }
9142 else
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9144 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9146 cat >>confdefs.h <<_ACEOF
9147 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9148 _ACEOF
9153 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9154 case "x$with_xcomposite" in
9155 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9156 xno) ;;
9157 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9158 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9159 esac
9162 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9163 #include <X11/Xlib.h>
9164 #endif
9166 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9168 cat >>confdefs.h <<_ACEOF
9169 #define HAVE_XICCALLBACK_CALLBACK 1
9170 _ACEOF
9174 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9175 #include <X11/Xlib.h>
9176 #endif
9178 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9180 cat >>confdefs.h <<_ACEOF
9181 #define HAVE_XEVENT_XCOOKIE 1
9182 _ACEOF
9189 opengl_msg=""
9190 if test "x$with_opengl" != "xno"
9191 then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9193 $as_echo_n "checking for -lGL... " >&6; }
9194 if ${ac_cv_lib_soname_GL+:} false; then :
9195 $as_echo_n "(cached) " >&6
9196 else
9197 ac_check_soname_save_LIBS=$LIBS
9198 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9200 /* end confdefs.h. */
9202 /* Override any GCC internal prototype to avoid an error.
9203 Use char because int might match the return type of a GCC
9204 builtin and then its argument prototype would still apply. */
9205 #ifdef __cplusplus
9206 extern "C"
9207 #endif
9208 char glXCreateContext ();
9210 main ()
9212 return glXCreateContext ();
9214 return 0;
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9218 case "$LIBEXT" in
9219 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9220 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'` ;;
9221 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9222 if test "x$ac_cv_lib_soname_GL" = x; then :
9223 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9224 fi ;;
9225 esac
9227 rm -f core conftest.err conftest.$ac_objext \
9228 conftest$ac_exeext conftest.$ac_ext
9229 LIBS=$ac_check_soname_save_LIBS
9231 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9233 $as_echo "not found" >&6; }
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9235 $as_echo_n "checking for -lGL... " >&6; }
9236 if ${ac_cv_lib_soname_GL+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_soname_save_LIBS=$LIBS
9240 LIBS="-lGL $X_LIBS $XLIB -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"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char glXCreateContext ();
9252 main ()
9254 return glXCreateContext ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 case "$LIBEXT" in
9261 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9262 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'` ;;
9263 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9264 if test "x$ac_cv_lib_soname_GL" = x; then :
9265 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9266 fi ;;
9267 esac
9269 rm -f core conftest.err conftest.$ac_objext \
9270 conftest$ac_exeext conftest.$ac_ext
9271 LIBS=$ac_check_soname_save_LIBS
9273 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9275 $as_echo "not found" >&6; }
9276 if test -f /usr/X11R6/lib/libGL.a
9277 then
9278 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9279 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9280 else
9281 opengl_msg="No OpenGL library found on this system."
9283 else
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9285 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9287 cat >>confdefs.h <<_ACEOF
9288 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9289 _ACEOF
9291 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"
9293 else
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9295 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9297 cat >>confdefs.h <<_ACEOF
9298 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9299 _ACEOF
9301 OPENGL_LIBS="-lGL"
9303 if test "x$with_glu" != "xno"
9304 then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9306 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9307 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9308 $as_echo_n "(cached) " >&6
9309 else
9310 ac_check_lib_save_LIBS=$LIBS
9311 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318 #ifdef __cplusplus
9319 extern "C"
9320 #endif
9321 char gluLookAt ();
9323 main ()
9325 return gluLookAt ();
9327 return 0;
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_lib_GLU_gluLookAt=yes
9332 else
9333 ac_cv_lib_GLU_gluLookAt=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 LIBS=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9340 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9341 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9345 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9346 case "x$with_glu" in
9347 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9348 xno) ;;
9349 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9350 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9351 esac
9355 if test "x$with_osmesa" != "xno"
9356 then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9358 $as_echo_n "checking for -lOSMesa... " >&6; }
9359 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_soname_save_LIBS=$LIBS
9363 LIBS="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char glAccum ();
9375 main ()
9377 return glAccum ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 case "$LIBEXT" in
9384 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9385 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'` ;;
9386 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9387 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9388 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9389 fi ;;
9390 esac
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_soname_save_LIBS
9396 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9398 $as_echo "not found" >&6; }
9400 else
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9402 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9404 cat >>confdefs.h <<_ACEOF
9405 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9406 _ACEOF
9410 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9411 case "x$with_osmesa" in
9412 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9413 xno) ;;
9414 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9415 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9416 esac
9420 if test -n "$opengl_msg"; then :
9421 case "x$with_opengl" in
9422 x) as_fn_append wine_warnings "|$opengl_msg
9423 OpenGL and Direct3D won't be supported." ;;
9424 xno) ;;
9425 *) as_fn_error $? "$opengl_msg
9426 OpenGL and Direct3D won't be supported.
9427 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9428 esac
9431 CPPFLAGS="$ac_save_CPPFLAGS"
9432 else
9433 XLIB=""
9434 X_CFLAGS=""
9435 X_LIBS=""
9436 enable_winex11_drv=${enable_winex11_drv:-no}
9438 if test "x$XLIB" = "x"; then :
9439 case "x$with_x" in
9440 xno) ;;
9441 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9442 without X support, which probably isn't what you want. You will need
9443 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9444 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9445 esac
9448 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9450 if test "$ac_cv_header_CL_cl_h" = "yes"
9451 then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9453 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9454 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9455 $as_echo_n "(cached) " >&6
9456 else
9457 ac_check_lib_save_LIBS=$LIBS
9458 LIBS="-lOpenCL $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 clGetPlatformInfo ();
9470 main ()
9472 return clGetPlatformInfo ();
9474 return 0;
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"; then :
9478 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9479 else
9480 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 LIBS=$ac_check_lib_save_LIBS
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9487 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9488 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9489 LIBOPENCL="-lOpenCL"
9494 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9495 case "x$with_opencl" in
9496 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9497 xno) ;;
9498 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9499 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9500 esac
9502 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9505 if test "x$with_xml" != "xno"
9506 then
9507 if test -n "$XML2_CFLAGS"; then :
9509 elif test -n "$PKG_CONFIG"; then :
9510 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9512 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9513 if test -n "$XML2_LIBS"; then :
9515 elif test -n "$PKG_CONFIG"; then :
9516 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9518 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9519 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
9520 ac_save_CPPFLAGS=$CPPFLAGS
9521 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
9522 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9523 do :
9524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9525 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9526 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9527 cat >>confdefs.h <<_ACEOF
9528 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9529 _ACEOF
9533 done
9535 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"
9536 then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9538 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9539 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lxml2 $XML2_LIBS $LIBS"
9544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9547 /* Override any GCC internal prototype to avoid an error.
9548 Use char because int might match the return type of a GCC
9549 builtin and then its argument prototype would still apply. */
9550 #ifdef __cplusplus
9551 extern "C"
9552 #endif
9553 char xmlParseMemory ();
9555 main ()
9557 return xmlParseMemory ();
9559 return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563 ac_cv_lib_xml2_xmlParseMemory=yes
9564 else
9565 ac_cv_lib_xml2_xmlParseMemory=no
9567 rm -f core conftest.err conftest.$ac_objext \
9568 conftest$ac_exeext conftest.$ac_ext
9569 LIBS=$ac_check_lib_save_LIBS
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9572 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9573 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9575 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9577 else
9578 XML2_LIBS=""
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9582 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9583 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lxml2 $XML2_LIBS $LIBS"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9594 #ifdef __cplusplus
9595 extern "C"
9596 #endif
9597 char xmlReadMemory ();
9599 main ()
9601 return xmlReadMemory ();
9603 return 0;
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_lib_xml2_xmlReadMemory=yes
9608 else
9609 ac_cv_lib_xml2_xmlReadMemory=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9616 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9617 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9619 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9624 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9625 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_check_lib_save_LIBS=$LIBS
9629 LIBS="-lxml2 $XML2_LIBS $LIBS"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9636 #ifdef __cplusplus
9637 extern "C"
9638 #endif
9639 char xmlNewDocPI ();
9641 main ()
9643 return xmlNewDocPI ();
9645 return 0;
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 ac_cv_lib_xml2_xmlNewDocPI=yes
9650 else
9651 ac_cv_lib_xml2_xmlNewDocPI=no
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 LIBS=$ac_check_lib_save_LIBS
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9658 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9659 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9661 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9666 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9667 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lxml2 $XML2_LIBS $LIBS"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9675 /* Override any GCC internal prototype to avoid an error.
9676 Use char because int might match the return type of a GCC
9677 builtin and then its argument prototype would still apply. */
9678 #ifdef __cplusplus
9679 extern "C"
9680 #endif
9681 char xmlSchemaSetParserStructuredErrors ();
9683 main ()
9685 return xmlSchemaSetParserStructuredErrors ();
9687 return 0;
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9692 else
9693 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9700 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9701 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9703 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9708 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9709 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 ac_check_lib_save_LIBS=$LIBS
9713 LIBS="-lxml2 $XML2_LIBS $LIBS"
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9720 #ifdef __cplusplus
9721 extern "C"
9722 #endif
9723 char xmlSchemaSetValidStructuredErrors ();
9725 main ()
9727 return xmlSchemaSetValidStructuredErrors ();
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9734 else
9735 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_lib_save_LIBS
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9742 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9743 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9745 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9750 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9751 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9752 $as_echo_n "(cached) " >&6
9753 else
9754 ac_check_lib_save_LIBS=$LIBS
9755 LIBS="-lxml2 $XML2_LIBS $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9762 #ifdef __cplusplus
9763 extern "C"
9764 #endif
9765 char xmlFirstElementChild ();
9767 main ()
9769 return xmlFirstElementChild ();
9771 return 0;
9773 _ACEOF
9774 if ac_fn_c_try_link "$LINENO"; then :
9775 ac_cv_lib_xml2_xmlFirstElementChild=yes
9776 else
9777 ac_cv_lib_xml2_xmlFirstElementChild=no
9779 rm -f core conftest.err conftest.$ac_objext \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9784 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9785 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9787 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9791 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9793 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9795 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9799 else
9800 XML2_CFLAGS=""
9801 XML2_LIBS=""
9803 CPPFLAGS=$ac_save_CPPFLAGS
9804 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9805 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9808 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9809 case "x$with_xml" in
9810 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9811 xno) ;;
9812 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9813 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9814 esac
9817 if test "x$with_xslt" != "xno"
9818 then
9819 if test -n "$XSLT_CFLAGS"; then :
9821 elif test -n "$PKG_CONFIG"; then :
9822 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9824 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9825 if test -n "$XSLT_LIBS"; then :
9827 elif test -n "$PKG_CONFIG"; then :
9828 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
9830 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
9831 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
9832 ac_save_CPPFLAGS=$CPPFLAGS
9833 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
9834 for ac_header in libxslt/pattern.h libxslt/transform.h
9835 do :
9836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9838 # include <libxslt/pattern.h>
9839 #endif
9841 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9842 cat >>confdefs.h <<_ACEOF
9843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9844 _ACEOF
9848 done
9850 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9851 then
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9853 $as_echo_n "checking for -lxslt... " >&6; }
9854 if ${ac_cv_lib_soname_xslt+:} false; then :
9855 $as_echo_n "(cached) " >&6
9856 else
9857 ac_check_soname_save_LIBS=$LIBS
9858 LIBS="-lxslt $XSLT_LIBS $LIBS"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9865 #ifdef __cplusplus
9866 extern "C"
9867 #endif
9868 char xsltCompilePattern ();
9870 main ()
9872 return xsltCompilePattern ();
9874 return 0;
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 case "$LIBEXT" in
9879 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9880 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'` ;;
9881 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9882 if test "x$ac_cv_lib_soname_xslt" = x; then :
9883 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9884 fi ;;
9885 esac
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LIBS=$ac_check_soname_save_LIBS
9891 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9893 $as_echo "not found" >&6; }
9895 else
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9897 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9899 cat >>confdefs.h <<_ACEOF
9900 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9901 _ACEOF
9905 else
9906 XSLT_CFLAGS=""
9908 CPPFLAGS=$ac_save_CPPFLAGS
9909 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
9910 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
9913 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9914 case "x$with_xslt" in
9915 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9916 xno) ;;
9917 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9918 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9919 esac
9922 if test "x$with_dbus" != "xno"
9923 then
9924 if test -n "$DBUS_CFLAGS"; then :
9926 elif test -n "$PKG_CONFIG"; then :
9927 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
9930 if test -n "$DBUS_LIBS"; then :
9932 elif test -n "$PKG_CONFIG"; then :
9933 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
9937 ac_save_CPPFLAGS=$CPPFLAGS
9938 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
9939 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9940 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9942 $as_echo_n "checking for -ldbus-1... " >&6; }
9943 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_check_soname_save_LIBS=$LIBS
9947 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9954 #ifdef __cplusplus
9955 extern "C"
9956 #endif
9957 char dbus_connection_close ();
9959 main ()
9961 return dbus_connection_close ();
9963 return 0;
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 case "$LIBEXT" in
9968 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9969 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'` ;;
9970 *) 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'`
9971 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9972 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9973 fi ;;
9974 esac
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_soname_save_LIBS
9980 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9982 $as_echo "not found" >&6; }
9983 DBUS_CFLAGS=""
9984 else
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9986 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9988 cat >>confdefs.h <<_ACEOF
9989 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9990 _ACEOF
9994 else
9995 DBUS_CFLAGS=""
9999 CPPFLAGS=$ac_save_CPPFLAGS
10000 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10001 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10004 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10005 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10006 case "x$with_dbus" in
10007 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10008 xno) ;;
10009 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
10010 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10011 esac
10014 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10015 then
10016 if test -n "$HAL_CFLAGS"; then :
10018 elif test -n "$PKG_CONFIG"; then :
10019 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
10022 if test -n "$HAL_LIBS"; then :
10024 elif test -n "$PKG_CONFIG"; then :
10025 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
10028 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
10029 ac_save_CPPFLAGS=$CPPFLAGS
10030 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
10031 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10032 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10034 $as_echo_n "checking for -lhal... " >&6; }
10035 if ${ac_cv_lib_soname_hal+:} false; then :
10036 $as_echo_n "(cached) " >&6
10037 else
10038 ac_check_soname_save_LIBS=$LIBS
10039 LIBS="-lhal $HAL_LIBS $LIBS"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char libhal_ctx_new ();
10051 main ()
10053 return libhal_ctx_new ();
10055 return 0;
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 case "$LIBEXT" in
10060 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10061 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'` ;;
10062 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10063 if test "x$ac_cv_lib_soname_hal" = x; then :
10064 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10065 fi ;;
10066 esac
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_soname_save_LIBS
10072 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10074 $as_echo "not found" >&6; }
10075 HAL_CFLAGS=""
10076 else
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10078 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10080 cat >>confdefs.h <<_ACEOF
10081 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10082 _ACEOF
10086 else
10087 HAL_CFLAGS=""
10091 CPPFLAGS=$ac_save_CPPFLAGS
10092 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10093 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10095 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10096 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10097 case "x$with_hal" in
10098 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10099 xno) ;;
10100 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
10101 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10102 esac
10106 if test "x$with_gnutls" != "xno"
10107 then
10108 if test -n "$GNUTLS_CFLAGS"; then :
10110 elif test -n "$PKG_CONFIG"; then :
10111 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10114 if test -n "$GNUTLS_LIBS"; then :
10116 elif test -n "$PKG_CONFIG"; then :
10117 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10121 ac_save_CPPFLAGS=$CPPFLAGS
10122 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
10123 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10124 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 #include <gnutls/gnutls.h>
10128 #include <gnutls/crypto.h>
10130 main ()
10132 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10134 return 0;
10136 _ACEOF
10137 if ac_fn_c_try_compile "$LINENO"; then :
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10139 $as_echo_n "checking for -lgnutls... " >&6; }
10140 if ${ac_cv_lib_soname_gnutls+:} false; then :
10141 $as_echo_n "(cached) " >&6
10142 else
10143 ac_check_soname_save_LIBS=$LIBS
10144 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char gnutls_global_init ();
10156 main ()
10158 return gnutls_global_init ();
10160 return 0;
10162 _ACEOF
10163 if ac_fn_c_try_link "$LINENO"; then :
10164 case "$LIBEXT" in
10165 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10166 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'` ;;
10167 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10168 if test "x$ac_cv_lib_soname_gnutls" = x; then :
10169 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 fi ;;
10171 esac
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 LIBS=$ac_check_soname_save_LIBS
10177 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10179 $as_echo "not found" >&6; }
10180 GNUTLS_CFLAGS=""
10181 else
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10183 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10185 cat >>confdefs.h <<_ACEOF
10186 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10187 _ACEOF
10192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10193 else
10194 GNUTLS_CFLAGS=""
10198 CPPFLAGS=$ac_save_CPPFLAGS
10199 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10200 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10203 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10204 case "x$with_gnutls" in
10205 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10206 xno) ;;
10207 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
10208 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10209 esac
10212 CURSESLIBS=""
10213 if test "$ac_cv_header_ncurses_h" = "yes"
10214 then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10216 $as_echo_n "checking for -lncurses... " >&6; }
10217 if ${ac_cv_lib_soname_ncurses+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_check_soname_save_LIBS=$LIBS
10221 LIBS="-lncurses $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char waddch ();
10233 main ()
10235 return waddch ();
10237 return 0;
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10241 case "$LIBEXT" in
10242 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10245 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10246 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10247 fi ;;
10248 esac
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_soname_save_LIBS
10254 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10256 $as_echo "not found" >&6; }
10258 else
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10260 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10262 cat >>confdefs.h <<_ACEOF
10263 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10264 _ACEOF
10266 CURSESLIBS="-lncurses"
10268 elif test "$ac_cv_header_curses_h" = "yes"
10269 then
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10271 $as_echo_n "checking for -lcurses... " >&6; }
10272 if ${ac_cv_lib_soname_curses+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_check_soname_save_LIBS=$LIBS
10276 LIBS="-lcurses $LIBS"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10280 /* Override any GCC internal prototype to avoid an error.
10281 Use char because int might match the return type of a GCC
10282 builtin and then its argument prototype would still apply. */
10283 #ifdef __cplusplus
10284 extern "C"
10285 #endif
10286 char waddch ();
10288 main ()
10290 return waddch ();
10292 return 0;
10294 _ACEOF
10295 if ac_fn_c_try_link "$LINENO"; then :
10296 case "$LIBEXT" in
10297 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10298 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'` ;;
10299 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10300 if test "x$ac_cv_lib_soname_curses" = x; then :
10301 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10302 fi ;;
10303 esac
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_soname_save_LIBS
10309 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10313 else
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10315 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10317 cat >>confdefs.h <<_ACEOF
10318 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10319 _ACEOF
10321 CURSESLIBS="-lcurses"
10324 ac_save_LIBS="$LIBS"
10325 LIBS="$LIBS $CURSESLIBS"
10326 for ac_func in mousemask
10327 do :
10328 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10329 if test "x$ac_cv_func_mousemask" = xyes; then :
10330 cat >>confdefs.h <<_ACEOF
10331 #define HAVE_MOUSEMASK 1
10332 _ACEOF
10335 done
10337 LIBS="$ac_save_LIBS"
10338 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10339 case "x$with_curses" in
10340 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10341 xno) ;;
10342 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10343 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10344 esac
10347 if test "x$with_sane" != "xno"
10348 then
10349 if test -n "$SANE_CFLAGS"; then :
10351 elif test -n "$PKG_CONFIG"; then :
10352 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10354 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10355 if test -n "$SANE_LIBS"; then :
10357 elif test -n "$PKG_CONFIG"; then :
10358 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
10360 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10362 ac_save_CPPFLAGS=$CPPFLAGS
10363 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
10364 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10365 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10367 $as_echo_n "checking for -lsane... " >&6; }
10368 if ${ac_cv_lib_soname_sane+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_check_soname_save_LIBS=$LIBS
10372 LIBS="-lsane $SANE_LIBS $LIBS"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10376 /* Override any GCC internal prototype to avoid an error.
10377 Use char because int might match the return type of a GCC
10378 builtin and then its argument prototype would still apply. */
10379 #ifdef __cplusplus
10380 extern "C"
10381 #endif
10382 char sane_init ();
10384 main ()
10386 return sane_init ();
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 case "$LIBEXT" in
10393 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10394 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'` ;;
10395 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10396 if test "x$ac_cv_lib_soname_sane" = x; then :
10397 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10398 fi ;;
10399 esac
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_soname_save_LIBS
10405 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10407 $as_echo "not found" >&6; }
10408 SANE_CFLAGS=""
10409 else
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10411 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10413 cat >>confdefs.h <<_ACEOF
10414 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10415 _ACEOF
10419 else
10420 SANE_CFLAGS=""
10424 CPPFLAGS=$ac_save_CPPFLAGS
10425 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10426 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10429 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10430 case "x$with_sane" in
10431 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10432 xno) ;;
10433 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10434 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10435 esac
10438 if test "x$with_v4l" != "xno"
10439 then
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10441 $as_echo_n "checking for -lv4l1... " >&6; }
10442 if ${ac_cv_lib_soname_v4l1+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_check_soname_save_LIBS=$LIBS
10446 LIBS="-lv4l1 $LIBS"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 char v4l1_open ();
10458 main ()
10460 return v4l1_open ();
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_link "$LINENO"; then :
10466 case "$LIBEXT" in
10467 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10468 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'` ;;
10469 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10470 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10471 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10472 fi ;;
10473 esac
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_soname_save_LIBS
10479 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10481 $as_echo "not found" >&6; }
10483 else
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10485 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10487 cat >>confdefs.h <<_ACEOF
10488 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10489 _ACEOF
10494 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10495 case "x$with_v4l" in
10496 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10497 xno) ;;
10498 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10499 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10500 esac
10503 if test "x$with_gphoto" != "xno"
10504 then
10505 if test -n "$GPHOTO2_CFLAGS"; then :
10507 elif test -n "$PKG_CONFIG"; then :
10508 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10510 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10511 if test -n "$GPHOTO2_LIBS"; then :
10513 elif test -n "$PKG_CONFIG"; then :
10514 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10516 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10517 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
10518 ac_save_CPPFLAGS=$CPPFLAGS
10519 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
10520 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10521 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10523 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10524 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_check_lib_save_LIBS=$LIBS
10528 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char gp_camera_new ();
10540 main ()
10542 return gp_camera_new ();
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 ac_cv_lib_gphoto2_gp_camera_new=yes
10549 else
10550 ac_cv_lib_gphoto2_gp_camera_new=no
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10557 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10558 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10560 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10562 else
10563 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10566 else
10567 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
10571 CPPFLAGS=$ac_save_CPPFLAGS
10572 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10573 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10575 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10577 elif test -n "$PKG_CONFIG"; then :
10578 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10580 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10581 if test -n "$GPHOTO2_PORT_LIBS"; then :
10583 elif test -n "$PKG_CONFIG"; then :
10584 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10586 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10587 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10588 ac_save_CPPFLAGS=$CPPFLAGS
10589 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10590 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10591 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10593 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10594 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
10595 $as_echo_n "(cached) " >&6
10596 else
10597 ac_check_lib_save_LIBS=$LIBS
10598 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10605 #ifdef __cplusplus
10606 extern "C"
10607 #endif
10608 char gp_port_info_list_new ();
10610 main ()
10612 return gp_port_info_list_new ();
10614 return 0;
10616 _ACEOF
10617 if ac_fn_c_try_link "$LINENO"; then :
10618 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
10619 else
10620 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
10622 rm -f core conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_lib_save_LIBS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10627 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10628 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
10630 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10632 else
10633 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10636 else
10637 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
10641 CPPFLAGS=$ac_save_CPPFLAGS
10642 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10643 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10646 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10647 case "x$with_gphoto" in
10648 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10649 xno) ;;
10650 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10651 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10652 esac
10654 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10655 case "x$with_gphoto" in
10656 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10657 xno) ;;
10658 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10659 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10660 esac
10664 if test "$ac_cv_header_resolv_h" = "yes"
10665 then
10666 ac_save_LIBS="$LIBS"
10667 for lib in '' -lresolv
10669 LIBS="$lib $ac_save_LIBS"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10672 #ifdef HAVE_NETINET_IN_H
10673 #include <netinet/in.h>
10674 #endif
10675 #include <resolv.h>
10677 main ()
10679 res_query("foo",ns_c_in,0,0,0);
10681 return 0;
10683 _ACEOF
10684 if ac_fn_c_try_link "$LINENO"; then :
10686 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10688 RESOLVLIBS="$lib"
10691 rm -f core conftest.err conftest.$ac_objext \
10692 conftest$ac_exeext conftest.$ac_ext
10693 if test "${RESOLVLIBS+set}" = set; then
10694 break
10696 done
10697 LIBS="$ac_save_LIBS"
10700 if test "x$with_lcms2" != "xno"
10701 then
10702 if test -n "$LCMS2_CFLAGS"; then :
10704 elif test -n "$PKG_CONFIG"; then :
10705 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
10708 if test -n "$LCMS2_LIBS"; then :
10710 elif test -n "$PKG_CONFIG"; then :
10711 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
10714 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
10715 ac_save_CPPFLAGS=$CPPFLAGS
10716 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
10717 for ac_header in lcms2.h
10718 do :
10719 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
10720 if test "x$ac_cv_header_lcms2_h" = xyes; then :
10721 cat >>confdefs.h <<_ACEOF
10722 #define HAVE_LCMS2_H 1
10723 _ACEOF
10727 done
10729 if test "$ac_cv_header_lcms2_h" = "yes"
10730 then
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
10732 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
10733 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 ac_check_lib_save_LIBS=$LIBS
10737 LIBS="-llcms2 $LIBS"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10744 #ifdef __cplusplus
10745 extern "C"
10746 #endif
10747 char cmsOpenProfileFromFile ();
10749 main ()
10751 return cmsOpenProfileFromFile ();
10753 return 0;
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"; then :
10757 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
10758 else
10759 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
10761 rm -f core conftest.err conftest.$ac_objext \
10762 conftest$ac_exeext conftest.$ac_ext
10763 LIBS=$ac_check_lib_save_LIBS
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
10766 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
10767 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
10769 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10771 else
10772 LCMS2_LIBS=""
10775 else
10776 LCMS2_CFLAGS=""
10777 LCMS2_LIBS=""
10779 CPPFLAGS=$ac_save_CPPFLAGS
10780 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10781 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10784 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
10785 case "x$with_cms" in
10786 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
10789 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10790 esac
10793 if test "x$with_freetype" != "xno"
10794 then
10795 if test -n "$FREETYPE_CFLAGS"; then :
10797 elif test -n "$PKG_CONFIG"; then :
10798 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10800 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10801 if test -n "$FREETYPE_LIBS"; then :
10803 elif test -n "$PKG_CONFIG"; then :
10804 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10806 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10807 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
10808 ac_save_CPPFLAGS=$CPPFLAGS
10809 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10811 $as_echo_n "checking for -lfreetype... " >&6; }
10812 if ${ac_cv_lib_soname_freetype+:} false; then :
10813 $as_echo_n "(cached) " >&6
10814 else
10815 ac_check_soname_save_LIBS=$LIBS
10816 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10823 #ifdef __cplusplus
10824 extern "C"
10825 #endif
10826 char FT_Init_FreeType ();
10828 main ()
10830 return FT_Init_FreeType ();
10832 return 0;
10834 _ACEOF
10835 if ac_fn_c_try_link "$LINENO"; then :
10836 case "$LIBEXT" in
10837 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10838 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'` ;;
10839 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10840 if test "x$ac_cv_lib_soname_freetype" = x; then :
10841 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10842 fi ;;
10843 esac
10845 rm -f core conftest.err conftest.$ac_objext \
10846 conftest$ac_exeext conftest.$ac_ext
10847 LIBS=$ac_check_soname_save_LIBS
10849 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10851 $as_echo "not found" >&6; }
10852 ft_lib=no
10853 else
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10855 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10857 cat >>confdefs.h <<_ACEOF
10858 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10859 _ACEOF
10861 ft_lib=yes
10863 if test "$ft_lib" = "yes"
10864 then
10865 for ac_header in ft2build.h \
10866 freetype/freetype.h \
10867 freetype/ftglyph.h \
10868 freetype/fttypes.h \
10869 freetype/tttables.h \
10870 freetype/ftsnames.h \
10871 freetype/ttnameid.h \
10872 freetype/ftoutln.h \
10873 freetype/ftwinfnt.h \
10874 freetype/ftmodapi.h \
10875 freetype/ftlcdfil.h
10876 do :
10877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10878 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10879 # include <ft2build.h>
10880 #endif
10882 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10883 cat >>confdefs.h <<_ACEOF
10884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10885 _ACEOF
10889 done
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 #include <ft2build.h>
10894 #include <freetype/fttrigon.h>
10895 _ACEOF
10896 if ac_fn_c_try_cpp "$LINENO"; then :
10898 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10900 wine_cv_fttrigon=yes
10901 else
10902 wine_cv_fttrigon=no
10904 rm -f conftest.err conftest.i conftest.$ac_ext
10905 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10907 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10909 cat >>confdefs.h <<_ACEOF
10910 #define HAVE_FT_TRUETYPEENGINETYPE 1
10911 _ACEOF
10916 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10917 then
10919 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10921 else
10922 FREETYPE_LIBS=""
10924 else
10925 FREETYPE_LIBS=""
10927 CPPFLAGS=$ac_save_CPPFLAGS
10928 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10929 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10932 if test "x$ac_cv_header_freetype_freetype_h" != xyes -o "x$wine_cv_fttrigon" != xyes; then :
10933 case "x$with_freetype" in
10934 xno) ;;
10935 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10936 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10937 esac
10939 test "x$ac_cv_header_freetype_freetype_h" = xyes -a "x$wine_cv_fttrigon" = xyes || enable_fonts=${enable_fonts:-no}
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10942 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10943 if ${ac_cv_c_ppdev+:} false; then :
10944 $as_echo_n "(cached) " >&6
10945 else
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10948 #ifdef HAVE_SYS_IOCTL_H
10949 # include <sys/ioctl.h>
10950 #endif
10951 #include <linux/ppdev.h>
10953 main ()
10955 ioctl (1,PPCLAIM,0)
10957 return 0;
10959 _ACEOF
10960 if ac_fn_c_try_compile "$LINENO"; then :
10961 ac_cv_c_ppdev="yes"
10962 else
10963 ac_cv_c_ppdev="no"
10965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10968 $as_echo "$ac_cv_c_ppdev" >&6; }
10969 if test "$ac_cv_c_ppdev" = "yes"
10970 then
10972 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10976 ac_wine_check_funcs_save_LIBS="$LIBS"
10977 LIBS="$LIBS $LIBPTHREAD"
10978 for ac_func in \
10979 pthread_attr_get_np \
10980 pthread_getattr_np \
10981 pthread_getthreadid_np \
10982 pthread_get_stackaddr_np \
10983 pthread_get_stacksize_np
10984 do :
10985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10988 cat >>confdefs.h <<_ACEOF
10989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10990 _ACEOF
10993 done
10995 LIBS="$ac_wine_check_funcs_save_LIBS"
10997 if test "$ac_cv_header_zlib_h" = "yes"
10998 then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11000 $as_echo_n "checking for inflate in -lz... " >&6; }
11001 if ${ac_cv_lib_z_inflate+:} false; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lz $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char inflate ();
11017 main ()
11019 return inflate ();
11021 return 0;
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_z_inflate=yes
11026 else
11027 ac_cv_lib_z_inflate=no
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11034 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11035 if test "x$ac_cv_lib_z_inflate" = xyes; then :
11037 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11039 ZLIB="-lz"
11044 if test "x$ZLIB" = "x"; then :
11045 case "x$with_zlib" in
11046 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11047 xno) ;;
11048 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
11049 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11050 esac
11053 if test "x$enable_tools" != xno
11054 then
11055 if test "$ac_cv_header_gettext_po_h" = "yes"
11056 then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11058 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11059 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-lgettextpo $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char po_message_msgctxt ();
11075 main ()
11077 return po_message_msgctxt ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_gettextpo_po_message_msgctxt=yes
11084 else
11085 ac_cv_lib_gettextpo_po_message_msgctxt=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11092 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11093 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
11095 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11097 LIBGETTEXTPO="-lgettextpo"
11102 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
11103 case "x$with_gettextpo" in
11104 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11105 xno) ;;
11106 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11107 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11108 esac
11112 if test "x$with_gstreamer" != "xno"
11113 then
11114 if test -n "$GSTREAMER_CFLAGS"; then :
11116 elif test -n "$PKG_CONFIG"; then :
11117 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11120 if test -n "$GSTREAMER_LIBS"; then :
11122 elif test -n "$PKG_CONFIG"; then :
11123 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11127 ac_save_CPPFLAGS=$CPPFLAGS
11128 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
11129 ac_gst_incl=""
11130 for i in $GSTREAMER_CFLAGS
11132 case "$i" in
11133 -I*) ac_gst_incl="$ac_gst_incl $i";;
11134 esac
11135 done
11136 GSTREAMER_CFLAGS=$ac_gst_incl
11137 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11138 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11139 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
11140 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11141 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11143 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11146 #include <gst/app/gstappsink.h>
11148 main ()
11150 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_compile "$LINENO"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11157 $as_echo "yes" >&6; }
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11159 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11160 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
11161 $as_echo_n "(cached) " >&6
11162 else
11163 ac_check_lib_save_LIBS=$LIBS
11164 LIBS="-lgstreamer-0.10 $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11171 #ifdef __cplusplus
11172 extern "C"
11173 #endif
11174 char gst_pad_get_caps_reffed ();
11176 main ()
11178 return gst_pad_get_caps_reffed ();
11180 return 0;
11182 _ACEOF
11183 if ac_fn_c_try_link "$LINENO"; then :
11184 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
11185 else
11186 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
11188 rm -f core conftest.err conftest.$ac_objext \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11193 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11194 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11196 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11197 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199 else
11200 ac_check_lib_save_LIBS=$LIBS
11201 LIBS="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11205 /* Override any GCC internal prototype to avoid an error.
11206 Use char because int might match the return type of a GCC
11207 builtin and then its argument prototype would still apply. */
11208 #ifdef __cplusplus
11209 extern "C"
11210 #endif
11211 char gst_app_buffer_new ();
11213 main ()
11215 return gst_app_buffer_new ();
11217 return 0;
11219 _ACEOF
11220 if ac_fn_c_try_link "$LINENO"; then :
11221 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11222 else
11223 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11225 rm -f core conftest.err conftest.$ac_objext \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11230 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11231 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11237 else
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11239 $as_echo "no" >&6; }
11241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11245 else
11246 GSTREAMER_CFLAGS=""
11250 CPPFLAGS=$ac_save_CPPFLAGS
11251 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11252 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11255 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11256 case "x$with_gstreamer" in
11257 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11258 xno) ;;
11259 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11260 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11261 esac
11263 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11265 ALSALIBS=""
11267 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11268 then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11270 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11271 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-lasound $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char snd_pcm_hw_params_get_access_mask ();
11287 main ()
11289 return snd_pcm_hw_params_get_access_mask ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11296 else
11297 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11304 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11305 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11308 #ifdef HAVE_ALSA_ASOUNDLIB_H
11309 #include <alsa/asoundlib.h>
11310 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11311 #include <sys/asoundlib.h>
11312 #endif
11314 main ()
11316 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11318 return 0;
11320 _ACEOF
11321 if ac_fn_c_try_compile "$LINENO"; then :
11322 ALSALIBS="-lasound"
11324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11329 if test "x$with_oss" != xno
11330 then
11331 ac_save_CPPFLAGS="$CPPFLAGS"
11332 if test -f /etc/oss.conf
11333 then
11334 . /etc/oss.conf
11336 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11337 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11338 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11339 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11340 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11342 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11344 cat >>confdefs.h <<_ACEOF
11345 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11346 _ACEOF
11348 OSS4INCL="$ac_oss_incl"
11355 CPPFLAGS="$ac_save_CPPFLAGS"
11356 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11357 then
11358 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11362 if test "x$with_capi" != "xno"
11363 then
11364 if test -n "$CAPI20_CFLAGS"; then :
11366 elif test -n "$PKG_CONFIG"; then :
11367 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11370 if test -n "$CAPI20_LIBS"; then :
11372 elif test -n "$PKG_CONFIG"; then :
11373 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
11377 ac_save_CPPFLAGS=$CPPFLAGS
11378 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
11379 for ac_header in capi20.h linux/capi.h
11380 do :
11381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11382 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11385 cat >>confdefs.h <<_ACEOF
11386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11387 _ACEOF
11391 done
11393 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11394 then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11396 $as_echo_n "checking for -lcapi20... " >&6; }
11397 if ${ac_cv_lib_soname_capi20+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_soname_save_LIBS=$LIBS
11401 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char capi20_register ();
11413 main ()
11415 return capi20_register ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 case "$LIBEXT" in
11422 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11425 if test "x$ac_cv_lib_soname_capi20" = x; then :
11426 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11427 fi ;;
11428 esac
11430 rm -f core conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 LIBS=$ac_check_soname_save_LIBS
11434 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11440 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11442 cat >>confdefs.h <<_ACEOF
11443 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11444 _ACEOF
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11454 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11455 case "x$with_capi" in
11456 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11459 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11460 esac
11463 CUPSINCL=""
11465 if test "x$with_cups" != "xno"
11466 then
11467 ac_save_CPPFLAGS="$CPPFLAGS"
11468 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11469 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11470 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11471 for ac_header in cups/cups.h
11472 do :
11473 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11475 cat >>confdefs.h <<_ACEOF
11476 #define HAVE_CUPS_CUPS_H 1
11477 _ACEOF
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11479 $as_echo_n "checking for -lcups... " >&6; }
11480 if ${ac_cv_lib_soname_cups+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_soname_save_LIBS=$LIBS
11484 LIBS="-lcups $ac_cups_libs $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char cupsGetDefault ();
11496 main ()
11498 return cupsGetDefault ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 case "$LIBEXT" in
11505 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11508 if test "x$ac_cv_lib_soname_cups" = x; then :
11509 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11510 fi ;;
11511 esac
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_soname_save_LIBS
11517 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11521 else
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11523 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11525 cat >>confdefs.h <<_ACEOF
11526 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11527 _ACEOF
11529 CUPSINCL="$ac_cups_cflags"
11533 done
11535 CPPFLAGS="$ac_save_CPPFLAGS"
11537 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11538 case "x$with_cups" in
11539 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11540 xno) ;;
11541 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11542 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11543 esac
11546 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11547 then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11549 $as_echo_n "checking for -lfontconfig... " >&6; }
11550 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11551 $as_echo_n "(cached) " >&6
11552 else
11553 ac_check_soname_save_LIBS=$LIBS
11554 LIBS="-lfontconfig $LIBS"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11561 #ifdef __cplusplus
11562 extern "C"
11563 #endif
11564 char FcInit ();
11566 main ()
11568 return FcInit ();
11570 return 0;
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"; then :
11574 case "$LIBEXT" in
11575 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11576 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'` ;;
11577 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11578 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11579 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11580 fi ;;
11581 esac
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LIBS=$ac_check_soname_save_LIBS
11587 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11589 $as_echo "not found" >&6; }
11591 else
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11593 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11595 cat >>confdefs.h <<_ACEOF
11596 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11597 _ACEOF
11601 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11602 then
11603 ac_save_CPPFLAGS="$CPPFLAGS"
11604 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11605 $as_unset ac_cv_header_fontconfig_fontconfig_h
11606 for ac_header in fontconfig/fontconfig.h
11607 do :
11608 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11610 cat >>confdefs.h <<_ACEOF
11611 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11612 _ACEOF
11616 done
11618 CPPFLAGS="$ac_save_CPPFLAGS"
11619 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11620 then
11621 FONTCONFIGINCL="$X_CFLAGS"
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11624 $as_echo_n "checking for -lfontconfig... " >&6; }
11625 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11626 $as_echo_n "(cached) " >&6
11627 else
11628 ac_check_soname_save_LIBS=$LIBS
11629 LIBS="-lfontconfig $X_LIBS $LIBS"
11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11636 #ifdef __cplusplus
11637 extern "C"
11638 #endif
11639 char FcInit ();
11641 main ()
11643 return FcInit ();
11645 return 0;
11647 _ACEOF
11648 if ac_fn_c_try_link "$LINENO"; then :
11649 case "$LIBEXT" in
11650 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11651 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'` ;;
11652 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11653 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11654 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11655 fi ;;
11656 esac
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_soname_save_LIBS
11662 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11664 $as_echo "not found" >&6; }
11666 else
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11668 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11670 cat >>confdefs.h <<_ACEOF
11671 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11672 _ACEOF
11678 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11679 case "x$with_fontconfig" in
11680 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11681 xno) ;;
11682 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11683 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11684 esac
11687 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11688 then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11690 $as_echo_n "checking for -lgsm... " >&6; }
11691 if ${ac_cv_lib_soname_gsm+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_soname_save_LIBS=$LIBS
11695 LIBS="-lgsm $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char gsm_create ();
11707 main ()
11709 return gsm_create ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 case "$LIBEXT" in
11716 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11717 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'` ;;
11718 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11719 if test "x$ac_cv_lib_soname_gsm" = x; then :
11720 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11721 fi ;;
11722 esac
11724 rm -f core conftest.err conftest.$ac_objext \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_soname_save_LIBS
11728 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11730 $as_echo "not found" >&6; }
11732 else
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11734 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11736 cat >>confdefs.h <<_ACEOF
11737 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11738 _ACEOF
11743 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11744 case "x$with_gsm" in
11745 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11746 xno) ;;
11747 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11748 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11749 esac
11752 if test "x$with_jpeg" != "xno"
11753 then
11754 if test -n "$JPEG_CFLAGS"; then :
11756 elif test -n "$PKG_CONFIG"; then :
11757 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
11760 if test -n "$JPEG_LIBS"; then :
11762 elif test -n "$PKG_CONFIG"; then :
11763 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
11767 ac_save_CPPFLAGS=$CPPFLAGS
11768 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
11769 for ac_header in jpeglib.h
11770 do :
11771 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
11772 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
11773 cat >>confdefs.h <<_ACEOF
11774 #define HAVE_JPEGLIB_H 1
11775 _ACEOF
11779 done
11781 if test "$ac_cv_header_jpeglib_h" = "yes"
11782 then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11784 $as_echo_n "checking for -ljpeg... " >&6; }
11785 if ${ac_cv_lib_soname_jpeg+:} false; then :
11786 $as_echo_n "(cached) " >&6
11787 else
11788 ac_check_soname_save_LIBS=$LIBS
11789 LIBS="-ljpeg $JPEG_LIBS $LIBS"
11790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11793 /* Override any GCC internal prototype to avoid an error.
11794 Use char because int might match the return type of a GCC
11795 builtin and then its argument prototype would still apply. */
11796 #ifdef __cplusplus
11797 extern "C"
11798 #endif
11799 char jpeg_start_decompress ();
11801 main ()
11803 return jpeg_start_decompress ();
11805 return 0;
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"; then :
11809 case "$LIBEXT" in
11810 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11811 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'` ;;
11812 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11813 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11814 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11815 fi ;;
11816 esac
11818 rm -f core conftest.err conftest.$ac_objext \
11819 conftest$ac_exeext conftest.$ac_ext
11820 LIBS=$ac_check_soname_save_LIBS
11822 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11825 JPEG_CFLAGS=""
11826 else
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11828 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11830 cat >>confdefs.h <<_ACEOF
11831 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11832 _ACEOF
11836 else
11837 JPEG_CFLAGS=""
11839 CPPFLAGS=$ac_save_CPPFLAGS
11840 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11841 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11844 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11845 case "x$with_jpeg" in
11846 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11849 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11850 esac
11853 if test "x$with_png" != "xno"
11854 then
11855 if test -n "$PNG_CFLAGS"; then :
11857 elif test -n "$PKG_CONFIG"; then :
11858 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
11860 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
11861 if test -n "$PNG_LIBS"; then :
11863 elif test -n "$PKG_CONFIG"; then :
11864 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
11866 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
11868 ac_save_CPPFLAGS=$CPPFLAGS
11869 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
11870 for ac_header in png.h
11871 do :
11872 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11873 if test "x$ac_cv_header_png_h" = xyes; then :
11874 cat >>confdefs.h <<_ACEOF
11875 #define HAVE_PNG_H 1
11876 _ACEOF
11880 done
11882 if test "$ac_cv_header_png_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11885 $as_echo_n "checking for -lpng... " >&6; }
11886 if ${ac_cv_lib_soname_png+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_soname_save_LIBS=$LIBS
11890 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char png_create_read_struct ();
11902 main ()
11904 return png_create_read_struct ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 case "$LIBEXT" in
11911 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11912 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'` ;;
11913 *) 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'`
11914 if test "x$ac_cv_lib_soname_png" = x; then :
11915 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11916 fi ;;
11917 esac
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_soname_save_LIBS
11923 if test "x$ac_cv_lib_soname_png" = "x"; then :
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11925 $as_echo "not found" >&6; }
11926 PNG_CFLAGS=""
11927 else
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11929 $as_echo "$ac_cv_lib_soname_png" >&6; }
11931 cat >>confdefs.h <<_ACEOF
11932 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11933 _ACEOF
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11937 #include <png.h>
11939 main ()
11941 typeof(png_set_expand_gray_1_2_4_to_8) *p
11943 return 0;
11945 _ACEOF
11946 if ac_fn_c_try_compile "$LINENO"; then :
11948 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11953 else
11954 PNG_CFLAGS=""
11956 CPPFLAGS=$ac_save_CPPFLAGS
11957 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11958 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11961 if test "x$ac_cv_lib_soname_png" = "x"; then :
11962 case "x$with_png" in
11963 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11966 This is an error since --with-png was requested." "$LINENO" 5 ;;
11967 esac
11970 if test "x$with_tiff" != "xno"
11971 then
11972 if test -n "$TIFF_CFLAGS"; then :
11974 elif test -n "$PKG_CONFIG"; then :
11975 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
11978 if test -n "$TIFF_LIBS"; then :
11980 elif test -n "$PKG_CONFIG"; then :
11981 TIFF_LIBS=`$PKG_CONFIG --libs libtiff 2>/dev/null`
11985 ac_save_CPPFLAGS=$CPPFLAGS
11986 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
11987 for ac_header in tiffio.h
11988 do :
11989 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
11990 if test "x$ac_cv_header_tiffio_h" = xyes; then :
11991 cat >>confdefs.h <<_ACEOF
11992 #define HAVE_TIFFIO_H 1
11993 _ACEOF
11997 done
11999 if test "$ac_cv_header_tiffio_h" = "yes"
12000 then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12002 $as_echo_n "checking for -ltiff... " >&6; }
12003 if ${ac_cv_lib_soname_tiff+:} false; then :
12004 $as_echo_n "(cached) " >&6
12005 else
12006 ac_check_soname_save_LIBS=$LIBS
12007 LIBS="-ltiff $TIFF_LIBS $LIBS"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12011 /* Override any GCC internal prototype to avoid an error.
12012 Use char because int might match the return type of a GCC
12013 builtin and then its argument prototype would still apply. */
12014 #ifdef __cplusplus
12015 extern "C"
12016 #endif
12017 char TIFFClientOpen ();
12019 main ()
12021 return TIFFClientOpen ();
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_link "$LINENO"; then :
12027 case "$LIBEXT" in
12028 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12029 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'` ;;
12030 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12031 if test "x$ac_cv_lib_soname_tiff" = x; then :
12032 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12033 fi ;;
12034 esac
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_soname_save_LIBS
12040 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12042 $as_echo "not found" >&6; }
12044 else
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12046 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12048 cat >>confdefs.h <<_ACEOF
12049 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12050 _ACEOF
12055 CPPFLAGS=$ac_save_CPPFLAGS
12056 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12057 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12060 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12061 case "x$with_tiff" in
12062 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12063 xno) ;;
12064 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
12065 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12066 esac
12069 if test "x$with_mpg123" != "xno"
12070 then
12071 if test -n "$MPG123_CFLAGS"; then :
12073 elif test -n "$PKG_CONFIG"; then :
12074 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12077 if test -n "$MPG123_LIBS"; then :
12079 elif test -n "$PKG_CONFIG"; then :
12080 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12083 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
12084 ac_save_CPPFLAGS=$CPPFLAGS
12085 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
12086 for ac_header in mpg123.h
12087 do :
12088 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12089 if test "x$ac_cv_header_mpg123_h" = xyes; then :
12090 cat >>confdefs.h <<_ACEOF
12091 #define HAVE_MPG123_H 1
12092 _ACEOF
12096 done
12098 if test "$ac_cv_header_mpg123_h" = "yes"
12099 then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12101 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12102 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char mpg123_feed ();
12118 main ()
12120 return mpg123_feed ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_mpg123_mpg123_feed=yes
12127 else
12128 ac_cv_lib_mpg123_mpg123_feed=no
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12135 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12136 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12138 else
12139 MPG123_LIBS=""
12142 else
12143 MPG123_CFLAGS=""
12144 MPG123_LIBS=""
12146 CPPFLAGS=$ac_save_CPPFLAGS
12147 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12148 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12151 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12152 case "x$with_mpg123" in
12153 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12154 xno) ;;
12155 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12156 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12157 esac
12159 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}
12161 if test "$ac_cv_header_AL_al_h" = "yes"
12162 then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12164 $as_echo_n "checking for -lopenal... " >&6; }
12165 if ${ac_cv_lib_soname_openal+:} false; then :
12166 $as_echo_n "(cached) " >&6
12167 else
12168 ac_check_soname_save_LIBS=$LIBS
12169 LIBS="-lopenal $LIBS"
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char alGetSource3i ();
12181 main ()
12183 return alGetSource3i ();
12185 return 0;
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 case "$LIBEXT" in
12190 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12191 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'` ;;
12192 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12193 if test "x$ac_cv_lib_soname_openal" = x; then :
12194 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12195 fi ;;
12196 esac
12198 rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
12200 LIBS=$ac_check_soname_save_LIBS
12202 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12204 $as_echo "not found" >&6; }
12206 else
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12208 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12210 cat >>confdefs.h <<_ACEOF
12211 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12212 _ACEOF
12214 LIBOPENAL="-lopenal"
12216 ac_cv_lib_openal=yes
12218 cat >>confdefs.h <<_ACEOF
12219 #define HAVE_OPENAL 1
12220 _ACEOF
12224 if test "x$ac_cv_lib_openal" != xyes; then :
12225 case "x$with_openal" in
12226 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12227 xno) ;;
12228 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12229 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12230 esac
12232 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12234 if test "$ac_cv_header_kstat_h" = "yes"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12237 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12238 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_check_lib_save_LIBS=$LIBS
12242 LIBS="-lkstat $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 char kstat_open ();
12254 main ()
12256 return kstat_open ();
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"; then :
12262 ac_cv_lib_kstat_kstat_open=yes
12263 else
12264 ac_cv_lib_kstat_kstat_open=no
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_lib_save_LIBS
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12271 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12272 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12274 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12276 LIBKSTAT="-lkstat"
12282 if test "$ac_cv_header_libprocstat_h" = "yes"
12283 then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12285 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12286 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 ac_check_lib_save_LIBS=$LIBS
12290 LIBS="-lprocstat $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 #ifdef __cplusplus
12298 extern "C"
12299 #endif
12300 char procstat_open_sysctl ();
12302 main ()
12304 return procstat_open_sysctl ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"; then :
12310 ac_cv_lib_procstat_procstat_open_sysctl=yes
12311 else
12312 ac_cv_lib_procstat_procstat_open_sysctl=no
12314 rm -f core conftest.err conftest.$ac_objext \
12315 conftest$ac_exeext conftest.$ac_ext
12316 LIBS=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12319 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12320 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
12322 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12324 LIBPROCSTAT="-lprocstat"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12331 $as_echo_n "checking for -lodbc... " >&6; }
12332 if ${ac_cv_lib_soname_odbc+:} false; then :
12333 $as_echo_n "(cached) " >&6
12334 else
12335 ac_check_soname_save_LIBS=$LIBS
12336 LIBS="-lodbc $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h. */
12340 /* Override any GCC internal prototype to avoid an error.
12341 Use char because int might match the return type of a GCC
12342 builtin and then its argument prototype would still apply. */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char SQLConnect ();
12348 main ()
12350 return SQLConnect ();
12352 return 0;
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356 case "$LIBEXT" in
12357 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12358 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'` ;;
12359 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12360 if test "x$ac_cv_lib_soname_odbc" = x; then :
12361 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12362 fi ;;
12363 esac
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12372 cat >>confdefs.h <<_ACEOF
12373 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12374 _ACEOF
12376 else
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12378 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12380 cat >>confdefs.h <<_ACEOF
12381 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12382 _ACEOF
12387 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12388 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12389 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12390 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12392 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12393 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12394 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12395 then
12396 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12400 EXTRACFLAGS=""
12402 if test "x${GCC}" = "xyes"
12403 then
12404 EXTRACFLAGS="-Wall -pipe"
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12407 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12408 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12409 $as_echo_n "(cached) " >&6
12410 else
12411 if test "$cross_compiling" = yes; then :
12412 ac_cv_c_gcc_strength_bug="yes"
12413 else
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12416 int L[4] = {0,1,2,3};
12418 main ()
12420 static int Array[3];
12421 unsigned int B = 3;
12422 int i;
12423 for(i=0; i<B; i++) Array[i] = i - 3;
12424 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12425 L[i] = 4;
12426 return (Array[1] != -2 || L[2] != 3)
12428 return 0;
12430 _ACEOF
12431 if ac_fn_c_try_run "$LINENO"; then :
12432 ac_cv_c_gcc_strength_bug="no"
12433 else
12434 ac_cv_c_gcc_strength_bug="yes"
12436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12437 conftest.$ac_objext conftest.beam conftest.$ac_ext
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12442 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12443 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12444 then
12445 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12449 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12450 if ${ac_cv_cflags__fno_builtin+:} false; then :
12451 $as_echo_n "(cached) " >&6
12452 else
12453 ac_wine_try_cflags_saved=$CFLAGS
12454 CFLAGS="$CFLAGS -fno-builtin"
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12457 int main(int argc, char **argv) { return 0; }
12458 _ACEOF
12459 if ac_fn_c_try_link "$LINENO"; then :
12460 ac_cv_cflags__fno_builtin=yes
12461 else
12462 ac_cv_cflags__fno_builtin=no
12464 rm -f core conftest.err conftest.$ac_objext \
12465 conftest$ac_exeext conftest.$ac_ext
12466 CFLAGS=$ac_wine_try_cflags_saved
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12469 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12470 if test $ac_cv_cflags__fno_builtin = yes; then :
12471 BUILTINFLAG="-fno-builtin"
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12475 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12476 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_wine_try_cflags_saved=$CFLAGS
12480 CFLAGS="$CFLAGS -fno-strict-aliasing"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12483 int main(int argc, char **argv) { return 0; }
12484 _ACEOF
12485 if ac_fn_c_try_link "$LINENO"; then :
12486 ac_cv_cflags__fno_strict_aliasing=yes
12487 else
12488 ac_cv_cflags__fno_strict_aliasing=no
12490 rm -f core conftest.err conftest.$ac_objext \
12491 conftest$ac_exeext conftest.$ac_ext
12492 CFLAGS=$ac_wine_try_cflags_saved
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12495 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12496 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12497 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12499 saved_CFLAGS=$CFLAGS
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
12501 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
12502 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
12503 $as_echo_n "(cached) " >&6
12504 else
12505 ac_wine_try_cflags_saved=$CFLAGS
12506 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12509 int main(int argc, char **argv) { return 0; }
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512 ac_cv_cflags__Werror_unknown_warning_option=yes
12513 else
12514 ac_cv_cflags__Werror_unknown_warning_option=no
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 CFLAGS=$ac_wine_try_cflags_saved
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
12521 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
12522 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
12523 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12526 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12527 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_wine_try_cflags_saved=$CFLAGS
12531 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12534 int main(int argc, char **argv) { return 0; }
12535 _ACEOF
12536 if ac_fn_c_try_link "$LINENO"; then :
12537 ac_cv_cflags__Wdeclaration_after_statement=yes
12538 else
12539 ac_cv_cflags__Wdeclaration_after_statement=no
12541 rm -f core conftest.err conftest.$ac_objext \
12542 conftest$ac_exeext conftest.$ac_ext
12543 CFLAGS=$ac_wine_try_cflags_saved
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12546 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12547 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12548 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12551 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12552 if ${ac_cv_cflags__Wempty_body+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_wine_try_cflags_saved=$CFLAGS
12556 CFLAGS="$CFLAGS -Wempty-body"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12559 int main(int argc, char **argv) { return 0; }
12560 _ACEOF
12561 if ac_fn_c_try_link "$LINENO"; then :
12562 ac_cv_cflags__Wempty_body=yes
12563 else
12564 ac_cv_cflags__Wempty_body=no
12566 rm -f core conftest.err conftest.$ac_objext \
12567 conftest$ac_exeext conftest.$ac_ext
12568 CFLAGS=$ac_wine_try_cflags_saved
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12571 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12572 if test $ac_cv_cflags__Wempty_body = yes; then :
12573 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12576 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12577 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12578 $as_echo_n "(cached) " >&6
12579 else
12580 ac_wine_try_cflags_saved=$CFLAGS
12581 CFLAGS="$CFLAGS -Wignored-qualifiers"
12582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12584 int main(int argc, char **argv) { return 0; }
12585 _ACEOF
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 ac_cv_cflags__Wignored_qualifiers=yes
12588 else
12589 ac_cv_cflags__Wignored_qualifiers=no
12591 rm -f core conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12593 CFLAGS=$ac_wine_try_cflags_saved
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12596 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12597 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12598 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12601 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12602 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12603 $as_echo_n "(cached) " >&6
12604 else
12605 ac_wine_try_cflags_saved=$CFLAGS
12606 CFLAGS="$CFLAGS -Wstrict-prototypes"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12609 int main(int argc, char **argv) { return 0; }
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"; then :
12612 ac_cv_cflags__Wstrict_prototypes=yes
12613 else
12614 ac_cv_cflags__Wstrict_prototypes=no
12616 rm -f core conftest.err conftest.$ac_objext \
12617 conftest$ac_exeext conftest.$ac_ext
12618 CFLAGS=$ac_wine_try_cflags_saved
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12621 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12622 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12623 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12626 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12627 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_wine_try_cflags_saved=$CFLAGS
12631 CFLAGS="$CFLAGS -Wtype-limits"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12634 int main(int argc, char **argv) { return 0; }
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 ac_cv_cflags__Wtype_limits=yes
12638 else
12639 ac_cv_cflags__Wtype_limits=no
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 CFLAGS=$ac_wine_try_cflags_saved
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12646 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12647 if test $ac_cv_cflags__Wtype_limits = yes; then :
12648 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12651 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12652 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 ac_wine_try_cflags_saved=$CFLAGS
12656 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12659 int main(int argc, char **argv) { return 0; }
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"; then :
12662 ac_cv_cflags__Wunused_but_set_parameter=yes
12663 else
12664 ac_cv_cflags__Wunused_but_set_parameter=no
12666 rm -f core conftest.err conftest.$ac_objext \
12667 conftest$ac_exeext conftest.$ac_ext
12668 CFLAGS=$ac_wine_try_cflags_saved
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12671 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12672 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12673 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12676 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12677 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_wine_try_cflags_saved=$CFLAGS
12681 CFLAGS="$CFLAGS -Wwrite-strings"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12684 int main(int argc, char **argv) { return 0; }
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 ac_cv_cflags__Wwrite_strings=yes
12688 else
12689 ac_cv_cflags__Wwrite_strings=no
12691 rm -f core conftest.err conftest.$ac_objext \
12692 conftest$ac_exeext conftest.$ac_ext
12693 CFLAGS=$ac_wine_try_cflags_saved
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12696 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12697 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12698 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
12702 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
12703 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
12704 $as_echo_n "(cached) " >&6
12705 else
12706 ac_wine_try_cflags_saved=$CFLAGS
12707 CFLAGS="$CFLAGS -Wpointer-arith"
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 int main(int argc, char **argv) { return 0; }
12711 _ACEOF
12712 if ac_fn_c_try_link "$LINENO"; then :
12713 ac_cv_cflags__Wpointer_arith=yes
12714 else
12715 ac_cv_cflags__Wpointer_arith=no
12717 rm -f core conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12719 CFLAGS=$ac_wine_try_cflags_saved
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
12722 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
12723 if test $ac_cv_cflags__Wpointer_arith = yes; then :
12724 saved_string_h_CFLAGS=$CFLAGS
12725 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12727 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12728 if ${ac_cv_c_string_h_warnings+:} false; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12732 /* end confdefs.h. */
12733 #include <string.h>
12735 main ()
12739 return 0;
12741 _ACEOF
12742 if ac_fn_c_try_compile "$LINENO"; then :
12743 ac_cv_c_string_h_warnings=no
12744 else
12745 ac_cv_c_string_h_warnings=yes
12747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12750 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12751 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12752 CFLAGS=$saved_string_h_CFLAGS
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
12756 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
12757 if ${ac_cv_cflags__Wlogical_op+:} false; then :
12758 $as_echo_n "(cached) " >&6
12759 else
12760 ac_wine_try_cflags_saved=$CFLAGS
12761 CFLAGS="$CFLAGS -Wlogical-op"
12762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12764 int main(int argc, char **argv) { return 0; }
12765 _ACEOF
12766 if ac_fn_c_try_link "$LINENO"; then :
12767 ac_cv_cflags__Wlogical_op=yes
12768 else
12769 ac_cv_cflags__Wlogical_op=no
12771 rm -f core conftest.err conftest.$ac_objext \
12772 conftest$ac_exeext conftest.$ac_ext
12773 CFLAGS=$ac_wine_try_cflags_saved
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
12776 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
12777 if test $ac_cv_cflags__Wlogical_op = yes; then :
12778 saved_string_h_CFLAGS=$CFLAGS
12779 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12781 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12782 if ${ac_cv_c_logicalop_noisy+:} false; then :
12783 $as_echo_n "(cached) " >&6
12784 else
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12787 #include <string.h>
12788 char*f(const char *h,char n) {return strchr(h,n);}
12790 main ()
12794 return 0;
12796 _ACEOF
12797 if ac_fn_c_try_compile "$LINENO"; then :
12798 ac_cv_c_logicalop_noisy=no
12799 else
12800 ac_cv_c_logicalop_noisy=yes
12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12805 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12806 CFLAGS=$saved_string_h_CFLAGS
12807 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12810 CFLAGS=$saved_CFLAGS
12812 for ac_flag in $CFLAGS; do
12813 case $ac_flag in
12814 -g) case $host_os in
12815 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12816 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12817 if ${ac_cv_cflags__gstabsp+:} false; then :
12818 $as_echo_n "(cached) " >&6
12819 else
12820 ac_wine_try_cflags_saved=$CFLAGS
12821 CFLAGS="$CFLAGS -gstabs+"
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12824 int main(int argc, char **argv) { return 0; }
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_cflags__gstabsp=yes
12828 else
12829 ac_cv_cflags__gstabsp=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 CFLAGS=$ac_wine_try_cflags_saved
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12836 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12837 if test $ac_cv_cflags__gstabsp = yes; then :
12838 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12839 fi ;;
12840 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12841 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12842 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_wine_try_cflags_saved=$CFLAGS
12846 CFLAGS="$CFLAGS -gdwarf-2"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12849 int main(int argc, char **argv) { return 0; }
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_cflags__gdwarf_2=yes
12853 else
12854 ac_cv_cflags__gdwarf_2=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 CFLAGS=$ac_wine_try_cflags_saved
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12861 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12862 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12863 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12866 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12867 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12868 $as_echo_n "(cached) " >&6
12869 else
12870 ac_wine_try_cflags_saved=$CFLAGS
12871 CFLAGS="$CFLAGS -gstrict-dwarf"
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12874 int main(int argc, char **argv) { return 0; }
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_cflags__gstrict_dwarf=yes
12878 else
12879 ac_cv_cflags__gstrict_dwarf=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 CFLAGS=$ac_wine_try_cflags_saved
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12886 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12887 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12888 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12889 fi ;;
12890 esac ;;
12891 esac
12892 done
12894 case $host_cpu in
12895 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12896 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12897 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12898 $as_echo_n "(cached) " >&6
12899 else
12900 ac_wine_try_cflags_saved=$CFLAGS
12901 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12904 int main(int argc, char **argv) { return 0; }
12905 _ACEOF
12906 if ac_fn_c_try_link "$LINENO"; then :
12907 ac_cv_cflags__fno_omit_frame_pointer=yes
12908 else
12909 ac_cv_cflags__fno_omit_frame_pointer=no
12911 rm -f core conftest.err conftest.$ac_objext \
12912 conftest$ac_exeext conftest.$ac_ext
12913 CFLAGS=$ac_wine_try_cflags_saved
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12916 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12917 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12918 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12919 fi ;;
12920 esac
12922 case $host in
12923 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12924 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12925 if ${ac_cv_cflags__Wno_format+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_wine_try_cflags_saved=$CFLAGS
12929 CFLAGS="$CFLAGS -Wno-format"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12932 int main(int argc, char **argv) { return 0; }
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"; then :
12935 ac_cv_cflags__Wno_format=yes
12936 else
12937 ac_cv_cflags__Wno_format=no
12939 rm -f core conftest.err conftest.$ac_objext \
12940 conftest$ac_exeext conftest.$ac_ext
12941 CFLAGS=$ac_wine_try_cflags_saved
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12944 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12945 if test $ac_cv_cflags__Wno_format = yes; then :
12946 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12947 fi ;;
12948 esac
12950 if test "x$enable_maintainer_mode" = "xyes"
12951 then
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12953 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12954 if ${ac_cv_cflags__Werror+:} false; then :
12955 $as_echo_n "(cached) " >&6
12956 else
12957 ac_wine_try_cflags_saved=$CFLAGS
12958 CFLAGS="$CFLAGS -Werror"
12959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 /* end confdefs.h. */
12961 int main(int argc, char **argv) { return 0; }
12962 _ACEOF
12963 if ac_fn_c_try_link "$LINENO"; then :
12964 ac_cv_cflags__Werror=yes
12965 else
12966 ac_cv_cflags__Werror=no
12968 rm -f core conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12970 CFLAGS=$ac_wine_try_cflags_saved
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12973 $as_echo "$ac_cv_cflags__Werror" >&6; }
12974 if test $ac_cv_cflags__Werror = yes; then :
12975 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12979 saved_CFLAGS="$CFLAGS"
12980 CFLAGS="$CFLAGS -Werror"
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12982 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12983 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12984 $as_echo_n "(cached) " >&6
12985 else
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12988 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12990 main ()
12994 return 0;
12996 _ACEOF
12997 if ac_fn_c_try_compile "$LINENO"; then :
12998 ac_cv_have_ms_hook_prologue="yes"
12999 else
13000 ac_cv_have_ms_hook_prologue="no"
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13005 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13006 CFLAGS="$saved_CFLAGS"
13007 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13008 then
13010 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13012 else
13013 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13020 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13021 if ${ac_cv_c_fortify_enabled+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13026 #include <string.h>
13028 main ()
13030 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13031 #error Fortify enabled
13032 #endif
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_compile "$LINENO"; then :
13038 ac_cv_c_fortify_enabled=no
13039 else
13040 ac_cv_c_fortify_enabled=yes
13042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13045 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13046 if test "$ac_cv_c_fortify_enabled" = yes
13047 then
13048 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13053 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13054 if ${ac_cv_c_extern_prefix+:} false; then :
13055 $as_echo_n "(cached) " >&6
13056 else
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13059 extern int ac_test;
13061 main ()
13063 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_link "$LINENO"; then :
13069 ac_cv_c_extern_prefix="yes"
13070 else
13071 ac_cv_c_extern_prefix="no"
13073 rm -f core conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13077 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13079 case $host_cpu in
13080 *i[3456789]86*)
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13082 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13083 if ${ac_cv_c_stdcall_suffix+:} false; then :
13084 $as_echo_n "(cached) " >&6
13085 else
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 #ifndef _MSC_VER
13089 #define __stdcall __attribute__((__stdcall__))
13090 #endif
13091 int __stdcall ac_test(int i) { return i; }
13093 main ()
13095 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 ac_cv_c_stdcall_suffix="yes"
13102 else
13103 ac_cv_c_stdcall_suffix="no"
13105 rm -f core conftest.err conftest.$ac_objext \
13106 conftest$ac_exeext conftest.$ac_ext
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13109 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13110 *) ac_cv_c_stdcall_suffix="no" ;;
13111 esac
13114 if test "$ac_cv_c_extern_prefix" = "yes"
13115 then
13116 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13118 asm_name_prefix="_"
13119 else
13120 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13122 asm_name_prefix=""
13126 if test "$ac_cv_c_stdcall_suffix" = "yes"
13127 then
13128 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13130 else
13131 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13137 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13138 if ${ac_cv_asm_func_def+:} false; then :
13139 $as_echo_n "(cached) " >&6
13140 else
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13145 main ()
13147 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 ac_cv_asm_func_def=".def"
13154 else
13155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13159 main ()
13161 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 ac_cv_asm_func_def=".type @function"
13168 else
13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13170 /* end confdefs.h. */
13173 main ()
13175 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13177 return 0;
13179 _ACEOF
13180 if ac_fn_c_try_link "$LINENO"; then :
13181 ac_cv_asm_func_def=".type 2"
13182 else
13183 ac_cv_asm_func_def="unknown"
13185 rm -f core conftest.err conftest.$ac_objext \
13186 conftest$ac_exeext conftest.$ac_ext
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13191 rm -f core conftest.err conftest.$ac_objext \
13192 conftest$ac_exeext conftest.$ac_ext
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13195 $as_echo "$ac_cv_asm_func_def" >&6; }
13198 case "$ac_cv_asm_func_def" in
13199 ".def")
13200 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13202 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13203 ".type @function")
13204 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13206 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
13207 ".type 2")
13208 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13210 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
13212 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13214 asm_func_header="" ;;
13215 esac
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13218 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13219 if ${ac_cv_c_asm_outside_funcs+:} false; then :
13220 $as_echo_n "(cached) " >&6
13221 else
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h. */
13224 asm(".text\n\t.long 0");
13226 main ()
13230 return 0;
13232 _ACEOF
13233 if ac_fn_c_try_compile "$LINENO"; then :
13234 ac_cv_c_asm_outside_funcs="yes"
13235 else
13236 ac_cv_c_asm_outside_funcs="no"
13238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13241 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13244 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13245 if ${ac_cv_c_dot_previous+:} false; then :
13246 $as_echo_n "(cached) " >&6
13247 else
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13252 main ()
13254 asm(".text\nac_test:\t.long 0\n\t.previous");
13256 return 0;
13258 _ACEOF
13259 if ac_fn_c_try_link "$LINENO"; then :
13260 ac_cv_c_dot_previous="yes"
13261 else
13262 ac_cv_c_dot_previous="no"
13264 rm -f core conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13268 $as_echo "$ac_cv_c_dot_previous" >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13271 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13272 if ${ac_cv_c_cfi_support+:} false; then :
13273 $as_echo_n "(cached) " >&6
13274 else
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13277 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13279 main ()
13283 return 0;
13285 _ACEOF
13286 if ac_fn_c_try_compile "$LINENO"; then :
13287 ac_cv_c_cfi_support="yes"
13288 else
13289 ac_cv_c_cfi_support="no"
13291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13294 $as_echo "$ac_cv_c_cfi_support" >&6; }
13296 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13297 asm_func_trailer=""
13298 if test "$ac_cv_c_dot_previous" = "yes"
13299 then
13300 asm_func_trailer="\\n\\t.previous"
13302 if test "$ac_cv_c_cfi_support" = "yes"
13303 then
13304 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13305 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13307 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13309 UNWINDFLAGS=-fasynchronous-unwind-tables
13311 else
13312 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13316 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13319 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13320 then
13321 cat >>confdefs.h <<_ACEOF
13322 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13323 _ACEOF
13325 else
13326 cat >>confdefs.h <<_ACEOF
13327 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13328 _ACEOF
13332 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13335 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13339 LDPATH=""
13341 case $build_os in
13342 cygwin*|mingw32*)
13343 TOOLSEXT=".exe"
13345 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13347 darwin*|macosx*)
13350 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13352 esac
13354 MAIN_BINARY="wine"
13356 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13358 case $host_os in
13359 linux*)
13360 case $host_cpu in
13361 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13363 x86_64*) EXTRA_BINARIES="wine64-preloader"
13365 esac
13367 esac
13370 ac_save_CFLAGS="$CFLAGS"
13371 CFLAGS="$CFLAGS $BUILTINFLAG"
13372 for ac_func in \
13373 _finite \
13374 _isnan \
13375 _pclose \
13376 _popen \
13377 _snprintf \
13378 _spawnvp \
13379 _strdup \
13380 _stricmp \
13381 _strnicmp \
13382 _strtoi64 \
13383 _strtoui64 \
13384 _vsnprintf \
13385 asctime_r \
13386 chsize \
13387 dlopen \
13388 epoll_create \
13389 ffs \
13390 finite \
13391 fnmatch \
13392 fork \
13393 fpclass \
13394 fstatfs \
13395 fstatvfs \
13396 ftruncate \
13397 futimens \
13398 futimes \
13399 futimesat \
13400 getattrlist \
13401 getdirentries \
13402 getopt_long_only \
13403 getpwuid \
13404 gettimeofday \
13405 getuid \
13406 kqueue \
13407 lstat \
13408 memmove \
13409 mmap \
13410 pclose \
13411 pipe2 \
13412 poll \
13413 popen \
13414 port_create \
13415 prctl \
13416 pread \
13417 proc_pidinfo \
13418 pwrite \
13419 readdir \
13420 readlink \
13421 sched_yield \
13422 select \
13423 setproctitle \
13424 setrlimit \
13425 settimeofday \
13426 sigaltstack \
13427 sigprocmask \
13428 snprintf \
13429 statfs \
13430 statvfs \
13431 strcasecmp \
13432 strdup \
13433 strerror \
13434 strncasecmp \
13435 strtold \
13436 strtoll \
13437 strtoull \
13438 symlink \
13439 tcdrain \
13440 thr_kill2 \
13441 timegm \
13442 usleep \
13443 vsnprintf
13445 do :
13446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13449 cat >>confdefs.h <<_ACEOF
13450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13451 _ACEOF
13454 done
13456 CFLAGS="$ac_save_CFLAGS"
13458 if test "$ac_cv_func_dlopen" = no
13459 then
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13462 if ${ac_cv_lib_dl_dlopen+:} false; then :
13463 $as_echo_n "(cached) " >&6
13464 else
13465 ac_check_lib_save_LIBS=$LIBS
13466 LIBS="-ldl $LIBS"
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13473 #ifdef __cplusplus
13474 extern "C"
13475 #endif
13476 char dlopen ();
13478 main ()
13480 return dlopen ();
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"; then :
13486 ac_cv_lib_dl_dlopen=yes
13487 else
13488 ac_cv_lib_dl_dlopen=no
13490 rm -f core conftest.err conftest.$ac_objext \
13491 conftest$ac_exeext conftest.$ac_ext
13492 LIBS=$ac_check_lib_save_LIBS
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13495 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13496 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13497 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13498 LIBDL="-ldl"
13503 ac_wine_check_funcs_save_LIBS="$LIBS"
13504 LIBS="$LIBS $LIBDL"
13505 for ac_func in dladdr
13506 do :
13507 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13508 if test "x$ac_cv_func_dladdr" = xyes; then :
13509 cat >>confdefs.h <<_ACEOF
13510 #define HAVE_DLADDR 1
13511 _ACEOF
13514 done
13516 LIBS="$ac_wine_check_funcs_save_LIBS"
13518 if test "$ac_cv_func_poll" = no
13519 then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13521 $as_echo_n "checking for poll in -lpoll... " >&6; }
13522 if ${ac_cv_lib_poll_poll+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_check_lib_save_LIBS=$LIBS
13526 LIBS="-lpoll $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char poll ();
13538 main ()
13540 return poll ();
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 ac_cv_lib_poll_poll=yes
13547 else
13548 ac_cv_lib_poll_poll=no
13550 rm -f core conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_lib_save_LIBS
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13555 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13556 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13557 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13558 LIBPOLL="-lpoll"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13565 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13566 if ${ac_cv_search_gethostbyname+:} false; then :
13567 $as_echo_n "(cached) " >&6
13568 else
13569 ac_func_search_save_LIBS=$LIBS
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 #endif
13579 char gethostbyname ();
13581 main ()
13583 return gethostbyname ();
13585 return 0;
13587 _ACEOF
13588 for ac_lib in '' nsl; do
13589 if test -z "$ac_lib"; then
13590 ac_res="none required"
13591 else
13592 ac_res=-l$ac_lib
13593 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13595 if ac_fn_c_try_link "$LINENO"; then :
13596 ac_cv_search_gethostbyname=$ac_res
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext
13600 if ${ac_cv_search_gethostbyname+:} false; then :
13601 break
13603 done
13604 if ${ac_cv_search_gethostbyname+:} false; then :
13606 else
13607 ac_cv_search_gethostbyname=no
13609 rm conftest.$ac_ext
13610 LIBS=$ac_func_search_save_LIBS
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13613 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13614 ac_res=$ac_cv_search_gethostbyname
13615 if test "$ac_res" != no; then :
13616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13622 $as_echo_n "checking for library containing connect... " >&6; }
13623 if ${ac_cv_search_connect+:} false; then :
13624 $as_echo_n "(cached) " >&6
13625 else
13626 ac_func_search_save_LIBS=$LIBS
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13633 #ifdef __cplusplus
13634 extern "C"
13635 #endif
13636 char connect ();
13638 main ()
13640 return connect ();
13642 return 0;
13644 _ACEOF
13645 for ac_lib in '' socket; do
13646 if test -z "$ac_lib"; then
13647 ac_res="none required"
13648 else
13649 ac_res=-l$ac_lib
13650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 ac_cv_search_connect=$ac_res
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext
13657 if ${ac_cv_search_connect+:} false; then :
13658 break
13660 done
13661 if ${ac_cv_search_connect+:} false; then :
13663 else
13664 ac_cv_search_connect=no
13666 rm conftest.$ac_ext
13667 LIBS=$ac_func_search_save_LIBS
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13670 $as_echo "$ac_cv_search_connect" >&6; }
13671 ac_res=$ac_cv_search_connect
13672 if test "$ac_res" != no; then :
13673 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13679 $as_echo_n "checking for library containing inet_aton... " >&6; }
13680 if ${ac_cv_search_inet_aton+:} false; then :
13681 $as_echo_n "(cached) " >&6
13682 else
13683 ac_func_search_save_LIBS=$LIBS
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13690 #ifdef __cplusplus
13691 extern "C"
13692 #endif
13693 char inet_aton ();
13695 main ()
13697 return inet_aton ();
13699 return 0;
13701 _ACEOF
13702 for ac_lib in '' resolv; do
13703 if test -z "$ac_lib"; then
13704 ac_res="none required"
13705 else
13706 ac_res=-l$ac_lib
13707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 ac_cv_search_inet_aton=$ac_res
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext
13714 if ${ac_cv_search_inet_aton+:} false; then :
13715 break
13717 done
13718 if ${ac_cv_search_inet_aton+:} false; then :
13720 else
13721 ac_cv_search_inet_aton=no
13723 rm conftest.$ac_ext
13724 LIBS=$ac_func_search_save_LIBS
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13727 $as_echo "$ac_cv_search_inet_aton" >&6; }
13728 ac_res=$ac_cv_search_inet_aton
13729 if test "$ac_res" != no; then :
13730 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13735 for ac_func in \
13736 getaddrinfo \
13737 getnameinfo \
13738 getnetbyname \
13739 getprotobyname \
13740 getprotobynumber \
13741 getservbyport \
13742 inet_network \
13743 inet_ntop \
13744 inet_pton \
13745 sendmsg \
13746 socketpair \
13748 do :
13749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13751 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13752 cat >>confdefs.h <<_ACEOF
13753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13754 _ACEOF
13757 done
13760 ac_save_LIBS=$LIBS
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13762 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13763 if ${ac_cv_search_clock_gettime+:} false; then :
13764 $as_echo_n "(cached) " >&6
13765 else
13766 ac_func_search_save_LIBS=$LIBS
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 #ifdef __cplusplus
13774 extern "C"
13775 #endif
13776 char clock_gettime ();
13778 main ()
13780 return clock_gettime ();
13782 return 0;
13784 _ACEOF
13785 for ac_lib in '' rt; do
13786 if test -z "$ac_lib"; then
13787 ac_res="none required"
13788 else
13789 ac_res=-l$ac_lib
13790 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 ac_cv_search_clock_gettime=$ac_res
13795 rm -f core conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext
13797 if ${ac_cv_search_clock_gettime+:} false; then :
13798 break
13800 done
13801 if ${ac_cv_search_clock_gettime+:} false; then :
13803 else
13804 ac_cv_search_clock_gettime=no
13806 rm conftest.$ac_ext
13807 LIBS=$ac_func_search_save_LIBS
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13810 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13811 ac_res=$ac_cv_search_clock_gettime
13812 if test "$ac_res" != no; then :
13813 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13815 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13817 test "$ac_res" = "none required" || LIBRT="$ac_res"
13821 LIBS=$ac_save_LIBS
13823 LDAPLIBS=""
13825 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13826 then
13827 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13829 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13831 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13832 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_check_lib_save_LIBS=$LIBS
13836 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 #ifdef __cplusplus
13844 extern "C"
13845 #endif
13846 char ldap_initialize ();
13848 main ()
13850 return ldap_initialize ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 ac_cv_lib_ldap_r_ldap_initialize=yes
13857 else
13858 ac_cv_lib_ldap_r_ldap_initialize=no
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13865 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13866 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13868 $as_echo_n "checking for ber_init in -llber... " >&6; }
13869 if ${ac_cv_lib_lber_ber_init+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_lib_save_LIBS=$LIBS
13873 LIBS="-llber $LIBPTHREAD $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char ber_init ();
13885 main ()
13887 return ber_init ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 ac_cv_lib_lber_ber_init=yes
13894 else
13895 ac_cv_lib_lber_ber_init=no
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_lib_save_LIBS
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13902 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13903 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13905 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13907 LDAPLIBS="-lldap_r -llber"
13914 ac_wine_check_funcs_save_LIBS="$LIBS"
13915 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13916 for ac_func in \
13917 ldap_count_references \
13918 ldap_first_reference \
13919 ldap_next_reference \
13920 ldap_parse_reference \
13921 ldap_parse_sort_control \
13922 ldap_parse_sortresponse_control \
13923 ldap_parse_vlv_control \
13924 ldap_parse_vlvresponse_control
13925 do :
13926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13928 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13929 cat >>confdefs.h <<_ACEOF
13930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13931 _ACEOF
13934 done
13936 LIBS="$ac_wine_check_funcs_save_LIBS"
13938 if test "x$LDAPLIBS" = "x"; then :
13939 case "x$with_ldap" in
13940 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13941 xno) ;;
13942 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13943 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13944 esac
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13948 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13949 if ${wine_cv_one_arg_mkdir+:} false; then :
13950 $as_echo_n "(cached) " >&6
13951 else
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13954 #include <sys/stat.h>
13956 main ()
13958 mkdir("foo");
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_compile "$LINENO"; then :
13964 wine_cv_one_arg_mkdir=yes
13965 else
13966 wine_cv_one_arg_mkdir=no
13968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13971 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13972 if test "$wine_cv_one_arg_mkdir" = "yes"
13973 then
13975 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13980 $as_echo_n "checking for sched_setaffinity... " >&6; }
13981 if ${wine_cv_have_sched_setaffinity+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 #define _GNU_SOURCE
13987 #include <sched.h>
13989 main ()
13991 sched_setaffinity(0, 0, 0);
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 wine_cv_have_sched_setaffinity=yes
13998 else
13999 wine_cv_have_sched_setaffinity=no
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14005 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14006 if test "$wine_cv_have_sched_setaffinity" = "yes"
14007 then
14009 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14014 $as_echo_n "checking for fallocate... " >&6; }
14015 if ${wine_cv_have_fallocate+:} false; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14020 #define _GNU_SOURCE
14021 #include <fcntl.h>
14023 main ()
14025 fallocate(-1, 0, 0, 0);
14027 return 0;
14029 _ACEOF
14030 if ac_fn_c_try_link "$LINENO"; then :
14031 wine_cv_have_fallocate=yes
14032 else
14033 wine_cv_have_fallocate=no
14035 rm -f core conftest.err conftest.$ac_objext \
14036 conftest$ac_exeext conftest.$ac_ext
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14039 $as_echo "$wine_cv_have_fallocate" >&6; }
14040 if test "$wine_cv_have_fallocate" = "yes"
14041 then
14043 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14049 $as_echo_n "checking for inline... " >&6; }
14050 if ${ac_cv_c_inline+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_cv_c_inline=no
14054 for ac_kw in inline __inline__ __inline; do
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14057 #ifndef __cplusplus
14058 typedef int foo_t;
14059 static $ac_kw foo_t static_foo () {return 0; }
14060 $ac_kw foo_t foo () {return 0; }
14061 #endif
14063 _ACEOF
14064 if ac_fn_c_try_compile "$LINENO"; then :
14065 ac_cv_c_inline=$ac_kw
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14068 test "$ac_cv_c_inline" != no && break
14069 done
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14073 $as_echo "$ac_cv_c_inline" >&6; }
14075 case $ac_cv_c_inline in
14076 inline | yes) ;;
14078 case $ac_cv_c_inline in
14079 no) ac_val=;;
14080 *) ac_val=$ac_cv_c_inline;;
14081 esac
14082 cat >>confdefs.h <<_ACEOF
14083 #ifndef __cplusplus
14084 #define inline $ac_val
14085 #endif
14086 _ACEOF
14088 esac
14090 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14091 if test "x$ac_cv_type_mode_t" = xyes; then :
14093 cat >>confdefs.h <<_ACEOF
14094 #define HAVE_MODE_T 1
14095 _ACEOF
14099 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14100 if test "x$ac_cv_type_off_t" = xyes; then :
14102 cat >>confdefs.h <<_ACEOF
14103 #define HAVE_OFF_T 1
14104 _ACEOF
14108 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14109 if test "x$ac_cv_type_pid_t" = xyes; then :
14111 cat >>confdefs.h <<_ACEOF
14112 #define HAVE_PID_T 1
14113 _ACEOF
14117 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14118 if test "x$ac_cv_type_size_t" = xyes; then :
14120 cat >>confdefs.h <<_ACEOF
14121 #define HAVE_SIZE_T 1
14122 _ACEOF
14126 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14127 if test "x$ac_cv_type_ssize_t" = xyes; then :
14129 cat >>confdefs.h <<_ACEOF
14130 #define HAVE_SSIZE_T 1
14131 _ACEOF
14135 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14136 if test "x$ac_cv_type_long_long" = xyes; then :
14138 cat >>confdefs.h <<_ACEOF
14139 #define HAVE_LONG_LONG 1
14140 _ACEOF
14144 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14145 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_FSBLKCNT_T 1
14149 _ACEOF
14153 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14154 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_FSFILCNT_T 1
14158 _ACEOF
14163 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14164 #include <signal.h>
14166 if test "x$ac_cv_type_sigset_t" = xyes; then :
14168 cat >>confdefs.h <<_ACEOF
14169 #define HAVE_SIGSET_T 1
14170 _ACEOF
14175 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14177 if test "x$ac_cv_type_request_sense" = xyes; then :
14179 cat >>confdefs.h <<_ACEOF
14180 #define HAVE_REQUEST_SENSE 1
14181 _ACEOF
14187 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14188 #ifdef HAVE_SYS_SOCKET_H
14189 #include <sys/socket.h>
14190 #endif
14191 #ifdef HAVE_SYS_SOCKETVAR_H
14192 #include <sys/socketvar.h>
14193 #endif
14194 #ifdef HAVE_NET_ROUTE_H
14195 #include <net/route.h>
14196 #endif
14197 #ifdef HAVE_NETINET_IN_H
14198 #include <netinet/in.h>
14199 #endif
14200 #ifdef HAVE_NETINET_IN_SYSTM_H
14201 #include <netinet/in_systm.h>
14202 #endif
14203 #ifdef HAVE_NETINET_IP_H
14204 #include <netinet/ip.h>
14205 #endif
14206 #ifdef HAVE_NETINET_IN_PCB_H
14207 #include <netinet/in_pcb.h>
14208 #endif
14210 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
14212 cat >>confdefs.h <<_ACEOF
14213 #define HAVE_STRUCT_XINPGEN 1
14214 _ACEOF
14220 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14221 #include <linux/input.h>
14222 #endif
14224 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
14226 cat >>confdefs.h <<_ACEOF
14227 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14228 _ACEOF
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14235 $as_echo_n "checking for sigaddset... " >&6; }
14236 if ${wine_cv_have_sigaddset+:} false; then :
14237 $as_echo_n "(cached) " >&6
14238 else
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14241 #include <signal.h>
14243 main ()
14245 sigset_t set; sigaddset(&set,SIGTERM);
14247 return 0;
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 wine_cv_have_sigaddset=yes
14252 else
14253 wine_cv_have_sigaddset=no
14255 rm -f core conftest.err conftest.$ac_objext \
14256 conftest$ac_exeext conftest.$ac_ext
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14259 $as_echo "$wine_cv_have_sigaddset" >&6; }
14260 if test "$wine_cv_have_sigaddset" = "yes"
14261 then
14263 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14269 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14270 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 #include <netdb.h>
14277 main ()
14280 char *name=0;
14281 struct hostent he;
14282 struct hostent *result;
14283 char *buf=0;
14284 int bufsize=0;
14285 int errnr;
14286 char *addr=0;
14287 int addrlen=0;
14288 int addrtype=0;
14289 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14290 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 wine_cv_linux_gethostbyname_r_6=yes
14298 else
14299 wine_cv_linux_gethostbyname_r_6=no
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14307 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14308 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14309 then
14311 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14315 if test "$ac_cv_header_linux_joystick_h" = "yes"
14316 then
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14318 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14319 if ${wine_cv_linux_joystick_22_api+:} false; then :
14320 $as_echo_n "(cached) " >&6
14321 else
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 /* end confdefs.h. */
14325 #include <sys/ioctl.h>
14326 #include <sys/types.h>
14327 #include <linux/joystick.h>
14329 struct js_event blub;
14330 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14331 #error "no 2.2 header"
14332 #endif
14335 main ()
14337 /*empty*/
14339 return 0;
14341 _ACEOF
14342 if ac_fn_c_try_compile "$LINENO"; then :
14343 wine_cv_linux_joystick_22_api=yes
14344 else
14345 wine_cv_linux_joystick_22_api=no
14347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14351 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14352 if test "$wine_cv_linux_joystick_22_api" = "yes"
14353 then
14355 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14361 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14362 #ifdef HAVE_SYS_PARAM_H
14363 # include <sys/param.h>
14364 #endif
14365 #ifdef HAVE_SYS_MOUNT_H
14366 # include <sys/mount.h>
14367 #endif
14368 #ifdef HAVE_SYS_VFS_H
14369 # include <sys/vfs.h>
14370 #endif
14371 #ifdef HAVE_SYS_STATFS_H
14372 # include <sys/statfs.h>
14373 #endif
14375 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14377 cat >>confdefs.h <<_ACEOF
14378 #define HAVE_STRUCT_STATFS_F_BFREE 1
14379 _ACEOF
14383 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14384 #ifdef HAVE_SYS_PARAM_H
14385 # include <sys/param.h>
14386 #endif
14387 #ifdef HAVE_SYS_MOUNT_H
14388 # include <sys/mount.h>
14389 #endif
14390 #ifdef HAVE_SYS_VFS_H
14391 # include <sys/vfs.h>
14392 #endif
14393 #ifdef HAVE_SYS_STATFS_H
14394 # include <sys/statfs.h>
14395 #endif
14397 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14399 cat >>confdefs.h <<_ACEOF
14400 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14401 _ACEOF
14405 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14406 #ifdef HAVE_SYS_PARAM_H
14407 # include <sys/param.h>
14408 #endif
14409 #ifdef HAVE_SYS_MOUNT_H
14410 # include <sys/mount.h>
14411 #endif
14412 #ifdef HAVE_SYS_VFS_H
14413 # include <sys/vfs.h>
14414 #endif
14415 #ifdef HAVE_SYS_STATFS_H
14416 # include <sys/statfs.h>
14417 #endif
14419 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14421 cat >>confdefs.h <<_ACEOF
14422 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14423 _ACEOF
14427 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14428 #ifdef HAVE_SYS_PARAM_H
14429 # include <sys/param.h>
14430 #endif
14431 #ifdef HAVE_SYS_MOUNT_H
14432 # include <sys/mount.h>
14433 #endif
14434 #ifdef HAVE_SYS_VFS_H
14435 # include <sys/vfs.h>
14436 #endif
14437 #ifdef HAVE_SYS_STATFS_H
14438 # include <sys/statfs.h>
14439 #endif
14441 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14443 cat >>confdefs.h <<_ACEOF
14444 #define HAVE_STRUCT_STATFS_F_FFREE 1
14445 _ACEOF
14449 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14450 #ifdef HAVE_SYS_PARAM_H
14451 # include <sys/param.h>
14452 #endif
14453 #ifdef HAVE_SYS_MOUNT_H
14454 # include <sys/mount.h>
14455 #endif
14456 #ifdef HAVE_SYS_VFS_H
14457 # include <sys/vfs.h>
14458 #endif
14459 #ifdef HAVE_SYS_STATFS_H
14460 # include <sys/statfs.h>
14461 #endif
14463 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14465 cat >>confdefs.h <<_ACEOF
14466 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14467 _ACEOF
14471 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14472 #ifdef HAVE_SYS_PARAM_H
14473 # include <sys/param.h>
14474 #endif
14475 #ifdef HAVE_SYS_MOUNT_H
14476 # include <sys/mount.h>
14477 #endif
14478 #ifdef HAVE_SYS_VFS_H
14479 # include <sys/vfs.h>
14480 #endif
14481 #ifdef HAVE_SYS_STATFS_H
14482 # include <sys/statfs.h>
14483 #endif
14485 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14487 cat >>confdefs.h <<_ACEOF
14488 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14489 _ACEOF
14495 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14496 #include <sys/statvfs.h>
14497 #endif
14499 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14501 cat >>confdefs.h <<_ACEOF
14502 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14503 _ACEOF
14509 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14510 #include <dirent.h>
14511 #endif
14513 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14515 cat >>confdefs.h <<_ACEOF
14516 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14517 _ACEOF
14523 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14524 #ifdef HAVE_SYS_SOCKET_H
14525 # include <sys/socket.h>
14526 #endif
14527 #ifdef HAVE_SYS_UN_H
14528 # include <sys/un.h>
14529 #endif
14531 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14533 cat >>confdefs.h <<_ACEOF
14534 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14535 _ACEOF
14539 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14540 #ifdef HAVE_SYS_SOCKET_H
14541 # include <sys/socket.h>
14542 #endif
14543 #ifdef HAVE_SYS_UN_H
14544 # include <sys/un.h>
14545 #endif
14547 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14549 cat >>confdefs.h <<_ACEOF
14550 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14551 _ACEOF
14555 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14556 #ifdef HAVE_SYS_SOCKET_H
14557 # include <sys/socket.h>
14558 #endif
14559 #ifdef HAVE_SYS_UN_H
14560 # include <sys/un.h>
14561 #endif
14563 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14565 cat >>confdefs.h <<_ACEOF
14566 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14567 _ACEOF
14573 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14574 #ifdef HAVE_SCSI_SG_H
14575 #include <scsi/sg.h>
14576 #endif
14578 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14580 cat >>confdefs.h <<_ACEOF
14581 #define HAVE_SCSIREQ_T_CMD 1
14582 _ACEOF
14586 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>
14587 #ifdef HAVE_SCSI_SG_H
14588 #include <scsi/sg.h>
14589 #endif
14591 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14593 cat >>confdefs.h <<_ACEOF
14594 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14595 _ACEOF
14601 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14603 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14605 cat >>confdefs.h <<_ACEOF
14606 #define HAVE_SIGINFO_T_SI_FD 1
14607 _ACEOF
14613 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14614 #ifdef HAVE_SYS_MTIO_H
14615 #include <sys/mtio.h>
14616 #endif
14618 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14620 cat >>confdefs.h <<_ACEOF
14621 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14622 _ACEOF
14626 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14627 #ifdef HAVE_SYS_MTIO_H
14628 #include <sys/mtio.h>
14629 #endif
14631 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14633 cat >>confdefs.h <<_ACEOF
14634 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14635 _ACEOF
14639 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14640 #ifdef HAVE_SYS_MTIO_H
14641 #include <sys/mtio.h>
14642 #endif
14644 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14646 cat >>confdefs.h <<_ACEOF
14647 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14648 _ACEOF
14654 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14655 #include <getopt.h>
14656 #endif
14658 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14660 cat >>confdefs.h <<_ACEOF
14661 #define HAVE_STRUCT_OPTION_NAME 1
14662 _ACEOF
14668 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14669 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14671 cat >>confdefs.h <<_ACEOF
14672 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14673 _ACEOF
14677 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14678 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_STRUCT_STAT_ST_MTIM 1
14682 _ACEOF
14686 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14687 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14689 cat >>confdefs.h <<_ACEOF
14690 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14691 _ACEOF
14695 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14696 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14698 cat >>confdefs.h <<_ACEOF
14699 #define HAVE_STRUCT_STAT_ST_CTIM 1
14700 _ACEOF
14704 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14705 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14707 cat >>confdefs.h <<_ACEOF
14708 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14709 _ACEOF
14713 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14714 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14716 cat >>confdefs.h <<_ACEOF
14717 #define HAVE_STRUCT_STAT_ST_ATIM 1
14718 _ACEOF
14722 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14723 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14725 cat >>confdefs.h <<_ACEOF
14726 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14727 _ACEOF
14731 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14732 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14734 cat >>confdefs.h <<_ACEOF
14735 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14736 _ACEOF
14740 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14741 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14743 cat >>confdefs.h <<_ACEOF
14744 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14745 _ACEOF
14749 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14750 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14752 cat >>confdefs.h <<_ACEOF
14753 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14754 _ACEOF
14758 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14759 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14761 cat >>confdefs.h <<_ACEOF
14762 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14763 _ACEOF
14767 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14768 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14770 cat >>confdefs.h <<_ACEOF
14771 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14772 _ACEOF
14778 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
14779 #include <sys/types.h>
14780 #endif
14781 #ifdef HAVE_NETINET_IN_H
14782 #include <netinet/in.h>
14783 #endif
14785 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14789 _ACEOF
14795 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14796 #include <sys/types.h>
14797 #endif
14798 #ifdef HAVE_NETINET_IN_H
14799 # include <netinet/in.h>
14800 #endif
14801 #ifdef HAVE_ARPA_NAMESER_H
14802 # include <arpa/nameser.h>
14803 #endif
14805 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14807 cat >>confdefs.h <<_ACEOF
14808 #define HAVE_NS_MSG__MSG_PTR 1
14809 _ACEOF
14815 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14816 #include <sys/types.h>
14817 #endif
14818 #ifdef HAVE_NETINET_IP_H
14819 #include <netinet/ip.h>
14820 #endif
14821 #ifdef HAVE_NETINET_IP_ICMP_H
14822 #include <netinet/ip_icmp.h>
14823 #endif
14824 #ifdef HAVE_NETINET_ICMP_VAR_H
14825 #include <netinet/icmp_var.h>
14826 #endif
14828 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14830 cat >>confdefs.h <<_ACEOF
14831 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14832 _ACEOF
14838 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14839 #include <sys/types.h>
14840 #endif
14841 #ifdef HAVE_ALIAS_H
14842 #include <alias.h>
14843 #endif
14844 #ifdef HAVE_SYS_SOCKET_H
14845 #include <sys/socket.h>
14846 #endif
14847 #ifdef HAVE_SYS_SOCKETVAR_H
14848 #include <sys/socketvar.h>
14849 #endif
14850 #ifdef HAVE_SYS_TIMEOUT_H
14851 #include <sys/timeout.h>
14852 #endif
14853 #ifdef HAVE_NETINET_IN_H
14854 #include <netinet/in.h>
14855 #endif
14856 #ifdef HAVE_NETINET_IN_SYSTM_H
14857 #include <netinet/in_systm.h>
14858 #endif
14859 #ifdef HAVE_NETINET_IP_H
14860 #include <netinet/ip.h>
14861 #endif
14862 #ifdef HAVE_NETINET_IP_VAR_H
14863 #include <netinet/ip_var.h>
14864 #endif
14865 #ifdef HAVE_NETINET_IP_ICMP_H
14866 #include <netinet/ip_icmp.h>
14867 #endif
14868 #ifdef HAVE_NETINET_ICMP_VAR_H
14869 #include <netinet/icmp_var.h>
14870 #endif
14872 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14874 cat >>confdefs.h <<_ACEOF
14875 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14876 _ACEOF
14882 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14883 #include <sys/types.h>
14884 #endif
14885 #ifdef HAVE_SYS_SOCKETVAR_H
14886 #include <sys/socketvar.h>
14887 #endif
14888 #ifdef HAVE_NETINET_IN_H
14889 #include <netinet/in.h>
14890 #endif
14891 #ifdef HAVE_NETINET_IP_VAR_H
14892 #include <netinet/ip_var.h>
14893 #endif
14895 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14897 cat >>confdefs.h <<_ACEOF
14898 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14899 _ACEOF
14905 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
14906 #include <netinet/ip_var.h>
14907 #endif
14909 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14911 cat >>confdefs.h <<_ACEOF
14912 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14913 _ACEOF
14919 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14920 #include <sys/types.h>
14921 #endif
14922 #ifdef HAVE_SYS_SOCKETVAR_H
14923 #include <sys/socketvar.h>
14924 #endif
14925 #ifdef HAVE_NETINET_IN_H
14926 #include <netinet/in.h>
14927 #endif
14928 #ifdef HAVE_NETINET_TCP_H
14929 #include <netinet/tcp.h>
14930 #endif
14931 #ifdef HAVE_NETINET_TCP_VAR_H
14932 #include <netinet/tcp_var.h>
14933 #endif
14935 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14937 cat >>confdefs.h <<_ACEOF
14938 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14939 _ACEOF
14945 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
14946 #include <netinet/tcp_var.h>
14947 #endif
14949 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14951 cat >>confdefs.h <<_ACEOF
14952 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14953 _ACEOF
14959 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14960 #include <sys/types.h>
14961 #endif
14962 #ifdef HAVE_NETINET_IN_H
14963 #include <netinet/in.h>
14964 #endif
14965 #ifdef HAVE_NETINET_IP_VAR_H
14966 #include <netinet/ip_var.h>
14967 #endif
14968 #ifdef HAVE_NETINET_UDP_H
14969 #include <netinet/udp.h>
14970 #endif
14971 #ifdef HAVE_NETINET_UDP_VAR_H
14972 #include <netinet/udp_var.h>
14973 #endif
14975 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14977 cat >>confdefs.h <<_ACEOF
14978 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14979 _ACEOF
14985 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14986 #include <sys/types.h>
14987 #endif
14988 #ifdef HAVE_NET_IF_H
14989 # include <net/if.h>
14990 #endif
14992 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14994 cat >>confdefs.h <<_ACEOF
14995 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14996 _ACEOF
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15003 $as_echo_n "checking for timezone variable... " >&6; }
15004 if ${ac_cv_have_timezone+:} false; then :
15005 $as_echo_n "(cached) " >&6
15006 else
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 #include <time.h>
15011 main ()
15013 timezone = 1
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 ac_cv_have_timezone="yes"
15020 else
15021 ac_cv_have_timezone="no"
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15027 $as_echo "$ac_cv_have_timezone" >&6; }
15028 if test "$ac_cv_have_timezone" = "yes"
15029 then
15031 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15035 $as_echo_n "checking for daylight variable... " >&6; }
15036 if ${ac_cv_have_daylight+:} false; then :
15037 $as_echo_n "(cached) " >&6
15038 else
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #include <time.h>
15043 main ()
15045 daylight = 1
15047 return 0;
15049 _ACEOF
15050 if ac_fn_c_try_link "$LINENO"; then :
15051 ac_cv_have_daylight="yes"
15052 else
15053 ac_cv_have_daylight="no"
15055 rm -f core conftest.err conftest.$ac_objext \
15056 conftest$ac_exeext conftest.$ac_ext
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15059 $as_echo "$ac_cv_have_daylight" >&6; }
15060 if test "$ac_cv_have_daylight" = "yes"
15061 then
15063 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15067 ac_save_LIBS="$LIBS"
15068 LIBS="$LIBS -lm"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15070 $as_echo_n "checking for isinf... " >&6; }
15071 if ${ac_cv_have_isinf+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15076 #include <math.h>
15078 main ()
15080 float f = 0.0; return isinf(f)
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_have_isinf="yes"
15087 else
15088 ac_cv_have_isinf="no"
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15094 $as_echo "$ac_cv_have_isinf" >&6; }
15095 if test "$ac_cv_have_isinf" = "yes"
15096 then
15098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15103 $as_echo_n "checking for isnan... " >&6; }
15104 if ${ac_cv_have_isnan+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 #include <math.h>
15111 main ()
15113 float f = 0.0; return isnan(f)
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_link "$LINENO"; then :
15119 ac_cv_have_isnan="yes"
15120 else
15121 ac_cv_have_isnan="no"
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15127 $as_echo "$ac_cv_have_isnan" >&6; }
15128 if test "$ac_cv_have_isnan" = "yes"
15129 then
15131 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15134 LIBS="$ac_save_LIBS"
15137 case $host_cpu in
15138 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15139 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15140 if ${ac_cv_cpp_def___i386__+:} false; then :
15141 $as_echo_n "(cached) " >&6
15142 else
15143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #ifndef __i386__
15147 #endif
15148 _ACEOF
15149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15150 $EGREP "yes" >/dev/null 2>&1; then :
15151 ac_cv_cpp_def___i386__=yes
15152 else
15153 ac_cv_cpp_def___i386__=no
15155 rm -f conftest*
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15159 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15160 if test $ac_cv_cpp_def___i386__ = yes; then :
15161 CFLAGS="$CFLAGS -D__i386__"
15162 LINTFLAGS="$LINTFLAGS -D__i386__"
15163 fi ;;
15164 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15165 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15166 if ${ac_cv_cpp_def___x86_64__+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15171 #ifndef __x86_64__
15173 #endif
15174 _ACEOF
15175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15176 $EGREP "yes" >/dev/null 2>&1; then :
15177 ac_cv_cpp_def___x86_64__=yes
15178 else
15179 ac_cv_cpp_def___x86_64__=no
15181 rm -f conftest*
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15185 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15186 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15187 CFLAGS="$CFLAGS -D__x86_64__"
15188 LINTFLAGS="$LINTFLAGS -D__x86_64__"
15189 fi ;;
15190 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15191 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15192 if ${ac_cv_cpp_def___sparc64__+:} false; then :
15193 $as_echo_n "(cached) " >&6
15194 else
15195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 #ifndef __sparc64__
15199 #endif
15200 _ACEOF
15201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15202 $EGREP "yes" >/dev/null 2>&1; then :
15203 ac_cv_cpp_def___sparc64__=yes
15204 else
15205 ac_cv_cpp_def___sparc64__=no
15207 rm -f conftest*
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15211 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15212 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15213 CFLAGS="$CFLAGS -D__sparc64__"
15214 LINTFLAGS="$LINTFLAGS -D__sparc64__"
15215 fi ;;
15216 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15217 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15218 if ${ac_cv_cpp_def___sparc__+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #ifndef __sparc__
15225 #endif
15226 _ACEOF
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "yes" >/dev/null 2>&1; then :
15229 ac_cv_cpp_def___sparc__=yes
15230 else
15231 ac_cv_cpp_def___sparc__=no
15233 rm -f conftest*
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15237 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15238 if test $ac_cv_cpp_def___sparc__ = yes; then :
15239 CFLAGS="$CFLAGS -D__sparc__"
15240 LINTFLAGS="$LINTFLAGS -D__sparc__"
15241 fi ;;
15242 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15243 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15244 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
15245 $as_echo_n "(cached) " >&6
15246 else
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #ifndef __powerpc64__
15251 #endif
15252 _ACEOF
15253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15254 $EGREP "yes" >/dev/null 2>&1; then :
15255 ac_cv_cpp_def___powerpc64__=yes
15256 else
15257 ac_cv_cpp_def___powerpc64__=no
15259 rm -f conftest*
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15263 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15264 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15265 CFLAGS="$CFLAGS -D__powerpc64__"
15266 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
15267 fi ;;
15268 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15269 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15270 if ${ac_cv_cpp_def___powerpc__+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 #ifndef __powerpc__
15277 #endif
15278 _ACEOF
15279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15280 $EGREP "yes" >/dev/null 2>&1; then :
15281 ac_cv_cpp_def___powerpc__=yes
15282 else
15283 ac_cv_cpp_def___powerpc__=no
15285 rm -f conftest*
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15289 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15290 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15291 CFLAGS="$CFLAGS -D__powerpc__"
15292 LINTFLAGS="$LINTFLAGS -D__powerpc__"
15293 fi ;;
15294 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15295 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15296 if ${ac_cv_cpp_def___aarch64__+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301 #ifndef __aarch64__
15303 #endif
15304 _ACEOF
15305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15306 $EGREP "yes" >/dev/null 2>&1; then :
15307 ac_cv_cpp_def___aarch64__=yes
15308 else
15309 ac_cv_cpp_def___aarch64__=no
15311 rm -f conftest*
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15315 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15316 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15317 CFLAGS="$CFLAGS -D__aarch64__"
15318 LINTFLAGS="$LINTFLAGS -D__aarch64__"
15319 fi ;;
15320 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15321 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15322 if ${ac_cv_cpp_def___arm__+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #ifndef __arm__
15329 #endif
15330 _ACEOF
15331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15332 $EGREP "yes" >/dev/null 2>&1; then :
15333 ac_cv_cpp_def___arm__=yes
15334 else
15335 ac_cv_cpp_def___arm__=no
15337 rm -f conftest*
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15341 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15342 if test $ac_cv_cpp_def___arm__ = yes; then :
15343 CFLAGS="$CFLAGS -D__arm__"
15344 LINTFLAGS="$LINTFLAGS -D__arm__"
15345 fi ;;
15346 esac
15348 case $host_vendor in
15349 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15350 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15351 if ${ac_cv_cpp_def___sun__+:} false; then :
15352 $as_echo_n "(cached) " >&6
15353 else
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15356 #ifndef __sun__
15358 #endif
15359 _ACEOF
15360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15361 $EGREP "yes" >/dev/null 2>&1; then :
15362 ac_cv_cpp_def___sun__=yes
15363 else
15364 ac_cv_cpp_def___sun__=no
15366 rm -f conftest*
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15370 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15371 if test $ac_cv_cpp_def___sun__ = yes; then :
15372 CFLAGS="$CFLAGS -D__sun__"
15373 LINTFLAGS="$LINTFLAGS -D__sun__"
15374 fi ;;
15375 esac
15381 ac_config_commands="$ac_config_commands include/stamp-h"
15384 ALL_MAKEFILE_DEPENDS="
15385 # Rules automatically generated by configure
15387 .INIT: Makefile
15388 .MAKEFILEDEPS:
15389 all: Makefile
15390 Makefile: Makefile.in Make.vars.in Make.rules config.status
15391 @./config.status Make.tmp Makefile"
15393 ALL_POT_FILES=""
15394 ALL_TEST_RESOURCES=""
15397 wine_fn_append_file ()
15399 as_fn_append $1 " \\$as_nl $2"
15402 wine_fn_append_rule ()
15404 as_fn_append $1 "$as_nl$2"
15407 wine_fn_has_flag ()
15409 expr ",$2," : ".*,$1,.*" >/dev/null
15412 wine_fn_all_dir_rules ()
15414 ac_dir=$1
15415 ac_alldeps=$2
15416 ac_makedep="\$(MAKEDEP)"
15417 ac_input=Make.vars.in:$ac_dir/Makefile.in
15418 if test $ac_dir != tools
15419 then
15420 ac_alldeps="$2 $ac_makedep"
15421 else
15422 ac_alldeps="$2 include/config.h"
15424 case $2 in
15425 *.in) ac_input=$ac_input:$2 ;;
15426 *) ac_makedep="$2 $ac_makedep" ;;
15427 esac
15429 wine_fn_append_file ALL_DIRS $ac_dir
15430 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15431 "__clean__: $ac_dir/__clean__
15432 .PHONY: $ac_dir/__clean__
15433 $ac_dir/__clean__: $ac_dir/Makefile
15434 @cd $ac_dir && \$(MAKE) clean
15435 \$(RM) $ac_dir/Makefile
15436 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15437 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15438 depend: $ac_dir/__depend__
15439 .PHONY: $ac_dir/__depend__
15440 $ac_dir/__depend__: $ac_makedep dummy
15441 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15444 wine_fn_pot_rules ()
15446 ac_dir=$1
15447 ac_flags=$2
15449 test "x$with_gettextpo" = xyes || return
15451 if wine_fn_has_flag mc $ac_flags
15452 then
15453 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15454 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15455 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15456 @cd $ac_dir && \$(MAKE) msg.pot
15457 $ac_dir/msg.pot: tools/wmc include"
15459 if wine_fn_has_flag po $ac_flags
15460 then
15461 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15462 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15463 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15464 @cd $ac_dir && \$(MAKE) rsrc.pot
15465 $ac_dir/rsrc.pot: tools/wrc include"
15469 wine_fn_config_makefile ()
15471 ac_dir=$1
15472 ac_enable=$2
15473 ac_flags=$3
15474 ac_rules=$4
15475 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15476 return 0
15479 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15480 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15481 "all: $ac_dir
15482 .PHONY: $ac_dir
15483 $ac_dir: $ac_dir/Makefile dummy
15484 @cd $ac_dir && \$(MAKE)"
15486 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15488 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15489 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15490 $ac_dir/__install__:: $ac_dir
15491 @cd $ac_dir && \$(MAKE) install
15492 $ac_dir/__uninstall__:: $ac_dir/Makefile
15493 @cd $ac_dir && \$(MAKE) uninstall
15494 install:: $ac_dir/__install__
15495 __uninstall__: $ac_dir/__uninstall__"
15497 if wine_fn_has_flag install-lib $ac_flags
15498 then
15499 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15500 ".PHONY: $ac_dir/__install-lib__
15501 $ac_dir/__install-lib__:: $ac_dir
15502 @cd $ac_dir && \$(MAKE) install-lib
15503 install-lib:: $ac_dir/__install-lib__"
15506 if wine_fn_has_flag install-dev $ac_flags
15507 then
15508 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15509 ".PHONY: $ac_dir/__install-dev
15510 $ac_dir/__install-dev__:: $ac_dir
15511 @cd $ac_dir && \$(MAKE) install-dev
15512 install-dev:: $ac_dir/__install-dev__"
15516 wine_fn_config_lib ()
15518 ac_name=$1
15519 ac_flags=$2
15520 ac_dir=dlls/$ac_name
15521 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15523 if wine_fn_has_flag install-dev $ac_flags
15524 then :
15525 else
15526 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15527 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15528 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15529 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15530 $ac_dir/__uninstall__::
15531 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15532 install install-dev:: $ac_dir/__install__
15533 __uninstall__: $ac_dir/__uninstall__"
15536 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15537 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15540 wine_fn_config_dll ()
15542 ac_name=$1
15543 ac_dir=dlls/$ac_name
15544 ac_enable=$2
15545 ac_flags=$3
15546 ac_implib=${4:-$ac_name}
15547 ac_file=$ac_dir/lib$ac_implib
15548 ac_dll=$ac_name
15549 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15550 ac_implibflags=""
15552 case $ac_name in
15553 *16) ac_implibflags=" -m16" ;;
15554 *.*) ;;
15555 *) ac_dll=$ac_dll.dll ;;
15556 esac
15558 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15560 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15561 test "$ac_enable" != enable_win16 || return 0
15562 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15563 else
15564 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15565 "$ac_dir: __builddeps__
15566 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15567 @cd $ac_dir && \$(MAKE) \$@"
15569 if wine_fn_has_flag install-lib $ac_flags
15570 then :
15571 else
15572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15573 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15574 install install-lib:: $ac_dir/__install-lib__
15575 __uninstall__: $ac_dir/__uninstall__"
15576 if test -n "$DLLEXT"
15577 then
15578 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15579 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15580 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15581 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15582 $ac_dir/__uninstall__::
15583 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15584 else
15585 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15586 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15587 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15588 $ac_dir/__uninstall__::
15589 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15593 wine_fn_pot_rules $ac_dir $ac_flags
15596 if wine_fn_has_flag staticimplib $ac_flags
15597 then
15598 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15599 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15600 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15601 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15602 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15603 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15604 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15605 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15606 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15607 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15608 $ac_dir/__uninstall__::
15609 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15610 install install-dev:: $ac_dir/__install-dev__
15611 __uninstall__: $ac_dir/__uninstall__"
15613 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15614 then
15615 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15616 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15617 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15618 $ac_dir/__uninstall__::
15619 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15622 if test "x$CROSSTEST_DISABLE" = x
15623 then
15624 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15625 "__builddeps__: $ac_file.cross.a
15626 $ac_file.cross.a: $ac_dir/Makefile dummy
15627 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15630 elif wine_fn_has_flag implib $ac_flags
15631 then
15632 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15633 "__builddeps__: $ac_file.$IMPLIBEXT
15634 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15635 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15636 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15637 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15638 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15639 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15640 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15641 $ac_dir/__uninstall__::
15642 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15643 install install-dev:: $ac_dir/__install-dev__
15644 __uninstall__: $ac_dir/__uninstall__"
15645 if test "x$CROSSTEST_DISABLE" = x
15646 then
15647 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15648 "__builddeps__: $ac_file.cross.a
15649 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15650 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15653 if test "$ac_name" != "$ac_implib"
15654 then
15655 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15656 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15657 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15658 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15659 clean::
15660 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15661 if test "x$CROSSTEST_DISABLE" = x
15662 then
15663 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15664 "__builddeps__: dlls/lib$ac_implib.cross.a
15665 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15666 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15672 wine_fn_config_program ()
15674 ac_name=$1
15675 ac_dir=programs/$ac_name
15676 ac_enable=$2
15677 ac_flags=$3
15678 ac_program=$ac_name
15680 case $ac_name in
15681 *.*) ;;
15682 *) ac_program=$ac_program.exe ;;
15683 esac
15685 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15687 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15689 else
15690 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15691 "$ac_dir: __builddeps__"
15693 wine_fn_pot_rules $ac_dir $ac_flags
15695 wine_fn_has_flag install $ac_flags || return
15696 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15697 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15698 install install-lib:: $ac_dir/__install__
15699 __uninstall__: $ac_dir/__uninstall__"
15701 if test -n "$DLLEXT"
15702 then
15703 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15704 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15705 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15706 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15707 $ac_dir/__uninstall__::
15708 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15710 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15711 then
15712 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15713 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15714 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15715 $ac_dir/__uninstall__::
15716 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15718 else
15719 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15720 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15721 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15722 $ac_dir/__uninstall__::
15723 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15726 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15727 then
15728 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15729 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15730 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15731 $ac_dir/__uninstall__::
15732 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15737 wine_fn_config_test ()
15739 ac_dir=$1
15740 ac_name=$2
15741 ac_flags=$3
15742 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15743 wine_fn_all_dir_rules $ac_dir Maketest.rules
15745 if test "x$enable_tests" = xno; then :
15747 else
15748 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15749 "all: $ac_dir
15750 .PHONY: $ac_dir
15751 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15752 @cd $ac_dir && \$(MAKE)
15753 programs/winetest: $ac_dir
15754 check test: $ac_dir/__test__
15755 .PHONY: $ac_dir/__test__
15756 $ac_dir/__test__: dummy
15757 @cd $ac_dir && \$(MAKE) test
15758 testclean::
15759 \$(RM) $ac_dir/*.ok"
15761 if test "x$CROSSTEST_DISABLE" = x
15762 then
15763 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15764 "crosstest: $ac_dir/__crosstest__
15765 .PHONY: $ac_dir/__crosstest__
15766 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15767 @cd $ac_dir && \$(MAKE) crosstest"
15772 wine_fn_config_tool ()
15774 ac_dir=$1
15775 ac_flags=$2
15776 if test "x$enable_tools" = xno; then :
15777 return 0
15780 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15782 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15783 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15784 case $ac_dir in
15785 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15786 esac
15789 wine_fn_config_makerules ()
15791 ac_rules=$1
15792 ac_deps=$2
15793 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15794 "$ac_rules: $ac_rules.in $ac_deps config.status
15795 @./config.status $ac_rules
15796 distclean::
15797 \$(RM) $ac_rules"
15800 wine_fn_config_symlink ()
15802 ac_link=$1
15803 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15804 "$ac_link:
15805 @./config.status $ac_link
15806 distclean::
15807 \$(RM) $ac_link"
15810 if test "x$CROSSTEST_DISABLE" != x
15811 then
15812 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15813 "crosstest:
15814 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15816 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15817 wine_fn_config_symlink dlls/shell32/AUTHORS
15818 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15819 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15820 if test "x$enable_fonts" != xno; then
15821 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15822 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15824 if test "x$enable_fonts" != xno; then
15825 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15826 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15828 if test "x$enable_fonts" != xno; then
15829 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15830 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15832 if test "x$enable_fonts" != xno; then
15833 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15834 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15836 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15837 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15838 if test "x$enable_tools" != xno; then
15839 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15840 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15842 ac_config_links="$ac_config_links wine:tools/winewrapper"
15843 wine_fn_config_symlink wine
15844 if test "x$enable_win64" != xno; then
15845 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15846 wine_fn_config_symlink wine64
15849 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15851 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15853 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15855 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15857 ac_config_commands="$ac_config_commands dlls/user32/resources"
15859 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15861 ac_config_commands="$ac_config_commands include/wine"
15864 wine_fn_config_makerules Make.rules
15865 MAKE_RULES=Make.rules
15866 ac_config_files="$ac_config_files Make.rules"
15868 wine_fn_config_makerules Maketest.rules Make.rules
15869 MAKE_TEST_RULES=Maketest.rules
15870 ac_config_files="$ac_config_files Maketest.rules"
15872 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15873 MAKE_DLL_RULES=dlls/Makedll.rules
15874 ac_config_files="$ac_config_files dlls/Makedll.rules"
15876 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15877 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15878 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15880 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15881 MAKE_PROG_RULES=programs/Makeprog.rules
15882 ac_config_files="$ac_config_files programs/Makeprog.rules"
15885 wine_fn_config_dll acledit enable_acledit
15886 wine_fn_config_dll aclui enable_aclui implib
15887 wine_fn_config_dll activeds enable_activeds implib
15888 wine_fn_config_dll actxprxy enable_actxprxy
15889 wine_fn_config_lib adsiid
15890 wine_fn_config_dll advapi32 enable_advapi32 implib
15891 wine_fn_config_test dlls/advapi32/tests advapi32_test
15892 wine_fn_config_dll advpack enable_advpack implib
15893 wine_fn_config_test dlls/advpack/tests advpack_test
15894 wine_fn_config_dll amstream enable_amstream
15895 wine_fn_config_test dlls/amstream/tests amstream_test
15896 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
15897 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
15898 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15899 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15900 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15901 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15902 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15903 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15904 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15905 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15906 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15907 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15908 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15909 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15910 wine_fn_config_dll apphelp enable_apphelp
15911 wine_fn_config_test dlls/apphelp/tests apphelp_test
15912 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15913 wine_fn_config_dll atl enable_atl implib
15914 wine_fn_config_test dlls/atl/tests atl_test
15915 wine_fn_config_dll atl100 enable_atl100 implib
15916 wine_fn_config_test dlls/atl100/tests atl100_test
15917 wine_fn_config_dll atl110 enable_atl110
15918 wine_fn_config_dll atl80 enable_atl80 implib
15919 wine_fn_config_test dlls/atl80/tests atl80_test
15920 wine_fn_config_dll authz enable_authz
15921 wine_fn_config_dll avicap32 enable_avicap32 implib
15922 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15923 wine_fn_config_test dlls/avifil32/tests avifil32_test
15924 wine_fn_config_dll avifile.dll16 enable_win16
15925 wine_fn_config_dll avrt enable_avrt implib
15926 wine_fn_config_dll bcrypt enable_bcrypt
15927 wine_fn_config_dll browseui enable_browseui po
15928 wine_fn_config_test dlls/browseui/tests browseui_test
15929 wine_fn_config_dll cabinet enable_cabinet implib
15930 wine_fn_config_test dlls/cabinet/tests cabinet_test
15931 wine_fn_config_dll capi2032 enable_capi2032 implib
15932 wine_fn_config_dll cards enable_cards implib
15933 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15934 wine_fn_config_dll clusapi enable_clusapi implib
15935 wine_fn_config_dll comcat enable_comcat
15936 wine_fn_config_test dlls/comcat/tests comcat_test
15937 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15938 wine_fn_config_test dlls/comctl32/tests comctl32_test
15939 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15940 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15941 wine_fn_config_dll comm.drv16 enable_win16
15942 wine_fn_config_dll commdlg.dll16 enable_win16
15943 wine_fn_config_dll compobj.dll16 enable_win16
15944 wine_fn_config_dll compstui enable_compstui implib
15945 wine_fn_config_dll comsvcs enable_comsvcs implib
15946 wine_fn_config_dll credui enable_credui implib,po
15947 wine_fn_config_test dlls/credui/tests credui_test
15948 wine_fn_config_dll crtdll enable_crtdll implib
15949 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15950 wine_fn_config_test dlls/crypt32/tests crypt32_test
15951 wine_fn_config_dll cryptdlg enable_cryptdlg po
15952 wine_fn_config_dll cryptdll enable_cryptdll implib
15953 wine_fn_config_dll cryptnet enable_cryptnet implib
15954 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15955 wine_fn_config_dll cryptui enable_cryptui implib,po
15956 wine_fn_config_test dlls/cryptui/tests cryptui_test
15957 wine_fn_config_dll ctapi32 enable_ctapi32
15958 wine_fn_config_dll ctl3d.dll16 enable_win16
15959 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15960 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15961 wine_fn_config_dll d3d10 enable_d3d10 implib
15962 wine_fn_config_test dlls/d3d10/tests d3d10_test
15963 wine_fn_config_dll d3d10core enable_d3d10core implib
15964 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15965 wine_fn_config_dll d3d11 enable_d3d11
15966 wine_fn_config_dll d3d8 enable_d3d8 implib
15967 wine_fn_config_test dlls/d3d8/tests d3d8_test
15968 wine_fn_config_dll d3d9 enable_d3d9 implib
15969 wine_fn_config_test dlls/d3d9/tests d3d9_test
15970 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15971 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15972 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15973 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15974 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15975 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15976 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15977 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15978 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15979 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15980 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15981 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15982 wine_fn_config_dll d3dim enable_d3dim implib
15983 wine_fn_config_dll d3drm enable_d3drm implib
15984 wine_fn_config_test dlls/d3drm/tests d3drm_test
15985 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15986 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15987 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15988 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15989 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15990 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15991 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15992 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15993 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15994 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15995 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15996 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
15997 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
15998 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15999 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16000 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16001 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16002 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16003 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16004 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16005 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16006 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16007 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16008 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16009 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16010 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16011 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
16012 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16013 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16014 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16015 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16016 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16017 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16018 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16019 wine_fn_config_dll d3dxof enable_d3dxof implib
16020 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
16021 wine_fn_config_dll dbgeng enable_dbgeng implib
16022 wine_fn_config_dll dbghelp enable_dbghelp implib
16023 wine_fn_config_dll dciman32 enable_dciman32 implib
16024 wine_fn_config_dll ddeml.dll16 enable_win16
16025 wine_fn_config_dll ddraw enable_ddraw implib
16026 wine_fn_config_test dlls/ddraw/tests ddraw_test
16027 wine_fn_config_dll ddrawex enable_ddrawex
16028 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
16029 wine_fn_config_dll devenum enable_devenum po
16030 wine_fn_config_test dlls/devenum/tests devenum_test
16031 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16032 wine_fn_config_dll difxapi enable_difxapi
16033 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
16034 wine_fn_config_test dlls/dinput/tests dinput_test
16035 wine_fn_config_dll dinput8 enable_dinput8 implib
16036 wine_fn_config_test dlls/dinput8/tests dinput8_test
16037 wine_fn_config_dll dispdib.dll16 enable_win16
16038 wine_fn_config_dll dispex enable_dispex
16039 wine_fn_config_test dlls/dispex/tests dispex_test
16040 wine_fn_config_dll display.drv16 enable_win16
16041 wine_fn_config_dll dmband enable_dmband
16042 wine_fn_config_test dlls/dmband/tests dmband_test
16043 wine_fn_config_dll dmcompos enable_dmcompos
16044 wine_fn_config_dll dmime enable_dmime
16045 wine_fn_config_test dlls/dmime/tests dmime_test
16046 wine_fn_config_dll dmloader enable_dmloader
16047 wine_fn_config_test dlls/dmloader/tests dmloader_test
16048 wine_fn_config_dll dmscript enable_dmscript
16049 wine_fn_config_dll dmstyle enable_dmstyle
16050 wine_fn_config_dll dmsynth enable_dmsynth
16051 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
16052 wine_fn_config_dll dmusic enable_dmusic
16053 wine_fn_config_test dlls/dmusic/tests dmusic_test
16054 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16055 wine_fn_config_dll dnsapi enable_dnsapi implib
16056 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
16057 wine_fn_config_dll dplay enable_dplay implib
16058 wine_fn_config_dll dplayx enable_dplayx implib
16059 wine_fn_config_test dlls/dplayx/tests dplayx_test
16060 wine_fn_config_dll dpnaddr enable_dpnaddr
16061 wine_fn_config_dll dpnet enable_dpnet implib
16062 wine_fn_config_test dlls/dpnet/tests dpnet_test
16063 wine_fn_config_dll dpnhpast enable_dpnhpast
16064 wine_fn_config_dll dpnlobby enable_dpnlobby
16065 wine_fn_config_dll dpwsockx enable_dpwsockx
16066 wine_fn_config_dll drmclien enable_drmclien
16067 wine_fn_config_dll dsound enable_dsound implib
16068 wine_fn_config_test dlls/dsound/tests dsound_test
16069 wine_fn_config_dll dssenh enable_dssenh
16070 wine_fn_config_test dlls/dssenh/tests dssenh_test
16071 wine_fn_config_dll dswave enable_dswave
16072 wine_fn_config_dll dwmapi enable_dwmapi implib
16073 wine_fn_config_dll dwrite enable_dwrite implib
16074 wine_fn_config_test dlls/dwrite/tests dwrite_test
16075 wine_fn_config_dll dxdiagn enable_dxdiagn po
16076 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
16077 wine_fn_config_lib dxerr8
16078 wine_fn_config_lib dxerr9
16079 wine_fn_config_dll dxgi enable_dxgi implib
16080 wine_fn_config_test dlls/dxgi/tests dxgi_test
16081 wine_fn_config_lib dxguid
16082 wine_fn_config_dll explorerframe enable_explorerframe
16083 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
16084 wine_fn_config_dll faultrep enable_faultrep implib
16085 wine_fn_config_test dlls/faultrep/tests faultrep_test
16086 wine_fn_config_dll fltlib enable_fltlib
16087 wine_fn_config_dll fusion enable_fusion
16088 wine_fn_config_test dlls/fusion/tests fusion_test
16089 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16090 wine_fn_config_dll gameux enable_gameux
16091 wine_fn_config_test dlls/gameux/tests gameux_test
16092 wine_fn_config_dll gdi.exe16 enable_win16
16093 wine_fn_config_dll gdi32 enable_gdi32 implib,po
16094 wine_fn_config_test dlls/gdi32/tests gdi32_test
16095 wine_fn_config_dll gdiplus enable_gdiplus implib
16096 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
16097 wine_fn_config_dll glu32 enable_glu32 implib
16098 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16099 wine_fn_config_dll gpkcsp enable_gpkcsp
16100 wine_fn_config_dll hal enable_hal
16101 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
16102 wine_fn_config_dll hid enable_hid implib
16103 wine_fn_config_dll hlink enable_hlink implib
16104 wine_fn_config_test dlls/hlink/tests hlink_test
16105 wine_fn_config_dll hnetcfg enable_hnetcfg
16106 wine_fn_config_dll httpapi enable_httpapi
16107 wine_fn_config_dll iccvid enable_iccvid po
16108 wine_fn_config_dll icmp enable_icmp
16109 wine_fn_config_dll ieframe enable_ieframe implib,po
16110 wine_fn_config_test dlls/ieframe/tests ieframe_test
16111 wine_fn_config_dll ifsmgr.vxd enable_win16
16112 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16113 wine_fn_config_dll imagehlp enable_imagehlp implib
16114 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
16115 wine_fn_config_dll imm.dll16 enable_win16
16116 wine_fn_config_dll imm32 enable_imm32 implib
16117 wine_fn_config_test dlls/imm32/tests imm32_test
16118 wine_fn_config_dll inetcomm enable_inetcomm implib
16119 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
16120 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16121 wine_fn_config_dll inetmib1 enable_inetmib1
16122 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
16123 wine_fn_config_dll infosoft enable_infosoft
16124 wine_fn_config_test dlls/infosoft/tests infosoft_test
16125 wine_fn_config_dll initpki enable_initpki
16126 wine_fn_config_dll inkobj enable_inkobj
16127 wine_fn_config_dll inseng enable_inseng
16128 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16129 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
16130 wine_fn_config_dll itircl enable_itircl
16131 wine_fn_config_dll itss enable_itss
16132 wine_fn_config_test dlls/itss/tests itss_test
16133 wine_fn_config_dll joy.cpl enable_joy_cpl po
16134 wine_fn_config_dll jscript enable_jscript po
16135 wine_fn_config_test dlls/jscript/tests jscript_test
16136 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
16137 wine_fn_config_test dlls/kernel32/tests kernel32_test
16138 wine_fn_config_dll keyboard.drv16 enable_win16
16139 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16140 wine_fn_config_dll ktmw32 enable_ktmw32
16141 wine_fn_config_dll loadperf enable_loadperf implib
16142 wine_fn_config_dll localspl enable_localspl po
16143 wine_fn_config_test dlls/localspl/tests localspl_test
16144 wine_fn_config_dll localui enable_localui po
16145 wine_fn_config_test dlls/localui/tests localui_test
16146 wine_fn_config_dll lz32 enable_lz32 implib
16147 wine_fn_config_test dlls/lz32/tests lz32_test
16148 wine_fn_config_dll lzexpand.dll16 enable_win16
16149 wine_fn_config_dll mapi32 enable_mapi32 implib,po
16150 wine_fn_config_test dlls/mapi32/tests mapi32_test
16151 wine_fn_config_dll mapistub enable_mapistub
16152 wine_fn_config_dll mciavi32 enable_mciavi32
16153 wine_fn_config_dll mcicda enable_mcicda
16154 wine_fn_config_dll mciqtz32 enable_mciqtz32
16155 wine_fn_config_dll mciseq enable_mciseq
16156 wine_fn_config_dll mciwave enable_mciwave
16157 wine_fn_config_dll mgmtapi enable_mgmtapi
16158 wine_fn_config_dll midimap enable_midimap
16159 wine_fn_config_dll mlang enable_mlang implib
16160 wine_fn_config_test dlls/mlang/tests mlang_test
16161 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16162 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
16163 wine_fn_config_dll mmdevapi enable_mmdevapi
16164 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
16165 wine_fn_config_dll mmdevldr.vxd enable_win16
16166 wine_fn_config_dll mmsystem.dll16 enable_win16
16167 wine_fn_config_dll monodebg.vxd enable_win16
16168 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16169 wine_fn_config_dll mouse.drv16 enable_win16
16170 wine_fn_config_dll mpr enable_mpr implib,po
16171 wine_fn_config_test dlls/mpr/tests mpr_test
16172 wine_fn_config_dll mprapi enable_mprapi implib
16173 wine_fn_config_dll msacm.dll16 enable_win16
16174 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16175 wine_fn_config_dll msacm32 enable_msacm32 implib,po
16176 wine_fn_config_test dlls/msacm32/tests msacm32_test
16177 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16178 wine_fn_config_dll mscat32 enable_mscat32
16179 wine_fn_config_dll mscms enable_mscms implib
16180 wine_fn_config_test dlls/mscms/tests mscms_test
16181 wine_fn_config_dll mscoree enable_mscoree
16182 wine_fn_config_test dlls/mscoree/tests mscoree_test
16183 wine_fn_config_dll msctf enable_msctf
16184 wine_fn_config_test dlls/msctf/tests msctf_test
16185 wine_fn_config_dll msdaps enable_msdaps
16186 wine_fn_config_dll msdmo enable_msdmo implib
16187 wine_fn_config_dll msftedit enable_msftedit
16188 wine_fn_config_dll msg711.acm enable_msg711_acm
16189 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16190 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16191 wine_fn_config_dll mshtml enable_mshtml implib,po
16192 wine_fn_config_test dlls/mshtml/tests mshtml_test
16193 wine_fn_config_dll msi enable_msi implib,po
16194 wine_fn_config_test dlls/msi/tests msi_test
16195 wine_fn_config_dll msident enable_msident
16196 wine_fn_config_dll msimg32 enable_msimg32 implib
16197 wine_fn_config_dll msimsg enable_msimsg
16198 wine_fn_config_dll msimtf enable_msimtf
16199 wine_fn_config_dll msisip enable_msisip
16200 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16201 wine_fn_config_dll msls31 enable_msls31
16202 wine_fn_config_dll msnet32 enable_msnet32
16203 wine_fn_config_dll mspatcha enable_mspatcha
16204 wine_fn_config_dll msrle32 enable_msrle32 po
16205 wine_fn_config_dll mssign32 enable_mssign32
16206 wine_fn_config_dll mssip32 enable_mssip32
16207 wine_fn_config_dll mstask enable_mstask
16208 wine_fn_config_test dlls/mstask/tests mstask_test
16209 wine_fn_config_dll msvcirt enable_msvcirt
16210 wine_fn_config_dll msvcm80 enable_msvcm80
16211 wine_fn_config_dll msvcm90 enable_msvcm90
16212 wine_fn_config_dll msvcp100 enable_msvcp100
16213 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
16214 wine_fn_config_dll msvcp110 enable_msvcp110
16215 wine_fn_config_dll msvcp60 enable_msvcp60
16216 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
16217 wine_fn_config_dll msvcp70 enable_msvcp70
16218 wine_fn_config_dll msvcp71 enable_msvcp71
16219 wine_fn_config_dll msvcp80 enable_msvcp80
16220 wine_fn_config_dll msvcp90 enable_msvcp90
16221 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
16222 wine_fn_config_dll msvcr100 enable_msvcr100
16223 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
16224 wine_fn_config_dll msvcr110 enable_msvcr110
16225 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16226 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16227 wine_fn_config_dll msvcr80 enable_msvcr80
16228 wine_fn_config_dll msvcr90 enable_msvcr90
16229 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
16230 wine_fn_config_dll msvcrt enable_msvcrt implib
16231 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
16232 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16233 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16234 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16235 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
16236 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
16237 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
16238 wine_fn_config_dll msvidc32 enable_msvidc32 po
16239 wine_fn_config_dll msvideo.dll16 enable_win16
16240 wine_fn_config_dll mswsock enable_mswsock implib
16241 wine_fn_config_dll msxml enable_msxml
16242 wine_fn_config_dll msxml2 enable_msxml2
16243 wine_fn_config_dll msxml3 enable_msxml3
16244 wine_fn_config_test dlls/msxml3/tests msxml3_test
16245 wine_fn_config_dll msxml4 enable_msxml4
16246 wine_fn_config_dll msxml6 enable_msxml6
16247 wine_fn_config_dll nddeapi enable_nddeapi implib
16248 wine_fn_config_dll netapi32 enable_netapi32 implib
16249 wine_fn_config_test dlls/netapi32/tests netapi32_test
16250 wine_fn_config_dll netcfgx enable_netcfgx
16251 wine_fn_config_dll newdev enable_newdev implib
16252 wine_fn_config_dll normaliz enable_normaliz implib
16253 wine_fn_config_dll npmshtml enable_npmshtml
16254 wine_fn_config_dll ntdll enable_ntdll implib
16255 wine_fn_config_test dlls/ntdll/tests ntdll_test
16256 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16257 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
16258 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16259 wine_fn_config_dll ntprint enable_ntprint
16260 wine_fn_config_test dlls/ntprint/tests ntprint_test
16261 wine_fn_config_dll objsel enable_objsel
16262 wine_fn_config_dll odbc32 enable_odbc32 implib
16263 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16264 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
16265 wine_fn_config_dll odbccu32 enable_odbccu32
16266 wine_fn_config_dll ole2.dll16 enable_win16
16267 wine_fn_config_dll ole2conv.dll16 enable_win16
16268 wine_fn_config_dll ole2disp.dll16 enable_win16
16269 wine_fn_config_dll ole2nls.dll16 enable_win16
16270 wine_fn_config_dll ole2prox.dll16 enable_win16
16271 wine_fn_config_dll ole2thk.dll16 enable_win16
16272 wine_fn_config_dll ole32 enable_ole32 implib
16273 wine_fn_config_test dlls/ole32/tests ole32_test
16274 wine_fn_config_dll oleacc enable_oleacc implib,po
16275 wine_fn_config_test dlls/oleacc/tests oleacc_test
16276 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
16277 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
16278 wine_fn_config_dll olecli.dll16 enable_win16
16279 wine_fn_config_dll olecli32 enable_olecli32 implib
16280 wine_fn_config_dll oledb32 enable_oledb32
16281 wine_fn_config_test dlls/oledb32/tests oledb32_test
16282 wine_fn_config_dll oledlg enable_oledlg implib,po
16283 wine_fn_config_dll olepro32 enable_olepro32 implib
16284 wine_fn_config_dll olesvr.dll16 enable_win16
16285 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16286 wine_fn_config_dll olethk32 enable_olethk32
16287 wine_fn_config_dll openal32 enable_openal32
16288 wine_fn_config_dll opencl enable_opencl
16289 wine_fn_config_dll opengl32 enable_opengl32 implib
16290 wine_fn_config_test dlls/opengl32/tests opengl32_test
16291 wine_fn_config_dll pdh enable_pdh implib
16292 wine_fn_config_test dlls/pdh/tests pdh_test
16293 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16294 wine_fn_config_dll pidgen enable_pidgen
16295 wine_fn_config_dll powrprof enable_powrprof implib
16296 wine_fn_config_dll printui enable_printui
16297 wine_fn_config_dll propsys enable_propsys implib
16298 wine_fn_config_test dlls/propsys/tests propsys_test
16299 wine_fn_config_dll psapi enable_psapi implib
16300 wine_fn_config_test dlls/psapi/tests psapi_test
16301 wine_fn_config_dll pstorec enable_pstorec
16302 wine_fn_config_dll qcap enable_qcap
16303 wine_fn_config_test dlls/qcap/tests qcap_test
16304 wine_fn_config_dll qedit enable_qedit
16305 wine_fn_config_test dlls/qedit/tests qedit_test
16306 wine_fn_config_dll qmgr enable_qmgr
16307 wine_fn_config_test dlls/qmgr/tests qmgr_test
16308 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16309 wine_fn_config_dll quartz enable_quartz implib
16310 wine_fn_config_test dlls/quartz/tests quartz_test
16311 wine_fn_config_dll query enable_query
16312 wine_fn_config_dll rasapi16.dll16 enable_win16
16313 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16314 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
16315 wine_fn_config_dll rasdlg enable_rasdlg implib
16316 wine_fn_config_dll regapi enable_regapi
16317 wine_fn_config_dll resutils enable_resutils implib
16318 wine_fn_config_dll riched20 enable_riched20 implib
16319 wine_fn_config_test dlls/riched20/tests riched20_test
16320 wine_fn_config_dll riched32 enable_riched32
16321 wine_fn_config_test dlls/riched32/tests riched32_test
16322 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16323 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
16324 wine_fn_config_dll rsabase enable_rsabase
16325 wine_fn_config_dll rsaenh enable_rsaenh implib
16326 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
16327 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16328 wine_fn_config_dll rtutils enable_rtutils implib
16329 wine_fn_config_dll samlib enable_samlib
16330 wine_fn_config_dll sane.ds enable_sane_ds po
16331 wine_fn_config_dll scarddlg enable_scarddlg
16332 wine_fn_config_dll sccbase enable_sccbase
16333 wine_fn_config_dll schannel enable_schannel
16334 wine_fn_config_test dlls/schannel/tests schannel_test
16335 wine_fn_config_dll scrrun enable_scrrun
16336 wine_fn_config_test dlls/scrrun/tests scrrun_test
16337 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16338 wine_fn_config_dll secur32 enable_secur32 implib
16339 wine_fn_config_test dlls/secur32/tests secur32_test
16340 wine_fn_config_dll security enable_security
16341 wine_fn_config_dll sensapi enable_sensapi implib
16342 wine_fn_config_dll serialui enable_serialui implib,po
16343 wine_fn_config_test dlls/serialui/tests serialui_test
16344 wine_fn_config_dll setupapi enable_setupapi implib,po
16345 wine_fn_config_test dlls/setupapi/tests setupapi_test
16346 wine_fn_config_dll setupx.dll16 enable_win16
16347 wine_fn_config_dll sfc enable_sfc implib
16348 wine_fn_config_dll sfc_os enable_sfc_os implib
16349 wine_fn_config_dll shdoclc enable_shdoclc po
16350 wine_fn_config_dll shdocvw enable_shdocvw implib
16351 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16352 wine_fn_config_dll shell.dll16 enable_win16
16353 wine_fn_config_dll shell32 enable_shell32 implib,po
16354 wine_fn_config_test dlls/shell32/tests shell32_test
16355 wine_fn_config_dll shfolder enable_shfolder implib
16356 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16357 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16358 wine_fn_config_dll slbcsp enable_slbcsp
16359 wine_fn_config_dll slc enable_slc implib
16360 wine_fn_config_dll snmpapi enable_snmpapi implib
16361 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16362 wine_fn_config_dll softpub enable_softpub
16363 wine_fn_config_dll sound.drv16 enable_win16
16364 wine_fn_config_dll spoolss enable_spoolss implib
16365 wine_fn_config_test dlls/spoolss/tests spoolss_test
16366 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16367 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16368 wine_fn_config_dll sti enable_sti implib
16369 wine_fn_config_test dlls/sti/tests sti_test
16370 wine_fn_config_dll storage.dll16 enable_win16
16371 wine_fn_config_dll stress.dll16 enable_win16
16372 wine_fn_config_lib strmbase
16373 wine_fn_config_lib strmiids
16374 wine_fn_config_dll svrapi enable_svrapi
16375 wine_fn_config_dll sxs enable_sxs implib
16376 wine_fn_config_test dlls/sxs/tests sxs_test
16377 wine_fn_config_dll system.drv16 enable_win16
16378 wine_fn_config_dll t2embed enable_t2embed
16379 wine_fn_config_dll tapi32 enable_tapi32 implib
16380 wine_fn_config_dll toolhelp.dll16 enable_win16
16381 wine_fn_config_dll traffic enable_traffic
16382 wine_fn_config_dll twain.dll16 enable_win16
16383 wine_fn_config_dll twain_32 enable_twain_32
16384 wine_fn_config_test dlls/twain_32/tests twain_32_test
16385 wine_fn_config_dll typelib.dll16 enable_win16
16386 wine_fn_config_dll unicows enable_unicows implib
16387 wine_fn_config_dll updspapi enable_updspapi
16388 wine_fn_config_dll url enable_url implib
16389 wine_fn_config_dll urlmon enable_urlmon implib,po
16390 wine_fn_config_test dlls/urlmon/tests urlmon_test
16391 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16392 wine_fn_config_dll user.exe16 enable_win16
16393 wine_fn_config_dll user32 enable_user32 implib,po
16394 wine_fn_config_test dlls/user32/tests user32_test
16395 wine_fn_config_dll userenv enable_userenv implib
16396 wine_fn_config_test dlls/userenv/tests userenv_test
16397 wine_fn_config_dll usp10 enable_usp10 implib
16398 wine_fn_config_test dlls/usp10/tests usp10_test
16399 wine_fn_config_lib uuid
16400 wine_fn_config_dll uxtheme enable_uxtheme implib
16401 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16402 wine_fn_config_dll vbscript enable_vbscript
16403 wine_fn_config_test dlls/vbscript/tests vbscript_test
16404 wine_fn_config_dll vcomp enable_vcomp
16405 wine_fn_config_dll vcomp100 enable_vcomp100
16406 wine_fn_config_dll vcomp90 enable_vcomp90
16407 wine_fn_config_dll vdhcp.vxd enable_win16
16408 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16409 wine_fn_config_dll ver.dll16 enable_win16
16410 wine_fn_config_dll version enable_version implib
16411 wine_fn_config_test dlls/version/tests version_test
16412 wine_fn_config_dll vmm.vxd enable_win16
16413 wine_fn_config_dll vnbt.vxd enable_win16
16414 wine_fn_config_dll vnetbios.vxd enable_win16
16415 wine_fn_config_dll vtdapi.vxd enable_win16
16416 wine_fn_config_dll vwin32.vxd enable_win16
16417 wine_fn_config_dll w32skrnl enable_win16
16418 wine_fn_config_dll w32sys.dll16 enable_win16
16419 wine_fn_config_dll wbemdisp enable_wbemdisp
16420 wine_fn_config_dll wbemprox enable_wbemprox
16421 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16422 wine_fn_config_dll webservices enable_webservices implib
16423 wine_fn_config_dll wer enable_wer implib
16424 wine_fn_config_test dlls/wer/tests wer_test
16425 wine_fn_config_dll wevtapi enable_wevtapi
16426 wine_fn_config_dll wiaservc enable_wiaservc
16427 wine_fn_config_dll win32s16.dll16 enable_win16
16428 wine_fn_config_dll win87em.dll16 enable_win16
16429 wine_fn_config_dll winaspi.dll16 enable_win16
16430 wine_fn_config_dll windebug.dll16 enable_win16
16431 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16432 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16433 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16434 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
16435 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16436 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16437 wine_fn_config_lib winecrt0
16438 wine_fn_config_dll wined3d enable_wined3d implib
16439 wine_fn_config_dll winegstreamer enable_winegstreamer
16440 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16441 wine_fn_config_dll winemac.drv enable_winemac_drv
16442 wine_fn_config_dll winemapi enable_winemapi
16443 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16444 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16445 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16446 wine_fn_config_dll wineps16.drv16 enable_win16
16447 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16448 wine_fn_config_dll winex11.drv enable_winex11_drv
16449 wine_fn_config_dll wing.dll16 enable_win16
16450 wine_fn_config_dll wing32 enable_wing32
16451 wine_fn_config_dll winhttp enable_winhttp implib
16452 wine_fn_config_test dlls/winhttp/tests winhttp_test
16453 wine_fn_config_dll wininet enable_wininet implib,po
16454 wine_fn_config_test dlls/wininet/tests wininet_test
16455 wine_fn_config_dll winmm enable_winmm implib,po
16456 wine_fn_config_test dlls/winmm/tests winmm_test
16457 wine_fn_config_dll winnls.dll16 enable_win16
16458 wine_fn_config_dll winnls32 enable_winnls32 implib
16459 wine_fn_config_dll winscard enable_winscard implib
16460 wine_fn_config_dll winsock.dll16 enable_win16
16461 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16462 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16463 wine_fn_config_dll winsta enable_winsta
16464 wine_fn_config_dll wintab.dll16 enable_win16
16465 wine_fn_config_dll wintab32 enable_wintab32 implib
16466 wine_fn_config_test dlls/wintab32/tests wintab32_test
16467 wine_fn_config_dll wintrust enable_wintrust implib
16468 wine_fn_config_test dlls/wintrust/tests wintrust_test
16469 wine_fn_config_dll wlanapi enable_wlanapi
16470 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16471 wine_fn_config_test dlls/wldap32/tests wldap32_test
16472 wine_fn_config_dll wmi enable_wmi
16473 wine_fn_config_dll wmiutils enable_wmiutils
16474 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16475 wine_fn_config_dll wmvcore enable_wmvcore
16476 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16477 wine_fn_config_dll wow32 enable_win16 implib
16478 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16479 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16480 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16481 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16482 wine_fn_config_dll wsnmp32 enable_wsnmp32
16483 wine_fn_config_dll wsock32 enable_wsock32 implib
16484 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16485 wine_fn_config_dll wuapi enable_wuapi
16486 wine_fn_config_dll wuaueng enable_wuaueng
16487 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16488 wine_fn_config_dll xinput1_1 enable_xinput1_1
16489 wine_fn_config_dll xinput1_2 enable_xinput1_2
16490 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16491 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16492 wine_fn_config_dll xinput1_4 enable_xinput1_4
16493 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16494 wine_fn_config_dll xmllite enable_xmllite
16495 wine_fn_config_test dlls/xmllite/tests xmllite_test
16496 wine_fn_config_dll xolehlp enable_xolehlp
16497 wine_fn_config_dll xpsprint enable_xpsprint
16498 wine_fn_config_dll xpssvcs enable_xpssvcs
16499 wine_fn_config_makefile documentation enable_documentation
16500 wine_fn_config_makefile fonts enable_fonts install-lib
16501 wine_fn_config_makefile include enable_include install-dev
16502 wine_fn_config_makefile libs/port enable_libs_port
16503 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16504 wine_fn_config_makefile libs/wpp enable_libs_wpp
16505 wine_fn_config_makefile loader enable_loader install-lib,manpage
16506 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16507 wine_fn_config_program attrib enable_attrib install,po
16508 wine_fn_config_program cabarc enable_cabarc install
16509 wine_fn_config_program cacls enable_cacls install
16510 wine_fn_config_program clock enable_clock install,po
16511 wine_fn_config_program cmd enable_cmd install,po
16512 wine_fn_config_test programs/cmd/tests cmd.exe_test
16513 wine_fn_config_program conhost enable_conhost install
16514 wine_fn_config_program control enable_control install
16515 wine_fn_config_program cscript enable_cscript install
16516 wine_fn_config_program dxdiag enable_dxdiag install,po
16517 wine_fn_config_program eject enable_eject install
16518 wine_fn_config_program expand enable_expand install
16519 wine_fn_config_program explorer enable_explorer install,po
16520 wine_fn_config_program extrac32 enable_extrac32 install
16521 wine_fn_config_program findstr enable_findstr install
16522 wine_fn_config_program hh enable_hh install
16523 wine_fn_config_program hostname enable_hostname install,po
16524 wine_fn_config_program icinfo enable_icinfo install
16525 wine_fn_config_program iexplore enable_iexplore install
16526 wine_fn_config_program ipconfig enable_ipconfig install,po
16527 wine_fn_config_program lodctr enable_lodctr install
16528 wine_fn_config_program mofcomp enable_mofcomp install
16529 wine_fn_config_program mshta enable_mshta install
16530 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16531 wine_fn_config_program net enable_net install,po
16532 wine_fn_config_program netsh enable_netsh install
16533 wine_fn_config_program netstat enable_netstat install,po
16534 wine_fn_config_program ngen enable_ngen install
16535 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16536 wine_fn_config_program oleview enable_oleview install,po
16537 wine_fn_config_program ping enable_ping install
16538 wine_fn_config_program plugplay enable_plugplay install
16539 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16540 wine_fn_config_program progman enable_progman install,po
16541 wine_fn_config_program reg enable_reg install,po
16542 wine_fn_config_program regasm enable_regasm install
16543 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16544 wine_fn_config_test programs/regedit/tests regedit.exe_test
16545 wine_fn_config_program regsvcs enable_regsvcs install
16546 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16547 wine_fn_config_program rpcss enable_rpcss install
16548 wine_fn_config_program rundll.exe16 enable_win16 install
16549 wine_fn_config_program rundll32 enable_rundll32 install
16550 wine_fn_config_program sc enable_sc install
16551 wine_fn_config_program schtasks enable_schtasks install
16552 wine_fn_config_program secedit enable_secedit install
16553 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16554 wine_fn_config_program services enable_services install
16555 wine_fn_config_test programs/services/tests services.exe_test
16556 wine_fn_config_program spoolsv enable_spoolsv install
16557 wine_fn_config_program start enable_start install,po
16558 wine_fn_config_program svchost enable_svchost install
16559 wine_fn_config_program taskkill enable_taskkill install,po
16560 wine_fn_config_program tasklist enable_tasklist install
16561 wine_fn_config_program taskmgr enable_taskmgr install,po
16562 wine_fn_config_program termsv enable_termsv install
16563 wine_fn_config_program uninstaller enable_uninstaller install,po
16564 wine_fn_config_program unlodctr enable_unlodctr install
16565 wine_fn_config_program view enable_view install,po
16566 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16567 wine_fn_config_program winebrowser enable_winebrowser install
16568 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16569 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16570 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16571 wine_fn_config_program winedevice enable_winedevice install
16572 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16573 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16574 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16575 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16576 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16577 wine_fn_config_program winetest enable_winetest
16578 wine_fn_config_program winevdm enable_win16 install
16579 wine_fn_config_program winhelp.exe16 enable_win16 install
16580 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16581 wine_fn_config_program winoldap.mod16 enable_win16 install
16582 wine_fn_config_program winver enable_winver install
16583 wine_fn_config_program wmic enable_wmic install,po
16584 wine_fn_config_program wordpad enable_wordpad install,po
16585 wine_fn_config_program write enable_write install,po
16586 wine_fn_config_program wscript enable_wscript install
16587 wine_fn_config_test programs/wscript/tests wscript.exe_test
16588 wine_fn_config_program wusa enable_wusa install
16589 wine_fn_config_program xcopy enable_xcopy install,po
16590 wine_fn_config_makefile server enable_server install-lib,manpage
16591 wine_fn_config_tool tools install-dev,install-lib,manpage
16592 wine_fn_config_tool tools/widl install-dev,manpage
16593 wine_fn_config_tool tools/winebuild install-dev,manpage
16594 wine_fn_config_tool tools/winedump install-dev,manpage
16595 wine_fn_config_tool tools/winegcc install-dev,manpage
16596 wine_fn_config_tool tools/wmc install-dev,manpage
16597 wine_fn_config_tool tools/wrc install-dev,manpage
16599 LINGUAS="\
16600 ar \
16601 bg \
16602 ca \
16603 cs \
16604 da \
16605 de \
16606 el \
16607 en \
16608 en_US \
16609 eo \
16610 es \
16611 fa \
16612 fi \
16613 fr \
16614 he \
16615 hi \
16616 hr \
16617 hu \
16618 it \
16619 ja \
16620 ko \
16621 lt \
16622 ml \
16623 nb_NO \
16624 nl \
16625 or \
16626 pa \
16627 pl \
16628 pt_BR \
16629 pt_PT \
16630 rm \
16631 ro \
16632 ru \
16633 sk \
16634 sl \
16635 sr_RS@cyrillic \
16636 sr_RS@latin \
16637 sv \
16638 te \
16639 th \
16640 tr \
16641 uk \
16642 wa \
16643 zh_CN \
16644 zh_TW"
16648 ac_config_commands="$ac_config_commands Makefile"
16651 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16655 if test "x$enable_maintainer_mode" = xyes
16656 then
16657 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16658 cd \$(srcdir) && autoconf --warnings=all
16659 \$(srcdir)/include/config.h.in: include/stamp-h.in
16660 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16661 cd \$(srcdir) && autoheader --warnings=all
16662 @echo timestamp > \$@"
16665 if test "x$with_gettextpo" = xyes
16666 then
16667 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16668 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16669 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16670 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16671 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16672 msgcat -o \$@ \$(ALL_POT_FILES)"
16675 if test "$MSGFMT" != false
16676 then
16677 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16679 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16680 else
16681 LINGUAS=
16684 if test "x$enable_tools" != xno
16685 then
16686 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16687 clean:: __clean__
16688 \$(RM) tools/makedep\$(EXEEXT)"
16691 if test -n "$with_wine64"
16692 then
16693 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16694 fonts server tools:
16695 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16696 $with_wine64/loader/wine:
16697 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16698 $with_wine64/loader/wine-preloader:
16699 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16700 clean::
16701 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16704 cat >confcache <<\_ACEOF
16705 # This file is a shell script that caches the results of configure
16706 # tests run on this system so they can be shared between configure
16707 # scripts and configure runs, see configure's option --config-cache.
16708 # It is not useful on other systems. If it contains results you don't
16709 # want to keep, you may remove or edit it.
16711 # config.status only pays attention to the cache file if you give it
16712 # the --recheck option to rerun configure.
16714 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16715 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16716 # following values.
16718 _ACEOF
16720 # The following way of writing the cache mishandles newlines in values,
16721 # but we know of no workaround that is simple, portable, and efficient.
16722 # So, we kill variables containing newlines.
16723 # Ultrix sh set writes to stderr and can't be redirected directly,
16724 # and sets the high bit in the cache file unless we assign to the vars.
16726 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16727 eval ac_val=\$$ac_var
16728 case $ac_val in #(
16729 *${as_nl}*)
16730 case $ac_var in #(
16731 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16732 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16733 esac
16734 case $ac_var in #(
16735 _ | IFS | as_nl) ;; #(
16736 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16737 *) { eval $ac_var=; unset $ac_var;} ;;
16738 esac ;;
16739 esac
16740 done
16742 (set) 2>&1 |
16743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16744 *${as_nl}ac_space=\ *)
16745 # `set' does not quote correctly, so add quotes: double-quote
16746 # substitution turns \\\\ into \\, and sed turns \\ into \.
16747 sed -n \
16748 "s/'/'\\\\''/g;
16749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16750 ;; #(
16752 # `set' quotes correctly as required by POSIX, so do not add quotes.
16753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16755 esac |
16756 sort
16758 sed '
16759 /^ac_cv_env_/b end
16760 t clear
16761 :clear
16762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16763 t end
16764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16765 :end' >>confcache
16766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16767 if test -w "$cache_file"; then
16768 if test "x$cache_file" != "x/dev/null"; then
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16770 $as_echo "$as_me: updating cache $cache_file" >&6;}
16771 if test ! -f "$cache_file" || test -h "$cache_file"; then
16772 cat confcache >"$cache_file"
16773 else
16774 case $cache_file in #(
16775 */* | ?:*)
16776 mv -f confcache "$cache_file"$$ &&
16777 mv -f "$cache_file"$$ "$cache_file" ;; #(
16779 mv -f confcache "$cache_file" ;;
16780 esac
16783 else
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16785 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16788 rm -f confcache
16790 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16791 # Let make expand exec_prefix.
16792 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16794 DEFS=-DHAVE_CONFIG_H
16796 ac_libobjs=
16797 ac_ltlibobjs=
16799 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16800 # 1. Remove the extension, and $U if already installed.
16801 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16802 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16803 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16804 # will be set to the directory where LIBOBJS objects are built.
16805 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16806 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16807 done
16808 LIBOBJS=$ac_libobjs
16810 LTLIBOBJS=$ac_ltlibobjs
16814 : "${CONFIG_STATUS=./config.status}"
16815 ac_write_fail=0
16816 ac_clean_files_save=$ac_clean_files
16817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16819 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16820 as_write_fail=0
16821 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16822 #! $SHELL
16823 # Generated by $as_me.
16824 # Run this file to recreate the current configuration.
16825 # Compiler output produced by configure, useful for debugging
16826 # configure, is in config.log if it exists.
16828 debug=false
16829 ac_cs_recheck=false
16830 ac_cs_silent=false
16832 SHELL=\${CONFIG_SHELL-$SHELL}
16833 export SHELL
16834 _ASEOF
16835 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16836 ## -------------------- ##
16837 ## M4sh Initialization. ##
16838 ## -------------------- ##
16840 # Be more Bourne compatible
16841 DUALCASE=1; export DUALCASE # for MKS sh
16842 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16843 emulate sh
16844 NULLCMD=:
16845 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16846 # is contrary to our usage. Disable this feature.
16847 alias -g '${1+"$@"}'='"$@"'
16848 setopt NO_GLOB_SUBST
16849 else
16850 case `(set -o) 2>/dev/null` in #(
16851 *posix*) :
16852 set -o posix ;; #(
16853 *) :
16855 esac
16859 as_nl='
16861 export as_nl
16862 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16863 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16865 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16866 # Prefer a ksh shell builtin over an external printf program on Solaris,
16867 # but without wasting forks for bash or zsh.
16868 if test -z "$BASH_VERSION$ZSH_VERSION" \
16869 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16870 as_echo='print -r --'
16871 as_echo_n='print -rn --'
16872 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16873 as_echo='printf %s\n'
16874 as_echo_n='printf %s'
16875 else
16876 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16877 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16878 as_echo_n='/usr/ucb/echo -n'
16879 else
16880 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16881 as_echo_n_body='eval
16882 arg=$1;
16883 case $arg in #(
16884 *"$as_nl"*)
16885 expr "X$arg" : "X\\(.*\\)$as_nl";
16886 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16887 esac;
16888 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16890 export as_echo_n_body
16891 as_echo_n='sh -c $as_echo_n_body as_echo'
16893 export as_echo_body
16894 as_echo='sh -c $as_echo_body as_echo'
16897 # The user is always right.
16898 if test "${PATH_SEPARATOR+set}" != set; then
16899 PATH_SEPARATOR=:
16900 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16901 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16902 PATH_SEPARATOR=';'
16907 # IFS
16908 # We need space, tab and new line, in precisely that order. Quoting is
16909 # there to prevent editors from complaining about space-tab.
16910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16911 # splitting by setting IFS to empty value.)
16912 IFS=" "" $as_nl"
16914 # Find who we are. Look in the path if we contain no directory separator.
16915 as_myself=
16916 case $0 in #((
16917 *[\\/]* ) as_myself=$0 ;;
16918 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16919 for as_dir in $PATH
16921 IFS=$as_save_IFS
16922 test -z "$as_dir" && as_dir=.
16923 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16924 done
16925 IFS=$as_save_IFS
16928 esac
16929 # We did not find ourselves, most probably we were run as `sh COMMAND'
16930 # in which case we are not to be found in the path.
16931 if test "x$as_myself" = x; then
16932 as_myself=$0
16934 if test ! -f "$as_myself"; then
16935 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16936 exit 1
16939 # Unset variables that we do not need and which cause bugs (e.g. in
16940 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16941 # suppresses any "Segmentation fault" message there. '((' could
16942 # trigger a bug in pdksh 5.2.14.
16943 for as_var in BASH_ENV ENV MAIL MAILPATH
16944 do eval test x\${$as_var+set} = xset \
16945 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16946 done
16947 PS1='$ '
16948 PS2='> '
16949 PS4='+ '
16951 # NLS nuisances.
16952 LC_ALL=C
16953 export LC_ALL
16954 LANGUAGE=C
16955 export LANGUAGE
16957 # CDPATH.
16958 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16961 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16962 # ----------------------------------------
16963 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16964 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16965 # script with STATUS, using 1 if that was 0.
16966 as_fn_error ()
16968 as_status=$1; test $as_status -eq 0 && as_status=1
16969 if test "$4"; then
16970 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16971 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16973 $as_echo "$as_me: error: $2" >&2
16974 as_fn_exit $as_status
16975 } # as_fn_error
16978 # as_fn_set_status STATUS
16979 # -----------------------
16980 # Set $? to STATUS, without forking.
16981 as_fn_set_status ()
16983 return $1
16984 } # as_fn_set_status
16986 # as_fn_exit STATUS
16987 # -----------------
16988 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16989 as_fn_exit ()
16991 set +e
16992 as_fn_set_status $1
16993 exit $1
16994 } # as_fn_exit
16996 # as_fn_unset VAR
16997 # ---------------
16998 # Portably unset VAR.
16999 as_fn_unset ()
17001 { eval $1=; unset $1;}
17003 as_unset=as_fn_unset
17004 # as_fn_append VAR VALUE
17005 # ----------------------
17006 # Append the text in VALUE to the end of the definition contained in VAR. Take
17007 # advantage of any shell optimizations that allow amortized linear growth over
17008 # repeated appends, instead of the typical quadratic growth present in naive
17009 # implementations.
17010 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17011 eval 'as_fn_append ()
17013 eval $1+=\$2
17015 else
17016 as_fn_append ()
17018 eval $1=\$$1\$2
17020 fi # as_fn_append
17022 # as_fn_arith ARG...
17023 # ------------------
17024 # Perform arithmetic evaluation on the ARGs, and store the result in the
17025 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17026 # must be portable across $(()) and expr.
17027 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17028 eval 'as_fn_arith ()
17030 as_val=$(( $* ))
17032 else
17033 as_fn_arith ()
17035 as_val=`expr "$@" || test $? -eq 1`
17037 fi # as_fn_arith
17040 if expr a : '\(a\)' >/dev/null 2>&1 &&
17041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17042 as_expr=expr
17043 else
17044 as_expr=false
17047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17048 as_basename=basename
17049 else
17050 as_basename=false
17053 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17054 as_dirname=dirname
17055 else
17056 as_dirname=false
17059 as_me=`$as_basename -- "$0" ||
17060 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17061 X"$0" : 'X\(//\)$' \| \
17062 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17063 $as_echo X/"$0" |
17064 sed '/^.*\/\([^/][^/]*\)\/*$/{
17065 s//\1/
17068 /^X\/\(\/\/\)$/{
17069 s//\1/
17072 /^X\/\(\/\).*/{
17073 s//\1/
17076 s/.*/./; q'`
17078 # Avoid depending upon Character Ranges.
17079 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17080 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17081 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17082 as_cr_digits='0123456789'
17083 as_cr_alnum=$as_cr_Letters$as_cr_digits
17085 ECHO_C= ECHO_N= ECHO_T=
17086 case `echo -n x` in #(((((
17087 -n*)
17088 case `echo 'xy\c'` in
17089 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17090 xy) ECHO_C='\c';;
17091 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17092 ECHO_T=' ';;
17093 esac;;
17095 ECHO_N='-n';;
17096 esac
17098 rm -f conf$$ conf$$.exe conf$$.file
17099 if test -d conf$$.dir; then
17100 rm -f conf$$.dir/conf$$.file
17101 else
17102 rm -f conf$$.dir
17103 mkdir conf$$.dir 2>/dev/null
17105 if (echo >conf$$.file) 2>/dev/null; then
17106 if ln -s conf$$.file conf$$ 2>/dev/null; then
17107 as_ln_s='ln -s'
17108 # ... but there are two gotchas:
17109 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17110 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17111 # In both cases, we have to default to `cp -pR'.
17112 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17113 as_ln_s='cp -pR'
17114 elif ln conf$$.file conf$$ 2>/dev/null; then
17115 as_ln_s=ln
17116 else
17117 as_ln_s='cp -pR'
17119 else
17120 as_ln_s='cp -pR'
17122 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17123 rmdir conf$$.dir 2>/dev/null
17126 # as_fn_mkdir_p
17127 # -------------
17128 # Create "$as_dir" as a directory, including parents if necessary.
17129 as_fn_mkdir_p ()
17132 case $as_dir in #(
17133 -*) as_dir=./$as_dir;;
17134 esac
17135 test -d "$as_dir" || eval $as_mkdir_p || {
17136 as_dirs=
17137 while :; do
17138 case $as_dir in #(
17139 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17140 *) as_qdir=$as_dir;;
17141 esac
17142 as_dirs="'$as_qdir' $as_dirs"
17143 as_dir=`$as_dirname -- "$as_dir" ||
17144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17145 X"$as_dir" : 'X\(//\)[^/]' \| \
17146 X"$as_dir" : 'X\(//\)$' \| \
17147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17148 $as_echo X"$as_dir" |
17149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17150 s//\1/
17153 /^X\(\/\/\)[^/].*/{
17154 s//\1/
17157 /^X\(\/\/\)$/{
17158 s//\1/
17161 /^X\(\/\).*/{
17162 s//\1/
17165 s/.*/./; q'`
17166 test -d "$as_dir" && break
17167 done
17168 test -z "$as_dirs" || eval "mkdir $as_dirs"
17169 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17172 } # as_fn_mkdir_p
17173 if mkdir -p . 2>/dev/null; then
17174 as_mkdir_p='mkdir -p "$as_dir"'
17175 else
17176 test -d ./-p && rmdir ./-p
17177 as_mkdir_p=false
17181 # as_fn_executable_p FILE
17182 # -----------------------
17183 # Test if FILE is an executable regular file.
17184 as_fn_executable_p ()
17186 test -f "$1" && test -x "$1"
17187 } # as_fn_executable_p
17188 as_test_x='test -x'
17189 as_executable_p=as_fn_executable_p
17191 # Sed expression to map a string onto a valid CPP name.
17192 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17194 # Sed expression to map a string onto a valid variable name.
17195 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17198 exec 6>&1
17199 ## ----------------------------------- ##
17200 ## Main body of $CONFIG_STATUS script. ##
17201 ## ----------------------------------- ##
17202 _ASEOF
17203 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17206 # Save the log message, to keep $0 and so on meaningful, and to
17207 # report actual input values of CONFIG_FILES etc. instead of their
17208 # values after options handling.
17209 ac_log="
17210 This file was extended by Wine $as_me 1.7.1, which was
17211 generated by GNU Autoconf 2.69. Invocation command line was
17213 CONFIG_FILES = $CONFIG_FILES
17214 CONFIG_HEADERS = $CONFIG_HEADERS
17215 CONFIG_LINKS = $CONFIG_LINKS
17216 CONFIG_COMMANDS = $CONFIG_COMMANDS
17217 $ $0 $@
17219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17222 _ACEOF
17224 case $ac_config_files in *"
17225 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17226 esac
17228 case $ac_config_headers in *"
17229 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17230 esac
17233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17234 # Files that config.status was made for.
17235 config_files="$ac_config_files"
17236 config_headers="$ac_config_headers"
17237 config_links="$ac_config_links"
17238 config_commands="$ac_config_commands"
17240 _ACEOF
17242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17243 ac_cs_usage="\
17244 \`$as_me' instantiates files and other configuration actions
17245 from templates according to the current configuration. Unless the files
17246 and actions are specified as TAGs, all are instantiated by default.
17248 Usage: $0 [OPTION]... [TAG]...
17250 -h, --help print this help, then exit
17251 -V, --version print version number and configuration settings, then exit
17252 --config print configuration, then exit
17253 -q, --quiet, --silent
17254 do not print progress messages
17255 -d, --debug don't remove temporary files
17256 --recheck update $as_me by reconfiguring in the same conditions
17257 --file=FILE[:TEMPLATE]
17258 instantiate the configuration file FILE
17259 --header=FILE[:TEMPLATE]
17260 instantiate the configuration header FILE
17262 Configuration files:
17263 $config_files
17265 Configuration headers:
17266 $config_headers
17268 Configuration links:
17269 $config_links
17271 Configuration commands:
17272 $config_commands
17274 Report bugs to <wine-devel@winehq.org>.
17275 Wine home page: <http://www.winehq.org>."
17277 _ACEOF
17278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17279 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17280 ac_cs_version="\\
17281 Wine config.status 1.7.1
17282 configured by $0, generated by GNU Autoconf 2.69,
17283 with options \\"\$ac_cs_config\\"
17285 Copyright (C) 2012 Free Software Foundation, Inc.
17286 This config.status script is free software; the Free Software Foundation
17287 gives unlimited permission to copy, distribute and modify it."
17289 ac_pwd='$ac_pwd'
17290 srcdir='$srcdir'
17291 INSTALL='$INSTALL'
17292 test -n "\$AWK" || AWK=awk
17293 _ACEOF
17295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17296 # The default lists apply if the user does not specify any file.
17297 ac_need_defaults=:
17298 while test $# != 0
17300 case $1 in
17301 --*=?*)
17302 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17303 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17304 ac_shift=:
17306 --*=)
17307 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17308 ac_optarg=
17309 ac_shift=:
17312 ac_option=$1
17313 ac_optarg=$2
17314 ac_shift=shift
17316 esac
17318 case $ac_option in
17319 # Handling of the options.
17320 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17321 ac_cs_recheck=: ;;
17322 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17323 $as_echo "$ac_cs_version"; exit ;;
17324 --config | --confi | --conf | --con | --co | --c )
17325 $as_echo "$ac_cs_config"; exit ;;
17326 --debug | --debu | --deb | --de | --d | -d )
17327 debug=: ;;
17328 --file | --fil | --fi | --f )
17329 $ac_shift
17330 case $ac_optarg in
17331 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17332 '') as_fn_error $? "missing file argument" ;;
17333 esac
17334 as_fn_append CONFIG_FILES " '$ac_optarg'"
17335 ac_need_defaults=false;;
17336 --header | --heade | --head | --hea )
17337 $ac_shift
17338 case $ac_optarg in
17339 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17340 esac
17341 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17342 ac_need_defaults=false;;
17343 --he | --h)
17344 # Conflict between --help and --header
17345 as_fn_error $? "ambiguous option: \`$1'
17346 Try \`$0 --help' for more information.";;
17347 --help | --hel | -h )
17348 $as_echo "$ac_cs_usage"; exit ;;
17349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17350 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17351 ac_cs_silent=: ;;
17353 # This is an error.
17354 -*) as_fn_error $? "unrecognized option: \`$1'
17355 Try \`$0 --help' for more information." ;;
17357 *) as_fn_append ac_config_targets " $1"
17358 ac_need_defaults=false ;;
17360 esac
17361 shift
17362 done
17364 ac_configure_extra_args=
17366 if $ac_cs_silent; then
17367 exec 6>/dev/null
17368 ac_configure_extra_args="$ac_configure_extra_args --silent"
17371 _ACEOF
17372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17373 if \$ac_cs_recheck; then
17374 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17375 shift
17376 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17377 CONFIG_SHELL='$SHELL'
17378 export CONFIG_SHELL
17379 exec "\$@"
17382 _ACEOF
17383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17384 exec 5>>config.log
17386 echo
17387 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17388 ## Running $as_me. ##
17389 _ASBOX
17390 $as_echo "$ac_log"
17391 } >&5
17393 _ACEOF
17394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17396 # INIT-COMMANDS
17398 wine_fn_output_makefile ()
17400 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17401 $ALL_MAKEFILE_DEPENDS
17402 _WINE_EOF
17403 as_fn_error $? "could not create Makefile" "$LINENO" 5
17406 _ACEOF
17408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17410 # Handling of arguments.
17411 for ac_config_target in $ac_config_targets
17413 case $ac_config_target in
17414 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17415 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17416 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17417 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17418 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17419 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17420 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17421 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17422 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17423 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17424 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17425 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17426 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17427 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17428 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17429 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17430 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17431 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17432 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17433 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17434 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17435 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17436 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17437 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17438 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17439 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17441 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17442 esac
17443 done
17446 # If the user did not use the arguments to specify the items to instantiate,
17447 # then the envvar interface is used. Set only those that are not.
17448 # We use the long form for the default assignment because of an extremely
17449 # bizarre bug on SunOS 4.1.3.
17450 if $ac_need_defaults; then
17451 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17452 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17453 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17457 # Have a temporary directory for convenience. Make it in the build tree
17458 # simply because there is no reason against having it here, and in addition,
17459 # creating and moving files from /tmp can sometimes cause problems.
17460 # Hook for its removal unless debugging.
17461 # Note that there is a small window in which the directory will not be cleaned:
17462 # after its creation but before its name has been assigned to `$tmp'.
17463 $debug ||
17465 tmp= ac_tmp=
17466 trap 'exit_status=$?
17467 : "${ac_tmp:=$tmp}"
17468 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17470 trap 'as_fn_exit 1' 1 2 13 15
17472 # Create a (secure) tmp directory for tmp files.
17475 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17476 test -d "$tmp"
17477 } ||
17479 tmp=./conf$$-$RANDOM
17480 (umask 077 && mkdir "$tmp")
17481 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17482 ac_tmp=$tmp
17484 # Set up the scripts for CONFIG_FILES section.
17485 # No need to generate them if there are no CONFIG_FILES.
17486 # This happens for instance with `./config.status config.h'.
17487 if test -n "$CONFIG_FILES"; then
17489 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17490 ac_cs_awk_getline=:
17491 ac_cs_awk_pipe_init=
17492 ac_cs_awk_read_file='
17493 while ((getline aline < (F[key])) > 0)
17494 print(aline)
17495 close(F[key])'
17496 ac_cs_awk_pipe_fini=
17497 else
17498 ac_cs_awk_getline=false
17499 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17500 ac_cs_awk_read_file='
17501 print "|#_!!_#|"
17502 print "cat " F[key] " &&"
17503 '$ac_cs_awk_pipe_init
17504 # The final `:' finishes the AND list.
17505 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17507 ac_cr=`echo X | tr X '\015'`
17508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17509 # But we know of no other shell where ac_cr would be empty at this
17510 # point, so we can use a bashism as a fallback.
17511 if test "x$ac_cr" = x; then
17512 eval ac_cr=\$\'\\r\'
17514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17516 ac_cs_awk_cr='\\r'
17517 else
17518 ac_cs_awk_cr=$ac_cr
17521 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17522 _ACEOF
17524 # Create commands to substitute file output variables.
17526 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17527 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17528 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17529 echo "_ACAWK" &&
17530 echo "_ACEOF"
17531 } >conf$$files.sh &&
17532 . ./conf$$files.sh ||
17533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17534 rm -f conf$$files.sh
17537 echo "cat >conf$$subs.awk <<_ACEOF" &&
17538 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17539 echo "_ACEOF"
17540 } >conf$$subs.sh ||
17541 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17542 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17543 ac_delim='%!_!# '
17544 for ac_last_try in false false false false false :; do
17545 . ./conf$$subs.sh ||
17546 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17548 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17549 if test $ac_delim_n = $ac_delim_num; then
17550 break
17551 elif $ac_last_try; then
17552 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17553 else
17554 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17556 done
17557 rm -f conf$$subs.sh
17559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17560 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17561 _ACEOF
17562 sed -n '
17564 s/^/S["/; s/!.*/"]=/
17567 s/^[^!]*!//
17568 :repl
17569 t repl
17570 s/'"$ac_delim"'$//
17571 t delim
17574 s/\(.\{148\}\)..*/\1/
17575 t more1
17576 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17579 b repl
17580 :more1
17581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17584 s/.\{148\}//
17585 t nl
17586 :delim
17588 s/\(.\{148\}\)..*/\1/
17589 t more2
17590 s/["\\]/\\&/g; s/^/"/; s/$/"/
17593 :more2
17594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17597 s/.\{148\}//
17598 t delim
17599 ' <conf$$subs.awk | sed '
17600 /^[^""]/{
17602 s/\n//
17604 ' >>$CONFIG_STATUS || ac_write_fail=1
17605 rm -f conf$$subs.awk
17606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17607 _ACAWK
17608 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17609 for (key in S) S_is_set[key] = 1
17610 FS = "\a"
17611 \$ac_cs_awk_pipe_init
17614 line = $ 0
17615 nfields = split(line, field, "@")
17616 substed = 0
17617 len = length(field[1])
17618 for (i = 2; i < nfields; i++) {
17619 key = field[i]
17620 keylen = length(key)
17621 if (S_is_set[key]) {
17622 value = S[key]
17623 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17624 len += length(value) + length(field[++i])
17625 substed = 1
17626 } else
17627 len += 1 + keylen
17629 if (nfields == 3 && !substed) {
17630 key = field[2]
17631 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17632 \$ac_cs_awk_read_file
17633 next
17636 print line
17638 \$ac_cs_awk_pipe_fini
17639 _ACAWK
17640 _ACEOF
17641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17642 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17643 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17644 else
17646 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17647 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17648 _ACEOF
17650 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17651 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17652 # trailing colons and then remove the whole line if VPATH becomes empty
17653 # (actually we leave an empty line to preserve line numbers).
17654 if test "x$srcdir" = x.; then
17655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17657 s///
17658 s/^/:/
17659 s/[ ]*$/:/
17660 s/:\$(srcdir):/:/g
17661 s/:\${srcdir}:/:/g
17662 s/:@srcdir@:/:/g
17663 s/^:*//
17664 s/:*$//
17666 s/\(=[ ]*\).*/\1/
17668 s/\n//
17669 s/^[^=]*=[ ]*$//
17673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17674 fi # test -n "$CONFIG_FILES"
17676 # Set up the scripts for CONFIG_HEADERS section.
17677 # No need to generate them if there are no CONFIG_HEADERS.
17678 # This happens for instance with `./config.status Makefile'.
17679 if test -n "$CONFIG_HEADERS"; then
17680 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17681 BEGIN {
17682 _ACEOF
17684 # Transform confdefs.h into an awk script `defines.awk', embedded as
17685 # here-document in config.status, that substitutes the proper values into
17686 # config.h.in to produce config.h.
17688 # Create a delimiter string that does not exist in confdefs.h, to ease
17689 # handling of long lines.
17690 ac_delim='%!_!# '
17691 for ac_last_try in false false :; do
17692 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17693 if test -z "$ac_tt"; then
17694 break
17695 elif $ac_last_try; then
17696 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17697 else
17698 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17700 done
17702 # For the awk script, D is an array of macro values keyed by name,
17703 # likewise P contains macro parameters if any. Preserve backslash
17704 # newline sequences.
17706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17707 sed -n '
17708 s/.\{148\}/&'"$ac_delim"'/g
17709 t rset
17710 :rset
17711 s/^[ ]*#[ ]*define[ ][ ]*/ /
17712 t def
17714 :def
17715 s/\\$//
17716 t bsnl
17717 s/["\\]/\\&/g
17718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17719 D["\1"]=" \3"/p
17720 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17722 :bsnl
17723 s/["\\]/\\&/g
17724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17725 D["\1"]=" \3\\\\\\n"\\/p
17726 t cont
17727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17728 t cont
17730 :cont
17732 s/.\{148\}/&'"$ac_delim"'/g
17733 t clear
17734 :clear
17735 s/\\$//
17736 t bsnlc
17737 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17739 :bsnlc
17740 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17741 b cont
17742 ' <confdefs.h | sed '
17743 s/'"$ac_delim"'/"\\\
17744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17747 for (key in D) D_is_set[key] = 1
17748 FS = "\a"
17750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17751 line = \$ 0
17752 split(line, arg, " ")
17753 if (arg[1] == "#") {
17754 defundef = arg[2]
17755 mac1 = arg[3]
17756 } else {
17757 defundef = substr(arg[1], 2)
17758 mac1 = arg[2]
17760 split(mac1, mac2, "(") #)
17761 macro = mac2[1]
17762 prefix = substr(line, 1, index(line, defundef) - 1)
17763 if (D_is_set[macro]) {
17764 # Preserve the white space surrounding the "#".
17765 print prefix "define", macro P[macro] D[macro]
17766 next
17767 } else {
17768 # Replace #undef with comments. This is necessary, for example,
17769 # in the case of _POSIX_SOURCE, which is predefined and required
17770 # on some systems where configure will not decide to define it.
17771 if (defundef == "undef") {
17772 print "/*", prefix defundef, macro, "*/"
17773 next
17777 { print }
17778 _ACAWK
17779 _ACEOF
17780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17781 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17782 fi # test -n "$CONFIG_HEADERS"
17785 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17786 shift
17787 for ac_tag
17789 case $ac_tag in
17790 :[FHLC]) ac_mode=$ac_tag; continue;;
17791 esac
17792 case $ac_mode$ac_tag in
17793 :[FHL]*:*);;
17794 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17795 :[FH]-) ac_tag=-:-;;
17796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17797 esac
17798 ac_save_IFS=$IFS
17799 IFS=:
17800 set x $ac_tag
17801 IFS=$ac_save_IFS
17802 shift
17803 ac_file=$1
17804 shift
17806 case $ac_mode in
17807 :L) ac_source=$1;;
17808 :[FH])
17809 ac_file_inputs=
17810 for ac_f
17812 case $ac_f in
17813 -) ac_f="$ac_tmp/stdin";;
17814 *) # Look for the file first in the build tree, then in the source tree
17815 # (if the path is not absolute). The absolute path cannot be DOS-style,
17816 # because $ac_f cannot contain `:'.
17817 test -f "$ac_f" ||
17818 case $ac_f in
17819 [\\/$]*) false;;
17820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17821 esac ||
17822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17823 esac
17824 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17825 as_fn_append ac_file_inputs " '$ac_f'"
17826 done
17828 # Let's still pretend it is `configure' which instantiates (i.e., don't
17829 # use $as_me), people would be surprised to read:
17830 # /* config.h. Generated by config.status. */
17831 configure_input='Generated from '`
17832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17833 `' by configure.'
17834 if test x"$ac_file" != x-; then
17835 configure_input="$ac_file. $configure_input"
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17837 $as_echo "$as_me: creating $ac_file" >&6;}
17839 # Neutralize special characters interpreted by sed in replacement strings.
17840 case $configure_input in #(
17841 *\&* | *\|* | *\\* )
17842 ac_sed_conf_input=`$as_echo "$configure_input" |
17843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17844 *) ac_sed_conf_input=$configure_input;;
17845 esac
17847 case $ac_tag in
17848 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17849 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17850 esac
17852 esac
17854 ac_dir=`$as_dirname -- "$ac_file" ||
17855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17856 X"$ac_file" : 'X\(//\)[^/]' \| \
17857 X"$ac_file" : 'X\(//\)$' \| \
17858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17859 $as_echo X"$ac_file" |
17860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17861 s//\1/
17864 /^X\(\/\/\)[^/].*/{
17865 s//\1/
17868 /^X\(\/\/\)$/{
17869 s//\1/
17872 /^X\(\/\).*/{
17873 s//\1/
17876 s/.*/./; q'`
17877 as_dir="$ac_dir"; as_fn_mkdir_p
17878 ac_builddir=.
17880 case "$ac_dir" in
17881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17883 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17884 # A ".." for each directory in $ac_dir_suffix.
17885 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17886 case $ac_top_builddir_sub in
17887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17889 esac ;;
17890 esac
17891 ac_abs_top_builddir=$ac_pwd
17892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17893 # for backward compatibility:
17894 ac_top_builddir=$ac_top_build_prefix
17896 case $srcdir in
17897 .) # We are building in place.
17898 ac_srcdir=.
17899 ac_top_srcdir=$ac_top_builddir_sub
17900 ac_abs_top_srcdir=$ac_pwd ;;
17901 [\\/]* | ?:[\\/]* ) # Absolute name.
17902 ac_srcdir=$srcdir$ac_dir_suffix;
17903 ac_top_srcdir=$srcdir
17904 ac_abs_top_srcdir=$srcdir ;;
17905 *) # Relative name.
17906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17907 ac_top_srcdir=$ac_top_build_prefix$srcdir
17908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17909 esac
17910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17913 case $ac_mode in
17916 # CONFIG_FILE
17919 case $INSTALL in
17920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17922 esac
17923 _ACEOF
17925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17926 # If the template does not know about datarootdir, expand it.
17927 # FIXME: This hack should be removed a few years after 2.60.
17928 ac_datarootdir_hack=; ac_datarootdir_seen=
17929 ac_sed_dataroot='
17930 /datarootdir/ {
17934 /@datadir@/p
17935 /@docdir@/p
17936 /@infodir@/p
17937 /@localedir@/p
17938 /@mandir@/p'
17939 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17940 *datarootdir*) ac_datarootdir_seen=yes;;
17941 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17943 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17944 _ACEOF
17945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17946 ac_datarootdir_hack='
17947 s&@datadir@&$datadir&g
17948 s&@docdir@&$docdir&g
17949 s&@infodir@&$infodir&g
17950 s&@localedir@&$localedir&g
17951 s&@mandir@&$mandir&g
17952 s&\\\${datarootdir}&$datarootdir&g' ;;
17953 esac
17954 _ACEOF
17956 # Neutralize VPATH when `$srcdir' = `.'.
17957 # Shell code in configure.ac might set extrasub.
17958 # FIXME: do we really want to maintain this feature?
17959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17960 ac_sed_extra="$ac_vpsub
17961 $extrasub
17962 _ACEOF
17963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17965 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17966 s|@configure_input@|$ac_sed_conf_input|;t t
17967 s&@top_builddir@&$ac_top_builddir_sub&;t t
17968 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17969 s&@srcdir@&$ac_srcdir&;t t
17970 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17971 s&@top_srcdir@&$ac_top_srcdir&;t t
17972 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17973 s&@builddir@&$ac_builddir&;t t
17974 s&@abs_builddir@&$ac_abs_builddir&;t t
17975 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17976 s&@INSTALL@&$ac_INSTALL&;t t
17977 $ac_datarootdir_hack
17979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17980 if $ac_cs_awk_getline; then
17981 $AWK -f "$ac_tmp/subs.awk"
17982 else
17983 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17984 fi \
17985 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17987 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17988 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17989 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17990 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17992 which seems to be undefined. Please make sure it is defined" >&5
17993 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17994 which seems to be undefined. Please make sure it is defined" >&2;}
17996 rm -f "$ac_tmp/stdin"
17997 case $ac_file in
17998 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17999 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18000 esac \
18001 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18005 # CONFIG_HEADER
18007 if test x"$ac_file" != x-; then
18009 $as_echo "/* $configure_input */" \
18010 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18011 } >"$ac_tmp/config.h" \
18012 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18013 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18015 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18016 else
18017 rm -f "$ac_file"
18018 mv "$ac_tmp/config.h" "$ac_file" \
18019 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18021 else
18022 $as_echo "/* $configure_input */" \
18023 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18024 || as_fn_error $? "could not create -" "$LINENO" 5
18029 # CONFIG_LINK
18032 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18034 else
18035 # Prefer the file from the source tree if names are identical.
18036 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18037 ac_source=$srcdir/$ac_source
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18041 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18043 if test ! -r "$ac_source"; then
18044 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18046 rm -f "$ac_file"
18048 # Try a relative symlink, then a hard link, then a copy.
18049 case $ac_source in
18050 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18051 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18052 esac
18053 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18054 ln "$ac_source" "$ac_file" 2>/dev/null ||
18055 cp -p "$ac_source" "$ac_file" ||
18056 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18059 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18060 $as_echo "$as_me: executing $ac_file commands" >&6;}
18062 esac
18065 case $ac_file$ac_mode in
18066 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18067 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18068 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18069 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18070 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18071 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18072 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18073 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18074 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18075 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18076 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18077 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18078 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18079 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18080 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18081 "Makefile":C) wine_fn_output_makefile Makefile ;;
18083 esac
18084 done # for ac_tag
18087 as_fn_exit 0
18088 _ACEOF
18089 ac_clean_files=$ac_clean_files_save
18091 test $ac_write_fail = 0 ||
18092 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18095 # configure is writing to config.log, and then calls config.status.
18096 # config.status does its own redirection, appending to config.log.
18097 # Unfortunately, on DOS this fails, as config.log is still kept open
18098 # by configure, so config.status won't be able to write to it; its
18099 # output is simply discarded. So we exec the FD to /dev/null,
18100 # effectively closing config.log, so it can be properly (re)opened and
18101 # appended to by config.status. When coming back to configure, we
18102 # need to make the FD available again.
18103 if test "$no_create" != yes; then
18104 ac_cs_success=:
18105 ac_config_status_args=
18106 test "$silent" = yes &&
18107 ac_config_status_args="$ac_config_status_args --quiet"
18108 exec 5>/dev/null
18109 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18110 exec 5>>config.log
18111 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18112 # would make configure fail if this is the last instruction.
18113 $ac_cs_success || as_fn_exit 1
18115 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18117 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18121 if test "$no_create" = "yes"
18122 then
18123 exit 0
18126 ac_save_IFS="$IFS"
18127 if test "x$wine_notices != "x; then
18128 echo >&6
18129 IFS="|"
18130 for msg in $wine_notices; do
18131 IFS="$ac_save_IFS"
18132 if test -n "$msg"; then
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18134 $as_echo "$as_me: $msg" >&6;}
18136 done
18138 IFS="|"
18139 for msg in $wine_warnings; do
18140 IFS="$ac_save_IFS"
18141 if test -n "$msg"; then
18142 echo >&2
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18144 $as_echo "$as_me: WARNING: $msg" >&2;}
18146 done
18147 IFS="$ac_save_IFS"
18149 echo "
18150 $as_me: Finished. Do '${ac_make}' to compile Wine.
18151 " >&6