2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.1.41.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: wine-devel@winehq.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status=$?; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
554 PACKAGE_TARNAME='wine'
555 PACKAGE_VERSION='1.1.41'
556 PACKAGE_STRING='Wine 1.1.41'
557 PACKAGE_BUGREPORT='wine-devel@winehq.org'
558 PACKAGE_URL='http://www.winehq.org'
560 ac_unique_file="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='LTLIBOBJS
599 ALL_PROGRAM_BIN_INSTALL_DIRS
750 program_transform_name
761 ac_subst_files='MAKE_RULES
767 enable_option_checking
771 enable_maintainer_mode
817 ac_precious_vars='build_alias
832 # Initialize some variables set by options.
834 ac_init_version=false
835 ac_unrecognized_opts=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name=s,x,x,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir='${exec_prefix}/bin'
861 sbindir='${exec_prefix}/sbin'
862 libexecdir='${exec_prefix}/libexec'
863 datarootdir='${prefix}/share'
864 datadir='${datarootdir}'
865 sysconfdir='${prefix}/etc'
866 sharedstatedir='${prefix}/com'
867 localstatedir='${prefix}/var'
868 includedir='${prefix}/include'
869 oldincludedir='/usr/include'
870 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir='${datarootdir}/info'
876 libdir='${exec_prefix}/lib'
877 localedir='${datarootdir}/locale'
878 mandir='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
892 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 # Accept the important Cygnus configure options, so we can diagnose typos.
898 case $ac_dashdash$ac_option in
902 -bindir | --bindir | --bindi | --bind | --bin | --bi)
904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907 -build | --build | --buil | --bui | --bu)
908 ac_prev=build_alias ;;
909 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910 build_alias=$ac_optarg ;;
912 -cache-file | --cache-file | --cache-fil | --cache-fi \
913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914 ac_prev=cache_file ;;
915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917 cache_file=$ac_optarg ;;
920 cache_file=config.cache ;;
922 -datadir | --datadir | --datadi | --datad)
924 -datadir=* | --datadir=* | --datadi=* | --datad=*)
925 datadir=$ac_optarg ;;
927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928 | --dataroo | --dataro | --datar)
929 ac_prev=datarootdir ;;
930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932 datarootdir=$ac_optarg ;;
934 -disable-* | --disable-*)
935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 as_fn_error "invalid feature name: $ac_useropt"
939 ac_useropt_orig=$ac_useropt
940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep=', ';;
948 eval enable_$ac_useropt=no ;;
950 -docdir | --docdir | --docdi | --doc | --do)
952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960 -enable-* | --enable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
974 eval enable_$ac_useropt=\$ac_optarg ;;
976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978 | --exec | --exe | --ex)
979 ac_prev=exec_prefix ;;
980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982 | --exec=* | --exe=* | --ex=*)
983 exec_prefix=$ac_optarg ;;
985 -gas | --gas | --ga | --g)
986 # Obsolete; use --with-gas.
989 -help | --help | --hel | --he | -h)
991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 ac_init_help=recursive ;;
993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 ac_init_help=short ;;
996 -host | --host | --hos | --ho)
997 ac_prev=host_alias ;;
998 -host=* | --host=* | --hos=* | --ho=*)
999 host_alias=$ac_optarg ;;
1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1005 htmldir=$ac_optarg ;;
1007 -includedir | --includedir | --includedi | --included | --include \
1008 | --includ | --inclu | --incl | --inc)
1009 ac_prev=includedir ;;
1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011 | --includ=* | --inclu=* | --incl=* | --inc=*)
1012 includedir=$ac_optarg ;;
1014 -infodir | --infodir | --infodi | --infod | --info | --inf)
1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017 infodir=$ac_optarg ;;
1019 -libdir | --libdir | --libdi | --libd)
1021 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022 libdir=$ac_optarg ;;
1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025 | --libexe | --libex | --libe)
1026 ac_prev=libexecdir ;;
1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028 | --libexe=* | --libex=* | --libe=*)
1029 libexecdir=$ac_optarg ;;
1031 -localedir | --localedir | --localedi | --localed | --locale)
1032 ac_prev=localedir ;;
1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034 localedir=$ac_optarg ;;
1036 -localstatedir | --localstatedir | --localstatedi | --localstated \
1037 | --localstate | --localstat | --localsta | --localst | --locals)
1038 ac_prev=localstatedir ;;
1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041 localstatedir=$ac_optarg ;;
1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046 mandir=$ac_optarg ;;
1048 -nfp | --nfp | --nf)
1049 # Obsolete; use --without-fp.
1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053 | --no-cr | --no-c | -n)
1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062 | --oldin | --oldi | --old | --ol | --o)
1063 ac_prev=oldincludedir ;;
1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067 oldincludedir=$ac_optarg ;;
1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072 prefix=$ac_optarg ;;
1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075 | --program-pre | --program-pr | --program-p)
1076 ac_prev=program_prefix ;;
1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079 program_prefix=$ac_optarg ;;
1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082 | --program-suf | --program-su | --program-s)
1083 ac_prev=program_suffix ;;
1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086 program_suffix=$ac_optarg ;;
1088 -program-transform-name | --program-transform-name \
1089 | --program-transform-nam | --program-transform-na \
1090 | --program-transform-n | --program-transform- \
1091 | --program-transform | --program-transfor \
1092 | --program-transfo | --program-transf \
1093 | --program-trans | --program-tran \
1094 | --progr-tra | --program-tr | --program-t)
1095 ac_prev=program_transform_name ;;
1096 -program-transform-name=* | --program-transform-name=* \
1097 | --program-transform-nam=* | --program-transform-na=* \
1098 | --program-transform-n=* | --program-transform-=* \
1099 | --program-transform=* | --program-transfor=* \
1100 | --program-transfo=* | --program-transf=* \
1101 | --program-trans=* | --program-tran=* \
1102 | --progr-tra=* | --program-tr=* | --program-t=*)
1103 program_transform_name=$ac_optarg ;;
1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108 pdfdir=$ac_optarg ;;
1110 -psdir | --psdir | --psdi | --psd | --ps)
1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1123 sbindir=$ac_optarg ;;
1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127 | --sharedst | --shareds | --shared | --share | --shar \
1129 ac_prev=sharedstatedir ;;
1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1134 sharedstatedir=$ac_optarg ;;
1136 -site | --site | --sit)
1138 -site=* | --site=* | --sit=*)
1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144 srcdir=$ac_optarg ;;
1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147 | --syscon | --sysco | --sysc | --sys | --sy)
1148 ac_prev=sysconfdir ;;
1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151 sysconfdir=$ac_optarg ;;
1153 -target | --target | --targe | --targ | --tar | --ta | --t)
1154 ac_prev=target_alias ;;
1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156 target_alias=$ac_optarg ;;
1158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161 -version | --version | --versio | --versi | --vers | -V)
1162 ac_init_version=: ;;
1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1178 eval with_$ac_useropt=\$ac_optarg ;;
1180 -without-* | --without-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error "invalid package name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval with_$ac_useropt=no ;;
1197 # Obsolete; use --with-x.
1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201 | --x-incl | --x-inc | --x-in | --x-i)
1202 ac_prev=x_includes ;;
1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205 x_includes=$ac_optarg ;;
1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209 ac_prev=x_libraries ;;
1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212 x_libraries=$ac_optarg ;;
1214 -*) as_fn_error "unrecognized option: \`$ac_option'
1215 Try \`$0 --help' for more information."
1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1225 eval $ac_envvar=\$ac_optarg
1226 export $ac_envvar ;;
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1239 if test -n "$ac_prev"; then
1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error "missing argument to $ac_option"
1244 if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1247 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1252 # Check all directory arguments for consistency.
1253 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1258 eval ac_val=\$$ac_var
1259 # Remove trailing slashes.
1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\$ac_val;;
1265 # Be sure to have absolute directory names.
1267 [\\/$]* | ?:[\\/]* ) continue;;
1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1270 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1273 # There might be people who depend on the old broken behavior: `$host'
1274 # used to hold the argument of --host etc.
1275 # FIXME: To remove some day.
1278 target=$target_alias
1280 # FIXME: To remove some day.
1281 if test "x$host_alias" != x; then
1282 if test "x$build_alias" = x; then
1283 cross_compiling=maybe
1284 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1285 If a cross compiler is detected then cross compile mode will be used." >&2
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1294 test "$silent" = yes && exec 6>/dev/null
1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di=`ls -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error "working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error "pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var in $ac_precious_vars; do
1358 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_${ac_var}_value=\$${ac_var}
1360 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures Wine 1.1.41 to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --x-includes=DIR X include files are in DIR
1430 --x-libraries=DIR X library files are in DIR
1433 --build=BUILD configure for building on BUILD [guessed]
1434 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1438 if test -n "$ac_init_help"; then
1439 case $ac_init_help in
1440 short | recursive ) echo "Configuration of Wine 1.1.41:";;
1445 --disable-option-checking ignore unrecognized --enable/--with options
1446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1448 --disable-win16 do not include Win16 support
1449 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1451 --disable-tests do not build the regression tests
1452 --enable-maintainer-mode
1453 enable maintainer-specific build rules
1454 --disable-largefile omit support for large files
1457 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1458 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1459 --without-alsa do not use the Alsa sound support
1460 --without-audioio do not use the AudioIO sound support
1461 --without-capi do not use CAPI (ISDN support)
1462 --without-cms do not use CMS (color management support)
1463 --without-coreaudio do not use the CoreAudio sound support
1464 --without-cups do not use CUPS
1465 --without-curses do not use (n)curses
1466 --without-esd do not use the EsounD sound support
1467 --without-fontconfig do not use fontconfig
1468 --without-freetype do not use the FreeType library
1469 --without-gphoto do not use gphoto (Digital Camera support)
1470 --without-glu do not use the GLU library
1471 --without-gnutls do not use GnuTLS (schannel support)
1472 --without-gsm do not use libgsm (GSM 06.10 codec support)
1473 --without-hal do not use HAL (dynamic device support)
1474 --without-jack do not use the Jack sound support
1475 --without-jpeg do not use JPEG
1476 --without-ldap do not use LDAP
1477 --without-mpg123 do not use the mpg123 library
1478 --without-nas do not use the NAS sound support
1479 --without-openal do not use OpenAL
1480 --without-opengl do not use OpenGL
1481 --without-openssl do not use OpenSSL
1482 --without-oss do not use the OSS sound support
1483 --without-png do not use PNG
1484 --without-pthread do not use the pthread library
1485 --without-sane do not use SANE (scanner support)
1486 --without-tiff do not use TIFF
1487 --without-v4l do not use v4l1 (v4l support)
1488 --without-xcomposite do not use the Xcomposite extension
1489 --without-xcursor do not use the Xcursor extension
1490 --without-xinerama do not use Xinerama (multi-monitor support)
1491 --without-xinput do not use the Xinput extension
1492 --without-xml do not use XML
1493 --without-xrandr do not use Xrandr (resolution changes)
1494 --without-xrender do not use the Xrender extension
1495 --without-xshape do not use the Xshape extension
1496 --without-xshm do not use XShm (shared memory extension)
1497 --without-xslt do not use XSLT
1498 --without-xxf86vm do not use XFree video mode extension
1499 --with-wine-tools=DIR use Wine tools from directory DIR
1500 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1501 --with-x use the X Window System
1503 Some influential environment variables:
1504 CC C compiler command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1507 nonstandard directory <lib dir>
1508 LIBS libraries to pass to the linker, e.g. -l<library>
1509 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1510 you have headers in a nonstandard directory <include dir>
1511 CXX C++ compiler command
1512 CXXFLAGS C++ compiler flags
1514 XMKMF Path to xmkmf, Makefile generator for X Window System
1516 Use these variables to override the choices made by `configure' or to help
1517 it to find libraries and programs with nonstandard names/locations.
1519 Report bugs to <wine-devel@winehq.org>.
1520 Wine home page: <http://www.winehq.org>.
1525 if test "$ac_init_help" = "recursive"; then
1526 # If there are subdirs, report their specific --help.
1527 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1528 test -d "$ac_dir" ||
1529 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1544 ac_abs_top_builddir=$ac_pwd
1545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir=$ac_top_build_prefix
1550 .) # We are building in place.
1552 ac_top_srcdir=$ac_top_builddir_sub
1553 ac_abs_top_srcdir=$ac_pwd ;;
1554 [\\/]* | ?:[\\/]* ) # Absolute name.
1555 ac_srcdir=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir=$srcdir
1557 ac_abs_top_srcdir=$srcdir ;;
1559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1565 cd "$ac_dir" || { ac_status=$?; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1574 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 cd "$ac_pwd" || { ac_status=$?; break; }
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1583 Wine configure 1.1.41
1584 generated by GNU Autoconf 2.65
1586 Copyright (C) 2009 Free Software Foundation, Inc.
1587 This configure script is free software; the Free Software Foundation
1588 gives unlimited permission to copy, distribute and modify it.
1593 ## ------------------------ ##
1594 ## Autoconf initialization. ##
1595 ## ------------------------ ##
1597 # ac_fn_c_try_compile LINENO
1598 # --------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_compile ()
1602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603 rm -f conftest.$ac_objext
1604 if { { ac_try="$ac_compile"
1606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_c_try_compile
1635 # ac_fn_cxx_try_compile LINENO
1636 # ----------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_cxx_try_compile ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1642 if { { ac_try="$ac_compile"
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_cxx_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_cxx_try_compile
1673 # ac_fn_c_try_link LINENO
1674 # -----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext conftest$ac_exeext
1680 if { { ac_try="$ac_link"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest$ac_exeext && {
1699 test "$cross_compiling" = yes ||
1700 $as_test_x conftest$ac_exeext
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1711 # interfere with the next link command; also delete a directory that is
1712 # left behind by Apple's compiler. We do this before executing the actions.
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715 as_fn_set_status $ac_retval
1717 } # ac_fn_c_try_link
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } >/dev/null && {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1752 as_fn_set_status $ac_retval
1756 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1759 # the include files in INCLUDES and setting the cache variable VAR
1761 ac_fn_c_check_header_mongrel ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768 $as_echo_n "(cached) " >&6
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1774 # Is the header compilable?
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1776 $as_echo_n "checking $2 usability... " >&6; }
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_c_try_compile "$LINENO"; then :
1783 ac_header_compiler=yes
1785 ac_header_compiler=no
1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1789 $as_echo "$ac_header_compiler" >&6; }
1791 # Is the header present?
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1793 $as_echo_n "checking $2 presence... " >&6; }
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1798 if ac_fn_c_try_cpp "$LINENO"; then :
1799 ac_header_preproc=yes
1801 ac_header_preproc=no
1803 rm -f conftest.err conftest.$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1805 $as_echo "$ac_header_preproc" >&6; }
1807 # So? What about this header?
1808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1811 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1813 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1817 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1819 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1821 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1823 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827 ## ------------------------------------ ##
1828 ## Report this to wine-devel@winehq.org ##
1829 ## ------------------------------------ ##
1831 ) | sed "s/^/$as_me: WARNING: /" >&2
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1837 $as_echo_n "(cached) " >&6
1839 eval "$3=\$ac_header_compiler"
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847 } # ac_fn_c_check_header_mongrel
1849 # ac_fn_c_try_run LINENO
1850 # ----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1852 # that executables *can* be run.
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if { { ac_try="$ac_link"
1858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1867 { { case "(($ac_try" in
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_try") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; }; }; then :
1879 $as_echo "$as_me: program exited with status $ac_status" >&5
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1883 ac_retval=$ac_status
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 as_fn_set_status $ac_retval
1891 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1892 # -------------------------------------------------------
1893 # Tests whether HEADER exists and can be compiled using the include files in
1894 # INCLUDES, setting the cache variable VAR accordingly.
1895 ac_fn_c_check_header_compile ()
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1908 if ac_fn_c_try_compile "$LINENO"; then :
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 } # ac_fn_c_check_header_compile
1922 # ac_fn_c_check_func LINENO FUNC VAR
1923 # ----------------------------------
1924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1925 ac_fn_c_check_func ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1935 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1937 #define $2 innocuous_$2
1939 /* System header to define __stub macros and hopefully few prototypes,
1940 which can conflict with char $2 (); below.
1941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1942 <limits.h> exists even on freestanding compilers. */
1945 # include <limits.h>
1947 # include <assert.h>
1952 /* Override any GCC internal prototype to avoid an error.
1953 Use char because int might match the return type of a GCC
1954 builtin and then its argument prototype would still apply. */
1959 /* The GNU C library defines this for functions which it implements
1960 to always fail with ENOSYS. Some functions are actually named
1961 something starting with __ and the normal name is an alias. */
1962 #if defined __stub_$2 || defined __stub___$2
1974 if ac_fn_c_try_link "$LINENO"; then :
1979 rm -f core conftest.err conftest.$ac_objext \
1980 conftest$ac_exeext conftest.$ac_ext
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987 } # ac_fn_c_check_func
1989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1990 # ----------------------------------------------------
1991 # Tries to find if the field MEMBER exists in type AGGR, after including
1992 # INCLUDES, setting cache variable VAR accordingly.
1993 ac_fn_c_check_member ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1997 $as_echo_n "checking for $2.$3... " >&6; }
1998 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 $as_echo_n "(cached) " >&6
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2014 if ac_fn_c_try_compile "$LINENO"; then :
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2024 if (sizeof ac_aggr.$3)
2030 if ac_fn_c_try_compile "$LINENO"; then :
2035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044 } # ac_fn_c_check_member
2046 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2047 # -------------------------------------------
2048 # Tests whether TYPE exists after having included INCLUDES, setting cache
2049 # variable VAR accordingly.
2050 ac_fn_c_check_type ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2056 $as_echo_n "(cached) " >&6
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2098 } # ac_fn_c_check_type
2099 cat >config.log <<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2103 It was created by Wine $as_me 1.1.41, which was
2104 generated by GNU Autoconf 2.65. Invocation command line was
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 $as_echo "PATH: $as_dir"
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_must_keep_next=false
2170 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2172 | -silent | --silent | --silen | --sile | --sil)
2175 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2180 as_fn_append ac_configure_args1 " '$ac_arg'"
2181 if test $ac_must_keep_next = true; then
2182 ac_must_keep_next=false # Got value, back to normal.
2185 *=* | --config-cache | -C | -disable-* | --disable-* \
2186 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2187 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2188 | -with-* | --with-* | -without-* | --without-* | --x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 -* ) ac_must_keep_next=true ;;
2196 as_fn_append ac_configure_args " '$ac_arg'"
2201 { ac_configure_args0=; unset ac_configure_args0;}
2202 { ac_configure_args1=; unset ac_configure_args1;}
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2215 ## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##
2220 # The following way of writing the cache mishandles newlines in values,
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231 _ | IFS | as_nl) ;; #(
2232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2233 *) { eval $ac_var=; unset $ac_var;} ;;
2238 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2239 *${as_nl}ac_space=\ *)
2241 "s/'\''/'\''\\\\'\'''\''/g;
2242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 ## ----------------- ##
2254 ## Output variables. ##
2255 ## ----------------- ##
2258 for ac_var in $ac_subst_vars
2260 eval ac_val=\$$ac_var
2262 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 $as_echo "$ac_var='\''$ac_val'\''"
2268 if test -n "$ac_subst_files"; then
2270 ## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##
2275 for ac_var in $ac_subst_files
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2286 if test -s confdefs.h; then
2296 test "$ac_signal" != 0 &&
2297 $as_echo "$as_me: caught signal $ac_signal"
2298 $as_echo "$as_me: exit $exit_status"
2300 rm -f core *.core core.conftest.* &&
2301 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2304 for ac_signal in 1 2 13 15; do
2305 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2309 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2310 rm -f -r conftest* confdefs.h
2312 $as_echo "/* confdefs.h */" > confdefs.h
2314 # Predefined preprocessor variables.
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_NAME "$PACKAGE_NAME"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_URL "$PACKAGE_URL"
2341 # Let the site file select an alternate cache file if it wants to.
2342 # Prefer an explicitly selected file to automatically selected ones.
2345 if test -n "$CONFIG_SITE"; then
2346 ac_site_file1=$CONFIG_SITE
2347 elif test "x$prefix" != xNONE; then
2348 ac_site_file1=$prefix/share/config.site
2349 ac_site_file2=$prefix/etc/config.site
2351 ac_site_file1=$ac_default_prefix/share/config.site
2352 ac_site_file2=$ac_default_prefix/etc/config.site
2354 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2356 test "x$ac_site_file" = xNONE && continue
2357 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2359 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2360 sed 's/^/| /' "$ac_site_file" >&5
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special files
2367 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2368 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2370 $as_echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 *) . "./$cache_file";;
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2378 $as_echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 # differences in whitespace do not lead to failure.
2403 ac_old_val_w=`echo x $ac_old_val`
2404 ac_new_val_w=`echo x $ac_new_val`
2405 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 ac_cache_corrupted=:
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412 eval $ac_var=\$ac_old_val
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2415 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424 *) ac_arg=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 ac_config_headers="$ac_config_headers include/config.h"
2454 for ac_dir in tools "$srcdir"/tools; do
2455 for ac_t in install-sh install.sh shtool; do
2456 if test -f "$ac_dir/$ac_t"; then
2458 ac_install_sh="$ac_aux_dir/$ac_t -c"
2463 if test -z "$ac_aux_dir"; then
2464 as_fn_error "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2467 # These three variables are undocumented and unsupported,
2468 # and are intended to be withdrawn in a future Autoconf release.
2469 # They can cause serious problems if a builder's source tree is in a directory
2470 # whose full name contains unusual characters.
2471 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2472 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2473 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2479 # Check whether --enable-win16 was given.
2480 if test "${enable_win16+set}" = set; then :
2481 enableval=$enable_win16;
2484 # Check whether --enable-win64 was given.
2485 if test "${enable_win64+set}" = set; then :
2486 enableval=$enable_win64;
2489 # Check whether --enable-tests was given.
2490 if test "${enable_tests+set}" = set; then :
2491 enableval=$enable_tests;
2494 # Check whether --enable-maintainer-mode was given.
2495 if test "${enable_maintainer_mode+set}" = set; then :
2496 enableval=$enable_maintainer_mode;
2504 # Check whether --with-alsa was given.
2505 if test "${with_alsa+set}" = set; then :
2506 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2510 # Check whether --with-audioio was given.
2511 if test "${with_audioio+set}" = set; then :
2512 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
2516 # Check whether --with-capi was given.
2517 if test "${with_capi+set}" = set; then :
2518 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2522 # Check whether --with-cms was given.
2523 if test "${with_cms+set}" = set; then :
2524 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2528 # Check whether --with-coreaudio was given.
2529 if test "${with_coreaudio+set}" = set; then :
2530 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2534 # Check whether --with-cups was given.
2535 if test "${with_cups+set}" = set; then :
2540 # Check whether --with-curses was given.
2541 if test "${with_curses+set}" = set; then :
2542 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2546 # Check whether --with-esd was given.
2547 if test "${with_esd+set}" = set; then :
2552 # Check whether --with-fontconfig was given.
2553 if test "${with_fontconfig+set}" = set; then :
2554 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2558 # Check whether --with-freetype was given.
2559 if test "${with_freetype+set}" = set; then :
2560 withval=$with_freetype;
2564 # Check whether --with-gphoto was given.
2565 if test "${with_gphoto+set}" = set; then :
2566 withval=$with_gphoto;
2570 # Check whether --with-glu was given.
2571 if test "${with_glu+set}" = set; then :
2572 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2576 # Check whether --with-gnutls was given.
2577 if test "${with_gnutls+set}" = set; then :
2578 withval=$with_gnutls;
2582 # Check whether --with-gsm was given.
2583 if test "${with_gsm+set}" = set; then :
2584 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2588 # Check whether --with-hal was given.
2589 if test "${with_hal+set}" = set; then :
2594 # Check whether --with-jack was given.
2595 if test "${with_jack+set}" = set; then :
2596 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2600 # Check whether --with-jpeg was given.
2601 if test "${with_jpeg+set}" = set; then :
2602 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2606 # Check whether --with-ldap was given.
2607 if test "${with_ldap+set}" = set; then :
2608 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2612 # Check whether --with-mpg123 was given.
2613 if test "${with_mpg123+set}" = set; then :
2614 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2618 # Check whether --with-nas was given.
2619 if test "${with_nas+set}" = set; then :
2620 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2624 # Check whether --with-openal was given.
2625 if test "${with_openal+set}" = set; then :
2626 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2630 # Check whether --with-opengl was given.
2631 if test "${with_opengl+set}" = set; then :
2632 withval=$with_opengl;
2636 # Check whether --with-openssl was given.
2637 if test "${with_openssl+set}" = set; then :
2638 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2642 # Check whether --with-oss was given.
2643 if test "${with_oss+set}" = set; then :
2644 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2648 # Check whether --with-png was given.
2649 if test "${with_png+set}" = set; then :
2650 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2654 # Check whether --with-pthread was given.
2655 if test "${with_pthread+set}" = set; then :
2656 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2660 # Check whether --with-sane was given.
2661 if test "${with_sane+set}" = set; then :
2666 # Check whether --with-tiff was given.
2667 if test "${with_tiff+set}" = set; then :
2668 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2672 # Check whether --with-v4l was given.
2673 if test "${with_v4l+set}" = set; then :
2678 # Check whether --with-xcomposite was given.
2679 if test "${with_xcomposite+set}" = set; then :
2680 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2684 # Check whether --with-xcursor was given.
2685 if test "${with_xcursor+set}" = set; then :
2686 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2690 # Check whether --with-xinerama was given.
2691 if test "${with_xinerama+set}" = set; then :
2692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2696 # Check whether --with-xinput was given.
2697 if test "${with_xinput+set}" = set; then :
2698 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2702 # Check whether --with-xml was given.
2703 if test "${with_xml+set}" = set; then :
2708 # Check whether --with-xrandr was given.
2709 if test "${with_xrandr+set}" = set; then :
2710 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2714 # Check whether --with-xrender was given.
2715 if test "${with_xrender+set}" = set; then :
2716 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2720 # Check whether --with-xshape was given.
2721 if test "${with_xshape+set}" = set; then :
2722 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2726 # Check whether --with-xshm was given.
2727 if test "${with_xshm+set}" = set; then :
2728 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2732 # Check whether --with-xslt was given.
2733 if test "${with_xslt+set}" = set; then :
2738 # Check whether --with-xxf86vm was given.
2739 if test "${with_xxf86vm+set}" = set; then :
2740 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
2745 # Check whether --with-wine-tools was given.
2746 if test "${with_wine_tools+set}" = set; then :
2747 withval=$with_wine_tools;
2751 # Check whether --with-wine64 was given.
2752 if test "${with_wine64+set}" = set; then :
2753 withval=$with_wine64;
2757 # Make sure we can run config.sub.
2758 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2759 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2762 $as_echo_n "checking build system type... " >&6; }
2763 if test "${ac_cv_build+set}" = set; then :
2764 $as_echo_n "(cached) " >&6
2766 ac_build_alias=$build_alias
2767 test "x$ac_build_alias" = x &&
2768 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2769 test "x$ac_build_alias" = x &&
2770 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2771 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2772 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2776 $as_echo "$ac_cv_build" >&6; }
2777 case $ac_cv_build in
2779 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2782 ac_save_IFS=$IFS; IFS='-'
2788 # Remember, the first character of IFS is used to create $*,
2789 # except with old shells:
2792 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2796 $as_echo_n "checking host system type... " >&6; }
2797 if test "${ac_cv_host+set}" = set; then :
2798 $as_echo_n "(cached) " >&6
2800 if test "x$host_alias" = x; then
2801 ac_cv_host=$ac_cv_build
2803 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2804 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2809 $as_echo "$ac_cv_host" >&6; }
2812 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2815 ac_save_IFS=$IFS; IFS='-'
2821 # Remember, the first character of IFS is used to create $*,
2822 # except with old shells:
2825 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2831 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2832 as_fn_error "you are building out of the source tree, but the source tree contains object files.
2833 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2841 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2842 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2843 $as_echo_n "(cached) " >&6
2845 cat >conftest.make <<\_ACEOF
2848 @echo '@@@%%%=$(MAKE)=@@@%%%'
2850 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2853 eval ac_cv_prog_make_${ac_make}_set=yes;;
2855 eval ac_cv_prog_make_${ac_make}_set=no;;
2859 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861 $as_echo "yes" >&6; }
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2866 SET_MAKE="MAKE=${MAKE-make}"
2870 ac_cpp='$CPP $CPPFLAGS'
2871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874 if test -n "$ac_tool_prefix"; then
2875 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2876 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_CC+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC="$CC" # Let the user override the test.
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 if test -n "$CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2905 $as_echo "$CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2913 if test -z "$ac_cv_prog_CC"; then
2915 # Extract the first word of "gcc", so it can be a program name with args.
2916 set dummy gcc; ac_word=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$ac_ct_CC"; then
2923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 ac_cv_prog_ac_ct_CC="gcc"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2943 if test -n "$ac_ct_CC"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2945 $as_echo "$ac_ct_CC" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2951 if test "x$ac_ct_CC" = x; then
2954 case $cross_compiling:$ac_tool_warned in
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2958 ac_tool_warned=yes ;;
2966 if test -z "$CC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2969 set dummy ${ac_tool_prefix}cc; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_CC+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_CC="${ac_tool_prefix}cc"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2998 $as_echo "$CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3007 if test -z "$CC"; then
3008 # Extract the first word of "cc", so it can be a program name with args.
3009 set dummy cc; ac_word=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if test "${ac_cv_prog_CC+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3027 ac_prog_rejected=yes
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 if test $ac_prog_rejected = yes; then
3039 # We found a bogon in the path, so make sure we never use it.
3040 set dummy $ac_cv_prog_CC
3042 if test $# != 0; then
3043 # We chose a different compiler from the bogus one.
3044 # However, it has the same basename, so the bogon will be chosen
3045 # first if we set CC to just the basename; use the full file name.
3047 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3053 if test -n "$CC"; then
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3063 if test -z "$CC"; then
3064 if test -n "$ac_tool_prefix"; then
3065 for ac_prog in cl.exe
3067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if test "${ac_cv_prog_CC+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3074 if test -n "$CC"; then
3075 ac_cv_prog_CC="$CC" # Let the user override the test.
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3084 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 if test -n "$CC"; then
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3097 $as_echo "$CC" >&6; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3104 test -n "$CC" && break
3107 if test -z "$CC"; then
3109 for ac_prog in cl.exe
3111 # Extract the first word of "$ac_prog", so it can be a program name with args.
3112 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3116 $as_echo_n "(cached) " >&6
3118 if test -n "$ac_ct_CC"; then
3119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_prog_ac_ct_CC="$ac_prog"
3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3139 if test -n "$ac_ct_CC"; then
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3141 $as_echo "$ac_ct_CC" >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3148 test -n "$ac_ct_CC" && break
3151 if test "x$ac_ct_CC" = x; then
3154 case $cross_compiling:$ac_tool_warned in
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3158 ac_tool_warned=yes ;;
3167 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error "no acceptable C compiler found in \$PATH
3170 See \`config.log' for more details." "$LINENO" 5; }
3172 # Provide some information about the compiler.
3173 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3176 for ac_option in --version -v -V -qversion; do
3177 { { ac_try="$ac_compiler $ac_option >&5"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3186 if test -s conftest.err; then
3188 ... rest of stderr output deleted ...
3189 10q' conftest.err >conftest.er1
3190 cat conftest.er1 >&5
3192 rm -f conftest.er1 conftest.err
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3208 ac_clean_files_save=$ac_clean_files
3209 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3210 # Try to create an executable without -o first, disregard a.out.
3211 # It will help us diagnose broken compilers, and finding out an intuition
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3214 $as_echo_n "checking whether the C compiler works... " >&6; }
3215 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3217 # The possible output files:
3218 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3221 for ac_file in $ac_files
3224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3225 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3230 if { { ac_try="$ac_link_default"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_link_default") 2>&5
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }; then :
3241 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3242 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3243 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3244 # so that the user can short-circuit this test for compilers unknown to
3246 for ac_file in $ac_files ''
3248 test -f "$ac_file" || continue
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3253 # We found the default executable, but exeext='' is most
3257 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3259 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3261 # We set ac_cv_exeext here because the later test for it is not
3262 # safe: cross compilers may not add the suffix if given an `-o'
3263 # argument, so we may need to know it at that point already.
3264 # Even if this section looks crufty: it has the advantage of
3271 test "$ac_cv_exeext" = no && ac_cv_exeext=
3276 if test -z "$ac_file"; then :
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 $as_echo "no" >&6; }
3279 $as_echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3284 { as_fn_set_status 77
3285 as_fn_error "C compiler cannot create executables
3286 See \`config.log' for more details." "$LINENO" 5; }; }
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3289 $as_echo "yes" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3292 $as_echo_n "checking for C compiler default output file name... " >&6; }
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3294 $as_echo "$ac_file" >&6; }
3295 ac_exeext=$ac_cv_exeext
3297 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3298 ac_clean_files=$ac_clean_files_save
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3300 $as_echo_n "checking for suffix of executables... " >&6; }
3301 if { { ac_try="$ac_link"
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_link") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; then :
3312 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3313 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
3316 for ac_file in conftest.exe conftest conftest.*; do
3317 test -f "$ac_file" || continue
3319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error "cannot compute suffix of executables: cannot compile and link
3329 See \`config.log' for more details." "$LINENO" 5; }
3331 rm -f conftest conftest$ac_cv_exeext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3333 $as_echo "$ac_cv_exeext" >&6; }
3335 rm -f conftest.$ac_ext
3336 EXEEXT=$ac_cv_exeext
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3344 FILE *f = fopen ("conftest.out", "w");
3345 return ferror (f) || fclose (f) != 0;
3351 ac_clean_files="$ac_clean_files conftest.out"
3352 # Check that the compiler produces executables we can run. If not, either
3353 # the compiler is broken, or we cross compile.
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3355 $as_echo_n "checking whether we are cross compiling... " >&6; }
3356 if test "$cross_compiling" != yes; then
3357 { { ac_try="$ac_link"
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363 $as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_link") 2>&5
3366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367 test $ac_status = 0; }
3368 if { ac_try='./conftest$ac_cv_exeext'
3369 { { case "(($ac_try" in
3370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371 *) ac_try_echo=$ac_try;;
3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374 $as_echo "$ac_try_echo"; } >&5
3375 (eval "$ac_try") 2>&5
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }; }; then
3381 if test "$cross_compiling" = maybe; then
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error "cannot run C compiled programs.
3387 If you meant to cross compile, use \`--host'.
3388 See \`config.log' for more details." "$LINENO" 5; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3393 $as_echo "$cross_compiling" >&6; }
3395 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3396 ac_clean_files=$ac_clean_files_save
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3398 $as_echo_n "checking for suffix of object files... " >&6; }
3399 if test "${ac_cv_objext+set}" = set; then :
3400 $as_echo_n "(cached) " >&6
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3413 rm -f conftest.o conftest.obj
3414 if { { ac_try="$ac_compile"
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420 $as_echo "$ac_try_echo"; } >&5
3421 (eval "$ac_compile") 2>&5
3423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424 test $ac_status = 0; }; then :
3425 for ac_file in conftest.o conftest.obj conftest.*; do
3426 test -f "$ac_file" || continue;
3428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3429 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3434 $as_echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.$ac_ext >&5
3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3439 as_fn_error "cannot compute suffix of object files: cannot compile
3440 See \`config.log' for more details." "$LINENO" 5; }
3442 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3445 $as_echo "$ac_cv_objext" >&6; }
3446 OBJEXT=$ac_cv_objext
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3449 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3450 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3451 $as_echo_n "(cached) " >&6
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h. */
3467 if ac_fn_c_try_compile "$LINENO"; then :
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3477 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3478 if test $ac_compiler_gnu = yes; then
3483 ac_test_CFLAGS=${CFLAGS+set}
3484 ac_save_CFLAGS=$CFLAGS
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3486 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3487 if test "${ac_cv_prog_cc_g+set}" = set; then :
3488 $as_echo_n "(cached) " >&6
3490 ac_save_c_werror_flag=$ac_c_werror_flag
3491 ac_c_werror_flag=yes
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3505 if ac_fn_c_try_compile "$LINENO"; then :
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3520 if ac_fn_c_try_compile "$LINENO"; then :
3523 ac_c_werror_flag=$ac_save_c_werror_flag
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_c_werror_flag=$ac_save_c_werror_flag
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3547 $as_echo "$ac_cv_prog_cc_g" >&6; }
3548 if test "$ac_test_CFLAGS" = set; then
3549 CFLAGS=$ac_save_CFLAGS
3550 elif test $ac_cv_prog_cc_g = yes; then
3551 if test "$GCC" = yes; then
3557 if test "$GCC" = yes; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3564 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3565 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3566 $as_echo_n "(cached) " >&6
3568 ac_cv_prog_cc_c89=no
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3574 #include <sys/types.h>
3575 #include <sys/stat.h>
3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3577 struct buf { int x; };
3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3579 static char *e (p, i)
3585 static char *f (char * (*g) (char **, int), char **p, ...)
3590 s = g (p, va_arg (v,int));
3595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3596 function prototypes and stuff, but not '\xHH' hex character constants.
3597 These don't provoke an error unfortunately, instead are silently treated
3598 as 'x'. The following induces an error, until -std is added to get
3599 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3600 array size at least. It's necessary to write '\x00'==0 to get something
3601 that's true only with -std. */
3602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3605 inside strings and character constants. */
3607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3609 int test (int i, double x);
3610 struct s1 {int (*f) (int a);};
3611 struct s2 {int (*f) (double a);};
3612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3624 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3626 CC="$ac_save_CC $ac_arg"
3627 if ac_fn_c_try_compile "$LINENO"; then :
3628 ac_cv_prog_cc_c89=$ac_arg
3630 rm -f core conftest.err conftest.$ac_objext
3631 test "x$ac_cv_prog_cc_c89" != "xno" && break
3633 rm -f conftest.$ac_ext
3638 case "x$ac_cv_prog_cc_c89" in
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3641 $as_echo "none needed" >&6; } ;;
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3644 $as_echo "unsupported" >&6; } ;;
3646 CC="$CC $ac_cv_prog_cc_c89"
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3648 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3650 if test "x$ac_cv_prog_cc_c89" != xno; then :
3655 ac_cpp='$CPP $CPPFLAGS'
3656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3661 ac_cpp='$CXXCPP $CPPFLAGS'
3662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3665 if test -z "$CXX"; then
3666 if test -n "$CCC"; then
3669 if test -n "$ac_tool_prefix"; then
3670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_CXX+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$CXX"; then
3680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700 if test -n "$CXX"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3702 $as_echo "$CXX" >&6; }
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3709 test -n "$CXX" && break
3712 if test -z "$CXX"; then
3714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3716 # Extract the first word of "$ac_prog", so it can be a program name with args.
3717 set dummy $ac_prog; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$ac_ct_CXX"; then
3724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_ac_ct_CXX="$ac_prog"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3744 if test -n "$ac_ct_CXX"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3746 $as_echo "$ac_ct_CXX" >&6; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3753 test -n "$ac_ct_CXX" && break
3756 if test "x$ac_ct_CXX" = x; then
3759 case $cross_compiling:$ac_tool_warned in
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3763 ac_tool_warned=yes ;;
3771 # Provide some information about the compiler.
3772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3775 for ac_option in --version -v -V -qversion; do
3776 { { ac_try="$ac_compiler $ac_option >&5"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3785 if test -s conftest.err; then
3787 ... rest of stderr output deleted ...
3788 10q' conftest.err >conftest.er1
3789 cat conftest.er1 >&5
3791 rm -f conftest.er1 conftest.err
3792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 test $ac_status = 0; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3797 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3798 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3815 if ac_fn_cxx_try_compile "$LINENO"; then :
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3825 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3826 if test $ac_compiler_gnu = yes; then
3831 ac_test_CXXFLAGS=${CXXFLAGS+set}
3832 ac_save_CXXFLAGS=$CXXFLAGS
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3834 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3835 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3839 ac_cxx_werror_flag=yes
3842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3843 /* end confdefs.h. */
3853 if ac_fn_cxx_try_compile "$LINENO"; then :
3854 ac_cv_prog_cxx_g=yes
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 if ac_fn_cxx_try_compile "$LINENO"; then :
3871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3884 if ac_fn_cxx_try_compile "$LINENO"; then :
3885 ac_cv_prog_cxx_g=yes
3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3895 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3896 if test "$ac_test_CXXFLAGS" = set; then
3897 CXXFLAGS=$ac_save_CXXFLAGS
3898 elif test $ac_cv_prog_cxx_g = yes; then
3899 if test "$GXX" = yes; then
3905 if test "$GXX" = yes; then
3912 ac_cpp='$CPP $CPPFLAGS'
3913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3917 if test -n "$ac_tool_prefix"; then
3918 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3919 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3925 if test -n "$CPPBIN"; then
3926 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 CPPBIN=$ac_cv_prog_CPPBIN
3946 if test -n "$CPPBIN"; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3948 $as_echo "$CPPBIN" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3956 if test -z "$ac_cv_prog_CPPBIN"; then
3957 ac_ct_CPPBIN=$CPPBIN
3958 # Extract the first word of "cpp", so it can be a program name with args.
3959 set dummy cpp; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3963 $as_echo_n "(cached) " >&6
3965 if test -n "$ac_ct_CPPBIN"; then
3966 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3975 ac_cv_prog_ac_ct_CPPBIN="cpp"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3986 if test -n "$ac_ct_CPPBIN"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
3988 $as_echo "$ac_ct_CPPBIN" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3994 if test "x$ac_ct_CPPBIN" = x; then
3997 case $cross_compiling:$ac_tool_warned in
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4001 ac_tool_warned=yes ;;
4003 CPPBIN=$ac_ct_CPPBIN
4006 CPPBIN="$ac_cv_prog_CPPBIN"
4010 cat >>confdefs.h <<_ACEOF
4011 #define EXEEXT "$ac_exeext"
4017 if test "x$enable_win64" = "xyes"
4021 LD="${LD:-ld} -arch x86_64"
4022 AS="${AS:-as} -arch x86_64"
4024 notice_platform="64-bit "
4030 LD="${LD:-ld} -arch i386"
4031 AS="${AS:-as} -arch i386"
4033 notice_platform="32-bit "
4036 enable_win16=${enable_win16:-yes}
4040 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4045 $as_echo_n "checking whether $CC works... " >&6; }
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4058 if ac_fn_c_try_link "$LINENO"; then :
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4060 $as_echo "yes" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4064 as_fn_error "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4066 rm -f core conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
4068 LD="${LD:-ld} -m elf_i386"
4071 notice_platform="32-bit "
4074 enable_win16=${enable_win16:-yes}
4076 if test "x${GCC}" = "xyes"
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4079 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4086 void func(__builtin_ms_va_list *args);
4091 if ac_fn_c_try_compile "$LINENO"; then :
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4093 $as_echo "yes" >&6; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4097 as_fn_error "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 *-mingw32*|*-cygwin*)
4106 enable_win16=${enable_win16:-no}
4107 CFLAGS="$CFLAGS -D_WIN32"
4110 enable_win16=${enable_win16:-yes}
4114 enable_win16=${enable_win16:-no}
4116 enable_winetest=${enable_winetest:-$enable_tests}
4118 if test -n "$with_wine64"
4120 if test "x$enable_win64" = "xyes"
4122 as_fn_error "--enable-win64 and --with-wine64 are mutually exclusive.
4123 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4127 enable_fonts=${enable_fonts:-no}
4128 enable_include=${enable_include:-no}
4129 enable_server=${enable_server:-no}
4130 enable_tools=${enable_tools:-no}
4131 enable_wineboot=${enable_wineboot:-no}
4132 enable_winedbg=${enable_winedbg:-no}
4133 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib32"
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4137 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4138 if test "${wine_cv_toolsdir+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 wine_cv_toolsdir="$with_wine_tools"
4142 if test -z "$with_wine_tools"; then
4143 if test "$cross_compiling" = "yes"; then
4144 as_fn_error "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4145 elif test -n "$with_wine64"; then
4146 wine_cv_toolsdir="$with_wine64"
4149 if test -z "$wine_cv_toolsdir"; then
4150 wine_cv_toolsdir="\$(TOPOBJDIR)"
4151 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4152 case "$wine_cv_toolsdir" in
4154 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
4157 as_fn_error "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4161 $as_echo "$wine_cv_toolsdir" >&6; }
4162 TOOLSDIR=$wine_cv_toolsdir
4164 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4166 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4172 # Extract the first word of "$ac_prog", so it can be a program name with args.
4173 set dummy $ac_prog; ac_word=$2
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4175 $as_echo_n "checking for $ac_word... " >&6; }
4176 if test "${ac_cv_prog_FLEX+set}" = set; then :
4177 $as_echo_n "(cached) " >&6
4179 if test -n "$FLEX"; then
4180 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 test -z "$as_dir" && as_dir=.
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4189 ac_cv_prog_FLEX="$ac_prog"
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 FLEX=$ac_cv_prog_FLEX
4200 if test -n "$FLEX"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4202 $as_echo "$FLEX" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4209 test -n "$FLEX" && break
4211 test -n "$FLEX" || FLEX="none"
4213 if test "$FLEX" = "none"
4215 as_fn_error "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4218 $as_echo_n "checking whether flex is recent enough... " >&6; }
4219 cat >conftest.l <<EOF
4221 #include "prediluvian.h"
4225 if $FLEX -t conftest.l >/dev/null 2>&1
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4232 as_fn_error "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4235 for ac_prog in bison
4237 # Extract the first word of "$ac_prog", so it can be a program name with args.
4238 set dummy $ac_prog; ac_word=$2
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4240 $as_echo_n "checking for $ac_word... " >&6; }
4241 if test "${ac_cv_prog_BISON+set}" = set; then :
4242 $as_echo_n "(cached) " >&6
4244 if test -n "$BISON"; then
4245 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir=.
4252 for ac_exec_ext in '' $ac_executable_extensions; do
4253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4254 ac_cv_prog_BISON="$ac_prog"
4255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 BISON=$ac_cv_prog_BISON
4265 if test -n "$BISON"; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4267 $as_echo "$BISON" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4270 $as_echo "no" >&6; }
4274 test -n "$BISON" && break
4276 test -n "$BISON" || BISON="none"
4278 if test "$BISON" = "none"
4280 as_fn_error "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4283 if test -n "$ac_tool_prefix"; then
4284 for ac_prog in ar gar
4286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if test "${ac_cv_prog_AR+set}" = set; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$AR"; then
4294 ac_cv_prog_AR="$AR" # Let the user override the test.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir=.
4301 for ac_exec_ext in '' $ac_executable_extensions; do
4302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314 if test -n "$AR"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4316 $as_echo "$AR" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4323 test -n "$AR" && break
4326 if test -z "$AR"; then
4328 for ac_prog in ar gar
4330 # Extract the first word of "$ac_prog", so it can be a program name with args.
4331 set dummy $ac_prog; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -n "$ac_ct_AR"; then
4338 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4347 ac_cv_prog_ac_ct_AR="$ac_prog"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4358 if test -n "$ac_ct_AR"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4360 $as_echo "$ac_ct_AR" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4367 test -n "$ac_ct_AR" && break
4370 if test "x$ac_ct_AR" = x; then
4373 case $cross_compiling:$ac_tool_warned in
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4377 ac_tool_warned=yes ;;
4385 if test -n "$ac_tool_prefix"; then
4386 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4387 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -n "$RANLIB"; then
4394 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 RANLIB=$ac_cv_prog_RANLIB
4414 if test -n "$RANLIB"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4416 $as_echo "$RANLIB" >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4424 if test -z "$ac_cv_prog_RANLIB"; then
4425 ac_ct_RANLIB=$RANLIB
4426 # Extract the first word of "ranlib", so it can be a program name with args.
4427 set dummy ranlib; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4431 $as_echo_n "(cached) " >&6
4433 if test -n "$ac_ct_RANLIB"; then
4434 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4443 ac_cv_prog_ac_ct_RANLIB="ranlib"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4454 if test -n "$ac_ct_RANLIB"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4456 $as_echo "$ac_ct_RANLIB" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4462 if test "x$ac_ct_RANLIB" = x; then
4465 case $cross_compiling:$ac_tool_warned in
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4469 ac_tool_warned=yes ;;
4471 RANLIB=$ac_ct_RANLIB
4474 RANLIB="$ac_cv_prog_RANLIB"
4477 if test -n "$ac_tool_prefix"; then
4478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4479 set dummy ${ac_tool_prefix}strip; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_STRIP+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4485 if test -n "$STRIP"; then
4486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 STRIP=$ac_cv_prog_STRIP
4506 if test -n "$STRIP"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4508 $as_echo "$STRIP" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4516 if test -z "$ac_cv_prog_STRIP"; then
4518 # Extract the first word of "strip", so it can be a program name with args.
4519 set dummy strip; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4523 $as_echo_n "(cached) " >&6
4525 if test -n "$ac_ct_STRIP"; then
4526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_ac_ct_STRIP="strip"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4546 if test -n "$ac_ct_STRIP"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4548 $as_echo "$ac_ct_STRIP" >&6; }
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4554 if test "x$ac_ct_STRIP" = x; then
4557 case $cross_compiling:$ac_tool_warned in
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561 ac_tool_warned=yes ;;
4566 STRIP="$ac_cv_prog_STRIP"
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4570 $as_echo_n "checking whether ln -s works... " >&6; }
4572 if test "$LN_S" = "ln -s"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4574 $as_echo "yes" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4577 $as_echo "no, using $LN_S" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4581 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4582 if test "${ac_cv_path_GREP+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -z "$GREP"; then
4586 ac_path_GREP_found=false
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4592 test -z "$as_dir" && as_dir=.
4593 for ac_prog in grep ggrep; do
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4596 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4597 # Check for GNU ac_path_GREP and select it if it is found.
4598 # Check for GNU $ac_path_GREP
4599 case `"$ac_path_GREP" --version 2>&1` in
4601 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4604 $as_echo_n 0123456789 >"conftest.in"
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
4610 $as_echo 'GREP' >> "conftest.nl"
4611 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4613 as_fn_arith $ac_count + 1 && ac_count=$as_val
4614 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4616 ac_cv_path_GREP="$ac_path_GREP"
4617 ac_path_GREP_max=$ac_count
4619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4625 $ac_path_GREP_found && break 3
4630 if test -z "$ac_cv_path_GREP"; then
4631 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4634 ac_cv_path_GREP=$GREP
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4639 $as_echo "$ac_cv_path_GREP" >&6; }
4640 GREP="$ac_cv_path_GREP"
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4644 $as_echo_n "checking for egrep... " >&6; }
4645 if test "${ac_cv_path_EGREP+set}" = set; then :
4646 $as_echo_n "(cached) " >&6
4648 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4649 then ac_cv_path_EGREP="$GREP -E"
4651 if test -z "$EGREP"; then
4652 ac_path_EGREP_found=false
4653 # Loop through the user's path and test for each of PROGNAME-LIST
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658 test -z "$as_dir" && as_dir=.
4659 for ac_prog in egrep; do
4660 for ac_exec_ext in '' $ac_executable_extensions; do
4661 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4662 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4663 # Check for GNU ac_path_EGREP and select it if it is found.
4664 # Check for GNU $ac_path_EGREP
4665 case `"$ac_path_EGREP" --version 2>&1` in
4667 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4670 $as_echo_n 0123456789 >"conftest.in"
4673 cat "conftest.in" "conftest.in" >"conftest.tmp"
4674 mv "conftest.tmp" "conftest.in"
4675 cp "conftest.in" "conftest.nl"
4676 $as_echo 'EGREP' >> "conftest.nl"
4677 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4678 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4679 as_fn_arith $ac_count + 1 && ac_count=$as_val
4680 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4681 # Best one so far, save it but keep looking for a better one
4682 ac_cv_path_EGREP="$ac_path_EGREP"
4683 ac_path_EGREP_max=$ac_count
4685 # 10*(2^10) chars as input seems more than enough
4686 test $ac_count -gt 10 && break
4688 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691 $ac_path_EGREP_found && break 3
4696 if test -z "$ac_cv_path_EGREP"; then
4697 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700 ac_cv_path_EGREP=$EGREP
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4706 $as_echo "$ac_cv_path_EGREP" >&6; }
4707 EGREP="$ac_cv_path_EGREP"
4710 # Extract the first word of "ldconfig", so it can be a program name with args.
4711 set dummy ldconfig; ac_word=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4719 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 for as_dir in /sbin /usr/sbin $PATH
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4729 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4741 LDCONFIG=$ac_cv_path_LDCONFIG
4742 if test -n "$LDCONFIG"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4744 $as_echo "$LDCONFIG" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4751 # Find a good install program. We prefer a C program (faster),
4752 # so one script is as good as another. But avoid the broken or
4753 # incompatible versions:
4754 # SysV /etc/install, /usr/sbin/install
4755 # SunOS /usr/etc/install
4756 # IRIX /sbin/install
4758 # AmigaOS /C/install, which installs bootblocks on floppy discs
4759 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4760 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4761 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4762 # OS/2's system install, which has a completely different semantic
4763 # ./install, which can be erroneously created by make from ./install.sh.
4764 # Reject install programs that cannot install multiple files.
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4766 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4767 if test -z "$INSTALL"; then
4768 if test "${ac_cv_path_install+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir=.
4776 # Account for people who put trailing slashes in PATH elements.
4777 case $as_dir/ in #((
4778 ./ | .// | /[cC]/* | \
4779 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4780 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4783 # OSF1 and SCO ODT 3.0 have their own names for install.
4784 # Don't use installbsd from OSF since it installs stuff as root
4786 for ac_prog in ginstall scoinst install; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4789 if test $ac_prog = install &&
4790 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4791 # AIX install. It has an incompatible calling convention.
4793 elif test $ac_prog = install &&
4794 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4795 # program-specific install script used by HP pwplus--don't use.
4798 rm -rf conftest.one conftest.two conftest.dir
4799 echo one > conftest.one
4800 echo two > conftest.two
4802 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4803 test -s conftest.one && test -s conftest.two &&
4804 test -s conftest.dir/conftest.one &&
4805 test -s conftest.dir/conftest.two
4807 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4820 rm -rf conftest.one conftest.two conftest.dir
4823 if test "${ac_cv_path_install+set}" = set; then
4824 INSTALL=$ac_cv_path_install
4826 # As a last resort, use the slow shell script. Don't cache a
4827 # value for INSTALL within a source directory, because that will
4828 # break other packages using the cache if that directory is
4829 # removed, or if the value is a relative name.
4830 INSTALL=$ac_install_sh
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4834 $as_echo "$INSTALL" >&6; }
4836 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4837 # It thinks the first close brace ends the variable substitution.
4838 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4840 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4842 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4845 [\\/$]* | ?:[\\/]* ) ;;
4846 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4849 for ac_prog in lclint lint
4851 # Extract the first word of "$ac_prog", so it can be a program name with args.
4852 set dummy $ac_prog; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_LINT+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$LINT"; then
4859 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_LINT="$ac_prog"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 LINT=$ac_cv_prog_LINT
4879 if test -n "$LINT"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4881 $as_echo "$LINT" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$LINT" && break
4891 if test "$LINT" = "lint"
4893 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4898 for ac_prog in fontforge
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy $ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$FONTFORGE"; then
4908 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917 ac_cv_prog_FONTFORGE="$ac_prog"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 FONTFORGE=$ac_cv_prog_FONTFORGE
4928 if test -n "$FONTFORGE"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4930 $as_echo "$FONTFORGE" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4937 test -n "$FONTFORGE" && break
4939 test -n "$FONTFORGE" || FONTFORGE="false"
4941 for ac_prog in pkg-config
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944 set dummy $ac_prog; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$PKG_CONFIG"; then
4951 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_PKG_CONFIG="$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4971 if test -n "$PKG_CONFIG"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4973 $as_echo "$PKG_CONFIG" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$PKG_CONFIG" && break
4982 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987 set dummy $ac_prog; ac_word=$2
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4989 $as_echo_n "checking for $ac_word... " >&6; }
4990 if test "${ac_cv_prog_RSVG+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4993 if test -n "$RSVG"; then
4994 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 test -z "$as_dir" && as_dir=.
5001 for ac_exec_ext in '' $ac_executable_extensions; do
5002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5003 ac_cv_prog_RSVG="$ac_prog"
5004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 RSVG=$ac_cv_prog_RSVG
5014 if test -n "$RSVG"; then
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5016 $as_echo "$RSVG" >&6; }
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5019 $as_echo "no" >&6; }
5023 test -n "$RSVG" && break
5025 test -n "$RSVG" || RSVG="false"
5027 for ac_prog in icotool
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030 set dummy $ac_prog; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$ICOTOOL"; then
5037 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_ICOTOOL="$ac_prog"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5056 ICOTOOL=$ac_cv_prog_ICOTOOL
5057 if test -n "$ICOTOOL"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5059 $as_echo "$ICOTOOL" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5066 test -n "$ICOTOOL" && break
5068 test -n "$ICOTOOL" || ICOTOOL="false"
5071 if test "${enable_maintainer_mode+set}" = set
5073 if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings "|fontforge is missing, fonts can't be rebuilt."; fi
5074 if test "$RSVG" = "false"; then as_fn_append wine_warnings "|rsvg is missing, icons can't be rebuilt."; fi
5075 if test "$ICOTOOL" = "false"; then as_fn_append wine_warnings "|icotool is missing, icons can't be rebuilt."; fi
5080 # Extract the first word of "prelink", so it can be a program name with args.
5081 set dummy prelink; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_path_PRELINK+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5089 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in /sbin /usr/sbin $PATH
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
5111 PRELINK=$ac_cv_path_PRELINK
5112 if test -n "$PRELINK"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
5114 $as_echo "$PRELINK" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5126 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5127 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5128 $as_echo_n "(cached) " >&6
5130 ac_check_lib_save_LIBS=$LIBS
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5135 /* Override any GCC internal prototype to avoid an error.
5136 Use char because int might match the return type of a GCC
5137 builtin and then its argument prototype would still apply. */
5141 char i386_set_ldt ();
5145 return i386_set_ldt ();
5150 if ac_fn_c_try_link "$LINENO"; then :
5151 ac_cv_lib_i386_i386_set_ldt=yes
5153 ac_cv_lib_i386_i386_set_ldt=no
5155 rm -f core conftest.err conftest.$ac_objext \
5156 conftest$ac_exeext conftest.$ac_ext
5157 LIBS=$ac_check_lib_save_LIBS
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5160 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5161 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then :
5162 cat >>confdefs.h <<_ACEOF
5163 #define HAVE_LIBI386 1
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5171 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5172 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5173 $as_echo_n "(cached) " >&6
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lossaudio $LIBS"
5177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5180 /* Override any GCC internal prototype to avoid an error.
5181 Use char because int might match the return type of a GCC
5182 builtin and then its argument prototype would still apply. */
5190 return _oss_ioctl ();
5195 if ac_fn_c_try_link "$LINENO"; then :
5196 ac_cv_lib_ossaudio__oss_ioctl=yes
5198 ac_cv_lib_ossaudio__oss_ioctl=no
5200 rm -f core conftest.err conftest.$ac_objext \
5201 conftest$ac_exeext conftest.$ac_ext
5202 LIBS=$ac_check_lib_save_LIBS
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5205 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5206 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
5207 cat >>confdefs.h <<_ACEOF
5208 #define HAVE_LIBOSSAUDIO 1
5211 LIBS="-lossaudio $LIBS"
5222 # Check whether --enable-largefile was given.
5223 if test "${enable_largefile+set}" = set; then :
5224 enableval=$enable_largefile;
5227 if test "$enable_largefile" != no; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5230 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5231 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5234 ac_cv_sys_largefile_CC=no
5235 if test "$GCC" != yes; then
5238 # IRIX 6.2 and later do not support large files by default,
5239 # so use the C compiler's -n32 option if that helps.
5240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5241 /* end confdefs.h. */
5242 #include <sys/types.h>
5243 /* Check that off_t can represent 2**63 - 1 correctly.
5244 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5245 since some C++ compilers masquerading as C compilers
5246 incorrectly reject 9223372036854775807. */
5247 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5248 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5249 && LARGE_OFF_T % 2147483647 == 1)
5259 if ac_fn_c_try_compile "$LINENO"; then :
5262 rm -f core conftest.err conftest.$ac_objext
5264 if ac_fn_c_try_compile "$LINENO"; then :
5265 ac_cv_sys_largefile_CC=' -n32'; break
5267 rm -f core conftest.err conftest.$ac_objext
5271 rm -f conftest.$ac_ext
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5275 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5276 if test "$ac_cv_sys_largefile_CC" != no; then
5277 CC=$CC$ac_cv_sys_largefile_CC
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5281 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5282 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288 #include <sys/types.h>
5289 /* Check that off_t can represent 2**63 - 1 correctly.
5290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5291 since some C++ compilers masquerading as C compilers
5292 incorrectly reject 9223372036854775807. */
5293 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5295 && LARGE_OFF_T % 2147483647 == 1)
5305 if ac_fn_c_try_compile "$LINENO"; then :
5306 ac_cv_sys_file_offset_bits=no; break
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #define _FILE_OFFSET_BITS 64
5312 #include <sys/types.h>
5313 /* Check that off_t can represent 2**63 - 1 correctly.
5314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5315 since some C++ compilers masquerading as C compilers
5316 incorrectly reject 9223372036854775807. */
5317 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5319 && LARGE_OFF_T % 2147483647 == 1)
5329 if ac_fn_c_try_compile "$LINENO"; then :
5330 ac_cv_sys_file_offset_bits=64; break
5332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333 ac_cv_sys_file_offset_bits=unknown
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5338 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5339 case $ac_cv_sys_file_offset_bits in #(
5342 cat >>confdefs.h <<_ACEOF
5343 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5348 if test $ac_cv_sys_file_offset_bits = unknown; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5350 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5351 if test "${ac_cv_sys_large_files+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5357 #include <sys/types.h>
5358 /* Check that off_t can represent 2**63 - 1 correctly.
5359 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5360 since some C++ compilers masquerading as C compilers
5361 incorrectly reject 9223372036854775807. */
5362 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5364 && LARGE_OFF_T % 2147483647 == 1)
5374 if ac_fn_c_try_compile "$LINENO"; then :
5375 ac_cv_sys_large_files=no; break
5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5380 #define _LARGE_FILES 1
5381 #include <sys/types.h>
5382 /* Check that off_t can represent 2**63 - 1 correctly.
5383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5384 since some C++ compilers masquerading as C compilers
5385 incorrectly reject 9223372036854775807. */
5386 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5388 && LARGE_OFF_T % 2147483647 == 1)
5398 if ac_fn_c_try_compile "$LINENO"; then :
5399 ac_cv_sys_large_files=1; break
5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402 ac_cv_sys_large_files=unknown
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5407 $as_echo "$ac_cv_sys_large_files" >&6; }
5408 case $ac_cv_sys_large_files in #(
5411 cat >>confdefs.h <<_ACEOF
5412 #define _LARGE_FILES $ac_cv_sys_large_files
5422 ac_cpp='$CPP $CPPFLAGS'
5423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5427 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5428 # On Suns, sometimes $CPP names a directory.
5429 if test -n "$CPP" && test -d "$CPP"; then
5432 if test -z "$CPP"; then
5433 if test "${ac_cv_prog_CPP+set}" = set; then :
5434 $as_echo_n "(cached) " >&6
5436 # Double quotes because CPP needs to be expanded
5437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5440 for ac_c_preproc_warn_flag in '' yes
5442 # Use a header file that comes with gcc, so configuring glibc
5443 # with a fresh cross-compiler works.
5444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5445 # <limits.h> exists even on freestanding compilers.
5446 # On the NeXT, cc -E runs the code through the compiler's parser,
5447 # not just through cpp. "Syntax error" is here to catch this case.
5448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5451 # include <limits.h>
5453 # include <assert.h>
5457 if ac_fn_c_try_cpp "$LINENO"; then :
5460 # Broken: fails on valid input.
5463 rm -f conftest.err conftest.$ac_ext
5465 # OK, works on sane cases. Now check whether nonexistent headers
5466 # can be detected and how.
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5469 #include <ac_nonexistent.h>
5471 if ac_fn_c_try_cpp "$LINENO"; then :
5472 # Broken: success on invalid input.
5475 # Passes both tests.
5479 rm -f conftest.err conftest.$ac_ext
5482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5483 rm -f conftest.err conftest.$ac_ext
5484 if $ac_preproc_ok; then :
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5497 $as_echo "$CPP" >&6; }
5499 for ac_c_preproc_warn_flag in '' yes
5501 # Use a header file that comes with gcc, so configuring glibc
5502 # with a fresh cross-compiler works.
5503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5504 # <limits.h> exists even on freestanding compilers.
5505 # On the NeXT, cc -E runs the code through the compiler's parser,
5506 # not just through cpp. "Syntax error" is here to catch this case.
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5510 # include <limits.h>
5512 # include <assert.h>
5516 if ac_fn_c_try_cpp "$LINENO"; then :
5519 # Broken: fails on valid input.
5522 rm -f conftest.err conftest.$ac_ext
5524 # OK, works on sane cases. Now check whether nonexistent headers
5525 # can be detected and how.
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 #include <ac_nonexistent.h>
5530 if ac_fn_c_try_cpp "$LINENO"; then :
5531 # Broken: success on invalid input.
5534 # Passes both tests.
5538 rm -f conftest.err conftest.$ac_ext
5541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5542 rm -f conftest.err conftest.$ac_ext
5543 if $ac_preproc_ok; then :
5546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5548 as_fn_error "C preprocessor \"$CPP\" fails sanity check
5549 See \`config.log' for more details." "$LINENO" 5; }
5553 ac_cpp='$CPP $CPPFLAGS'
5554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5560 $as_echo_n "checking for ANSI C header files... " >&6; }
5561 if test "${ac_cv_header_stdc+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5579 if ac_fn_c_try_compile "$LINENO"; then :
5580 ac_cv_header_stdc=yes
5582 ac_cv_header_stdc=no
5584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 if test $ac_cv_header_stdc = yes; then
5587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5594 $EGREP "memchr" >/dev/null 2>&1; then :
5597 ac_cv_header_stdc=no
5603 if test $ac_cv_header_stdc = yes; then
5604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5606 /* end confdefs.h. */
5610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5611 $EGREP "free" >/dev/null 2>&1; then :
5614 ac_cv_header_stdc=no
5620 if test $ac_cv_header_stdc = yes; then
5621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5622 if test "$cross_compiling" = yes; then :
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5629 #if ((' ' & 0x0FF) == 0x020)
5630 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5631 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5633 # define ISLOWER(c) \
5634 (('a' <= (c) && (c) <= 'i') \
5635 || ('j' <= (c) && (c) <= 'r') \
5636 || ('s' <= (c) && (c) <= 'z'))
5637 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5640 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5645 for (i = 0; i < 256; i++)
5646 if (XOR (islower (i), ISLOWER (i))
5647 || toupper (i) != TOUPPER (i))
5652 if ac_fn_c_try_run "$LINENO"; then :
5655 ac_cv_header_stdc=no
5657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5658 conftest.$ac_objext conftest.beam conftest.$ac_ext
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5664 $as_echo "$ac_cv_header_stdc" >&6; }
5665 if test $ac_cv_header_stdc = yes; then
5667 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5671 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5672 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5673 inttypes.h stdint.h unistd.h
5675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5676 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5678 eval as_val=\$$as_ac_Header
5679 if test "x$as_val" = x""yes; then :
5680 cat >>confdefs.h <<_ACEOF
5681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5691 AudioToolbox/AudioConverter.h \
5692 AudioToolbox/AudioFile.h \
5693 AudioToolbox/AudioFileStream.h \
5694 AudioUnit/AudioUnit.h \
5696 CoreAudio/CoreAudio.h \
5697 DiskArbitration/DiskArbitration.h \
5699 IOKit/hid/IOHIDLib.h \
5714 fontconfig/fontconfig.h \
5747 machine/soundcard.h \
5753 netinet/in_systm.h \
5821 valgrind/memcheck.h \
5822 valgrind/valgrind.h \
5826 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5827 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5828 eval as_val=\$$as_ac_Header
5829 if test "x$as_val" = x""yes; then :
5830 cat >>confdefs.h <<_ACEOF
5831 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5839 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5840 if test "${ac_cv_header_stat_broken+set}" = set; then :
5841 $as_echo_n "(cached) " >&6
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5845 #include <sys/types.h>
5846 #include <sys/stat.h>
5848 #if defined S_ISBLK && defined S_IFDIR
5849 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5852 #if defined S_ISBLK && defined S_IFCHR
5853 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5856 #if defined S_ISLNK && defined S_IFREG
5857 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5860 #if defined S_ISSOCK && defined S_IFREG
5861 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5865 if ac_fn_c_try_compile "$LINENO"; then :
5866 ac_cv_header_stat_broken=no
5868 ac_cv_header_stat_broken=yes
5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5873 $as_echo "$ac_cv_header_stat_broken" >&6; }
5874 if test $ac_cv_header_stat_broken = yes; then
5876 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5882 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5886 #ifdef HAVE_SYS_PARAM_H
5887 # include <sys/param.h>
5890 eval as_val=\$$as_ac_Header
5891 if test "x$as_val" = x""yes; then :
5892 cat >>confdefs.h <<_ACEOF
5893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5908 netinet/if_ether.h \
5909 netinet/if_inarp.h \
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" "#include <sys/types.h>
5919 #ifdef HAVE_SYS_SOCKET_H
5920 # include <sys/socket.h>
5922 #ifdef HAVE_SYS_SOCKETVAR_H
5923 # include <sys/socketvar.h>
5925 #ifdef HAVE_NET_ROUTE_H
5926 # include <net/route.h>
5928 #ifdef HAVE_NETINET_IN_H
5929 # include <netinet/in.h>
5931 #ifdef HAVE_NETINET_IN_SYSTM_H
5932 # include <netinet/in_systm.h>
5934 #ifdef HAVE_NET_IF_H
5935 # include <net/if.h>
5937 #ifdef HAVE_NETINET_IP_H
5938 # include <netinet/ip.h>
5941 eval as_val=\$$as_ac_Header
5942 if test "x$as_val" = x""yes; then :
5943 cat >>confdefs.h <<_ACEOF
5944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5952 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5959 #ifdef HAVE_SYS_SOCKET_H
5960 # include <sys/socket.h>
5962 #ifdef HAVE_SYS_SOCKETVAR_H
5963 # include <sys/socketvar.h>
5965 #ifdef HAVE_SYS_TIMEOUT_H
5966 # include <sys/timeout.h>
5968 #ifdef HAVE_NETINET_IN_H
5969 # include <netinet/in.h>
5971 #ifdef HAVE_NETINET_IN_SYSTM_H
5972 # include <netinet/in_systm.h>
5974 #ifdef HAVE_NETINET_IP_H
5975 # include <netinet/ip.h>
5977 #ifdef HAVE_NETINET_IP_VAR_H
5978 # include <netinet/ip_var.h>
5980 #ifdef HAVE_NETINET_IP_ICMP_H
5981 # include <netinet/ip_icmp.h>
5983 #ifdef HAVE_NETINET_UDP_H
5984 # include <netinet/udp.h>
5986 #ifdef HAVE_NETINET_TCP_H
5987 # include <netinet/tcp.h>
5989 #ifdef HAVE_NETINET_TCP_TIMER_H
5990 #include <netinet/tcp_timer.h>
5993 eval as_val=\$$as_ac_Header
5994 if test "x$as_val" = x""yes; then :
5995 cat >>confdefs.h <<_ACEOF
5996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6004 for ac_header in linux/ipx.h linux/irda.h
6006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6008 #ifdef HAVE_ASM_TYPES_H
6009 # include <asm/types.h>
6011 #ifdef HAVE_SYS_SOCKET_H
6012 # include <sys/socket.h>
6014 #ifdef HAVE_LINUX_TYPES_H
6015 # include <linux/types.h>
6018 eval as_val=\$$as_ac_Header
6019 if test "x$as_val" = x""yes; then :
6020 cat >>confdefs.h <<_ACEOF
6021 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6029 for ac_header in mach-o/dyld_images.h
6031 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6032 # include <stdbool.h>
6034 #ifdef HAVE_STDINT_H
6035 # include <stdint.h>
6038 if test "x$ac_cv_header_mach_o_dyld_images_h" = x""yes; then :
6039 cat >>confdefs.h <<_ACEOF
6040 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6048 for ac_header in resolv.h
6050 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6051 #ifdef HAVE_SYS_SOCKET_H
6052 # include <sys/socket.h>
6054 #ifdef HAVE_NETINET_IN_H
6055 # include <netinet/in.h>
6057 #ifdef HAVE_ARPA_NAMESER_H
6058 # include <arpa/nameser.h>
6061 if test "x$ac_cv_header_resolv_h" = x""yes; then :
6062 cat >>confdefs.h <<_ACEOF
6063 #define HAVE_RESOLV_H 1
6071 for ac_header in ifaddrs.h
6073 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6075 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
6076 cat >>confdefs.h <<_ACEOF
6077 #define HAVE_IFADDRS_H 1
6085 for ac_header in ucontext.h
6087 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6089 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
6090 cat >>confdefs.h <<_ACEOF
6091 #define HAVE_UCONTEXT_H 1
6099 for ac_header in sys/thr.h
6101 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6102 #ifdef HAVE_UCONTEXT_H
6103 #include <ucontext.h>
6106 if test "x$ac_cv_header_sys_thr_h" = x""yes; then :
6107 cat >>confdefs.h <<_ACEOF
6108 #define HAVE_SYS_THR_H 1
6116 for ac_header in pthread_np.h
6118 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6119 #include <pthread.h>
6122 if test "x$ac_cv_header_pthread_np_h" = x""yes; then :
6123 cat >>confdefs.h <<_ACEOF
6124 #define HAVE_PTHREAD_NP_H 1
6132 for ac_header in linux/videodev.h
6134 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6135 #include <sys/time.h>
6137 #include <sys/types.h>
6138 #ifdef HAVE_ASM_TYPES_H
6139 #include <asm/types.h>
6142 if test "x$ac_cv_header_linux_videodev_h" = x""yes; then :
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_LINUX_VIDEODEV_H 1
6152 for ac_header in linux/capi.h
6154 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6156 if test "x$ac_cv_header_linux_capi_h" = x""yes; then :
6157 cat >>confdefs.h <<_ACEOF
6158 #define HAVE_LINUX_CAPI_H 1
6169 DLLFLAGS="-D_REENTRANT"
6183 STATIC_IMPLIBEXT="def.a"
6184 # Extract the first word of "ldd", so it can be a program name with args.
6185 set dummy ldd; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if test "${ac_cv_path_LDD+set}" = set; then :
6189 $as_echo_n "(cached) " >&6
6193 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 as_dummy="/sbin:/usr/sbin:$PATH"
6198 for as_dir in $as_dummy
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6217 if test -n "$LDD"; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6219 $as_echo "$LDD" >&6; }
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6231 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$DLLTOOL"; then
6238 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 DLLTOOL=$ac_cv_prog_DLLTOOL
6258 if test -n "$DLLTOOL"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6260 $as_echo "$DLLTOOL" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6268 if test -z "$ac_cv_prog_DLLTOOL"; then
6269 ac_ct_DLLTOOL=$DLLTOOL
6270 # Extract the first word of "dlltool", so it can be a program name with args.
6271 set dummy dlltool; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$ac_ct_DLLTOOL"; then
6278 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6298 if test -n "$ac_ct_DLLTOOL"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6300 $as_echo "$ac_ct_DLLTOOL" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6306 if test "x$ac_ct_DLLTOOL" = x; then
6309 case $cross_compiling:$ac_tool_warned in
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6313 ac_tool_warned=yes ;;
6315 DLLTOOL=$ac_ct_DLLTOOL
6318 DLLTOOL="$ac_cv_prog_DLLTOOL"
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6329 if test -n "$DLLWRAP"; then
6330 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 DLLWRAP=$ac_cv_prog_DLLWRAP
6350 if test -n "$DLLWRAP"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6352 $as_echo "$DLLWRAP" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6360 if test -z "$ac_cv_prog_DLLWRAP"; then
6361 ac_ct_DLLWRAP=$DLLWRAP
6362 # Extract the first word of "dllwrap", so it can be a program name with args.
6363 set dummy dllwrap; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365 $as_echo_n "checking for $ac_word... " >&6; }
6366 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6367 $as_echo_n "(cached) " >&6
6369 if test -n "$ac_ct_DLLWRAP"; then
6370 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6390 if test -n "$ac_ct_DLLWRAP"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6392 $as_echo "$ac_ct_DLLWRAP" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6395 $as_echo "no" >&6; }
6398 if test "x$ac_ct_DLLWRAP" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6405 ac_tool_warned=yes ;;
6407 DLLWRAP=$ac_ct_DLLWRAP
6410 DLLWRAP="$ac_cv_prog_DLLWRAP"
6413 if test "$DLLWRAP" = "false"; then
6419 STATIC_IMPLIBEXT="a"
6420 enable_iphlpapi=${enable_iphlpapi:-no}
6421 enable_kernel32=${enable_kernel32:-no}
6422 enable_msvcrt=${enable_msvcrt:-no}
6423 enable_ntdll=${enable_ntdll:-no}
6424 enable_ws2_32=${enable_ws2_32:-no}
6425 enable_loader=${enable_loader:-no}
6426 enable_server=${enable_server:-no}
6427 with_x=${with_x:-no}
6428 with_pthread=${with_pthread:-no}
6433 DLLFLAGS="$DLLFLAGS -fPIC"
6434 LDDLLFLAGS="-bundle -multiply_defined suppress"
6435 LIBWINE_LDFLAGS="-multiply_defined suppress"
6436 LDSHARED="\$(CC) -dynamiclib"
6438 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6439 SECURITYLIB="-framework Security -framework CoreFoundation"
6441 COREFOUNDATIONLIB="-framework CoreFoundation"
6443 IOKITLIB="-framework IOKit -framework CoreFoundation"
6445 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6447 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6449 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6452 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6454 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6456 ac_save_LIBS="$LIBS"
6457 if test "$ac_cv_header_AudioToolbox_AudioFile_h" = "yes"
6459 LIBS="$LIBS $COREAUDIO"
6460 for ac_func in AudioFileStreamOpen
6462 ac_fn_c_check_func "$LINENO" "AudioFileStreamOpen" "ac_cv_func_AudioFileStreamOpen"
6463 if test "x$ac_cv_func_AudioFileStreamOpen" = x""yes; then :
6464 cat >>confdefs.h <<_ACEOF
6465 #define HAVE_AUDIOFILESTREAMOPEN 1
6471 LIBS="$ac_save_LIBS"
6473 test "x$ac_cv_func_AudioFileStreamOpen" = xyes || as_fn_append wine_notices "|AudioToolbox version too old, mp3 codec won't be supported."
6475 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6477 LIBOPENAL="-framework OpenAL"
6479 ac_cv_lib_openal_alGetSource3i=yes
6481 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6483 ac_save_LIBS="$LIBS"
6484 LIBS="$LIBS $IOKITLIB"
6485 for ac_func in IOHIDManagerCreate
6487 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6488 if test "x$ac_cv_func_IOHIDManagerCreate" = x""yes; then :
6489 cat >>confdefs.h <<_ACEOF
6490 #define HAVE_IOHIDMANAGERCREATE 1
6496 LIBS="$ac_save_LIBS"
6500 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6502 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6504 CARBONLIB="-framework Carbon"
6506 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6508 if test "x$enable_win16" = "xyes"
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6511 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6512 if test "$cross_compiling" = yes; then :
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6514 $as_echo "cross-compiling, assuming yes" >&6; }
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6520 "good:\tnop;nop\n\t"
6521 ".globl _testfunc\n"
6522 "_testfunc:\tcallw good");
6523 extern void testfunc();
6527 unsigned short *p = (unsigned short *)testfunc;
6528 return p[0] != 0xe866 || p[1] != 0xfffa
6533 if ac_fn_c_try_run "$LINENO"; then :
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6535 $as_echo "yes" >&6; }
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6539 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
6541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6542 conftest.$ac_objext conftest.beam conftest.$ac_ext
6548 DLLFLAGS="$DLLFLAGS -fPIC"
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6551 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6552 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6555 ac_wine_try_cflags_saved=$CFLAGS
6556 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558 /* end confdefs.h. */
6561 if ac_fn_c_try_link "$LINENO"; then :
6562 ac_cv_c_dll_gnuelf="yes"
6564 ac_cv_c_dll_gnuelf="no"
6566 rm -f core conftest.err conftest.$ac_objext \
6567 conftest$ac_exeext conftest.$ac_ext
6568 CFLAGS=$ac_wine_try_cflags_saved
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6571 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6572 if test "$ac_cv_c_dll_gnuelf" = "yes"
6574 LDSHARED="\$(CC) -shared"
6575 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6577 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6578 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6581 ac_wine_try_cflags_saved=$CFLAGS
6582 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6585 int main(int argc, char **argv) { return 0; }
6587 if ac_fn_c_try_link "$LINENO"; then :
6588 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6590 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6592 rm -f core conftest.err conftest.$ac_objext \
6593 conftest$ac_exeext conftest.$ac_ext
6594 CFLAGS=$ac_wine_try_cflags_saved
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6597 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6598 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6599 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6602 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6603 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6604 $as_echo_n "(cached) " >&6
6606 ac_wine_try_cflags_saved=$CFLAGS
6607 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 /* end confdefs.h. */
6610 int main(int argc, char **argv) { return 0; }
6612 if ac_fn_c_try_link "$LINENO"; then :
6613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6615 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6617 rm -f core conftest.err conftest.$ac_objext \
6618 conftest$ac_exeext conftest.$ac_ext
6619 CFLAGS=$ac_wine_try_cflags_saved
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6622 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6623 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6624 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6629 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6630 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6633 ac_wine_try_cflags_saved=$CFLAGS
6634 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 int main(int argc, char **argv) { return 0; }
6639 if ac_fn_c_try_link "$LINENO"; then :
6640 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6642 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6644 rm -f core conftest.err conftest.$ac_objext \
6645 conftest$ac_exeext conftest.$ac_ext
6646 CFLAGS=$ac_wine_try_cflags_saved
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6649 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6650 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6651 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6655 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6656 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6659 ac_wine_try_cflags_saved=$CFLAGS
6660 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 int main(int argc, char **argv) { return 0; }
6665 if ac_fn_c_try_link "$LINENO"; then :
6666 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6668 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6670 rm -f core conftest.err conftest.$ac_objext \
6671 conftest$ac_exeext conftest.$ac_ext
6672 CFLAGS=$ac_wine_try_cflags_saved
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6675 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6676 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6677 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6680 echo '{ global: *; };' >conftest.map
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6683 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6684 $as_echo_n "(cached) " >&6
6686 ac_wine_try_cflags_saved=$CFLAGS
6687 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6690 int main(int argc, char **argv) { return 0; }
6692 if ac_fn_c_try_link "$LINENO"; then :
6693 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6695 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6697 rm -f core conftest.err conftest.$ac_objext \
6698 conftest$ac_exeext conftest.$ac_ext
6699 CFLAGS=$ac_wine_try_cflags_saved
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6703 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6704 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6709 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6710 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6713 ac_wine_try_cflags_saved=$CFLAGS
6714 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 int main(int argc, char **argv) { return 0; }
6719 if ac_fn_c_try_link "$LINENO"; then :
6720 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6722 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6724 rm -f core conftest.err conftest.$ac_objext \
6725 conftest$ac_exeext conftest.$ac_ext
6726 CFLAGS=$ac_wine_try_cflags_saved
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6729 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6730 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6731 LDEXECFLAGS="-Wl,--export-dynamic"
6735 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6737 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6739 $as_echo_n "(cached) " >&6
6741 ac_wine_try_cflags_saved=$CFLAGS
6742 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 int main(int argc, char **argv) { return 0; }
6747 if ac_fn_c_try_link "$LINENO"; then :
6748 eval "$as_ac_var=yes"
6750 eval "$as_ac_var=no"
6752 rm -f core conftest.err conftest.$ac_objext \
6753 conftest$ac_exeext conftest.$ac_ext
6754 CFLAGS=$ac_wine_try_cflags_saved
6756 eval ac_res=\$$as_ac_var
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6758 $as_echo "$ac_res" >&6; }
6759 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6760 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6761 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6763 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6765 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6767 $as_echo_n "(cached) " >&6
6769 ac_wine_try_cflags_saved=$CFLAGS
6770 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 int main(int argc, char **argv) { return 0; }
6775 if ac_fn_c_try_link "$LINENO"; then :
6776 eval "$as_ac_var=yes"
6778 eval "$as_ac_var=no"
6780 rm -f core conftest.err conftest.$ac_objext \
6781 conftest$ac_exeext conftest.$ac_ext
6782 CFLAGS=$ac_wine_try_cflags_saved
6784 eval ac_res=\$$as_ac_var
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6786 $as_echo "$ac_res" >&6; }
6787 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6788 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6789 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6794 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6795 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6796 $as_echo_n "(cached) " >&6
6798 ac_wine_try_cflags_saved=$CFLAGS
6799 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6802 int main(int argc, char **argv) { return 0; }
6804 if ac_fn_c_try_link "$LINENO"; then :
6805 ac_cv_cflags__Wl___enable_new_dtags=yes
6807 ac_cv_cflags__Wl___enable_new_dtags=no
6809 rm -f core conftest.err conftest.$ac_objext \
6810 conftest$ac_exeext conftest.$ac_ext
6811 CFLAGS=$ac_wine_try_cflags_saved
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6814 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6815 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6816 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6820 *i[3456789]86* | x86_64)
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6822 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6823 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6824 $as_echo_n "(cached) " >&6
6826 ac_wine_try_cflags_saved=$CFLAGS
6827 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6829 /* end confdefs.h. */
6830 int main(int argc, char **argv) { return 0; }
6832 if ac_fn_c_try_link "$LINENO"; then :
6833 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
6835 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
6837 rm -f core conftest.err conftest.$ac_objext \
6838 conftest$ac_exeext conftest.$ac_ext
6839 CFLAGS=$ac_wine_try_cflags_saved
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6842 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6843 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6844 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6851 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6852 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6853 $as_echo_n "(cached) " >&6
6855 ac_wine_try_cflags_saved=$CFLAGS
6856 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6861 if ac_fn_c_try_link "$LINENO"; then :
6862 ac_cv_c_dll_unixware="yes"
6864 ac_cv_c_dll_unixware="no"
6866 rm -f core conftest.err conftest.$ac_objext \
6867 conftest$ac_exeext conftest.$ac_ext
6868 CFLAGS=$ac_wine_try_cflags_saved
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6871 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6872 if test "$ac_cv_c_dll_unixware" = "yes"
6874 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6875 LDDLLFLAGS="-Wl,-G,-B,symbolic"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6879 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6880 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6883 ac_wine_try_cflags_saved=$CFLAGS
6884 CFLAGS="$CFLAGS -shared"
6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6886 /* end confdefs.h. */
6889 if ac_fn_c_try_link "$LINENO"; then :
6890 ac_cv_c_dll_hpux="yes"
6892 ac_cv_c_dll_hpux="no"
6894 rm -f core conftest.err conftest.$ac_objext \
6895 conftest$ac_exeext conftest.$ac_ext
6896 CFLAGS=$ac_wine_try_cflags_saved
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6899 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6900 if test "$ac_cv_c_dll_hpux" = "yes"
6904 LDDLLFLAGS="-shared -fPIC"
6905 LDSHARED="\$(CC) -shared"
6912 enable_winequartz_drv=${enable_winequartz_drv:-no}
6914 if test "$LIBEXT" = "a"; then
6915 as_fn_error "could not find a way to build shared libraries.
6916 It is currently not possible to build Wine without shared library
6917 (.so) support to allow transparent switch between .so and .dll files.
6918 If you are using Linux, you will need a newer binutils.
6922 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
6926 ac_prefix_list="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 " ;;
6928 ac_prefix_list="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
6930 ac_prefix_list="" ;;
6932 for ac_prog in $ac_prefix_list
6934 # Extract the first word of "$ac_prog", so it can be a program name with args.
6935 set dummy $ac_prog; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$CROSSCC"; then
6942 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951 ac_cv_prog_CROSSCC="$ac_prog"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 CROSSCC=$ac_cv_prog_CROSSCC
6962 if test -n "$CROSSCC"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
6964 $as_echo "$CROSSCC" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6971 test -n "$CROSSCC" && break
6973 test -n "$CROSSCC" || CROSSCC="false"
6975 if test "$CROSSCC" != "false"
6977 CROSSTEST="\$(CROSSTEST)"
6985 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
6989 if test -n "$target"
6991 CROSSTARGET="$target"
6998 if test "$ac_cv_header_pthread_h" = "yes"
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7001 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7002 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7003 $as_echo_n "(cached) " >&6
7005 ac_check_lib_save_LIBS=$LIBS
7006 LIBS="-lpthread $LIBS"
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7010 /* Override any GCC internal prototype to avoid an error.
7011 Use char because int might match the return type of a GCC
7012 builtin and then its argument prototype would still apply. */
7016 char pthread_create ();
7020 return pthread_create ();
7025 if ac_fn_c_try_link "$LINENO"; then :
7026 ac_cv_lib_pthread_pthread_create=yes
7028 ac_cv_lib_pthread_pthread_create=no
7030 rm -f core conftest.err conftest.$ac_objext \
7031 conftest$ac_exeext conftest.$ac_ext
7032 LIBS=$ac_check_lib_save_LIBS
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7035 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7036 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
7037 LIBPTHREAD="-lpthread"
7042 if test "x$LIBPTHREAD" = "x"; then :
7043 case "x$with_pthread" in
7045 *) as_fn_error "pthread ${notice_platform}development files not found.
7046 Wine cannot support threads without libpthread.
7047 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7053 $as_echo_n "checking for X... " >&6; }
7056 # Check whether --with-x was given.
7057 if test "${with_x+set}" = set; then :
7061 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7062 if test "x$with_x" = xno; then
7063 # The user explicitly disabled X.
7066 case $x_includes,$x_libraries in #(
7067 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
7068 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 # One or both of the vars are not set, and there is no cached value.
7072 ac_x_includes=no ac_x_libraries=no
7073 rm -f -r conftest.dir
7074 if mkdir conftest.dir; then
7076 cat >Imakefile <<'_ACEOF'
7078 @echo incroot='${INCROOT}'
7080 @echo usrlibdir='${USRLIBDIR}'
7082 @echo libdir='${LIBDIR}'
7084 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7085 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7086 for ac_var in incroot usrlibdir libdir; do
7087 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7089 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7090 for ac_extension in a so sl dylib la dll; do
7091 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7092 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7093 ac_im_usrlibdir=$ac_im_libdir; break
7096 # Screen out bogus values from the imake configuration. They are
7097 # bogus both because they are the default anyway, and because
7098 # using them would break gcc on systems where it needs fixed includes.
7099 case $ac_im_incroot in
7100 /usr/include) ac_x_includes= ;;
7101 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7103 case $ac_im_usrlibdir in
7104 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7105 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7109 rm -f -r conftest.dir
7112 # Standard set of common directories for X headers.
7113 # Check X11 before X11Rn because it is often a symlink to the current release.
7127 /usr/local/X11/include
7128 /usr/local/X11R7/include
7129 /usr/local/X11R6/include
7130 /usr/local/X11R5/include
7131 /usr/local/X11R4/include
7133 /usr/local/include/X11
7134 /usr/local/include/X11R7
7135 /usr/local/include/X11R6
7136 /usr/local/include/X11R5
7137 /usr/local/include/X11R4
7141 /usr/XFree86/include/X11
7145 /usr/unsupported/include
7147 /usr/local/x11r5/include
7148 /usr/lpp/Xamples/include
7150 /usr/openwin/include
7151 /usr/openwin/share/include'
7153 if test "$ac_x_includes" = no; then
7154 # Guess where to find include files, by looking for Xlib.h.
7155 # First, try using that file with no special directory specified.
7156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h. */
7158 #include <X11/Xlib.h>
7160 if ac_fn_c_try_cpp "$LINENO"; then :
7161 # We can compile using X headers with no special include directory.
7164 for ac_dir in $ac_x_header_dirs; do
7165 if test -r "$ac_dir/X11/Xlib.h"; then
7166 ac_x_includes=$ac_dir
7171 rm -f conftest.err conftest.$ac_ext
7172 fi # $ac_x_includes = no
7174 if test "$ac_x_libraries" = no; then
7175 # Check for the libraries.
7176 # See if we find them without any special options.
7177 # Don't add to $LIBS permanently.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <X11/Xlib.h>
7191 if ac_fn_c_try_link "$LINENO"; then :
7193 # We can link X programs with no special library path.
7197 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7199 # Don't even attempt the hair of trying to link an X program!
7200 for ac_extension in a so sl dylib la dll; do
7201 if test -r "$ac_dir/libX11.$ac_extension"; then
7202 ac_x_libraries=$ac_dir
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 fi # $ac_x_libraries = no
7212 case $ac_x_includes,$ac_x_libraries in #(
7214 # Didn't find X, or a directory has "'" in its name.
7215 ac_cv_have_x="have_x=no";; #(
7217 # Record where we found X for the cache.
7218 ac_cv_have_x="have_x=yes\
7219 ac_x_includes='$ac_x_includes'\
7220 ac_x_libraries='$ac_x_libraries'"
7226 eval "$ac_cv_have_x"
7229 if test "$have_x" != yes; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7231 $as_echo "$have_x" >&6; }
7234 # If each of the values was on the command line, it overrides each guess.
7235 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7236 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7237 # Update the cache value to reflect the command line values.
7238 ac_cv_have_x="have_x=yes\
7239 ac_x_includes='$x_includes'\
7240 ac_x_libraries='$x_libraries'"
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7242 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7245 if test "$no_x" = yes; then
7246 # Not all programs may use this symbol, but it does not hurt to define it.
7248 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7250 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7252 if test -n "$x_includes"; then
7253 X_CFLAGS="$X_CFLAGS -I$x_includes"
7256 # It would also be nice to do this for all -L options, not just this one.
7257 if test -n "$x_libraries"; then
7258 X_LIBS="$X_LIBS -L$x_libraries"
7259 # For Solaris; some versions of Sun CC require a space after -R and
7260 # others require no space. Words are not sufficient . . . .
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7262 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7263 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7264 ac_xsave_c_werror_flag=$ac_c_werror_flag
7265 ac_c_werror_flag=yes
7266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h. */
7277 if ac_fn_c_try_link "$LINENO"; then :
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7280 X_LIBS="$X_LIBS -R$x_libraries"
7282 LIBS="$ac_xsave_LIBS -R $x_libraries"
7283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7294 if ac_fn_c_try_link "$LINENO"; then :
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7296 $as_echo "yes" >&6; }
7297 X_LIBS="$X_LIBS -R $x_libraries"
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7300 $as_echo "neither works" >&6; }
7302 rm -f core conftest.err conftest.$ac_objext \
7303 conftest$ac_exeext conftest.$ac_ext
7305 rm -f core conftest.err conftest.$ac_objext \
7306 conftest$ac_exeext conftest.$ac_ext
7307 ac_c_werror_flag=$ac_xsave_c_werror_flag
7311 # Check for system-dependent libraries X programs must link with.
7312 # Do this before checking for the system-independent R6 libraries
7313 # (-lICE), since we may need -lsocket or whatever for X linking.
7315 if test "$ISC" = yes; then
7316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7318 # Martyn Johnson says this is needed for Ultrix, if the X
7319 # libraries were built with DECnet support. And Karl Berry says
7320 # the Alpha needs dnet_stub (dnet does not exist).
7321 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7331 char XOpenDisplay ();
7335 return XOpenDisplay ();
7340 if ac_fn_c_try_link "$LINENO"; then :
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7344 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7345 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7346 $as_echo_n "(cached) " >&6
7348 ac_check_lib_save_LIBS=$LIBS
7350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7353 /* Override any GCC internal prototype to avoid an error.
7354 Use char because int might match the return type of a GCC
7355 builtin and then its argument prototype would still apply. */
7363 return dnet_ntoa ();
7368 if ac_fn_c_try_link "$LINENO"; then :
7369 ac_cv_lib_dnet_dnet_ntoa=yes
7371 ac_cv_lib_dnet_dnet_ntoa=no
7373 rm -f core conftest.err conftest.$ac_objext \
7374 conftest$ac_exeext conftest.$ac_ext
7375 LIBS=$ac_check_lib_save_LIBS
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7378 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7379 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
7380 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7383 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7385 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7386 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7387 $as_echo_n "(cached) " >&6
7389 ac_check_lib_save_LIBS=$LIBS
7390 LIBS="-ldnet_stub $LIBS"
7391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7394 /* Override any GCC internal prototype to avoid an error.
7395 Use char because int might match the return type of a GCC
7396 builtin and then its argument prototype would still apply. */
7404 return dnet_ntoa ();
7409 if ac_fn_c_try_link "$LINENO"; then :
7410 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7412 ac_cv_lib_dnet_stub_dnet_ntoa=no
7414 rm -f core conftest.err conftest.$ac_objext \
7415 conftest$ac_exeext conftest.$ac_ext
7416 LIBS=$ac_check_lib_save_LIBS
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7419 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7420 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
7421 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7426 rm -f core conftest.err conftest.$ac_objext \
7427 conftest$ac_exeext conftest.$ac_ext
7428 LIBS="$ac_xsave_LIBS"
7430 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7431 # to get the SysV transport functions.
7432 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7434 # The nsl library prevents programs from opening the X display
7435 # on Irix 5.2, according to T.E. Dickey.
7436 # The functions gethostbyname, getservbyname, and inet_addr are
7437 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7438 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7439 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
7443 if test $ac_cv_func_gethostbyname = no; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7445 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7446 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7447 $as_echo_n "(cached) " >&6
7449 ac_check_lib_save_LIBS=$LIBS
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7454 /* Override any GCC internal prototype to avoid an error.
7455 Use char because int might match the return type of a GCC
7456 builtin and then its argument prototype would still apply. */
7460 char gethostbyname ();
7464 return gethostbyname ();
7469 if ac_fn_c_try_link "$LINENO"; then :
7470 ac_cv_lib_nsl_gethostbyname=yes
7472 ac_cv_lib_nsl_gethostbyname=no
7474 rm -f core conftest.err conftest.$ac_objext \
7475 conftest$ac_exeext conftest.$ac_ext
7476 LIBS=$ac_check_lib_save_LIBS
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7479 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7480 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
7481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7484 if test $ac_cv_lib_nsl_gethostbyname = no; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7486 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7487 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7490 ac_check_lib_save_LIBS=$LIBS
7492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7495 /* Override any GCC internal prototype to avoid an error.
7496 Use char because int might match the return type of a GCC
7497 builtin and then its argument prototype would still apply. */
7501 char gethostbyname ();
7505 return gethostbyname ();
7510 if ac_fn_c_try_link "$LINENO"; then :
7511 ac_cv_lib_bsd_gethostbyname=yes
7513 ac_cv_lib_bsd_gethostbyname=no
7515 rm -f core conftest.err conftest.$ac_objext \
7516 conftest$ac_exeext conftest.$ac_ext
7517 LIBS=$ac_check_lib_save_LIBS
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7520 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7521 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
7522 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7528 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7529 # socket/setsockopt and other routines are undefined under SCO ODT
7530 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7531 # on later versions), says Simon Leinen: it contains gethostby*
7532 # variants that don't use the name server (or something). -lsocket
7533 # must be given before -lnsl if both are needed. We assume that
7534 # if connect needs -lnsl, so does gethostbyname.
7535 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7536 if test "x$ac_cv_func_connect" = x""yes; then :
7540 if test $ac_cv_func_connect = no; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7542 $as_echo_n "checking for connect in -lsocket... " >&6; }
7543 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7544 $as_echo_n "(cached) " >&6
7546 ac_check_lib_save_LIBS=$LIBS
7547 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7549 /* end confdefs.h. */
7551 /* Override any GCC internal prototype to avoid an error.
7552 Use char because int might match the return type of a GCC
7553 builtin and then its argument prototype would still apply. */
7566 if ac_fn_c_try_link "$LINENO"; then :
7567 ac_cv_lib_socket_connect=yes
7569 ac_cv_lib_socket_connect=no
7571 rm -f core conftest.err conftest.$ac_objext \
7572 conftest$ac_exeext conftest.$ac_ext
7573 LIBS=$ac_check_lib_save_LIBS
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7576 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7577 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
7578 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7583 # Guillermo Gomez says -lposix is necessary on A/UX.
7584 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7585 if test "x$ac_cv_func_remove" = x""yes; then :
7589 if test $ac_cv_func_remove = no; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7591 $as_echo_n "checking for remove in -lposix... " >&6; }
7592 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7593 $as_echo_n "(cached) " >&6
7595 ac_check_lib_save_LIBS=$LIBS
7596 LIBS="-lposix $LIBS"
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7600 /* Override any GCC internal prototype to avoid an error.
7601 Use char because int might match the return type of a GCC
7602 builtin and then its argument prototype would still apply. */
7615 if ac_fn_c_try_link "$LINENO"; then :
7616 ac_cv_lib_posix_remove=yes
7618 ac_cv_lib_posix_remove=no
7620 rm -f core conftest.err conftest.$ac_objext \
7621 conftest$ac_exeext conftest.$ac_ext
7622 LIBS=$ac_check_lib_save_LIBS
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7625 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7626 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
7627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7632 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7633 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7634 if test "x$ac_cv_func_shmat" = x""yes; then :
7638 if test $ac_cv_func_shmat = no; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7640 $as_echo_n "checking for shmat in -lipc... " >&6; }
7641 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7642 $as_echo_n "(cached) " >&6
7644 ac_check_lib_save_LIBS=$LIBS
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7649 /* Override any GCC internal prototype to avoid an error.
7650 Use char because int might match the return type of a GCC
7651 builtin and then its argument prototype would still apply. */
7664 if ac_fn_c_try_link "$LINENO"; then :
7665 ac_cv_lib_ipc_shmat=yes
7667 ac_cv_lib_ipc_shmat=no
7669 rm -f core conftest.err conftest.$ac_objext \
7670 conftest$ac_exeext conftest.$ac_ext
7671 LIBS=$ac_check_lib_save_LIBS
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7674 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7675 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
7676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7682 # Check for libraries that X11R6 Xt/Xaw programs need.
7683 ac_save_LDFLAGS=$LDFLAGS
7684 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7685 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7686 # check for ICE first), but we must link in the order -lSM -lICE or
7687 # we get undefined symbols. So assume we have SM if we have ICE.
7688 # These have to be linked with before -lX11, unlike the other
7689 # libraries we check for below, so use a different variable.
7690 # John Interrante, Karl Berry
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7692 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7693 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7694 $as_echo_n "(cached) " >&6
7696 ac_check_lib_save_LIBS=$LIBS
7697 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7699 /* end confdefs.h. */
7701 /* Override any GCC internal prototype to avoid an error.
7702 Use char because int might match the return type of a GCC
7703 builtin and then its argument prototype would still apply. */
7707 char IceConnectionNumber ();
7711 return IceConnectionNumber ();
7716 if ac_fn_c_try_link "$LINENO"; then :
7717 ac_cv_lib_ICE_IceConnectionNumber=yes
7719 ac_cv_lib_ICE_IceConnectionNumber=no
7721 rm -f core conftest.err conftest.$ac_objext \
7722 conftest$ac_exeext conftest.$ac_ext
7723 LIBS=$ac_check_lib_save_LIBS
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7726 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7727 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
7728 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7731 LDFLAGS=$ac_save_LDFLAGS
7736 if test "$have_x" = "yes"
7739 ac_save_CPPFLAGS="$CPPFLAGS"
7740 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7743 $as_echo_n "checking for -lX11... " >&6; }
7744 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7745 $as_echo_n "(cached) " >&6
7747 ac_check_soname_save_LIBS=$LIBS
7748 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7752 /* Override any GCC internal prototype to avoid an error.
7753 Use char because int might match the return type of a GCC
7754 builtin and then its argument prototype would still apply. */
7758 char XCreateWindow ();
7762 return XCreateWindow ();
7767 if ac_fn_c_try_link "$LINENO"; then :
7769 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7770 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'` ;;
7771 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7774 rm -f core conftest.err conftest.$ac_objext \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LIBS=$ac_check_soname_save_LIBS
7778 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7780 $as_echo "not found" >&6; }
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7784 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7786 cat >>confdefs.h <<_ACEOF
7787 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7793 $as_echo_n "checking for -lXext... " >&6; }
7794 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7795 $as_echo_n "(cached) " >&6
7797 ac_check_soname_save_LIBS=$LIBS
7798 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7802 /* Override any GCC internal prototype to avoid an error.
7803 Use char because int might match the return type of a GCC
7804 builtin and then its argument prototype would still apply. */
7808 char XextCreateExtension ();
7812 return XextCreateExtension ();
7817 if ac_fn_c_try_link "$LINENO"; then :
7819 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7820 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'` ;;
7821 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7824 rm -f core conftest.err conftest.$ac_objext \
7825 conftest$ac_exeext conftest.$ac_ext
7826 LIBS=$ac_check_soname_save_LIBS
7828 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7830 $as_echo "not found" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7834 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7836 cat >>confdefs.h <<_ACEOF
7837 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7843 for ac_header in X11/Xlib.h \
7846 X11/Xcursor/Xcursor.h \
7847 X11/extensions/shape.h \
7848 X11/extensions/XInput.h \
7849 X11/extensions/XShm.h \
7850 X11/extensions/Xcomposite.h \
7851 X11/extensions/Xinerama.h \
7852 X11/extensions/Xrandr.h \
7853 X11/extensions/Xrender.h \
7854 X11/extensions/xf86vmode.h \
7855 X11/extensions/xf86vmproto.h
7857 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7859 # include <X11/Xlib.h>
7861 #ifdef HAVE_X11_XUTIL_H
7862 # include <X11/Xutil.h>
7865 eval as_val=\$$as_ac_Header
7866 if test "x$as_val" = x""yes; then :
7867 cat >>confdefs.h <<_ACEOF
7868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7876 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7879 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7880 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7881 $as_echo_n "(cached) " >&6
7883 ac_check_lib_save_LIBS=$LIBS
7884 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7888 /* Override any GCC internal prototype to avoid an error.
7889 Use char because int might match the return type of a GCC
7890 builtin and then its argument prototype would still apply. */
7894 char XkbQueryExtension ();
7898 return XkbQueryExtension ();
7903 if ac_fn_c_try_link "$LINENO"; then :
7904 ac_cv_lib_X11_XkbQueryExtension=yes
7906 ac_cv_lib_X11_XkbQueryExtension=no
7908 rm -f core conftest.err conftest.$ac_objext \
7909 conftest$ac_exeext conftest.$ac_ext
7910 LIBS=$ac_check_lib_save_LIBS
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7913 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7914 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then :
7916 $as_echo "#define HAVE_XKB 1" >>confdefs.h
7922 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
7925 $as_echo_n "checking for -lXcursor... " >&6; }
7926 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7929 ac_check_soname_save_LIBS=$LIBS
7930 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7934 /* Override any GCC internal prototype to avoid an error.
7935 Use char because int might match the return type of a GCC
7936 builtin and then its argument prototype would still apply. */
7940 char XcursorImageLoadCursor ();
7944 return XcursorImageLoadCursor ();
7949 if ac_fn_c_try_link "$LINENO"; then :
7951 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7952 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'` ;;
7953 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7956 rm -f core conftest.err conftest.$ac_objext \
7957 conftest$ac_exeext conftest.$ac_ext
7958 LIBS=$ac_check_soname_save_LIBS
7960 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7962 $as_echo "not found" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
7966 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
7968 cat >>confdefs.h <<_ACEOF
7969 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
7975 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7976 case "x$with_xcursor" in
7977 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
7979 *) as_fn_error "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
7980 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
7984 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
7987 $as_echo_n "checking for -lXi... " >&6; }
7988 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
7989 $as_echo_n "(cached) " >&6
7991 ac_check_soname_save_LIBS=$LIBS
7992 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7996 /* Override any GCC internal prototype to avoid an error.
7997 Use char because int might match the return type of a GCC
7998 builtin and then its argument prototype would still apply. */
8002 char XOpenDevice ();
8006 return XOpenDevice ();
8011 if ac_fn_c_try_link "$LINENO"; then :
8013 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8014 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'` ;;
8015 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8018 rm -f core conftest.err conftest.$ac_objext \
8019 conftest$ac_exeext conftest.$ac_ext
8020 LIBS=$ac_check_soname_save_LIBS
8022 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8024 $as_echo "not found" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8028 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8030 cat >>confdefs.h <<_ACEOF
8031 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8037 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8038 case "x$with_xinput" in
8039 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8041 *) as_fn_error "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8042 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8046 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8049 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8050 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8051 $as_echo_n "(cached) " >&6
8053 ac_check_lib_save_LIBS=$LIBS
8054 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8058 /* Override any GCC internal prototype to avoid an error.
8059 Use char because int might match the return type of a GCC
8060 builtin and then its argument prototype would still apply. */
8064 char XShmQueryExtension ();
8068 return XShmQueryExtension ();
8073 if ac_fn_c_try_link "$LINENO"; then :
8074 ac_cv_lib_Xext_XShmQueryExtension=yes
8076 ac_cv_lib_Xext_XShmQueryExtension=no
8078 rm -f core conftest.err conftest.$ac_objext \
8079 conftest$ac_exeext conftest.$ac_ext
8080 LIBS=$ac_check_lib_save_LIBS
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8083 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8084 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then :
8086 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8091 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8092 case "x$with_xshm" in
8093 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8095 *) as_fn_error "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8096 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8100 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8103 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8104 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8105 $as_echo_n "(cached) " >&6
8107 ac_check_lib_save_LIBS=$LIBS
8108 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8112 /* Override any GCC internal prototype to avoid an error.
8113 Use char because int might match the return type of a GCC
8114 builtin and then its argument prototype would still apply. */
8118 char XShapeQueryExtension ();
8122 return XShapeQueryExtension ();
8127 if ac_fn_c_try_link "$LINENO"; then :
8128 ac_cv_lib_Xext_XShapeQueryExtension=yes
8130 ac_cv_lib_Xext_XShapeQueryExtension=no
8132 rm -f core conftest.err conftest.$ac_objext \
8133 conftest$ac_exeext conftest.$ac_ext
8134 LIBS=$ac_check_lib_save_LIBS
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8137 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8138 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
8140 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8145 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8146 case "x$with_xshape" in
8147 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8149 *) as_fn_error "XShape ${notice_platform}development files not found, XShape won't be supported.
8150 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8154 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8157 $as_echo_n "checking for -lXxf86vm... " >&6; }
8158 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8159 $as_echo_n "(cached) " >&6
8161 ac_check_soname_save_LIBS=$LIBS
8162 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8164 /* end confdefs.h. */
8166 /* Override any GCC internal prototype to avoid an error.
8167 Use char because int might match the return type of a GCC
8168 builtin and then its argument prototype would still apply. */
8172 char XF86VidModeQueryExtension ();
8176 return XF86VidModeQueryExtension ();
8181 if ac_fn_c_try_link "$LINENO"; then :
8183 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8184 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'` ;;
8185 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8188 rm -f core conftest.err conftest.$ac_objext \
8189 conftest$ac_exeext conftest.$ac_ext
8190 LIBS=$ac_check_soname_save_LIBS
8192 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8194 $as_echo "not found" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8198 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8200 cat >>confdefs.h <<_ACEOF
8201 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8207 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8208 case "x$with_xxf86vm" in
8209 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8211 *) as_fn_error "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8212 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8216 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"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8219 $as_echo_n "checking for -lXrender... " >&6; }
8220 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8221 $as_echo_n "(cached) " >&6
8223 ac_check_soname_save_LIBS=$LIBS
8224 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 /* end confdefs.h. */
8228 /* Override any GCC internal prototype to avoid an error.
8229 Use char because int might match the return type of a GCC
8230 builtin and then its argument prototype would still apply. */
8234 char XRenderQueryExtension ();
8238 return XRenderQueryExtension ();
8243 if ac_fn_c_try_link "$LINENO"; then :
8245 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8246 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'` ;;
8247 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 LIBS=$ac_check_soname_save_LIBS
8254 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8256 $as_echo "not found" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8260 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8262 cat >>confdefs.h <<_ACEOF
8263 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8267 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8268 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_check_lib_save_LIBS=$LIBS
8272 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8276 /* Override any GCC internal prototype to avoid an error.
8277 Use char because int might match the return type of a GCC
8278 builtin and then its argument prototype would still apply. */
8282 char XRenderSetPictureTransform ();
8286 return XRenderSetPictureTransform ();
8291 if ac_fn_c_try_link "$LINENO"; then :
8292 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8294 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8296 rm -f core conftest.err conftest.$ac_objext \
8297 conftest$ac_exeext conftest.$ac_ext
8298 LIBS=$ac_check_lib_save_LIBS
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8301 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8302 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then :
8304 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8311 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8312 case "x$with_xrender" in
8313 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8315 *) as_fn_error "libxrender ${notice_platform}development files not found, XRender won't be supported.
8316 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8320 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 #include <X11/Xlib.h>
8325 #include <X11/extensions/Xrandr.h>
8329 static typeof(XRRSetScreenConfigAndRate) * func;
8334 if ac_fn_c_try_compile "$LINENO"; then :
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8336 $as_echo_n "checking for -lXrandr... " >&6; }
8337 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8338 $as_echo_n "(cached) " >&6
8340 ac_check_soname_save_LIBS=$LIBS
8341 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8345 /* Override any GCC internal prototype to avoid an error.
8346 Use char because int might match the return type of a GCC
8347 builtin and then its argument prototype would still apply. */
8351 char XRRQueryExtension ();
8355 return XRRQueryExtension ();
8360 if ac_fn_c_try_link "$LINENO"; then :
8362 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8363 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'` ;;
8364 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 LIBS=$ac_check_soname_save_LIBS
8371 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8373 $as_echo "not found" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8377 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8379 cat >>confdefs.h <<_ACEOF
8380 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8388 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8389 case "x$with_xrandr" in
8390 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8392 *) as_fn_error "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8393 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8397 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 #include <X11/Xlib.h>
8402 #include <X11/extensions/Xinerama.h>
8406 static typeof(XineramaQueryScreens) * func;
8411 if ac_fn_c_try_compile "$LINENO"; then :
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8413 $as_echo_n "checking for -lXinerama... " >&6; }
8414 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8417 ac_check_soname_save_LIBS=$LIBS
8418 LIBS="-lXinerama $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. */
8428 char XineramaQueryScreens ();
8432 return XineramaQueryScreens ();
8437 if ac_fn_c_try_link "$LINENO"; then :
8439 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8440 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'` ;;
8441 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 LIBS=$ac_check_soname_save_LIBS
8448 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8450 $as_echo "not found" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8454 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8456 cat >>confdefs.h <<_ACEOF
8457 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8465 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8466 case "x$with_xinerama" in
8467 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8469 *) as_fn_error "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8470 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8474 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8477 $as_echo_n "checking for -lXcomposite... " >&6; }
8478 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_check_soname_save_LIBS=$LIBS
8482 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8486 /* Override any GCC internal prototype to avoid an error.
8487 Use char because int might match the return type of a GCC
8488 builtin and then its argument prototype would still apply. */
8492 char XCompositeRedirectWindow ();
8496 return XCompositeRedirectWindow ();
8501 if ac_fn_c_try_link "$LINENO"; then :
8503 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8504 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'` ;;
8505 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8508 rm -f core conftest.err conftest.$ac_objext \
8509 conftest$ac_exeext conftest.$ac_ext
8510 LIBS=$ac_check_soname_save_LIBS
8512 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8514 $as_echo "not found" >&6; }
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8518 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8520 cat >>confdefs.h <<_ACEOF
8521 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8527 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8528 case "x$with_xcomposite" in
8529 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8531 *) as_fn_error "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8532 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8536 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8537 #include <X11/Xlib.h>
8540 if test "x$ac_cv_member_XICCallback_callback" = x""yes; then :
8542 cat >>confdefs.h <<_ACEOF
8543 #define HAVE_XICCALLBACK_CALLBACK 1
8552 if test "x$with_opengl" != "xno"
8554 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8557 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8558 # include <GL/glx.h>
8561 eval as_val=\$$as_ac_Header
8562 if test "x$as_val" = x""yes; then :
8563 cat >>confdefs.h <<_ACEOF
8564 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8571 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8574 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8575 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8576 $as_echo_n "(cached) " >&6
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8584 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8589 if ac_fn_c_try_compile "$LINENO"; then :
8590 wine_cv_opengl_header_version_OK="yes"
8592 wine_cv_opengl_header_version_OK="no"
8594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8597 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8599 if test "$wine_cv_opengl_header_version_OK" = "yes"
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8602 $as_echo_n "checking for -lGL... " >&6; }
8603 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8604 $as_echo_n "(cached) " >&6
8606 ac_check_soname_save_LIBS=$LIBS
8607 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8609 /* end confdefs.h. */
8611 /* Override any GCC internal prototype to avoid an error.
8612 Use char because int might match the return type of a GCC
8613 builtin and then its argument prototype would still apply. */
8617 char glXCreateContext ();
8621 return glXCreateContext ();
8626 if ac_fn_c_try_link "$LINENO"; then :
8628 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8629 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'` ;;
8630 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 LIBS=$ac_check_soname_save_LIBS
8637 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8639 $as_echo "not found" >&6; }
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8641 $as_echo_n "checking for -lGL... " >&6; }
8642 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8643 $as_echo_n "(cached) " >&6
8645 ac_check_soname_save_LIBS=$LIBS
8646 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"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8650 /* Override any GCC internal prototype to avoid an error.
8651 Use char because int might match the return type of a GCC
8652 builtin and then its argument prototype would still apply. */
8656 char glXCreateContext ();
8660 return glXCreateContext ();
8665 if ac_fn_c_try_link "$LINENO"; then :
8667 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8668 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'` ;;
8669 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8672 rm -f core conftest.err conftest.$ac_objext \
8673 conftest$ac_exeext conftest.$ac_ext
8674 LIBS=$ac_check_soname_save_LIBS
8676 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8678 $as_echo "not found" >&6; }
8679 if test -f /usr/X11R6/lib/libGL.a
8681 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8682 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8684 opengl_msg="No OpenGL library found on this system."
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8688 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8690 cat >>confdefs.h <<_ACEOF
8691 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8694 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"
8696 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8701 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8703 cat >>confdefs.h <<_ACEOF
8704 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8709 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8712 if test "$ac_cv_header_GL_glu_h" = "yes"
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8715 $as_echo_n "checking for -lGLU... " >&6; }
8716 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8719 ac_check_soname_save_LIBS=$LIBS
8720 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722 /* end confdefs.h. */
8724 /* Override any GCC internal prototype to avoid an error.
8725 Use char because int might match the return type of a GCC
8726 builtin and then its argument prototype would still apply. */
8734 return gluLookAt ();
8739 if ac_fn_c_try_link "$LINENO"; then :
8741 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8742 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8743 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 LIBS=$ac_check_soname_save_LIBS
8750 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8752 $as_echo "not found" >&6; }
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8756 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8758 cat >>confdefs.h <<_ACEOF
8759 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8765 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8766 case "x$with_glu" in
8767 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8769 *) as_fn_error "libGLU ${notice_platform}development files not found, GLU won't be supported.
8770 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8774 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8777 opengl_msg="OpenGL development headers not found."
8779 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8780 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8782 enable_opengl32=${enable_opengl32:-no}
8783 enable_glu32=${enable_glu32:-no}
8785 if test -n "$opengl_msg"; then :
8786 case "x$with_opengl" in
8787 x) as_fn_append wine_warnings "|$opengl_msg
8788 OpenGL and Direct3D won't be supported." ;;
8790 *) as_fn_error "$opengl_msg
8791 OpenGL and Direct3D won't be supported.
8792 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8798 for ac_header in audio/audiolib.h
8800 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8801 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
8802 cat >>confdefs.h <<_ACEOF
8803 #define HAVE_AUDIO_AUDIOLIB_H 1
8805 for ac_header in audio/soundlib.h
8807 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8809 if test "x$ac_cv_header_audio_soundlib_h" = x""yes; then :
8810 cat >>confdefs.h <<_ACEOF
8811 #define HAVE_AUDIO_SOUNDLIB_H 1
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8819 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8820 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8821 $as_echo_n "(cached) " >&6
8823 ac_check_lib_save_LIBS=$LIBS
8824 LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8828 /* Override any GCC internal prototype to avoid an error.
8829 Use char because int might match the return type of a GCC
8830 builtin and then its argument prototype would still apply. */
8834 char AuCreateFlow ();
8838 return AuCreateFlow ();
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_lib_audio_AuCreateFlow=yes
8846 ac_cv_lib_audio_AuCreateFlow=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 LIBS=$ac_check_lib_save_LIBS
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8853 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8854 if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then :
8856 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8859 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8860 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8861 $as_echo_n "(cached) " >&6
8863 ac_check_lib_save_LIBS=$LIBS
8864 LIBS="-lXau $X_LIBS $LIBS"
8865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8866 /* end confdefs.h. */
8868 /* Override any GCC internal prototype to avoid an error.
8869 Use char because int might match the return type of a GCC
8870 builtin and then its argument prototype would still apply. */
8874 char XauGetBestAuthByAddr ();
8878 return XauGetBestAuthByAddr ();
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8886 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 LIBS=$ac_check_lib_save_LIBS
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8893 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8894 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then :
8895 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8897 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8908 CPPFLAGS="$ac_save_CPPFLAGS"
8913 enable_winex11_drv=${enable_winex11_drv:-no}
8914 enable_opengl32=${enable_opengl32:-no}
8915 enable_glu32=${enable_glu32:-no}
8917 if test "x$XLIB" = "x"; then :
8920 *) as_fn_error "X ${notice_platform}development files not found. Wine will be built
8921 without X support, which probably isn't what you want. You will need to install
8922 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8923 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8934 if test "x$with_xml" != "xno"
8936 ac_save_CPPFLAGS="$CPPFLAGS"
8937 if test "$PKG_CONFIG" != "false"
8939 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8940 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8942 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8943 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8945 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8946 for ac_header in libxml/parser.h
8948 ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
8949 if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
8950 cat >>confdefs.h <<_ACEOF
8951 #define HAVE_LIBXML_PARSER_H 1
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
8954 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
8955 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
8956 $as_echo_n "(cached) " >&6
8958 ac_check_lib_save_LIBS=$LIBS
8959 LIBS="-lxml2 $ac_xml_libs $LIBS"
8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8963 /* Override any GCC internal prototype to avoid an error.
8964 Use char because int might match the return type of a GCC
8965 builtin and then its argument prototype would still apply. */
8969 char xmlParseMemory ();
8973 return xmlParseMemory ();
8978 if ac_fn_c_try_link "$LINENO"; then :
8979 ac_cv_lib_xml2_xmlParseMemory=yes
8981 ac_cv_lib_xml2_xmlParseMemory=no
8983 rm -f core conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext
8985 LIBS=$ac_check_lib_save_LIBS
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8988 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8989 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then :
8991 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
8993 XML2LIBS="$ac_xml_libs"
8994 XML2INCL="$ac_xml_cflags"
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
8998 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
8999 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9000 $as_echo_n "(cached) " >&6
9002 ac_check_lib_save_LIBS=$LIBS
9003 LIBS="-lxml2 $ac_xml_libs $LIBS"
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9007 /* Override any GCC internal prototype to avoid an error.
9008 Use char because int might match the return type of a GCC
9009 builtin and then its argument prototype would still apply. */
9013 char xmlReadMemory ();
9017 return xmlReadMemory ();
9022 if ac_fn_c_try_link "$LINENO"; then :
9023 ac_cv_lib_xml2_xmlReadMemory=yes
9025 ac_cv_lib_xml2_xmlReadMemory=no
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 LIBS=$ac_check_lib_save_LIBS
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9032 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9033 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then :
9035 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9040 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9041 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9042 $as_echo_n "(cached) " >&6
9044 ac_check_lib_save_LIBS=$LIBS
9045 LIBS="-lxml2 $ac_xml_libs $LIBS"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char xmlNewDocPI ();
9059 return xmlNewDocPI ();
9064 if ac_fn_c_try_link "$LINENO"; then :
9065 ac_cv_lib_xml2_xmlNewDocPI=yes
9067 ac_cv_lib_xml2_xmlNewDocPI=no
9069 rm -f core conftest.err conftest.$ac_objext \
9070 conftest$ac_exeext conftest.$ac_ext
9071 LIBS=$ac_check_lib_save_LIBS
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9074 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9075 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then :
9077 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9086 CPPFLAGS="$ac_save_CPPFLAGS"
9088 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9089 case "x$with_xml" in
9090 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9092 *) as_fn_error "libxml2 ${notice_platform}development files not found, XML won't be supported.
9093 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9097 if test "x$with_xslt" != "xno"
9099 if test "$PKG_CONFIG" != "false"
9101 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9102 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9104 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9105 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9107 ac_save_CPPFLAGS="$CPPFLAGS"
9108 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9109 for ac_header in libxslt/pattern.h libxslt/transform.h
9111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9112 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9113 # include <libxslt/pattern.h>
9116 eval as_val=\$$as_ac_Header
9117 if test "x$as_val" = x""yes; then :
9118 cat >>confdefs.h <<_ACEOF
9119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9126 CPPFLAGS="$ac_save_CPPFLAGS"
9127 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9130 $as_echo_n "checking for -lxslt... " >&6; }
9131 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9132 $as_echo_n "(cached) " >&6
9134 ac_check_soname_save_LIBS=$LIBS
9135 LIBS="-lxslt $ac_xslt_libs $LIBS"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9145 char xsltCompilePattern ();
9149 return xsltCompilePattern ();
9154 if ac_fn_c_try_link "$LINENO"; then :
9156 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9157 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'` ;;
9158 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9161 rm -f core conftest.err conftest.$ac_objext \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_soname_save_LIBS
9165 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9167 $as_echo "not found" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9171 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9173 cat >>confdefs.h <<_ACEOF
9174 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9177 XSLTINCL="$ac_xslt_cflags"
9181 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9182 case "x$with_xslt" in
9183 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9185 *) as_fn_error "libxslt ${notice_platform}development files not found, xslt won't be supported.
9186 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9192 if test "x$with_hal" != "xno"
9194 ac_save_CPPFLAGS="$CPPFLAGS"
9195 if test "$PKG_CONFIG" != "false"
9197 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9198 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9199 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9201 for ac_header in dbus/dbus.h hal/libhal.h
9203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9204 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9205 eval as_val=\$$as_ac_Header
9206 if test "x$as_val" = x""yes; then :
9207 cat >>confdefs.h <<_ACEOF
9208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9215 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9218 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9219 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9220 $as_echo_n "(cached) " >&6
9222 ac_check_lib_save_LIBS=$LIBS
9223 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9233 char dbus_connection_close ();
9237 return dbus_connection_close ();
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 ac_cv_lib_dbus_1_dbus_connection_close=yes
9245 ac_cv_lib_dbus_1_dbus_connection_close=no
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 LIBS=$ac_check_lib_save_LIBS
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9252 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9253 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9255 $as_echo_n "checking for -lhal... " >&6; }
9256 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9257 $as_echo_n "(cached) " >&6
9259 ac_check_soname_save_LIBS=$LIBS
9260 LIBS="-lhal $ac_hal_libs $LIBS"
9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9264 /* Override any GCC internal prototype to avoid an error.
9265 Use char because int might match the return type of a GCC
9266 builtin and then its argument prototype would still apply. */
9270 char libhal_ctx_new ();
9274 return libhal_ctx_new ();
9279 if ac_fn_c_try_link "$LINENO"; then :
9281 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9282 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'` ;;
9283 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_soname_save_LIBS
9290 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9292 $as_echo "not found" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9296 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9298 cat >>confdefs.h <<_ACEOF
9299 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9302 HALINCL="$ac_hal_cflags"
9307 CPPFLAGS="$ac_save_CPPFLAGS"
9309 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9310 case "x$with_hal" in
9311 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9313 *) as_fn_error "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9314 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9318 if test "x$with_gnutls" != "xno"
9320 ac_save_CPPFLAGS="$CPPFLAGS"
9321 if test "$PKG_CONFIG" != "false"
9323 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9324 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9325 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9327 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9328 if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then :
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 #include <gnutls/gnutls.h>
9335 typeof(gnutls_mac_get_key_size) *pfunc;
9340 if ac_fn_c_try_compile "$LINENO"; then :
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9342 $as_echo_n "checking for -lgnutls... " >&6; }
9343 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9344 $as_echo_n "(cached) " >&6
9346 ac_check_soname_save_LIBS=$LIBS
9347 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9357 char gnutls_global_init ();
9361 return gnutls_global_init ();
9366 if ac_fn_c_try_link "$LINENO"; then :
9368 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9369 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'` ;;
9370 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS=$ac_check_soname_save_LIBS
9377 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9379 $as_echo "not found" >&6; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9383 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9385 cat >>confdefs.h <<_ACEOF
9386 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9389 GNUTLSINCL="$ac_gnutls_cflags"
9393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9397 CPPFLAGS="$ac_save_CPPFLAGS"
9399 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9400 case "x$with_gnutls" in
9401 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9403 *) as_fn_error "libgnutls ${notice_platform}development files not found, no schannel support.
9404 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9409 if test "$ac_cv_header_ncurses_h" = "yes"
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9412 $as_echo_n "checking for -lncurses... " >&6; }
9413 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9414 $as_echo_n "(cached) " >&6
9416 ac_check_soname_save_LIBS=$LIBS
9417 LIBS="-lncurses $LIBS"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9436 if ac_fn_c_try_link "$LINENO"; then :
9438 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9439 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'` ;;
9440 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_soname_save_LIBS
9447 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9449 $as_echo "not found" >&6; }
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9453 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9455 cat >>confdefs.h <<_ACEOF
9456 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9459 CURSESLIBS="-lncurses"
9461 elif test "$ac_cv_header_curses_h" = "yes"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9464 $as_echo_n "checking for -lcurses... " >&6; }
9465 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9466 $as_echo_n "(cached) " >&6
9468 ac_check_soname_save_LIBS=$LIBS
9469 LIBS="-lcurses $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9488 if ac_fn_c_try_link "$LINENO"; then :
9490 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9491 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'` ;;
9492 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 LIBS=$ac_check_soname_save_LIBS
9499 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9501 $as_echo "not found" >&6; }
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9505 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9507 cat >>confdefs.h <<_ACEOF
9508 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9511 CURSESLIBS="-lcurses"
9514 ac_save_LIBS="$LIBS"
9515 LIBS="$LIBS $CURSESLIBS"
9516 for ac_func in mousemask
9518 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9519 if test "x$ac_cv_func_mousemask" = x""yes; then :
9520 cat >>confdefs.h <<_ACEOF
9521 #define HAVE_MOUSEMASK 1
9527 LIBS="$ac_save_LIBS"
9528 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9529 case "x$with_curses" in
9530 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9532 *) as_fn_error "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9533 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9537 if test "x$with_sane" != "xno"
9539 ac_save_CPPFLAGS="$CPPFLAGS"
9540 # Extract the first word of "sane-config", so it can be a program name with args.
9541 set dummy sane-config; ac_word=$2
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9543 $as_echo_n "checking for $ac_word... " >&6; }
9544 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9545 $as_echo_n "(cached) " >&6
9547 if test -n "$sane_devel"; then
9548 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9554 test -z "$as_dir" && as_dir=.
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9557 ac_cv_prog_sane_devel="sane-config"
9558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9565 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9568 sane_devel=$ac_cv_prog_sane_devel
9569 if test -n "$sane_devel"; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9571 $as_echo "$sane_devel" >&6; }
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9574 $as_echo "no" >&6; }
9578 if test "$sane_devel" != "no"
9580 ac_sane_incl="`$sane_devel --cflags`"
9581 ac_sane_libs="`$sane_devel --ldflags`"
9582 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9584 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9585 if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9587 $as_echo_n "checking for -lsane... " >&6; }
9588 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9589 $as_echo_n "(cached) " >&6
9591 ac_check_soname_save_LIBS=$LIBS
9592 LIBS="-lsane $ac_sane_libs $LIBS"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9606 return sane_init ();
9611 if ac_fn_c_try_link "$LINENO"; then :
9613 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9614 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'` ;;
9615 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 LIBS=$ac_check_soname_save_LIBS
9622 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9624 $as_echo "not found" >&6; }
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9628 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9630 cat >>confdefs.h <<_ACEOF
9631 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9634 SANEINCL="$ac_sane_incl"
9640 CPPFLAGS="$ac_save_CPPFLAGS"
9642 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9643 case "x$with_sane" in
9644 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9646 *) as_fn_error "libsane ${notice_platform}development files not found, scanners won't be supported.
9647 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9651 if test "x$with_v4l" != "xno"
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9654 $as_echo_n "checking for -lv4l1... " >&6; }
9655 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9656 $as_echo_n "(cached) " >&6
9658 ac_check_soname_save_LIBS=$LIBS
9660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9661 /* end confdefs.h. */
9663 /* Override any GCC internal prototype to avoid an error.
9664 Use char because int might match the return type of a GCC
9665 builtin and then its argument prototype would still apply. */
9673 return v4l1_open ();
9678 if ac_fn_c_try_link "$LINENO"; then :
9680 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9681 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'` ;;
9682 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9685 rm -f core conftest.err conftest.$ac_objext \
9686 conftest$ac_exeext conftest.$ac_ext
9687 LIBS=$ac_check_soname_save_LIBS
9689 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9691 $as_echo "not found" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9695 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9697 cat >>confdefs.h <<_ACEOF
9698 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9704 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9705 case "x$with_v4l" in
9706 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
9708 *) as_fn_error "libv4l ${notice_platform}development files not found.
9709 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9713 if test "x$with_gphoto" != "xno"
9715 ac_save_CPPFLAGS="$CPPFLAGS"
9716 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9717 set dummy gphoto2-config; ac_word=$2
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9719 $as_echo_n "checking for $ac_word... " >&6; }
9720 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9721 $as_echo_n "(cached) " >&6
9723 if test -n "$gphoto2_devel"; then
9724 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9733 ac_cv_prog_gphoto2_devel="gphoto2-config"
9734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
9744 gphoto2_devel=$ac_cv_prog_gphoto2_devel
9745 if test -n "$gphoto2_devel"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9747 $as_echo "$gphoto2_devel" >&6; }
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 $as_echo "no" >&6; }
9754 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9755 set dummy gphoto2-port-config; ac_word=$2
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9757 $as_echo_n "checking for $ac_word... " >&6; }
9758 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9759 $as_echo_n "(cached) " >&6
9761 if test -n "$gphoto2port_devel"; then
9762 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
9764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9768 test -z "$as_dir" && as_dir=.
9769 for ac_exec_ext in '' $ac_executable_extensions; do
9770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9771 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
9772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9779 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
9782 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
9783 if test -n "$gphoto2port_devel"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9785 $as_echo "$gphoto2port_devel" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9788 $as_echo "no" >&6; }
9792 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9794 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9796 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9799 -L/usr/lib|-L/usr/lib64) ;;
9800 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
9803 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
9805 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
9806 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9807 if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then :
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9809 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9810 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9811 $as_echo_n "(cached) " >&6
9813 ac_check_lib_save_LIBS=$LIBS
9814 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9818 /* Override any GCC internal prototype to avoid an error.
9819 Use char because int might match the return type of a GCC
9820 builtin and then its argument prototype would still apply. */
9824 char gp_camera_new ();
9828 return gp_camera_new ();
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_lib_gphoto2_gp_camera_new=yes
9836 ac_cv_lib_gphoto2_gp_camera_new=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 LIBS=$ac_check_lib_save_LIBS
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9843 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9844 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then :
9846 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9848 GPHOTO2LIBS="$ac_gphoto2_libs"
9850 GPHOTO2INCL="$ac_gphoto2_incl"
9857 CPPFLAGS="$ac_save_CPPFLAGS"
9859 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9860 case "x$with_gphoto" in
9861 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9863 *) as_fn_error "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9864 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9871 if test "$ac_cv_header_resolv_h" = "yes"
9873 ac_save_LIBS="$LIBS"
9874 LIBS="$LIBS -lresolv"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 #ifdef HAVE_NETINET_IN_H
9878 #include <netinet/in.h>
9889 if ac_fn_c_try_link "$LINENO"; then :
9891 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9893 RESOLVLIBS="-lresolv"
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 LIBS="$ac_save_LIBS"
9902 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9905 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
9906 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
9907 $as_echo_n "(cached) " >&6
9909 ac_check_lib_save_LIBS=$LIBS
9911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9920 char cmsOpenProfileFromFile ();
9924 return cmsOpenProfileFromFile ();
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
9932 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_lib_save_LIBS
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9939 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
9940 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then :
9942 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
9948 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
9949 case "x$with_cms" in
9950 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
9952 *) as_fn_error "liblcms ${notice_platform}development files not found, Color Management won't be supported.
9953 This is an error since --with-cms was requested." "$LINENO" 5 ;;
9957 if test "x$with_freetype" != "xno"
9959 for ac_prog in freetype-config freetype2-config
9961 # Extract the first word of "$ac_prog", so it can be a program name with args.
9962 set dummy $ac_prog; ac_word=$2
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9964 $as_echo_n "checking for $ac_word... " >&6; }
9965 if test "${ac_cv_prog_ft_devel+set}" = set; then :
9966 $as_echo_n "(cached) " >&6
9968 if test -n "$ft_devel"; then
9969 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9975 test -z "$as_dir" && as_dir=.
9976 for ac_exec_ext in '' $ac_executable_extensions; do
9977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9978 ac_cv_prog_ft_devel="$ac_prog"
9979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9988 ft_devel=$ac_cv_prog_ft_devel
9989 if test -n "$ft_devel"; then
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
9991 $as_echo "$ft_devel" >&6; }
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9994 $as_echo "no" >&6; }
9998 test -n "$ft_devel" && break
10000 test -n "$ft_devel" || ft_devel="no"
10002 if test "$ft_devel" != "no"
10004 ac_freetype_incl=`$ft_devel --cflags`
10005 ac_freetype_libs=`$ft_devel --libs`
10007 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10009 $as_echo_n "checking for -lfreetype... " >&6; }
10010 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10011 $as_echo_n "(cached) " >&6
10013 ac_check_soname_save_LIBS=$LIBS
10014 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10024 char FT_Init_FreeType ();
10028 return FT_Init_FreeType ();
10033 if ac_fn_c_try_link "$LINENO"; then :
10035 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10036 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'` ;;
10037 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 LIBS=$ac_check_soname_save_LIBS
10044 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10046 $as_echo "not found" >&6; }
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10050 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10052 cat >>confdefs.h <<_ACEOF
10053 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10058 if test "$ft_lib" = "yes"
10060 ac_save_CPPFLAGS="$CPPFLAGS"
10061 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10062 for ac_header in ft2build.h \
10063 freetype/freetype.h \
10064 freetype/ftglyph.h \
10065 freetype/fttypes.h \
10066 freetype/tttables.h \
10067 freetype/ftsnames.h \
10068 freetype/ttnameid.h \
10069 freetype/ftoutln.h \
10070 freetype/ftwinfnt.h \
10071 freetype/ftmodapi.h \
10072 freetype/ftlcdfil.h \
10073 freetype/internal/sfnt.h
10075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10077 # include <ft2build.h>
10080 eval as_val=\$$as_ac_Header
10081 if test "x$as_val" = x""yes; then :
10082 cat >>confdefs.h <<_ACEOF
10083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 #include <ft2build.h>
10093 #include <freetype/fttrigon.h>
10095 if ac_fn_c_try_cpp "$LINENO"; then :
10097 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10099 wine_cv_fttrigon=yes
10101 wine_cv_fttrigon=no
10103 rm -f conftest.err conftest.$ac_ext
10104 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10106 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then :
10108 cat >>confdefs.h <<_ACEOF
10109 #define HAVE_FT_TRUETYPEENGINETYPE 1
10115 ac_save_CFLAGS="$CFLAGS"
10116 CFLAGS="$CFLAGS $ac_freetype_libs"
10117 for ac_func in FT_Load_Sfnt_Table
10119 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10120 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x""yes; then :
10121 cat >>confdefs.h <<_ACEOF
10122 #define HAVE_FT_LOAD_SFNT_TABLE 1
10128 CFLAGS="$ac_save_CFLAGS"
10129 CPPFLAGS="$ac_save_CPPFLAGS"
10130 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10133 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10135 FREETYPELIBS="$ac_freetype_libs"
10137 FREETYPEINCL="$ac_freetype_incl"
10142 if test "x$FREETYPELIBS" = "x"; then :
10143 case "x$with_freetype" in
10145 *) as_fn_error "FreeType ${notice_platform}development files not found. Fonts will not be built.
10146 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10149 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10152 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10153 if test "${ac_cv_c_ppdev+set}" = set; then :
10154 $as_echo_n "(cached) " >&6
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 #ifdef HAVE_SYS_IOCTL_H
10159 # include <sys/ioctl.h>
10161 #include <linux/ppdev.h>
10165 ioctl (1,PPCLAIM,0)
10170 if ac_fn_c_try_compile "$LINENO"; then :
10171 ac_cv_c_ppdev="yes"
10175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10178 $as_echo "$ac_cv_c_ppdev" >&6; }
10179 if test "$ac_cv_c_ppdev" = "yes"
10182 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10186 ac_wine_check_funcs_save_LIBS="$LIBS"
10187 LIBS="$LIBS $LIBPTHREAD"
10189 pthread_attr_get_np \
10190 pthread_getattr_np \
10191 pthread_get_stackaddr_np \
10192 pthread_get_stacksize_np
10194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10196 eval as_val=\$$as_ac_var
10197 if test "x$as_val" = x""yes; then :
10198 cat >>confdefs.h <<_ACEOF
10199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10205 LIBS="$ac_wine_check_funcs_save_LIBS"
10207 if test "$ac_cv_header_zlib_h" = "yes"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10210 $as_echo_n "checking for inflate in -lz... " >&6; }
10211 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10212 $as_echo_n "(cached) " >&6
10214 ac_check_lib_save_LIBS=$LIBS
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_lib_z_inflate=yes
10237 ac_cv_lib_z_inflate=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_lib_save_LIBS
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10244 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10245 if test "x$ac_cv_lib_z_inflate" = x""yes; then :
10247 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10255 if test "x$with_esd" != xno
10257 save_CFLAGS="$CFLAGS"
10258 # Extract the first word of "esd-config", so it can be a program name with args.
10259 set dummy esd-config; ac_word=$2
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10261 $as_echo_n "checking for $ac_word... " >&6; }
10262 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10263 $as_echo_n "(cached) " >&6
10267 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10271 for as_dir in $PATH
10274 test -z "$as_dir" && as_dir=.
10275 for ac_exec_ext in '' $ac_executable_extensions; do
10276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10277 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10285 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
10289 ESDCONFIG=$ac_cv_path_ESDCONFIG
10290 if test -n "$ESDCONFIG"; then
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10292 $as_echo "$ESDCONFIG" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10295 $as_echo "no" >&6; }
10299 if test "x$ESDCONFIG" != "xno"
10302 for i in `$ESDCONFIG --cflags`
10305 -I*) ac_esd_incl="$ac_esd_incl $i";;
10308 ac_esd_libs=`$ESDCONFIG --libs`
10309 CFLAGS="$CFLAGS $ac_esd_incl"
10311 ac_esd_libs=${ac_esd_libs:-"-lesd"}
10312 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10313 if test "x$ac_cv_header_esd_h" = x""yes; then :
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10315 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10316 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10317 $as_echo_n "(cached) " >&6
10319 ac_check_lib_save_LIBS=$LIBS
10320 LIBS="-lesd $ac_esd_libs $LIBS"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10330 char esd_open_sound ();
10334 return esd_open_sound ();
10339 if ac_fn_c_try_link "$LINENO"; then :
10340 ac_cv_lib_esd_esd_open_sound=yes
10342 ac_cv_lib_esd_esd_open_sound=no
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_lib_save_LIBS
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10349 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10350 if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
10351 ESDINCL="$ac_esd_incl"
10353 ESDLIBS="$ac_esd_libs"
10356 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10363 CFLAGS="$save_CFLAGS"
10368 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10371 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10372 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10373 $as_echo_n "(cached) " >&6
10375 ac_check_lib_save_LIBS=$LIBS
10376 LIBS="-lasound $LIBS"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10386 char snd_pcm_hw_params_get_access ();
10390 return snd_pcm_hw_params_get_access ();
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10398 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 LIBS=$ac_check_lib_save_LIBS
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10405 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10406 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 #ifdef HAVE_ALSA_ASOUNDLIB_H
10410 #include <alsa/asoundlib.h>
10411 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10412 #include <sys/asoundlib.h>
10417 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10422 if ac_fn_c_try_compile "$LINENO"; then :
10424 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10426 ALSALIBS="-lasound"
10428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10435 if test "$ac_cv_header_libaudioio_h" = "yes"
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10438 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10439 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10440 $as_echo_n "(cached) " >&6
10442 ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-laudioio $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10453 char AudioIOGetVersion ();
10457 return AudioIOGetVersion ();
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 ac_cv_lib_audioio_AudioIOGetVersion=yes
10465 ac_cv_lib_audioio_AudioIOGetVersion=no
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_lib_save_LIBS
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10472 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10473 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then :
10474 AUDIOIOLIBS="-laudioio"
10476 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10483 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10486 $as_echo_n "checking for -lcapi20... " >&6; }
10487 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10488 $as_echo_n "(cached) " >&6
10490 ac_check_soname_save_LIBS=$LIBS
10491 LIBS="-lcapi20 $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10501 char capi20_register ();
10505 return capi20_register ();
10510 if ac_fn_c_try_link "$LINENO"; then :
10512 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10513 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'` ;;
10514 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10517 rm -f core conftest.err conftest.$ac_objext \
10518 conftest$ac_exeext conftest.$ac_ext
10519 LIBS=$ac_check_soname_save_LIBS
10521 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10523 $as_echo "not found" >&6; }
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10527 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10529 cat >>confdefs.h <<_ACEOF
10530 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10536 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10537 case "x$with_capi" in
10538 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10540 *) as_fn_error "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10541 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10547 if test "x$with_cups" != "xno"
10549 ac_save_CPPFLAGS="$CPPFLAGS"
10550 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10551 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10552 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10553 for ac_header in cups/cups.h
10555 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10556 if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
10557 cat >>confdefs.h <<_ACEOF
10558 #define HAVE_CUPS_CUPS_H 1
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10561 $as_echo_n "checking for -lcups... " >&6; }
10562 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10563 $as_echo_n "(cached) " >&6
10565 ac_check_soname_save_LIBS=$LIBS
10566 LIBS="-lcups $ac_cups_libs $LIBS"
10567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10570 /* Override any GCC internal prototype to avoid an error.
10571 Use char because int might match the return type of a GCC
10572 builtin and then its argument prototype would still apply. */
10576 char cupsGetDefault ();
10580 return cupsGetDefault ();
10585 if ac_fn_c_try_link "$LINENO"; then :
10587 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10588 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'` ;;
10589 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10592 rm -f core conftest.err conftest.$ac_objext \
10593 conftest$ac_exeext conftest.$ac_ext
10594 LIBS=$ac_check_soname_save_LIBS
10596 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10598 $as_echo "not found" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10602 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10604 cat >>confdefs.h <<_ACEOF
10605 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10608 CUPSINCL="$ac_cups_cflags"
10614 CPPFLAGS="$ac_save_CPPFLAGS"
10616 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10617 case "x$with_cups" in
10618 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10620 *) as_fn_error "libcups ${notice_platform}development files not found, CUPS won't be supported.
10621 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10625 if test "$ac_cv_header_jack_jack_h" = "yes"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10628 $as_echo_n "checking for -ljack... " >&6; }
10629 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10630 $as_echo_n "(cached) " >&6
10632 ac_check_soname_save_LIBS=$LIBS
10633 LIBS="-ljack $LIBS"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10637 /* Override any GCC internal prototype to avoid an error.
10638 Use char because int might match the return type of a GCC
10639 builtin and then its argument prototype would still apply. */
10643 char jack_client_new ();
10647 return jack_client_new ();
10652 if ac_fn_c_try_link "$LINENO"; then :
10654 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10655 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10656 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 LIBS=$ac_check_soname_save_LIBS
10663 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10665 $as_echo "not found" >&6; }
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10669 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10671 cat >>confdefs.h <<_ACEOF
10672 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10679 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10682 $as_echo_n "checking for -lfontconfig... " >&6; }
10683 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10684 $as_echo_n "(cached) " >&6
10686 ac_check_soname_save_LIBS=$LIBS
10687 LIBS="-lfontconfig $LIBS"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10691 /* Override any GCC internal prototype to avoid an error.
10692 Use char because int might match the return type of a GCC
10693 builtin and then its argument prototype would still apply. */
10706 if ac_fn_c_try_link "$LINENO"; then :
10708 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10709 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'` ;;
10710 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_soname_save_LIBS
10717 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10719 $as_echo "not found" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10723 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10725 cat >>confdefs.h <<_ACEOF
10726 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10731 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10733 ac_save_CPPFLAGS="$CPPFLAGS"
10734 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10735 $as_unset ac_cv_header_fontconfig_fontconfig_h
10736 for ac_header in fontconfig/fontconfig.h
10738 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10739 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
10740 cat >>confdefs.h <<_ACEOF
10741 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10748 CPPFLAGS="$ac_save_CPPFLAGS"
10749 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10751 FONTCONFIGINCL="$X_CFLAGS"
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10754 $as_echo_n "checking for -lfontconfig... " >&6; }
10755 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10756 $as_echo_n "(cached) " >&6
10758 ac_check_soname_save_LIBS=$LIBS
10759 LIBS="-lfontconfig $X_LIBS $LIBS"
10760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 /* end confdefs.h. */
10763 /* Override any GCC internal prototype to avoid an error.
10764 Use char because int might match the return type of a GCC
10765 builtin and then its argument prototype would still apply. */
10778 if ac_fn_c_try_link "$LINENO"; then :
10780 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10781 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'` ;;
10782 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10785 rm -f core conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_soname_save_LIBS
10789 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10791 $as_echo "not found" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10795 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10797 cat >>confdefs.h <<_ACEOF
10798 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10805 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10806 case "x$with_fontconfig" in
10807 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10809 *) as_fn_error "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10810 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10814 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10817 $as_echo_n "checking for -lssl... " >&6; }
10818 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10819 $as_echo_n "(cached) " >&6
10821 ac_check_soname_save_LIBS=$LIBS
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10826 /* Override any GCC internal prototype to avoid an error.
10827 Use char because int might match the return type of a GCC
10828 builtin and then its argument prototype would still apply. */
10832 char SSL_library_init ();
10836 return SSL_library_init ();
10841 if ac_fn_c_try_link "$LINENO"; then :
10843 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10844 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10845 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_soname_save_LIBS
10852 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10854 $as_echo "not found" >&6; }
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
10858 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
10860 cat >>confdefs.h <<_ACEOF
10861 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
10867 $as_echo_n "checking for -lcrypto... " >&6; }
10868 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_soname_save_LIBS=$LIBS
10872 LIBS="-lcrypto $LIBS"
10873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10882 char BIO_new_socket ();
10886 return BIO_new_socket ();
10891 if ac_fn_c_try_link "$LINENO"; then :
10893 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10894 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10895 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_soname_save_LIBS
10902 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10904 $as_echo "not found" >&6; }
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
10908 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
10910 cat >>confdefs.h <<_ACEOF
10911 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
10917 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
10918 case "x$with_openssl" in
10919 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
10921 *) as_fn_error "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
10922 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
10926 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
10929 $as_echo_n "checking for -lgsm... " >&6; }
10930 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_soname_save_LIBS=$LIBS
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10944 char gsm_create ();
10948 return gsm_create ();
10953 if ac_fn_c_try_link "$LINENO"; then :
10955 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10956 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'` ;;
10957 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_soname_save_LIBS
10964 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10966 $as_echo "not found" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
10970 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
10972 cat >>confdefs.h <<_ACEOF
10973 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
10979 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10980 case "x$with_gsm" in
10981 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
10983 *) as_fn_error "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
10984 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
10988 if test "$ac_cv_header_jpeglib_h" = "yes"
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
10991 $as_echo_n "checking for -ljpeg... " >&6; }
10992 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
10993 $as_echo_n "(cached) " >&6
10995 ac_check_soname_save_LIBS=$LIBS
10996 LIBS="-ljpeg $LIBS"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11006 char jpeg_start_decompress ();
11010 return jpeg_start_decompress ();
11015 if ac_fn_c_try_link "$LINENO"; then :
11017 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11018 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'` ;;
11019 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11022 rm -f core conftest.err conftest.$ac_objext \
11023 conftest$ac_exeext conftest.$ac_ext
11024 LIBS=$ac_check_soname_save_LIBS
11026 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11028 $as_echo "not found" >&6; }
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11032 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11034 cat >>confdefs.h <<_ACEOF
11035 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11041 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11042 case "x$with_jpeg" in
11043 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11045 *) as_fn_error "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11046 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11050 if test "$ac_cv_header_png_h" = "yes"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11053 $as_echo_n "checking for -lpng... " >&6; }
11054 if test "${ac_cv_lib_soname_png+set}" = set; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_soname_save_LIBS=$LIBS
11058 LIBS="-lpng -lm -lz $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char png_create_read_struct ();
11072 return png_create_read_struct ();
11077 if ac_fn_c_try_link "$LINENO"; then :
11079 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11080 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'` ;;
11081 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_soname_save_LIBS
11088 if test "x$ac_cv_lib_soname_png" = "x"; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11094 $as_echo "$ac_cv_lib_soname_png" >&6; }
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11103 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11104 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11105 $as_echo_n "(cached) " >&6
11107 ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-lpng -lm -lz $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11118 char png_set_expand_gray_1_2_4_to_8 ();
11122 return png_set_expand_gray_1_2_4_to_8 ();
11127 if ac_fn_c_try_link "$LINENO"; then :
11128 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11130 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11137 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11138 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11140 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11145 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11147 ac_save_CPPFLAGS="$CPPFLAGS"
11148 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11149 $as_unset ac_cv_header_png_h
11150 for ac_header in png.h
11152 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11153 if test "x$ac_cv_header_png_h" = x""yes; then :
11154 cat >>confdefs.h <<_ACEOF
11155 #define HAVE_PNG_H 1
11162 CPPFLAGS="$ac_save_CPPFLAGS"
11163 if test "$ac_cv_header_png_h" = "yes"
11165 PNGINCL="$X_CFLAGS"
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11168 $as_echo_n "checking for -lpng... " >&6; }
11169 if test "${ac_cv_lib_soname_png+set}" = set; then :
11170 $as_echo_n "(cached) " >&6
11172 ac_check_soname_save_LIBS=$LIBS
11173 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11183 char png_create_read_struct ();
11187 return png_create_read_struct ();
11192 if ac_fn_c_try_link "$LINENO"; then :
11194 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11195 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'` ;;
11196 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_soname_save_LIBS
11203 if test "x$ac_cv_lib_soname_png" = "x"; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11205 $as_echo "not found" >&6; }
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11209 $as_echo "$ac_cv_lib_soname_png" >&6; }
11211 cat >>confdefs.h <<_ACEOF
11212 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11218 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11219 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11233 char png_set_expand_gray_1_2_4_to_8 ();
11237 return png_set_expand_gray_1_2_4_to_8 ();
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11245 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11252 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11253 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11254 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11260 if test "x$ac_cv_lib_soname_png" = "x"; then :
11261 case "x$with_png" in
11262 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11264 *) as_fn_error "libpng ${notice_platform}development files not found, PNG won't be supported.
11265 This is an error since --with-png was requested." "$LINENO" 5 ;;
11269 if test "$ac_cv_header_tiffio_h" = "yes"
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11272 $as_echo_n "checking for -ltiff... " >&6; }
11273 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11274 $as_echo_n "(cached) " >&6
11276 ac_check_soname_save_LIBS=$LIBS
11277 LIBS="-ltiff $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11287 char TIFFClientOpen ();
11291 return TIFFClientOpen ();
11296 if ac_fn_c_try_link "$LINENO"; then :
11298 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11299 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'` ;;
11300 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_soname_save_LIBS
11307 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11313 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11315 cat >>confdefs.h <<_ACEOF
11316 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11322 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11323 case "x$with_tiff" in
11324 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11326 *) as_fn_error "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11327 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11331 if test "$ac_cv_header_mpg123_h" = "yes"
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11334 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11335 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11336 $as_echo_n "(cached) " >&6
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-lmpg123 $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11349 char mpg123_feed ();
11353 return mpg123_feed ();
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_mpg123_mpg123_feed=yes
11361 ac_cv_lib_mpg123_mpg123_feed=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11368 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11369 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
11370 LIBMPG123="-lmpg123"
11375 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11376 case "x$with_mpg123" in
11377 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11379 *) as_fn_error "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11380 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11383 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_func_AudioFileStreamOpen" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
11385 if test "$ac_cv_header_AL_al_h" = "yes"
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alGetSource3i in -lopenal" >&5
11388 $as_echo_n "checking for alGetSource3i in -lopenal... " >&6; }
11389 if test "${ac_cv_lib_openal_alGetSource3i+set}" = set; then :
11390 $as_echo_n "(cached) " >&6
11392 ac_check_lib_save_LIBS=$LIBS
11393 LIBS="-lopenal $LIBS"
11394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11395 /* end confdefs.h. */
11397 /* Override any GCC internal prototype to avoid an error.
11398 Use char because int might match the return type of a GCC
11399 builtin and then its argument prototype would still apply. */
11403 char alGetSource3i ();
11407 return alGetSource3i ();
11412 if ac_fn_c_try_link "$LINENO"; then :
11413 ac_cv_lib_openal_alGetSource3i=yes
11415 ac_cv_lib_openal_alGetSource3i=no
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_lib_save_LIBS
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openal_alGetSource3i" >&5
11422 $as_echo "$ac_cv_lib_openal_alGetSource3i" >&6; }
11423 if test "x$ac_cv_lib_openal_alGetSource3i" = x""yes; then :
11424 LIBOPENAL="-lopenal"
11429 if test "x$ac_cv_lib_openal_alGetSource3i" != xyes; then :
11430 case "x$with_openal" in
11431 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11433 *) as_fn_error "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11434 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11437 test "x$ac_cv_lib_openal_alGetSource3i" = xyes || enable_openal32=${enable_openal32:-no}
11439 if test "$ac_cv_header_kstat_h" = "yes"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11442 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11443 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_lib_save_LIBS=$LIBS
11447 LIBS="-lkstat $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11457 char kstat_open ();
11461 return kstat_open ();
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_kstat_kstat_open=yes
11469 ac_cv_lib_kstat_kstat_open=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11476 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11477 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
11479 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11488 $as_echo_n "checking for -lodbc... " >&6; }
11489 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_soname_save_LIBS=$LIBS
11493 LIBS="-lodbc $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11503 char SQLConnect ();
11507 return SQLConnect ();
11512 if ac_fn_c_try_link "$LINENO"; then :
11514 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11515 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'` ;;
11516 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11519 rm -f core conftest.err conftest.$ac_objext \
11520 conftest$ac_exeext conftest.$ac_ext
11521 LIBS=$ac_check_soname_save_LIBS
11523 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11525 $as_echo "not found" >&6; }
11526 cat >>confdefs.h <<_ACEOF
11527 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11532 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11534 cat >>confdefs.h <<_ACEOF
11535 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11541 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
11542 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11543 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11544 "$ac_cv_header_soundcard_h" != "yes" -a \
11545 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11547 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11553 if test "x${GCC}" = "xyes"
11555 EXTRACFLAGS="-Wall -pipe"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11558 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11559 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11560 $as_echo_n "(cached) " >&6
11562 if test "$cross_compiling" = yes; then :
11563 ac_cv_c_gcc_strength_bug="yes"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 int L[4] = {0,1,2,3};
11571 static int Array[3];
11572 unsigned int B = 3;
11574 for(i=0; i<B; i++) Array[i] = i - 3;
11575 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11577 return (Array[1] != -2 || L[2] != 3)
11582 if ac_fn_c_try_run "$LINENO"; then :
11583 ac_cv_c_gcc_strength_bug="no"
11585 ac_cv_c_gcc_strength_bug="yes"
11587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11588 conftest.$ac_objext conftest.beam conftest.$ac_ext
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11593 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11594 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11596 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11600 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11601 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11604 ac_wine_try_cflags_saved=$CFLAGS
11605 CFLAGS="$CFLAGS -fno-builtin"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11608 int main(int argc, char **argv) { return 0; }
11610 if ac_fn_c_try_link "$LINENO"; then :
11611 ac_cv_cflags__fno_builtin=yes
11613 ac_cv_cflags__fno_builtin=no
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 CFLAGS=$ac_wine_try_cflags_saved
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11620 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11621 if test $ac_cv_cflags__fno_builtin = yes; then :
11622 BUILTINFLAG="-fno-builtin"
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11626 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11627 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11628 $as_echo_n "(cached) " >&6
11630 ac_wine_try_cflags_saved=$CFLAGS
11631 CFLAGS="$CFLAGS -fno-strict-aliasing"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 int main(int argc, char **argv) { return 0; }
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_cflags__fno_strict_aliasing=yes
11639 ac_cv_cflags__fno_strict_aliasing=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 CFLAGS=$ac_wine_try_cflags_saved
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11646 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11647 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11648 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11651 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11652 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11653 $as_echo_n "(cached) " >&6
11655 ac_wine_try_cflags_saved=$CFLAGS
11656 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h. */
11659 int main(int argc, char **argv) { return 0; }
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_cflags__Wdeclaration_after_statement=yes
11664 ac_cv_cflags__Wdeclaration_after_statement=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 CFLAGS=$ac_wine_try_cflags_saved
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11671 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11672 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11673 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11676 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11677 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11678 $as_echo_n "(cached) " >&6
11680 ac_wine_try_cflags_saved=$CFLAGS
11681 CFLAGS="$CFLAGS -Wstrict-prototypes"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11684 int main(int argc, char **argv) { return 0; }
11686 if ac_fn_c_try_link "$LINENO"; then :
11687 ac_cv_cflags__Wstrict_prototypes=yes
11689 ac_cv_cflags__Wstrict_prototypes=no
11691 rm -f core conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 CFLAGS=$ac_wine_try_cflags_saved
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11696 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11697 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11698 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11701 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11702 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11703 $as_echo_n "(cached) " >&6
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 CFLAGS="$CFLAGS -Wtype-limits"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11709 int main(int argc, char **argv) { return 0; }
11711 if ac_fn_c_try_link "$LINENO"; then :
11712 ac_cv_cflags__Wtype_limits=yes
11714 ac_cv_cflags__Wtype_limits=no
11716 rm -f core conftest.err conftest.$ac_objext \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11721 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11722 if test $ac_cv_cflags__Wtype_limits = yes; then :
11723 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11726 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11727 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11728 $as_echo_n "(cached) " >&6
11730 ac_wine_try_cflags_saved=$CFLAGS
11731 CFLAGS="$CFLAGS -Wwrite-strings"
11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11734 int main(int argc, char **argv) { return 0; }
11736 if ac_fn_c_try_link "$LINENO"; then :
11737 ac_cv_cflags__Wwrite_strings=yes
11739 ac_cv_cflags__Wwrite_strings=no
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 CFLAGS=$ac_wine_try_cflags_saved
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11746 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11747 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11748 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
11751 saved_CFLAGS="$CFLAGS"
11752 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11754 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11755 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11756 $as_echo_n "(cached) " >&6
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11760 #include <string.h>
11769 if ac_fn_c_try_compile "$LINENO"; then :
11770 ac_cv_c_string_h_warnings=no
11772 ac_cv_c_string_h_warnings=yes
11774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11777 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11778 CFLAGS="$saved_CFLAGS"
11779 if test "$ac_cv_c_string_h_warnings" = "no"
11781 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11784 if test "${enable_maintainer_mode+set}" = set
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11787 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11788 if test "${ac_cv_cflags__Werror+set}" = set; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_wine_try_cflags_saved=$CFLAGS
11792 CFLAGS="$CFLAGS -Werror"
11793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11795 int main(int argc, char **argv) { return 0; }
11797 if ac_fn_c_try_link "$LINENO"; then :
11798 ac_cv_cflags__Werror=yes
11800 ac_cv_cflags__Werror=no
11802 rm -f core conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 CFLAGS=$ac_wine_try_cflags_saved
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11807 $as_echo "$ac_cv_cflags__Werror" >&6; }
11808 if test $ac_cv_cflags__Werror = yes; then :
11809 EXTRACFLAGS="$EXTRACFLAGS -Werror"
11813 saved_CFLAGS="$CFLAGS"
11814 CFLAGS="$CFLAGS -Werror"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
11816 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
11817 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
11818 $as_echo_n "(cached) " >&6
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11822 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
11831 if ac_fn_c_try_compile "$LINENO"; then :
11832 ac_cv_have_ms_hook_prologue="yes"
11834 ac_cv_have_ms_hook_prologue="no"
11836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
11839 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
11840 CFLAGS="$saved_CFLAGS"
11841 if test "$ac_cv_have_ms_hook_prologue" = "yes"
11844 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
11847 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
11854 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
11855 if test "${ac_cv_c_extern_prefix+set}" = set; then :
11856 $as_echo_n "(cached) " >&6
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11860 extern int ac_test;
11864 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
11869 if ac_fn_c_try_link "$LINENO"; then :
11870 ac_cv_c_extern_prefix="yes"
11872 ac_cv_c_extern_prefix="no"
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
11878 $as_echo "$ac_cv_c_extern_prefix" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
11883 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
11884 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
11885 $as_echo_n "(cached) " >&6
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 #define __stdcall __attribute__((__stdcall__))
11892 int __stdcall ac_test(int i) { return i; }
11896 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
11901 if ac_fn_c_try_link "$LINENO"; then :
11902 ac_cv_c_stdcall_suffix="yes"
11904 ac_cv_c_stdcall_suffix="no"
11906 rm -f core conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
11910 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
11911 *) ac_cv_c_stdcall_suffix="no" ;;
11915 if test "$ac_cv_c_extern_prefix" = "yes"
11917 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
11919 asm_name_prefix="_"
11921 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
11927 if test "$ac_cv_c_stdcall_suffix" = "yes"
11929 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
11932 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
11938 $as_echo_n "checking how to define a function in assembly code... " >&6; }
11939 if test "${ac_cv_asm_func_def+set}" = set; then :
11940 $as_echo_n "(cached) " >&6
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11948 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
11953 if ac_fn_c_try_link "$LINENO"; then :
11954 ac_cv_asm_func_def=".def"
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11962 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 ac_cv_asm_func_def=".type @function"
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11976 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_asm_func_def=".type 2"
11984 ac_cv_asm_func_def="unknown"
11986 rm -f core conftest.err conftest.$ac_objext \
11987 conftest$ac_exeext conftest.$ac_ext
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
11996 $as_echo "$ac_cv_asm_func_def" >&6; }
11999 case "$ac_cv_asm_func_def" in
12001 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12003 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12005 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12007 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12009 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12011 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12013 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12015 asm_func_header="" ;;
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12019 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12020 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12021 $as_echo_n "(cached) " >&6
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12025 asm(".text\n\t.long 0");
12034 if ac_fn_c_try_compile "$LINENO"; then :
12035 ac_cv_c_asm_outside_funcs="yes"
12037 ac_cv_c_asm_outside_funcs="no"
12039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12042 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12045 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12046 if test "${ac_cv_c_dot_previous+set}" = set; then :
12047 $as_echo_n "(cached) " >&6
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12055 asm(".text\nac_test:\t.long 0\n\t.previous");
12060 if ac_fn_c_try_link "$LINENO"; then :
12061 ac_cv_c_dot_previous="yes"
12063 ac_cv_c_dot_previous="no"
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12069 $as_echo "$ac_cv_c_dot_previous" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12072 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12073 if test "${ac_cv_c_cfi_support+set}" = set; then :
12074 $as_echo_n "(cached) " >&6
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12078 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12087 if ac_fn_c_try_compile "$LINENO"; then :
12088 ac_cv_c_cfi_support="yes"
12090 ac_cv_c_cfi_support="no"
12092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12095 $as_echo "$ac_cv_c_cfi_support" >&6; }
12097 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12098 asm_func_trailer=""
12099 if test "$ac_cv_c_dot_previous" = "yes"
12101 asm_func_trailer="\\n\\t.previous"
12103 if test "$ac_cv_c_cfi_support" = "yes"
12105 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12106 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12108 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12111 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12115 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12118 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12120 cat >>confdefs.h <<_ACEOF
12121 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12125 cat >>confdefs.h <<_ACEOF
12126 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12131 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12134 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12144 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12149 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12157 SOCKETLIBS="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12164 test -z "$with_wine64" || MAIN_BINARY="wine32"
12170 EXTRA_BINARIES="wine-preloader"
12177 ac_save_CFLAGS="$CFLAGS"
12178 CFLAGS="$CFLAGS $BUILTINFLAG"
12225 sched_setaffinity \
12254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12256 eval as_val=\$$as_ac_var
12257 if test "x$as_val" = x""yes; then :
12258 cat >>confdefs.h <<_ACEOF
12259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12265 CFLAGS="$ac_save_CFLAGS"
12267 if test "$ac_cv_func_dlopen" = no
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12270 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12271 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_check_lib_save_LIBS=$LIBS
12276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12294 if ac_fn_c_try_link "$LINENO"; then :
12295 ac_cv_lib_dl_dlopen=yes
12297 ac_cv_lib_dl_dlopen=no
12299 rm -f core conftest.err conftest.$ac_objext \
12300 conftest$ac_exeext conftest.$ac_ext
12301 LIBS=$ac_check_lib_save_LIBS
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12304 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12305 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12306 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12312 ac_wine_check_funcs_save_LIBS="$LIBS"
12313 LIBS="$LIBS $LIBDL"
12314 for ac_func in dladdr
12316 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12317 if test "x$ac_cv_func_dladdr" = x""yes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define HAVE_DLADDR 1
12325 LIBS="$ac_wine_check_funcs_save_LIBS"
12327 if test "$ac_cv_func_poll" = no
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12330 $as_echo_n "checking for poll in -lpoll... " >&6; }
12331 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12332 $as_echo_n "(cached) " >&6
12334 ac_check_lib_save_LIBS=$LIBS
12335 LIBS="-lpoll $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 ac_cv_lib_poll_poll=yes
12357 ac_cv_lib_poll_poll=no
12359 rm -f core conftest.err conftest.$ac_objext \
12360 conftest$ac_exeext conftest.$ac_ext
12361 LIBS=$ac_check_lib_save_LIBS
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12364 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12365 if test "x$ac_cv_lib_poll_poll" = x""yes; then :
12366 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12374 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12375 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12376 $as_echo_n "(cached) " >&6
12378 ac_func_search_save_LIBS=$LIBS
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12382 /* Override any GCC internal prototype to avoid an error.
12383 Use char because int might match the return type of a GCC
12384 builtin and then its argument prototype would still apply. */
12388 char gethostbyname ();
12392 return gethostbyname ();
12397 for ac_lib in '' nsl; do
12398 if test -z "$ac_lib"; then
12399 ac_res="none required"
12402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12404 if ac_fn_c_try_link "$LINENO"; then :
12405 ac_cv_search_gethostbyname=$ac_res
12407 rm -f core conftest.err conftest.$ac_objext \
12409 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12413 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12416 ac_cv_search_gethostbyname=no
12418 rm conftest.$ac_ext
12419 LIBS=$ac_func_search_save_LIBS
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12422 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12423 ac_res=$ac_cv_search_gethostbyname
12424 if test "$ac_res" != no; then :
12425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12431 $as_echo_n "checking for library containing connect... " >&6; }
12432 if test "${ac_cv_search_connect+set}" = set; then :
12433 $as_echo_n "(cached) " >&6
12435 ac_func_search_save_LIBS=$LIBS
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12454 for ac_lib in '' socket; do
12455 if test -z "$ac_lib"; then
12456 ac_res="none required"
12459 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12461 if ac_fn_c_try_link "$LINENO"; then :
12462 ac_cv_search_connect=$ac_res
12464 rm -f core conftest.err conftest.$ac_objext \
12466 if test "${ac_cv_search_connect+set}" = set; then :
12470 if test "${ac_cv_search_connect+set}" = set; then :
12473 ac_cv_search_connect=no
12475 rm conftest.$ac_ext
12476 LIBS=$ac_func_search_save_LIBS
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12479 $as_echo "$ac_cv_search_connect" >&6; }
12480 ac_res=$ac_cv_search_connect
12481 if test "$ac_res" != no; then :
12482 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12488 $as_echo_n "checking for library containing inet_aton... " >&6; }
12489 if test "${ac_cv_search_inet_aton+set}" = set; then :
12490 $as_echo_n "(cached) " >&6
12492 ac_func_search_save_LIBS=$LIBS
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12506 return inet_aton ();
12511 for ac_lib in '' resolv; do
12512 if test -z "$ac_lib"; then
12513 ac_res="none required"
12516 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12518 if ac_fn_c_try_link "$LINENO"; then :
12519 ac_cv_search_inet_aton=$ac_res
12521 rm -f core conftest.err conftest.$ac_objext \
12523 if test "${ac_cv_search_inet_aton+set}" = set; then :
12527 if test "${ac_cv_search_inet_aton+set}" = set; then :
12530 ac_cv_search_inet_aton=no
12532 rm conftest.$ac_ext
12533 LIBS=$ac_func_search_save_LIBS
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12536 $as_echo "$ac_cv_search_inet_aton" >&6; }
12537 ac_res=$ac_cv_search_inet_aton
12538 if test "$ac_res" != no; then :
12539 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12558 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12559 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12560 eval as_val=\$$as_ac_var
12561 if test "x$as_val" = x""yes; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12572 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12574 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12576 if test "x$ac_cv_type_LDAPSortKey" = x""yes; then :
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12578 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12579 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12580 $as_echo_n "(cached) " >&6
12582 ac_check_lib_save_LIBS=$LIBS
12583 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12593 char ldap_initialize ();
12597 return ldap_initialize ();
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 ac_cv_lib_ldap_r_ldap_initialize=yes
12605 ac_cv_lib_ldap_r_ldap_initialize=no
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_lib_save_LIBS
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12612 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12613 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then :
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12615 $as_echo_n "checking for ber_init in -llber... " >&6; }
12616 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_check_lib_save_LIBS=$LIBS
12620 LIBS="-llber $LIBPTHREAD $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12634 return ber_init ();
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 ac_cv_lib_lber_ber_init=yes
12642 ac_cv_lib_lber_ber_init=no
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_lib_save_LIBS
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12649 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12650 if test "x$ac_cv_lib_lber_ber_init" = x""yes; then :
12652 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12654 LDAPLIBS="-lldap_r -llber"
12661 ac_wine_check_funcs_save_LIBS="$LIBS"
12662 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12664 ldap_count_references \
12665 ldap_first_reference \
12666 ldap_next_reference \
12667 ldap_parse_reference \
12668 ldap_parse_sort_control \
12669 ldap_parse_sortresponse_control \
12670 ldap_parse_vlv_control \
12671 ldap_parse_vlvresponse_control
12673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12675 eval as_val=\$$as_ac_var
12676 if test "x$as_val" = x""yes; then :
12677 cat >>confdefs.h <<_ACEOF
12678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12684 LIBS="$ac_wine_check_funcs_save_LIBS"
12686 if test "x$LDAPLIBS" = "x"; then :
12687 case "x$with_ldap" in
12688 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12690 *) as_fn_error "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12691 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12696 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12697 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12698 $as_echo_n "(cached) " >&6
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12702 #include <sys/stat.h>
12711 if ac_fn_c_try_compile "$LINENO"; then :
12712 wine_cv_one_arg_mkdir=yes
12714 wine_cv_one_arg_mkdir=no
12716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12719 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12720 if test "$wine_cv_one_arg_mkdir" = "yes"
12723 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12729 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12730 if test "${ac_cv_c_const+set}" = set; then :
12731 $as_echo_n "(cached) " >&6
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12739 /* FIXME: Include the comments suggested by Paul. */
12740 #ifndef __cplusplus
12741 /* Ultrix mips cc rejects this. */
12742 typedef int charset[2];
12744 /* SunOS 4.1.1 cc rejects this. */
12745 char const *const *pcpcc;
12747 /* NEC SVR4.0.2 mips cc rejects this. */
12748 struct point {int x, y;};
12749 static struct point const zero = {0,0};
12750 /* AIX XL C 1.02.0.0 rejects this.
12751 It does not let you subtract one const X* pointer from another in
12752 an arm of an if-expression whose if-part is not a constant
12754 const char *g = "string";
12755 pcpcc = &g + (g ? g-g : 0);
12756 /* HPUX 7.0 cc rejects these. */
12758 ppc = (char**) pcpcc;
12759 pcpcc = (char const *const *) ppc;
12760 { /* SCO 3.2v4 cc rejects this. */
12762 char const *s = 0 ? (char *) 0 : (char const *) 0;
12767 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12768 int x[] = {25, 17};
12769 const int *foo = &x[0];
12772 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12773 typedef const int *iptr;
12777 { /* AIX XL C 1.02.0.0 rejects this saying
12778 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12779 struct s { int j; const int *ap[3]; };
12780 struct s *b; b->j = 5;
12782 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12783 const int foo = 10;
12784 if (!foo) return 0;
12786 return !cs[0] && !zero.x;
12793 if ac_fn_c_try_compile "$LINENO"; then :
12798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12801 $as_echo "$ac_cv_c_const" >&6; }
12802 if test $ac_cv_c_const = no; then
12804 $as_echo "#define const /**/" >>confdefs.h
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12809 $as_echo_n "checking for inline... " >&6; }
12810 if test "${ac_cv_c_inline+set}" = set; then :
12811 $as_echo_n "(cached) " >&6
12814 for ac_kw in inline __inline__ __inline; do
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12817 #ifndef __cplusplus
12819 static $ac_kw foo_t static_foo () {return 0; }
12820 $ac_kw foo_t foo () {return 0; }
12824 if ac_fn_c_try_compile "$LINENO"; then :
12825 ac_cv_c_inline=$ac_kw
12827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12828 test "$ac_cv_c_inline" != no && break
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12833 $as_echo "$ac_cv_c_inline" >&6; }
12835 case $ac_cv_c_inline in
12838 case $ac_cv_c_inline in
12840 *) ac_val=$ac_cv_c_inline;;
12842 cat >>confdefs.h <<_ACEOF
12843 #ifndef __cplusplus
12844 #define inline $ac_val
12850 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12851 if test "x$ac_cv_type_mode_t" = x""yes; then :
12853 cat >>confdefs.h <<_ACEOF
12854 #define HAVE_MODE_T 1
12859 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12860 if test "x$ac_cv_type_off_t" = x""yes; then :
12862 cat >>confdefs.h <<_ACEOF
12863 #define HAVE_OFF_T 1
12868 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12869 if test "x$ac_cv_type_pid_t" = x""yes; then :
12871 cat >>confdefs.h <<_ACEOF
12872 #define HAVE_PID_T 1
12877 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12878 if test "x$ac_cv_type_size_t" = x""yes; then :
12880 cat >>confdefs.h <<_ACEOF
12881 #define HAVE_SIZE_T 1
12886 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12887 if test "x$ac_cv_type_ssize_t" = x""yes; then :
12889 cat >>confdefs.h <<_ACEOF
12890 #define HAVE_SSIZE_T 1
12895 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
12896 if test "x$ac_cv_type_long_long" = x""yes; then :
12898 cat >>confdefs.h <<_ACEOF
12899 #define HAVE_LONG_LONG 1
12904 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
12905 if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then :
12907 cat >>confdefs.h <<_ACEOF
12908 #define HAVE_FSBLKCNT_T 1
12913 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
12914 if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then :
12916 cat >>confdefs.h <<_ACEOF
12917 #define HAVE_FSFILCNT_T 1
12923 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
12924 #include <signal.h>
12926 if test "x$ac_cv_type_sigset_t" = x""yes; then :
12928 cat >>confdefs.h <<_ACEOF
12929 #define HAVE_SIGSET_T 1
12935 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
12937 if test "x$ac_cv_type_request_sense" = x""yes; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define HAVE_REQUEST_SENSE 1
12947 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
12948 #ifdef HAVE_SYS_SOCKET_H
12949 #include <sys/socket.h>
12951 #ifdef HAVE_SYS_SOCKETVAR_H
12952 #include <sys/socketvar.h>
12954 #ifdef HAVE_NET_ROUTE_H
12955 #include <net/route.h>
12957 #ifdef HAVE_NETINET_IN_H
12958 #include <netinet/in.h>
12960 #ifdef HAVE_NETINET_IN_SYSTM_H
12961 #include <netinet/in_systm.h>
12963 #ifdef HAVE_NETINET_IP_H
12964 #include <netinet/ip.h>
12966 #ifdef HAVE_NETINET_IN_PCB_H
12967 #include <netinet/in_pcb.h>
12970 if test "x$ac_cv_type_struct_xinpgen" = x""yes; then :
12972 cat >>confdefs.h <<_ACEOF
12973 #define HAVE_STRUCT_XINPGEN 1
12980 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
12981 #include <linux/input.h>
12984 if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
12995 $as_echo_n "checking for sigaddset... " >&6; }
12996 if test "${wine_cv_have_sigaddset+set}" = set; then :
12997 $as_echo_n "(cached) " >&6
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13001 #include <signal.h>
13005 sigset_t set; sigaddset(&set,SIGTERM);
13010 if ac_fn_c_try_link "$LINENO"; then :
13011 wine_cv_have_sigaddset=yes
13013 wine_cv_have_sigaddset=no
13015 rm -f core conftest.err conftest.$ac_objext \
13016 conftest$ac_exeext conftest.$ac_ext
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13019 $as_echo "$wine_cv_have_sigaddset" >&6; }
13020 if test "$wine_cv_have_sigaddset" = "yes"
13023 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13029 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13030 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13031 $as_echo_n "(cached) " >&6
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13042 struct hostent *result;
13049 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13050 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 wine_cv_linux_gethostbyname_r_6=yes
13059 wine_cv_linux_gethostbyname_r_6=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13067 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13068 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13071 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13075 if test "$ac_cv_header_linux_joystick_h" = "yes"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13078 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13079 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13080 $as_echo_n "(cached) " >&6
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 #include <sys/ioctl.h>
13086 #include <sys/types.h>
13087 #include <linux/joystick.h>
13089 struct js_event blub;
13090 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13091 #error "no 2.2 header"
13102 if ac_fn_c_try_compile "$LINENO"; then :
13103 wine_cv_linux_joystick_22_api=yes
13105 wine_cv_linux_joystick_22_api=no
13107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13111 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13112 if test "$wine_cv_linux_joystick_22_api" = "yes"
13115 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13121 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13122 #ifdef HAVE_SYS_PARAM_H
13123 # include <sys/param.h>
13125 #ifdef HAVE_SYS_MOUNT_H
13126 # include <sys/mount.h>
13128 #ifdef HAVE_SYS_VFS_H
13129 # include <sys/vfs.h>
13131 #ifdef HAVE_SYS_STATFS_H
13132 # include <sys/statfs.h>
13135 if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then :
13137 cat >>confdefs.h <<_ACEOF
13138 #define HAVE_STRUCT_STATFS_F_BFREE 1
13143 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13144 #ifdef HAVE_SYS_PARAM_H
13145 # include <sys/param.h>
13147 #ifdef HAVE_SYS_MOUNT_H
13148 # include <sys/mount.h>
13150 #ifdef HAVE_SYS_VFS_H
13151 # include <sys/vfs.h>
13153 #ifdef HAVE_SYS_STATFS_H
13154 # include <sys/statfs.h>
13157 if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then :
13159 cat >>confdefs.h <<_ACEOF
13160 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13165 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13166 #ifdef HAVE_SYS_PARAM_H
13167 # include <sys/param.h>
13169 #ifdef HAVE_SYS_MOUNT_H
13170 # include <sys/mount.h>
13172 #ifdef HAVE_SYS_VFS_H
13173 # include <sys/vfs.h>
13175 #ifdef HAVE_SYS_STATFS_H
13176 # include <sys/statfs.h>
13179 if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then :
13181 cat >>confdefs.h <<_ACEOF
13182 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13187 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13188 #ifdef HAVE_SYS_PARAM_H
13189 # include <sys/param.h>
13191 #ifdef HAVE_SYS_MOUNT_H
13192 # include <sys/mount.h>
13194 #ifdef HAVE_SYS_VFS_H
13195 # include <sys/vfs.h>
13197 #ifdef HAVE_SYS_STATFS_H
13198 # include <sys/statfs.h>
13201 if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then :
13203 cat >>confdefs.h <<_ACEOF
13204 #define HAVE_STRUCT_STATFS_F_FFREE 1
13209 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13210 #ifdef HAVE_SYS_PARAM_H
13211 # include <sys/param.h>
13213 #ifdef HAVE_SYS_MOUNT_H
13214 # include <sys/mount.h>
13216 #ifdef HAVE_SYS_VFS_H
13217 # include <sys/vfs.h>
13219 #ifdef HAVE_SYS_STATFS_H
13220 # include <sys/statfs.h>
13223 if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then :
13225 cat >>confdefs.h <<_ACEOF
13226 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13231 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13232 #ifdef HAVE_SYS_PARAM_H
13233 # include <sys/param.h>
13235 #ifdef HAVE_SYS_MOUNT_H
13236 # include <sys/mount.h>
13238 #ifdef HAVE_SYS_VFS_H
13239 # include <sys/vfs.h>
13241 #ifdef HAVE_SYS_STATFS_H
13242 # include <sys/statfs.h>
13245 if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then :
13247 cat >>confdefs.h <<_ACEOF
13248 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13255 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13256 #include <sys/statvfs.h>
13259 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then :
13261 cat >>confdefs.h <<_ACEOF
13262 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13269 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13270 #ifdef HAVE_SYS_SOCKET_H
13271 # include <sys/socket.h>
13273 #ifdef HAVE_SYS_UN_H
13274 # include <sys/un.h>
13277 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
13279 cat >>confdefs.h <<_ACEOF
13280 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13285 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13286 #ifdef HAVE_SYS_SOCKET_H
13287 # include <sys/socket.h>
13289 #ifdef HAVE_SYS_UN_H
13290 # include <sys/un.h>
13293 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13301 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13302 #ifdef HAVE_SYS_SOCKET_H
13303 # include <sys/socket.h>
13305 #ifdef HAVE_SYS_UN_H
13306 # include <sys/un.h>
13309 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then :
13311 cat >>confdefs.h <<_ACEOF
13312 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13319 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13320 #ifdef HAVE_SCSI_SG_H
13321 #include <scsi/sg.h>
13324 if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then :
13326 cat >>confdefs.h <<_ACEOF
13327 #define HAVE_SCSIREQ_T_CMD 1
13332 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>
13333 #ifdef HAVE_SCSI_SG_H
13334 #include <scsi/sg.h>
13337 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then :
13339 cat >>confdefs.h <<_ACEOF
13340 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13347 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13349 if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then :
13351 cat >>confdefs.h <<_ACEOF
13352 #define HAVE_SIGINFO_T_SI_FD 1
13359 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13360 #ifdef HAVE_SYS_MTIO_H
13361 #include <sys/mtio.h>
13364 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then :
13366 cat >>confdefs.h <<_ACEOF
13367 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13372 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13373 #ifdef HAVE_SYS_MTIO_H
13374 #include <sys/mtio.h>
13377 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then :
13379 cat >>confdefs.h <<_ACEOF
13380 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13385 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13386 #ifdef HAVE_SYS_MTIO_H
13387 #include <sys/mtio.h>
13390 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then :
13392 cat >>confdefs.h <<_ACEOF
13393 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13400 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13401 #include <getopt.h>
13404 if test "x$ac_cv_member_struct_option_name" = x""yes; then :
13406 cat >>confdefs.h <<_ACEOF
13407 #define HAVE_STRUCT_OPTION_NAME 1
13414 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13415 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13423 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13424 if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
13426 cat >>confdefs.h <<_ACEOF
13427 #define HAVE_STRUCT_STAT_ST_MTIM 1
13432 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13433 if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then :
13435 cat >>confdefs.h <<_ACEOF
13436 #define HAVE_STRUCT_STAT_ST_CTIM 1
13441 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13442 if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then :
13444 cat >>confdefs.h <<_ACEOF
13445 #define HAVE_STRUCT_STAT_ST_ATIM 1
13452 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
13453 #include <sys/types.h>
13455 #ifdef HAVE_NETINET_IN_H
13456 #include <netinet/in.h>
13459 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then :
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13469 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13470 #include <sys/types.h>
13472 #ifdef HAVE_NETINET_IN_H
13473 # include <netinet/in.h>
13475 #ifdef HAVE_ARPA_NAMESER_H
13476 # include <arpa/nameser.h>
13479 if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then :
13481 cat >>confdefs.h <<_ACEOF
13482 #define HAVE_NS_MSG__MSG_PTR 1
13489 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13490 #include <sys/types.h>
13492 #ifdef HAVE_ALIAS_H
13495 #ifdef HAVE_SYS_SOCKET_H
13496 #include <sys/socket.h>
13498 #ifdef HAVE_SYS_SOCKETVAR_H
13499 #include <sys/socketvar.h>
13501 #ifdef HAVE_SYS_TIMEOUT_H
13502 #include <sys/timeout.h>
13504 #ifdef HAVE_NETINET_IN_H
13505 #include <netinet/in.h>
13507 #ifdef HAVE_NETINET_IN_SYSTM_H
13508 #include <netinet/in_systm.h>
13510 #ifdef HAVE_NETINET_IP_H
13511 #include <netinet/ip.h>
13513 #ifdef HAVE_NETINET_IP_VAR_H
13514 #include <netinet/ip_var.h>
13516 #ifdef HAVE_NETINET_IP_ICMP_H
13517 #include <netinet/ip_icmp.h>
13519 #ifdef HAVE_NETINET_ICMP_VAR
13520 #include <netinet/icmp_var.h>
13523 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x""yes; then :
13525 cat >>confdefs.h <<_ACEOF
13526 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13533 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13534 #include <sys/types.h>
13536 #ifdef HAVE_NET_IF_H
13537 # include <net/if.h>
13540 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13551 $as_echo_n "checking for timezone variable... " >&6; }
13552 if test "${ac_cv_have_timezone+set}" = set; then :
13553 $as_echo_n "(cached) " >&6
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13556 /* end confdefs.h. */
13566 if ac_fn_c_try_link "$LINENO"; then :
13567 ac_cv_have_timezone="yes"
13569 ac_cv_have_timezone="no"
13571 rm -f core conftest.err conftest.$ac_objext \
13572 conftest$ac_exeext conftest.$ac_ext
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13575 $as_echo "$ac_cv_have_timezone" >&6; }
13576 if test "$ac_cv_have_timezone" = "yes"
13579 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13583 $as_echo_n "checking for daylight variable... " >&6; }
13584 if test "${ac_cv_have_daylight+set}" = set; then :
13585 $as_echo_n "(cached) " >&6
13587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13588 /* end confdefs.h. */
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_have_daylight="yes"
13601 ac_cv_have_daylight="no"
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13607 $as_echo "$ac_cv_have_daylight" >&6; }
13608 if test "$ac_cv_have_daylight" = "yes"
13611 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13616 $as_echo_n "checking for isinf... " >&6; }
13617 if test "${ac_cv_have_isinf+set}" = set; then :
13618 $as_echo_n "(cached) " >&6
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13626 float f = 0.0; int i=isinf(f)
13631 if ac_fn_c_try_link "$LINENO"; then :
13632 ac_cv_have_isinf="yes"
13634 ac_cv_have_isinf="no"
13636 rm -f core conftest.err conftest.$ac_objext \
13637 conftest$ac_exeext conftest.$ac_ext
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13640 $as_echo "$ac_cv_have_isinf" >&6; }
13641 if test "$ac_cv_have_isinf" = "yes"
13644 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13649 $as_echo_n "checking for isnan... " >&6; }
13650 if test "${ac_cv_have_isnan+set}" = set; then :
13651 $as_echo_n "(cached) " >&6
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13659 float f = 0.0; int i=isnan(f)
13664 if ac_fn_c_try_link "$LINENO"; then :
13665 ac_cv_have_isnan="yes"
13667 ac_cv_have_isnan="no"
13669 rm -f core conftest.err conftest.$ac_objext \
13670 conftest$ac_exeext conftest.$ac_ext
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13673 $as_echo "$ac_cv_have_isnan" >&6; }
13674 if test "$ac_cv_have_isnan" = "yes"
13677 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13683 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13684 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13685 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13686 $as_echo_n "(cached) " >&6
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13695 $EGREP "yes" >/dev/null 2>&1; then :
13696 ac_cv_cpp_def___i386__=yes
13698 ac_cv_cpp_def___i386__=no
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13704 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13705 if test $ac_cv_cpp_def___i386__ = yes; then :
13706 CFLAGS="$CFLAGS -D__i386__"
13707 LINTFLAGS="$LINTFLAGS -D__i386__"
13709 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13710 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13711 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13712 $as_echo_n "(cached) " >&6
13714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 /* end confdefs.h. */
13720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13721 $EGREP "yes" >/dev/null 2>&1; then :
13722 ac_cv_cpp_def___x86_64__=yes
13724 ac_cv_cpp_def___x86_64__=no
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13730 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13731 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13732 CFLAGS="$CFLAGS -D__x86_64__"
13733 LINTFLAGS="$LINTFLAGS -D__x86_64__"
13735 *alpha*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13736 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13737 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13738 $as_echo_n "(cached) " >&6
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13747 $EGREP "yes" >/dev/null 2>&1; then :
13748 ac_cv_cpp_def___ALPHA__=yes
13750 ac_cv_cpp_def___ALPHA__=no
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13756 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13757 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13758 CFLAGS="$CFLAGS -D__ALPHA__"
13759 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
13761 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13762 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13763 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13764 $as_echo_n "(cached) " >&6
13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13773 $EGREP "yes" >/dev/null 2>&1; then :
13774 ac_cv_cpp_def___sparc__=yes
13776 ac_cv_cpp_def___sparc__=no
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13782 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13783 if test $ac_cv_cpp_def___sparc__ = yes; then :
13784 CFLAGS="$CFLAGS -D__sparc__"
13785 LINTFLAGS="$LINTFLAGS -D__sparc__"
13787 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13788 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13789 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13790 $as_echo_n "(cached) " >&6
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 #ifndef __powerpc__
13798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13799 $EGREP "yes" >/dev/null 2>&1; then :
13800 ac_cv_cpp_def___powerpc__=yes
13802 ac_cv_cpp_def___powerpc__=no
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
13808 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
13809 if test $ac_cv_cpp_def___powerpc__ = yes; then :
13810 CFLAGS="$CFLAGS -D__powerpc__"
13811 LINTFLAGS="$LINTFLAGS -D__powerpc__"
13815 case $host_vendor in
13816 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
13817 $as_echo_n "checking whether we need to define __sun__... " >&6; }
13818 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13828 $EGREP "yes" >/dev/null 2>&1; then :
13829 ac_cv_cpp_def___sun__=yes
13831 ac_cv_cpp_def___sun__=no
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
13837 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
13838 if test $ac_cv_cpp_def___sun__ = yes; then :
13839 CFLAGS="$CFLAGS -D__sun__"
13840 LINTFLAGS="$LINTFLAGS -D__sun__"
13847 ac_config_commands="$ac_config_commands include/stamp-h"
13850 ALL_MAKEFILE_DEPENDS="# Makefile dependencies
13851 Makefile: Makefile.in Make.rules config.status"
13853 ALL_WINETEST_DEPENDS="# Test binaries"
13866 ALL_TEST_BINARIES=""
13868 ALL_PROGRAM_BIN_INSTALL_DIRS=""
13871 wine_fn_append_file ()
13873 as_fn_append $1 " \\$as_nl $2"
13876 wine_fn_append_rule ()
13878 as_fn_append $1 "$as_nl$2"
13881 wine_fn_config_makefile ()
13885 wine_fn_append_file ALL_DIRS $ac_dir
13886 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13887 "$ac_dir/__clean__ $ac_dir/__install__ $ac_dir/__install-dev__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
13888 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status Make.rules \$(MAKEDEP)
13889 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
13890 eval as_val=\$$ac_enable
13891 if test "x$as_val" = x""no; then :
13896 *) wine_fn_append_file ALL_TOP_DIRS $ac_dir ;;
13901 wine_fn_config_lib ()
13904 ac_dir=dlls/$ac_name
13905 wine_fn_append_file ALL_DIRS $ac_dir
13906 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13907 "all __builddeps__: $ac_dir
13908 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
13909 $ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
13910 $ac_dir/lib$ac_name.cross.a: dummy
13911 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
13912 $ac_dir/__clean__: $ac_dir/Makefile
13913 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status dlls/Makeimplib.rules \$(MAKEDEP)
13914 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend
13915 install install-dev:: $ac_dir
13916 @cd $ac_dir && \$(MAKE) install
13917 uninstall:: $ac_dir/Makefile
13918 @cd $ac_dir && \$(MAKE) uninstall"
13921 wine_fn_config_dll ()
13927 ac_file="dlls/$ac_dir/lib$ac_implib"
13928 ac_deps="tools/widl tools/winebuild tools/winegcc include"
13930 wine_fn_append_file ALL_DIRS dlls/$ac_dir
13931 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13932 "dlls/$ac_dir/__clean__: dlls/$ac_dir/Makefile
13933 dlls/$ac_dir/Makefile dlls/$ac_dir/__depend__: dlls/$ac_dir/Makefile.in config.status dlls/Makedll.rules \$(MAKEDEP)
13934 @./config.status --file dlls/$ac_dir/Makefile && cd dlls/$ac_dir && \$(MAKE) depend"
13936 eval as_val=\$$ac_enable
13937 if test "x$as_val" = x""no; then :
13938 test "$ac_enable" != enable_win16 || return 0
13940 wine_fn_append_file ALL_DLL_DIRS dlls/$ac_dir
13941 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13943 dlls/$ac_dir: dlls/$ac_dir/Makefile __builddeps__
13944 install:: dlls/$ac_dir/Makefile __builddeps__
13945 @cd dlls/$ac_dir && \$(MAKE) install
13946 install-lib:: dlls/$ac_dir/Makefile __builddeps__
13947 @cd dlls/$ac_dir && \$(MAKE) install-lib
13948 uninstall:: dlls/$ac_dir/Makefile
13949 @cd dlls/$ac_dir && \$(MAKE) uninstall"
13952 if test -n "$ac_implibsrc"
13954 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13955 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
13956 __buildcrossdeps__: $ac_file.cross.a
13957 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
13958 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
13959 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13960 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
13961 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13962 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13963 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13964 elif test -n "$ac_implib"
13966 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13967 "__builddeps__: $ac_file.$IMPLIBEXT
13968 __buildcrossdeps__: $ac_file.cross.a
13969 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
13970 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13971 install-dev:: dlls/$ac_dir/Makefile __builddeps__
13972 @cd dlls/$ac_dir && \$(MAKE) install-dev"
13974 if test "$ac_dir" != "$ac_implib"
13976 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13977 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
13978 __buildcrossdeps__: dlls/lib$ac_implib.cross.a
13979 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
13980 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
13981 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
13982 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
13984 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
13989 wine_fn_config_program ()
13994 wine_fn_append_file ALL_DIRS programs/$ac_dir
13995 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13996 "programs/$ac_dir/__clean__: programs/$ac_dir/Makefile
13997 programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
13998 @./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
14000 eval as_val=\$$ac_enable
14001 if test "x$as_val" = x""no; then :
14004 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14005 "all: programs/$ac_dir
14006 programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__"
14007 if test -n "$ac_install"
14009 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14010 "install install-lib:: programs/$ac_dir/Makefile __builddeps__
14011 @cd programs/$ac_dir && \$(MAKE) install
14012 uninstall:: programs/$ac_dir/Makefile
14013 @cd programs/$ac_dir && \$(MAKE) uninstall"
14014 test "$ac_install" != installbin || wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs/$ac_dir
14019 wine_fn_config_test ()
14023 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
14024 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14025 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14026 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14028 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14029 $ac_name.res: $ac_name.rc $ac_name.exe"
14030 wine_fn_append_file ALL_DIRS $ac_dir
14031 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14032 "$ac_dir/__clean__: $ac_dir/Makefile
14033 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status Maketest.rules \$(MAKEDEP)
14034 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
14036 if test "x$enable_tests" = x""no; then :
14039 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14040 "all programs/winetest: $ac_dir
14041 $ac_dir: $ac_dir/Makefile __builddeps__
14042 crosstest:: $ac_dir/Makefile __buildcrossdeps__
14043 @cd $ac_dir && \$(MAKE) crosstest
14045 @cd $ac_dir && \$(MAKE) test
14047 \$(RM) $ac_dir/*.ok"
14051 wine_fn_config_tool ()
14054 ac_deps="Make.rules"
14055 if test "$ac_dir" != tools
14057 ac_deps="$ac_deps \$(MAKEDEP)"
14059 wine_fn_append_file ALL_DIRS $ac_dir
14060 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14061 "$ac_dir/__clean__: $ac_dir/Makefile
14062 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status $ac_deps
14063 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
14065 if test "x$enable_tools" = x""no; then :
14069 tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14071 @cd $ac_dir && \$(MAKE) install
14072 install-lib:: $ac_dir
14073 @cd $ac_dir && \$(MAKE) install-lib
14074 install-dev:: $ac_dir
14075 @cd $ac_dir && \$(MAKE) install-dev" ;;
14076 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14077 "install install-dev:: $ac_dir
14078 @cd $ac_dir && \$(MAKE) install" ;;
14080 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14081 "uninstall:: $ac_dir/Makefile
14082 @cd $ac_dir && \$(MAKE) uninstall
14083 all __tooldeps__: $ac_dir
14084 $ac_dir: $ac_dir/Makefile libs/port"
14087 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14088 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "dlls/wineps.drv/generic.ppd"
14089 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14090 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/marlett.ttf"
14091 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14092 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/symbol.ttf"
14093 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14094 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahoma.ttf"
14095 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14096 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahomabd.ttf"
14097 ac_config_links="$ac_config_links wine:tools/winewrapper"
14098 wine_fn_append_file ALL_SYMLINKS "wine"
14100 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14102 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14104 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14106 ac_config_commands="$ac_config_commands dlls/user32/resources"
14108 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14110 ac_config_commands="$ac_config_commands include/wine"
14113 wine_fn_append_file ALL_MAKERULES "Make.rules"
14114 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Make.rules: Make.rules.in config.status"
14115 MAKE_RULES=Make.rules
14116 ac_config_files="$ac_config_files Make.rules"
14118 wine_fn_append_file ALL_MAKERULES "Maketest.rules"
14119 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Maketest.rules: Maketest.rules.in Make.rules config.status"
14120 MAKE_TEST_RULES=Maketest.rules
14121 ac_config_files="$ac_config_files Maketest.rules"
14123 wine_fn_append_file ALL_MAKERULES "dlls/Makedll.rules"
14124 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status"
14125 MAKE_DLL_RULES=dlls/Makedll.rules
14126 ac_config_files="$ac_config_files dlls/Makedll.rules"
14128 wine_fn_append_file ALL_MAKERULES "dlls/Makeimplib.rules"
14129 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status"
14130 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14131 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14133 wine_fn_append_file ALL_MAKERULES "programs/Makeprog.rules"
14134 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status"
14135 MAKE_PROG_RULES=programs/Makeprog.rules
14136 ac_config_files="$ac_config_files programs/Makeprog.rules"
14139 wine_fn_config_dll acledit enable_acledit
14140 wine_fn_config_dll aclui enable_aclui aclui
14141 wine_fn_config_dll activeds enable_activeds activeds
14142 wine_fn_config_dll actxprxy enable_actxprxy
14143 wine_fn_config_lib adsiid
14144 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14145 wine_fn_config_test dlls/advapi32/tests advapi32_test
14146 wine_fn_config_dll advpack enable_advpack advpack
14147 wine_fn_config_test dlls/advpack/tests advpack_test
14148 wine_fn_config_dll amstream enable_amstream
14149 wine_fn_config_test dlls/amstream/tests amstream_test
14150 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14151 wine_fn_config_dll atl enable_atl atl
14152 wine_fn_config_dll authz enable_authz
14153 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14154 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14155 wine_fn_config_test dlls/avifil32/tests avifil32_test
14156 wine_fn_config_dll avifile.dll16 enable_win16
14157 wine_fn_config_dll avrt enable_avrt avrt
14158 wine_fn_config_dll bcrypt enable_bcrypt
14159 wine_fn_config_dll browseui enable_browseui
14160 wine_fn_config_test dlls/browseui/tests browseui_test
14161 wine_fn_config_dll cabinet enable_cabinet cabinet
14162 wine_fn_config_test dlls/cabinet/tests cabinet_test
14163 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14164 wine_fn_config_dll cards enable_cards cards
14165 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14166 wine_fn_config_dll clusapi enable_clusapi clusapi
14167 wine_fn_config_dll comcat enable_comcat
14168 wine_fn_config_test dlls/comcat/tests comcat_test
14169 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14170 wine_fn_config_test dlls/comctl32/tests comctl32_test
14171 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14172 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14173 wine_fn_config_dll comm.drv16 enable_win16
14174 wine_fn_config_dll commdlg.dll16 enable_win16
14175 wine_fn_config_dll compobj.dll16 enable_win16
14176 wine_fn_config_dll compstui enable_compstui compstui
14177 wine_fn_config_dll credui enable_credui credui
14178 wine_fn_config_test dlls/credui/tests credui_test
14179 wine_fn_config_dll crtdll enable_crtdll crtdll
14180 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14181 wine_fn_config_test dlls/crypt32/tests crypt32_test
14182 wine_fn_config_dll cryptdlg enable_cryptdlg
14183 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14184 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14185 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14186 wine_fn_config_dll cryptui enable_cryptui cryptui
14187 wine_fn_config_test dlls/cryptui/tests cryptui_test
14188 wine_fn_config_dll ctapi32 enable_ctapi32
14189 wine_fn_config_dll ctl3d.dll16 enable_win16
14190 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14191 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14192 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14193 wine_fn_config_test dlls/d3d10/tests d3d10_test
14194 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14195 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14196 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14197 wine_fn_config_test dlls/d3d8/tests d3d8_test
14198 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14199 wine_fn_config_test dlls/d3d9/tests d3d9_test
14200 wine_fn_config_dll d3dim enable_d3dim d3dim
14201 wine_fn_config_dll d3drm enable_d3drm d3drm
14202 wine_fn_config_test dlls/d3drm/tests d3drm_test
14203 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14204 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14205 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14206 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14207 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14208 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14209 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14210 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14211 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14212 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14213 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14214 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14215 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14216 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14217 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14218 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14219 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14220 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14221 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14222 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14223 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14224 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14225 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14226 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14227 wine_fn_config_dll ddeml.dll16 enable_win16
14228 wine_fn_config_dll ddraw enable_ddraw ddraw
14229 wine_fn_config_test dlls/ddraw/tests ddraw_test
14230 wine_fn_config_dll ddrawex enable_ddrawex
14231 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14232 wine_fn_config_dll devenum enable_devenum
14233 wine_fn_config_dll dinput enable_dinput dinput "data_formats.c"
14234 wine_fn_config_test dlls/dinput/tests dinput_test
14235 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14236 wine_fn_config_dll dispdib.dll16 enable_win16
14237 wine_fn_config_dll dispex enable_dispex
14238 wine_fn_config_test dlls/dispex/tests dispex_test
14239 wine_fn_config_dll display.drv16 enable_win16
14240 wine_fn_config_dll dmband enable_dmband
14241 wine_fn_config_dll dmcompos enable_dmcompos
14242 wine_fn_config_dll dmime enable_dmime
14243 wine_fn_config_dll dmloader enable_dmloader
14244 wine_fn_config_test dlls/dmloader/tests dmloader_test
14245 wine_fn_config_dll dmscript enable_dmscript
14246 wine_fn_config_dll dmstyle enable_dmstyle
14247 wine_fn_config_dll dmsynth enable_dmsynth
14248 wine_fn_config_dll dmusic enable_dmusic
14249 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14250 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14251 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14252 wine_fn_config_dll dplay enable_dplay dplay
14253 wine_fn_config_dll dplayx enable_dplayx dplayx
14254 wine_fn_config_test dlls/dplayx/tests dplayx_test
14255 wine_fn_config_dll dpnaddr enable_dpnaddr
14256 wine_fn_config_dll dpnet enable_dpnet dpnet
14257 wine_fn_config_dll dpnhpast enable_dpnhpast
14258 wine_fn_config_dll dpnlobby enable_dpnlobby
14259 wine_fn_config_dll dpwsockx enable_dpwsockx
14260 wine_fn_config_dll drmclien enable_drmclien
14261 wine_fn_config_dll dsound enable_dsound dsound
14262 wine_fn_config_test dlls/dsound/tests dsound_test
14263 wine_fn_config_dll dssenh enable_dssenh
14264 wine_fn_config_dll dswave enable_dswave
14265 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14266 wine_fn_config_dll dxdiagn enable_dxdiagn
14267 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14268 wine_fn_config_lib dxerr8
14269 wine_fn_config_lib dxerr9
14270 wine_fn_config_dll dxgi enable_dxgi dxgi
14271 wine_fn_config_test dlls/dxgi/tests dxgi_test
14272 wine_fn_config_lib dxguid
14273 wine_fn_config_dll faultrep enable_faultrep
14274 wine_fn_config_dll fltlib enable_fltlib
14275 wine_fn_config_dll fusion enable_fusion
14276 wine_fn_config_test dlls/fusion/tests fusion_test
14277 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14278 wine_fn_config_dll gdi.exe16 enable_win16
14279 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14280 wine_fn_config_test dlls/gdi32/tests gdi32_test
14281 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14282 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
14283 wine_fn_config_dll glu32 enable_glu32 glu32
14284 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14285 wine_fn_config_dll gpkcsp enable_gpkcsp
14286 wine_fn_config_dll hal enable_hal
14287 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14288 wine_fn_config_dll hid enable_hid hid
14289 wine_fn_config_dll hlink enable_hlink hlink
14290 wine_fn_config_test dlls/hlink/tests hlink_test
14291 wine_fn_config_dll hnetcfg enable_hnetcfg
14292 wine_fn_config_dll httpapi enable_httpapi
14293 wine_fn_config_dll iccvid enable_iccvid
14294 wine_fn_config_dll icmp enable_icmp
14295 wine_fn_config_dll ifsmgr.vxd enable_win16
14296 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14297 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14298 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
14299 wine_fn_config_dll imm.dll16 enable_win16
14300 wine_fn_config_dll imm32 enable_imm32 imm32
14301 wine_fn_config_test dlls/imm32/tests imm32_test
14302 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14303 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
14304 wine_fn_config_dll inetmib1 enable_inetmib1
14305 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
14306 wine_fn_config_dll infosoft enable_infosoft
14307 wine_fn_config_test dlls/infosoft/tests infosoft_test
14308 wine_fn_config_dll initpki enable_initpki
14309 wine_fn_config_dll inkobj enable_inkobj
14310 wine_fn_config_dll inseng enable_inseng
14311 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14312 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
14313 wine_fn_config_dll itircl enable_itircl
14314 wine_fn_config_dll itss enable_itss
14315 wine_fn_config_test dlls/itss/tests itss_test
14316 wine_fn_config_dll jscript enable_jscript
14317 wine_fn_config_test dlls/jscript/tests jscript_test
14318 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14319 wine_fn_config_test dlls/kernel32/tests kernel32_test
14320 wine_fn_config_dll keyboard.drv16 enable_win16
14321 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14322 wine_fn_config_dll loadperf enable_loadperf loadperf
14323 wine_fn_config_dll localspl enable_localspl
14324 wine_fn_config_test dlls/localspl/tests localspl_test
14325 wine_fn_config_dll localui enable_localui
14326 wine_fn_config_test dlls/localui/tests localui_test
14327 wine_fn_config_dll lz32 enable_lz32 lz32
14328 wine_fn_config_test dlls/lz32/tests lz32_test
14329 wine_fn_config_dll lzexpand.dll16 enable_win16
14330 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14331 wine_fn_config_test dlls/mapi32/tests mapi32_test
14332 wine_fn_config_dll mapistub enable_mapistub
14333 wine_fn_config_dll mciavi32 enable_mciavi32
14334 wine_fn_config_dll mcicda enable_mcicda
14335 wine_fn_config_dll mciqtz32 enable_mciqtz32
14336 wine_fn_config_dll mciseq enable_mciseq
14337 wine_fn_config_dll mciwave enable_mciwave
14338 wine_fn_config_dll midimap enable_midimap
14339 wine_fn_config_dll mlang enable_mlang mlang
14340 wine_fn_config_test dlls/mlang/tests mlang_test
14341 wine_fn_config_dll mmdevapi enable_mmdevapi
14342 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
14343 wine_fn_config_dll mmdevldr.vxd enable_win16
14344 wine_fn_config_dll mmsystem.dll16 enable_win16
14345 wine_fn_config_dll monodebg.vxd enable_win16
14346 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14347 wine_fn_config_dll mouse.drv16 enable_win16
14348 wine_fn_config_dll mpr enable_mpr mpr
14349 wine_fn_config_dll mprapi enable_mprapi mprapi
14350 wine_fn_config_dll msacm.dll16 enable_win16
14351 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14352 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14353 wine_fn_config_test dlls/msacm32/tests msacm32_test
14354 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14355 wine_fn_config_dll mscat32 enable_mscat32
14356 wine_fn_config_dll mscms enable_mscms mscms
14357 wine_fn_config_test dlls/mscms/tests mscms_test
14358 wine_fn_config_dll mscoree enable_mscoree
14359 wine_fn_config_dll msctf enable_msctf
14360 wine_fn_config_test dlls/msctf/tests msctf_test
14361 wine_fn_config_dll msdaps enable_msdaps
14362 wine_fn_config_dll msdmo enable_msdmo msdmo
14363 wine_fn_config_dll msftedit enable_msftedit
14364 wine_fn_config_dll msg711.acm enable_msg711_acm
14365 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14366 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14367 wine_fn_config_dll mshtml enable_mshtml mshtml
14368 wine_fn_config_test dlls/mshtml/tests mshtml_test
14369 wine_fn_config_dll msi enable_msi msi
14370 wine_fn_config_test dlls/msi/tests msi_test
14371 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14372 wine_fn_config_dll msimtf enable_msimtf
14373 wine_fn_config_dll msisip enable_msisip
14374 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14375 wine_fn_config_dll msnet32 enable_msnet32
14376 wine_fn_config_dll msrle32 enable_msrle32
14377 wine_fn_config_dll mssign32 enable_mssign32
14378 wine_fn_config_dll mssip32 enable_mssip32
14379 wine_fn_config_dll mstask enable_mstask
14380 wine_fn_config_test dlls/mstask/tests mstask_test
14381 wine_fn_config_dll msvcirt enable_msvcirt
14382 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14383 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14384 wine_fn_config_dll msvcr80 enable_msvcr80 msvcr80
14385 wine_fn_config_dll msvcr90 enable_msvcr90 msvcr90
14386 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
14387 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14388 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
14389 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14390 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14391 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14392 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
14393 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14394 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
14395 wine_fn_config_dll msvidc32 enable_msvidc32
14396 wine_fn_config_dll msvideo.dll16 enable_win16
14397 wine_fn_config_dll mswsock enable_mswsock mswsock
14398 wine_fn_config_dll msxml3 enable_msxml3
14399 wine_fn_config_test dlls/msxml3/tests msxml3_test
14400 wine_fn_config_dll msxml4 enable_msxml4
14401 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14402 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14403 wine_fn_config_test dlls/netapi32/tests netapi32_test
14404 wine_fn_config_dll newdev enable_newdev newdev
14405 wine_fn_config_dll ntdll enable_ntdll ntdll
14406 wine_fn_config_test dlls/ntdll/tests ntdll_test
14407 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14408 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
14409 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14410 wine_fn_config_dll ntprint enable_ntprint
14411 wine_fn_config_test dlls/ntprint/tests ntprint_test
14412 wine_fn_config_dll objsel enable_objsel
14413 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14414 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14415 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
14416 wine_fn_config_dll ole2.dll16 enable_win16
14417 wine_fn_config_dll ole2conv.dll16 enable_win16
14418 wine_fn_config_dll ole2disp.dll16 enable_win16
14419 wine_fn_config_dll ole2nls.dll16 enable_win16
14420 wine_fn_config_dll ole2prox.dll16 enable_win16
14421 wine_fn_config_dll ole2thk.dll16 enable_win16
14422 wine_fn_config_dll ole32 enable_ole32 ole32
14423 wine_fn_config_test dlls/ole32/tests ole32_test
14424 wine_fn_config_dll oleacc enable_oleacc oleacc
14425 wine_fn_config_test dlls/oleacc/tests oleacc_test
14426 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14427 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
14428 wine_fn_config_dll olecli.dll16 enable_win16
14429 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14430 wine_fn_config_dll oledb32 enable_oledb32
14431 wine_fn_config_test dlls/oledb32/tests oledb32_test
14432 wine_fn_config_dll oledlg enable_oledlg oledlg
14433 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14434 wine_fn_config_dll olesvr.dll16 enable_win16
14435 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14436 wine_fn_config_dll olethk32 enable_olethk32
14437 wine_fn_config_dll openal32 enable_openal32
14438 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14439 wine_fn_config_test dlls/opengl32/tests opengl32_test
14440 wine_fn_config_dll pdh enable_pdh pdh
14441 wine_fn_config_test dlls/pdh/tests pdh_test
14442 wine_fn_config_dll pidgen enable_pidgen
14443 wine_fn_config_dll powrprof enable_powrprof powrprof
14444 wine_fn_config_dll printui enable_printui
14445 wine_fn_config_dll propsys enable_propsys
14446 wine_fn_config_dll psapi enable_psapi psapi
14447 wine_fn_config_test dlls/psapi/tests psapi_test
14448 wine_fn_config_dll pstorec enable_pstorec
14449 wine_fn_config_dll qcap enable_qcap
14450 wine_fn_config_dll qedit enable_qedit
14451 wine_fn_config_test dlls/qedit/tests qedit_test
14452 wine_fn_config_dll qmgr enable_qmgr
14453 wine_fn_config_test dlls/qmgr/tests qmgr_test
14454 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14455 wine_fn_config_dll quartz enable_quartz quartz
14456 wine_fn_config_test dlls/quartz/tests quartz_test
14457 wine_fn_config_dll query enable_query
14458 wine_fn_config_dll rasapi16.dll16 enable_win16
14459 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14460 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
14461 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14462 wine_fn_config_dll resutils enable_resutils resutils
14463 wine_fn_config_dll riched20 enable_riched20 riched20
14464 wine_fn_config_test dlls/riched20/tests riched20_test
14465 wine_fn_config_dll riched32 enable_riched32
14466 wine_fn_config_test dlls/riched32/tests riched32_test
14467 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14468 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
14469 wine_fn_config_dll rsabase enable_rsabase
14470 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14471 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
14472 wine_fn_config_dll rtutils enable_rtutils rtutils
14473 wine_fn_config_dll sane.ds enable_sane_ds
14474 wine_fn_config_dll sccbase enable_sccbase
14475 wine_fn_config_dll schannel enable_schannel
14476 wine_fn_config_test dlls/schannel/tests schannel_test
14477 wine_fn_config_dll secur32 enable_secur32 secur32
14478 wine_fn_config_test dlls/secur32/tests secur32_test
14479 wine_fn_config_dll security enable_security
14480 wine_fn_config_dll sensapi enable_sensapi sensapi
14481 wine_fn_config_dll serialui enable_serialui serialui
14482 wine_fn_config_test dlls/serialui/tests serialui_test
14483 wine_fn_config_dll setupapi enable_setupapi setupapi
14484 wine_fn_config_test dlls/setupapi/tests setupapi_test
14485 wine_fn_config_dll setupx.dll16 enable_win16
14486 wine_fn_config_dll sfc enable_sfc sfc
14487 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14488 wine_fn_config_dll shdoclc enable_shdoclc
14489 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14490 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
14491 wine_fn_config_dll shell.dll16 enable_win16
14492 wine_fn_config_dll shell32 enable_shell32 shell32
14493 wine_fn_config_test dlls/shell32/tests shell32_test
14494 wine_fn_config_dll shfolder enable_shfolder shfolder
14495 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14496 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
14497 wine_fn_config_dll slbcsp enable_slbcsp
14498 wine_fn_config_dll slc enable_slc slc
14499 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14500 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
14501 wine_fn_config_dll softpub enable_softpub
14502 wine_fn_config_dll sound.drv16 enable_win16
14503 wine_fn_config_dll spoolss enable_spoolss spoolss
14504 wine_fn_config_test dlls/spoolss/tests spoolss_test
14505 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14506 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14507 wine_fn_config_dll sti enable_sti sti
14508 wine_fn_config_test dlls/sti/tests sti_test
14509 wine_fn_config_dll storage.dll16 enable_win16
14510 wine_fn_config_dll stress.dll16 enable_win16
14511 wine_fn_config_lib strmiids
14512 wine_fn_config_dll svrapi enable_svrapi
14513 wine_fn_config_dll sxs enable_sxs
14514 wine_fn_config_dll system.drv16 enable_win16
14515 wine_fn_config_dll t2embed enable_t2embed
14516 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14517 wine_fn_config_dll toolhelp.dll16 enable_win16
14518 wine_fn_config_dll traffic enable_traffic
14519 wine_fn_config_dll twain.dll16 enable_win16
14520 wine_fn_config_dll twain_32 enable_twain_32
14521 wine_fn_config_test dlls/twain_32/tests twain_32_test
14522 wine_fn_config_dll typelib.dll16 enable_win16
14523 wine_fn_config_dll unicows enable_unicows unicows
14524 wine_fn_config_dll updspapi enable_updspapi
14525 wine_fn_config_dll url enable_url url
14526 wine_fn_config_dll urlmon enable_urlmon urlmon
14527 wine_fn_config_test dlls/urlmon/tests urlmon_test
14528 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14529 wine_fn_config_dll user.exe16 enable_win16
14530 wine_fn_config_dll user32 enable_user32 user32
14531 wine_fn_config_test dlls/user32/tests user32_test
14532 wine_fn_config_dll userenv enable_userenv userenv
14533 wine_fn_config_test dlls/userenv/tests userenv_test
14534 wine_fn_config_dll usp10 enable_usp10 usp10
14535 wine_fn_config_test dlls/usp10/tests usp10_test
14536 wine_fn_config_lib uuid
14537 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14538 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
14539 wine_fn_config_dll vdhcp.vxd enable_win16
14540 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14541 wine_fn_config_dll ver.dll16 enable_win16
14542 wine_fn_config_dll version enable_version version
14543 wine_fn_config_test dlls/version/tests version_test
14544 wine_fn_config_dll vmm.vxd enable_win16
14545 wine_fn_config_dll vnbt.vxd enable_win16
14546 wine_fn_config_dll vnetbios.vxd enable_win16
14547 wine_fn_config_dll vtdapi.vxd enable_win16
14548 wine_fn_config_dll vwin32.vxd enable_win16
14549 wine_fn_config_dll w32skrnl enable_win16
14550 wine_fn_config_dll w32sys.dll16 enable_win16
14551 wine_fn_config_dll wbemprox enable_wbemprox
14552 wine_fn_config_dll wiaservc enable_wiaservc
14553 wine_fn_config_dll win32s16.dll16 enable_win16
14554 wine_fn_config_dll win87em.dll16 enable_win16
14555 wine_fn_config_dll winaspi.dll16 enable_win16
14556 wine_fn_config_dll windebug.dll16 enable_win16
14557 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14558 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
14559 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14560 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14561 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14562 wine_fn_config_lib winecrt0
14563 wine_fn_config_dll wined3d enable_wined3d wined3d
14564 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14565 wine_fn_config_dll winejack.drv enable_winejack_drv
14566 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14567 wine_fn_config_dll winemapi enable_winemapi
14568 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14569 wine_fn_config_dll winenas.drv enable_winenas_drv
14570 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14571 wine_fn_config_dll wineps.drv enable_wineps_drv
14572 wine_fn_config_dll wineps16.drv16 enable_win16
14573 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14574 wine_fn_config_dll winex11.drv enable_winex11_drv
14575 wine_fn_config_dll wing.dll16 enable_win16
14576 wine_fn_config_dll wing32 enable_wing32
14577 wine_fn_config_dll winhttp enable_winhttp winhttp
14578 wine_fn_config_test dlls/winhttp/tests winhttp_test
14579 wine_fn_config_dll wininet enable_wininet wininet
14580 wine_fn_config_test dlls/wininet/tests wininet_test
14581 wine_fn_config_dll winmm enable_winmm winmm
14582 wine_fn_config_test dlls/winmm/tests winmm_test
14583 wine_fn_config_dll winnls.dll16 enable_win16
14584 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14585 wine_fn_config_dll winscard enable_winscard winscard
14586 wine_fn_config_dll winsock.dll16 enable_win16
14587 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14588 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
14589 wine_fn_config_dll wintab.dll16 enable_win16
14590 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14591 wine_fn_config_test dlls/wintab32/tests wintab32_test
14592 wine_fn_config_dll wintrust enable_wintrust wintrust
14593 wine_fn_config_test dlls/wintrust/tests wintrust_test
14594 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14595 wine_fn_config_test dlls/wldap32/tests wldap32_test
14596 wine_fn_config_dll wmi enable_wmi
14597 wine_fn_config_dll wmiutils enable_wmiutils
14598 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14599 wine_fn_config_dll wow32 enable_win16 wow32
14600 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14601 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
14602 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14603 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14604 wine_fn_config_dll wuapi enable_wuapi
14605 wine_fn_config_dll wuaueng enable_wuaueng
14606 wine_fn_config_dll xinput1_1 enable_xinput1_1
14607 wine_fn_config_dll xinput1_2 enable_xinput1_2
14608 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14609 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
14610 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14611 wine_fn_config_dll xmllite enable_xmllite
14612 wine_fn_config_test dlls/xmllite/tests xmllite_test
14613 wine_fn_config_makefile documentation enable_documentation
14614 wine_fn_config_makefile fonts enable_fonts
14615 wine_fn_config_makefile include enable_include
14616 wine_fn_config_makefile libs/port enable_libs_port
14617 wine_fn_config_makefile libs/wine enable_libs_wine
14618 wine_fn_config_makefile libs/wpp enable_libs_wpp
14619 wine_fn_config_makefile loader enable_loader
14620 wine_fn_config_makefile programs enable_programs
14621 wine_fn_config_program attrib enable_attrib install
14622 wine_fn_config_program cacls enable_cacls install
14623 wine_fn_config_program clock enable_clock install
14624 wine_fn_config_program cmd enable_cmd install
14625 wine_fn_config_test programs/cmd/tests cmd.exe_test
14626 wine_fn_config_program cmdlgtst enable_cmdlgtst
14627 wine_fn_config_program control enable_control install
14628 wine_fn_config_program dxdiag enable_dxdiag install
14629 wine_fn_config_program eject enable_eject install
14630 wine_fn_config_program expand enable_expand install
14631 wine_fn_config_program explorer enable_explorer install
14632 wine_fn_config_program extrac32 enable_extrac32 install
14633 wine_fn_config_program hh enable_hh install
14634 wine_fn_config_program icinfo enable_icinfo install
14635 wine_fn_config_program iexplore enable_iexplore install
14636 wine_fn_config_program lodctr enable_lodctr install
14637 wine_fn_config_program mshta enable_mshta install
14638 wine_fn_config_program msiexec enable_msiexec installbin
14639 wine_fn_config_program net enable_net install
14640 wine_fn_config_program notepad enable_notepad installbin
14641 wine_fn_config_program oleview enable_oleview install
14642 wine_fn_config_program ping enable_ping install
14643 wine_fn_config_program progman enable_progman install
14644 wine_fn_config_program reg enable_reg install
14645 wine_fn_config_program regedit enable_regedit installbin
14646 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14647 wine_fn_config_program rpcss enable_rpcss install
14648 wine_fn_config_program rundll32 enable_rundll32 install
14649 wine_fn_config_program secedit enable_secedit install
14650 wine_fn_config_program services enable_services install
14651 wine_fn_config_program spoolsv enable_spoolsv install
14652 wine_fn_config_program start enable_start install
14653 wine_fn_config_program svchost enable_svchost install
14654 wine_fn_config_program taskmgr enable_taskmgr install
14655 wine_fn_config_program termsv enable_termsv install
14656 wine_fn_config_program uninstaller enable_uninstaller install
14657 wine_fn_config_program unlodctr enable_unlodctr install
14658 wine_fn_config_program view enable_view
14659 wine_fn_config_program wineboot enable_wineboot installbin
14660 wine_fn_config_program winebrowser enable_winebrowser install
14661 wine_fn_config_program winecfg enable_winecfg installbin
14662 wine_fn_config_program wineconsole enable_wineconsole installbin
14663 wine_fn_config_program winedbg enable_winedbg installbin
14664 wine_fn_config_program winedevice enable_winedevice install
14665 wine_fn_config_program winefile enable_winefile installbin
14666 wine_fn_config_program winemenubuilder enable_winemenubuilder install
14667 wine_fn_config_program winemine enable_winemine installbin
14668 wine_fn_config_program winepath enable_winepath installbin
14669 wine_fn_config_program winetest enable_winetest
14670 wine_fn_config_program winevdm enable_win16 install
14671 wine_fn_config_program winhelp.exe16 enable_win16 install
14672 wine_fn_config_program winhlp32 enable_winhlp32 install
14673 wine_fn_config_program winoldap.mod16 enable_win16 install
14674 wine_fn_config_program winver enable_winver install
14675 wine_fn_config_program wordpad enable_wordpad install
14676 wine_fn_config_program write enable_write install
14677 wine_fn_config_program xcopy enable_xcopy install
14678 wine_fn_config_makefile server enable_server
14679 wine_fn_config_tool tools
14680 wine_fn_config_tool tools/widl
14681 wine_fn_config_tool tools/winebuild
14682 wine_fn_config_tool tools/winedump
14683 wine_fn_config_tool tools/winegcc
14684 wine_fn_config_tool tools/wmc
14685 wine_fn_config_tool tools/wrc
14687 ac_config_files="$ac_config_files Makefile"
14690 test -n "$DLLEXT" || ALL_PROGRAM_BIN_INSTALL_DIRS=""
14692 cat >confcache <<\_ACEOF
14693 # This file is a shell script that caches the results of configure
14694 # tests run on this system so they can be shared between configure
14695 # scripts and configure runs, see configure's option --config-cache.
14696 # It is not useful on other systems. If it contains results you don't
14697 # want to keep, you may remove or edit it.
14699 # config.status only pays attention to the cache file if you give it
14700 # the --recheck option to rerun configure.
14702 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14703 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14704 # following values.
14708 # The following way of writing the cache mishandles newlines in values,
14709 # but we know of no workaround that is simple, portable, and efficient.
14710 # So, we kill variables containing newlines.
14711 # Ultrix sh set writes to stderr and can't be redirected directly,
14712 # and sets the high bit in the cache file unless we assign to the vars.
14714 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14715 eval ac_val=\$$ac_var
14719 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14720 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14723 _ | IFS | as_nl) ;; #(
14724 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14725 *) { eval $ac_var=; unset $ac_var;} ;;
14731 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14732 *${as_nl}ac_space=\ *)
14733 # `set' does not quote correctly, so add quotes: double-quote
14734 # substitution turns \\\\ into \\, and sed turns \\ into \.
14737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14740 # `set' quotes correctly as required by POSIX, so do not add quotes.
14741 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14752 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14754 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14755 if test -w "$cache_file"; then
14756 test "x$cache_file" != "x/dev/null" &&
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14758 $as_echo "$as_me: updating cache $cache_file" >&6;}
14759 cat confcache >$cache_file
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14768 # Let make expand exec_prefix.
14769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14771 DEFS=-DHAVE_CONFIG_H
14775 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14776 # 1. Remove the extension, and $U if already installed.
14777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14778 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14780 # will be set to the directory where LIBOBJS objects are built.
14781 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14782 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14784 LIBOBJS=$ac_libobjs
14786 LTLIBOBJS=$ac_ltlibobjs
14790 : ${CONFIG_STATUS=./config.status}
14792 ac_clean_files_save=$ac_clean_files
14793 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14795 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14797 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14799 # Generated by $as_me.
14800 # Run this file to recreate the current configuration.
14801 # Compiler output produced by configure, useful for debugging
14802 # configure, is in config.log if it exists.
14805 ac_cs_recheck=false
14808 SHELL=\${CONFIG_SHELL-$SHELL}
14811 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14812 ## -------------------- ##
14813 ## M4sh Initialization. ##
14814 ## -------------------- ##
14816 # Be more Bourne compatible
14817 DUALCASE=1; export DUALCASE # for MKS sh
14818 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14822 # is contrary to our usage. Disable this feature.
14823 alias -g '${1+"$@"}'='"$@"'
14824 setopt NO_GLOB_SUBST
14826 case `(set -o) 2>/dev/null` in #(
14838 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14839 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14840 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14842 # Prefer a ksh shell builtin over an external printf program on Solaris,
14843 # but without wasting forks for bash or zsh.
14844 if test -z "$BASH_VERSION$ZSH_VERSION" \
14845 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14846 as_echo='print -r --'
14847 as_echo_n='print -rn --'
14848 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14849 as_echo='printf %s\n'
14850 as_echo_n='printf %s'
14852 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14853 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14854 as_echo_n='/usr/ucb/echo -n'
14856 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14857 as_echo_n_body='eval
14861 expr "X$arg" : "X\\(.*\\)$as_nl";
14862 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14864 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14866 export as_echo_n_body
14867 as_echo_n='sh -c $as_echo_n_body as_echo'
14869 export as_echo_body
14870 as_echo='sh -c $as_echo_body as_echo'
14873 # The user is always right.
14874 if test "${PATH_SEPARATOR+set}" != set; then
14876 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14877 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14884 # We need space, tab and new line, in precisely that order. Quoting is
14885 # there to prevent editors from complaining about space-tab.
14886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14887 # splitting by setting IFS to empty value.)
14890 # Find who we are. Look in the path if we contain no directory separator.
14892 *[\\/]* ) as_myself=$0 ;;
14893 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14894 for as_dir in $PATH
14897 test -z "$as_dir" && as_dir=.
14898 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14904 # We did not find ourselves, most probably we were run as `sh COMMAND'
14905 # in which case we are not to be found in the path.
14906 if test "x$as_myself" = x; then
14909 if test ! -f "$as_myself"; then
14910 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14914 # Unset variables that we do not need and which cause bugs (e.g. in
14915 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14916 # suppresses any "Segmentation fault" message there. '((' could
14917 # trigger a bug in pdksh 5.2.14.
14918 for as_var in BASH_ENV ENV MAIL MAILPATH
14919 do eval test x\${$as_var+set} = xset \
14920 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14933 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14936 # as_fn_error ERROR [LINENO LOG_FD]
14937 # ---------------------------------
14938 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14939 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14940 # script with status $?, using 1 if that was 0.
14943 as_status=$?; test $as_status -eq 0 && as_status=1
14945 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14946 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14948 $as_echo "$as_me: error: $1" >&2
14949 as_fn_exit $as_status
14953 # as_fn_set_status STATUS
14954 # -----------------------
14955 # Set $? to STATUS, without forking.
14956 as_fn_set_status ()
14959 } # as_fn_set_status
14961 # as_fn_exit STATUS
14962 # -----------------
14963 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14967 as_fn_set_status $1
14973 # Portably unset VAR.
14976 { eval $1=; unset $1;}
14978 as_unset=as_fn_unset
14979 # as_fn_append VAR VALUE
14980 # ----------------------
14981 # Append the text in VALUE to the end of the definition contained in VAR. Take
14982 # advantage of any shell optimizations that allow amortized linear growth over
14983 # repeated appends, instead of the typical quadratic growth present in naive
14985 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14986 eval 'as_fn_append ()
14997 # as_fn_arith ARG...
14998 # ------------------
14999 # Perform arithmetic evaluation on the ARGs, and store the result in the
15000 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15001 # must be portable across $(()) and expr.
15002 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15003 eval 'as_fn_arith ()
15010 as_val=`expr "$@" || test $? -eq 1`
15015 if expr a : '\(a\)' >/dev/null 2>&1 &&
15016 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15023 as_basename=basename
15028 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15034 as_me=`$as_basename -- "$0" ||
15035 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15036 X"$0" : 'X\(//\)$' \| \
15037 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15039 sed '/^.*\/\([^/][^/]*\)\/*$/{
15053 # Avoid depending upon Character Ranges.
15054 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15055 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15056 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15057 as_cr_digits='0123456789'
15058 as_cr_alnum=$as_cr_Letters$as_cr_digits
15060 ECHO_C= ECHO_N= ECHO_T=
15061 case `echo -n x` in #(((((
15063 case `echo 'xy\c'` in
15064 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15066 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15073 rm -f conf$$ conf$$.exe conf$$.file
15074 if test -d conf$$.dir; then
15075 rm -f conf$$.dir/conf$$.file
15078 mkdir conf$$.dir 2>/dev/null
15080 if (echo >conf$$.file) 2>/dev/null; then
15081 if ln -s conf$$.file conf$$ 2>/dev/null; then
15083 # ... but there are two gotchas:
15084 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15085 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15086 # In both cases, we have to default to `cp -p'.
15087 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15089 elif ln conf$$.file conf$$ 2>/dev/null; then
15097 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15098 rmdir conf$$.dir 2>/dev/null
15103 # Create "$as_dir" as a directory, including parents if necessary.
15108 -*) as_dir=./$as_dir;;
15110 test -d "$as_dir" || eval $as_mkdir_p || {
15114 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15115 *) as_qdir=$as_dir;;
15117 as_dirs="'$as_qdir' $as_dirs"
15118 as_dir=`$as_dirname -- "$as_dir" ||
15119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15120 X"$as_dir" : 'X\(//\)[^/]' \| \
15121 X"$as_dir" : 'X\(//\)$' \| \
15122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15123 $as_echo X"$as_dir" |
15124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15128 /^X\(\/\/\)[^/].*/{
15141 test -d "$as_dir" && break
15143 test -z "$as_dirs" || eval "mkdir $as_dirs"
15144 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15148 if mkdir -p . 2>/dev/null; then
15149 as_mkdir_p='mkdir -p "$as_dir"'
15151 test -d ./-p && rmdir ./-p
15155 if test -x / >/dev/null 2>&1; then
15156 as_test_x='test -x'
15158 if ls -dL / >/dev/null 2>&1; then
15165 if test -d "$1"; then
15171 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15172 ???[sx]*):;;*)false;;esac;fi
15176 as_executable_p=$as_test_x
15178 # Sed expression to map a string onto a valid CPP name.
15179 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15181 # Sed expression to map a string onto a valid variable name.
15182 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15186 ## ----------------------------------- ##
15187 ## Main body of $CONFIG_STATUS script. ##
15188 ## ----------------------------------- ##
15190 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15193 # Save the log message, to keep $0 and so on meaningful, and to
15194 # report actual input values of CONFIG_FILES etc. instead of their
15195 # values after options handling.
15197 This file was extended by Wine $as_me 1.1.41, which was
15198 generated by GNU Autoconf 2.65. Invocation command line was
15200 CONFIG_FILES = $CONFIG_FILES
15201 CONFIG_HEADERS = $CONFIG_HEADERS
15202 CONFIG_LINKS = $CONFIG_LINKS
15203 CONFIG_COMMANDS = $CONFIG_COMMANDS
15206 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15211 case $ac_config_files in *"
15212 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15215 case $ac_config_headers in *"
15216 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15221 # Files that config.status was made for.
15222 config_files="$ac_config_files"
15223 config_headers="$ac_config_headers"
15224 config_links="$ac_config_links"
15225 config_commands="$ac_config_commands"
15229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15231 \`$as_me' instantiates files and other configuration actions
15232 from templates according to the current configuration. Unless the files
15233 and actions are specified as TAGs, all are instantiated by default.
15235 Usage: $0 [OPTION]... [TAG]...
15237 -h, --help print this help, then exit
15238 -V, --version print version number and configuration settings, then exit
15239 --config print configuration, then exit
15240 -q, --quiet, --silent
15241 do not print progress messages
15242 -d, --debug don't remove temporary files
15243 --recheck update $as_me by reconfiguring in the same conditions
15244 --file=FILE[:TEMPLATE]
15245 instantiate the configuration file FILE
15246 --header=FILE[:TEMPLATE]
15247 instantiate the configuration header FILE
15249 Configuration files:
15252 Configuration headers:
15255 Configuration links:
15258 Configuration commands:
15261 Report bugs to <wine-devel@winehq.org>.
15262 Wine home page: <http://www.winehq.org>."
15265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15266 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15268 Wine config.status 1.1.41
15269 configured by $0, generated by GNU Autoconf 2.65,
15270 with options \\"\$ac_cs_config\\"
15272 Copyright (C) 2009 Free Software Foundation, Inc.
15273 This config.status script is free software; the Free Software Foundation
15274 gives unlimited permission to copy, distribute and modify it."
15279 test -n "\$AWK" || AWK=awk
15282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15283 # The default lists apply if the user does not specify any file.
15289 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15290 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15301 # Handling of the options.
15302 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15304 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15305 $as_echo "$ac_cs_version"; exit ;;
15306 --config | --confi | --conf | --con | --co | --c )
15307 $as_echo "$ac_cs_config"; exit ;;
15308 --debug | --debu | --deb | --de | --d | -d )
15310 --file | --fil | --fi | --f )
15313 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15315 as_fn_append CONFIG_FILES " '$ac_optarg'"
15316 ac_need_defaults=false;;
15317 --header | --heade | --head | --hea )
15320 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15322 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15323 ac_need_defaults=false;;
15325 # Conflict between --help and --header
15326 as_fn_error "ambiguous option: \`$1'
15327 Try \`$0 --help' for more information.";;
15328 --help | --hel | -h )
15329 $as_echo "$ac_cs_usage"; exit ;;
15330 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15331 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15334 # This is an error.
15335 -*) as_fn_error "unrecognized option: \`$1'
15336 Try \`$0 --help' for more information." ;;
15338 *) as_fn_append ac_config_targets " $1"
15339 ac_need_defaults=false ;;
15345 ac_configure_extra_args=
15347 if $ac_cs_silent; then
15349 ac_configure_extra_args="$ac_configure_extra_args --silent"
15353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15354 if \$ac_cs_recheck; then
15355 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15357 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15358 CONFIG_SHELL='$SHELL'
15359 export CONFIG_SHELL
15364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15368 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15369 ## Running $as_me. ##
15375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15380 # Handling of arguments.
15381 for ac_config_target in $ac_config_targets
15383 case $ac_config_target in
15384 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
15385 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
15386 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15387 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15388 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15389 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15390 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15391 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
15392 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15393 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15394 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15395 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
15396 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15397 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
15398 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
15399 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
15400 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
15401 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15402 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
15403 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15405 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15410 # If the user did not use the arguments to specify the items to instantiate,
15411 # then the envvar interface is used. Set only those that are not.
15412 # We use the long form for the default assignment because of an extremely
15413 # bizarre bug on SunOS 4.1.3.
15414 if $ac_need_defaults; then
15415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15417 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
15418 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15421 # Have a temporary directory for convenience. Make it in the build tree
15422 # simply because there is no reason against having it here, and in addition,
15423 # creating and moving files from /tmp can sometimes cause problems.
15424 # Hook for its removal unless debugging.
15425 # Note that there is a small window in which the directory will not be cleaned:
15426 # after its creation but before its name has been assigned to `$tmp'.
15430 trap 'exit_status=$?
15431 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15433 trap 'as_fn_exit 1' 1 2 13 15
15435 # Create a (secure) tmp directory for tmp files.
15438 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15439 test -n "$tmp" && test -d "$tmp"
15442 tmp=./conf$$-$RANDOM
15443 (umask 077 && mkdir "$tmp")
15444 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15446 # Set up the scripts for CONFIG_FILES section.
15447 # No need to generate them if there are no CONFIG_FILES.
15448 # This happens for instance with `./config.status config.h'.
15449 if test -n "$CONFIG_FILES"; then
15451 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
15452 ac_cs_awk_getline=:
15453 ac_cs_awk_pipe_init=
15454 ac_cs_awk_read_file='
15455 while ((getline aline < (F[key])) > 0)
15458 ac_cs_awk_pipe_fini=
15460 ac_cs_awk_getline=false
15461 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
15462 ac_cs_awk_read_file='
15464 print "cat " F[key] " &&"
15465 '$ac_cs_awk_pipe_init
15466 # The final `:' finishes the AND list.
15467 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
15469 ac_cr=`echo X | tr X '\015'`
15470 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15471 # But we know of no other shell where ac_cr would be empty at this
15472 # point, so we can use a bashism as a fallback.
15473 if test "x$ac_cr" = x; then
15474 eval ac_cr=\$\'\\r\'
15476 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15477 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15480 ac_cs_awk_cr=$ac_cr
15483 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15486 # Create commands to substitute file output variables.
15488 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15489 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15490 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15493 } >conf$$files.sh &&
15494 . ./conf$$files.sh ||
15495 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15496 rm -f conf$$files.sh
15499 echo "cat >conf$$subs.awk <<_ACEOF" &&
15500 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15502 } >conf$$subs.sh ||
15503 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15504 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15506 for ac_last_try in false false false false false :; do
15507 . ./conf$$subs.sh ||
15508 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15510 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15511 if test $ac_delim_n = $ac_delim_num; then
15513 elif $ac_last_try; then
15514 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15519 rm -f conf$$subs.sh
15521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15522 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15526 s/^/S["/; s/!.*/"]=/
15536 s/\(.\{148\}\)..*/\1/
15538 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15543 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15550 s/\(.\{148\}\)..*/\1/
15552 s/["\\]/\\&/g; s/^/"/; s/$/"/
15556 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15561 ' <conf$$subs.awk | sed '
15566 ' >>$CONFIG_STATUS || ac_write_fail=1
15567 rm -f conf$$subs.awk
15568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15570 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15571 for (key in S) S_is_set[key] = 1
15573 \$ac_cs_awk_pipe_init
15577 nfields = split(line, field, "@")
15579 len = length(field[1])
15580 for (i = 2; i < nfields; i++) {
15582 keylen = length(key)
15583 if (S_is_set[key]) {
15585 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15586 len += length(value) + length(field[++i])
15591 if (nfields == 3 && !substed) {
15593 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15594 \$ac_cs_awk_read_file
15600 \$ac_cs_awk_pipe_fini
15603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15604 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15605 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15608 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15609 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15612 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15613 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15614 # trailing colons and then remove the whole line if VPATH becomes empty
15615 # (actually we leave an empty line to preserve line numbers).
15616 if test "x$srcdir" = x.; then
15617 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15618 s/:*\$(srcdir):*/:/
15619 s/:*\${srcdir}:*/:/
15621 s/^\([^=]*=[ ]*\):*/\1/
15627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15628 fi # test -n "$CONFIG_FILES"
15630 # Set up the scripts for CONFIG_HEADERS section.
15631 # No need to generate them if there are no CONFIG_HEADERS.
15632 # This happens for instance with `./config.status Makefile'.
15633 if test -n "$CONFIG_HEADERS"; then
15634 cat >"$tmp/defines.awk" <<\_ACAWK ||
15638 # Transform confdefs.h into an awk script `defines.awk', embedded as
15639 # here-document in config.status, that substitutes the proper values into
15640 # config.h.in to produce config.h.
15642 # Create a delimiter string that does not exist in confdefs.h, to ease
15643 # handling of long lines.
15645 for ac_last_try in false false :; do
15646 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15647 if test -z "$ac_t"; then
15649 elif $ac_last_try; then
15650 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15656 # For the awk script, D is an array of macro values keyed by name,
15657 # likewise P contains macro parameters if any. Preserve backslash
15658 # newline sequences.
15660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15662 s/.\{148\}/&'"$ac_delim"'/g
15665 s/^[ ]*#[ ]*define[ ][ ]*/ /
15672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15679 D["\1"]=" \3\\\\\\n"\\/p
15681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15686 s/.\{148\}/&'"$ac_delim"'/g
15691 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15694 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15696 ' <confdefs.h | sed '
15697 s/'"$ac_delim"'/"\\\
15698 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15701 for (key in D) D_is_set[key] = 1
15704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15706 split(line, arg, " ")
15707 if (arg[1] == "#") {
15711 defundef = substr(arg[1], 2)
15714 split(mac1, mac2, "(") #)
15716 prefix = substr(line, 1, index(line, defundef) - 1)
15717 if (D_is_set[macro]) {
15718 # Preserve the white space surrounding the "#".
15719 print prefix "define", macro P[macro] D[macro]
15722 # Replace #undef with comments. This is necessary, for example,
15723 # in the case of _POSIX_SOURCE, which is predefined and required
15724 # on some systems where configure will not decide to define it.
15725 if (defundef == "undef") {
15726 print "/*", prefix defundef, macro, "*/"
15734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15735 as_fn_error "could not setup config headers machinery" "$LINENO" 5
15736 fi # test -n "$CONFIG_HEADERS"
15739 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
15744 :[FHLC]) ac_mode=$ac_tag; continue;;
15746 case $ac_mode$ac_tag in
15748 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15749 :[FH]-) ac_tag=-:-;;
15750 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15767 -) ac_f="$tmp/stdin";;
15768 *) # Look for the file first in the build tree, then in the source tree
15769 # (if the path is not absolute). The absolute path cannot be DOS-style,
15770 # because $ac_f cannot contain `:'.
15774 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15776 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15778 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15779 as_fn_append ac_file_inputs " '$ac_f'"
15782 # Let's still pretend it is `configure' which instantiates (i.e., don't
15783 # use $as_me), people would be surprised to read:
15784 # /* config.h. Generated by config.status. */
15785 configure_input='Generated from '`
15786 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15788 if test x"$ac_file" != x-; then
15789 configure_input="$ac_file. $configure_input"
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15791 $as_echo "$as_me: creating $ac_file" >&6;}
15793 # Neutralize special characters interpreted by sed in replacement strings.
15794 case $configure_input in #(
15795 *\&* | *\|* | *\\* )
15796 ac_sed_conf_input=`$as_echo "$configure_input" |
15797 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15798 *) ac_sed_conf_input=$configure_input;;
15802 *:-:* | *:-) cat >"$tmp/stdin" \
15803 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15808 ac_dir=`$as_dirname -- "$ac_file" ||
15809 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15810 X"$ac_file" : 'X\(//\)[^/]' \| \
15811 X"$ac_file" : 'X\(//\)$' \| \
15812 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15813 $as_echo X"$ac_file" |
15814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15818 /^X\(\/\/\)[^/].*/{
15831 as_dir="$ac_dir"; as_fn_mkdir_p
15835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15837 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15838 # A ".." for each directory in $ac_dir_suffix.
15839 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15840 case $ac_top_builddir_sub in
15841 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15842 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15845 ac_abs_top_builddir=$ac_pwd
15846 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15847 # for backward compatibility:
15848 ac_top_builddir=$ac_top_build_prefix
15851 .) # We are building in place.
15853 ac_top_srcdir=$ac_top_builddir_sub
15854 ac_abs_top_srcdir=$ac_pwd ;;
15855 [\\/]* | ?:[\\/]* ) # Absolute name.
15856 ac_srcdir=$srcdir$ac_dir_suffix;
15857 ac_top_srcdir=$srcdir
15858 ac_abs_top_srcdir=$srcdir ;;
15859 *) # Relative name.
15860 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15861 ac_top_srcdir=$ac_top_build_prefix$srcdir
15862 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15874 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15875 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15880 # If the template does not know about datarootdir, expand it.
15881 # FIXME: This hack should be removed a few years after 2.60.
15882 ac_datarootdir_hack=; ac_datarootdir_seen=
15893 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15894 *datarootdir*) ac_datarootdir_seen=yes;;
15895 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15897 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15900 ac_datarootdir_hack='
15901 s&@datadir@&$datadir&g
15902 s&@docdir@&$docdir&g
15903 s&@infodir@&$infodir&g
15904 s&@localedir@&$localedir&g
15905 s&@mandir@&$mandir&g
15906 s&\\\${datarootdir}&$datarootdir&g' ;;
15910 # Neutralize VPATH when `$srcdir' = `.'.
15911 # Shell code in configure.ac might set extrasub.
15912 # FIXME: do we really want to maintain this feature?
15913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15914 ac_sed_extra="$ac_vpsub
15917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15920 s|@configure_input@|$ac_sed_conf_input|;t t
15921 s&@top_builddir@&$ac_top_builddir_sub&;t t
15922 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15923 s&@srcdir@&$ac_srcdir&;t t
15924 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15925 s&@top_srcdir@&$ac_top_srcdir&;t t
15926 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15927 s&@builddir@&$ac_builddir&;t t
15928 s&@abs_builddir@&$ac_abs_builddir&;t t
15929 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15930 s&@INSTALL@&$ac_INSTALL&;t t
15931 $ac_datarootdir_hack
15933 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15934 if $ac_cs_awk_getline; then
15935 $AWK -f "$tmp/subs.awk"
15937 $AWK -f "$tmp/subs.awk" | $SHELL
15939 || as_fn_error "could not create $ac_file" "$LINENO" 5
15941 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15942 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15943 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15945 which seems to be undefined. Please make sure it is defined." >&5
15946 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15947 which seems to be undefined. Please make sure it is defined." >&2;}
15951 -) cat "$tmp/out" && rm -f "$tmp/out";;
15952 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15954 || as_fn_error "could not create $ac_file" "$LINENO" 5
15960 if test x"$ac_file" != x-; then
15962 $as_echo "/* $configure_input */" \
15963 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15964 } >"$tmp/config.h" \
15965 || as_fn_error "could not create $ac_file" "$LINENO" 5
15966 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15968 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15971 mv "$tmp/config.h" "$ac_file" \
15972 || as_fn_error "could not create $ac_file" "$LINENO" 5
15975 $as_echo "/* $configure_input */" \
15976 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15977 || as_fn_error "could not create -" "$LINENO" 5
15985 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
15988 # Prefer the file from the source tree if names are identical.
15989 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
15990 ac_source=$srcdir/$ac_source
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
15994 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
15996 if test ! -r "$ac_source"; then
15997 as_fn_error "$ac_source: file not found" "$LINENO" 5
16001 # Try a relative symlink, then a hard link, then a copy.
16003 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16004 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16006 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16007 ln "$ac_source" "$ac_file" 2>/dev/null ||
16008 cp -p "$ac_source" "$ac_file" ||
16009 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16012 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16013 $as_echo "$as_me: executing $ac_file commands" >&6;}
16018 case $ac_file$ac_mode in
16019 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16020 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16021 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16022 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16023 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16024 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16025 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16026 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16027 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16028 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16029 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16030 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16031 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16039 ac_clean_files=$ac_clean_files_save
16041 test $ac_write_fail = 0 ||
16042 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16045 # configure is writing to config.log, and then calls config.status.
16046 # config.status does its own redirection, appending to config.log.
16047 # Unfortunately, on DOS this fails, as config.log is still kept open
16048 # by configure, so config.status won't be able to write to it; its
16049 # output is simply discarded. So we exec the FD to /dev/null,
16050 # effectively closing config.log, so it can be properly (re)opened and
16051 # appended to by config.status. When coming back to configure, we
16052 # need to make the FD available again.
16053 if test "$no_create" != yes; then
16055 ac_config_status_args=
16056 test "$silent" = yes &&
16057 ac_config_status_args="$ac_config_status_args --quiet"
16059 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16061 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16062 # would make configure fail if this is the last instruction.
16063 $ac_cs_success || as_fn_exit $?
16065 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16067 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16071 if test "$no_create" = "yes"
16077 if test "x$wine_notices != "x; then
16080 for msg in $wine_notices; do
16082 if test -n "$msg"; then
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16084 $as_echo "$as_me: $msg" >&6;}
16089 for msg in $wine_warnings; do
16091 if test -n "$msg"; then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16094 $as_echo "$as_me: WARNING: $msg" >&2;}
16100 $as_me: Finished. Do '${ac_make}' to compile Wine.